guix-manual.fa.po 2.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR 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. # Soheil Khanalipur <soheil@disroot.org>, 2021.
  5. # Danial Behzadi <dani.behzi@ubuntu.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-07-15 22:27+0000\n"
  12. "Last-Translator: Danial Behzadi <dani.behzi@ubuntu.com>\n"
  13. "Language-Team: Persian <https://translate.fedoraproject.org/projects/guix/documentation-manual/fa/>\n"
  14. "Language: fa\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=2; plural=n > 1;\n"
  19. "X-Generator: Weblate 4.7.1\n"
  20. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  21. #. type: chapter
  22. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  23. #. type: menuentry
  24. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  25. #: guix-git/doc/guix.texi:179
  26. #, no-wrap
  27. msgid "Contributing"
  28. msgstr ""
  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 ""
  33. #. type: cindex
  34. #: guix-git/doc/contributing.texi:10
  35. #, no-wrap
  36. msgid "code of conduct, of contributors"
  37. msgstr ""
  38. #. type: cindex
  39. #: guix-git/doc/contributing.texi:11
  40. #, no-wrap
  41. msgid "contributor covenant"
  42. msgstr ""
  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 ""
  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 ""
  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 ""
  57. #. type: menuentry
  58. #: guix-git/doc/contributing.texi:33
  59. msgid "The latest and greatest."
  60. msgstr ""
  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 ""
  67. #. type: menuentry
  68. #: guix-git/doc/contributing.texi:33
  69. msgid "Hacker tricks."
  70. msgstr ""
  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 ""
  77. #. type: menuentry
  78. #: guix-git/doc/contributing.texi:33
  79. msgid "The right tools."
  80. msgstr ""
  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 ""
  87. #. type: menuentry
  88. #: guix-git/doc/contributing.texi:33
  89. msgid "Growing the distribution."
  90. msgstr ""
  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 ""
  97. #. type: menuentry
  98. #: guix-git/doc/contributing.texi:33
  99. msgid "Hygiene of the contributor."
  100. msgstr ""
  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 ""
  107. #. type: menuentry
  108. #: guix-git/doc/contributing.texi:33
  109. msgid "Share your work."
  110. msgstr ""
  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 ""
  117. #. type: menuentry
  118. #: guix-git/doc/contributing.texi:33
  119. msgid "Keeping it all organized."
  120. msgstr ""
  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 ""
  127. #. type: menuentry
  128. #: guix-git/doc/contributing.texi:33
  129. msgid "Pushing to the official repository."
  130. msgstr ""
  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 ""
  137. #. type: menuentry
  138. #: guix-git/doc/contributing.texi:33
  139. msgid "Updating the Guix package definition."
  140. msgstr ""
  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 ""
  147. #. type: menuentry
  148. #: guix-git/doc/contributing.texi:33
  149. msgid "Make Guix speak your native language."
  150. msgstr ""
  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 ""
  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 ""
  160. #. type: cindex
  161. #: guix-git/doc/contributing.texi:45
  162. #, no-wrap
  163. msgid "authentication, of a Guix checkout"
  164. msgstr ""
  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 ""
  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. #. type: Plain text
  178. #: guix-git/doc/contributing.texi:62
  179. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  180. msgstr ""
  181. #. type: Plain text
  182. #: guix-git/doc/contributing.texi:69
  183. 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."
  184. msgstr ""
  185. #. type: Plain text
  186. #: guix-git/doc/contributing.texi:74
  187. 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:"
  188. msgstr ""
  189. #. type: example
  190. #: guix-git/doc/contributing.texi:77
  191. #, no-wrap
  192. msgid "guix environment guix --pure\n"
  193. msgstr ""
  194. #. type: Plain text
  195. #: guix-git/doc/contributing.texi:80
  196. msgid "@xref{Invoking guix environment}, for more information on that command."
  197. msgstr ""
  198. #. type: Plain text
  199. #: guix-git/doc/contributing.texi:84
  200. 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})."
  201. msgstr ""
  202. #. type: item
  203. #: guix-git/doc/contributing.texi:86
  204. #, no-wrap
  205. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  206. msgstr ""
  207. #. type: item
  208. #: guix-git/doc/contributing.texi:87
  209. #, no-wrap
  210. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  211. msgstr ""
  212. #. type: item
  213. #: guix-git/doc/contributing.texi:88
  214. #, no-wrap
  215. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  216. msgstr ""
  217. #. type: item
  218. #: guix-git/doc/contributing.texi:89
  219. #, no-wrap
  220. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  221. msgstr ""
  222. #. type: item
  223. #: guix-git/doc/contributing.texi:90
  224. #, no-wrap
  225. msgid "@url{https://www.graphviz.org/, Graphviz};"
  226. msgstr ""
  227. #. type: item
  228. #: guix-git/doc/contributing.texi:91
  229. #, no-wrap
  230. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  231. msgstr ""
  232. #. type: Plain text
  233. #: guix-git/doc/contributing.texi:96
  234. msgid "On Guix, extra dependencies can be added by instead running @command{guix environment} with @option{--ad-hoc}:"
  235. msgstr ""
  236. #. type: example
  237. #: guix-git/doc/contributing.texi:99
  238. #, no-wrap
  239. msgid "guix environment guix --pure --ad-hoc help2man git strace\n"
  240. msgstr ""
  241. #. type: Plain text
  242. #: guix-git/doc/contributing.texi:103
  243. msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  244. msgstr ""
  245. #. type: example
  246. #: guix-git/doc/contributing.texi:106
  247. #, no-wrap
  248. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  249. msgstr ""
  250. #. type: Plain text
  251. #: guix-git/doc/contributing.texi:115
  252. 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:"
  253. msgstr ""
  254. #. type: example
  255. #: guix-git/doc/contributing.texi:118
  256. #, no-wrap
  257. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  258. msgstr ""
  259. #. type: Plain text
  260. #: guix-git/doc/contributing.texi:122
  261. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  262. msgstr ""
  263. #. type: Plain text
  264. #: guix-git/doc/contributing.texi:129
  265. 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}."
  266. msgstr ""
  267. #. type: Plain text
  268. #: guix-git/doc/contributing.texi:134
  269. 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}."
  270. msgstr ""
  271. #. type: Plain text
  272. #: guix-git/doc/contributing.texi:137
  273. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  274. msgstr ""
  275. #. type: example
  276. #: guix-git/doc/contributing.texi:140
  277. #, no-wrap
  278. msgid "make authenticate\n"
  279. msgstr ""
  280. #. type: Plain text
  281. #: guix-git/doc/contributing.texi:143
  282. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  283. msgstr ""
  284. #. type: Plain text
  285. #: guix-git/doc/contributing.texi:149
  286. 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:"
  287. msgstr ""
  288. #. type: example
  289. #: guix-git/doc/contributing.texi:152
  290. #, no-wrap
  291. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  292. msgstr ""
  293. #. type: quotation
  294. #: guix-git/doc/contributing.texi:154 guix-git/doc/contributing.texi:1460
  295. #: guix-git/doc/guix.texi:580 guix-git/doc/guix.texi:629
  296. #: guix-git/doc/guix.texi:819 guix-git/doc/guix.texi:1798
  297. #: guix-git/doc/guix.texi:2045 guix-git/doc/guix.texi:2229
  298. #: guix-git/doc/guix.texi:2450 guix-git/doc/guix.texi:2652
  299. #: guix-git/doc/guix.texi:3769 guix-git/doc/guix.texi:4510
  300. #: guix-git/doc/guix.texi:4524 guix-git/doc/guix.texi:4606
  301. #: guix-git/doc/guix.texi:4836 guix-git/doc/guix.texi:5686
  302. #: guix-git/doc/guix.texi:5932 guix-git/doc/guix.texi:6053
  303. #: guix-git/doc/guix.texi:6081 guix-git/doc/guix.texi:6134
  304. #: guix-git/doc/guix.texi:8839 guix-git/doc/guix.texi:8909
  305. #: guix-git/doc/guix.texi:10584 guix-git/doc/guix.texi:10624
  306. #: guix-git/doc/guix.texi:10898 guix-git/doc/guix.texi:10910
  307. #: guix-git/doc/guix.texi:13260 guix-git/doc/guix.texi:13890
  308. #: guix-git/doc/guix.texi:14703 guix-git/doc/guix.texi:15688
  309. #: guix-git/doc/guix.texi:18109 guix-git/doc/guix.texi:18266
  310. #: guix-git/doc/guix.texi:26131 guix-git/doc/guix.texi:29808
  311. #: guix-git/doc/guix.texi:31909 guix-git/doc/guix.texi:33541
  312. #: guix-git/doc/guix.texi:33775 guix-git/doc/guix.texi:33945
  313. #: guix-git/doc/guix.texi:34098 guix-git/doc/guix.texi:34200
  314. #: guix-git/doc/guix.texi:34301 guix-git/doc/guix.texi:34604
  315. #: guix-git/doc/guix.texi:35382 guix-git/doc/guix.texi:35443
  316. #: guix-git/doc/guix.texi:35510 guix-git/doc/guix.texi:35597
  317. #: guix-git/doc/guix.texi:35964
  318. #, no-wrap
  319. msgid "Note"
  320. msgstr ""
  321. #. type: quotation
  322. #: guix-git/doc/contributing.texi:158
  323. 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."
  324. msgstr ""
  325. #. type: Plain text
  326. #: guix-git/doc/contributing.texi:168
  327. 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."
  328. msgstr ""
  329. #. type: Plain text
  330. #: guix-git/doc/contributing.texi:179
  331. 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):"
  332. msgstr ""
  333. #. type: example
  334. #: guix-git/doc/contributing.texi:182
  335. #, no-wrap
  336. msgid "$ ./pre-inst-env guix build hello\n"
  337. msgstr ""
  338. #. type: Plain text
  339. #: guix-git/doc/contributing.texi:186
  340. msgid "Similarly, an example for a Guile session using the Guix modules:"
  341. msgstr ""
  342. #. type: example
  343. #: guix-git/doc/contributing.texi:189
  344. #, no-wrap
  345. msgid ""
  346. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  347. "\n"
  348. msgstr ""
  349. #. type: example
  350. #: guix-git/doc/contributing.texi:191
  351. #, no-wrap
  352. msgid ";;; (\"x86_64-linux\")\n"
  353. msgstr ""
  354. #. type: cindex
  355. #: guix-git/doc/contributing.texi:194
  356. #, no-wrap
  357. msgid "REPL"
  358. msgstr ""
  359. #. type: cindex
  360. #: guix-git/doc/contributing.texi:195
  361. #, no-wrap
  362. msgid "read-eval-print loop"
  363. msgstr ""
  364. #. type: Plain text
  365. #: guix-git/doc/contributing.texi:198
  366. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  367. msgstr ""
  368. #. type: example
  369. #: guix-git/doc/contributing.texi:213
  370. #, no-wrap
  371. msgid ""
  372. "$ ./pre-inst-env guile\n"
  373. "scheme@@(guile-user)> ,use(guix)\n"
  374. "scheme@@(guile-user)> ,use(gnu)\n"
  375. "scheme@@(guile-user)> (define snakes\n"
  376. " (fold-packages\n"
  377. " (lambda (package lst)\n"
  378. " (if (string-prefix? \"python\"\n"
  379. " (package-name package))\n"
  380. " (cons package lst)\n"
  381. " lst))\n"
  382. " '()))\n"
  383. "scheme@@(guile-user)> (length snakes)\n"
  384. "$1 = 361\n"
  385. msgstr ""
  386. #. type: Plain text
  387. #: guix-git/doc/contributing.texi:221
  388. 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.}:"
  389. msgstr ""
  390. #. type: example
  391. #: guix-git/doc/contributing.texi:224
  392. #, no-wrap
  393. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  394. msgstr ""
  395. #. type: Plain text
  396. #: guix-git/doc/contributing.texi:228
  397. 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}."
  398. msgstr ""
  399. #. type: Plain text
  400. #: guix-git/doc/contributing.texi:233
  401. 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."
  402. msgstr ""
  403. #. type: Plain text
  404. #: guix-git/doc/contributing.texi:243
  405. 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:"
  406. msgstr ""
  407. #. type: example
  408. #: guix-git/doc/contributing.texi:246
  409. #, no-wrap
  410. msgid "guix package -i emacs guile emacs-geiser emacs-geiser-guile\n"
  411. msgstr ""
  412. #. type: Plain text
  413. #: guix-git/doc/contributing.texi:255
  414. 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:"
  415. msgstr ""
  416. #. type: lisp
  417. #: guix-git/doc/contributing.texi:260
  418. #, no-wrap
  419. msgid ""
  420. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  421. "(with-eval-after-load 'geiser-guile\n"
  422. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  423. msgstr ""
  424. #. type: Plain text
  425. #: guix-git/doc/contributing.texi:268
  426. 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."
  427. msgstr ""
  428. #. type: cindex
  429. #: guix-git/doc/contributing.texi:269
  430. #, no-wrap
  431. msgid "code snippets"
  432. msgstr ""
  433. #. type: cindex
  434. #: guix-git/doc/contributing.texi:270
  435. #, no-wrap
  436. msgid "templates"
  437. msgstr ""
  438. #. type: cindex
  439. #: guix-git/doc/contributing.texi:271
  440. #, no-wrap
  441. msgid "reducing boilerplate"
  442. msgstr ""
  443. #. type: Plain text
  444. #: guix-git/doc/contributing.texi:278
  445. 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."
  446. msgstr ""
  447. #. type: lisp
  448. #: guix-git/doc/contributing.texi:283
  449. #, no-wrap
  450. msgid ""
  451. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  452. "(with-eval-after-load 'yasnippet\n"
  453. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  454. msgstr ""
  455. #. type: Plain text
  456. #: guix-git/doc/contributing.texi:291
  457. 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."
  458. msgstr ""
  459. #. type: Plain text
  460. #: guix-git/doc/contributing.texi:297
  461. 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."
  462. msgstr ""
  463. #. type: cindex
  464. #: guix-git/doc/contributing.texi:298
  465. #, no-wrap
  466. msgid "insert or update copyright"
  467. msgstr ""
  468. #. type: code{#1}
  469. #: guix-git/doc/contributing.texi:299
  470. #, no-wrap
  471. msgid "M-x guix-copyright"
  472. msgstr ""
  473. #. type: code{#1}
  474. #: guix-git/doc/contributing.texi:300
  475. #, no-wrap
  476. msgid "M-x copyright-update"
  477. msgstr ""
  478. #. type: Plain text
  479. #: guix-git/doc/contributing.texi:304
  480. 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."
  481. msgstr ""
  482. #. type: lisp
  483. #: guix-git/doc/contributing.texi:310
  484. #, no-wrap
  485. msgid ""
  486. "(setq user-full-name \"Alice Doe\")\n"
  487. "(setq user-mail-address \"alice@@mail.org\")\n"
  488. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  489. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  490. msgstr ""
  491. #. type: Plain text
  492. #: guix-git/doc/contributing.texi:313
  493. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  494. msgstr ""
  495. #. type: Plain text
  496. #: guix-git/doc/contributing.texi:315
  497. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  498. msgstr ""
  499. #. type: lisp
  500. #: guix-git/doc/contributing.texi:319
  501. #, no-wrap
  502. msgid ""
  503. "(setq copyright-names-regexp\n"
  504. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  505. msgstr ""
  506. #. type: Plain text
  507. #: guix-git/doc/contributing.texi:325
  508. 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."
  509. msgstr ""
  510. #. type: cindex
  511. #: guix-git/doc/contributing.texi:329
  512. #, no-wrap
  513. msgid "packages, creating"
  514. msgstr ""
  515. #. type: Plain text
  516. #: guix-git/doc/contributing.texi:333
  517. 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."
  518. msgstr ""
  519. #. type: Plain text
  520. #: guix-git/doc/contributing.texi:341
  521. 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."
  522. msgstr ""
  523. #. type: Plain text
  524. #: guix-git/doc/contributing.texi:350
  525. 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}."
  526. msgstr ""
  527. #. type: Plain text
  528. #: guix-git/doc/contributing.texi:356
  529. 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}):"
  530. msgstr ""
  531. #. type: example
  532. #: guix-git/doc/contributing.texi:359
  533. #, no-wrap
  534. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  535. msgstr ""
  536. #. type: Plain text
  537. #: guix-git/doc/contributing.texi:365
  538. 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."
  539. msgstr ""
  540. #. type: Plain text
  541. #: guix-git/doc/contributing.texi:370
  542. 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:"
  543. msgstr ""
  544. #. type: example
  545. #: guix-git/doc/contributing.texi:373
  546. #, no-wrap
  547. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  548. msgstr ""
  549. #. type: Plain text
  550. #: guix-git/doc/contributing.texi:380
  551. 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}."
  552. msgstr ""
  553. #. type: cindex
  554. #: guix-git/doc/contributing.texi:381
  555. #, no-wrap
  556. msgid "substituter"
  557. msgstr ""
  558. #. type: Plain text
  559. #: guix-git/doc/contributing.texi:388
  560. 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."
  561. msgstr ""
  562. #. type: subsection
  563. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:404
  564. #: guix-git/doc/contributing.texi:405
  565. #, no-wrap
  566. msgid "Software Freedom"
  567. msgstr "آزادی نرم‌افزار"
  568. #. type: menuentry
  569. #: guix-git/doc/contributing.texi:402
  570. msgid "What may go into the distribution."
  571. msgstr ""
  572. #. type: subsection
  573. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:432
  574. #: guix-git/doc/contributing.texi:433
  575. #, no-wrap
  576. msgid "Package Naming"
  577. msgstr ""
  578. #. type: menuentry
  579. #: guix-git/doc/contributing.texi:402
  580. msgid "What's in a name?"
  581. msgstr ""
  582. #. type: subsection
  583. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:465
  584. #: guix-git/doc/contributing.texi:466
  585. #, no-wrap
  586. msgid "Version Numbers"
  587. msgstr ""
  588. #. type: menuentry
  589. #: guix-git/doc/contributing.texi:402
  590. msgid "When the name is not enough."
  591. msgstr ""
  592. #. type: subsection
  593. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:572
  594. #: guix-git/doc/contributing.texi:573
  595. #, no-wrap
  596. msgid "Synopses and Descriptions"
  597. msgstr ""
  598. #. type: menuentry
  599. #: guix-git/doc/contributing.texi:402
  600. msgid "Helping users find the right package."
  601. msgstr ""
  602. #. type: subsection
  603. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:651
  604. #: guix-git/doc/contributing.texi:652
  605. #, no-wrap
  606. msgid "Snippets versus Phases"
  607. msgstr ""
  608. #. type: menuentry
  609. #: guix-git/doc/contributing.texi:402
  610. msgid "Whether to use a snippet, or a build phase."
  611. msgstr ""
  612. #. type: subsection
  613. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:666
  614. #: guix-git/doc/contributing.texi:667 guix-git/doc/guix.texi:1980
  615. #, no-wrap
  616. msgid "Emacs Packages"
  617. msgstr "بسته‌های ای‌مکس"
  618. #. type: menuentry
  619. #: guix-git/doc/contributing.texi:402
  620. msgid "Your Elisp fix."
  621. msgstr ""
  622. #. type: subsection
  623. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:706
  624. #: guix-git/doc/contributing.texi:707
  625. #, no-wrap
  626. msgid "Python Modules"
  627. msgstr ""
  628. #. type: menuentry
  629. #: guix-git/doc/contributing.texi:402
  630. msgid "A touch of British comedy."
  631. msgstr ""
  632. #. type: subsection
  633. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:782
  634. #: guix-git/doc/contributing.texi:783
  635. #, no-wrap
  636. msgid "Perl Modules"
  637. msgstr ""
  638. #. type: menuentry
  639. #: guix-git/doc/contributing.texi:402
  640. msgid "Little pearls."
  641. msgstr ""
  642. #. type: subsection
  643. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:798
  644. #: guix-git/doc/contributing.texi:799
  645. #, no-wrap
  646. msgid "Java Packages"
  647. msgstr "بسته‌های جاوا"
  648. #. type: menuentry
  649. #: guix-git/doc/contributing.texi:402
  650. msgid "Coffee break."
  651. msgstr ""
  652. #. type: subsection
  653. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:818
  654. #: guix-git/doc/contributing.texi:819
  655. #, no-wrap
  656. msgid "Rust Crates"
  657. msgstr ""
  658. #. type: menuentry
  659. #: guix-git/doc/contributing.texi:402
  660. msgid "Beware of oxidation."
  661. msgstr ""
  662. #. type: subsection
  663. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:852
  664. #: guix-git/doc/contributing.texi:853
  665. #, no-wrap
  666. msgid "Fonts"
  667. msgstr ""
  668. #. type: menuentry
  669. #: guix-git/doc/contributing.texi:402
  670. msgid "Fond of fonts."
  671. msgstr ""
  672. #. type: cindex
  673. #: guix-git/doc/contributing.texi:408
  674. #, no-wrap
  675. msgid "free software"
  676. msgstr "نرم‌افزار آزاد"
  677. #. type: Plain text
  678. #: guix-git/doc/contributing.texi:416
  679. 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."
  680. msgstr ""
  681. #. type: Plain text
  682. #: guix-git/doc/contributing.texi:422
  683. 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."
  684. msgstr ""
  685. #. type: Plain text
  686. #: guix-git/doc/contributing.texi:430
  687. 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."
  688. msgstr ""
  689. #. type: cindex
  690. #: guix-git/doc/contributing.texi:435
  691. #, no-wrap
  692. msgid "package name"
  693. msgstr "نام بسته"
  694. #. type: Plain text
  695. #: guix-git/doc/contributing.texi:443
  696. 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}."
  697. msgstr ""
  698. #. type: Plain text
  699. #: guix-git/doc/contributing.texi:448
  700. 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}."
  701. msgstr ""
  702. #. type: Plain text
  703. #: guix-git/doc/contributing.texi:456
  704. 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."
  705. msgstr ""
  706. #. type: Plain text
  707. #: guix-git/doc/contributing.texi:461
  708. 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."
  709. msgstr ""
  710. #. type: Plain text
  711. #: guix-git/doc/contributing.texi:463
  712. msgid "Font package names are handled differently, @pxref{Fonts}."
  713. msgstr ""
  714. #. type: cindex
  715. #: guix-git/doc/contributing.texi:468
  716. #, no-wrap
  717. msgid "package version"
  718. msgstr ""
  719. #. type: Plain text
  720. #: guix-git/doc/contributing.texi:477
  721. 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."
  722. msgstr ""
  723. #. type: Plain text
  724. #: guix-git/doc/contributing.texi:480
  725. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  726. msgstr ""
  727. #. type: Plain text
  728. #: guix-git/doc/contributing.texi:482
  729. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  730. msgstr ""
  731. #. type: lisp
  732. #: guix-git/doc/contributing.texi:494
  733. #, no-wrap
  734. msgid ""
  735. "(define-public gtk+\n"
  736. " (package\n"
  737. " (name \"gtk+\")\n"
  738. " (version \"3.9.12\")\n"
  739. " ...))\n"
  740. "(define-public gtk+-2\n"
  741. " (package\n"
  742. " (name \"gtk+\")\n"
  743. " (version \"2.24.20\")\n"
  744. " ...))\n"
  745. msgstr ""
  746. #. type: Plain text
  747. #: guix-git/doc/contributing.texi:496
  748. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  749. msgstr ""
  750. #. type: lisp
  751. #: guix-git/doc/contributing.texi:502
  752. #, no-wrap
  753. msgid ""
  754. "(define-public gtk+-3.8\n"
  755. " (package\n"
  756. " (name \"gtk+\")\n"
  757. " (version \"3.8.2\")\n"
  758. " ...))\n"
  759. msgstr ""
  760. #. type: cindex
  761. #: guix-git/doc/contributing.texi:506
  762. #, no-wrap
  763. msgid "version number, for VCS snapshots"
  764. msgstr ""
  765. #. type: Plain text
  766. #: guix-git/doc/contributing.texi:512
  767. 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?"
  768. msgstr ""
  769. #. type: Plain text
  770. #: guix-git/doc/contributing.texi:520
  771. 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:"
  772. msgstr ""
  773. #. type: example
  774. #: guix-git/doc/contributing.texi:529
  775. #, no-wrap
  776. msgid ""
  777. "2.0.11-3.cabba9e\n"
  778. " ^ ^ ^\n"
  779. " | | `-- upstream commit ID\n"
  780. " | |\n"
  781. " | `--- Guix package revision\n"
  782. " |\n"
  783. "latest upstream version\n"
  784. msgstr ""
  785. #. type: Plain text
  786. #: guix-git/doc/contributing.texi:539
  787. 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:"
  788. msgstr ""
  789. #. type: lisp
  790. #: guix-git/doc/contributing.texi:556
  791. #, no-wrap
  792. msgid ""
  793. "(define my-package\n"
  794. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  795. " (revision \"1\")) ;Guix package revision\n"
  796. " (package\n"
  797. " (version (git-version \"0.9\" revision commit))\n"
  798. " (source (origin\n"
  799. " (method git-fetch)\n"
  800. " (uri (git-reference\n"
  801. " (url \"git://example.org/my-package.git\")\n"
  802. " (commit commit)))\n"
  803. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  804. " (file-name (git-file-name name version))))\n"
  805. " ;; @dots{}\n"
  806. " )))\n"
  807. msgstr ""
  808. #. type: deffn
  809. #: guix-git/doc/contributing.texi:558
  810. #, no-wrap
  811. msgid "{Scheme Procedure} git-version @var{VERSION} @var{REVISION} @var{COMMIT}"
  812. msgstr ""
  813. #. type: deffn
  814. #: guix-git/doc/contributing.texi:560
  815. msgid "Return the version string for packages using @code{git-fetch}."
  816. msgstr ""
  817. #. type: lisp
  818. #: guix-git/doc/contributing.texi:564
  819. #, no-wrap
  820. msgid ""
  821. "(git-version \"0.2.3\" \"0\" \"93818c936ee7e2f1ba1b315578bde363a7d43d05\")\n"
  822. "@result{} \"0.2.3-0.93818c9\"\n"
  823. msgstr ""
  824. #. type: deffn
  825. #: guix-git/doc/contributing.texi:567
  826. #, no-wrap
  827. msgid "{Scheme Procedure} hg-version @var{VERSION} @var{REVISION} @var{CHANGESET}"
  828. msgstr ""
  829. #. type: deffn
  830. #: guix-git/doc/contributing.texi:570
  831. msgid "Return the version string for packages using @code{hg-fetch}. It works in the same way as @code{git-version}."
  832. msgstr ""
  833. #. type: cindex
  834. #: guix-git/doc/contributing.texi:575
  835. #, no-wrap
  836. msgid "package description"
  837. msgstr ""
  838. #. type: cindex
  839. #: guix-git/doc/contributing.texi:576
  840. #, no-wrap
  841. msgid "package synopsis"
  842. msgstr ""
  843. #. type: Plain text
  844. #: guix-git/doc/contributing.texi:583
  845. 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."
  846. msgstr ""
  847. #. type: Plain text
  848. #: guix-git/doc/contributing.texi:591
  849. 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''."
  850. msgstr ""
  851. #. type: Plain text
  852. #: guix-git/doc/contributing.texi:601
  853. 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."
  854. msgstr ""
  855. #. type: Plain text
  856. #: guix-git/doc/contributing.texi:609
  857. 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."
  858. msgstr ""
  859. #. type: cindex
  860. #: guix-git/doc/contributing.texi:610
  861. #, no-wrap
  862. msgid "Texinfo markup, in package descriptions"
  863. msgstr ""
  864. #. type: Plain text
  865. #: guix-git/doc/contributing.texi:619
  866. 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."
  867. msgstr ""
  868. #. type: Plain text
  869. #: guix-git/doc/contributing.texi:625
  870. 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."
  871. msgstr ""
  872. #. type: Plain text
  873. #: guix-git/doc/contributing.texi:630
  874. 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:"
  875. msgstr ""
  876. #. type: lisp
  877. #: guix-git/doc/contributing.texi:636
  878. #, no-wrap
  879. msgid ""
  880. "(package\n"
  881. " ;; @dots{}\n"
  882. " (synopsis \"This is translatable\")\n"
  883. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  884. msgstr ""
  885. #. type: Plain text
  886. #: guix-git/doc/contributing.texi:644
  887. 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}):"
  888. msgstr ""
  889. #. type: lisp
  890. #: guix-git/doc/contributing.texi:649
  891. #, no-wrap
  892. msgid ""
  893. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  894. "(description \"ARandR is designed to provide a simple visual front end\n"
  895. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  896. msgstr ""
  897. #. type: cindex
  898. #: guix-git/doc/contributing.texi:654
  899. #, no-wrap
  900. msgid "snippets, when to use"
  901. msgstr ""
  902. #. type: Plain text
  903. #: guix-git/doc/contributing.texi:665
  904. 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})."
  905. msgstr ""
  906. #. type: cindex
  907. #: guix-git/doc/contributing.texi:669
  908. #, no-wrap
  909. msgid "emacs, packaging"
  910. msgstr ""
  911. #. type: cindex
  912. #: guix-git/doc/contributing.texi:670
  913. #, no-wrap
  914. msgid "elisp, packaging"
  915. msgstr ""
  916. #. type: Plain text
  917. #: guix-git/doc/contributing.texi:682
  918. 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."
  919. msgstr ""
  920. #. type: Plain text
  921. #: guix-git/doc/contributing.texi:687
  922. 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}."
  923. msgstr ""
  924. #. type: Plain text
  925. #: guix-git/doc/contributing.texi:696
  926. 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:"
  927. msgstr ""
  928. #. type: lisp
  929. #: guix-git/doc/contributing.texi:699
  930. #, no-wrap
  931. msgid "#:include (cons \"^snippets/\" %default-include))\n"
  932. msgstr ""
  933. #. type: Plain text
  934. #: guix-git/doc/contributing.texi:705
  935. 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."
  936. msgstr ""
  937. #. type: cindex
  938. #: guix-git/doc/contributing.texi:709
  939. #, no-wrap
  940. msgid "python"
  941. msgstr "پایتون"
  942. #. type: Plain text
  943. #: guix-git/doc/contributing.texi:715
  944. 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}."
  945. msgstr ""
  946. #. type: Plain text
  947. #: guix-git/doc/contributing.texi:722
  948. 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."
  949. msgstr ""
  950. #. type: Plain text
  951. #: guix-git/doc/contributing.texi:728
  952. 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."
  953. msgstr ""
  954. #. type: subsubsection
  955. #: guix-git/doc/contributing.texi:729
  956. #, no-wrap
  957. msgid "Specifying Dependencies"
  958. msgstr ""
  959. #. type: cindex
  960. #: guix-git/doc/contributing.texi:730
  961. #, no-wrap
  962. msgid "inputs, for Python packages"
  963. msgstr ""
  964. #. type: Plain text
  965. #: guix-git/doc/contributing.texi:735
  966. 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}."
  967. msgstr ""
  968. #. type: Plain text
  969. #: guix-git/doc/contributing.texi:741
  970. 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."
  971. msgstr ""
  972. #. type: itemize
  973. #: guix-git/doc/contributing.texi:749
  974. 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."
  975. msgstr ""
  976. #. type: itemize
  977. #: guix-git/doc/contributing.texi:755
  978. 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."
  979. msgstr ""
  980. #. type: itemize
  981. #: guix-git/doc/contributing.texi:763
  982. 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."
  983. msgstr ""
  984. #. type: itemize
  985. #: guix-git/doc/contributing.texi:767
  986. 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}."
  987. msgstr ""
  988. #. type: itemize
  989. #: guix-git/doc/contributing.texi:772
  990. 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."
  991. msgstr ""
  992. #. type: itemize
  993. #: guix-git/doc/contributing.texi:778
  994. 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}})."
  995. msgstr ""
  996. #. type: cindex
  997. #: guix-git/doc/contributing.texi:785
  998. #, no-wrap
  999. msgid "perl"
  1000. msgstr "پرل"
  1001. #. type: Plain text
  1002. #: guix-git/doc/contributing.texi:796
  1003. 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}."
  1004. msgstr ""
  1005. #. type: cindex
  1006. #: guix-git/doc/contributing.texi:801
  1007. #, no-wrap
  1008. msgid "java"
  1009. msgstr "جاوا"
  1010. #. type: Plain text
  1011. #: guix-git/doc/contributing.texi:804
  1012. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1013. msgstr ""
  1014. #. type: Plain text
  1015. #: guix-git/doc/contributing.texi:810
  1016. 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}."
  1017. msgstr ""
  1018. #. type: Plain text
  1019. #: guix-git/doc/contributing.texi:816
  1020. 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}."
  1021. msgstr ""
  1022. #. type: cindex
  1023. #: guix-git/doc/contributing.texi:821
  1024. #, no-wrap
  1025. msgid "rust"
  1026. msgstr "راست"
  1027. #. type: Plain text
  1028. #: guix-git/doc/contributing.texi:824
  1029. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1030. msgstr ""
  1031. #. type: Plain text
  1032. #: guix-git/doc/contributing.texi:828
  1033. 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."
  1034. msgstr ""
  1035. #. type: Plain text
  1036. #: guix-git/doc/contributing.texi:834
  1037. 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}."
  1038. msgstr ""
  1039. #. type: Plain text
  1040. #: guix-git/doc/contributing.texi:844
  1041. 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."
  1042. msgstr ""
  1043. #. type: Plain text
  1044. #: guix-git/doc/contributing.texi:850
  1045. 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."
  1046. msgstr ""
  1047. #. type: cindex
  1048. #: guix-git/doc/contributing.texi:855 guix-git/doc/guix.texi:1915
  1049. #, no-wrap
  1050. msgid "fonts"
  1051. msgstr ""
  1052. #. type: Plain text
  1053. #: guix-git/doc/contributing.texi:861
  1054. 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."
  1055. msgstr ""
  1056. #. type: Plain text
  1057. #: guix-git/doc/contributing.texi:865
  1058. 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."
  1059. msgstr ""
  1060. #. type: Plain text
  1061. #: guix-git/doc/contributing.texi:873
  1062. 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}."
  1063. msgstr ""
  1064. #. type: Plain text
  1065. #: guix-git/doc/contributing.texi:882
  1066. 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}."
  1067. msgstr ""
  1068. #. type: Plain text
  1069. #: guix-git/doc/contributing.texi:888
  1070. 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."
  1071. msgstr ""
  1072. #. type: Plain text
  1073. #: guix-git/doc/contributing.texi:896
  1074. 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."
  1075. msgstr ""
  1076. #. type: subsection
  1077. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:904
  1078. #: guix-git/doc/contributing.texi:905
  1079. #, no-wrap
  1080. msgid "Programming Paradigm"
  1081. msgstr ""
  1082. #. type: menuentry
  1083. #: guix-git/doc/contributing.texi:902
  1084. msgid "How to compose your elements."
  1085. msgstr ""
  1086. #. type: subsection
  1087. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:911
  1088. #: guix-git/doc/contributing.texi:912
  1089. #, no-wrap
  1090. msgid "Modules"
  1091. msgstr ""
  1092. #. type: menuentry
  1093. #: guix-git/doc/contributing.texi:902
  1094. msgid "Where to store your code?"
  1095. msgstr ""
  1096. #. type: subsection
  1097. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:922
  1098. #: guix-git/doc/contributing.texi:923
  1099. #, no-wrap
  1100. msgid "Data Types and Pattern Matching"
  1101. msgstr ""
  1102. #. type: menuentry
  1103. #: guix-git/doc/contributing.texi:902
  1104. msgid "Implementing data structures."
  1105. msgstr ""
  1106. #. type: subsection
  1107. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:937
  1108. #: guix-git/doc/contributing.texi:938
  1109. #, no-wrap
  1110. msgid "Formatting Code"
  1111. msgstr ""
  1112. #. type: menuentry
  1113. #: guix-git/doc/contributing.texi:902
  1114. msgid "Writing conventions."
  1115. msgstr ""
  1116. #. type: Plain text
  1117. #: guix-git/doc/contributing.texi:910
  1118. 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."
  1119. msgstr ""
  1120. #. type: Plain text
  1121. #: guix-git/doc/contributing.texi:918
  1122. 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."
  1123. msgstr ""
  1124. #. type: Plain text
  1125. #: guix-git/doc/contributing.texi:921
  1126. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1127. msgstr ""
  1128. #. type: Plain text
  1129. #: guix-git/doc/contributing.texi:930
  1130. 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."
  1131. msgstr ""
  1132. #. type: Plain text
  1133. #: guix-git/doc/contributing.texi:936
  1134. 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})."
  1135. msgstr ""
  1136. #. type: cindex
  1137. #: guix-git/doc/contributing.texi:940
  1138. #, no-wrap
  1139. msgid "formatting code"
  1140. msgstr ""
  1141. #. type: cindex
  1142. #: guix-git/doc/contributing.texi:941
  1143. #, no-wrap
  1144. msgid "coding style"
  1145. msgstr ""
  1146. #. type: Plain text
  1147. #: guix-git/doc/contributing.texi:948
  1148. 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."
  1149. msgstr ""
  1150. #. type: Plain text
  1151. #: guix-git/doc/contributing.texi:955
  1152. 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})."
  1153. msgstr ""
  1154. #. type: cindex
  1155. #: guix-git/doc/contributing.texi:956
  1156. #, no-wrap
  1157. msgid "indentation, of code"
  1158. msgstr ""
  1159. #. type: cindex
  1160. #: guix-git/doc/contributing.texi:957
  1161. #, no-wrap
  1162. msgid "formatting, of code"
  1163. msgstr ""
  1164. #. type: Plain text
  1165. #: guix-git/doc/contributing.texi:960
  1166. 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:"
  1167. msgstr ""
  1168. #. type: example
  1169. #: guix-git/doc/contributing.texi:963
  1170. #, no-wrap
  1171. msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  1172. msgstr ""
  1173. #. type: Plain text
  1174. #: guix-git/doc/contributing.texi:969
  1175. 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:"
  1176. msgstr ""
  1177. #. type: example
  1178. #: guix-git/doc/contributing.texi:972
  1179. #, no-wrap
  1180. msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  1181. msgstr ""
  1182. #. type: cindex
  1183. #: guix-git/doc/contributing.texi:974
  1184. #, no-wrap
  1185. msgid "Vim, Scheme code editing"
  1186. msgstr ""
  1187. #. type: Plain text
  1188. #: guix-git/doc/contributing.texi:980
  1189. 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."
  1190. msgstr ""
  1191. #. type: Plain text
  1192. #: guix-git/doc/contributing.texi:984
  1193. 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."
  1194. msgstr ""
  1195. #. type: Plain text
  1196. #: guix-git/doc/contributing.texi:987
  1197. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1198. msgstr ""
  1199. #. type: Plain text
  1200. #: guix-git/doc/contributing.texi:1001
  1201. 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})."
  1202. msgstr ""
  1203. #. type: Plain text
  1204. #: guix-git/doc/contributing.texi:1008
  1205. 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})."
  1206. msgstr ""
  1207. #. type: Plain text
  1208. #: guix-git/doc/contributing.texi:1012
  1209. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1210. msgstr ""
  1211. #. type: Plain text
  1212. #: guix-git/doc/contributing.texi:1015
  1213. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1214. msgstr ""
  1215. #. type: code{#1}
  1216. #: guix-git/doc/contributing.texi:1017 guix-git/doc/contributing.texi:1220
  1217. #, no-wrap
  1218. msgid "git format-patch"
  1219. msgstr ""
  1220. #. type: code{#1}
  1221. #: guix-git/doc/contributing.texi:1018
  1222. #, no-wrap
  1223. msgid "git-format-patch"
  1224. msgstr ""
  1225. #. type: enumerate
  1226. #: guix-git/doc/contributing.texi:1022
  1227. msgid "We recommend to use the command @code{git format-patch --base} to include the commit where your patch applies."
  1228. msgstr ""
  1229. #. type: enumerate
  1230. #: guix-git/doc/contributing.texi:1028
  1231. 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."
  1232. msgstr ""
  1233. #. type: enumerate
  1234. #: guix-git/doc/contributing.texi:1032
  1235. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1236. msgstr ""
  1237. #. type: enumerate
  1238. #: guix-git/doc/contributing.texi:1037
  1239. 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})."
  1240. msgstr ""
  1241. #. type: enumerate
  1242. #: guix-git/doc/contributing.texi:1041
  1243. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1244. msgstr ""
  1245. #. type: enumerate
  1246. #: guix-git/doc/contributing.texi:1049
  1247. 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:"
  1248. msgstr ""
  1249. #. type: lisp
  1250. #: guix-git/doc/contributing.texi:1054
  1251. #, no-wrap
  1252. msgid ""
  1253. "(service qemu-binfmt-service-type\n"
  1254. " (qemu-binfmt-configuration\n"
  1255. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  1256. msgstr ""
  1257. #. type: enumerate
  1258. #: guix-git/doc/contributing.texi:1057
  1259. msgid "Then reconfigure your system."
  1260. msgstr ""
  1261. #. type: enumerate
  1262. #: guix-git/doc/contributing.texi:1062
  1263. 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:"
  1264. msgstr ""
  1265. #. type: example
  1266. #: guix-git/doc/contributing.texi:1065
  1267. #, no-wrap
  1268. msgid ""
  1269. "guix build --system=armhf-linux --rounds=2 hello\n"
  1270. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1271. msgstr ""
  1272. #. type: cindex
  1273. #: guix-git/doc/contributing.texi:1068
  1274. #, no-wrap
  1275. msgid "bundling"
  1276. msgstr ""
  1277. #. type: enumerate
  1278. #: guix-git/doc/contributing.texi:1071
  1279. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1280. msgstr ""
  1281. #. type: enumerate
  1282. #: guix-git/doc/contributing.texi:1080
  1283. 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."
  1284. msgstr ""
  1285. #. type: enumerate
  1286. #: guix-git/doc/contributing.texi:1089
  1287. 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."
  1288. msgstr ""
  1289. #. type: enumerate
  1290. #: guix-git/doc/contributing.texi:1094
  1291. 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})."
  1292. msgstr ""
  1293. #. type: cindex
  1294. #: guix-git/doc/contributing.texi:1096
  1295. #, no-wrap
  1296. msgid "branching strategy"
  1297. msgstr ""
  1298. #. type: cindex
  1299. #: guix-git/doc/contributing.texi:1097
  1300. #, no-wrap
  1301. msgid "rebuild scheduling strategy"
  1302. msgstr ""
  1303. #. type: enumerate
  1304. #: guix-git/doc/contributing.texi:1100
  1305. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1306. msgstr ""
  1307. #. type: item
  1308. #: guix-git/doc/contributing.texi:1102
  1309. #, no-wrap
  1310. msgid "300 dependent packages or less"
  1311. msgstr ""
  1312. #. type: table
  1313. #: guix-git/doc/contributing.texi:1104
  1314. msgid "@code{master} branch (non-disruptive changes)."
  1315. msgstr ""
  1316. #. type: item
  1317. #: guix-git/doc/contributing.texi:1105
  1318. #, no-wrap
  1319. msgid "between 300 and 1,800 dependent packages"
  1320. msgstr ""
  1321. #. type: table
  1322. #: guix-git/doc/contributing.texi:1111
  1323. 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."
  1324. msgstr ""
  1325. #. type: item
  1326. #: guix-git/doc/contributing.texi:1112
  1327. #, no-wrap
  1328. msgid "more than 1,800 dependent packages"
  1329. msgstr ""
  1330. #. type: table
  1331. #: guix-git/doc/contributing.texi:1117
  1332. 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."
  1333. msgstr ""
  1334. #. type: enumerate
  1335. #: guix-git/doc/contributing.texi:1124
  1336. 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."
  1337. msgstr ""
  1338. #. type: enumerate
  1339. #: guix-git/doc/contributing.texi:1133
  1340. 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."
  1341. msgstr ""
  1342. #. type: cindex
  1343. #: guix-git/doc/contributing.texi:1135
  1344. #, no-wrap
  1345. msgid "determinism, of build processes"
  1346. msgstr ""
  1347. #. type: cindex
  1348. #: guix-git/doc/contributing.texi:1136
  1349. #, no-wrap
  1350. msgid "reproducible builds, checking"
  1351. msgstr ""
  1352. #. type: enumerate
  1353. #: guix-git/doc/contributing.texi:1140
  1354. 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."
  1355. msgstr ""
  1356. #. type: enumerate
  1357. #: guix-git/doc/contributing.texi:1143
  1358. 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}):"
  1359. msgstr ""
  1360. #. type: example
  1361. #: guix-git/doc/contributing.texi:1146
  1362. #, no-wrap
  1363. msgid "guix build --rounds=2 my-package\n"
  1364. msgstr ""
  1365. #. type: enumerate
  1366. #: guix-git/doc/contributing.texi:1150
  1367. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1368. msgstr ""
  1369. #. type: enumerate
  1370. #: guix-git/doc/contributing.texi:1160
  1371. 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."
  1372. msgstr ""
  1373. #. type: enumerate
  1374. #: guix-git/doc/contributing.texi:1166
  1375. 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."
  1376. msgstr ""
  1377. #. type: enumerate
  1378. #: guix-git/doc/contributing.texi:1170
  1379. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1380. msgstr ""
  1381. #. type: enumerate
  1382. #: guix-git/doc/contributing.texi:1173
  1383. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1384. msgstr ""
  1385. #. type: enumerate
  1386. #: guix-git/doc/contributing.texi:1178
  1387. 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})."
  1388. msgstr ""
  1389. #. type: enumerate
  1390. #: guix-git/doc/contributing.texi:1186
  1391. 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."
  1392. msgstr ""
  1393. #. type: enumerate
  1394. #: guix-git/doc/contributing.texi:1190
  1395. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1396. msgstr ""
  1397. #. type: enumerate
  1398. #: guix-git/doc/contributing.texi:1193
  1399. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1400. msgstr ""
  1401. #. type: example
  1402. #: guix-git/doc/contributing.texi:1195
  1403. #, no-wrap
  1404. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1405. msgstr ""
  1406. #. type: Plain text
  1407. #: guix-git/doc/contributing.texi:1208
  1408. 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."
  1409. msgstr ""
  1410. #. type: Plain text
  1411. #: guix-git/doc/contributing.texi:1213
  1412. 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."
  1413. msgstr ""
  1414. #. type: Plain text
  1415. #: guix-git/doc/contributing.texi:1216
  1416. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1417. msgstr ""
  1418. #. type: subsection
  1419. #: guix-git/doc/contributing.texi:1217 guix-git/doc/contributing.texi:1218
  1420. #, no-wrap
  1421. msgid "Configuring Git"
  1422. msgstr ""
  1423. #. type: cindex
  1424. #: guix-git/doc/contributing.texi:1219
  1425. #, no-wrap
  1426. msgid "git configuration"
  1427. msgstr ""
  1428. #. type: code{#1}
  1429. #: guix-git/doc/contributing.texi:1221 guix-git/doc/contributing.texi:1256
  1430. #, no-wrap
  1431. msgid "git send-email"
  1432. msgstr ""
  1433. #. type: Plain text
  1434. #: guix-git/doc/contributing.texi:1229
  1435. 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}."
  1436. msgstr ""
  1437. #. type: Plain text
  1438. #: guix-git/doc/contributing.texi:1235
  1439. 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:"
  1440. msgstr ""
  1441. #. type: example
  1442. #: guix-git/doc/contributing.texi:1238
  1443. #, no-wrap
  1444. msgid "git config --local include.path ../etc/git/gitconfig\n"
  1445. msgstr ""
  1446. #. type: Plain text
  1447. #: guix-git/doc/contributing.texi:1242
  1448. msgid "From then on, any changes to @file{etc/git/gitconfig} would automatically take effect."
  1449. msgstr ""
  1450. #. type: Plain text
  1451. #: guix-git/doc/contributing.texi:1247
  1452. 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}:"
  1453. msgstr ""
  1454. #. type: example
  1455. #: guix-git/doc/contributing.texi:1251
  1456. #, no-wrap
  1457. msgid ""
  1458. "git config --local format.thread shallow\n"
  1459. "git config --local sendemail.thread no\n"
  1460. msgstr ""
  1461. #. type: anchor{#1}
  1462. #: guix-git/doc/contributing.texi:1253 guix-git/doc/contributing.texi:1255
  1463. #, no-wrap
  1464. msgid "Sending a Patch Series"
  1465. msgstr ""
  1466. #. type: cindex
  1467. #: guix-git/doc/contributing.texi:1255
  1468. #, no-wrap
  1469. msgid "patch series"
  1470. msgstr ""
  1471. #. type: Plain text
  1472. #: guix-git/doc/contributing.texi:1266
  1473. 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}."
  1474. msgstr ""
  1475. #. type: Plain text
  1476. #: guix-git/doc/contributing.texi:1272
  1477. msgid "This section describes how the Guix project tracks its bug reports and patch submissions."
  1478. msgstr ""
  1479. #. type: subsection
  1480. #: guix-git/doc/contributing.texi:1277 guix-git/doc/contributing.texi:1279
  1481. #: guix-git/doc/contributing.texi:1280
  1482. #, no-wrap
  1483. msgid "The Issue Tracker"
  1484. msgstr ""
  1485. #. type: menuentry
  1486. #: guix-git/doc/contributing.texi:1277
  1487. msgid "The official bug and patch tracker."
  1488. msgstr ""
  1489. #. type: subsection
  1490. #: guix-git/doc/contributing.texi:1277 guix-git/doc/contributing.texi:1293
  1491. #: guix-git/doc/contributing.texi:1294
  1492. #, no-wrap
  1493. msgid "Debbugs User Interfaces"
  1494. msgstr ""
  1495. #. type: menuentry
  1496. #: guix-git/doc/contributing.texi:1277
  1497. msgid "Ways to interact with Debbugs."
  1498. msgstr ""
  1499. #. type: subsection
  1500. #: guix-git/doc/contributing.texi:1277 guix-git/doc/contributing.texi:1333
  1501. #: guix-git/doc/contributing.texi:1334
  1502. #, no-wrap
  1503. msgid "Debbugs Usertags"
  1504. msgstr ""
  1505. #. type: menuentry
  1506. #: guix-git/doc/contributing.texi:1277
  1507. msgid "Tag reports with custom labels."
  1508. msgstr ""
  1509. #. type: cindex
  1510. #: guix-git/doc/contributing.texi:1282
  1511. #, no-wrap
  1512. msgid "bug reports, tracking"
  1513. msgstr ""
  1514. #. type: cindex
  1515. #: guix-git/doc/contributing.texi:1283
  1516. #, no-wrap
  1517. msgid "patch submissions, tracking"
  1518. msgstr ""
  1519. #. type: cindex
  1520. #: guix-git/doc/contributing.texi:1284
  1521. #, no-wrap
  1522. msgid "issue tracking"
  1523. msgstr ""
  1524. #. type: cindex
  1525. #: guix-git/doc/contributing.texi:1285
  1526. #, no-wrap
  1527. msgid "Debbugs, issue tracking system"
  1528. msgstr ""
  1529. #. type: Plain text
  1530. #: guix-git/doc/contributing.texi:1292
  1531. 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})."
  1532. msgstr ""
  1533. #. type: Plain text
  1534. #: guix-git/doc/contributing.texi:1298
  1535. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1536. msgstr ""
  1537. #. type: itemize
  1538. #: guix-git/doc/contributing.texi:1307
  1539. 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;"
  1540. msgstr ""
  1541. #. type: itemize
  1542. #: guix-git/doc/contributing.texi:1309
  1543. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1544. msgstr ""
  1545. #. type: itemize
  1546. #: guix-git/doc/contributing.texi:1311
  1547. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1548. msgstr ""
  1549. #. type: Plain text
  1550. #: guix-git/doc/contributing.texi:1316
  1551. 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}}."
  1552. msgstr ""
  1553. #. type: Plain text
  1554. #: guix-git/doc/contributing.texi:1319
  1555. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1556. msgstr ""
  1557. #. type: example
  1558. #: guix-git/doc/contributing.texi:1322
  1559. #, no-wrap
  1560. msgid "guix install emacs-debbugs\n"
  1561. msgstr ""
  1562. #. type: Plain text
  1563. #: guix-git/doc/contributing.texi:1325
  1564. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1565. msgstr ""
  1566. #. type: example
  1567. #: guix-git/doc/contributing.texi:1328
  1568. #, no-wrap
  1569. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1570. msgstr ""
  1571. #. type: Plain text
  1572. #: guix-git/doc/contributing.texi:1332
  1573. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1574. msgstr ""
  1575. #. type: cindex
  1576. #: guix-git/doc/contributing.texi:1336
  1577. #, no-wrap
  1578. msgid "usertags, for debbugs"
  1579. msgstr ""
  1580. #. type: cindex
  1581. #: guix-git/doc/contributing.texi:1337
  1582. #, no-wrap
  1583. msgid "Debbugs usertags"
  1584. msgstr ""
  1585. #. type: Plain text
  1586. #: guix-git/doc/contributing.texi:1343
  1587. 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.}."
  1588. msgstr ""
  1589. #. type: Plain text
  1590. #: guix-git/doc/contributing.texi:1349
  1591. 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}."
  1592. msgstr ""
  1593. #. type: Plain text
  1594. #: guix-git/doc/contributing.texi:1353
  1595. 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."
  1596. msgstr ""
  1597. #. type: Plain text
  1598. #: guix-git/doc/contributing.texi:1358
  1599. 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:"
  1600. msgstr ""
  1601. #. type: item
  1602. #: guix-git/doc/contributing.texi:1361 guix-git/doc/guix.texi:542
  1603. #, no-wrap
  1604. msgid "powerpc64le-linux"
  1605. msgstr ""
  1606. #. type: table
  1607. #: guix-git/doc/contributing.texi:1369
  1608. 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."
  1609. msgstr ""
  1610. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1611. #. type: item
  1612. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1613. #. type: cindex
  1614. #: guix-git/doc/contributing.texi:1370 guix-git/doc/guix.texi:3045
  1615. #: guix-git/doc/guix.texi:4733
  1616. #, no-wrap
  1617. msgid "reproducibility"
  1618. msgstr ""
  1619. #. type: table
  1620. #: guix-git/doc/contributing.texi:1374
  1621. 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."
  1622. msgstr ""
  1623. #. type: Plain text
  1624. #: guix-git/doc/contributing.texi:1381
  1625. 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."
  1626. msgstr ""
  1627. #. type: cindex
  1628. #: guix-git/doc/contributing.texi:1385
  1629. #, no-wrap
  1630. msgid "commit access, for developers"
  1631. msgstr ""
  1632. #. type: Plain text
  1633. #: guix-git/doc/contributing.texi:1391
  1634. 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."
  1635. msgstr ""
  1636. #. type: Plain text
  1637. #: guix-git/doc/contributing.texi:1395
  1638. 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."
  1639. msgstr ""
  1640. #. type: subsection
  1641. #: guix-git/doc/contributing.texi:1396
  1642. #, no-wrap
  1643. msgid "Applying for Commit Access"
  1644. msgstr ""
  1645. #. type: Plain text
  1646. #: guix-git/doc/contributing.texi:1400
  1647. msgid "When you deem it necessary, consider applying for commit access by following these steps:"
  1648. msgstr ""
  1649. #. type: enumerate
  1650. #: guix-git/doc/contributing.texi:1409
  1651. 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."
  1652. msgstr ""
  1653. #. type: enumerate
  1654. #: guix-git/doc/contributing.texi:1415
  1655. 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''."
  1656. msgstr ""
  1657. #. type: enumerate
  1658. #: guix-git/doc/contributing.texi:1422
  1659. 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."
  1660. msgstr ""
  1661. #. type: enumerate
  1662. #: guix-git/doc/contributing.texi:1428
  1663. 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}):"
  1664. msgstr ""
  1665. #. type: example
  1666. #: guix-git/doc/contributing.texi:1431
  1667. #, no-wrap
  1668. msgid "digest-algo sha512\n"
  1669. msgstr ""
  1670. #. type: enumerate
  1671. #: guix-git/doc/contributing.texi:1436
  1672. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1673. msgstr ""
  1674. #. type: cindex
  1675. #: guix-git/doc/contributing.texi:1438
  1676. #, no-wrap
  1677. msgid "OpenPGP, signed commits"
  1678. msgstr ""
  1679. #. type: enumerate
  1680. #: guix-git/doc/contributing.texi:1443
  1681. 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."
  1682. msgstr ""
  1683. #. type: quotation
  1684. #: guix-git/doc/contributing.texi:1444 guix-git/doc/guix.texi:16976
  1685. #, no-wrap
  1686. msgid "Important"
  1687. msgstr ""
  1688. #. type: quotation
  1689. #: guix-git/doc/contributing.texi:1446
  1690. msgid "Before you can push for the first time, maintainers must:"
  1691. msgstr ""
  1692. #. type: enumerate
  1693. #: guix-git/doc/contributing.texi:1450
  1694. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1695. msgstr ""
  1696. #. type: enumerate
  1697. #: guix-git/doc/contributing.texi:1453
  1698. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1699. msgstr ""
  1700. #. type: enumerate
  1701. #: guix-git/doc/contributing.texi:1458
  1702. msgid "Make sure to read the rest of this section and... profit!"
  1703. msgstr ""
  1704. #. type: quotation
  1705. #: guix-git/doc/contributing.texi:1464
  1706. 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!"
  1707. msgstr ""
  1708. #. type: quotation
  1709. #: guix-git/doc/contributing.texi:1468
  1710. 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!"
  1711. msgstr ""
  1712. #. type: Plain text
  1713. #: guix-git/doc/contributing.texi:1475
  1714. 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:"
  1715. msgstr ""
  1716. #. type: example
  1717. #: guix-git/doc/contributing.texi:1478
  1718. #, no-wrap
  1719. msgid ""
  1720. "git config commit.gpgsign true\n"
  1721. "\n"
  1722. msgstr ""
  1723. #. type: example
  1724. #: guix-git/doc/contributing.texi:1481
  1725. #, no-wrap
  1726. msgid ""
  1727. "# Substitute the fingerprint of your public PGP key.\n"
  1728. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1729. msgstr ""
  1730. #. type: Plain text
  1731. #: guix-git/doc/contributing.texi:1486
  1732. 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}:"
  1733. msgstr ""
  1734. #. type: example
  1735. #: guix-git/doc/contributing.texi:1489
  1736. #, no-wrap
  1737. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1738. msgstr ""
  1739. #. type: subsection
  1740. #: guix-git/doc/contributing.texi:1491
  1741. #, no-wrap
  1742. msgid "Commit Policy"
  1743. msgstr ""
  1744. #. type: Plain text
  1745. #: guix-git/doc/contributing.texi:1496
  1746. 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})."
  1747. msgstr ""
  1748. #. type: Plain text
  1749. #: guix-git/doc/contributing.texi:1501
  1750. 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})."
  1751. msgstr ""
  1752. #. type: Plain text
  1753. #: guix-git/doc/contributing.texi:1510
  1754. 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}."
  1755. msgstr ""
  1756. #. type: Plain text
  1757. #: guix-git/doc/contributing.texi:1515
  1758. 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."
  1759. msgstr ""
  1760. #. type: Plain text
  1761. #: guix-git/doc/contributing.texi:1519
  1762. 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:"
  1763. msgstr ""
  1764. #. type: example
  1765. #: guix-git/doc/contributing.texi:1522
  1766. #, no-wrap
  1767. msgid "make check-channel-news\n"
  1768. msgstr ""
  1769. #. type: Plain text
  1770. #: guix-git/doc/contributing.texi:1528
  1771. 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."
  1772. msgstr ""
  1773. #. type: Plain text
  1774. #: guix-git/doc/contributing.texi:1531
  1775. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1776. msgstr ""
  1777. #. type: subsection
  1778. #: guix-git/doc/contributing.texi:1532
  1779. #, no-wrap
  1780. msgid "Addressing Issues"
  1781. msgstr ""
  1782. #. type: Plain text
  1783. #: guix-git/doc/contributing.texi:1543
  1784. 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."
  1785. msgstr ""
  1786. #. type: Plain text
  1787. #: guix-git/doc/contributing.texi:1548
  1788. 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."
  1789. msgstr ""
  1790. #. type: cindex
  1791. #: guix-git/doc/contributing.texi:1549
  1792. #, no-wrap
  1793. msgid "reverting commits"
  1794. msgstr ""
  1795. #. type: Plain text
  1796. #: guix-git/doc/contributing.texi:1555
  1797. 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."
  1798. msgstr ""
  1799. #. type: Plain text
  1800. #: guix-git/doc/contributing.texi:1561
  1801. 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."
  1802. msgstr ""
  1803. #. type: Plain text
  1804. #: guix-git/doc/contributing.texi:1570
  1805. 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."
  1806. msgstr ""
  1807. #. type: subsection
  1808. #: guix-git/doc/contributing.texi:1571
  1809. #, no-wrap
  1810. msgid "Commit Revocation"
  1811. msgstr ""
  1812. #. type: Plain text
  1813. #: guix-git/doc/contributing.texi:1578
  1814. 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."
  1815. msgstr ""
  1816. #. type: Plain text
  1817. #: guix-git/doc/contributing.texi:1588
  1818. 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:"
  1819. msgstr ""
  1820. #. type: item
  1821. #: guix-git/doc/contributing.texi:1590
  1822. #, no-wrap
  1823. msgid "repeated violation of the commit policy stated above;"
  1824. msgstr ""
  1825. #. type: item
  1826. #: guix-git/doc/contributing.texi:1591
  1827. #, no-wrap
  1828. msgid "repeated failure to take peer criticism into account;"
  1829. msgstr ""
  1830. #. type: item
  1831. #: guix-git/doc/contributing.texi:1592
  1832. #, no-wrap
  1833. msgid "breaching trust through a series of grave incidents."
  1834. msgstr ""
  1835. #. type: Plain text
  1836. #: guix-git/doc/contributing.texi:1599
  1837. 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."
  1838. msgstr ""
  1839. #. type: subsection
  1840. #: guix-git/doc/contributing.texi:1600
  1841. #, no-wrap
  1842. msgid "Helping Out"
  1843. msgstr ""
  1844. #. type: Plain text
  1845. #: guix-git/doc/contributing.texi:1607
  1846. 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!"
  1847. msgstr ""
  1848. #. type: cindex
  1849. #: guix-git/doc/contributing.texi:1611
  1850. #, no-wrap
  1851. msgid "update-guix-package, updating the guix package"
  1852. msgstr ""
  1853. #. type: Plain text
  1854. #: guix-git/doc/contributing.texi:1617
  1855. 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:"
  1856. msgstr ""
  1857. #. type: example
  1858. #: guix-git/doc/contributing.texi:1620
  1859. #, no-wrap
  1860. msgid "make update-guix-package\n"
  1861. msgstr ""
  1862. #. type: Plain text
  1863. #: guix-git/doc/contributing.texi:1627
  1864. 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."
  1865. msgstr ""
  1866. #. type: Plain text
  1867. #: guix-git/doc/contributing.texi:1631
  1868. 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:"
  1869. msgstr ""
  1870. #. type: example
  1871. #: guix-git/doc/contributing.texi:1634
  1872. #, no-wrap
  1873. msgid "./pre-inst-env guix build guix\n"
  1874. msgstr ""
  1875. #. type: Plain text
  1876. #: guix-git/doc/contributing.texi:1639
  1877. 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."
  1878. msgstr ""
  1879. #. type: Plain text
  1880. #: guix-git/doc/contributing.texi:1644
  1881. 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."
  1882. msgstr ""
  1883. #. type: cindex
  1884. #: guix-git/doc/contributing.texi:1645
  1885. #, no-wrap
  1886. msgid "translation"
  1887. msgstr ""
  1888. #. type: cindex
  1889. #: guix-git/doc/contributing.texi:1646
  1890. #, no-wrap
  1891. msgid "l10n"
  1892. msgstr ""
  1893. #. type: cindex
  1894. #: guix-git/doc/contributing.texi:1647
  1895. #, no-wrap
  1896. msgid "i18n"
  1897. msgstr ""
  1898. #. type: cindex
  1899. #: guix-git/doc/contributing.texi:1648
  1900. #, no-wrap
  1901. msgid "native language support"
  1902. msgstr ""
  1903. #. type: Plain text
  1904. #: guix-git/doc/contributing.texi:1658
  1905. 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!"
  1906. msgstr ""
  1907. #. type: Plain text
  1908. #: guix-git/doc/contributing.texi:1664
  1909. 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."
  1910. msgstr ""
  1911. #. type: Plain text
  1912. #: guix-git/doc/contributing.texi:1671
  1913. 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."
  1914. msgstr ""
  1915. #. type: Plain text
  1916. #: guix-git/doc/contributing.texi:1676
  1917. 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}."
  1918. msgstr ""
  1919. #. type: Plain text
  1920. #: guix-git/doc/contributing.texi:1678
  1921. msgid "Guix has five components hosted on Weblate."
  1922. msgstr ""
  1923. #. type: item
  1924. #: guix-git/doc/contributing.texi:1680
  1925. #, no-wrap
  1926. msgid "@code{guix} contains all the strings from the Guix software (the"
  1927. msgstr ""
  1928. #. type: itemize
  1929. #: guix-git/doc/contributing.texi:1682
  1930. msgid "guided system installer, the package manager, etc), excluding packages."
  1931. msgstr ""
  1932. #. type: item
  1933. #: guix-git/doc/contributing.texi:1682
  1934. #, no-wrap
  1935. msgid "@code{packages} contains the synopsis (single-sentence description"
  1936. msgstr ""
  1937. #. type: itemize
  1938. #: guix-git/doc/contributing.texi:1684
  1939. msgid "of a package) and description (longer description) of packages in Guix."
  1940. msgstr ""
  1941. #. type: item
  1942. #: guix-git/doc/contributing.texi:1684
  1943. #, no-wrap
  1944. msgid "@code{website} contains the official Guix website, except for"
  1945. msgstr ""
  1946. #. type: itemize
  1947. #: guix-git/doc/contributing.texi:1686
  1948. msgid "blog posts and multimedia content."
  1949. msgstr ""
  1950. #. type: item
  1951. #: guix-git/doc/contributing.texi:1686
  1952. #, no-wrap
  1953. msgid "@code{documentation-manual} corresponds to this manual."
  1954. msgstr ""
  1955. #. type: item
  1956. #: guix-git/doc/contributing.texi:1687
  1957. #, no-wrap
  1958. msgid "@code{documentation-cookbook} is the component for the cookbook."
  1959. msgstr ""
  1960. #. type: subsubheading
  1961. #: guix-git/doc/contributing.texi:1690
  1962. #, no-wrap
  1963. msgid "General Directions"
  1964. msgstr ""
  1965. #. type: Plain text
  1966. #: guix-git/doc/contributing.texi:1698
  1967. 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."
  1968. msgstr ""
  1969. #. type: Plain text
  1970. #: guix-git/doc/contributing.texi:1703
  1971. 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."
  1972. msgstr ""
  1973. #. type: Plain text
  1974. #: guix-git/doc/contributing.texi:1714
  1975. 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."
  1976. msgstr ""
  1977. #. type: Plain text
  1978. #: guix-git/doc/contributing.texi:1719
  1979. 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."
  1980. msgstr ""
  1981. #. type: subsubheading
  1982. #: guix-git/doc/contributing.texi:1720
  1983. #, no-wrap
  1984. msgid "Translation Components"
  1985. msgstr ""
  1986. #. type: Plain text
  1987. #: guix-git/doc/contributing.texi:1725
  1988. 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!"
  1989. msgstr ""
  1990. #. type: item
  1991. #: guix-git/doc/contributing.texi:1727 guix-git/doc/guix.texi:8868
  1992. #, no-wrap
  1993. msgid "guix"
  1994. msgstr ""
  1995. #. type: table
  1996. #: guix-git/doc/contributing.texi:1732
  1997. 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."
  1998. msgstr ""
  1999. #. type: table
  2000. #: guix-git/doc/contributing.texi:1741
  2001. 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."
  2002. msgstr ""
  2003. #. type: table
  2004. #: guix-git/doc/contributing.texi:1745
  2005. 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."
  2006. msgstr ""
  2007. #. type: table
  2008. #: guix-git/doc/contributing.texi:1753
  2009. 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."
  2010. msgstr ""
  2011. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2012. #. type: item
  2013. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2014. #. type: cindex
  2015. #: guix-git/doc/contributing.texi:1754 guix-git/doc/guix.texi:2963
  2016. #, no-wrap
  2017. msgid "packages"
  2018. msgstr ""
  2019. #. type: table
  2020. #: guix-git/doc/contributing.texi:1759
  2021. 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."
  2022. msgstr ""
  2023. #. type: table
  2024. #: guix-git/doc/contributing.texi:1768
  2025. 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})."
  2026. msgstr ""
  2027. #. type: item
  2028. #: guix-git/doc/contributing.texi:1769
  2029. #, no-wrap
  2030. msgid "documentation-manual and documentation-cookbook"
  2031. msgstr ""
  2032. #. type: table
  2033. #: guix-git/doc/contributing.texi:1773
  2034. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  2035. msgstr ""
  2036. #. type: item
  2037. #: guix-git/doc/contributing.texi:1775
  2038. #, no-wrap
  2039. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  2040. msgstr ""
  2041. #. type: itemize
  2042. #: guix-git/doc/contributing.texi:1778
  2043. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  2044. msgstr ""
  2045. #. type: item
  2046. #: guix-git/doc/contributing.texi:1778
  2047. #, no-wrap
  2048. msgid "@code{contributing.texi}: Translate this string as"
  2049. msgstr ""
  2050. #. type: itemize
  2051. #: guix-git/doc/contributing.texi:1780
  2052. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2053. msgstr ""
  2054. #. type: item
  2055. #: guix-git/doc/contributing.texi:1780
  2056. #, no-wrap
  2057. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2058. msgstr ""
  2059. #. type: itemize
  2060. #: guix-git/doc/contributing.texi:1783
  2061. 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."
  2062. msgstr ""
  2063. #. type: table
  2064. #: guix-git/doc/contributing.texi:1788
  2065. 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."
  2066. msgstr ""
  2067. #. type: table
  2068. #: guix-git/doc/contributing.texi:1795
  2069. 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."
  2070. msgstr ""
  2071. #. type: table
  2072. #: guix-git/doc/contributing.texi:1803
  2073. 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."
  2074. msgstr ""
  2075. #. type: table
  2076. #: guix-git/doc/contributing.texi:1813
  2077. 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."
  2078. msgstr ""
  2079. #. type: item
  2080. #: guix-git/doc/contributing.texi:1814
  2081. #, no-wrap
  2082. msgid "website"
  2083. msgstr ""
  2084. #. type: table
  2085. #: guix-git/doc/contributing.texi:1821
  2086. 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."
  2087. msgstr ""
  2088. #. type: example
  2089. #: guix-git/doc/contributing.texi:1828
  2090. #, no-wrap
  2091. msgid ""
  2092. "#. TRANSLATORS: Defining Packages is a section name\n"
  2093. "#. in the English (en) manual.\n"
  2094. "#: apps/base/templates/about.scm:64\n"
  2095. "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"
  2096. "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"
  2097. msgstr ""
  2098. #. type: table
  2099. #: guix-git/doc/contributing.texi:1831
  2100. msgid "Note that you need to include the same markups. You cannot skip any."
  2101. msgstr ""
  2102. #. type: Plain text
  2103. #: guix-git/doc/contributing.texi:1839
  2104. 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."
  2105. msgstr ""
  2106. #. type: subsubheading
  2107. #: guix-git/doc/contributing.texi:1840
  2108. #, no-wrap
  2109. msgid "Outside of Weblate"
  2110. msgstr ""
  2111. #. type: Plain text
  2112. #: guix-git/doc/contributing.texi:1843
  2113. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2114. msgstr ""
  2115. #. type: item
  2116. #: guix-git/doc/contributing.texi:1845
  2117. #, no-wrap
  2118. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2119. msgstr ""
  2120. #. type: itemize
  2121. #: guix-git/doc/contributing.texi:1851
  2122. 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."
  2123. msgstr ""
  2124. #. type: item
  2125. #: guix-git/doc/contributing.texi:1851
  2126. #, no-wrap
  2127. msgid "Guix blog posts cannot currently be translated."
  2128. msgstr ""
  2129. #. type: item
  2130. #: guix-git/doc/contributing.texi:1852
  2131. #, no-wrap
  2132. msgid "The installer script (for foreign distributions) is entirely in English."
  2133. msgstr ""
  2134. #. type: item
  2135. #: guix-git/doc/contributing.texi:1853
  2136. #, no-wrap
  2137. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2138. msgstr ""
  2139. #. type: itemize
  2140. #: guix-git/doc/contributing.texi:1855
  2141. msgid "outside of the Guix project. Guile itself is not internationalized."
  2142. msgstr ""
  2143. #. type: item
  2144. #: guix-git/doc/contributing.texi:1855
  2145. #, no-wrap
  2146. msgid "Other manuals linked from this manual or the cookbook might not be"
  2147. msgstr ""
  2148. #. type: itemize
  2149. #: guix-git/doc/contributing.texi:1857
  2150. msgid "translated."
  2151. msgstr ""
  2152. #. type: subsubheading
  2153. #: guix-git/doc/contributing.texi:1859
  2154. #, no-wrap
  2155. msgid "Translation Infrastructure"
  2156. msgstr ""
  2157. #. type: Plain text
  2158. #: guix-git/doc/contributing.texi:1870
  2159. 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."
  2160. msgstr ""
  2161. #. type: Plain text
  2162. #: guix-git/doc/contributing.texi:1874
  2163. 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."
  2164. msgstr ""
  2165. #. type: Plain text
  2166. #: guix-git/doc/contributing.texi:1880
  2167. 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."
  2168. msgstr ""
  2169. #. type: Plain text
  2170. #: guix-git/doc/contributing.texi:1884
  2171. 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."
  2172. msgstr ""
  2173. #. type: item
  2174. #: guix-git/doc/contributing.texi:1886
  2175. #, no-wrap
  2176. msgid "New po files for the @code{guix} and @code{packages} components must"
  2177. msgstr ""
  2178. #. type: itemize
  2179. #: guix-git/doc/contributing.texi:1889
  2180. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2181. msgstr ""
  2182. #. type: item
  2183. #: guix-git/doc/contributing.texi:1889
  2184. #, no-wrap
  2185. msgid "New po files for the @code{documentation-manual} component must be"
  2186. msgstr ""
  2187. #. type: itemize
  2188. #: guix-git/doc/contributing.texi:1895
  2189. 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}."
  2190. msgstr ""
  2191. #. type: item
  2192. #: guix-git/doc/contributing.texi:1895
  2193. #, no-wrap
  2194. msgid "New po files for the @code{documentation-cookbook} component must be"
  2195. msgstr ""
  2196. #. type: itemize
  2197. #: guix-git/doc/contributing.texi:1901
  2198. 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}."
  2199. msgstr ""
  2200. #. type: item
  2201. #: guix-git/doc/contributing.texi:1901
  2202. #, no-wrap
  2203. msgid "New po files for the @code{website} component must be added to the"
  2204. msgstr ""
  2205. #. type: itemize
  2206. #: guix-git/doc/contributing.texi:1906
  2207. 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)."
  2208. msgstr ""
  2209. #. type: Plain text
  2210. #: guix-git/doc/guix.texi:7
  2211. msgid "@documentencoding UTF-8"
  2212. msgstr ""
  2213. #. type: title
  2214. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:128
  2215. #, no-wrap
  2216. msgid "GNU Guix Reference Manual"
  2217. msgstr ""
  2218. #. type: include
  2219. #: guix-git/doc/guix.texi:10
  2220. #, no-wrap
  2221. msgid "version.texi"
  2222. msgstr "version-fa.texi"
  2223. #. type: copying
  2224. #: guix-git/doc/guix.texi:101
  2225. 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@*"
  2226. msgstr ""
  2227. #. type: copying
  2228. #: guix-git/doc/guix.texi:108
  2229. 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''."
  2230. msgstr ""
  2231. #. type: dircategory
  2232. #: guix-git/doc/guix.texi:110
  2233. #, no-wrap
  2234. msgid "System administration"
  2235. msgstr ""
  2236. #. type: menuentry
  2237. #: guix-git/doc/guix.texi:118
  2238. msgid "Guix: (guix)"
  2239. msgstr ""
  2240. #. type: menuentry
  2241. #: guix-git/doc/guix.texi:118
  2242. msgid "Manage installed software and system configuration."
  2243. msgstr ""
  2244. #. type: menuentry
  2245. #: guix-git/doc/guix.texi:118
  2246. msgid "guix package: (guix)Invoking guix package"
  2247. msgstr ""
  2248. #. type: menuentry
  2249. #: guix-git/doc/guix.texi:118
  2250. msgid "Installing, removing, and upgrading packages."
  2251. msgstr ""
  2252. #. type: menuentry
  2253. #: guix-git/doc/guix.texi:118
  2254. msgid "guix gc: (guix)Invoking guix gc"
  2255. msgstr ""
  2256. #. type: menuentry
  2257. #: guix-git/doc/guix.texi:118
  2258. msgid "Reclaiming unused disk space."
  2259. msgstr ""
  2260. #. type: menuentry
  2261. #: guix-git/doc/guix.texi:118
  2262. msgid "guix pull: (guix)Invoking guix pull"
  2263. msgstr ""
  2264. #. type: menuentry
  2265. #: guix-git/doc/guix.texi:118
  2266. msgid "Update the list of available packages."
  2267. msgstr ""
  2268. #. type: menuentry
  2269. #: guix-git/doc/guix.texi:118
  2270. msgid "guix system: (guix)Invoking guix system"
  2271. msgstr ""
  2272. #. type: menuentry
  2273. #: guix-git/doc/guix.texi:118
  2274. msgid "Manage the operating system configuration."
  2275. msgstr ""
  2276. #. type: menuentry
  2277. #: guix-git/doc/guix.texi:118
  2278. msgid "guix deploy: (guix)Invoking guix deploy"
  2279. msgstr ""
  2280. #. type: menuentry
  2281. #: guix-git/doc/guix.texi:118
  2282. msgid "Manage operating system configurations for remote hosts."
  2283. msgstr ""
  2284. #. type: dircategory
  2285. #: guix-git/doc/guix.texi:120
  2286. #, no-wrap
  2287. msgid "Software development"
  2288. msgstr ""
  2289. #. type: menuentry
  2290. #: guix-git/doc/guix.texi:125
  2291. msgid "guix environment: (guix)Invoking guix environment"
  2292. msgstr ""
  2293. #. type: menuentry
  2294. #: guix-git/doc/guix.texi:125
  2295. msgid "Building development environments with Guix."
  2296. msgstr ""
  2297. #. type: menuentry
  2298. #: guix-git/doc/guix.texi:125
  2299. msgid "guix build: (guix)Invoking guix build"
  2300. msgstr ""
  2301. #. type: menuentry
  2302. #: guix-git/doc/guix.texi:125
  2303. msgid "Building packages."
  2304. msgstr ""
  2305. #. type: menuentry
  2306. #: guix-git/doc/guix.texi:125
  2307. msgid "guix pack: (guix)Invoking guix pack"
  2308. msgstr ""
  2309. #. type: menuentry
  2310. #: guix-git/doc/guix.texi:125
  2311. msgid "Creating binary bundles."
  2312. msgstr ""
  2313. #. type: subtitle
  2314. #: guix-git/doc/guix.texi:129
  2315. #, no-wrap
  2316. msgid "Using the GNU Guix Functional Package Manager"
  2317. msgstr ""
  2318. #. type: author
  2319. #: guix-git/doc/guix.texi:130
  2320. #, no-wrap
  2321. msgid "The GNU Guix Developers"
  2322. msgstr ""
  2323. #. type: titlepage
  2324. #: guix-git/doc/guix.texi:136
  2325. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2326. msgstr ""
  2327. #. type: node
  2328. #: guix-git/doc/guix.texi:143
  2329. #, no-wrap
  2330. msgid "Top"
  2331. msgstr ""
  2332. #. type: top
  2333. #: guix-git/doc/guix.texi:144
  2334. #, no-wrap
  2335. msgid "GNU Guix"
  2336. msgstr "گیکسِ گنو"
  2337. #. type: Plain text
  2338. #: guix-git/doc/guix.texi:148
  2339. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2340. msgstr ""
  2341. #. type: Plain text
  2342. #: guix-git/doc/guix.texi:160
  2343. 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})."
  2344. msgstr ""
  2345. #. type: chapter
  2346. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:189
  2347. #: guix-git/doc/guix.texi:394 guix-git/doc/guix.texi:395
  2348. #, no-wrap
  2349. msgid "Introduction"
  2350. msgstr ""
  2351. #. type: menuentry
  2352. #: guix-git/doc/guix.texi:179
  2353. msgid "What is Guix about?"
  2354. msgstr ""
  2355. #. type: chapter
  2356. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:194
  2357. #: guix-git/doc/guix.texi:575 guix-git/doc/guix.texi:576
  2358. #, no-wrap
  2359. msgid "Installation"
  2360. msgstr ""
  2361. #. type: menuentry
  2362. #: guix-git/doc/guix.texi:179
  2363. msgid "Installing Guix."
  2364. msgstr ""
  2365. #. type: chapter
  2366. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:210
  2367. #: guix-git/doc/guix.texi:2034 guix-git/doc/guix.texi:2035
  2368. #, no-wrap
  2369. msgid "System Installation"
  2370. msgstr ""
  2371. #. type: menuentry
  2372. #: guix-git/doc/guix.texi:179
  2373. msgid "Installing the whole operating system."
  2374. msgstr ""
  2375. #. type: chapter
  2376. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:2752
  2377. #: guix-git/doc/guix.texi:2753
  2378. #, no-wrap
  2379. msgid "Getting Started"
  2380. msgstr ""
  2381. #. type: menuentry
  2382. #: guix-git/doc/guix.texi:179
  2383. msgid "Your first steps."
  2384. msgstr ""
  2385. #. type: chapter
  2386. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:227
  2387. #: guix-git/doc/guix.texi:2960 guix-git/doc/guix.texi:2961
  2388. #, no-wrap
  2389. msgid "Package Management"
  2390. msgstr ""
  2391. #. type: menuentry
  2392. #: guix-git/doc/guix.texi:179
  2393. msgid "Package installation, upgrade, etc."
  2394. msgstr ""
  2395. #. type: chapter
  2396. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:250
  2397. #: guix-git/doc/guix.texi:5015 guix-git/doc/guix.texi:5016
  2398. #, no-wrap
  2399. msgid "Channels"
  2400. msgstr ""
  2401. #. type: menuentry
  2402. #: guix-git/doc/guix.texi:179
  2403. msgid "Customizing the package collection."
  2404. msgstr ""
  2405. #. type: chapter
  2406. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:264
  2407. #: guix-git/doc/guix.texi:5543 guix-git/doc/guix.texi:5544
  2408. #, no-wrap
  2409. msgid "Development"
  2410. msgstr ""
  2411. #. type: menuentry
  2412. #: guix-git/doc/guix.texi:179
  2413. msgid "Guix-aided software development."
  2414. msgstr ""
  2415. #. type: chapter
  2416. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:271
  2417. #: guix-git/doc/guix.texi:6398 guix-git/doc/guix.texi:6399
  2418. #, no-wrap
  2419. msgid "Programming Interface"
  2420. msgstr ""
  2421. #. type: menuentry
  2422. #: guix-git/doc/guix.texi:179
  2423. msgid "Using Guix in Scheme."
  2424. msgstr ""
  2425. #. type: chapter
  2426. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:290
  2427. #: guix-git/doc/guix.texi:10222 guix-git/doc/guix.texi:10223
  2428. #, no-wrap
  2429. msgid "Utilities"
  2430. msgstr ""
  2431. #. type: menuentry
  2432. #: guix-git/doc/guix.texi:179
  2433. msgid "Package management commands."
  2434. msgstr ""
  2435. #. type: chapter
  2436. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:315
  2437. #: guix-git/doc/guix.texi:13538 guix-git/doc/guix.texi:13539
  2438. #, no-wrap
  2439. msgid "System Configuration"
  2440. msgstr ""
  2441. #. type: menuentry
  2442. #: guix-git/doc/guix.texi:179
  2443. msgid "Configuring the operating system."
  2444. msgstr ""
  2445. #. type: chapter
  2446. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:35367
  2447. #: guix-git/doc/guix.texi:35368
  2448. #, no-wrap
  2449. msgid "Home Configuration"
  2450. msgstr ""
  2451. #. type: menuentry
  2452. #: guix-git/doc/guix.texi:179
  2453. msgid "Configuring the home environment."
  2454. msgstr ""
  2455. #. type: chapter
  2456. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:36108
  2457. #: guix-git/doc/guix.texi:36109
  2458. #, no-wrap
  2459. msgid "Documentation"
  2460. msgstr "مستندات"
  2461. #. type: menuentry
  2462. #: guix-git/doc/guix.texi:179
  2463. msgid "Browsing software user manuals."
  2464. msgstr ""
  2465. #. type: chapter
  2466. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:381
  2467. #: guix-git/doc/guix.texi:36172 guix-git/doc/guix.texi:36173
  2468. #, no-wrap
  2469. msgid "Installing Debugging Files"
  2470. msgstr ""
  2471. #. type: menuentry
  2472. #: guix-git/doc/guix.texi:179
  2473. msgid "Feeding the debugger."
  2474. msgstr ""
  2475. #. type: chapter
  2476. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:36313
  2477. #: guix-git/doc/guix.texi:36314
  2478. #, no-wrap
  2479. msgid "Security Updates"
  2480. msgstr ""
  2481. #. type: menuentry
  2482. #: guix-git/doc/guix.texi:179
  2483. msgid "Deploying security fixes quickly."
  2484. msgstr ""
  2485. #. type: chapter
  2486. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:386
  2487. #: guix-git/doc/guix.texi:36428 guix-git/doc/guix.texi:36429
  2488. #, no-wrap
  2489. msgid "Bootstrapping"
  2490. msgstr ""
  2491. #. type: menuentry
  2492. #: guix-git/doc/guix.texi:179
  2493. msgid "GNU/Linux built from scratch."
  2494. msgstr ""
  2495. #. type: node
  2496. #: guix-git/doc/guix.texi:179 guix-git/doc/guix.texi:36720
  2497. #, no-wrap
  2498. msgid "Porting"
  2499. msgstr ""
  2500. #. type: menuentry
  2501. #: guix-git/doc/guix.texi:179
  2502. msgid "Targeting another platform or kernel."
  2503. msgstr ""
  2504. #. type: menuentry
  2505. #: guix-git/doc/guix.texi:179
  2506. msgid "Your help needed!"
  2507. msgstr ""
  2508. #. type: chapter
  2509. #: guix-git/doc/guix.texi:184 guix-git/doc/guix.texi:36768
  2510. #: guix-git/doc/guix.texi:36769
  2511. #, no-wrap
  2512. msgid "Acknowledgments"
  2513. msgstr ""
  2514. #. type: menuentry
  2515. #: guix-git/doc/guix.texi:184
  2516. msgid "Thanks!"
  2517. msgstr "سپاس!"
  2518. #. type: appendix
  2519. #: guix-git/doc/guix.texi:184 guix-git/doc/guix.texi:36790
  2520. #: guix-git/doc/guix.texi:36791
  2521. #, no-wrap
  2522. msgid "GNU Free Documentation License"
  2523. msgstr ""
  2524. #. type: menuentry
  2525. #: guix-git/doc/guix.texi:184
  2526. msgid "The license of this manual."
  2527. msgstr ""
  2528. #. type: unnumbered
  2529. #: guix-git/doc/guix.texi:184 guix-git/doc/guix.texi:36796
  2530. #: guix-git/doc/guix.texi:36797
  2531. #, no-wrap
  2532. msgid "Concept Index"
  2533. msgstr ""
  2534. #. type: menuentry
  2535. #: guix-git/doc/guix.texi:184
  2536. msgid "Concepts."
  2537. msgstr ""
  2538. #. type: unnumbered
  2539. #: guix-git/doc/guix.texi:184 guix-git/doc/guix.texi:36800
  2540. #: guix-git/doc/guix.texi:36801
  2541. #, no-wrap
  2542. msgid "Programming Index"
  2543. msgstr ""
  2544. #. type: menuentry
  2545. #: guix-git/doc/guix.texi:184
  2546. msgid "Data types, functions, and variables."
  2547. msgstr ""
  2548. #. type: menuentry
  2549. #: guix-git/doc/guix.texi:187
  2550. msgid "--- The Detailed Node Listing ---"
  2551. msgstr ""
  2552. #. type: section
  2553. #: guix-git/doc/guix.texi:192 guix-git/doc/guix.texi:421
  2554. #: guix-git/doc/guix.texi:423 guix-git/doc/guix.texi:424
  2555. #, no-wrap
  2556. msgid "Managing Software the Guix Way"
  2557. msgstr ""
  2558. #. type: menuentry
  2559. #: guix-git/doc/guix.texi:192 guix-git/doc/guix.texi:421
  2560. msgid "What's special."
  2561. msgstr ""
  2562. #. type: section
  2563. #: guix-git/doc/guix.texi:192 guix-git/doc/guix.texi:421
  2564. #: guix-git/doc/guix.texi:478 guix-git/doc/guix.texi:479
  2565. #, no-wrap
  2566. msgid "GNU Distribution"
  2567. msgstr ""
  2568. #. type: menuentry
  2569. #: guix-git/doc/guix.texi:192 guix-git/doc/guix.texi:421
  2570. msgid "The packages and tools."
  2571. msgstr ""
  2572. #. type: section
  2573. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2574. #: guix-git/doc/guix.texi:617 guix-git/doc/guix.texi:618
  2575. #, no-wrap
  2576. msgid "Binary Installation"
  2577. msgstr ""
  2578. #. type: menuentry
  2579. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2580. msgid "Getting Guix running in no time!"
  2581. msgstr ""
  2582. #. type: section
  2583. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2584. #: guix-git/doc/guix.texi:857 guix-git/doc/guix.texi:858
  2585. #, no-wrap
  2586. msgid "Requirements"
  2587. msgstr ""
  2588. #. type: menuentry
  2589. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2590. msgid "Software needed to build and run Guix."
  2591. msgstr ""
  2592. #. type: section
  2593. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2594. #: guix-git/doc/guix.texi:943 guix-git/doc/guix.texi:944
  2595. #, no-wrap
  2596. msgid "Running the Test Suite"
  2597. msgstr ""
  2598. #. type: menuentry
  2599. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2600. msgid "Testing Guix."
  2601. msgstr ""
  2602. #. type: section
  2603. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:204
  2604. #: guix-git/doc/guix.texi:615 guix-git/doc/guix.texi:1040
  2605. #: guix-git/doc/guix.texi:1041
  2606. #, no-wrap
  2607. msgid "Setting Up the Daemon"
  2608. msgstr ""
  2609. #. type: menuentry
  2610. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2611. msgid "Preparing the build daemon's environment."
  2612. msgstr ""
  2613. #. type: node
  2614. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2615. #: guix-git/doc/guix.texi:1510
  2616. #, no-wrap
  2617. msgid "Invoking guix-daemon"
  2618. msgstr ""
  2619. #. type: menuentry
  2620. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2621. msgid "Running the build daemon."
  2622. msgstr ""
  2623. #. type: section
  2624. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2625. #: guix-git/doc/guix.texi:1812 guix-git/doc/guix.texi:1813
  2626. #, no-wrap
  2627. msgid "Application Setup"
  2628. msgstr ""
  2629. #. type: menuentry
  2630. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2631. msgid "Application-specific setup."
  2632. msgstr ""
  2633. #. type: section
  2634. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2635. #: guix-git/doc/guix.texi:1997 guix-git/doc/guix.texi:1998
  2636. #, no-wrap
  2637. msgid "Upgrading Guix"
  2638. msgstr ""
  2639. #. type: menuentry
  2640. #: guix-git/doc/guix.texi:202 guix-git/doc/guix.texi:615
  2641. msgid "Upgrading Guix and its build daemon."
  2642. msgstr ""
  2643. #. type: subsection
  2644. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2645. #: guix-git/doc/guix.texi:1062 guix-git/doc/guix.texi:1063
  2646. #, no-wrap
  2647. msgid "Build Environment Setup"
  2648. msgstr ""
  2649. #. type: menuentry
  2650. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2651. msgid "Preparing the isolated build environment."
  2652. msgstr ""
  2653. #. type: node
  2654. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2655. #: guix-git/doc/guix.texi:1181
  2656. #, no-wrap
  2657. msgid "Daemon Offload Setup"
  2658. msgstr ""
  2659. #. type: menuentry
  2660. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2661. msgid "Offloading builds to remote machines."
  2662. msgstr ""
  2663. #. type: subsection
  2664. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2665. #: guix-git/doc/guix.texi:1419 guix-git/doc/guix.texi:1420
  2666. #, no-wrap
  2667. msgid "SELinux Support"
  2668. msgstr ""
  2669. #. type: menuentry
  2670. #: guix-git/doc/guix.texi:208 guix-git/doc/guix.texi:1060
  2671. msgid "Using an SELinux policy for the daemon."
  2672. msgstr ""
  2673. #. type: section
  2674. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:1455
  2675. #: guix-git/doc/guix.texi:2068 guix-git/doc/guix.texi:2070
  2676. #: guix-git/doc/guix.texi:2071
  2677. #, no-wrap
  2678. msgid "Limitations"
  2679. msgstr ""
  2680. #. type: menuentry
  2681. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2682. msgid "What you can expect."
  2683. msgstr ""
  2684. #. type: section
  2685. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2686. #: guix-git/doc/guix.texi:2096 guix-git/doc/guix.texi:2097
  2687. #, no-wrap
  2688. msgid "Hardware Considerations"
  2689. msgstr ""
  2690. #. type: menuentry
  2691. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2692. msgid "Supported hardware."
  2693. msgstr ""
  2694. #. type: section
  2695. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2696. #: guix-git/doc/guix.texi:2131 guix-git/doc/guix.texi:2132
  2697. #, no-wrap
  2698. msgid "USB Stick and DVD Installation"
  2699. msgstr ""
  2700. #. type: menuentry
  2701. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2702. msgid "Preparing the installation medium."
  2703. msgstr ""
  2704. #. type: section
  2705. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2706. #: guix-git/doc/guix.texi:2212 guix-git/doc/guix.texi:2213
  2707. #, no-wrap
  2708. msgid "Preparing for Installation"
  2709. msgstr ""
  2710. #. type: menuentry
  2711. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2712. msgid "Networking, partitioning, etc."
  2713. msgstr ""
  2714. #. type: section
  2715. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2716. #: guix-git/doc/guix.texi:2235 guix-git/doc/guix.texi:2236
  2717. #, no-wrap
  2718. msgid "Guided Graphical Installation"
  2719. msgstr ""
  2720. #. type: menuentry
  2721. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2722. msgid "Easy graphical installation."
  2723. msgstr ""
  2724. #. type: section
  2725. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:222
  2726. #: guix-git/doc/guix.texi:2068 guix-git/doc/guix.texi:2266
  2727. #: guix-git/doc/guix.texi:2267
  2728. #, no-wrap
  2729. msgid "Manual Installation"
  2730. msgstr ""
  2731. #. type: menuentry
  2732. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2733. msgid "Manual installation for wizards."
  2734. msgstr ""
  2735. #. type: section
  2736. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2737. #: guix-git/doc/guix.texi:2635 guix-git/doc/guix.texi:2636
  2738. #, no-wrap
  2739. msgid "After System Installation"
  2740. msgstr ""
  2741. #. type: menuentry
  2742. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2743. msgid "When installation succeeded."
  2744. msgstr ""
  2745. #. type: node
  2746. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2747. #: guix-git/doc/guix.texi:2669
  2748. #, no-wrap
  2749. msgid "Installing Guix in a VM"
  2750. msgstr ""
  2751. #. type: menuentry
  2752. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2753. msgid "Guix System playground."
  2754. msgstr ""
  2755. #. type: section
  2756. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2757. #: guix-git/doc/guix.texi:2720 guix-git/doc/guix.texi:2721
  2758. #, no-wrap
  2759. msgid "Building the Installation Image"
  2760. msgstr ""
  2761. #. type: menuentry
  2762. #: guix-git/doc/guix.texi:220 guix-git/doc/guix.texi:2068
  2763. msgid "How this comes to be."
  2764. msgstr ""
  2765. #. type: node
  2766. #: guix-git/doc/guix.texi:225 guix-git/doc/guix.texi:2284
  2767. #: guix-git/doc/guix.texi:2286
  2768. #, no-wrap
  2769. msgid "Keyboard Layout and Networking and Partitioning"
  2770. msgstr ""
  2771. #. type: menuentry
  2772. #: guix-git/doc/guix.texi:225 guix-git/doc/guix.texi:2284
  2773. msgid "Initial setup."
  2774. msgstr ""
  2775. #. type: subsection
  2776. #: guix-git/doc/guix.texi:225 guix-git/doc/guix.texi:2284
  2777. #: guix-git/doc/guix.texi:2546 guix-git/doc/guix.texi:2547
  2778. #, no-wrap
  2779. msgid "Proceeding with the Installation"
  2780. msgstr ""
  2781. #. type: menuentry
  2782. #: guix-git/doc/guix.texi:225 guix-git/doc/guix.texi:2284
  2783. msgid "Installing."
  2784. msgstr ""
  2785. #. type: section
  2786. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2787. #: guix-git/doc/guix.texi:2994 guix-git/doc/guix.texi:2995
  2788. #, no-wrap
  2789. msgid "Features"
  2790. msgstr "ویژگی‌ها"
  2791. #. type: menuentry
  2792. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2793. msgid "How Guix will make your life brighter."
  2794. msgstr ""
  2795. #. type: node
  2796. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2797. #: guix-git/doc/guix.texi:3084
  2798. #, no-wrap
  2799. msgid "Invoking guix package"
  2800. msgstr ""
  2801. #. type: menuentry
  2802. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2803. msgid "Package installation, removal, etc."
  2804. msgstr ""
  2805. #. type: section
  2806. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:240
  2807. #: guix-git/doc/guix.texi:2992 guix-git/doc/guix.texi:3700
  2808. #: guix-git/doc/guix.texi:3701
  2809. #, no-wrap
  2810. msgid "Substitutes"
  2811. msgstr ""
  2812. #. type: menuentry
  2813. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2814. msgid "Downloading pre-built binaries."
  2815. msgstr ""
  2816. #. type: section
  2817. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2818. #: guix-git/doc/guix.texi:4036 guix-git/doc/guix.texi:4037
  2819. #, no-wrap
  2820. msgid "Packages with Multiple Outputs"
  2821. msgstr ""
  2822. #. type: menuentry
  2823. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2824. msgid "Single source package, multiple outputs."
  2825. msgstr ""
  2826. #. type: node
  2827. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2828. #: guix-git/doc/guix.texi:4090
  2829. #, no-wrap
  2830. msgid "Invoking guix gc"
  2831. msgstr ""
  2832. #. type: menuentry
  2833. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2834. msgid "Running the garbage collector."
  2835. msgstr ""
  2836. #. type: node
  2837. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2838. #: guix-git/doc/guix.texi:4300
  2839. #, no-wrap
  2840. msgid "Invoking guix pull"
  2841. msgstr ""
  2842. #. type: menuentry
  2843. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2844. msgid "Fetching the latest Guix and distribution."
  2845. msgstr ""
  2846. #. type: node
  2847. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2848. #: guix-git/doc/guix.texi:4547
  2849. #, no-wrap
  2850. msgid "Invoking guix time-machine"
  2851. msgstr ""
  2852. #. type: menuentry
  2853. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2854. msgid "Running an older revision of Guix."
  2855. msgstr ""
  2856. #. type: section
  2857. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2858. #: guix-git/doc/guix.texi:4602 guix-git/doc/guix.texi:4603
  2859. #, no-wrap
  2860. msgid "Inferiors"
  2861. msgstr ""
  2862. #. type: menuentry
  2863. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2864. msgid "Interacting with another revision of Guix."
  2865. msgstr ""
  2866. #. type: node
  2867. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2868. #: guix-git/doc/guix.texi:4730
  2869. #, no-wrap
  2870. msgid "Invoking guix describe"
  2871. msgstr ""
  2872. #. type: menuentry
  2873. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2874. msgid "Display information about your Guix revision."
  2875. msgstr ""
  2876. #. type: node
  2877. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2878. #: guix-git/doc/guix.texi:4825
  2879. #, no-wrap
  2880. msgid "Invoking guix archive"
  2881. msgstr ""
  2882. #. type: menuentry
  2883. #: guix-git/doc/guix.texi:238 guix-git/doc/guix.texi:2992
  2884. msgid "Exporting and importing store files."
  2885. msgstr ""
  2886. #. type: subsection
  2887. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2888. #: guix-git/doc/guix.texi:3726 guix-git/doc/guix.texi:3727
  2889. #, no-wrap
  2890. msgid "Official Substitute Servers"
  2891. msgstr ""
  2892. #. type: menuentry
  2893. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2894. msgid "One particular source of substitutes."
  2895. msgstr ""
  2896. #. type: subsection
  2897. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2898. #: guix-git/doc/guix.texi:3756 guix-git/doc/guix.texi:3757
  2899. #, no-wrap
  2900. msgid "Substitute Server Authorization"
  2901. msgstr ""
  2902. #. type: menuentry
  2903. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2904. msgid "How to enable or disable 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:3826 guix-git/doc/guix.texi:3827
  2909. #, no-wrap
  2910. msgid "Getting Substitutes from Other Servers"
  2911. msgstr ""
  2912. #. type: menuentry
  2913. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2914. msgid "Substitute diversity."
  2915. msgstr ""
  2916. #. type: subsection
  2917. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2918. #: guix-git/doc/guix.texi:3931 guix-git/doc/guix.texi:3932
  2919. #, no-wrap
  2920. msgid "Substitute Authentication"
  2921. msgstr ""
  2922. #. type: menuentry
  2923. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2924. msgid "How Guix verifies substitutes."
  2925. msgstr ""
  2926. #. type: subsection
  2927. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2928. #: guix-git/doc/guix.texi:3966 guix-git/doc/guix.texi:3967
  2929. #, no-wrap
  2930. msgid "Proxy Settings"
  2931. msgstr ""
  2932. #. type: menuentry
  2933. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2934. msgid "How to get substitutes via proxy."
  2935. msgstr ""
  2936. #. type: subsection
  2937. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2938. #: guix-git/doc/guix.texi:3978 guix-git/doc/guix.texi:3979
  2939. #, no-wrap
  2940. msgid "Substitution Failure"
  2941. msgstr ""
  2942. #. type: menuentry
  2943. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2944. msgid "What happens when substitution fails."
  2945. msgstr ""
  2946. #. type: subsection
  2947. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2948. #: guix-git/doc/guix.texi:4006 guix-git/doc/guix.texi:4007
  2949. #, no-wrap
  2950. msgid "On Trusting Binaries"
  2951. msgstr ""
  2952. #. type: menuentry
  2953. #: guix-git/doc/guix.texi:248 guix-git/doc/guix.texi:3724
  2954. msgid "How can you trust that binary blob?"
  2955. msgstr ""
  2956. #. type: section
  2957. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2958. #: guix-git/doc/guix.texi:5048 guix-git/doc/guix.texi:5049
  2959. #, no-wrap
  2960. msgid "Specifying Additional Channels"
  2961. msgstr ""
  2962. #. type: menuentry
  2963. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2964. msgid "Extending the package collection."
  2965. msgstr ""
  2966. #. type: section
  2967. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2968. #: guix-git/doc/guix.texi:5098 guix-git/doc/guix.texi:5099
  2969. #, no-wrap
  2970. msgid "Using a Custom Guix Channel"
  2971. msgstr ""
  2972. #. type: menuentry
  2973. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2974. msgid "Using a customized Guix."
  2975. msgstr ""
  2976. #. type: section
  2977. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2978. #: guix-git/doc/guix.texi:5120 guix-git/doc/guix.texi:5121
  2979. #, no-wrap
  2980. msgid "Replicating Guix"
  2981. msgstr ""
  2982. #. type: menuentry
  2983. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2984. msgid "Running the @emph{exact same} 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:5161 guix-git/doc/guix.texi:5162
  2989. #, no-wrap
  2990. msgid "Channel Authentication"
  2991. msgstr ""
  2992. #. type: menuentry
  2993. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2994. msgid "How Guix verifies what it fetches."
  2995. msgstr ""
  2996. #. type: section
  2997. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  2998. #: guix-git/doc/guix.texi:5201 guix-git/doc/guix.texi:5202
  2999. #, no-wrap
  3000. msgid "Channels with Substitutes"
  3001. msgstr ""
  3002. #. type: menuentry
  3003. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3004. msgid "Using channels with available substitutes."
  3005. msgstr ""
  3006. #. type: section
  3007. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3008. #: guix-git/doc/guix.texi:5226 guix-git/doc/guix.texi:5227
  3009. #, no-wrap
  3010. msgid "Creating a Channel"
  3011. msgstr ""
  3012. #. type: menuentry
  3013. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3014. msgid "How to write your custom channel."
  3015. msgstr ""
  3016. #. type: section
  3017. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3018. #: guix-git/doc/guix.texi:5293 guix-git/doc/guix.texi:5294
  3019. #, no-wrap
  3020. msgid "Package Modules in a Sub-directory"
  3021. msgstr ""
  3022. #. type: menuentry
  3023. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3024. msgid "Specifying the channel's package modules location."
  3025. msgstr ""
  3026. #. type: section
  3027. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3028. #: guix-git/doc/guix.texi:5307 guix-git/doc/guix.texi:5308
  3029. #, no-wrap
  3030. msgid "Declaring Channel Dependencies"
  3031. msgstr ""
  3032. #. type: menuentry
  3033. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3034. msgid "How to depend on other channels."
  3035. msgstr ""
  3036. #. type: section
  3037. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3038. #: guix-git/doc/guix.texi:5349 guix-git/doc/guix.texi:5350
  3039. #, no-wrap
  3040. msgid "Specifying Channel Authorizations"
  3041. msgstr ""
  3042. #. type: menuentry
  3043. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3044. msgid "Defining channel authors authorizations."
  3045. msgstr ""
  3046. #. type: section
  3047. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3048. #: guix-git/doc/guix.texi:5450 guix-git/doc/guix.texi:5451
  3049. #, no-wrap
  3050. msgid "Primary URL"
  3051. msgstr ""
  3052. #. type: menuentry
  3053. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3054. msgid "Distinguishing mirror to original."
  3055. msgstr ""
  3056. #. type: section
  3057. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3058. #: guix-git/doc/guix.texi:5473 guix-git/doc/guix.texi:5474
  3059. #, no-wrap
  3060. msgid "Writing Channel News"
  3061. msgstr ""
  3062. #. type: menuentry
  3063. #: guix-git/doc/guix.texi:262 guix-git/doc/guix.texi:5046
  3064. msgid "Communicating information to channel's users."
  3065. msgstr ""
  3066. #. type: node
  3067. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3068. #: guix-git/doc/guix.texi:5564
  3069. #, no-wrap
  3070. msgid "Invoking guix environment"
  3071. msgstr ""
  3072. #. type: menuentry
  3073. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3074. msgid "Setting up development environments."
  3075. msgstr ""
  3076. #. type: node
  3077. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3078. #: guix-git/doc/guix.texi:5924
  3079. #, no-wrap
  3080. msgid "Invoking guix pack"
  3081. msgstr ""
  3082. #. type: menuentry
  3083. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3084. msgid "Creating software bundles."
  3085. msgstr ""
  3086. #. type: section
  3087. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3088. #: guix-git/doc/guix.texi:6310 guix-git/doc/guix.texi:6311
  3089. #, no-wrap
  3090. msgid "The GCC toolchain"
  3091. msgstr ""
  3092. #. type: menuentry
  3093. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3094. msgid "Working with languages supported by GCC."
  3095. msgstr ""
  3096. #. type: node
  3097. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3098. #: guix-git/doc/guix.texi:6336
  3099. #, no-wrap
  3100. msgid "Invoking guix git authenticate"
  3101. msgstr ""
  3102. #. type: menuentry
  3103. #: guix-git/doc/guix.texi:269 guix-git/doc/guix.texi:5562
  3104. msgid "Authenticating Git repositories."
  3105. msgstr ""
  3106. #. type: section
  3107. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3108. #: guix-git/doc/guix.texi:6440 guix-git/doc/guix.texi:6441
  3109. #, no-wrap
  3110. msgid "Package Modules"
  3111. msgstr ""
  3112. #. type: menuentry
  3113. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3114. msgid "Packages from the programmer's viewpoint."
  3115. msgstr ""
  3116. #. type: section
  3117. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:285
  3118. #: guix-git/doc/guix.texi:6438 guix-git/doc/guix.texi:6502
  3119. #: guix-git/doc/guix.texi:6503
  3120. #, no-wrap
  3121. msgid "Defining Packages"
  3122. msgstr ""
  3123. #. type: menuentry
  3124. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3125. msgid "Defining new packages."
  3126. msgstr ""
  3127. #. type: section
  3128. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3129. #: guix-git/doc/guix.texi:7072 guix-git/doc/guix.texi:7073
  3130. #, no-wrap
  3131. msgid "Defining Package Variants"
  3132. msgstr ""
  3133. #. type: menuentry
  3134. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3135. msgid "Customizing 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:7304 guix-git/doc/guix.texi:7305
  3140. #, no-wrap
  3141. msgid "Build Systems"
  3142. msgstr ""
  3143. #. type: menuentry
  3144. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3145. msgid "Specifying how packages are built."
  3146. msgstr ""
  3147. #. type: subsection
  3148. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3149. #: guix-git/doc/guix.texi:8336 guix-git/doc/guix.texi:8337
  3150. #: guix-git/doc/guix.texi:8740
  3151. #, no-wrap
  3152. msgid "Build Phases"
  3153. msgstr ""
  3154. #. type: menuentry
  3155. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3156. msgid "Phases of the build process of a package."
  3157. msgstr ""
  3158. #. type: section
  3159. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3160. #: guix-git/doc/guix.texi:8530 guix-git/doc/guix.texi:8531
  3161. #, no-wrap
  3162. msgid "Build Utilities"
  3163. msgstr ""
  3164. #. type: menuentry
  3165. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3166. msgid "Helpers for your package definitions and more."
  3167. msgstr ""
  3168. #. type: section
  3169. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3170. #: guix-git/doc/guix.texi:8817 guix-git/doc/guix.texi:8818
  3171. #, no-wrap
  3172. msgid "The Store"
  3173. msgstr ""
  3174. #. type: menuentry
  3175. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3176. msgid "Manipulating the package store."
  3177. msgstr ""
  3178. #. type: section
  3179. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3180. #: guix-git/doc/guix.texi:8970 guix-git/doc/guix.texi:8971
  3181. #, no-wrap
  3182. msgid "Derivations"
  3183. msgstr ""
  3184. #. type: menuentry
  3185. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3186. msgid "Low-level interface to package derivations."
  3187. msgstr ""
  3188. #. type: section
  3189. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3190. #: guix-git/doc/guix.texi:9164 guix-git/doc/guix.texi:9165
  3191. #, no-wrap
  3192. msgid "The Store Monad"
  3193. msgstr ""
  3194. #. type: menuentry
  3195. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3196. msgid "Purely functional interface to the store."
  3197. msgstr ""
  3198. #. type: section
  3199. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3200. #: guix-git/doc/guix.texi:9483 guix-git/doc/guix.texi:9484
  3201. #, no-wrap
  3202. msgid "G-Expressions"
  3203. msgstr ""
  3204. #. type: menuentry
  3205. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3206. msgid "Manipulating build expressions."
  3207. msgstr ""
  3208. #. type: node
  3209. #: guix-git/doc/guix.texi:283 guix-git/doc/guix.texi:6438
  3210. #: guix-git/doc/guix.texi:10122
  3211. #, no-wrap
  3212. msgid "Invoking guix repl"
  3213. msgstr ""
  3214. #. type: menuentry
  3215. #: guix-git/doc/guix.texi:283
  3216. msgid "Programming Guix in Guile."
  3217. msgstr ""
  3218. #. type: node
  3219. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6705
  3220. #: guix-git/doc/guix.texi:6708
  3221. #, no-wrap
  3222. msgid "package Reference"
  3223. msgstr ""
  3224. #. type: menuentry
  3225. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6705
  3226. msgid "The package data type."
  3227. msgstr ""
  3228. #. type: node
  3229. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6705
  3230. #: guix-git/doc/guix.texi:6880
  3231. #, no-wrap
  3232. msgid "origin Reference"
  3233. msgstr ""
  3234. #. type: menuentry
  3235. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6705
  3236. msgid "The origin data type."
  3237. msgstr ""
  3238. #. type: node
  3239. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3240. #: guix-git/doc/guix.texi:10248
  3241. #, no-wrap
  3242. msgid "Invoking guix build"
  3243. msgstr ""
  3244. #. type: menuentry
  3245. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3246. msgid "Building packages from the command line."
  3247. msgstr ""
  3248. #. type: node
  3249. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3250. #: guix-git/doc/guix.texi:11085
  3251. #, no-wrap
  3252. msgid "Invoking guix edit"
  3253. msgstr ""
  3254. #. type: menuentry
  3255. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3256. msgid "Editing package definitions."
  3257. msgstr ""
  3258. #. type: node
  3259. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3260. #: guix-git/doc/guix.texi:11115
  3261. #, no-wrap
  3262. msgid "Invoking guix download"
  3263. msgstr ""
  3264. #. type: menuentry
  3265. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3266. msgid "Downloading a file and printing its hash."
  3267. msgstr ""
  3268. #. type: node
  3269. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3270. #: guix-git/doc/guix.texi:11173
  3271. #, no-wrap
  3272. msgid "Invoking guix hash"
  3273. msgstr ""
  3274. #. type: menuentry
  3275. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3276. msgid "Computing the cryptographic hash of a file."
  3277. msgstr ""
  3278. #. type: node
  3279. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3280. #: guix-git/doc/guix.texi:11245
  3281. #, no-wrap
  3282. msgid "Invoking guix import"
  3283. msgstr ""
  3284. #. type: menuentry
  3285. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3286. msgid "Importing package definitions."
  3287. msgstr ""
  3288. #. type: node
  3289. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3290. #: guix-git/doc/guix.texi:11775
  3291. #, no-wrap
  3292. msgid "Invoking guix refresh"
  3293. msgstr ""
  3294. #. type: menuentry
  3295. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3296. msgid "Updating 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:12147
  3301. #, no-wrap
  3302. msgid "Invoking guix lint"
  3303. msgstr ""
  3304. #. type: menuentry
  3305. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3306. msgid "Finding errors in 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:12316
  3311. #, no-wrap
  3312. msgid "Invoking guix size"
  3313. msgstr ""
  3314. #. type: menuentry
  3315. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3316. msgid "Profiling disk usage."
  3317. msgstr ""
  3318. #. type: node
  3319. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3320. #: guix-git/doc/guix.texi:12460
  3321. #, no-wrap
  3322. msgid "Invoking guix graph"
  3323. msgstr ""
  3324. #. type: menuentry
  3325. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3326. msgid "Visualizing the graph of packages."
  3327. msgstr ""
  3328. #. type: node
  3329. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3330. #: guix-git/doc/guix.texi:12741
  3331. #, no-wrap
  3332. msgid "Invoking guix publish"
  3333. msgstr ""
  3334. #. type: menuentry
  3335. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3336. msgid "Sharing substitutes."
  3337. msgstr ""
  3338. #. type: node
  3339. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3340. #: guix-git/doc/guix.texi:13010
  3341. #, no-wrap
  3342. msgid "Invoking guix challenge"
  3343. msgstr ""
  3344. #. type: menuentry
  3345. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3346. msgid "Challenging substitute servers."
  3347. msgstr ""
  3348. #. type: node
  3349. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3350. #: guix-git/doc/guix.texi:13193
  3351. #, no-wrap
  3352. msgid "Invoking guix copy"
  3353. msgstr ""
  3354. #. type: menuentry
  3355. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3356. msgid "Copying to and from a remote store."
  3357. msgstr ""
  3358. #. type: node
  3359. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3360. #: guix-git/doc/guix.texi:13256
  3361. #, no-wrap
  3362. msgid "Invoking guix container"
  3363. msgstr ""
  3364. #. type: menuentry
  3365. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3366. msgid "Process isolation."
  3367. msgstr ""
  3368. #. type: node
  3369. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3370. #: guix-git/doc/guix.texi:13310
  3371. #, no-wrap
  3372. msgid "Invoking guix weather"
  3373. msgstr ""
  3374. #. type: menuentry
  3375. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3376. msgid "Assessing substitute availability."
  3377. msgstr ""
  3378. #. type: node
  3379. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3380. #: guix-git/doc/guix.texi:13440
  3381. #, no-wrap
  3382. msgid "Invoking guix processes"
  3383. msgstr ""
  3384. #. type: menuentry
  3385. #: guix-git/doc/guix.texi:306 guix-git/doc/guix.texi:10246
  3386. msgid "Listing client processes."
  3387. msgstr ""
  3388. #. type: section
  3389. #: guix-git/doc/guix.texi:308 guix-git/doc/guix.texi:10249
  3390. #, no-wrap
  3391. msgid "Invoking @command{guix build}"
  3392. msgstr ""
  3393. #. type: subsection
  3394. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3395. #: guix-git/doc/guix.texi:10302 guix-git/doc/guix.texi:10303
  3396. #, no-wrap
  3397. msgid "Common Build Options"
  3398. msgstr ""
  3399. #. type: menuentry
  3400. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3401. msgid "Build options for most commands."
  3402. msgstr ""
  3403. #. type: subsection
  3404. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3405. #: guix-git/doc/guix.texi:10457 guix-git/doc/guix.texi:10458
  3406. #, no-wrap
  3407. msgid "Package Transformation Options"
  3408. msgstr ""
  3409. #. type: menuentry
  3410. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3411. msgid "Creating variants of packages."
  3412. msgstr ""
  3413. #. type: subsection
  3414. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3415. #: guix-git/doc/guix.texi:10767 guix-git/doc/guix.texi:10768
  3416. #, no-wrap
  3417. msgid "Additional Build Options"
  3418. msgstr ""
  3419. #. type: menuentry
  3420. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3421. msgid "Options specific to 'guix build'."
  3422. msgstr ""
  3423. #. type: subsection
  3424. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3425. #: guix-git/doc/guix.texi:11005 guix-git/doc/guix.texi:11006
  3426. #, no-wrap
  3427. msgid "Debugging Build Failures"
  3428. msgstr ""
  3429. #. type: menuentry
  3430. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10300
  3431. msgid "Real life packaging experience."
  3432. msgstr ""
  3433. #. type: section
  3434. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3435. #: guix-git/doc/guix.texi:13583 guix-git/doc/guix.texi:13584
  3436. #, no-wrap
  3437. msgid "Using the Configuration System"
  3438. msgstr ""
  3439. #. type: menuentry
  3440. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3441. msgid "Customizing your GNU system."
  3442. msgstr ""
  3443. #. type: node
  3444. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3445. #: guix-git/doc/guix.texi:13834
  3446. #, no-wrap
  3447. msgid "operating-system Reference"
  3448. msgstr ""
  3449. #. type: menuentry
  3450. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3451. msgid "Detail of operating-system declarations."
  3452. msgstr ""
  3453. #. type: section
  3454. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3455. #: guix-git/doc/guix.texi:14086 guix-git/doc/guix.texi:14087
  3456. #, no-wrap
  3457. msgid "File Systems"
  3458. msgstr ""
  3459. #. type: menuentry
  3460. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3461. msgid "Configuring file system mounts."
  3462. msgstr ""
  3463. #. type: section
  3464. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3465. #: guix-git/doc/guix.texi:14439 guix-git/doc/guix.texi:14440
  3466. #, no-wrap
  3467. msgid "Mapped Devices"
  3468. msgstr ""
  3469. #. type: menuentry
  3470. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3471. msgid "Block device extra processing."
  3472. msgstr ""
  3473. #. type: section
  3474. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3475. #: guix-git/doc/guix.texi:14587 guix-git/doc/guix.texi:14588
  3476. #, no-wrap
  3477. msgid "User Accounts"
  3478. msgstr ""
  3479. #. type: menuentry
  3480. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3481. msgid "Specifying user accounts."
  3482. msgstr ""
  3483. #. type: section
  3484. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:2293
  3485. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:14763
  3486. #: guix-git/doc/guix.texi:14764
  3487. #, no-wrap
  3488. msgid "Keyboard Layout"
  3489. msgstr ""
  3490. #. type: menuentry
  3491. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3492. msgid "How the system interprets key strokes."
  3493. msgstr ""
  3494. #. type: section
  3495. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:1820
  3496. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:14909
  3497. #: guix-git/doc/guix.texi:14910
  3498. #, no-wrap
  3499. msgid "Locales"
  3500. msgstr ""
  3501. #. type: menuentry
  3502. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3503. msgid "Language and cultural convention settings."
  3504. msgstr ""
  3505. #. type: section
  3506. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:339
  3507. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:15049
  3508. #: guix-git/doc/guix.texi:15050
  3509. #, no-wrap
  3510. msgid "Services"
  3511. msgstr ""
  3512. #. type: menuentry
  3513. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3514. msgid "Specifying system services."
  3515. msgstr ""
  3516. #. type: section
  3517. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3518. #: guix-git/doc/guix.texi:32939 guix-git/doc/guix.texi:32940
  3519. #, no-wrap
  3520. msgid "Setuid Programs"
  3521. msgstr ""
  3522. #. type: menuentry
  3523. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3524. msgid "Programs running with root privileges."
  3525. msgstr ""
  3526. #. type: section
  3527. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:1969
  3528. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:33012
  3529. #: guix-git/doc/guix.texi:33013
  3530. #, no-wrap
  3531. msgid "X.509 Certificates"
  3532. msgstr ""
  3533. #. type: menuentry
  3534. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3535. msgid "Authenticating HTTPS servers."
  3536. msgstr ""
  3537. #. type: section
  3538. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:1863
  3539. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:33075
  3540. #: guix-git/doc/guix.texi:33076
  3541. #, no-wrap
  3542. msgid "Name Service Switch"
  3543. msgstr ""
  3544. #. type: menuentry
  3545. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3546. msgid "Configuring libc's name service switch."
  3547. msgstr ""
  3548. #. type: section
  3549. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3550. #: guix-git/doc/guix.texi:33213 guix-git/doc/guix.texi:33214
  3551. #, no-wrap
  3552. msgid "Initial RAM Disk"
  3553. msgstr ""
  3554. #. type: menuentry
  3555. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3556. msgid "Linux-Libre bootstrapping."
  3557. msgstr ""
  3558. #. type: section
  3559. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3560. #: guix-git/doc/guix.texi:33408 guix-git/doc/guix.texi:33409
  3561. #, no-wrap
  3562. msgid "Bootloader Configuration"
  3563. msgstr ""
  3564. #. type: menuentry
  3565. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3566. msgid "Configuring the boot loader."
  3567. msgstr ""
  3568. #. type: node
  3569. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3570. #: guix-git/doc/guix.texi:33706
  3571. #, no-wrap
  3572. msgid "Invoking guix system"
  3573. msgstr ""
  3574. #. type: menuentry
  3575. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3576. msgid "Instantiating a system configuration."
  3577. msgstr ""
  3578. #. type: node
  3579. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3580. #: guix-git/doc/guix.texi:34291
  3581. #, no-wrap
  3582. msgid "Invoking guix deploy"
  3583. msgstr ""
  3584. #. type: menuentry
  3585. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3586. msgid "Deploying a system configuration to a remote host."
  3587. msgstr ""
  3588. #. type: node
  3589. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3590. #: guix-git/doc/guix.texi:34497
  3591. #, no-wrap
  3592. msgid "Running Guix in a VM"
  3593. msgstr ""
  3594. #. type: menuentry
  3595. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3596. msgid "How to run Guix System in a virtual machine."
  3597. msgstr ""
  3598. #. type: section
  3599. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:374
  3600. #: guix-git/doc/guix.texi:13581 guix-git/doc/guix.texi:34631
  3601. #: guix-git/doc/guix.texi:34632
  3602. #, no-wrap
  3603. msgid "Defining Services"
  3604. msgstr ""
  3605. #. type: menuentry
  3606. #: guix-git/doc/guix.texi:333 guix-git/doc/guix.texi:13581
  3607. msgid "Adding new service definitions."
  3608. msgstr ""
  3609. #. type: menuentry
  3610. #: guix-git/doc/guix.texi:335
  3611. msgid "Home Environment Configuration"
  3612. msgstr ""
  3613. #. type: node
  3614. #: guix-git/doc/guix.texi:337 guix-git/doc/guix.texi:35430
  3615. #: guix-git/doc/guix.texi:35878
  3616. #, no-wrap
  3617. msgid "Invoking guix home"
  3618. msgstr ""
  3619. #. type: menuentry
  3620. #: guix-git/doc/guix.texi:337
  3621. msgid "Instantiating a home environment configuration."
  3622. msgstr ""
  3623. #. type: subsection
  3624. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3625. #: guix-git/doc/guix.texi:15134 guix-git/doc/guix.texi:15135
  3626. #, no-wrap
  3627. msgid "Base Services"
  3628. msgstr ""
  3629. #. type: menuentry
  3630. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3631. msgid "Essential system services."
  3632. msgstr ""
  3633. #. type: subsection
  3634. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3635. #: guix-git/doc/guix.texi:16061 guix-git/doc/guix.texi:16062
  3636. #, no-wrap
  3637. msgid "Scheduled Job Execution"
  3638. msgstr ""
  3639. #. type: menuentry
  3640. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3641. msgid "The mcron service."
  3642. msgstr ""
  3643. #. type: subsection
  3644. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3645. #: guix-git/doc/guix.texi:16211 guix-git/doc/guix.texi:16212
  3646. #, no-wrap
  3647. msgid "Log Rotation"
  3648. msgstr ""
  3649. #. type: menuentry
  3650. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3651. msgid "The rottlog service."
  3652. msgstr ""
  3653. #. type: subsection
  3654. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3655. #: guix-git/doc/guix.texi:16324 guix-git/doc/guix.texi:16325
  3656. #, no-wrap
  3657. msgid "Networking Services"
  3658. msgstr ""
  3659. #. type: menuentry
  3660. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3661. msgid "Network setup, SSH daemon, etc."
  3662. msgstr ""
  3663. #. type: subsection
  3664. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3665. #: guix-git/doc/guix.texi:17989 guix-git/doc/guix.texi:17990
  3666. #, no-wrap
  3667. msgid "Unattended Upgrades"
  3668. msgstr ""
  3669. #. type: menuentry
  3670. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3671. msgid "Automated system upgrades."
  3672. msgstr ""
  3673. #. type: subsection
  3674. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3675. #: guix-git/doc/guix.texi:18127 guix-git/doc/guix.texi:18128
  3676. #, no-wrap
  3677. msgid "X Window"
  3678. msgstr ""
  3679. #. type: menuentry
  3680. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3681. msgid "Graphical display."
  3682. msgstr ""
  3683. #. type: subsection
  3684. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3685. #: guix-git/doc/guix.texi:18512 guix-git/doc/guix.texi:18513
  3686. #, no-wrap
  3687. msgid "Printing Services"
  3688. msgstr ""
  3689. #. type: menuentry
  3690. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3691. msgid "Local and remote printer support."
  3692. msgstr ""
  3693. #. type: subsection
  3694. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3695. #: guix-git/doc/guix.texi:19359 guix-git/doc/guix.texi:19360
  3696. #, no-wrap
  3697. msgid "Desktop Services"
  3698. msgstr ""
  3699. #. type: menuentry
  3700. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3701. msgid "D-Bus and desktop services."
  3702. msgstr ""
  3703. #. type: subsection
  3704. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3705. #: guix-git/doc/guix.texi:19877 guix-git/doc/guix.texi:19878
  3706. #, no-wrap
  3707. msgid "Sound Services"
  3708. msgstr ""
  3709. #. type: menuentry
  3710. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3711. msgid "ALSA and Pulseaudio services."
  3712. msgstr ""
  3713. #. type: subsection
  3714. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3715. #: guix-git/doc/guix.texi:20017 guix-git/doc/guix.texi:20018
  3716. #, no-wrap
  3717. msgid "Database Services"
  3718. msgstr ""
  3719. #. type: menuentry
  3720. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3721. msgid "SQL databases, key-value stores, etc."
  3722. msgstr ""
  3723. #. type: subsection
  3724. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3725. #: guix-git/doc/guix.texi:20352 guix-git/doc/guix.texi:20353
  3726. #, no-wrap
  3727. msgid "Mail Services"
  3728. msgstr ""
  3729. #. type: menuentry
  3730. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3731. msgid "IMAP, POP3, SMTP, and all that."
  3732. msgstr ""
  3733. #. type: subsection
  3734. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3735. #: guix-git/doc/guix.texi:22211 guix-git/doc/guix.texi:22212
  3736. #, no-wrap
  3737. msgid "Messaging Services"
  3738. msgstr ""
  3739. #. type: menuentry
  3740. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3741. msgid "Messaging services."
  3742. msgstr ""
  3743. #. type: subsection
  3744. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3745. #: guix-git/doc/guix.texi:22714 guix-git/doc/guix.texi:22715
  3746. #, no-wrap
  3747. msgid "Telephony Services"
  3748. msgstr ""
  3749. #. type: menuentry
  3750. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3751. msgid "Telephony services."
  3752. msgstr ""
  3753. #. type: subsection
  3754. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3755. #: guix-git/doc/guix.texi:23945 guix-git/doc/guix.texi:23946
  3756. #, no-wrap
  3757. msgid "Monitoring Services"
  3758. msgstr ""
  3759. #. type: menuentry
  3760. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3761. msgid "Monitoring services."
  3762. msgstr ""
  3763. #. type: subsection
  3764. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3765. #: guix-git/doc/guix.texi:24456 guix-git/doc/guix.texi:24457
  3766. #, no-wrap
  3767. msgid "Kerberos Services"
  3768. msgstr ""
  3769. #. type: menuentry
  3770. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3771. msgid "Kerberos services."
  3772. msgstr ""
  3773. #. type: subsection
  3774. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3775. #: guix-git/doc/guix.texi:24582 guix-git/doc/guix.texi:24583
  3776. #, no-wrap
  3777. msgid "LDAP Services"
  3778. msgstr ""
  3779. #. type: menuentry
  3780. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3781. msgid "LDAP services."
  3782. msgstr ""
  3783. #. type: subsection
  3784. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3785. #: guix-git/doc/guix.texi:25061 guix-git/doc/guix.texi:25062
  3786. #, no-wrap
  3787. msgid "Web Services"
  3788. msgstr ""
  3789. #. type: menuentry
  3790. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3791. msgid "Web servers."
  3792. msgstr ""
  3793. #. type: subsection
  3794. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3795. #: guix-git/doc/guix.texi:26263 guix-git/doc/guix.texi:26264
  3796. #, no-wrap
  3797. msgid "Certificate Services"
  3798. msgstr ""
  3799. #. type: menuentry
  3800. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3801. msgid "TLS certificates via Let's Encrypt."
  3802. msgstr ""
  3803. #. type: subsection
  3804. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3805. #: guix-git/doc/guix.texi:26444 guix-git/doc/guix.texi:26445
  3806. #, no-wrap
  3807. msgid "DNS Services"
  3808. msgstr ""
  3809. #. type: menuentry
  3810. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3811. msgid "DNS daemons."
  3812. msgstr ""
  3813. #. type: subsection
  3814. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3815. #: guix-git/doc/guix.texi:27189 guix-git/doc/guix.texi:27190
  3816. #, no-wrap
  3817. msgid "VPN Services"
  3818. msgstr ""
  3819. #. type: menuentry
  3820. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3821. msgid "VPN daemons."
  3822. msgstr ""
  3823. #. type: subsection
  3824. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3825. #: guix-git/doc/guix.texi:27698 guix-git/doc/guix.texi:27699
  3826. #, no-wrap
  3827. msgid "Network File System"
  3828. msgstr ""
  3829. #. type: menuentry
  3830. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3831. msgid "NFS related services."
  3832. msgstr ""
  3833. #. type: subsection
  3834. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3835. #: guix-git/doc/guix.texi:27894 guix-git/doc/guix.texi:27895
  3836. #, no-wrap
  3837. msgid "Continuous Integration"
  3838. msgstr ""
  3839. #. type: menuentry
  3840. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3841. msgid "Cuirass and Laminar services."
  3842. msgstr ""
  3843. #. type: subsection
  3844. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3845. #: guix-git/doc/guix.texi:28180 guix-git/doc/guix.texi:28181
  3846. #, no-wrap
  3847. msgid "Power Management Services"
  3848. msgstr ""
  3849. #. type: menuentry
  3850. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3851. msgid "Extending battery life."
  3852. msgstr ""
  3853. #. type: subsection
  3854. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3855. #: guix-git/doc/guix.texi:28714 guix-git/doc/guix.texi:28715
  3856. #, no-wrap
  3857. msgid "Audio Services"
  3858. msgstr ""
  3859. #. type: menuentry
  3860. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3861. msgid "The MPD."
  3862. msgstr ""
  3863. #. type: subsection
  3864. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3865. #: guix-git/doc/guix.texi:28833 guix-git/doc/guix.texi:28834
  3866. #, no-wrap
  3867. msgid "Virtualization Services"
  3868. msgstr ""
  3869. #. type: menuentry
  3870. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3871. msgid "Virtualization services."
  3872. msgstr ""
  3873. #. type: subsection
  3874. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3875. #: guix-git/doc/guix.texi:30448 guix-git/doc/guix.texi:30449
  3876. #, no-wrap
  3877. msgid "Version Control Services"
  3878. msgstr ""
  3879. #. type: menuentry
  3880. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3881. msgid "Providing remote access to Git repositories."
  3882. msgstr ""
  3883. #. type: subsection
  3884. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3885. #: guix-git/doc/guix.texi:31784 guix-git/doc/guix.texi:31785
  3886. #, no-wrap
  3887. msgid "Game Services"
  3888. msgstr ""
  3889. #. type: menuentry
  3890. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3891. msgid "Game servers."
  3892. msgstr ""
  3893. #. type: subsection
  3894. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3895. #: guix-git/doc/guix.texi:31816 guix-git/doc/guix.texi:31817
  3896. #, no-wrap
  3897. msgid "PAM Mount Service"
  3898. msgstr ""
  3899. #. type: menuentry
  3900. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3901. msgid "Service to mount volumes when logging in."
  3902. msgstr ""
  3903. #. type: subsection
  3904. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3905. #: guix-git/doc/guix.texi:31899 guix-git/doc/guix.texi:31900
  3906. #, no-wrap
  3907. msgid "Guix Services"
  3908. msgstr ""
  3909. #. type: menuentry
  3910. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3911. msgid "Services relating specifically to Guix."
  3912. msgstr ""
  3913. #. type: subsection
  3914. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3915. #: guix-git/doc/guix.texi:32183 guix-git/doc/guix.texi:32184
  3916. #, no-wrap
  3917. msgid "Linux Services"
  3918. msgstr ""
  3919. #. type: menuentry
  3920. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3921. msgid "Services tied to the Linux kernel."
  3922. msgstr ""
  3923. #. type: subsection
  3924. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3925. #: guix-git/doc/guix.texi:32410 guix-git/doc/guix.texi:32411
  3926. #, no-wrap
  3927. msgid "Hurd Services"
  3928. msgstr ""
  3929. #. type: menuentry
  3930. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3931. msgid "Services specific for a Hurd System."
  3932. msgstr ""
  3933. #. type: subsection
  3934. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3935. #: guix-git/doc/guix.texi:32452 guix-git/doc/guix.texi:32453
  3936. #, no-wrap
  3937. msgid "Miscellaneous Services"
  3938. msgstr ""
  3939. #. type: menuentry
  3940. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:15132
  3941. msgid "Other services."
  3942. msgstr ""
  3943. #. type: subsection
  3944. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3945. #: guix-git/doc/guix.texi:34645 guix-git/doc/guix.texi:34646
  3946. #, no-wrap
  3947. msgid "Service Composition"
  3948. msgstr ""
  3949. #. type: menuentry
  3950. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3951. msgid "The model for composing services."
  3952. msgstr ""
  3953. #. type: subsection
  3954. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3955. #: guix-git/doc/guix.texi:34701 guix-git/doc/guix.texi:34702
  3956. #, no-wrap
  3957. msgid "Service Types and Services"
  3958. msgstr ""
  3959. #. type: menuentry
  3960. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3961. msgid "Types and services."
  3962. msgstr ""
  3963. #. type: subsection
  3964. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3965. #: guix-git/doc/guix.texi:34838 guix-git/doc/guix.texi:34839
  3966. #, no-wrap
  3967. msgid "Service Reference"
  3968. msgstr ""
  3969. #. type: menuentry
  3970. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3971. msgid "API reference."
  3972. msgstr ""
  3973. #. type: subsection
  3974. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3975. #: guix-git/doc/guix.texi:35148 guix-git/doc/guix.texi:35149
  3976. #, no-wrap
  3977. msgid "Shepherd Services"
  3978. msgstr ""
  3979. #. type: menuentry
  3980. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:34643
  3981. msgid "A particular type of service."
  3982. msgstr ""
  3983. #. type: section
  3984. #: guix-git/doc/guix.texi:384 guix-git/doc/guix.texi:36189
  3985. #: guix-git/doc/guix.texi:36191 guix-git/doc/guix.texi:36192
  3986. #, no-wrap
  3987. msgid "Separate Debug Info"
  3988. msgstr ""
  3989. #. type: menuentry
  3990. #: guix-git/doc/guix.texi:384 guix-git/doc/guix.texi:36189
  3991. msgid "Installing 'debug' outputs."
  3992. msgstr ""
  3993. #. type: section
  3994. #: guix-git/doc/guix.texi:384 guix-git/doc/guix.texi:36189
  3995. #: guix-git/doc/guix.texi:36250 guix-git/doc/guix.texi:36251
  3996. #, no-wrap
  3997. msgid "Rebuilding Debug Info"
  3998. msgstr ""
  3999. #. type: menuentry
  4000. #: guix-git/doc/guix.texi:384 guix-git/doc/guix.texi:36189
  4001. msgid "Building missing debug info."
  4002. msgstr ""
  4003. #. type: node
  4004. #: guix-git/doc/guix.texi:389 guix-git/doc/guix.texi:36467
  4005. #: guix-git/doc/guix.texi:36469
  4006. #, no-wrap
  4007. msgid "Reduced Binary Seed Bootstrap"
  4008. msgstr ""
  4009. #. type: menuentry
  4010. #: guix-git/doc/guix.texi:389 guix-git/doc/guix.texi:36467
  4011. msgid "A Bootstrap worthy of GNU."
  4012. msgstr ""
  4013. #. type: section
  4014. #: guix-git/doc/guix.texi:389 guix-git/doc/guix.texi:36467
  4015. #: guix-git/doc/guix.texi:36544 guix-git/doc/guix.texi:36545
  4016. #, no-wrap
  4017. msgid "Preparing to Use the Bootstrap Binaries"
  4018. msgstr ""
  4019. #. type: menuentry
  4020. #: guix-git/doc/guix.texi:389 guix-git/doc/guix.texi:36467
  4021. msgid "Building that what matters most."
  4022. msgstr ""
  4023. #. type: cindex
  4024. #: guix-git/doc/guix.texi:397
  4025. #, no-wrap
  4026. msgid "purpose"
  4027. msgstr ""
  4028. #. type: Plain text
  4029. #: guix-git/doc/guix.texi:405
  4030. 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."
  4031. msgstr ""
  4032. #. type: cindex
  4033. #: guix-git/doc/guix.texi:406 guix-git/doc/guix.texi:481
  4034. #, no-wrap
  4035. msgid "Guix System"
  4036. msgstr ""
  4037. #. type: cindex
  4038. #: guix-git/doc/guix.texi:407
  4039. #, no-wrap
  4040. msgid "GuixSD, now Guix System"
  4041. msgstr ""
  4042. #. type: cindex
  4043. #: guix-git/doc/guix.texi:408
  4044. #, no-wrap
  4045. msgid "Guix System Distribution, now Guix System"
  4046. msgstr ""
  4047. #. type: Plain text
  4048. #: guix-git/doc/guix.texi:417
  4049. 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}."
  4050. msgstr ""
  4051. #. type: cindex
  4052. #: guix-git/doc/guix.texi:426
  4053. #, no-wrap
  4054. msgid "user interfaces"
  4055. msgstr ""
  4056. #. type: Plain text
  4057. #: guix-git/doc/guix.texi:432
  4058. 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})."
  4059. msgstr ""
  4060. #. type: cindex
  4061. #: guix-git/doc/guix.texi:432
  4062. #, no-wrap
  4063. msgid "build daemon"
  4064. msgstr ""
  4065. #. type: Plain text
  4066. #: guix-git/doc/guix.texi:436
  4067. 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})."
  4068. msgstr ""
  4069. #. type: cindex
  4070. #: guix-git/doc/guix.texi:437
  4071. #, no-wrap
  4072. msgid "extensibility of the distribution"
  4073. msgstr ""
  4074. #. type: cindex
  4075. #: guix-git/doc/guix.texi:438 guix-git/doc/guix.texi:6462
  4076. #, no-wrap
  4077. msgid "customization, of packages"
  4078. msgstr ""
  4079. #. type: Plain text
  4080. #: guix-git/doc/guix.texi:447
  4081. 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})."
  4082. msgstr ""
  4083. #. type: cindex
  4084. #: guix-git/doc/guix.texi:448
  4085. #, no-wrap
  4086. msgid "functional package management"
  4087. msgstr ""
  4088. #. type: cindex
  4089. #: guix-git/doc/guix.texi:449
  4090. #, no-wrap
  4091. msgid "isolation"
  4092. msgstr ""
  4093. #. type: Plain text
  4094. #: guix-git/doc/guix.texi:464
  4095. 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."
  4096. msgstr ""
  4097. #. type: cindex
  4098. #: guix-git/doc/guix.texi:465 guix-git/doc/guix.texi:8820
  4099. #, no-wrap
  4100. msgid "store"
  4101. msgstr ""
  4102. #. type: Plain text
  4103. #: guix-git/doc/guix.texi:472
  4104. 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."
  4105. msgstr ""
  4106. #. type: Plain text
  4107. #: guix-git/doc/guix.texi:476
  4108. 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})."
  4109. msgstr ""
  4110. #. type: Plain text
  4111. #: guix-git/doc/guix.texi:491
  4112. 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."
  4113. msgstr ""
  4114. #. type: Plain text
  4115. #: guix-git/doc/guix.texi:497
  4116. 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}):"
  4117. msgstr ""
  4118. #. type: example
  4119. #: guix-git/doc/guix.texi:500
  4120. #, no-wrap
  4121. msgid "guix package --list-available\n"
  4122. msgstr ""
  4123. #. type: Plain text
  4124. #: guix-git/doc/guix.texi:506
  4125. 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."
  4126. msgstr ""
  4127. #. type: Plain text
  4128. #: guix-git/doc/guix.texi:508
  4129. msgid "Packages are currently available on the following platforms:"
  4130. msgstr ""
  4131. #. type: item
  4132. #: guix-git/doc/guix.texi:511 guix-git/doc/guix.texi:2140
  4133. #, no-wrap
  4134. msgid "x86_64-linux"
  4135. msgstr ""
  4136. #. type: table
  4137. #: guix-git/doc/guix.texi:513
  4138. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4139. msgstr ""
  4140. #. type: item
  4141. #: guix-git/doc/guix.texi:514 guix-git/doc/guix.texi:2143
  4142. #, no-wrap
  4143. msgid "i686-linux"
  4144. msgstr ""
  4145. #. type: table
  4146. #: guix-git/doc/guix.texi:516
  4147. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4148. msgstr ""
  4149. #. type: item
  4150. #: guix-git/doc/guix.texi:517
  4151. #, no-wrap
  4152. msgid "armhf-linux"
  4153. msgstr ""
  4154. #. type: table
  4155. #: guix-git/doc/guix.texi:521
  4156. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4157. msgstr ""
  4158. #. type: item
  4159. #: guix-git/doc/guix.texi:522
  4160. #, no-wrap
  4161. msgid "aarch64-linux"
  4162. msgstr ""
  4163. #. type: table
  4164. #: guix-git/doc/guix.texi:524
  4165. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4166. msgstr ""
  4167. #. type: item
  4168. #: guix-git/doc/guix.texi:525
  4169. #, no-wrap
  4170. msgid "i586-gnu"
  4171. msgstr ""
  4172. #. type: table
  4173. #: guix-git/doc/guix.texi:528
  4174. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4175. msgstr ""
  4176. #. type: table
  4177. #: guix-git/doc/guix.texi:534
  4178. 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!"
  4179. msgstr ""
  4180. #. type: item
  4181. #: guix-git/doc/guix.texi:535
  4182. #, no-wrap
  4183. msgid "mips64el-linux (deprecated)"
  4184. msgstr ""
  4185. #. type: table
  4186. #: guix-git/doc/guix.texi:541
  4187. 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."
  4188. msgstr ""
  4189. #. type: table
  4190. #: guix-git/doc/guix.texi:552
  4191. 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!"
  4192. msgstr ""
  4193. #. type: Plain text
  4194. #: guix-git/doc/guix.texi:562
  4195. 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."
  4196. msgstr ""
  4197. #. type: Plain text
  4198. #: guix-git/doc/guix.texi:565
  4199. msgid "Guix System is available on all the above platforms except @code{mips64el-linux} and @code{powerpc64le-linux}."
  4200. msgstr ""
  4201. #. type: Plain text
  4202. #: guix-git/doc/guix.texi:569
  4203. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4204. msgstr ""
  4205. #. type: Plain text
  4206. #: guix-git/doc/guix.texi:572
  4207. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4208. msgstr ""
  4209. #. type: cindex
  4210. #: guix-git/doc/guix.texi:578
  4211. #, no-wrap
  4212. msgid "installing Guix"
  4213. msgstr ""
  4214. #. type: quotation
  4215. #: guix-git/doc/guix.texi:590
  4216. 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."
  4217. msgstr ""
  4218. #. type: cindex
  4219. #: guix-git/doc/guix.texi:592 guix-git/doc/guix.texi:1815
  4220. #, no-wrap
  4221. msgid "foreign distro"
  4222. msgstr ""
  4223. #. type: cindex
  4224. #: guix-git/doc/guix.texi:593
  4225. #, no-wrap
  4226. msgid "directories related to foreign distro"
  4227. msgstr ""
  4228. #. type: Plain text
  4229. #: guix-git/doc/guix.texi:598
  4230. 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."
  4231. msgstr ""
  4232. #. type: Plain text
  4233. #: guix-git/doc/guix.texi:601
  4234. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4235. msgstr ""
  4236. #. type: Plain text
  4237. #: guix-git/doc/guix.texi:606
  4238. 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."
  4239. msgstr ""
  4240. #. type: cindex
  4241. #: guix-git/doc/guix.texi:620
  4242. #, no-wrap
  4243. msgid "installing Guix from binaries"
  4244. msgstr ""
  4245. #. type: cindex
  4246. #: guix-git/doc/guix.texi:621
  4247. #, no-wrap
  4248. msgid "installer script"
  4249. msgstr ""
  4250. #. type: Plain text
  4251. #: guix-git/doc/guix.texi:627
  4252. 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."
  4253. msgstr ""
  4254. #. type: quotation
  4255. #: guix-git/doc/guix.texi:635
  4256. 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:"
  4257. msgstr ""
  4258. #. type: example
  4259. #: guix-git/doc/guix.texi:641
  4260. #, no-wrap
  4261. msgid ""
  4262. "cd /tmp\n"
  4263. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4264. "chmod +x guix-install.sh\n"
  4265. "./guix-install.sh\n"
  4266. msgstr ""
  4267. #. type: quotation
  4268. #: guix-git/doc/guix.texi:645
  4269. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4270. msgstr ""
  4271. #. type: Plain text
  4272. #: guix-git/doc/guix.texi:648
  4273. msgid "Installing goes along these lines:"
  4274. msgstr ""
  4275. #. type: cindex
  4276. #: guix-git/doc/guix.texi:651
  4277. #, no-wrap
  4278. msgid "downloading Guix binary"
  4279. msgstr ""
  4280. #. type: enumerate
  4281. #: guix-git/doc/guix.texi:657
  4282. 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})."
  4283. msgstr ""
  4284. #. type: enumerate
  4285. #: guix-git/doc/guix.texi:661
  4286. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4287. msgstr ""
  4288. #. type: example
  4289. #: guix-git/doc/guix.texi:665
  4290. #, no-wrap
  4291. msgid ""
  4292. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4293. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4294. msgstr ""
  4295. #. type: Plain text
  4296. #: guix-git/doc/guix.texi:669 guix-git/doc/guix.texi:2158
  4297. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4298. msgstr ""
  4299. #. type: example
  4300. #: guix-git/doc/guix.texi:673
  4301. #, no-wrap
  4302. msgid ""
  4303. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4304. " -qO - | gpg --import -\n"
  4305. msgstr ""
  4306. #. type: Plain text
  4307. #: guix-git/doc/guix.texi:677 guix-git/doc/guix.texi:2166
  4308. msgid "and rerun the @code{gpg --verify} command."
  4309. msgstr ""
  4310. #. type: Plain text
  4311. #: guix-git/doc/guix.texi:680 guix-git/doc/guix.texi:2169
  4312. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4313. msgstr ""
  4314. #. type: enumerate
  4315. #: guix-git/doc/guix.texi:686
  4316. 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:"
  4317. msgstr ""
  4318. #. type: example
  4319. #: guix-git/doc/guix.texi:692
  4320. #, no-wrap
  4321. msgid ""
  4322. "# cd /tmp\n"
  4323. "# tar --warning=no-timestamp -xf \\\n"
  4324. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4325. "# mv var/guix /var/ && mv gnu /\n"
  4326. msgstr ""
  4327. #. type: enumerate
  4328. #: guix-git/doc/guix.texi:697
  4329. 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)."
  4330. msgstr ""
  4331. #. type: enumerate
  4332. #: guix-git/doc/guix.texi:700
  4333. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4334. msgstr ""
  4335. #. type: enumerate
  4336. #: guix-git/doc/guix.texi:710
  4337. 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."
  4338. msgstr ""
  4339. #. type: enumerate
  4340. #: guix-git/doc/guix.texi:714
  4341. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4342. msgstr ""
  4343. #. type: example
  4344. #: guix-git/doc/guix.texi:719
  4345. #, no-wrap
  4346. msgid ""
  4347. "# mkdir -p ~root/.config/guix\n"
  4348. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4349. " ~root/.config/guix/current\n"
  4350. msgstr ""
  4351. #. type: enumerate
  4352. #: guix-git/doc/guix.texi:723
  4353. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4354. msgstr ""
  4355. #. type: example
  4356. #: guix-git/doc/guix.texi:727
  4357. #, no-wrap
  4358. msgid ""
  4359. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4360. " source $GUIX_PROFILE/etc/profile\n"
  4361. msgstr ""
  4362. #. type: enumerate
  4363. #: guix-git/doc/guix.texi:732
  4364. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4365. msgstr ""
  4366. #. type: enumerate
  4367. #: guix-git/doc/guix.texi:735
  4368. msgid "Run the daemon, and set it to automatically start on boot."
  4369. msgstr ""
  4370. #. type: enumerate
  4371. #: guix-git/doc/guix.texi:738
  4372. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4373. msgstr ""
  4374. #. type: example
  4375. #: guix-git/doc/guix.texi:751
  4376. #, no-wrap
  4377. msgid ""
  4378. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4379. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4380. " /etc/systemd/system/\n"
  4381. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4382. msgstr ""
  4383. #. type: enumerate
  4384. #: guix-git/doc/guix.texi:754
  4385. msgid "You may also want to arrange for @command{guix gc} to run periodically:"
  4386. msgstr ""
  4387. #. type: example
  4388. #: guix-git/doc/guix.texi:760
  4389. #, no-wrap
  4390. msgid ""
  4391. "# cp ~root/.config/guix/current/lib/systemd/system/guix-gc.service \\\n"
  4392. " ~root/.config/guix/current/lib/systemd/system/guix-gc.timer \\\n"
  4393. " /etc/systemd/system/\n"
  4394. "# systemctl enable --now guix-gc.timer\n"
  4395. msgstr ""
  4396. #. type: enumerate
  4397. #: guix-git/doc/guix.texi:764
  4398. msgid "You may want to edit @file{guix-gc.service} to adjust the command line options to fit your needs (@pxref{Invoking guix gc})."
  4399. msgstr ""
  4400. #. type: itemize
  4401. #: guix-git/doc/guix.texi:766 guix-git/doc/guix.texi:13000
  4402. msgid "If your host distro uses the Upstart init system:"
  4403. msgstr ""
  4404. #. type: example
  4405. #: guix-git/doc/guix.texi:772
  4406. #, no-wrap
  4407. msgid ""
  4408. "# initctl reload-configuration\n"
  4409. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4410. " /etc/init/\n"
  4411. "# start guix-daemon\n"
  4412. msgstr ""
  4413. #. type: enumerate
  4414. #: guix-git/doc/guix.texi:775
  4415. msgid "Otherwise, you can still start the daemon manually with:"
  4416. msgstr ""
  4417. #. type: example
  4418. #: guix-git/doc/guix.texi:779
  4419. #, no-wrap
  4420. msgid ""
  4421. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4422. " --build-users-group=guixbuild\n"
  4423. msgstr ""
  4424. #. type: enumerate
  4425. #: guix-git/doc/guix.texi:784
  4426. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4427. msgstr ""
  4428. #. type: example
  4429. #: guix-git/doc/guix.texi:789
  4430. #, no-wrap
  4431. msgid ""
  4432. "# mkdir -p /usr/local/bin\n"
  4433. "# cd /usr/local/bin\n"
  4434. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4435. msgstr ""
  4436. #. type: enumerate
  4437. #: guix-git/doc/guix.texi:793
  4438. msgid "It is also a good idea to make the Info version of this manual available there:"
  4439. msgstr ""
  4440. #. type: example
  4441. #: guix-git/doc/guix.texi:799
  4442. #, no-wrap
  4443. msgid ""
  4444. "# mkdir -p /usr/local/share/info\n"
  4445. "# cd /usr/local/share/info\n"
  4446. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4447. " do ln -s $i ; done\n"
  4448. msgstr ""
  4449. #. type: enumerate
  4450. #: guix-git/doc/guix.texi:805
  4451. 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)."
  4452. msgstr ""
  4453. #. type: cindex
  4454. #: guix-git/doc/guix.texi:807 guix-git/doc/guix.texi:3760
  4455. #: guix-git/doc/guix.texi:15675
  4456. #, no-wrap
  4457. msgid "substitutes, authorization thereof"
  4458. msgstr ""
  4459. #. type: enumerate
  4460. #: guix-git/doc/guix.texi:811
  4461. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4462. msgstr ""
  4463. #. type: example
  4464. #: guix-git/doc/guix.texi:817
  4465. #, no-wrap
  4466. msgid ""
  4467. "# guix archive --authorize < \\\n"
  4468. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4469. "# guix archive --authorize < \\\n"
  4470. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4471. msgstr ""
  4472. #. type: quotation
  4473. #: guix-git/doc/guix.texi:824
  4474. 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."
  4475. msgstr ""
  4476. #. type: enumerate
  4477. #: guix-git/doc/guix.texi:829
  4478. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4479. msgstr ""
  4480. #. type: Plain text
  4481. #: guix-git/doc/guix.texi:832
  4482. msgid "Voilà, the installation is complete!"
  4483. msgstr ""
  4484. #. type: Plain text
  4485. #: guix-git/doc/guix.texi:835
  4486. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4487. msgstr ""
  4488. #. type: example
  4489. #: guix-git/doc/guix.texi:838
  4490. #, no-wrap
  4491. msgid "# guix install hello\n"
  4492. msgstr ""
  4493. #. type: Plain text
  4494. #: guix-git/doc/guix.texi:842
  4495. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4496. msgstr ""
  4497. #. type: example
  4498. #: guix-git/doc/guix.texi:845
  4499. #, no-wrap
  4500. msgid "make guix-binary.@var{system}.tar.xz\n"
  4501. msgstr ""
  4502. #. type: Plain text
  4503. #: guix-git/doc/guix.texi:849
  4504. msgid "...@: which, in turn, runs:"
  4505. msgstr ""
  4506. #. type: example
  4507. #: guix-git/doc/guix.texi:853
  4508. #, no-wrap
  4509. msgid ""
  4510. "guix pack -s @var{system} --localstatedir \\\n"
  4511. " --profile-name=current-guix guix\n"
  4512. msgstr ""
  4513. #. type: Plain text
  4514. #: guix-git/doc/guix.texi:856
  4515. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4516. msgstr ""
  4517. #. type: Plain text
  4518. #: guix-git/doc/guix.texi:864
  4519. 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."
  4520. msgstr ""
  4521. #. type: cindex
  4522. #: guix-git/doc/guix.texi:865
  4523. #, no-wrap
  4524. msgid "official website"
  4525. msgstr ""
  4526. #. type: Plain text
  4527. #: guix-git/doc/guix.texi:868
  4528. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4529. msgstr ""
  4530. #. type: Plain text
  4531. #: guix-git/doc/guix.texi:870
  4532. msgid "GNU Guix depends on the following packages:"
  4533. msgstr ""
  4534. #. type: item
  4535. #: guix-git/doc/guix.texi:872
  4536. #, no-wrap
  4537. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x;"
  4538. msgstr ""
  4539. #. type: item
  4540. #: guix-git/doc/guix.texi:873
  4541. #, no-wrap
  4542. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4543. msgstr ""
  4544. #. type: itemize
  4545. #: guix-git/doc/guix.texi:875
  4546. msgid "0.1.0 or later;"
  4547. msgstr ""
  4548. #. type: itemize
  4549. #: guix-git/doc/guix.texi:879
  4550. 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});"
  4551. msgstr ""
  4552. #. type: itemize
  4553. #: guix-git/doc/guix.texi:882
  4554. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4555. msgstr ""
  4556. #. type: item
  4557. #: guix-git/doc/guix.texi:882
  4558. #, no-wrap
  4559. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4560. msgstr ""
  4561. #. type: itemize
  4562. #: guix-git/doc/guix.texi:884
  4563. msgid "version 0.1.0 or later;"
  4564. msgstr ""
  4565. #. type: item
  4566. #: guix-git/doc/guix.texi:884
  4567. #, no-wrap
  4568. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4569. msgstr ""
  4570. #. type: item
  4571. #: guix-git/doc/guix.texi:885
  4572. #, no-wrap
  4573. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4574. msgstr ""
  4575. #. type: itemize
  4576. #: guix-git/doc/guix.texi:889
  4577. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4578. msgstr ""
  4579. #. type: item
  4580. #: guix-git/doc/guix.texi:889
  4581. #, no-wrap
  4582. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4583. msgstr ""
  4584. #. type: itemize
  4585. #: guix-git/doc/guix.texi:891
  4586. msgid "4.3.0 or later;"
  4587. msgstr ""
  4588. #. type: item
  4589. #: guix-git/doc/guix.texi:891
  4590. #, no-wrap
  4591. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4592. msgstr ""
  4593. #. type: Plain text
  4594. #: guix-git/doc/guix.texi:895
  4595. msgid "The following dependencies are optional:"
  4596. msgstr ""
  4597. #. type: itemize
  4598. #: guix-git/doc/guix.texi:903
  4599. 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."
  4600. msgstr ""
  4601. #. type: itemize
  4602. #: guix-git/doc/guix.texi:908
  4603. 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})."
  4604. msgstr ""
  4605. #. type: itemize
  4606. #: guix-git/doc/guix.texi:912
  4607. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4608. msgstr ""
  4609. #. type: itemize
  4610. #: guix-git/doc/guix.texi:917
  4611. 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})."
  4612. msgstr ""
  4613. #. type: itemize
  4614. #: guix-git/doc/guix.texi:921
  4615. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4616. msgstr ""
  4617. #. type: Plain text
  4618. #: guix-git/doc/guix.texi:925
  4619. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4620. msgstr ""
  4621. #. type: item
  4622. #: guix-git/doc/guix.texi:927
  4623. #, no-wrap
  4624. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4625. msgstr ""
  4626. #. type: item
  4627. #: guix-git/doc/guix.texi:928
  4628. #, no-wrap
  4629. msgid "@url{https://sqlite.org, SQLite 3};"
  4630. msgstr ""
  4631. #. type: item
  4632. #: guix-git/doc/guix.texi:929
  4633. #, no-wrap
  4634. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4635. msgstr ""
  4636. #. type: itemize
  4637. #: guix-git/doc/guix.texi:931
  4638. msgid "C++11 standard."
  4639. msgstr ""
  4640. #. type: cindex
  4641. #: guix-git/doc/guix.texi:933
  4642. #, no-wrap
  4643. msgid "state directory"
  4644. msgstr ""
  4645. #. type: Plain text
  4646. #: guix-git/doc/guix.texi:942
  4647. 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})."
  4648. msgstr ""
  4649. #. type: cindex
  4650. #: guix-git/doc/guix.texi:946
  4651. #, no-wrap
  4652. msgid "test suite"
  4653. msgstr ""
  4654. #. type: Plain text
  4655. #: guix-git/doc/guix.texi:952
  4656. 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:"
  4657. msgstr ""
  4658. #. type: example
  4659. #: guix-git/doc/guix.texi:955
  4660. #, no-wrap
  4661. msgid "make check\n"
  4662. msgstr ""
  4663. #. type: Plain text
  4664. #: guix-git/doc/guix.texi:962
  4665. 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."
  4666. msgstr ""
  4667. #. type: Plain text
  4668. #: guix-git/doc/guix.texi:965
  4669. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4670. msgstr ""
  4671. #. type: example
  4672. #: guix-git/doc/guix.texi:968
  4673. #, no-wrap
  4674. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4675. msgstr ""
  4676. #. type: Plain text
  4677. #: guix-git/doc/guix.texi:973
  4678. 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:"
  4679. msgstr ""
  4680. #. type: example
  4681. #: guix-git/doc/guix.texi:976
  4682. #, no-wrap
  4683. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4684. msgstr ""
  4685. #. type: Plain text
  4686. #: guix-git/doc/guix.texi:984
  4687. 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'':"
  4688. msgstr ""
  4689. #. type: example
  4690. #: guix-git/doc/guix.texi:988
  4691. #, no-wrap
  4692. msgid ""
  4693. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4694. "make check TESTS=\"tests/packages.scm\"\n"
  4695. msgstr ""
  4696. #. type: Plain text
  4697. #: guix-git/doc/guix.texi:994
  4698. 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:"
  4699. msgstr ""
  4700. #. type: example
  4701. #: guix-git/doc/guix.texi:997
  4702. #, no-wrap
  4703. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4704. msgstr ""
  4705. #. type: Plain text
  4706. #: guix-git/doc/guix.texi:1002
  4707. 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}:"
  4708. msgstr ""
  4709. #. type: example
  4710. #: guix-git/doc/guix.texi:1005
  4711. #, no-wrap
  4712. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4713. msgstr ""
  4714. #. type: Plain text
  4715. #: guix-git/doc/guix.texi:1009
  4716. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4717. msgstr ""
  4718. #. type: Plain text
  4719. #: guix-git/doc/guix.texi:1014
  4720. 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."
  4721. msgstr ""
  4722. #. type: Plain text
  4723. #: guix-git/doc/guix.texi:1018
  4724. 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:"
  4725. msgstr ""
  4726. #. type: example
  4727. #: guix-git/doc/guix.texi:1021
  4728. #, no-wrap
  4729. msgid "make check-system\n"
  4730. msgstr ""
  4731. #. type: Plain text
  4732. #: guix-git/doc/guix.texi:1025
  4733. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4734. msgstr ""
  4735. #. type: example
  4736. #: guix-git/doc/guix.texi:1028
  4737. #, no-wrap
  4738. msgid "make check-system TESTS=\"basic mcron\"\n"
  4739. msgstr ""
  4740. #. type: Plain text
  4741. #: guix-git/doc/guix.texi:1036
  4742. 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."
  4743. msgstr ""
  4744. #. type: Plain text
  4745. #: guix-git/doc/guix.texi:1039
  4746. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4747. msgstr ""
  4748. #. type: cindex
  4749. #: guix-git/doc/guix.texi:1043
  4750. #, no-wrap
  4751. msgid "daemon"
  4752. msgstr ""
  4753. #. type: Plain text
  4754. #: guix-git/doc/guix.texi:1051
  4755. 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."
  4756. msgstr ""
  4757. #. type: Plain text
  4758. #: guix-git/doc/guix.texi:1055
  4759. 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."
  4760. msgstr ""
  4761. #. type: cindex
  4762. #: guix-git/doc/guix.texi:1065 guix-git/doc/guix.texi:1527
  4763. #, no-wrap
  4764. msgid "build environment"
  4765. msgstr ""
  4766. #. type: Plain text
  4767. #: guix-git/doc/guix.texi:1073
  4768. 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."
  4769. msgstr ""
  4770. #. type: cindex
  4771. #: guix-git/doc/guix.texi:1074
  4772. #, no-wrap
  4773. msgid "build users"
  4774. msgstr ""
  4775. #. type: Plain text
  4776. #: guix-git/doc/guix.texi:1085
  4777. 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})."
  4778. msgstr ""
  4779. #. type: Plain text
  4780. #: guix-git/doc/guix.texi:1088
  4781. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4782. msgstr ""
  4783. #. type: example
  4784. #: guix-git/doc/guix.texi:1100
  4785. #, no-wrap
  4786. msgid ""
  4787. "# groupadd --system guixbuild\n"
  4788. "# for i in $(seq -w 1 10);\n"
  4789. " do\n"
  4790. " useradd -g guixbuild -G guixbuild \\\n"
  4791. " -d /var/empty -s $(which nologin) \\\n"
  4792. " -c \"Guix build user $i\" --system \\\n"
  4793. " guixbuilder$i;\n"
  4794. " done\n"
  4795. msgstr ""
  4796. #. type: Plain text
  4797. #: guix-git/doc/guix.texi:1110
  4798. 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})."
  4799. msgstr ""
  4800. #. type: Plain text
  4801. #: guix-git/doc/guix.texi:1119
  4802. 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}.}:"
  4803. msgstr ""
  4804. #. type: example
  4805. #: guix-git/doc/guix.texi:1122 guix-git/doc/guix.texi:1520
  4806. #, no-wrap
  4807. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4808. msgstr ""
  4809. #. type: cindex
  4810. #: guix-git/doc/guix.texi:1124 guix-git/doc/guix.texi:1525
  4811. #, no-wrap
  4812. msgid "chroot"
  4813. msgstr ""
  4814. #. type: Plain text
  4815. #: guix-git/doc/guix.texi:1129
  4816. 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:"
  4817. msgstr ""
  4818. #. type: itemize
  4819. #: guix-git/doc/guix.texi:1137
  4820. 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.};"
  4821. msgstr ""
  4822. #. type: itemize
  4823. #: guix-git/doc/guix.texi:1141
  4824. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4825. msgstr ""
  4826. #. type: itemize
  4827. #: guix-git/doc/guix.texi:1145
  4828. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4829. msgstr ""
  4830. #. type: itemize
  4831. #: guix-git/doc/guix.texi:1148
  4832. msgid "@file{/etc/group} with an entry for the user's group;"
  4833. msgstr ""
  4834. #. type: itemize
  4835. #: guix-git/doc/guix.texi:1152
  4836. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4837. msgstr ""
  4838. #. type: itemize
  4839. #: guix-git/doc/guix.texi:1155
  4840. msgid "a writable @file{/tmp} directory."
  4841. msgstr ""
  4842. #. type: Plain text
  4843. #: guix-git/doc/guix.texi:1164
  4844. 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."
  4845. msgstr ""
  4846. #. type: vindex
  4847. #: guix-git/doc/guix.texi:1165 guix-git/doc/guix.texi:3969
  4848. #, no-wrap
  4849. msgid "http_proxy"
  4850. msgstr ""
  4851. #. type: vindex
  4852. #: guix-git/doc/guix.texi:1166 guix-git/doc/guix.texi:3970
  4853. #, no-wrap
  4854. msgid "https_proxy"
  4855. msgstr ""
  4856. #. type: Plain text
  4857. #: guix-git/doc/guix.texi:1171
  4858. 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})."
  4859. msgstr ""
  4860. #. type: Plain text
  4861. #: guix-git/doc/guix.texi:1179
  4862. 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."
  4863. msgstr ""
  4864. #. type: subsection
  4865. #: guix-git/doc/guix.texi:1182
  4866. #, no-wrap
  4867. msgid "Using the Offload Facility"
  4868. msgstr ""
  4869. #. type: cindex
  4870. #: guix-git/doc/guix.texi:1184 guix-git/doc/guix.texi:1586
  4871. #, no-wrap
  4872. msgid "offloading"
  4873. msgstr ""
  4874. #. type: cindex
  4875. #: guix-git/doc/guix.texi:1185
  4876. #, no-wrap
  4877. msgid "build hook"
  4878. msgstr ""
  4879. #. type: Plain text
  4880. #: guix-git/doc/guix.texi:1204
  4881. 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:"
  4882. msgstr ""
  4883. #. type: enumerate
  4884. #: guix-git/doc/guix.texi:1210
  4885. 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."
  4886. msgstr ""
  4887. #. type: enumerate
  4888. #: guix-git/doc/guix.texi:1214
  4889. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  4890. msgstr ""
  4891. #. type: enumerate
  4892. #: guix-git/doc/guix.texi:1219
  4893. 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."
  4894. msgstr ""
  4895. #. type: enumerate
  4896. #: guix-git/doc/guix.texi:1222
  4897. msgid "Disk space availability. More than a 100 MiB must be available."
  4898. msgstr ""
  4899. #. type: Plain text
  4900. #: guix-git/doc/guix.texi:1225
  4901. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  4902. msgstr ""
  4903. #. type: lisp
  4904. #: guix-git/doc/guix.texi:1233
  4905. #, no-wrap
  4906. msgid ""
  4907. "(list (build-machine\n"
  4908. " (name \"eightysix.example.org\")\n"
  4909. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  4910. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  4911. " (user \"bob\")\n"
  4912. " (speed 2.)) ;incredibly fast!\n"
  4913. "\n"
  4914. msgstr ""
  4915. #. type: lisp
  4916. #: guix-git/doc/guix.texi:1242
  4917. #, no-wrap
  4918. msgid ""
  4919. " (build-machine\n"
  4920. " (name \"armeight.example.org\")\n"
  4921. " (systems (list \"aarch64-linux\"))\n"
  4922. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  4923. " (user \"alice\")\n"
  4924. " (private-key\n"
  4925. " (string-append (getenv \"HOME\")\n"
  4926. " \"/.ssh/identity-for-guix\"))))\n"
  4927. msgstr ""
  4928. #. type: Plain text
  4929. #: guix-git/doc/guix.texi:1248
  4930. 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."
  4931. msgstr ""
  4932. #. type: Plain text
  4933. #: guix-git/doc/guix.texi:1257
  4934. 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."
  4935. msgstr ""
  4936. #. type: deftp
  4937. #: guix-git/doc/guix.texi:1258
  4938. #, no-wrap
  4939. msgid "{Data Type} build-machine"
  4940. msgstr ""
  4941. #. type: deftp
  4942. #: guix-git/doc/guix.texi:1261
  4943. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  4944. msgstr ""
  4945. #. type: item
  4946. #: guix-git/doc/guix.texi:1264 guix-git/doc/guix.texi:6718
  4947. #: guix-git/doc/guix.texi:14633 guix-git/doc/guix.texi:14727
  4948. #: guix-git/doc/guix.texi:14968 guix-git/doc/guix.texi:16939
  4949. #: guix-git/doc/guix.texi:20218 guix-git/doc/guix.texi:23128
  4950. #: guix-git/doc/guix.texi:24517 guix-git/doc/guix.texi:25129
  4951. #: guix-git/doc/guix.texi:25482 guix-git/doc/guix.texi:25523
  4952. #: guix-git/doc/guix.texi:27675 guix-git/doc/guix.texi:29959
  4953. #: guix-git/doc/guix.texi:29979 guix-git/doc/guix.texi:32659
  4954. #: guix-git/doc/guix.texi:32676 guix-git/doc/guix.texi:33192
  4955. #: guix-git/doc/guix.texi:34951 guix-git/doc/guix.texi:35278
  4956. #, no-wrap
  4957. msgid "name"
  4958. msgstr "نام"
  4959. #. type: table
  4960. #: guix-git/doc/guix.texi:1266
  4961. msgid "The host name of the remote machine."
  4962. msgstr ""
  4963. #. type: item
  4964. #: guix-git/doc/guix.texi:1267
  4965. #, no-wrap
  4966. msgid "systems"
  4967. msgstr ""
  4968. #. type: table
  4969. #: guix-git/doc/guix.texi:1270
  4970. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  4971. msgstr ""
  4972. #. type: code{#1}
  4973. #: guix-git/doc/guix.texi:1271 guix-git/doc/guix.texi:16949
  4974. #, no-wrap
  4975. msgid "user"
  4976. msgstr ""
  4977. #. type: table
  4978. #: guix-git/doc/guix.texi:1275
  4979. 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."
  4980. msgstr ""
  4981. #. type: item
  4982. #: guix-git/doc/guix.texi:1276
  4983. #, no-wrap
  4984. msgid "host-key"
  4985. msgstr ""
  4986. #. type: table
  4987. #: guix-git/doc/guix.texi:1280
  4988. 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:"
  4989. msgstr ""
  4990. #. type: example
  4991. #: guix-git/doc/guix.texi:1283
  4992. #, no-wrap
  4993. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  4994. msgstr ""
  4995. #. type: table
  4996. #: guix-git/doc/guix.texi:1288
  4997. 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}."
  4998. msgstr ""
  4999. #. type: table
  5000. #: guix-git/doc/guix.texi:1293
  5001. 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}):"
  5002. msgstr ""
  5003. #. type: example
  5004. #: guix-git/doc/guix.texi:1297
  5005. #, no-wrap
  5006. msgid ""
  5007. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  5008. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  5009. msgstr ""
  5010. #. type: deftp
  5011. #: guix-git/doc/guix.texi:1302
  5012. msgid "A number of optional fields may be specified:"
  5013. msgstr ""
  5014. #. type: item
  5015. #: guix-git/doc/guix.texi:1305 guix-git/doc/guix.texi:34447
  5016. #, no-wrap
  5017. msgid "@code{port} (default: @code{22})"
  5018. msgstr ""
  5019. #. type: table
  5020. #: guix-git/doc/guix.texi:1307
  5021. msgid "Port number of SSH server on the machine."
  5022. msgstr ""
  5023. #. type: item
  5024. #: guix-git/doc/guix.texi:1308
  5025. #, no-wrap
  5026. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  5027. msgstr ""
  5028. #. type: table
  5029. #: guix-git/doc/guix.texi:1311
  5030. 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."
  5031. msgstr ""
  5032. #. type: table
  5033. #: guix-git/doc/guix.texi:1314
  5034. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  5035. msgstr ""
  5036. #. type: item
  5037. #: guix-git/doc/guix.texi:1315
  5038. #, no-wrap
  5039. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  5040. msgstr ""
  5041. #. type: itemx
  5042. #: guix-git/doc/guix.texi:1316
  5043. #, no-wrap
  5044. msgid "@code{compression-level} (default: @code{3})"
  5045. msgstr ""
  5046. #. type: table
  5047. #: guix-git/doc/guix.texi:1318
  5048. msgid "The SSH-level compression methods and compression level requested."
  5049. msgstr ""
  5050. #. type: table
  5051. #: guix-git/doc/guix.texi:1321
  5052. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  5053. msgstr ""
  5054. #. type: item
  5055. #: guix-git/doc/guix.texi:1322
  5056. #, no-wrap
  5057. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  5058. msgstr ""
  5059. #. type: table
  5060. #: guix-git/doc/guix.texi:1325
  5061. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  5062. msgstr ""
  5063. #. type: item
  5064. #: guix-git/doc/guix.texi:1326
  5065. #, no-wrap
  5066. msgid "@code{overload-threshold} (default: @code{0.6})"
  5067. msgstr ""
  5068. #. type: table
  5069. #: guix-git/doc/guix.texi:1332
  5070. 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}."
  5071. msgstr ""
  5072. #. type: item
  5073. #: guix-git/doc/guix.texi:1333
  5074. #, no-wrap
  5075. msgid "@code{parallel-builds} (default: @code{1})"
  5076. msgstr ""
  5077. #. type: table
  5078. #: guix-git/doc/guix.texi:1335
  5079. msgid "The number of builds that may run in parallel on the machine."
  5080. msgstr ""
  5081. #. type: item
  5082. #: guix-git/doc/guix.texi:1336
  5083. #, no-wrap
  5084. msgid "@code{speed} (default: @code{1.0})"
  5085. msgstr ""
  5086. #. type: table
  5087. #: guix-git/doc/guix.texi:1339
  5088. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  5089. msgstr ""
  5090. #. type: item
  5091. #: guix-git/doc/guix.texi:1340
  5092. #, no-wrap
  5093. msgid "@code{features} (default: @code{'()})"
  5094. msgstr ""
  5095. #. type: table
  5096. #: guix-git/doc/guix.texi:1345
  5097. 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."
  5098. msgstr ""
  5099. #. type: Plain text
  5100. #: guix-git/doc/guix.texi:1351
  5101. 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:"
  5102. msgstr ""
  5103. #. type: example
  5104. #: guix-git/doc/guix.texi:1354
  5105. #, no-wrap
  5106. msgid "ssh build-machine guix repl --version\n"
  5107. msgstr ""
  5108. #. type: Plain text
  5109. #: guix-git/doc/guix.texi:1361
  5110. 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}):"
  5111. msgstr ""
  5112. #. type: example
  5113. #: guix-git/doc/guix.texi:1364 guix-git/doc/guix.texi:34375
  5114. #, no-wrap
  5115. msgid "# guix archive --generate-key\n"
  5116. msgstr ""
  5117. #. type: Plain text
  5118. #: guix-git/doc/guix.texi:1369
  5119. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5120. msgstr ""
  5121. #. type: example
  5122. #: guix-git/doc/guix.texi:1372
  5123. #, no-wrap
  5124. msgid "# guix archive --authorize < master-public-key.txt\n"
  5125. msgstr ""
  5126. #. type: Plain text
  5127. #: guix-git/doc/guix.texi:1376
  5128. msgid "Likewise, the master machine must authorize the key of each build machine."
  5129. msgstr ""
  5130. #. type: Plain text
  5131. #: guix-git/doc/guix.texi:1382
  5132. 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."
  5133. msgstr ""
  5134. #. type: cindex
  5135. #: guix-git/doc/guix.texi:1383
  5136. #, no-wrap
  5137. msgid "offload test"
  5138. msgstr ""
  5139. #. type: Plain text
  5140. #: guix-git/doc/guix.texi:1386
  5141. msgid "To test whether your setup is operational, run this command on the master node:"
  5142. msgstr ""
  5143. #. type: example
  5144. #: guix-git/doc/guix.texi:1389
  5145. #, no-wrap
  5146. msgid "# guix offload test\n"
  5147. msgstr ""
  5148. #. type: Plain text
  5149. #: guix-git/doc/guix.texi:1395
  5150. 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."
  5151. msgstr ""
  5152. #. type: Plain text
  5153. #: guix-git/doc/guix.texi:1398
  5154. msgid "If you want to test a different machine file, just specify it on the command line:"
  5155. msgstr ""
  5156. #. type: example
  5157. #: guix-git/doc/guix.texi:1401
  5158. #, no-wrap
  5159. msgid "# guix offload test machines-qualif.scm\n"
  5160. msgstr ""
  5161. #. type: Plain text
  5162. #: guix-git/doc/guix.texi:1405
  5163. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5164. msgstr ""
  5165. #. type: example
  5166. #: guix-git/doc/guix.texi:1408
  5167. #, no-wrap
  5168. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5169. msgstr ""
  5170. #. type: cindex
  5171. #: guix-git/doc/guix.texi:1410
  5172. #, no-wrap
  5173. msgid "offload status"
  5174. msgstr ""
  5175. #. type: Plain text
  5176. #: guix-git/doc/guix.texi:1413
  5177. msgid "To display the current load of all build hosts, run this command on the main node:"
  5178. msgstr ""
  5179. #. type: example
  5180. #: guix-git/doc/guix.texi:1416
  5181. #, no-wrap
  5182. msgid "# guix offload status\n"
  5183. msgstr ""
  5184. #. type: cindex
  5185. #: guix-git/doc/guix.texi:1422
  5186. #, no-wrap
  5187. msgid "SELinux, daemon policy"
  5188. msgstr ""
  5189. #. type: cindex
  5190. #: guix-git/doc/guix.texi:1423
  5191. #, no-wrap
  5192. msgid "mandatory access control, SELinux"
  5193. msgstr ""
  5194. #. type: cindex
  5195. #: guix-git/doc/guix.texi:1424
  5196. #, no-wrap
  5197. msgid "security, guix-daemon"
  5198. msgstr ""
  5199. #. type: Plain text
  5200. #: guix-git/doc/guix.texi:1430
  5201. 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."
  5202. msgstr ""
  5203. #. type: subsubsection
  5204. #: guix-git/doc/guix.texi:1431
  5205. #, no-wrap
  5206. msgid "Installing the SELinux policy"
  5207. msgstr ""
  5208. #. type: cindex
  5209. #: guix-git/doc/guix.texi:1432
  5210. #, no-wrap
  5211. msgid "SELinux, policy installation"
  5212. msgstr ""
  5213. #. type: Plain text
  5214. #: guix-git/doc/guix.texi:1434
  5215. msgid "To install the policy run this command as root:"
  5216. msgstr ""
  5217. #. type: example
  5218. #: guix-git/doc/guix.texi:1437
  5219. #, no-wrap
  5220. msgid "semodule -i etc/guix-daemon.cil\n"
  5221. msgstr ""
  5222. #. type: Plain text
  5223. #: guix-git/doc/guix.texi:1441
  5224. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5225. msgstr ""
  5226. #. type: Plain text
  5227. #: guix-git/doc/guix.texi:1446
  5228. 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:"
  5229. msgstr ""
  5230. #. type: example
  5231. #: guix-git/doc/guix.texi:1449
  5232. #, no-wrap
  5233. msgid "ps -Zax | grep guix-daemon\n"
  5234. msgstr ""
  5235. #. type: Plain text
  5236. #: guix-git/doc/guix.texi:1454
  5237. 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."
  5238. msgstr ""
  5239. #. type: cindex
  5240. #: guix-git/doc/guix.texi:1456
  5241. #, no-wrap
  5242. msgid "SELinux, limitations"
  5243. msgstr ""
  5244. #. type: Plain text
  5245. #: guix-git/doc/guix.texi:1461
  5246. 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."
  5247. msgstr ""
  5248. #. type: enumerate
  5249. #: guix-git/doc/guix.texi:1468
  5250. 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."
  5251. msgstr ""
  5252. #. type: enumerate
  5253. #: guix-git/doc/guix.texi:1479
  5254. 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."
  5255. msgstr ""
  5256. #. type: enumerate
  5257. #: guix-git/doc/guix.texi:1484
  5258. 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."
  5259. msgstr ""
  5260. #. type: enumerate
  5261. #: guix-git/doc/guix.texi:1495
  5262. 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."
  5263. msgstr ""
  5264. #. type: enumerate
  5265. #: guix-git/doc/guix.texi:1500
  5266. 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."
  5267. msgstr ""
  5268. #. type: enumerate
  5269. #: guix-git/doc/guix.texi:1508
  5270. 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."
  5271. msgstr ""
  5272. #. type: section
  5273. #: guix-git/doc/guix.texi:1511
  5274. #, no-wrap
  5275. msgid "Invoking @command{guix-daemon}"
  5276. msgstr ""
  5277. #. type: Plain text
  5278. #: guix-git/doc/guix.texi:1517
  5279. 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:"
  5280. msgstr ""
  5281. #. type: Plain text
  5282. #: guix-git/doc/guix.texi:1524
  5283. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5284. msgstr ""
  5285. #. type: cindex
  5286. #: guix-git/doc/guix.texi:1526
  5287. #, no-wrap
  5288. msgid "container, build environment"
  5289. msgstr ""
  5290. #. type: cindex
  5291. #: guix-git/doc/guix.texi:1528 guix-git/doc/guix.texi:3046
  5292. #: guix-git/doc/guix.texi:3950 guix-git/doc/guix.texi:13013
  5293. #, no-wrap
  5294. msgid "reproducible builds"
  5295. msgstr ""
  5296. #. type: Plain text
  5297. #: guix-git/doc/guix.texi:1540
  5298. 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})."
  5299. msgstr ""
  5300. #. type: Plain text
  5301. #: guix-git/doc/guix.texi:1546
  5302. 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}."
  5303. msgstr ""
  5304. #. type: Plain text
  5305. #: guix-git/doc/guix.texi:1550
  5306. 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}})."
  5307. msgstr ""
  5308. #. type: Plain text
  5309. #: guix-git/doc/guix.texi:1556
  5310. 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."
  5311. msgstr ""
  5312. #. type: Plain text
  5313. #: guix-git/doc/guix.texi:1558
  5314. msgid "The following command-line options are supported:"
  5315. msgstr ""
  5316. #. type: item
  5317. #: guix-git/doc/guix.texi:1560
  5318. #, no-wrap
  5319. msgid "--build-users-group=@var{group}"
  5320. msgstr ""
  5321. #. type: table
  5322. #: guix-git/doc/guix.texi:1563
  5323. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5324. msgstr ""
  5325. #. type: item
  5326. #: guix-git/doc/guix.texi:1564 guix-git/doc/guix.texi:10362
  5327. #, no-wrap
  5328. msgid "--no-substitutes"
  5329. msgstr ""
  5330. #. type: cindex
  5331. #: guix-git/doc/guix.texi:1565 guix-git/doc/guix.texi:3058
  5332. #: guix-git/doc/guix.texi:3703
  5333. #, no-wrap
  5334. msgid "substitutes"
  5335. msgstr ""
  5336. #. type: table
  5337. #: guix-git/doc/guix.texi:1569 guix-git/doc/guix.texi:10366
  5338. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5339. msgstr ""
  5340. #. type: table
  5341. #: guix-git/doc/guix.texi:1573
  5342. 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})."
  5343. msgstr ""
  5344. #. type: anchor{#1}
  5345. #: guix-git/doc/guix.texi:1575
  5346. msgid "daemon-substitute-urls"
  5347. msgstr ""
  5348. #. type: item
  5349. #: guix-git/doc/guix.texi:1575 guix-git/doc/guix.texi:10349
  5350. #: guix-git/doc/guix.texi:12420 guix-git/doc/guix.texi:13159
  5351. #: guix-git/doc/guix.texi:13384
  5352. #, no-wrap
  5353. msgid "--substitute-urls=@var{urls}"
  5354. msgstr ""
  5355. #. type: table
  5356. #: guix-git/doc/guix.texi:1579
  5357. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5358. msgstr ""
  5359. #. type: table
  5360. #: guix-git/doc/guix.texi:1582
  5361. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5362. msgstr ""
  5363. #. type: table
  5364. #: guix-git/doc/guix.texi:1585
  5365. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5366. msgstr ""
  5367. #. type: item
  5368. #: guix-git/doc/guix.texi:1587 guix-git/doc/guix.texi:10385
  5369. #, no-wrap
  5370. msgid "--no-offload"
  5371. msgstr ""
  5372. #. type: table
  5373. #: guix-git/doc/guix.texi:1591 guix-git/doc/guix.texi:10389
  5374. 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."
  5375. msgstr ""
  5376. #. type: item
  5377. #: guix-git/doc/guix.texi:1592
  5378. #, no-wrap
  5379. msgid "--cache-failures"
  5380. msgstr ""
  5381. #. type: table
  5382. #: guix-git/doc/guix.texi:1594
  5383. msgid "Cache build failures. By default, only successful builds are cached."
  5384. msgstr ""
  5385. #. type: table
  5386. #: guix-git/doc/guix.texi:1599
  5387. 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}."
  5388. msgstr ""
  5389. #. type: item
  5390. #: guix-git/doc/guix.texi:1600 guix-git/doc/guix.texi:10415
  5391. #, no-wrap
  5392. msgid "--cores=@var{n}"
  5393. msgstr ""
  5394. #. type: itemx
  5395. #: guix-git/doc/guix.texi:1601 guix-git/doc/guix.texi:10416
  5396. #, no-wrap
  5397. msgid "-c @var{n}"
  5398. msgstr ""
  5399. #. type: table
  5400. #: guix-git/doc/guix.texi:1604
  5401. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5402. msgstr ""
  5403. #. type: table
  5404. #: guix-git/doc/guix.texi:1608
  5405. 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})."
  5406. msgstr ""
  5407. #. type: table
  5408. #: guix-git/doc/guix.texi:1612
  5409. 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}."
  5410. msgstr ""
  5411. #. type: item
  5412. #: guix-git/doc/guix.texi:1613 guix-git/doc/guix.texi:10420
  5413. #, no-wrap
  5414. msgid "--max-jobs=@var{n}"
  5415. msgstr ""
  5416. #. type: itemx
  5417. #: guix-git/doc/guix.texi:1614 guix-git/doc/guix.texi:10421
  5418. #, no-wrap
  5419. msgid "-M @var{n}"
  5420. msgstr ""
  5421. #. type: table
  5422. #: guix-git/doc/guix.texi:1619
  5423. 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."
  5424. msgstr ""
  5425. #. type: item
  5426. #: guix-git/doc/guix.texi:1620 guix-git/doc/guix.texi:10390
  5427. #, no-wrap
  5428. msgid "--max-silent-time=@var{seconds}"
  5429. msgstr ""
  5430. #. type: table
  5431. #: guix-git/doc/guix.texi:1623 guix-git/doc/guix.texi:10393
  5432. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5433. msgstr ""
  5434. #. type: table
  5435. #: guix-git/doc/guix.texi:1625 guix-git/doc/guix.texi:1634
  5436. msgid "The default value is @code{0}, which disables the timeout."
  5437. msgstr ""
  5438. #. type: table
  5439. #: guix-git/doc/guix.texi:1628
  5440. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5441. msgstr ""
  5442. #. type: item
  5443. #: guix-git/doc/guix.texi:1629 guix-git/doc/guix.texi:10397
  5444. #, no-wrap
  5445. msgid "--timeout=@var{seconds}"
  5446. msgstr ""
  5447. #. type: table
  5448. #: guix-git/doc/guix.texi:1632 guix-git/doc/guix.texi:10400
  5449. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5450. msgstr ""
  5451. #. type: table
  5452. #: guix-git/doc/guix.texi:1637
  5453. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5454. msgstr ""
  5455. #. type: item
  5456. #: guix-git/doc/guix.texi:1638
  5457. #, no-wrap
  5458. msgid "--rounds=@var{N}"
  5459. msgstr ""
  5460. #. type: table
  5461. #: guix-git/doc/guix.texi:1643
  5462. 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})."
  5463. msgstr ""
  5464. #. type: table
  5465. #: guix-git/doc/guix.texi:1647 guix-git/doc/guix.texi:10384
  5466. #: guix-git/doc/guix.texi:10947
  5467. 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."
  5468. msgstr ""
  5469. #. type: item
  5470. #: guix-git/doc/guix.texi:1648
  5471. #, no-wrap
  5472. msgid "--debug"
  5473. msgstr ""
  5474. #. type: table
  5475. #: guix-git/doc/guix.texi:1650
  5476. msgid "Produce debugging output."
  5477. msgstr ""
  5478. #. type: table
  5479. #: guix-git/doc/guix.texi:1654
  5480. 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})."
  5481. msgstr ""
  5482. #. type: item
  5483. #: guix-git/doc/guix.texi:1655
  5484. #, no-wrap
  5485. msgid "--chroot-directory=@var{dir}"
  5486. msgstr ""
  5487. #. type: table
  5488. #: guix-git/doc/guix.texi:1657
  5489. msgid "Add @var{dir} to the build chroot."
  5490. msgstr ""
  5491. #. type: table
  5492. #: guix-git/doc/guix.texi:1663
  5493. 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."
  5494. msgstr ""
  5495. #. type: item
  5496. #: guix-git/doc/guix.texi:1664
  5497. #, no-wrap
  5498. msgid "--disable-chroot"
  5499. msgstr ""
  5500. #. type: table
  5501. #: guix-git/doc/guix.texi:1666
  5502. msgid "Disable chroot builds."
  5503. msgstr ""
  5504. #. type: table
  5505. #: guix-git/doc/guix.texi:1671
  5506. 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."
  5507. msgstr ""
  5508. #. type: item
  5509. #: guix-git/doc/guix.texi:1672
  5510. #, no-wrap
  5511. msgid "--log-compression=@var{type}"
  5512. msgstr ""
  5513. #. type: table
  5514. #: guix-git/doc/guix.texi:1675
  5515. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5516. msgstr ""
  5517. #. type: table
  5518. #: guix-git/doc/guix.texi:1679
  5519. 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."
  5520. msgstr ""
  5521. #. type: item
  5522. #: guix-git/doc/guix.texi:1680
  5523. #, no-wrap
  5524. msgid "--discover[=yes|no]"
  5525. msgstr ""
  5526. #. type: table
  5527. #: guix-git/doc/guix.texi:1683 guix-git/doc/guix.texi:15744
  5528. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5529. msgstr ""
  5530. #. type: table
  5531. #: guix-git/doc/guix.texi:1686
  5532. msgid "This feature is still experimental. However, here are a few considerations."
  5533. msgstr ""
  5534. #. type: enumerate
  5535. #: guix-git/doc/guix.texi:1690
  5536. msgid "It might be faster/less expensive than fetching from remote servers;"
  5537. msgstr ""
  5538. #. type: enumerate
  5539. #: guix-git/doc/guix.texi:1693
  5540. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5541. msgstr ""
  5542. #. type: enumerate
  5543. #: guix-git/doc/guix.texi:1697
  5544. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5545. msgstr ""
  5546. #. type: enumerate
  5547. #: guix-git/doc/guix.texi:1700
  5548. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5549. msgstr ""
  5550. #. type: table
  5551. #: guix-git/doc/guix.texi:1704
  5552. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5553. msgstr ""
  5554. #. type: example
  5555. #: guix-git/doc/guix.texi:1708
  5556. #, no-wrap
  5557. msgid ""
  5558. "herd discover guix-daemon on\n"
  5559. "herd discover guix-daemon off\n"
  5560. msgstr ""
  5561. #. type: item
  5562. #: guix-git/doc/guix.texi:1710
  5563. #, no-wrap
  5564. msgid "--disable-deduplication"
  5565. msgstr ""
  5566. #. type: cindex
  5567. #: guix-git/doc/guix.texi:1711 guix-git/doc/guix.texi:4288
  5568. #, no-wrap
  5569. msgid "deduplication"
  5570. msgstr ""
  5571. #. type: table
  5572. #: guix-git/doc/guix.texi:1713
  5573. msgid "Disable automatic file ``deduplication'' in the store."
  5574. msgstr ""
  5575. #. type: table
  5576. #: guix-git/doc/guix.texi:1720
  5577. 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."
  5578. msgstr ""
  5579. #. type: item
  5580. #: guix-git/doc/guix.texi:1721
  5581. #, no-wrap
  5582. msgid "--gc-keep-outputs[=yes|no]"
  5583. msgstr ""
  5584. #. type: table
  5585. #: guix-git/doc/guix.texi:1724
  5586. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5587. msgstr ""
  5588. #. type: cindex
  5589. #: guix-git/doc/guix.texi:1725 guix-git/doc/guix.texi:4101
  5590. #, no-wrap
  5591. msgid "GC roots"
  5592. msgstr ""
  5593. #. type: cindex
  5594. #: guix-git/doc/guix.texi:1726 guix-git/doc/guix.texi:4102
  5595. #, no-wrap
  5596. msgid "garbage collector roots"
  5597. msgstr ""
  5598. #. type: table
  5599. #: guix-git/doc/guix.texi:1732
  5600. 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."
  5601. msgstr ""
  5602. #. type: item
  5603. #: guix-git/doc/guix.texi:1733
  5604. #, no-wrap
  5605. msgid "--gc-keep-derivations[=yes|no]"
  5606. msgstr ""
  5607. #. type: table
  5608. #: guix-git/doc/guix.texi:1736
  5609. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5610. msgstr ""
  5611. #. type: table
  5612. #: guix-git/doc/guix.texi:1742
  5613. 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."
  5614. msgstr ""
  5615. #. type: table
  5616. #: guix-git/doc/guix.texi:1751
  5617. 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."
  5618. msgstr ""
  5619. #. type: item
  5620. #: guix-git/doc/guix.texi:1752
  5621. #, no-wrap
  5622. msgid "--impersonate-linux-2.6"
  5623. msgstr ""
  5624. #. type: table
  5625. #: guix-git/doc/guix.texi:1755
  5626. 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."
  5627. msgstr ""
  5628. #. type: table
  5629. #: guix-git/doc/guix.texi:1758
  5630. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5631. msgstr ""
  5632. #. type: item
  5633. #: guix-git/doc/guix.texi:1759
  5634. #, no-wrap
  5635. msgid "--lose-logs"
  5636. msgstr ""
  5637. #. type: table
  5638. #: guix-git/doc/guix.texi:1762
  5639. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5640. msgstr ""
  5641. #. type: item
  5642. #: guix-git/doc/guix.texi:1763 guix-git/doc/guix.texi:4529
  5643. #: guix-git/doc/guix.texi:5828 guix-git/doc/guix.texi:6228
  5644. #: guix-git/doc/guix.texi:10891 guix-git/doc/guix.texi:12447
  5645. #: guix-git/doc/guix.texi:12712 guix-git/doc/guix.texi:13389
  5646. #: guix-git/doc/guix.texi:33314 guix-git/doc/guix.texi:34117
  5647. #, no-wrap
  5648. msgid "--system=@var{system}"
  5649. msgstr ""
  5650. #. type: table
  5651. #: guix-git/doc/guix.texi:1767
  5652. 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}."
  5653. msgstr ""
  5654. #. type: item
  5655. #: guix-git/doc/guix.texi:1768 guix-git/doc/guix.texi:10195
  5656. #, no-wrap
  5657. msgid "--listen=@var{endpoint}"
  5658. msgstr ""
  5659. #. type: table
  5660. #: guix-git/doc/guix.texi:1773
  5661. 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:"
  5662. msgstr ""
  5663. #. type: item
  5664. #: guix-git/doc/guix.texi:1775
  5665. #, no-wrap
  5666. msgid "--listen=/gnu/var/daemon"
  5667. msgstr ""
  5668. #. type: table
  5669. #: guix-git/doc/guix.texi:1778
  5670. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5671. msgstr ""
  5672. #. type: item
  5673. #: guix-git/doc/guix.texi:1779
  5674. #, no-wrap
  5675. msgid "--listen=localhost"
  5676. msgstr ""
  5677. #. type: cindex
  5678. #: guix-git/doc/guix.texi:1780 guix-git/doc/guix.texi:8869
  5679. #, no-wrap
  5680. msgid "daemon, remote access"
  5681. msgstr ""
  5682. #. type: cindex
  5683. #: guix-git/doc/guix.texi:1781 guix-git/doc/guix.texi:8870
  5684. #, no-wrap
  5685. msgid "remote access to the daemon"
  5686. msgstr ""
  5687. #. type: cindex
  5688. #: guix-git/doc/guix.texi:1782 guix-git/doc/guix.texi:8871
  5689. #, no-wrap
  5690. msgid "daemon, cluster setup"
  5691. msgstr ""
  5692. #. type: cindex
  5693. #: guix-git/doc/guix.texi:1783 guix-git/doc/guix.texi:8872
  5694. #, no-wrap
  5695. msgid "clusters, daemon setup"
  5696. msgstr ""
  5697. #. type: table
  5698. #: guix-git/doc/guix.texi:1786
  5699. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5700. msgstr ""
  5701. #. type: item
  5702. #: guix-git/doc/guix.texi:1787
  5703. #, no-wrap
  5704. msgid "--listen=128.0.0.42:1234"
  5705. msgstr ""
  5706. #. type: table
  5707. #: guix-git/doc/guix.texi:1790
  5708. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5709. msgstr ""
  5710. #. type: table
  5711. #: guix-git/doc/guix.texi:1797
  5712. 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}})."
  5713. msgstr ""
  5714. #. type: quotation
  5715. #: guix-git/doc/guix.texi:1804
  5716. 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."
  5717. msgstr ""
  5718. #. type: table
  5719. #: guix-git/doc/guix.texi:1809
  5720. 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}."
  5721. msgstr ""
  5722. #. type: Plain text
  5723. #: guix-git/doc/guix.texi:1819
  5724. 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."
  5725. msgstr ""
  5726. #. type: anchor{#1}
  5727. #: guix-git/doc/guix.texi:1823
  5728. msgid "locales-and-locpath"
  5729. msgstr ""
  5730. #. type: cindex
  5731. #: guix-git/doc/guix.texi:1823
  5732. #, no-wrap
  5733. msgid "locales, when not on Guix System"
  5734. msgstr ""
  5735. #. type: vindex
  5736. #: guix-git/doc/guix.texi:1824 guix-git/doc/guix.texi:14952
  5737. #, no-wrap
  5738. msgid "LOCPATH"
  5739. msgstr ""
  5740. #. type: vindex
  5741. #: guix-git/doc/guix.texi:1825
  5742. #, no-wrap
  5743. msgid "GUIX_LOCPATH"
  5744. msgstr ""
  5745. #. type: Plain text
  5746. #: guix-git/doc/guix.texi:1830
  5747. 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:"
  5748. msgstr ""
  5749. #. type: example
  5750. #: guix-git/doc/guix.texi:1834
  5751. #, no-wrap
  5752. msgid ""
  5753. "$ guix install glibc-locales\n"
  5754. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5755. msgstr ""
  5756. #. type: Plain text
  5757. #: guix-git/doc/guix.texi:1840
  5758. 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."
  5759. msgstr ""
  5760. #. type: Plain text
  5761. #: guix-git/doc/guix.texi:1844
  5762. 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:"
  5763. msgstr ""
  5764. #. type: enumerate
  5765. #: guix-git/doc/guix.texi:1851
  5766. 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."
  5767. msgstr ""
  5768. #. type: enumerate
  5769. #: guix-git/doc/guix.texi:1858
  5770. 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."
  5771. msgstr ""
  5772. #. type: Plain text
  5773. #: guix-git/doc/guix.texi:1862
  5774. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5775. msgstr ""
  5776. #. type: cindex
  5777. #: guix-git/doc/guix.texi:1865
  5778. #, no-wrap
  5779. msgid "name service switch, glibc"
  5780. msgstr ""
  5781. #. type: cindex
  5782. #: guix-git/doc/guix.texi:1866
  5783. #, no-wrap
  5784. msgid "NSS (name service switch), glibc"
  5785. msgstr ""
  5786. #. type: cindex
  5787. #: guix-git/doc/guix.texi:1867
  5788. #, no-wrap
  5789. msgid "nscd (name service caching daemon)"
  5790. msgstr ""
  5791. #. type: cindex
  5792. #: guix-git/doc/guix.texi:1868
  5793. #, no-wrap
  5794. msgid "name service caching daemon (nscd)"
  5795. msgstr ""
  5796. #. type: Plain text
  5797. #: guix-git/doc/guix.texi:1875
  5798. 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."
  5799. msgstr ""
  5800. #. type: file{#1}
  5801. #: guix-git/doc/guix.texi:1876
  5802. #, no-wrap
  5803. msgid "nsswitch.conf"
  5804. msgstr ""
  5805. #. type: Plain text
  5806. #: guix-git/doc/guix.texi:1881
  5807. 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})."
  5808. msgstr ""
  5809. #. type: cindex
  5810. #: guix-git/doc/guix.texi:1882
  5811. #, no-wrap
  5812. msgid "Network information service (NIS)"
  5813. msgstr ""
  5814. #. type: cindex
  5815. #: guix-git/doc/guix.texi:1883
  5816. #, no-wrap
  5817. msgid "NIS (Network information service)"
  5818. msgstr ""
  5819. #. type: Plain text
  5820. #: guix-git/doc/guix.texi:1892
  5821. 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})."
  5822. msgstr ""
  5823. #. type: Plain text
  5824. #: guix-git/doc/guix.texi:1902
  5825. 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)."
  5826. msgstr ""
  5827. #. type: Plain text
  5828. #: guix-git/doc/guix.texi:1907
  5829. 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."
  5830. msgstr ""
  5831. #. type: Plain text
  5832. #: guix-git/doc/guix.texi:1912
  5833. 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."
  5834. msgstr ""
  5835. #. type: subsection
  5836. #: guix-git/doc/guix.texi:1913
  5837. #, no-wrap
  5838. msgid "X11 Fonts"
  5839. msgstr ""
  5840. #. type: Plain text
  5841. #: guix-git/doc/guix.texi:1923
  5842. 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}."
  5843. msgstr ""
  5844. #. type: code{#1}
  5845. #: guix-git/doc/guix.texi:1924
  5846. #, no-wrap
  5847. msgid "fc-cache"
  5848. msgstr ""
  5849. #. type: cindex
  5850. #: guix-git/doc/guix.texi:1925
  5851. #, no-wrap
  5852. msgid "font cache"
  5853. msgstr ""
  5854. #. type: Plain text
  5855. #: guix-git/doc/guix.texi:1929
  5856. 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:"
  5857. msgstr ""
  5858. #. type: example
  5859. #: guix-git/doc/guix.texi:1933
  5860. #, no-wrap
  5861. msgid ""
  5862. "guix install fontconfig\n"
  5863. "fc-cache -rv\n"
  5864. msgstr ""
  5865. #. type: Plain text
  5866. #: guix-git/doc/guix.texi:1941
  5867. 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:"
  5868. msgstr ""
  5869. #. type: example
  5870. #: guix-git/doc/guix.texi:1944
  5871. #, no-wrap
  5872. msgid "guix install font-adobe-source-han-sans:cn\n"
  5873. msgstr ""
  5874. #. type: code{#1}
  5875. #: guix-git/doc/guix.texi:1946
  5876. #, no-wrap
  5877. msgid "xterm"
  5878. msgstr ""
  5879. #. type: Plain text
  5880. #: guix-git/doc/guix.texi:1950
  5881. 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:"
  5882. msgstr ""
  5883. #. type: example
  5884. #: guix-git/doc/guix.texi:1953
  5885. #, no-wrap
  5886. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  5887. msgstr ""
  5888. #. type: Plain text
  5889. #: guix-git/doc/guix.texi:1957
  5890. 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:"
  5891. msgstr ""
  5892. #. type: example
  5893. #: guix-git/doc/guix.texi:1962
  5894. #, no-wrap
  5895. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  5896. msgstr ""
  5897. #. type: code{#1}
  5898. #: guix-git/doc/guix.texi:1964
  5899. #, no-wrap
  5900. msgid "xlsfonts"
  5901. msgstr ""
  5902. #. type: Plain text
  5903. #: guix-git/doc/guix.texi:1967
  5904. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  5905. msgstr ""
  5906. #. type: code{#1}
  5907. #: guix-git/doc/guix.texi:1971 guix-git/doc/guix.texi:33033
  5908. #, no-wrap
  5909. msgid "nss-certs"
  5910. msgstr ""
  5911. #. type: Plain text
  5912. #: guix-git/doc/guix.texi:1974
  5913. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  5914. msgstr ""
  5915. #. type: Plain text
  5916. #: guix-git/doc/guix.texi:1979
  5917. 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."
  5918. msgstr ""
  5919. #. type: code{#1}
  5920. #: guix-git/doc/guix.texi:1982
  5921. #, no-wrap
  5922. msgid "emacs"
  5923. msgstr ""
  5924. #. type: Plain text
  5925. #: guix-git/doc/guix.texi:1988
  5926. 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."
  5927. msgstr ""
  5928. #. type: Plain text
  5929. #: guix-git/doc/guix.texi:1995
  5930. 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})."
  5931. msgstr ""
  5932. #. type: cindex
  5933. #: guix-git/doc/guix.texi:2000
  5934. #, no-wrap
  5935. msgid "Upgrading Guix, on a foreign distro"
  5936. msgstr ""
  5937. #. type: Plain text
  5938. #: guix-git/doc/guix.texi:2003
  5939. msgid "To upgrade Guix, run:"
  5940. msgstr ""
  5941. #. type: example
  5942. #: guix-git/doc/guix.texi:2006 guix-git/doc/guix.texi:2854
  5943. #, no-wrap
  5944. msgid "guix pull\n"
  5945. msgstr ""
  5946. #. type: Plain text
  5947. #: guix-git/doc/guix.texi:2009
  5948. msgid "@xref{Invoking guix pull}, for more information."
  5949. msgstr ""
  5950. #. type: cindex
  5951. #: guix-git/doc/guix.texi:2010
  5952. #, no-wrap
  5953. msgid "upgrading Guix for the root user, on a foreign distro"
  5954. msgstr ""
  5955. #. type: cindex
  5956. #: guix-git/doc/guix.texi:2011
  5957. #, no-wrap
  5958. msgid "upgrading the Guix daemon, on a foreign distro"
  5959. msgstr ""
  5960. #. type: cindex
  5961. #: guix-git/doc/guix.texi:2012
  5962. #, no-wrap
  5963. msgid "@command{guix pull} for the root user, on a foreign distro"
  5964. msgstr ""
  5965. #. type: Plain text
  5966. #: guix-git/doc/guix.texi:2015
  5967. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  5968. msgstr ""
  5969. #. type: example
  5970. #: guix-git/doc/guix.texi:2018
  5971. #, no-wrap
  5972. msgid "sudo -i guix pull\n"
  5973. msgstr ""
  5974. #. type: Plain text
  5975. #: guix-git/doc/guix.texi:2023
  5976. msgid "followed by (assuming your distro uses the systemd service management tool):"
  5977. msgstr ""
  5978. #. type: example
  5979. #: guix-git/doc/guix.texi:2026
  5980. #, no-wrap
  5981. msgid "systemctl restart guix-daemon.service\n"
  5982. msgstr ""
  5983. #. type: Plain text
  5984. #: guix-git/doc/guix.texi:2030
  5985. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  5986. msgstr ""
  5987. #. type: cindex
  5988. #: guix-git/doc/guix.texi:2037
  5989. #, no-wrap
  5990. msgid "installing Guix System"
  5991. msgstr ""
  5992. #. type: cindex
  5993. #: guix-git/doc/guix.texi:2038
  5994. #, no-wrap
  5995. msgid "Guix System, installation"
  5996. msgstr ""
  5997. #. type: Plain text
  5998. #: guix-git/doc/guix.texi:2043
  5999. 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}."
  6000. msgstr ""
  6001. #. type: quotation
  6002. #: guix-git/doc/guix.texi:2052
  6003. 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."
  6004. msgstr ""
  6005. #. type: quotation
  6006. #: guix-git/doc/guix.texi:2055
  6007. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  6008. msgstr ""
  6009. #. type: Plain text
  6010. #: guix-git/doc/guix.texi:2076
  6011. 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."
  6012. msgstr ""
  6013. #. type: Plain text
  6014. #: guix-git/doc/guix.texi:2079
  6015. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  6016. msgstr ""
  6017. #. type: itemize
  6018. #: guix-git/doc/guix.texi:2084
  6019. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  6020. msgstr ""
  6021. #. type: itemize
  6022. #: guix-git/doc/guix.texi:2089
  6023. 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."
  6024. msgstr ""
  6025. #. type: Plain text
  6026. #: guix-git/doc/guix.texi:2094
  6027. 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."
  6028. msgstr ""
  6029. #. type: cindex
  6030. #: guix-git/doc/guix.texi:2099
  6031. #, no-wrap
  6032. msgid "hardware support on Guix System"
  6033. msgstr ""
  6034. #. type: Plain text
  6035. #: guix-git/doc/guix.texi:2108
  6036. 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."
  6037. msgstr ""
  6038. #. type: cindex
  6039. #: guix-git/doc/guix.texi:2109
  6040. #, no-wrap
  6041. msgid "WiFi, hardware support"
  6042. msgstr ""
  6043. #. type: Plain text
  6044. #: guix-git/doc/guix.texi:2118
  6045. 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}})."
  6046. msgstr ""
  6047. #. type: cindex
  6048. #: guix-git/doc/guix.texi:2119
  6049. #, no-wrap
  6050. msgid "RYF, Respects Your Freedom"
  6051. msgstr ""
  6052. #. type: Plain text
  6053. #: guix-git/doc/guix.texi:2125
  6054. 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."
  6055. msgstr ""
  6056. #. type: Plain text
  6057. #: guix-git/doc/guix.texi:2129
  6058. 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."
  6059. msgstr ""
  6060. #. type: Plain text
  6061. #: guix-git/doc/guix.texi:2138
  6062. 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:"
  6063. msgstr ""
  6064. #. type: table
  6065. #: guix-git/doc/guix.texi:2142
  6066. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  6067. msgstr ""
  6068. #. type: table
  6069. #: guix-git/doc/guix.texi:2145
  6070. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  6071. msgstr ""
  6072. #. type: Plain text
  6073. #: guix-git/doc/guix.texi:2150
  6074. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  6075. msgstr ""
  6076. #. type: example
  6077. #: guix-git/doc/guix.texi:2154
  6078. #, no-wrap
  6079. msgid ""
  6080. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6081. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6082. msgstr ""
  6083. #. type: example
  6084. #: guix-git/doc/guix.texi:2162
  6085. #, no-wrap
  6086. msgid ""
  6087. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  6088. " -qO - | gpg --import -\n"
  6089. msgstr ""
  6090. #. type: Plain text
  6091. #: guix-git/doc/guix.texi:2174
  6092. 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."
  6093. msgstr ""
  6094. #. type: unnumberedsubsec
  6095. #: guix-git/doc/guix.texi:2175
  6096. #, no-wrap
  6097. msgid "Copying to a USB Stick"
  6098. msgstr ""
  6099. #. type: Plain text
  6100. #: guix-git/doc/guix.texi:2180
  6101. 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:"
  6102. msgstr ""
  6103. #. type: example
  6104. #: guix-git/doc/guix.texi:2184
  6105. #, no-wrap
  6106. msgid ""
  6107. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6108. "sync\n"
  6109. msgstr ""
  6110. #. type: Plain text
  6111. #: guix-git/doc/guix.texi:2187
  6112. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6113. msgstr ""
  6114. #. type: unnumberedsubsec
  6115. #: guix-git/doc/guix.texi:2188
  6116. #, no-wrap
  6117. msgid "Burning on a DVD"
  6118. msgstr ""
  6119. #. type: Plain text
  6120. #: guix-git/doc/guix.texi:2193
  6121. 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:"
  6122. msgstr ""
  6123. #. type: example
  6124. #: guix-git/doc/guix.texi:2196
  6125. #, no-wrap
  6126. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6127. msgstr ""
  6128. #. type: Plain text
  6129. #: guix-git/doc/guix.texi:2199
  6130. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6131. msgstr ""
  6132. #. type: unnumberedsubsec
  6133. #: guix-git/doc/guix.texi:2200
  6134. #, no-wrap
  6135. msgid "Booting"
  6136. msgstr ""
  6137. #. type: Plain text
  6138. #: guix-git/doc/guix.texi:2207
  6139. 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}."
  6140. msgstr ""
  6141. #. type: Plain text
  6142. #: guix-git/doc/guix.texi:2210
  6143. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6144. msgstr ""
  6145. #. type: Plain text
  6146. #: guix-git/doc/guix.texi:2220
  6147. 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})."
  6148. msgstr ""
  6149. #. type: Plain text
  6150. #: guix-git/doc/guix.texi:2228
  6151. 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."
  6152. msgstr ""
  6153. #. type: quotation
  6154. #: guix-git/doc/guix.texi:2233
  6155. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6156. msgstr ""
  6157. #. type: Plain text
  6158. #: guix-git/doc/guix.texi:2240
  6159. 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."
  6160. msgstr ""
  6161. #. type: Plain text
  6162. #: guix-git/doc/guix.texi:2245
  6163. 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."
  6164. msgstr ""
  6165. #. type: Plain text
  6166. #: guix-git/doc/guix.texi:2247
  6167. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6168. msgstr ""
  6169. #. type: Plain text
  6170. #: guix-git/doc/guix.texi:2252
  6171. 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."
  6172. msgstr ""
  6173. #. type: Plain text
  6174. #: guix-git/doc/guix.texi:2254
  6175. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6176. msgstr ""
  6177. #. type: Plain text
  6178. #: guix-git/doc/guix.texi:2257
  6179. 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."
  6180. msgstr ""
  6181. #. type: Plain text
  6182. #: guix-git/doc/guix.texi:2259
  6183. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6184. msgstr ""
  6185. #. type: Plain text
  6186. #: guix-git/doc/guix.texi:2264
  6187. 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!"
  6188. msgstr ""
  6189. #. type: Plain text
  6190. #: guix-git/doc/guix.texi:2274
  6191. 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})."
  6192. msgstr ""
  6193. #. type: Plain text
  6194. #: guix-git/doc/guix.texi:2280
  6195. 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})."
  6196. msgstr ""
  6197. #. type: subsection
  6198. #: guix-git/doc/guix.texi:2287
  6199. #, no-wrap
  6200. msgid "Keyboard Layout, Networking, and Partitioning"
  6201. msgstr ""
  6202. #. type: Plain text
  6203. #: guix-git/doc/guix.texi:2292
  6204. 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."
  6205. msgstr ""
  6206. #. type: cindex
  6207. #: guix-git/doc/guix.texi:2295 guix-git/doc/guix.texi:14766
  6208. #, no-wrap
  6209. msgid "keyboard layout"
  6210. msgstr ""
  6211. #. type: Plain text
  6212. #: guix-git/doc/guix.texi:2299
  6213. 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:"
  6214. msgstr ""
  6215. #. type: example
  6216. #: guix-git/doc/guix.texi:2302
  6217. #, no-wrap
  6218. msgid "loadkeys dvorak\n"
  6219. msgstr ""
  6220. #. type: Plain text
  6221. #: guix-git/doc/guix.texi:2307
  6222. 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."
  6223. msgstr ""
  6224. #. type: subsubsection
  6225. #: guix-git/doc/guix.texi:2308
  6226. #, no-wrap
  6227. msgid "Networking"
  6228. msgstr ""
  6229. #. type: Plain text
  6230. #: guix-git/doc/guix.texi:2311
  6231. msgid "Run the following command to see what your network interfaces are called:"
  6232. msgstr ""
  6233. #. type: example
  6234. #: guix-git/doc/guix.texi:2314
  6235. #, no-wrap
  6236. msgid "ifconfig -a\n"
  6237. msgstr ""
  6238. #. type: table
  6239. #: guix-git/doc/guix.texi:2318 guix-git/doc/guix.texi:2340
  6240. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6241. msgstr ""
  6242. #. type: example
  6243. #: guix-git/doc/guix.texi:2321
  6244. #, no-wrap
  6245. msgid "ip address\n"
  6246. msgstr ""
  6247. #. type: Plain text
  6248. #: guix-git/doc/guix.texi:2328
  6249. 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}."
  6250. msgstr ""
  6251. #. type: item
  6252. #: guix-git/doc/guix.texi:2330
  6253. #, no-wrap
  6254. msgid "Wired connection"
  6255. msgstr ""
  6256. #. type: table
  6257. #: guix-git/doc/guix.texi:2333
  6258. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6259. msgstr ""
  6260. #. type: example
  6261. #: guix-git/doc/guix.texi:2336
  6262. #, no-wrap
  6263. msgid "ifconfig @var{interface} up\n"
  6264. msgstr ""
  6265. #. type: example
  6266. #: guix-git/doc/guix.texi:2343
  6267. #, no-wrap
  6268. msgid "ip link set @var{interface} up\n"
  6269. msgstr ""
  6270. #. type: item
  6271. #: guix-git/doc/guix.texi:2345
  6272. #, no-wrap
  6273. msgid "Wireless connection"
  6274. msgstr ""
  6275. #. type: cindex
  6276. #: guix-git/doc/guix.texi:2346 guix-git/doc/guix.texi:16411
  6277. #, no-wrap
  6278. msgid "wireless"
  6279. msgstr ""
  6280. #. type: cindex
  6281. #: guix-git/doc/guix.texi:2347 guix-git/doc/guix.texi:16412
  6282. #, no-wrap
  6283. msgid "WiFi"
  6284. msgstr ""
  6285. #. type: table
  6286. #: guix-git/doc/guix.texi:2352
  6287. 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}:"
  6288. msgstr ""
  6289. #. type: example
  6290. #: guix-git/doc/guix.texi:2355
  6291. #, no-wrap
  6292. msgid "nano wpa_supplicant.conf\n"
  6293. msgstr ""
  6294. #. type: table
  6295. #: guix-git/doc/guix.texi:2360
  6296. 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:"
  6297. msgstr ""
  6298. #. type: example
  6299. #: guix-git/doc/guix.texi:2367
  6300. #, no-wrap
  6301. msgid ""
  6302. "network=@{\n"
  6303. " ssid=\"@var{my-ssid}\"\n"
  6304. " key_mgmt=WPA-PSK\n"
  6305. " psk=\"the network's secret passphrase\"\n"
  6306. "@}\n"
  6307. msgstr ""
  6308. #. type: table
  6309. #: guix-git/doc/guix.texi:2372
  6310. 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):"
  6311. msgstr ""
  6312. #. type: example
  6313. #: guix-git/doc/guix.texi:2375
  6314. #, no-wrap
  6315. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6316. msgstr ""
  6317. #. type: table
  6318. #: guix-git/doc/guix.texi:2378
  6319. msgid "Run @command{man wpa_supplicant} for more information."
  6320. msgstr ""
  6321. #. type: cindex
  6322. #: guix-git/doc/guix.texi:2380
  6323. #, no-wrap
  6324. msgid "DHCP"
  6325. msgstr ""
  6326. #. type: Plain text
  6327. #: guix-git/doc/guix.texi:2383
  6328. 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:"
  6329. msgstr ""
  6330. #. type: example
  6331. #: guix-git/doc/guix.texi:2386
  6332. #, no-wrap
  6333. msgid "dhclient -v @var{interface}\n"
  6334. msgstr ""
  6335. #. type: Plain text
  6336. #: guix-git/doc/guix.texi:2389
  6337. msgid "Try to ping a server to see if networking is up and running:"
  6338. msgstr ""
  6339. #. type: example
  6340. #: guix-git/doc/guix.texi:2392
  6341. #, no-wrap
  6342. msgid "ping -c 3 gnu.org\n"
  6343. msgstr ""
  6344. #. type: Plain text
  6345. #: guix-git/doc/guix.texi:2396
  6346. 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."
  6347. msgstr ""
  6348. #. type: cindex
  6349. #: guix-git/doc/guix.texi:2397
  6350. #, no-wrap
  6351. msgid "proxy, during system installation"
  6352. msgstr ""
  6353. #. type: Plain text
  6354. #: guix-git/doc/guix.texi:2400
  6355. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6356. msgstr ""
  6357. #. type: example
  6358. #: guix-git/doc/guix.texi:2403
  6359. #, no-wrap
  6360. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6361. msgstr ""
  6362. #. type: Plain text
  6363. #: guix-git/doc/guix.texi:2408
  6364. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6365. msgstr ""
  6366. #. type: cindex
  6367. #: guix-git/doc/guix.texi:2409
  6368. #, no-wrap
  6369. msgid "installing over SSH"
  6370. msgstr ""
  6371. #. type: Plain text
  6372. #: guix-git/doc/guix.texi:2412
  6373. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6374. msgstr ""
  6375. #. type: example
  6376. #: guix-git/doc/guix.texi:2415
  6377. #, no-wrap
  6378. msgid "herd start ssh-daemon\n"
  6379. msgstr ""
  6380. #. type: Plain text
  6381. #: guix-git/doc/guix.texi:2419
  6382. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6383. msgstr ""
  6384. #. type: subsubsection
  6385. #: guix-git/doc/guix.texi:2420
  6386. #, no-wrap
  6387. msgid "Disk Partitioning"
  6388. msgstr ""
  6389. #. type: Plain text
  6390. #: guix-git/doc/guix.texi:2424
  6391. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6392. msgstr ""
  6393. #. type: Plain text
  6394. #: guix-git/doc/guix.texi:2429
  6395. 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:"
  6396. msgstr ""
  6397. #. type: example
  6398. #: guix-git/doc/guix.texi:2432
  6399. #, no-wrap
  6400. msgid "cfdisk\n"
  6401. msgstr ""
  6402. #. type: Plain text
  6403. #: guix-git/doc/guix.texi:2438
  6404. 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})."
  6405. msgstr ""
  6406. #. type: cindex
  6407. #: guix-git/doc/guix.texi:2439
  6408. #, no-wrap
  6409. msgid "EFI, installation"
  6410. msgstr ""
  6411. #. type: cindex
  6412. #: guix-git/doc/guix.texi:2440
  6413. #, no-wrap
  6414. msgid "UEFI, installation"
  6415. msgstr ""
  6416. #. type: cindex
  6417. #: guix-git/doc/guix.texi:2441
  6418. #, no-wrap
  6419. msgid "ESP, EFI system partition"
  6420. msgstr ""
  6421. #. type: Plain text
  6422. #: guix-git/doc/guix.texi:2445
  6423. 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}:"
  6424. msgstr ""
  6425. #. type: example
  6426. #: guix-git/doc/guix.texi:2448
  6427. #, no-wrap
  6428. msgid "parted /dev/sda set 1 esp on\n"
  6429. msgstr ""
  6430. #. type: vindex
  6431. #: guix-git/doc/guix.texi:2451 guix-git/doc/guix.texi:33452
  6432. #, no-wrap
  6433. msgid "grub-bootloader"
  6434. msgstr ""
  6435. #. type: vindex
  6436. #: guix-git/doc/guix.texi:2452 guix-git/doc/guix.texi:33446
  6437. #, no-wrap
  6438. msgid "grub-efi-bootloader"
  6439. msgstr ""
  6440. #. type: quotation
  6441. #: guix-git/doc/guix.texi:2459
  6442. 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."
  6443. msgstr ""
  6444. #. type: Plain text
  6445. #: guix-git/doc/guix.texi:2467
  6446. 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:"
  6447. msgstr ""
  6448. #. type: example
  6449. #: guix-git/doc/guix.texi:2470
  6450. #, no-wrap
  6451. msgid "mkfs.fat -F32 /dev/sda1\n"
  6452. msgstr ""
  6453. #. type: Plain text
  6454. #: guix-git/doc/guix.texi:2477
  6455. 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})."
  6456. msgstr ""
  6457. #. type: Plain text
  6458. #: guix-git/doc/guix.texi:2484
  6459. 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:"
  6460. msgstr ""
  6461. #. type: example
  6462. #: guix-git/doc/guix.texi:2487
  6463. #, no-wrap
  6464. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6465. msgstr ""
  6466. #. type: cindex
  6467. #: guix-git/doc/guix.texi:2489 guix-git/doc/guix.texi:13734
  6468. #, no-wrap
  6469. msgid "encrypted disk"
  6470. msgstr ""
  6471. #. type: Plain text
  6472. #: guix-git/doc/guix.texi:2496
  6473. 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:"
  6474. msgstr ""
  6475. #. type: example
  6476. #: guix-git/doc/guix.texi:2501
  6477. #, no-wrap
  6478. msgid ""
  6479. "cryptsetup luksFormat /dev/sda2\n"
  6480. "cryptsetup open --type luks /dev/sda2 my-partition\n"
  6481. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6482. msgstr ""
  6483. #. type: Plain text
  6484. #: guix-git/doc/guix.texi:2506
  6485. 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):"
  6486. msgstr ""
  6487. #. type: example
  6488. #: guix-git/doc/guix.texi:2509
  6489. #, no-wrap
  6490. msgid "mount LABEL=my-root /mnt\n"
  6491. msgstr ""
  6492. #. type: Plain text
  6493. #: guix-git/doc/guix.texi:2515
  6494. 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."
  6495. msgstr ""
  6496. #. type: Plain text
  6497. #: guix-git/doc/guix.texi:2520
  6498. 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:"
  6499. msgstr ""
  6500. #. type: example
  6501. #: guix-git/doc/guix.texi:2524
  6502. #, no-wrap
  6503. msgid ""
  6504. "mkswap /dev/sda3\n"
  6505. "swapon /dev/sda3\n"
  6506. msgstr ""
  6507. #. type: Plain text
  6508. #: guix-git/doc/guix.texi:2532
  6509. 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}.}:"
  6510. msgstr ""
  6511. #. type: example
  6512. #: guix-git/doc/guix.texi:2540
  6513. #, no-wrap
  6514. msgid ""
  6515. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6516. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6517. "# For security, make the file readable and writable only by root.\n"
  6518. "chmod 600 /mnt/swapfile\n"
  6519. "mkswap /mnt/swapfile\n"
  6520. "swapon /mnt/swapfile\n"
  6521. msgstr ""
  6522. #. type: Plain text
  6523. #: guix-git/doc/guix.texi:2545
  6524. 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."
  6525. msgstr ""
  6526. #. type: Plain text
  6527. #: guix-git/doc/guix.texi:2551
  6528. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6529. msgstr ""
  6530. #. type: example
  6531. #: guix-git/doc/guix.texi:2554
  6532. #, no-wrap
  6533. msgid "herd start cow-store /mnt\n"
  6534. msgstr ""
  6535. #. type: Plain text
  6536. #: guix-git/doc/guix.texi:2561
  6537. 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."
  6538. msgstr ""
  6539. #. type: Plain text
  6540. #: guix-git/doc/guix.texi:2572
  6541. 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."
  6542. msgstr ""
  6543. #. type: Plain text
  6544. #: guix-git/doc/guix.texi:2579
  6545. 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:"
  6546. msgstr ""
  6547. #. type: example
  6548. #: guix-git/doc/guix.texi:2584
  6549. #, no-wrap
  6550. msgid ""
  6551. "# mkdir /mnt/etc\n"
  6552. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6553. "# nano /mnt/etc/config.scm\n"
  6554. msgstr ""
  6555. #. type: Plain text
  6556. #: guix-git/doc/guix.texi:2588
  6557. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6558. msgstr ""
  6559. #. type: itemize
  6560. #: guix-git/doc/guix.texi:2600
  6561. 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."
  6562. msgstr ""
  6563. #. type: itemize
  6564. #: guix-git/doc/guix.texi:2606
  6565. 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."
  6566. msgstr ""
  6567. #. type: itemize
  6568. #: guix-git/doc/guix.texi:2610
  6569. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6570. msgstr ""
  6571. #. type: Plain text
  6572. #: guix-git/doc/guix.texi:2615
  6573. 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}):"
  6574. msgstr ""
  6575. #. type: example
  6576. #: guix-git/doc/guix.texi:2618
  6577. #, no-wrap
  6578. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6579. msgstr ""
  6580. #. type: Plain text
  6581. #: guix-git/doc/guix.texi:2625
  6582. 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."
  6583. msgstr ""
  6584. #. type: Plain text
  6585. #: guix-git/doc/guix.texi:2633
  6586. 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!"
  6587. msgstr ""
  6588. #. type: Plain text
  6589. #: guix-git/doc/guix.texi:2640
  6590. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6591. msgstr ""
  6592. #. type: example
  6593. #: guix-git/doc/guix.texi:2644
  6594. #, no-wrap
  6595. msgid ""
  6596. "guix pull\n"
  6597. "sudo guix system reconfigure /etc/config.scm\n"
  6598. msgstr ""
  6599. #. type: Plain text
  6600. #: guix-git/doc/guix.texi:2650
  6601. 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})."
  6602. msgstr ""
  6603. #. type: cindex
  6604. #: guix-git/doc/guix.texi:2653
  6605. #, no-wrap
  6606. msgid "sudo vs. @command{guix pull}"
  6607. msgstr ""
  6608. #. type: quotation
  6609. #: guix-git/doc/guix.texi:2657
  6610. 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{}}."
  6611. msgstr ""
  6612. #. type: quotation
  6613. #: guix-git/doc/guix.texi:2662
  6614. 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."
  6615. msgstr ""
  6616. #. type: Plain text
  6617. #: guix-git/doc/guix.texi:2667
  6618. 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!"
  6619. msgstr ""
  6620. #. type: section
  6621. #: guix-git/doc/guix.texi:2670
  6622. #, no-wrap
  6623. msgid "Installing Guix in a Virtual Machine"
  6624. msgstr ""
  6625. #. type: cindex
  6626. #: guix-git/doc/guix.texi:2672
  6627. #, no-wrap
  6628. msgid "virtual machine, Guix System installation"
  6629. msgstr ""
  6630. #. type: cindex
  6631. #: guix-git/doc/guix.texi:2673
  6632. #, no-wrap
  6633. msgid "virtual private server (VPS)"
  6634. msgstr ""
  6635. #. type: cindex
  6636. #: guix-git/doc/guix.texi:2674
  6637. #, no-wrap
  6638. msgid "VPS (virtual private server)"
  6639. msgstr ""
  6640. #. type: Plain text
  6641. #: guix-git/doc/guix.texi:2678
  6642. 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."
  6643. msgstr ""
  6644. #. type: Plain text
  6645. #: guix-git/doc/guix.texi:2681
  6646. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6647. msgstr ""
  6648. #. type: enumerate
  6649. #: guix-git/doc/guix.texi:2686
  6650. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6651. msgstr ""
  6652. #. type: enumerate
  6653. #: guix-git/doc/guix.texi:2690
  6654. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6655. msgstr ""
  6656. #. type: example
  6657. #: guix-git/doc/guix.texi:2693
  6658. #, no-wrap
  6659. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6660. msgstr ""
  6661. #. type: enumerate
  6662. #: guix-git/doc/guix.texi:2697
  6663. 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."
  6664. msgstr ""
  6665. #. type: enumerate
  6666. #: guix-git/doc/guix.texi:2700
  6667. msgid "Boot the USB installation image in an VM:"
  6668. msgstr ""
  6669. #. type: example
  6670. #: guix-git/doc/guix.texi:2706
  6671. #, no-wrap
  6672. msgid ""
  6673. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6674. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6675. " -drive file=guix-system.img \\\n"
  6676. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6677. msgstr ""
  6678. #. type: enumerate
  6679. #: guix-git/doc/guix.texi:2710
  6680. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6681. msgstr ""
  6682. #. type: enumerate
  6683. #: guix-git/doc/guix.texi:2714
  6684. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6685. msgstr ""
  6686. #. type: Plain text
  6687. #: guix-git/doc/guix.texi:2719
  6688. 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."
  6689. msgstr ""
  6690. #. type: cindex
  6691. #: guix-git/doc/guix.texi:2723
  6692. #, no-wrap
  6693. msgid "installation image"
  6694. msgstr ""
  6695. #. type: Plain text
  6696. #: guix-git/doc/guix.texi:2726
  6697. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6698. msgstr ""
  6699. #. type: example
  6700. #: guix-git/doc/guix.texi:2729
  6701. #, no-wrap
  6702. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6703. msgstr ""
  6704. #. type: Plain text
  6705. #: guix-git/doc/guix.texi:2734
  6706. 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."
  6707. msgstr ""
  6708. #. type: section
  6709. #: guix-git/doc/guix.texi:2735
  6710. #, no-wrap
  6711. msgid "Building the Installation Image for ARM Boards"
  6712. msgstr ""
  6713. #. type: Plain text
  6714. #: guix-git/doc/guix.texi:2739
  6715. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6716. msgstr ""
  6717. #. type: Plain text
  6718. #: guix-git/doc/guix.texi:2743
  6719. 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:"
  6720. msgstr ""
  6721. #. type: example
  6722. #: guix-git/doc/guix.texi:2746
  6723. #, no-wrap
  6724. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6725. msgstr ""
  6726. #. type: Plain text
  6727. #: guix-git/doc/guix.texi:2750
  6728. 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."
  6729. msgstr ""
  6730. #. type: Plain text
  6731. #: guix-git/doc/guix.texi:2760
  6732. 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."
  6733. msgstr ""
  6734. #. type: Plain text
  6735. #: guix-git/doc/guix.texi:2764
  6736. 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:"
  6737. msgstr ""
  6738. #. type: example
  6739. #: guix-git/doc/guix.texi:2767
  6740. #, no-wrap
  6741. msgid "guix search text editor\n"
  6742. msgstr ""
  6743. #. type: Plain text
  6744. #: guix-git/doc/guix.texi:2774
  6745. 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}!):"
  6746. msgstr ""
  6747. #. type: example
  6748. #: guix-git/doc/guix.texi:2777
  6749. #, no-wrap
  6750. msgid "guix install emacs\n"
  6751. msgstr ""
  6752. #. type: cindex
  6753. #: guix-git/doc/guix.texi:2779 guix-git/doc/guix.texi:3091
  6754. #: guix-git/doc/guix.texi:3143
  6755. #, no-wrap
  6756. msgid "profile"
  6757. msgstr ""
  6758. #. type: Plain text
  6759. #: guix-git/doc/guix.texi:2787
  6760. 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)."
  6761. msgstr ""
  6762. #. type: Plain text
  6763. #: guix-git/doc/guix.texi:2790
  6764. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6765. msgstr ""
  6766. #. type: example
  6767. #: guix-git/doc/guix.texi:2793
  6768. #, no-wrap
  6769. msgid ""
  6770. "hint: Consider setting the necessary environment variables by running:\n"
  6771. "\n"
  6772. msgstr ""
  6773. #. type: example
  6774. #: guix-git/doc/guix.texi:2796
  6775. #, no-wrap
  6776. msgid ""
  6777. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6778. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6779. "\n"
  6780. msgstr ""
  6781. #. type: example
  6782. #: guix-git/doc/guix.texi:2798
  6783. #, no-wrap
  6784. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6785. msgstr ""
  6786. #. type: Plain text
  6787. #: guix-git/doc/guix.texi:2812
  6788. 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."
  6789. msgstr ""
  6790. #. type: Plain text
  6791. #: guix-git/doc/guix.texi:2815
  6792. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6793. msgstr ""
  6794. #. type: example
  6795. #: guix-git/doc/guix.texi:2818
  6796. #, no-wrap
  6797. msgid "guix package --list-installed\n"
  6798. msgstr ""
  6799. #. type: Plain text
  6800. #: guix-git/doc/guix.texi:2823
  6801. 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:"
  6802. msgstr ""
  6803. #. type: example
  6804. #: guix-git/doc/guix.texi:2826
  6805. #, no-wrap
  6806. msgid "guix package --roll-back\n"
  6807. msgstr ""
  6808. #. type: Plain text
  6809. #: guix-git/doc/guix.texi:2831
  6810. 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:"
  6811. msgstr ""
  6812. #. type: example
  6813. #: guix-git/doc/guix.texi:2834
  6814. #, no-wrap
  6815. msgid "guix package --list-generations\n"
  6816. msgstr ""
  6817. #. type: Plain text
  6818. #: guix-git/doc/guix.texi:2837
  6819. msgid "Now you know the basics of package management!"
  6820. msgstr ""
  6821. #. type: quotation
  6822. #: guix-git/doc/guix.texi:2838 guix-git/doc/guix.texi:2897
  6823. #, no-wrap
  6824. msgid "Going further"
  6825. msgstr ""
  6826. #. type: quotation
  6827. #: guix-git/doc/guix.texi:2846
  6828. 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."
  6829. msgstr ""
  6830. #. type: Plain text
  6831. #: guix-git/doc/guix.texi:2851
  6832. 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:"
  6833. msgstr ""
  6834. #. type: Plain text
  6835. #: guix-git/doc/guix.texi:2861
  6836. 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}:"
  6837. msgstr ""
  6838. #. type: example
  6839. #: guix-git/doc/guix.texi:2865
  6840. #, no-wrap
  6841. msgid ""
  6842. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  6843. ". \"$GUIX_PROFILE/etc/profile\"\n"
  6844. msgstr ""
  6845. #. type: Plain text
  6846. #: guix-git/doc/guix.texi:2869
  6847. msgid "You must also instruct your shell to point to this new @command{guix}:"
  6848. msgstr ""
  6849. #. type: example
  6850. #: guix-git/doc/guix.texi:2872
  6851. #, no-wrap
  6852. msgid "hash guix\n"
  6853. msgstr ""
  6854. #. type: Plain text
  6855. #: guix-git/doc/guix.texi:2876
  6856. 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:"
  6857. msgstr ""
  6858. #. type: example
  6859. #: guix-git/doc/guix.texi:2879
  6860. #, no-wrap
  6861. msgid "guix upgrade\n"
  6862. msgstr ""
  6863. #. type: Plain text
  6864. #: guix-git/doc/guix.texi:2885
  6865. 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!"
  6866. msgstr ""
  6867. #. type: Plain text
  6868. #: guix-git/doc/guix.texi:2888
  6869. msgid "You can display the exact revision of Guix you're currently using by running:"
  6870. msgstr ""
  6871. #. type: example
  6872. #: guix-git/doc/guix.texi:2891
  6873. #, no-wrap
  6874. msgid "guix describe\n"
  6875. msgstr ""
  6876. #. type: Plain text
  6877. #: guix-git/doc/guix.texi:2896
  6878. 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."
  6879. msgstr ""
  6880. #. type: quotation
  6881. #: guix-git/doc/guix.texi:2902
  6882. 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})."
  6883. msgstr ""
  6884. #. type: Plain text
  6885. #: guix-git/doc/guix.texi:2907
  6886. 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:"
  6887. msgstr ""
  6888. #. type: example
  6889. #: guix-git/doc/guix.texi:2910
  6890. #, no-wrap
  6891. msgid "sudo guix system reconfigure /etc/config.scm\n"
  6892. msgstr ""
  6893. #. type: Plain text
  6894. #: guix-git/doc/guix.texi:2919
  6895. 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}:"
  6896. msgstr ""
  6897. #. type: example
  6898. #: guix-git/doc/guix.texi:2922
  6899. #, no-wrap
  6900. msgid "sudo guix system roll-back\n"
  6901. msgstr ""
  6902. #. type: Plain text
  6903. #: guix-git/doc/guix.texi:2929
  6904. 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."
  6905. msgstr ""
  6906. #. type: Plain text
  6907. #: guix-git/doc/guix.texi:2931
  6908. msgid "Now you know enough to get started!"
  6909. msgstr ""
  6910. #. type: quotation
  6911. #: guix-git/doc/guix.texi:2932
  6912. #, no-wrap
  6913. msgid "Resources"
  6914. msgstr ""
  6915. #. type: quotation
  6916. #: guix-git/doc/guix.texi:2935
  6917. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  6918. msgstr ""
  6919. #. type: itemize
  6920. #: guix-git/doc/guix.texi:2940
  6921. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  6922. msgstr ""
  6923. #. type: itemize
  6924. #: guix-git/doc/guix.texi:2945
  6925. 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."
  6926. msgstr ""
  6927. #. type: itemize
  6928. #: guix-git/doc/guix.texi:2950
  6929. 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."
  6930. msgstr ""
  6931. #. type: itemize
  6932. #: guix-git/doc/guix.texi:2954
  6933. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  6934. msgstr ""
  6935. #. type: quotation
  6936. #: guix-git/doc/guix.texi:2957
  6937. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  6938. msgstr ""
  6939. #. type: Plain text
  6940. #: guix-git/doc/guix.texi:2968
  6941. 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."
  6942. msgstr ""
  6943. #. type: Plain text
  6944. #: guix-git/doc/guix.texi:2976
  6945. 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):"
  6946. msgstr ""
  6947. #. type: example
  6948. #: guix-git/doc/guix.texi:2979
  6949. #, no-wrap
  6950. msgid "guix install emacs-guix\n"
  6951. msgstr ""
  6952. #. type: Plain text
  6953. #: guix-git/doc/guix.texi:3000
  6954. 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."
  6955. msgstr ""
  6956. #. type: Plain text
  6957. #: guix-git/doc/guix.texi:3004
  6958. 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."
  6959. msgstr ""
  6960. #. type: Plain text
  6961. #: guix-git/doc/guix.texi:3009
  6962. 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}."
  6963. msgstr ""
  6964. #. type: Plain text
  6965. #: guix-git/doc/guix.texi:3017
  6966. 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."
  6967. msgstr ""
  6968. #. type: Plain text
  6969. #: guix-git/doc/guix.texi:3021
  6970. 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}."
  6971. msgstr ""
  6972. #. type: cindex
  6973. #: guix-git/doc/guix.texi:3022 guix-git/doc/guix.texi:3105
  6974. #, no-wrap
  6975. msgid "transactions"
  6976. msgstr ""
  6977. #. type: Plain text
  6978. #: guix-git/doc/guix.texi:3029
  6979. 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."
  6980. msgstr ""
  6981. #. type: Plain text
  6982. #: guix-git/doc/guix.texi:3037
  6983. 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})."
  6984. msgstr ""
  6985. #. type: Plain text
  6986. #: guix-git/doc/guix.texi:3044
  6987. 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."
  6988. msgstr ""
  6989. #. type: Plain text
  6990. #: guix-git/doc/guix.texi:3057
  6991. 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})."
  6992. msgstr ""
  6993. #. type: Plain text
  6994. #: guix-git/doc/guix.texi:3068
  6995. 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})."
  6996. msgstr ""
  6997. #. type: Plain text
  6998. #: guix-git/doc/guix.texi:3074
  6999. 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})."
  7000. msgstr ""
  7001. #. type: cindex
  7002. #: guix-git/doc/guix.texi:3075
  7003. #, no-wrap
  7004. msgid "replication, of software environments"
  7005. msgstr ""
  7006. #. type: cindex
  7007. #: guix-git/doc/guix.texi:3076
  7008. #, no-wrap
  7009. msgid "provenance tracking, of software artifacts"
  7010. msgstr ""
  7011. #. type: Plain text
  7012. #: guix-git/doc/guix.texi:3083
  7013. 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."
  7014. msgstr ""
  7015. #. type: section
  7016. #: guix-git/doc/guix.texi:3085
  7017. #, no-wrap
  7018. msgid "Invoking @command{guix package}"
  7019. msgstr ""
  7020. #. type: cindex
  7021. #: guix-git/doc/guix.texi:3087
  7022. #, no-wrap
  7023. msgid "installing packages"
  7024. msgstr ""
  7025. #. type: cindex
  7026. #: guix-git/doc/guix.texi:3088
  7027. #, no-wrap
  7028. msgid "removing packages"
  7029. msgstr ""
  7030. #. type: cindex
  7031. #: guix-git/doc/guix.texi:3089
  7032. #, no-wrap
  7033. msgid "package installation"
  7034. msgstr ""
  7035. #. type: cindex
  7036. #: guix-git/doc/guix.texi:3090
  7037. #, no-wrap
  7038. msgid "package removal"
  7039. msgstr ""
  7040. #. type: Plain text
  7041. #: guix-git/doc/guix.texi:3100
  7042. 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:"
  7043. msgstr ""
  7044. #. type: example
  7045. #: guix-git/doc/guix.texi:3103
  7046. #, no-wrap
  7047. msgid "guix package @var{options}\n"
  7048. msgstr ""
  7049. #. type: Plain text
  7050. #: guix-git/doc/guix.texi:3110
  7051. 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."
  7052. msgstr ""
  7053. #. type: Plain text
  7054. #: guix-git/doc/guix.texi:3113
  7055. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  7056. msgstr ""
  7057. #. type: example
  7058. #: guix-git/doc/guix.texi:3116
  7059. #, no-wrap
  7060. msgid "guix package -r lua -i guile guile-cairo\n"
  7061. msgstr ""
  7062. #. type: cindex
  7063. #: guix-git/doc/guix.texi:3118
  7064. #, no-wrap
  7065. msgid "aliases, for @command{guix package}"
  7066. msgstr ""
  7067. #. type: Plain text
  7068. #: guix-git/doc/guix.texi:3120
  7069. msgid "For your convenience, we also provide the following aliases:"
  7070. msgstr ""
  7071. #. type: itemize
  7072. #: guix-git/doc/guix.texi:3124
  7073. msgid "@command{guix search} is an alias for @command{guix package -s},"
  7074. msgstr ""
  7075. #. type: itemize
  7076. #: guix-git/doc/guix.texi:3126
  7077. msgid "@command{guix install} is an alias for @command{guix package -i},"
  7078. msgstr ""
  7079. #. type: itemize
  7080. #: guix-git/doc/guix.texi:3128
  7081. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  7082. msgstr ""
  7083. #. type: itemize
  7084. #: guix-git/doc/guix.texi:3130
  7085. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  7086. msgstr ""
  7087. #. type: itemize
  7088. #: guix-git/doc/guix.texi:3132
  7089. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7090. msgstr ""
  7091. #. type: Plain text
  7092. #: guix-git/doc/guix.texi:3137
  7093. 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."
  7094. msgstr ""
  7095. #. type: Plain text
  7096. #: guix-git/doc/guix.texi:3142
  7097. 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}})."
  7098. msgstr ""
  7099. #. type: Plain text
  7100. #: guix-git/doc/guix.texi:3149
  7101. 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."
  7102. msgstr ""
  7103. #. type: cindex
  7104. #: guix-git/doc/guix.texi:3149 guix-git/doc/guix.texi:3382
  7105. #, no-wrap
  7106. msgid "search paths"
  7107. msgstr ""
  7108. #. type: Plain text
  7109. #: guix-git/doc/guix.texi:3154
  7110. 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:"
  7111. msgstr ""
  7112. #. type: example
  7113. #: guix-git/doc/guix.texi:3158
  7114. #, no-wrap
  7115. msgid ""
  7116. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7117. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7118. msgstr ""
  7119. #. type: Plain text
  7120. #: guix-git/doc/guix.texi:3169
  7121. 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}."
  7122. msgstr ""
  7123. #. type: Plain text
  7124. #: guix-git/doc/guix.texi:3171
  7125. msgid "The @var{options} can be among the following:"
  7126. msgstr ""
  7127. #. type: item
  7128. #: guix-git/doc/guix.texi:3174
  7129. #, no-wrap
  7130. msgid "--install=@var{package} @dots{}"
  7131. msgstr ""
  7132. #. type: itemx
  7133. #: guix-git/doc/guix.texi:3175
  7134. #, no-wrap
  7135. msgid "-i @var{package} @dots{}"
  7136. msgstr ""
  7137. #. type: table
  7138. #: guix-git/doc/guix.texi:3177
  7139. msgid "Install the specified @var{package}s."
  7140. msgstr ""
  7141. #. type: table
  7142. #: guix-git/doc/guix.texi:3182
  7143. 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)."
  7144. msgstr ""
  7145. #. type: table
  7146. #: guix-git/doc/guix.texi:3190
  7147. 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})."
  7148. msgstr ""
  7149. #. type: cindex
  7150. #: guix-git/doc/guix.texi:3191
  7151. #, no-wrap
  7152. msgid "propagated inputs"
  7153. msgstr ""
  7154. #. type: table
  7155. #: guix-git/doc/guix.texi:3197
  7156. 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)."
  7157. msgstr ""
  7158. #. type: anchor{#1}
  7159. #: guix-git/doc/guix.texi:3204
  7160. msgid "package-cmd-propagated-inputs"
  7161. msgstr ""
  7162. #. type: table
  7163. #: guix-git/doc/guix.texi:3204
  7164. 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."
  7165. msgstr ""
  7166. #. type: table
  7167. #: guix-git/doc/guix.texi:3209
  7168. 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."
  7169. msgstr ""
  7170. #. type: item
  7171. #: guix-git/doc/guix.texi:3210
  7172. #, no-wrap
  7173. msgid "--install-from-expression=@var{exp}"
  7174. msgstr ""
  7175. #. type: itemx
  7176. #: guix-git/doc/guix.texi:3211
  7177. #, no-wrap
  7178. msgid "-e @var{exp}"
  7179. msgstr ""
  7180. #. type: table
  7181. #: guix-git/doc/guix.texi:3213
  7182. msgid "Install the package @var{exp} evaluates to."
  7183. msgstr ""
  7184. #. type: table
  7185. #: guix-git/doc/guix.texi:3218
  7186. 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)}."
  7187. msgstr ""
  7188. #. type: table
  7189. #: guix-git/doc/guix.texi:3222
  7190. 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."
  7191. msgstr ""
  7192. #. type: item
  7193. #: guix-git/doc/guix.texi:3223
  7194. #, no-wrap
  7195. msgid "--install-from-file=@var{file}"
  7196. msgstr ""
  7197. #. type: itemx
  7198. #: guix-git/doc/guix.texi:3224 guix-git/doc/guix.texi:10782
  7199. #, no-wrap
  7200. msgid "-f @var{file}"
  7201. msgstr ""
  7202. #. type: table
  7203. #: guix-git/doc/guix.texi:3226
  7204. msgid "Install the package that the code within @var{file} evaluates to."
  7205. msgstr ""
  7206. #. type: table
  7207. #: guix-git/doc/guix.texi:3229 guix-git/doc/guix.texi:5761
  7208. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7209. msgstr ""
  7210. #. type: include
  7211. #: guix-git/doc/guix.texi:3231 guix-git/doc/guix.texi:10790
  7212. #, no-wrap
  7213. msgid "package-hello.scm"
  7214. msgstr ""
  7215. #. type: table
  7216. #: guix-git/doc/guix.texi:3238
  7217. 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})."
  7218. msgstr ""
  7219. #. type: table
  7220. #: guix-git/doc/guix.texi:3243
  7221. 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}:"
  7222. msgstr ""
  7223. #. type: example
  7224. #: guix-git/doc/guix.texi:3246 guix-git/doc/guix.texi:10800
  7225. #, no-wrap
  7226. msgid "@verbatiminclude package-hello.json\n"
  7227. msgstr ""
  7228. #. type: item
  7229. #: guix-git/doc/guix.texi:3248
  7230. #, no-wrap
  7231. msgid "--remove=@var{package} @dots{}"
  7232. msgstr ""
  7233. #. type: itemx
  7234. #: guix-git/doc/guix.texi:3249
  7235. #, no-wrap
  7236. msgid "-r @var{package} @dots{}"
  7237. msgstr ""
  7238. #. type: table
  7239. #: guix-git/doc/guix.texi:3251
  7240. msgid "Remove the specified @var{package}s."
  7241. msgstr ""
  7242. #. type: table
  7243. #: guix-git/doc/guix.texi:3256
  7244. 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}."
  7245. msgstr ""
  7246. #. type: item
  7247. #: guix-git/doc/guix.texi:3257
  7248. #, no-wrap
  7249. msgid "--upgrade[=@var{regexp} @dots{}]"
  7250. msgstr ""
  7251. #. type: itemx
  7252. #: guix-git/doc/guix.texi:3258
  7253. #, no-wrap
  7254. msgid "-u [@var{regexp} @dots{}]"
  7255. msgstr ""
  7256. #. type: cindex
  7257. #: guix-git/doc/guix.texi:3259
  7258. #, no-wrap
  7259. msgid "upgrading packages"
  7260. msgstr ""
  7261. #. type: table
  7262. #: guix-git/doc/guix.texi:3263
  7263. 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."
  7264. msgstr ""
  7265. #. type: table
  7266. #: guix-git/doc/guix.texi:3268
  7267. 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})."
  7268. msgstr ""
  7269. #. type: cindex
  7270. #: guix-git/doc/guix.texi:3269
  7271. #, no-wrap
  7272. msgid "package transformations, upgrades"
  7273. msgstr ""
  7274. #. type: table
  7275. #: guix-git/doc/guix.texi:3274
  7276. 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:"
  7277. msgstr ""
  7278. #. type: example
  7279. #: guix-git/doc/guix.texi:3277
  7280. #, no-wrap
  7281. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7282. msgstr ""
  7283. #. type: table
  7284. #: guix-git/doc/guix.texi:3282
  7285. 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."
  7286. msgstr ""
  7287. #. type: table
  7288. #: guix-git/doc/guix.texi:3287
  7289. 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:"
  7290. msgstr ""
  7291. #. type: example
  7292. #: guix-git/doc/guix.texi:3290
  7293. #, no-wrap
  7294. msgid "guix install @var{package}\n"
  7295. msgstr ""
  7296. #. type: item
  7297. #: guix-git/doc/guix.texi:3292
  7298. #, no-wrap
  7299. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7300. msgstr ""
  7301. #. type: table
  7302. #: guix-git/doc/guix.texi:3297
  7303. 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'':"
  7304. msgstr ""
  7305. #. type: example
  7306. #: guix-git/doc/guix.texi:3300
  7307. #, no-wrap
  7308. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7309. msgstr ""
  7310. #. type: anchor{#1}
  7311. #: guix-git/doc/guix.texi:3302
  7312. #, no-wrap
  7313. msgid "profile-manifest"
  7314. msgstr ""
  7315. #. type: item
  7316. #: guix-git/doc/guix.texi:3302 guix-git/doc/guix.texi:5766
  7317. #: guix-git/doc/guix.texi:6214 guix-git/doc/guix.texi:11898
  7318. #: guix-git/doc/guix.texi:13395
  7319. #, no-wrap
  7320. msgid "--manifest=@var{file}"
  7321. msgstr ""
  7322. #. type: itemx
  7323. #: guix-git/doc/guix.texi:3303 guix-git/doc/guix.texi:5767
  7324. #: guix-git/doc/guix.texi:6215 guix-git/doc/guix.texi:11899
  7325. #, no-wrap
  7326. msgid "-m @var{file}"
  7327. msgstr ""
  7328. #. type: cindex
  7329. #: guix-git/doc/guix.texi:3304
  7330. #, no-wrap
  7331. msgid "profile declaration"
  7332. msgstr ""
  7333. #. type: cindex
  7334. #: guix-git/doc/guix.texi:3305
  7335. #, no-wrap
  7336. msgid "profile manifest"
  7337. msgstr ""
  7338. #. type: table
  7339. #: guix-git/doc/guix.texi:3309
  7340. 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."
  7341. msgstr ""
  7342. #. type: table
  7343. #: guix-git/doc/guix.texi:3315
  7344. 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."
  7345. msgstr ""
  7346. #. type: table
  7347. #: guix-git/doc/guix.texi:3319
  7348. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7349. msgstr ""
  7350. #. type: findex
  7351. #: guix-git/doc/guix.texi:3320
  7352. #, no-wrap
  7353. msgid "packages->manifest"
  7354. msgstr ""
  7355. #. type: lisp
  7356. #: guix-git/doc/guix.texi:3323
  7357. #, no-wrap
  7358. msgid ""
  7359. "(use-package-modules guile emacs)\n"
  7360. "\n"
  7361. msgstr ""
  7362. #. type: lisp
  7363. #: guix-git/doc/guix.texi:3329
  7364. #, no-wrap
  7365. msgid ""
  7366. "(packages->manifest\n"
  7367. " (list emacs\n"
  7368. " guile-2.0\n"
  7369. " ;; Use a specific package output.\n"
  7370. " (list guile-2.0 \"debug\")))\n"
  7371. msgstr ""
  7372. #. type: findex
  7373. #: guix-git/doc/guix.texi:3331
  7374. #, no-wrap
  7375. msgid "specifications->manifest"
  7376. msgstr ""
  7377. #. type: table
  7378. #: guix-git/doc/guix.texi:3338
  7379. 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:"
  7380. msgstr ""
  7381. #. type: lisp
  7382. #: guix-git/doc/guix.texi:3342
  7383. #, no-wrap
  7384. msgid ""
  7385. "(specifications->manifest\n"
  7386. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7387. msgstr ""
  7388. #. type: table
  7389. #: guix-git/doc/guix.texi:3346
  7390. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7391. msgstr ""
  7392. #. type: item
  7393. #: guix-git/doc/guix.texi:3347 guix-git/doc/guix.texi:4454
  7394. #, no-wrap
  7395. msgid "--roll-back"
  7396. msgstr ""
  7397. #. type: cindex
  7398. #: guix-git/doc/guix.texi:3348 guix-git/doc/guix.texi:4455
  7399. #: guix-git/doc/guix.texi:33878 guix-git/doc/guix.texi:36041
  7400. #, no-wrap
  7401. msgid "rolling back"
  7402. msgstr ""
  7403. #. type: cindex
  7404. #: guix-git/doc/guix.texi:3349 guix-git/doc/guix.texi:4456
  7405. #, no-wrap
  7406. msgid "undoing transactions"
  7407. msgstr ""
  7408. #. type: cindex
  7409. #: guix-git/doc/guix.texi:3350 guix-git/doc/guix.texi:4457
  7410. #, no-wrap
  7411. msgid "transactions, undoing"
  7412. msgstr ""
  7413. #. type: table
  7414. #: guix-git/doc/guix.texi:3353
  7415. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7416. msgstr ""
  7417. #. type: table
  7418. #: guix-git/doc/guix.texi:3356
  7419. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7420. msgstr ""
  7421. #. type: table
  7422. #: guix-git/doc/guix.texi:3360
  7423. 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."
  7424. msgstr ""
  7425. #. type: table
  7426. #: guix-git/doc/guix.texi:3364
  7427. 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."
  7428. msgstr ""
  7429. #. type: item
  7430. #: guix-git/doc/guix.texi:3365 guix-git/doc/guix.texi:4461
  7431. #, no-wrap
  7432. msgid "--switch-generation=@var{pattern}"
  7433. msgstr ""
  7434. #. type: itemx
  7435. #: guix-git/doc/guix.texi:3366 guix-git/doc/guix.texi:4462
  7436. #, no-wrap
  7437. msgid "-S @var{pattern}"
  7438. msgstr ""
  7439. #. type: cindex
  7440. #: guix-git/doc/guix.texi:3367 guix-git/doc/guix.texi:3597
  7441. #: guix-git/doc/guix.texi:4463 guix-git/doc/guix.texi:33836
  7442. #, no-wrap
  7443. msgid "generations"
  7444. msgstr ""
  7445. #. type: table
  7446. #: guix-git/doc/guix.texi:3369 guix-git/doc/guix.texi:4465
  7447. msgid "Switch to a particular generation defined by @var{pattern}."
  7448. msgstr ""
  7449. #. type: table
  7450. #: guix-git/doc/guix.texi:3375 guix-git/doc/guix.texi:4471
  7451. 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}."
  7452. msgstr ""
  7453. #. type: table
  7454. #: guix-git/doc/guix.texi:3380
  7455. 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."
  7456. msgstr ""
  7457. #. type: item
  7458. #: guix-git/doc/guix.texi:3381
  7459. #, no-wrap
  7460. msgid "--search-paths[=@var{kind}]"
  7461. msgstr ""
  7462. #. type: table
  7463. #: guix-git/doc/guix.texi:3387
  7464. 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."
  7465. msgstr ""
  7466. #. type: table
  7467. #: guix-git/doc/guix.texi:3395
  7468. 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."
  7469. msgstr ""
  7470. #. type: table
  7471. #: guix-git/doc/guix.texi:3398
  7472. msgid "The typical use case is to define these environment variables in the shell:"
  7473. msgstr ""
  7474. #. type: example
  7475. #: guix-git/doc/guix.texi:3401
  7476. #, no-wrap
  7477. msgid "$ eval `guix package --search-paths`\n"
  7478. msgstr ""
  7479. #. type: table
  7480. #: guix-git/doc/guix.texi:3407
  7481. 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}."
  7482. msgstr ""
  7483. #. type: table
  7484. #: guix-git/doc/guix.texi:3410
  7485. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7486. msgstr ""
  7487. #. type: example
  7488. #: guix-git/doc/guix.texi:3415
  7489. #, no-wrap
  7490. msgid ""
  7491. "$ guix package -p foo -i guile\n"
  7492. "$ guix package -p bar -i guile-json\n"
  7493. "$ guix package -p foo -p bar --search-paths\n"
  7494. msgstr ""
  7495. #. type: table
  7496. #: guix-git/doc/guix.texi:3420
  7497. 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."
  7498. msgstr ""
  7499. #. type: cindex
  7500. #: guix-git/doc/guix.texi:3422
  7501. #, no-wrap
  7502. msgid "profile, choosing"
  7503. msgstr ""
  7504. #. type: item
  7505. #: guix-git/doc/guix.texi:3423 guix-git/doc/guix.texi:4491
  7506. #: guix-git/doc/guix.texi:4820
  7507. #, no-wrap
  7508. msgid "--profile=@var{profile}"
  7509. msgstr ""
  7510. #. type: itemx
  7511. #: guix-git/doc/guix.texi:3424 guix-git/doc/guix.texi:4492
  7512. #: guix-git/doc/guix.texi:4821
  7513. #, no-wrap
  7514. msgid "-p @var{profile}"
  7515. msgstr ""
  7516. #. type: table
  7517. #: guix-git/doc/guix.texi:3426
  7518. msgid "Use @var{profile} instead of the user's default profile."
  7519. msgstr ""
  7520. #. type: table
  7521. #: guix-git/doc/guix.texi:3431
  7522. 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:"
  7523. msgstr ""
  7524. #. type: example
  7525. #: guix-git/doc/guix.texi:3437
  7526. #, no-wrap
  7527. msgid ""
  7528. "$ guix install hello -p ~/code/my-profile\n"
  7529. "@dots{}\n"
  7530. "$ ~/code/my-profile/bin/hello\n"
  7531. "Hello, world!\n"
  7532. msgstr ""
  7533. #. type: table
  7534. #: guix-git/doc/guix.texi:3441
  7535. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7536. msgstr ""
  7537. #. type: example
  7538. #: guix-git/doc/guix.texi:3444
  7539. #, no-wrap
  7540. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7541. msgstr ""
  7542. #. type: item
  7543. #: guix-git/doc/guix.texi:3446
  7544. #, no-wrap
  7545. msgid "--list-profiles"
  7546. msgstr ""
  7547. #. type: table
  7548. #: guix-git/doc/guix.texi:3448
  7549. msgid "List all the user's profiles:"
  7550. msgstr ""
  7551. #. type: example
  7552. #: guix-git/doc/guix.texi:3455
  7553. #, no-wrap
  7554. msgid ""
  7555. "$ guix package --list-profiles\n"
  7556. "/home/charlie/.guix-profile\n"
  7557. "/home/charlie/code/my-profile\n"
  7558. "/home/charlie/code/devel-profile\n"
  7559. "/home/charlie/tmp/test\n"
  7560. msgstr ""
  7561. #. type: table
  7562. #: guix-git/doc/guix.texi:3458
  7563. msgid "When running as root, list all the profiles of all the users."
  7564. msgstr ""
  7565. #. type: cindex
  7566. #: guix-git/doc/guix.texi:3459
  7567. #, no-wrap
  7568. msgid "collisions, in a profile"
  7569. msgstr ""
  7570. #. type: cindex
  7571. #: guix-git/doc/guix.texi:3460
  7572. #, no-wrap
  7573. msgid "colliding packages in profiles"
  7574. msgstr ""
  7575. #. type: cindex
  7576. #: guix-git/doc/guix.texi:3461
  7577. #, no-wrap
  7578. msgid "profile collisions"
  7579. msgstr ""
  7580. #. type: item
  7581. #: guix-git/doc/guix.texi:3462
  7582. #, no-wrap
  7583. msgid "--allow-collisions"
  7584. msgstr ""
  7585. #. type: table
  7586. #: guix-git/doc/guix.texi:3464
  7587. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7588. msgstr ""
  7589. #. type: table
  7590. #: guix-git/doc/guix.texi:3468
  7591. 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."
  7592. msgstr ""
  7593. #. type: item
  7594. #: guix-git/doc/guix.texi:3469 guix-git/doc/guix.texi:4534
  7595. #: guix-git/doc/guix.texi:6300
  7596. #, no-wrap
  7597. msgid "--bootstrap"
  7598. msgstr ""
  7599. #. type: table
  7600. #: guix-git/doc/guix.texi:3472
  7601. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7602. msgstr ""
  7603. #. type: Plain text
  7604. #: guix-git/doc/guix.texi:3478
  7605. 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:"
  7606. msgstr ""
  7607. #. type: item
  7608. #: guix-git/doc/guix.texi:3481
  7609. #, no-wrap
  7610. msgid "--search=@var{regexp}"
  7611. msgstr ""
  7612. #. type: itemx
  7613. #: guix-git/doc/guix.texi:3482
  7614. #, no-wrap
  7615. msgid "-s @var{regexp}"
  7616. msgstr ""
  7617. #. type: anchor{#1}
  7618. #: guix-git/doc/guix.texi:3484
  7619. msgid "guix-search"
  7620. msgstr ""
  7621. #. type: cindex
  7622. #: guix-git/doc/guix.texi:3484
  7623. #, no-wrap
  7624. msgid "searching for packages"
  7625. msgstr ""
  7626. #. type: table
  7627. #: guix-git/doc/guix.texi:3490
  7628. 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})."
  7629. msgstr ""
  7630. #. type: table
  7631. #: guix-git/doc/guix.texi:3493
  7632. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7633. msgstr ""
  7634. #. type: example
  7635. #: guix-git/doc/guix.texi:3499
  7636. #, no-wrap
  7637. msgid ""
  7638. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7639. "name: jemalloc\n"
  7640. "version: 4.5.0\n"
  7641. "relevance: 6\n"
  7642. "\n"
  7643. msgstr ""
  7644. #. type: example
  7645. #: guix-git/doc/guix.texi:3503
  7646. #, no-wrap
  7647. msgid ""
  7648. "name: glibc\n"
  7649. "version: 2.25\n"
  7650. "relevance: 1\n"
  7651. "\n"
  7652. msgstr ""
  7653. #. type: example
  7654. #: guix-git/doc/guix.texi:3507
  7655. #, no-wrap
  7656. msgid ""
  7657. "name: libgc\n"
  7658. "version: 7.6.0\n"
  7659. "relevance: 1\n"
  7660. msgstr ""
  7661. #. type: table
  7662. #: guix-git/doc/guix.texi:3511
  7663. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7664. msgstr ""
  7665. #. type: example
  7666. #: guix-git/doc/guix.texi:3515
  7667. #, no-wrap
  7668. msgid ""
  7669. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7670. "name: elfutils\n"
  7671. "\n"
  7672. msgstr ""
  7673. #. type: example
  7674. #: guix-git/doc/guix.texi:3518
  7675. #, no-wrap
  7676. msgid ""
  7677. "name: gmp\n"
  7678. "@dots{}\n"
  7679. msgstr ""
  7680. #. type: table
  7681. #: guix-git/doc/guix.texi:3524
  7682. 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):"
  7683. msgstr ""
  7684. #. type: example
  7685. #: guix-git/doc/guix.texi:3529
  7686. #, no-wrap
  7687. msgid ""
  7688. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7689. "name: gnubg\n"
  7690. "@dots{}\n"
  7691. msgstr ""
  7692. #. type: table
  7693. #: guix-git/doc/guix.texi:3535
  7694. 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."
  7695. msgstr ""
  7696. #. type: table
  7697. #: guix-git/doc/guix.texi:3539
  7698. 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:"
  7699. msgstr ""
  7700. #. type: example
  7701. #: guix-git/doc/guix.texi:3543
  7702. #, no-wrap
  7703. msgid ""
  7704. "$ guix search crypto library | \\\n"
  7705. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7706. msgstr ""
  7707. #. type: table
  7708. #: guix-git/doc/guix.texi:3548
  7709. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7710. msgstr ""
  7711. #. type: item
  7712. #: guix-git/doc/guix.texi:3549
  7713. #, no-wrap
  7714. msgid "--show=@var{package}"
  7715. msgstr ""
  7716. #. type: table
  7717. #: guix-git/doc/guix.texi:3553
  7718. 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})."
  7719. msgstr ""
  7720. #. type: example
  7721. #: guix-git/doc/guix.texi:3558
  7722. #, no-wrap
  7723. msgid ""
  7724. "$ guix package --show=python | recsel -p name,version\n"
  7725. "name: python\n"
  7726. "version: 2.7.6\n"
  7727. "\n"
  7728. msgstr ""
  7729. #. type: example
  7730. #: guix-git/doc/guix.texi:3561
  7731. #, no-wrap
  7732. msgid ""
  7733. "name: python\n"
  7734. "version: 3.3.5\n"
  7735. msgstr ""
  7736. #. type: table
  7737. #: guix-git/doc/guix.texi:3565
  7738. 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):"
  7739. msgstr ""
  7740. #. type: example
  7741. #: guix-git/doc/guix.texi:3569
  7742. #, no-wrap
  7743. msgid ""
  7744. "$ guix show python@@3.4 | recsel -p name,version\n"
  7745. "name: python\n"
  7746. "version: 3.4.3\n"
  7747. msgstr ""
  7748. #. type: item
  7749. #: guix-git/doc/guix.texi:3573
  7750. #, no-wrap
  7751. msgid "--list-installed[=@var{regexp}]"
  7752. msgstr ""
  7753. #. type: itemx
  7754. #: guix-git/doc/guix.texi:3574
  7755. #, no-wrap
  7756. msgid "-I [@var{regexp}]"
  7757. msgstr ""
  7758. #. type: table
  7759. #: guix-git/doc/guix.texi:3578
  7760. 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}."
  7761. msgstr ""
  7762. #. type: table
  7763. #: guix-git/doc/guix.texi:3584
  7764. 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."
  7765. msgstr ""
  7766. #. type: item
  7767. #: guix-git/doc/guix.texi:3585
  7768. #, no-wrap
  7769. msgid "--list-available[=@var{regexp}]"
  7770. msgstr ""
  7771. #. type: itemx
  7772. #: guix-git/doc/guix.texi:3586
  7773. #, no-wrap
  7774. msgid "-A [@var{regexp}]"
  7775. msgstr ""
  7776. #. type: table
  7777. #: guix-git/doc/guix.texi:3590
  7778. 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}."
  7779. msgstr ""
  7780. #. type: table
  7781. #: guix-git/doc/guix.texi:3594
  7782. 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."
  7783. msgstr ""
  7784. #. type: item
  7785. #: guix-git/doc/guix.texi:3595 guix-git/doc/guix.texi:4447
  7786. #, no-wrap
  7787. msgid "--list-generations[=@var{pattern}]"
  7788. msgstr ""
  7789. #. type: itemx
  7790. #: guix-git/doc/guix.texi:3596 guix-git/doc/guix.texi:4448
  7791. #, no-wrap
  7792. msgid "-l [@var{pattern}]"
  7793. msgstr ""
  7794. #. type: table
  7795. #: guix-git/doc/guix.texi:3602
  7796. 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."
  7797. msgstr ""
  7798. #. type: table
  7799. #: guix-git/doc/guix.texi:3607
  7800. 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."
  7801. msgstr ""
  7802. #. type: table
  7803. #: guix-git/doc/guix.texi:3610
  7804. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  7805. msgstr ""
  7806. #. type: item
  7807. #: guix-git/doc/guix.texi:3612
  7808. #, no-wrap
  7809. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  7810. msgstr ""
  7811. #. type: itemize
  7812. #: guix-git/doc/guix.texi:3615
  7813. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  7814. msgstr ""
  7815. #. type: itemize
  7816. #: guix-git/doc/guix.texi:3618
  7817. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  7818. msgstr ""
  7819. #. type: item
  7820. #: guix-git/doc/guix.texi:3619
  7821. #, no-wrap
  7822. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  7823. msgstr ""
  7824. #. type: itemize
  7825. #: guix-git/doc/guix.texi:3622
  7826. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  7827. msgstr ""
  7828. #. type: itemize
  7829. #: guix-git/doc/guix.texi:3626
  7830. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  7831. msgstr ""
  7832. #. type: item
  7833. #: guix-git/doc/guix.texi:3627
  7834. #, no-wrap
  7835. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  7836. msgstr ""
  7837. #. type: itemize
  7838. #: guix-git/doc/guix.texi:3631
  7839. 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."
  7840. msgstr ""
  7841. #. type: item
  7842. #: guix-git/doc/guix.texi:3633 guix-git/doc/guix.texi:4472
  7843. #, no-wrap
  7844. msgid "--delete-generations[=@var{pattern}]"
  7845. msgstr ""
  7846. #. type: itemx
  7847. #: guix-git/doc/guix.texi:3634 guix-git/doc/guix.texi:4473
  7848. #, no-wrap
  7849. msgid "-d [@var{pattern}]"
  7850. msgstr ""
  7851. #. type: table
  7852. #: guix-git/doc/guix.texi:3637 guix-git/doc/guix.texi:4476
  7853. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  7854. msgstr ""
  7855. #. type: table
  7856. #: guix-git/doc/guix.texi:3643 guix-git/doc/guix.texi:4482
  7857. 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."
  7858. msgstr ""
  7859. #. type: table
  7860. #: guix-git/doc/guix.texi:3646
  7861. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  7862. msgstr ""
  7863. #. type: table
  7864. #: guix-git/doc/guix.texi:3649 guix-git/doc/guix.texi:4487
  7865. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  7866. msgstr ""
  7867. #. type: cindex
  7868. #: guix-git/doc/guix.texi:3650
  7869. #, no-wrap
  7870. msgid "manifest, exporting"
  7871. msgstr ""
  7872. #. type: anchor{#1}
  7873. #: guix-git/doc/guix.texi:3652
  7874. msgid "export-manifest"
  7875. msgstr ""
  7876. #. type: item
  7877. #: guix-git/doc/guix.texi:3652
  7878. #, no-wrap
  7879. msgid "--export-manifest"
  7880. msgstr ""
  7881. #. type: table
  7882. #: guix-git/doc/guix.texi:3655
  7883. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  7884. msgstr ""
  7885. #. type: table
  7886. #: guix-git/doc/guix.texi:3659
  7887. 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."
  7888. msgstr ""
  7889. #. type: table
  7890. #: guix-git/doc/guix.texi:3664
  7891. 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."
  7892. msgstr ""
  7893. #. type: table
  7894. #: guix-git/doc/guix.texi:3669
  7895. 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."
  7896. msgstr ""
  7897. #. type: cindex
  7898. #: guix-git/doc/guix.texi:3670
  7899. #, no-wrap
  7900. msgid "pinning, channel revisions of a profile"
  7901. msgstr ""
  7902. #. type: item
  7903. #: guix-git/doc/guix.texi:3671
  7904. #, no-wrap
  7905. msgid "--export-channels"
  7906. msgstr ""
  7907. #. type: table
  7908. #: guix-git/doc/guix.texi:3675
  7909. 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})."
  7910. msgstr ""
  7911. #. type: table
  7912. #: guix-git/doc/guix.texi:3679
  7913. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  7914. msgstr ""
  7915. #. type: table
  7916. #: guix-git/doc/guix.texi:3687
  7917. 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})."
  7918. msgstr ""
  7919. #. type: table
  7920. #: guix-git/doc/guix.texi:3692
  7921. 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."
  7922. msgstr ""
  7923. #. type: Plain text
  7924. #: guix-git/doc/guix.texi:3699
  7925. 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})."
  7926. msgstr ""
  7927. #. type: cindex
  7928. #: guix-git/doc/guix.texi:3704
  7929. #, no-wrap
  7930. msgid "pre-built binaries"
  7931. msgstr ""
  7932. #. type: Plain text
  7933. #: guix-git/doc/guix.texi:3710
  7934. 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."
  7935. msgstr ""
  7936. #. type: Plain text
  7937. #: guix-git/doc/guix.texi:3715
  7938. 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."
  7939. msgstr ""
  7940. #. type: cindex
  7941. #: guix-git/doc/guix.texi:3729
  7942. #, no-wrap
  7943. msgid "build farm"
  7944. msgstr ""
  7945. #. type: Plain text
  7946. #: guix-git/doc/guix.texi:3740
  7947. 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})."
  7948. msgstr ""
  7949. #. type: Plain text
  7950. #: guix-git/doc/guix.texi:3746
  7951. 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."
  7952. msgstr ""
  7953. #. type: Plain text
  7954. #: guix-git/doc/guix.texi:3755
  7955. 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."
  7956. msgstr ""
  7957. #. type: cindex
  7958. #: guix-git/doc/guix.texi:3759
  7959. #, no-wrap
  7960. msgid "security"
  7961. msgstr ""
  7962. #. type: cindex
  7963. #: guix-git/doc/guix.texi:3761
  7964. #, no-wrap
  7965. msgid "access control list (ACL), for substitutes"
  7966. msgstr ""
  7967. #. type: cindex
  7968. #: guix-git/doc/guix.texi:3762
  7969. #, no-wrap
  7970. msgid "ACL (access control list), for substitutes"
  7971. msgstr ""
  7972. #. type: Plain text
  7973. #: guix-git/doc/guix.texi:3768
  7974. 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."
  7975. msgstr ""
  7976. #. type: quotation
  7977. #: guix-git/doc/guix.texi:3773
  7978. 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."
  7979. msgstr ""
  7980. #. type: Plain text
  7981. #: guix-git/doc/guix.texi:3781
  7982. 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:"
  7983. msgstr ""
  7984. #. type: example
  7985. #: guix-git/doc/guix.texi:3785
  7986. #, no-wrap
  7987. msgid ""
  7988. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  7989. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  7990. msgstr ""
  7991. #. type: Plain text
  7992. #: guix-git/doc/guix.texi:3789
  7993. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  7994. msgstr ""
  7995. #. type: example
  7996. #: guix-git/doc/guix.texi:3798
  7997. #, no-wrap
  7998. msgid ""
  7999. "$ guix build emacs --dry-run\n"
  8000. "The following derivations would be built:\n"
  8001. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  8002. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  8003. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  8004. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  8005. "@dots{}\n"
  8006. msgstr ""
  8007. #. type: Plain text
  8008. #: guix-git/doc/guix.texi:3802
  8009. msgid "to something like:"
  8010. msgstr ""
  8011. #. type: example
  8012. #: guix-git/doc/guix.texi:3811
  8013. #, no-wrap
  8014. msgid ""
  8015. "$ guix build emacs --dry-run\n"
  8016. "112.3 MB would be downloaded:\n"
  8017. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  8018. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  8019. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  8020. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  8021. "@dots{}\n"
  8022. msgstr ""
  8023. #. type: Plain text
  8024. #: guix-git/doc/guix.texi:3818
  8025. 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."
  8026. msgstr ""
  8027. #. type: cindex
  8028. #: guix-git/doc/guix.texi:3819
  8029. #, no-wrap
  8030. msgid "substitutes, how to disable"
  8031. msgstr ""
  8032. #. type: Plain text
  8033. #: guix-git/doc/guix.texi:3825
  8034. 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."
  8035. msgstr ""
  8036. #. type: cindex
  8037. #: guix-git/doc/guix.texi:3829
  8038. #, no-wrap
  8039. msgid "substitute servers, adding more"
  8040. msgstr ""
  8041. #. type: Plain text
  8042. #: guix-git/doc/guix.texi:3836
  8043. 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."
  8044. msgstr ""
  8045. #. type: Plain text
  8046. #: guix-git/doc/guix.texi:3841
  8047. 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."
  8048. msgstr ""
  8049. #. type: Plain text
  8050. #: guix-git/doc/guix.texi:3848
  8051. 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}})."
  8052. msgstr ""
  8053. #. type: Plain text
  8054. #: guix-git/doc/guix.texi:3854
  8055. 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:"
  8056. msgstr ""
  8057. #. type: lisp
  8058. #: guix-git/doc/guix.texi:3871
  8059. #, no-wrap
  8060. msgid ""
  8061. "(operating-system\n"
  8062. " ;; @dots{}\n"
  8063. " (services\n"
  8064. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  8065. " ;; with the list of services you're actually using.\n"
  8066. " (modify-services %desktop-services\n"
  8067. " (guix-service-type config =>\n"
  8068. " (guix-configuration\n"
  8069. " (inherit config)\n"
  8070. " (substitute-urls\n"
  8071. " (append (list \"https://guix.example.org\")\n"
  8072. " %default-substitute-urls))\n"
  8073. " (authorized-keys\n"
  8074. " (append (list (local-file \"./key.pub\"))\n"
  8075. " %default-authorized-guix-keys)))))))\n"
  8076. msgstr ""
  8077. #. type: Plain text
  8078. #: guix-git/doc/guix.texi:3878
  8079. 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:"
  8080. msgstr ""
  8081. #. type: example
  8082. #: guix-git/doc/guix.texi:3882
  8083. #, no-wrap
  8084. msgid ""
  8085. "$ sudo guix system reconfigure /etc/config.scm\n"
  8086. "$ sudo herd restart guix-daemon\n"
  8087. msgstr ""
  8088. #. type: Plain text
  8089. #: guix-git/doc/guix.texi:3886
  8090. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8091. msgstr ""
  8092. #. type: enumerate
  8093. #: guix-git/doc/guix.texi:3895
  8094. 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}}):"
  8095. msgstr ""
  8096. #. type: example
  8097. #: guix-git/doc/guix.texi:3898
  8098. #, no-wrap
  8099. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8100. msgstr ""
  8101. #. type: enumerate
  8102. #: guix-git/doc/guix.texi:3902
  8103. msgid "Restart the daemon. For systemd, it goes like this:"
  8104. msgstr ""
  8105. #. type: example
  8106. #: guix-git/doc/guix.texi:3906
  8107. #, no-wrap
  8108. msgid ""
  8109. "systemctl daemon-reload\n"
  8110. "systemctl restart guix-daemon.service\n"
  8111. msgstr ""
  8112. #. type: enumerate
  8113. #: guix-git/doc/guix.texi:3910
  8114. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8115. msgstr ""
  8116. #. type: example
  8117. #: guix-git/doc/guix.texi:3913
  8118. #, no-wrap
  8119. msgid "guix archive --authorize < key.pub\n"
  8120. msgstr ""
  8121. #. type: enumerate
  8122. #: guix-git/doc/guix.texi:3917
  8123. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8124. msgstr ""
  8125. #. type: Plain text
  8126. #: guix-git/doc/guix.texi:3926
  8127. 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."
  8128. msgstr ""
  8129. #. type: Plain text
  8130. #: guix-git/doc/guix.texi:3930
  8131. 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."
  8132. msgstr ""
  8133. #. type: cindex
  8134. #: guix-git/doc/guix.texi:3934
  8135. #, no-wrap
  8136. msgid "digital signatures"
  8137. msgstr ""
  8138. #. type: Plain text
  8139. #: guix-git/doc/guix.texi:3938
  8140. 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."
  8141. msgstr ""
  8142. #. type: Plain text
  8143. #: guix-git/doc/guix.texi:3944
  8144. 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:"
  8145. msgstr ""
  8146. #. type: example
  8147. #: guix-git/doc/guix.texi:3947
  8148. #, no-wrap
  8149. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8150. msgstr ""
  8151. #. type: Plain text
  8152. #: guix-git/doc/guix.texi:3958
  8153. 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)."
  8154. msgstr ""
  8155. #. type: Plain text
  8156. #: guix-git/doc/guix.texi:3965
  8157. 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)."
  8158. msgstr ""
  8159. #. type: Plain text
  8160. #: guix-git/doc/guix.texi:3977
  8161. 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}."
  8162. msgstr ""
  8163. #. type: Plain text
  8164. #: guix-git/doc/guix.texi:3986
  8165. 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."
  8166. msgstr ""
  8167. #. type: Plain text
  8168. #: guix-git/doc/guix.texi:4000
  8169. 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."
  8170. msgstr ""
  8171. #. type: Plain text
  8172. #: guix-git/doc/guix.texi:4005
  8173. 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."
  8174. msgstr ""
  8175. #. type: cindex
  8176. #: guix-git/doc/guix.texi:4009
  8177. #, no-wrap
  8178. msgid "trust, of pre-built binaries"
  8179. msgstr ""
  8180. #. type: Plain text
  8181. #: guix-git/doc/guix.texi:4019
  8182. 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})."
  8183. msgstr ""
  8184. #. type: Plain text
  8185. #: guix-git/doc/guix.texi:4031
  8186. 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}})."
  8187. msgstr ""
  8188. #. type: Plain text
  8189. #: guix-git/doc/guix.texi:4035
  8190. 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}."
  8191. msgstr ""
  8192. #. type: cindex
  8193. #: guix-git/doc/guix.texi:4039
  8194. #, no-wrap
  8195. msgid "multiple-output packages"
  8196. msgstr ""
  8197. #. type: cindex
  8198. #: guix-git/doc/guix.texi:4040
  8199. #, no-wrap
  8200. msgid "package outputs"
  8201. msgstr ""
  8202. #. type: cindex
  8203. #: guix-git/doc/guix.texi:4041
  8204. #, no-wrap
  8205. msgid "outputs"
  8206. msgstr ""
  8207. #. type: Plain text
  8208. #: guix-git/doc/guix.texi:4051
  8209. 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."
  8210. msgstr ""
  8211. #. type: Plain text
  8212. #: guix-git/doc/guix.texi:4059
  8213. 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:"
  8214. msgstr ""
  8215. #. type: example
  8216. #: guix-git/doc/guix.texi:4062
  8217. #, no-wrap
  8218. msgid "guix install glib\n"
  8219. msgstr ""
  8220. #. type: item
  8221. #: guix-git/doc/guix.texi:4064 guix-git/doc/guix.texi:35224
  8222. #: guix-git/doc/guix.texi:35281
  8223. #, no-wrap
  8224. msgid "documentation"
  8225. msgstr ""
  8226. #. type: Plain text
  8227. #: guix-git/doc/guix.texi:4066
  8228. msgid "The command to install its documentation is:"
  8229. msgstr ""
  8230. #. type: example
  8231. #: guix-git/doc/guix.texi:4069
  8232. #, no-wrap
  8233. msgid "guix install glib:doc\n"
  8234. msgstr ""
  8235. #. type: Plain text
  8236. #: guix-git/doc/guix.texi:4080
  8237. 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})."
  8238. msgstr ""
  8239. #. type: Plain text
  8240. #: guix-git/doc/guix.texi:4088
  8241. 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})."
  8242. msgstr ""
  8243. #. type: section
  8244. #: guix-git/doc/guix.texi:4091
  8245. #, no-wrap
  8246. msgid "Invoking @command{guix gc}"
  8247. msgstr ""
  8248. #. type: cindex
  8249. #: guix-git/doc/guix.texi:4093
  8250. #, no-wrap
  8251. msgid "garbage collector"
  8252. msgstr ""
  8253. #. type: cindex
  8254. #: guix-git/doc/guix.texi:4094
  8255. #, no-wrap
  8256. msgid "disk space"
  8257. msgstr ""
  8258. #. type: Plain text
  8259. #: guix-git/doc/guix.texi:4100
  8260. 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!"
  8261. msgstr ""
  8262. #. type: Plain text
  8263. #: guix-git/doc/guix.texi:4111
  8264. 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."
  8265. msgstr ""
  8266. #. type: Plain text
  8267. #: guix-git/doc/guix.texi:4117
  8268. 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})."
  8269. msgstr ""
  8270. #. type: Plain text
  8271. #: guix-git/doc/guix.texi:4121
  8272. 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:"
  8273. msgstr ""
  8274. #. type: example
  8275. #: guix-git/doc/guix.texi:4124
  8276. #, no-wrap
  8277. msgid "guix gc -F 5G\n"
  8278. msgstr ""
  8279. #. type: Plain text
  8280. #: guix-git/doc/guix.texi:4133
  8281. 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."
  8282. msgstr ""
  8283. #. type: Plain text
  8284. #: guix-git/doc/guix.texi:4139
  8285. 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:"
  8286. msgstr ""
  8287. #. type: item
  8288. #: guix-git/doc/guix.texi:4141
  8289. #, no-wrap
  8290. msgid "--collect-garbage[=@var{min}]"
  8291. msgstr ""
  8292. #. type: itemx
  8293. #: guix-git/doc/guix.texi:4142
  8294. #, no-wrap
  8295. msgid "-C [@var{min}]"
  8296. msgstr ""
  8297. #. type: table
  8298. #: guix-git/doc/guix.texi:4146
  8299. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8300. msgstr ""
  8301. #. type: table
  8302. #: guix-git/doc/guix.texi:4151
  8303. 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})."
  8304. msgstr ""
  8305. #. type: table
  8306. #: guix-git/doc/guix.texi:4153
  8307. msgid "When @var{min} is omitted, collect all the garbage."
  8308. msgstr ""
  8309. #. type: item
  8310. #: guix-git/doc/guix.texi:4154
  8311. #, no-wrap
  8312. msgid "--free-space=@var{free}"
  8313. msgstr ""
  8314. #. type: itemx
  8315. #: guix-git/doc/guix.texi:4155
  8316. #, no-wrap
  8317. msgid "-F @var{free}"
  8318. msgstr ""
  8319. #. type: table
  8320. #: guix-git/doc/guix.texi:4159
  8321. 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."
  8322. msgstr ""
  8323. #. type: table
  8324. #: guix-git/doc/guix.texi:4162
  8325. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8326. msgstr ""
  8327. #. type: item
  8328. #: guix-git/doc/guix.texi:4163
  8329. #, no-wrap
  8330. msgid "--delete-generations[=@var{duration}]"
  8331. msgstr ""
  8332. #. type: itemx
  8333. #: guix-git/doc/guix.texi:4164
  8334. #, no-wrap
  8335. msgid "-d [@var{duration}]"
  8336. msgstr ""
  8337. #. type: table
  8338. #: guix-git/doc/guix.texi:4168
  8339. 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}."
  8340. msgstr ""
  8341. #. type: table
  8342. #: guix-git/doc/guix.texi:4172
  8343. 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:"
  8344. msgstr ""
  8345. #. type: example
  8346. #: guix-git/doc/guix.texi:4175
  8347. #, no-wrap
  8348. msgid "guix gc -d 2m -F 10G\n"
  8349. msgstr ""
  8350. #. type: item
  8351. #: guix-git/doc/guix.texi:4177
  8352. #, no-wrap
  8353. msgid "--delete"
  8354. msgstr ""
  8355. #. type: itemx
  8356. #: guix-git/doc/guix.texi:4178
  8357. #, no-wrap
  8358. msgid "-D"
  8359. msgstr ""
  8360. #. type: table
  8361. #: guix-git/doc/guix.texi:4182
  8362. 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."
  8363. msgstr ""
  8364. #. type: item
  8365. #: guix-git/doc/guix.texi:4183
  8366. #, no-wrap
  8367. msgid "--list-failures"
  8368. msgstr ""
  8369. #. type: table
  8370. #: guix-git/doc/guix.texi:4185
  8371. msgid "List store items corresponding to cached build failures."
  8372. msgstr ""
  8373. #. type: table
  8374. #: guix-git/doc/guix.texi:4189
  8375. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8376. msgstr ""
  8377. #. type: item
  8378. #: guix-git/doc/guix.texi:4190
  8379. #, no-wrap
  8380. msgid "--list-roots"
  8381. msgstr ""
  8382. #. type: table
  8383. #: guix-git/doc/guix.texi:4193
  8384. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8385. msgstr ""
  8386. #. type: item
  8387. #: guix-git/doc/guix.texi:4194
  8388. #, no-wrap
  8389. msgid "--list-busy"
  8390. msgstr ""
  8391. #. type: table
  8392. #: guix-git/doc/guix.texi:4197
  8393. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8394. msgstr ""
  8395. #. type: item
  8396. #: guix-git/doc/guix.texi:4198
  8397. #, no-wrap
  8398. msgid "--clear-failures"
  8399. msgstr ""
  8400. #. type: table
  8401. #: guix-git/doc/guix.texi:4200
  8402. msgid "Remove the specified store items from the failed-build cache."
  8403. msgstr ""
  8404. #. type: table
  8405. #: guix-git/doc/guix.texi:4203
  8406. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8407. msgstr ""
  8408. #. type: item
  8409. #: guix-git/doc/guix.texi:4204
  8410. #, no-wrap
  8411. msgid "--list-dead"
  8412. msgstr ""
  8413. #. type: table
  8414. #: guix-git/doc/guix.texi:4207
  8415. 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."
  8416. msgstr ""
  8417. #. type: item
  8418. #: guix-git/doc/guix.texi:4208
  8419. #, no-wrap
  8420. msgid "--list-live"
  8421. msgstr ""
  8422. #. type: table
  8423. #: guix-git/doc/guix.texi:4210
  8424. msgid "Show the list of live store files and directories."
  8425. msgstr ""
  8426. #. type: Plain text
  8427. #: guix-git/doc/guix.texi:4214
  8428. msgid "In addition, the references among existing store files can be queried:"
  8429. msgstr ""
  8430. #. type: item
  8431. #: guix-git/doc/guix.texi:4217
  8432. #, no-wrap
  8433. msgid "--references"
  8434. msgstr ""
  8435. #. type: itemx
  8436. #: guix-git/doc/guix.texi:4218
  8437. #, no-wrap
  8438. msgid "--referrers"
  8439. msgstr ""
  8440. #. type: cindex
  8441. #: guix-git/doc/guix.texi:4219 guix-git/doc/guix.texi:12465
  8442. #, no-wrap
  8443. msgid "package dependencies"
  8444. msgstr ""
  8445. #. type: table
  8446. #: guix-git/doc/guix.texi:4222
  8447. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8448. msgstr ""
  8449. #. type: item
  8450. #: guix-git/doc/guix.texi:4223
  8451. #, no-wrap
  8452. msgid "--requisites"
  8453. msgstr ""
  8454. #. type: itemx
  8455. #: guix-git/doc/guix.texi:4224 guix-git/doc/guix.texi:6100
  8456. #, no-wrap
  8457. msgid "-R"
  8458. msgstr ""
  8459. #. type: item
  8460. #: guix-git/doc/guix.texi:4225 guix-git/doc/guix.texi:12321
  8461. #: guix-git/doc/guix.texi:12349 guix-git/doc/guix.texi:12430
  8462. #, no-wrap
  8463. msgid "closure"
  8464. msgstr ""
  8465. #. type: table
  8466. #: guix-git/doc/guix.texi:4230
  8467. 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."
  8468. msgstr ""
  8469. #. type: table
  8470. #: guix-git/doc/guix.texi:4234
  8471. 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."
  8472. msgstr ""
  8473. #. type: item
  8474. #: guix-git/doc/guix.texi:4235
  8475. #, no-wrap
  8476. msgid "--derivers"
  8477. msgstr ""
  8478. #. type: item
  8479. #: guix-git/doc/guix.texi:4236 guix-git/doc/guix.texi:6414
  8480. #: guix-git/doc/guix.texi:12184 guix-git/doc/guix.texi:12574
  8481. #, no-wrap
  8482. msgid "derivation"
  8483. msgstr ""
  8484. #. type: table
  8485. #: guix-git/doc/guix.texi:4239
  8486. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8487. msgstr ""
  8488. #. type: table
  8489. #: guix-git/doc/guix.texi:4241
  8490. msgid "For example, this command:"
  8491. msgstr ""
  8492. #. type: example
  8493. #: guix-git/doc/guix.texi:4244
  8494. #, no-wrap
  8495. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8496. msgstr ""
  8497. #. type: table
  8498. #: guix-git/doc/guix.texi:4249
  8499. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8500. msgstr ""
  8501. #. type: table
  8502. #: guix-git/doc/guix.texi:4253
  8503. 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."
  8504. msgstr ""
  8505. #. type: Plain text
  8506. #: guix-git/doc/guix.texi:4257
  8507. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8508. msgstr ""
  8509. #. type: item
  8510. #: guix-git/doc/guix.texi:4260
  8511. #, no-wrap
  8512. msgid "--verify[=@var{options}]"
  8513. msgstr ""
  8514. #. type: cindex
  8515. #: guix-git/doc/guix.texi:4261
  8516. #, no-wrap
  8517. msgid "integrity, of the store"
  8518. msgstr ""
  8519. #. type: cindex
  8520. #: guix-git/doc/guix.texi:4262
  8521. #, no-wrap
  8522. msgid "integrity checking"
  8523. msgstr ""
  8524. #. type: table
  8525. #: guix-git/doc/guix.texi:4264
  8526. msgid "Verify the integrity of the store."
  8527. msgstr ""
  8528. #. type: table
  8529. #: guix-git/doc/guix.texi:4267
  8530. 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}."
  8531. msgstr ""
  8532. #. type: table
  8533. #: guix-git/doc/guix.texi:4270
  8534. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8535. msgstr ""
  8536. #. type: table
  8537. #: guix-git/doc/guix.texi:4276
  8538. 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."
  8539. msgstr ""
  8540. #. type: cindex
  8541. #: guix-git/doc/guix.texi:4277
  8542. #, no-wrap
  8543. msgid "repairing the store"
  8544. msgstr ""
  8545. #. type: cindex
  8546. #: guix-git/doc/guix.texi:4278 guix-git/doc/guix.texi:10950
  8547. #, no-wrap
  8548. msgid "corruption, recovering from"
  8549. msgstr ""
  8550. #. type: table
  8551. #: guix-git/doc/guix.texi:4286
  8552. 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})."
  8553. msgstr ""
  8554. #. type: item
  8555. #: guix-git/doc/guix.texi:4287
  8556. #, no-wrap
  8557. msgid "--optimize"
  8558. msgstr ""
  8559. #. type: table
  8560. #: guix-git/doc/guix.texi:4291
  8561. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8562. msgstr ""
  8563. #. type: table
  8564. #: guix-git/doc/guix.texi:4297
  8565. 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}."
  8566. msgstr ""
  8567. #. type: section
  8568. #: guix-git/doc/guix.texi:4301
  8569. #, no-wrap
  8570. msgid "Invoking @command{guix pull}"
  8571. msgstr ""
  8572. #. type: cindex
  8573. #: guix-git/doc/guix.texi:4303
  8574. #, no-wrap
  8575. msgid "upgrading Guix"
  8576. msgstr ""
  8577. #. type: cindex
  8578. #: guix-git/doc/guix.texi:4304
  8579. #, no-wrap
  8580. msgid "updating Guix"
  8581. msgstr ""
  8582. #. type: command{#1}
  8583. #: guix-git/doc/guix.texi:4305
  8584. #, no-wrap
  8585. msgid "guix pull"
  8586. msgstr ""
  8587. #. type: cindex
  8588. #: guix-git/doc/guix.texi:4306
  8589. #, no-wrap
  8590. msgid "pull"
  8591. msgstr ""
  8592. #. type: cindex
  8593. #: guix-git/doc/guix.texi:4307
  8594. #, no-wrap
  8595. msgid "security, @command{guix pull}"
  8596. msgstr ""
  8597. #. type: cindex
  8598. #: guix-git/doc/guix.texi:4308
  8599. #, no-wrap
  8600. msgid "authenticity, of code obtained with @command{guix pull}"
  8601. msgstr ""
  8602. #. type: Plain text
  8603. #: guix-git/doc/guix.texi:4318
  8604. 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."
  8605. msgstr ""
  8606. #. type: Plain text
  8607. #: guix-git/doc/guix.texi:4321
  8608. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8609. msgstr ""
  8610. #. type: enumerate
  8611. #: guix-git/doc/guix.texi:4325
  8612. msgid "the @option{--channels} option;"
  8613. msgstr ""
  8614. #. type: enumerate
  8615. #: guix-git/doc/guix.texi:4327
  8616. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8617. msgstr ""
  8618. #. type: enumerate
  8619. #: guix-git/doc/guix.texi:4329
  8620. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8621. msgstr ""
  8622. #. type: enumerate
  8623. #: guix-git/doc/guix.texi:4332
  8624. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8625. msgstr ""
  8626. #. type: Plain text
  8627. #: guix-git/doc/guix.texi:4339
  8628. 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."
  8629. msgstr ""
  8630. #. type: Plain text
  8631. #: guix-git/doc/guix.texi:4345
  8632. 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."
  8633. msgstr ""
  8634. #. type: Plain text
  8635. #: guix-git/doc/guix.texi:4351
  8636. 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}):"
  8637. msgstr ""
  8638. #. type: example
  8639. #: guix-git/doc/guix.texi:4355
  8640. #, no-wrap
  8641. msgid ""
  8642. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8643. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8644. msgstr ""
  8645. #. type: Plain text
  8646. #: guix-git/doc/guix.texi:4359
  8647. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8648. msgstr ""
  8649. #. type: example
  8650. #: guix-git/doc/guix.texi:4367
  8651. #, no-wrap
  8652. msgid ""
  8653. "$ guix pull -l\n"
  8654. "Generation 1\tJun 10 2018 00:18:18\n"
  8655. " guix 65956ad\n"
  8656. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8657. " branch: origin/master\n"
  8658. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8659. "\n"
  8660. msgstr ""
  8661. #. type: example
  8662. #: guix-git/doc/guix.texi:4377
  8663. #, no-wrap
  8664. msgid ""
  8665. "Generation 2\tJun 11 2018 11:02:49\n"
  8666. " guix e0cc7f6\n"
  8667. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8668. " branch: origin/master\n"
  8669. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8670. " 2 new packages: keepalived, libnfnetlink\n"
  8671. " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n"
  8672. " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n"
  8673. " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n"
  8674. "\n"
  8675. msgstr ""
  8676. #. type: example
  8677. #: guix-git/doc/guix.texi:4385
  8678. #, no-wrap
  8679. msgid ""
  8680. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8681. " guix 844cc1c\n"
  8682. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8683. " branch: origin/master\n"
  8684. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8685. " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n"
  8686. " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n"
  8687. msgstr ""
  8688. #. type: Plain text
  8689. #: guix-git/doc/guix.texi:4389
  8690. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8691. msgstr ""
  8692. #. type: Plain text
  8693. #: guix-git/doc/guix.texi:4394
  8694. 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:"
  8695. msgstr ""
  8696. #. type: example
  8697. #: guix-git/doc/guix.texi:4400
  8698. #, no-wrap
  8699. msgid ""
  8700. "$ guix pull --roll-back\n"
  8701. "switched from generation 3 to 2\n"
  8702. "$ guix pull --delete-generations=1\n"
  8703. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8704. msgstr ""
  8705. #. type: Plain text
  8706. #: guix-git/doc/guix.texi:4404
  8707. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8708. msgstr ""
  8709. #. type: example
  8710. #: guix-git/doc/guix.texi:4409
  8711. #, no-wrap
  8712. msgid ""
  8713. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8714. "switched from generation 3 to 2\n"
  8715. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8716. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8717. msgstr ""
  8718. #. type: Plain text
  8719. #: guix-git/doc/guix.texi:4413
  8720. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8721. msgstr ""
  8722. #. type: item
  8723. #: guix-git/doc/guix.texi:4415 guix-git/doc/guix.texi:4573
  8724. #, no-wrap
  8725. msgid "--url=@var{url}"
  8726. msgstr ""
  8727. #. type: itemx
  8728. #: guix-git/doc/guix.texi:4416 guix-git/doc/guix.texi:4574
  8729. #, no-wrap
  8730. msgid "--commit=@var{commit}"
  8731. msgstr ""
  8732. #. type: itemx
  8733. #: guix-git/doc/guix.texi:4417 guix-git/doc/guix.texi:4575
  8734. #, no-wrap
  8735. msgid "--branch=@var{branch}"
  8736. msgstr ""
  8737. #. type: table
  8738. #: guix-git/doc/guix.texi:4421
  8739. 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}."
  8740. msgstr ""
  8741. #. type: cindex
  8742. #: guix-git/doc/guix.texi:4422 guix-git/doc/guix.texi:5019
  8743. #, no-wrap
  8744. msgid "@file{channels.scm}, configuration file"
  8745. msgstr ""
  8746. #. type: cindex
  8747. #: guix-git/doc/guix.texi:4423 guix-git/doc/guix.texi:5020
  8748. #, no-wrap
  8749. msgid "configuration file for channels"
  8750. msgstr ""
  8751. #. type: table
  8752. #: guix-git/doc/guix.texi:4427
  8753. 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)."
  8754. msgstr ""
  8755. #. type: item
  8756. #: guix-git/doc/guix.texi:4428 guix-git/doc/guix.texi:4580
  8757. #, no-wrap
  8758. msgid "--channels=@var{file}"
  8759. msgstr ""
  8760. #. type: itemx
  8761. #: guix-git/doc/guix.texi:4429 guix-git/doc/guix.texi:4581
  8762. #, no-wrap
  8763. msgid "-C @var{file}"
  8764. msgstr ""
  8765. #. type: table
  8766. #: guix-git/doc/guix.texi:4435
  8767. 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."
  8768. msgstr ""
  8769. #. type: cindex
  8770. #: guix-git/doc/guix.texi:4436
  8771. #, no-wrap
  8772. msgid "channel news"
  8773. msgstr ""
  8774. #. type: item
  8775. #: guix-git/doc/guix.texi:4437
  8776. #, no-wrap
  8777. msgid "--news"
  8778. msgstr ""
  8779. #. type: itemx
  8780. #: guix-git/doc/guix.texi:4438 guix-git/doc/guix.texi:5846
  8781. #: guix-git/doc/guix.texi:34170
  8782. #, no-wrap
  8783. msgid "-N"
  8784. msgstr ""
  8785. #. type: table
  8786. #: guix-git/doc/guix.texi:4442
  8787. 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})."
  8788. msgstr ""
  8789. #. type: table
  8790. #: guix-git/doc/guix.texi:4446
  8791. 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)."
  8792. msgstr ""
  8793. #. type: table
  8794. #: guix-git/doc/guix.texi:4453
  8795. 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})."
  8796. msgstr ""
  8797. #. type: table
  8798. #: guix-git/doc/guix.texi:4460
  8799. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  8800. msgstr ""
  8801. #. type: table
  8802. #: guix-git/doc/guix.texi:4484
  8803. msgid "If the current generation matches, it is @emph{not} deleted."
  8804. msgstr ""
  8805. #. type: table
  8806. #: guix-git/doc/guix.texi:4490
  8807. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  8808. msgstr ""
  8809. #. type: table
  8810. #: guix-git/doc/guix.texi:4494
  8811. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  8812. msgstr ""
  8813. #. type: item
  8814. #: guix-git/doc/guix.texi:4495 guix-git/doc/guix.texi:10340
  8815. #, no-wrap
  8816. msgid "--dry-run"
  8817. msgstr ""
  8818. #. type: itemx
  8819. #: guix-git/doc/guix.texi:4496 guix-git/doc/guix.texi:10341
  8820. #: guix-git/doc/guix.texi:12303
  8821. #, no-wrap
  8822. msgid "-n"
  8823. msgstr ""
  8824. #. type: table
  8825. #: guix-git/doc/guix.texi:4499
  8826. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  8827. msgstr ""
  8828. #. type: item
  8829. #: guix-git/doc/guix.texi:4500 guix-git/doc/guix.texi:34189
  8830. #, no-wrap
  8831. msgid "--allow-downgrades"
  8832. msgstr ""
  8833. #. type: table
  8834. #: guix-git/doc/guix.texi:4503
  8835. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  8836. msgstr ""
  8837. #. type: cindex
  8838. #: guix-git/doc/guix.texi:4504
  8839. #, no-wrap
  8840. msgid "downgrade attacks, protection against"
  8841. msgstr ""
  8842. #. type: table
  8843. #: guix-git/doc/guix.texi:4509
  8844. 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."
  8845. msgstr ""
  8846. #. type: quotation
  8847. #: guix-git/doc/guix.texi:4513 guix-git/doc/guix.texi:34203
  8848. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  8849. msgstr ""
  8850. #. type: item
  8851. #: guix-git/doc/guix.texi:4515
  8852. #, no-wrap
  8853. msgid "--disable-authentication"
  8854. msgstr ""
  8855. #. type: table
  8856. #: guix-git/doc/guix.texi:4517
  8857. msgid "Allow pulling channel code without authenticating it."
  8858. msgstr ""
  8859. #. type: cindex
  8860. #: guix-git/doc/guix.texi:4518 guix-git/doc/guix.texi:5165
  8861. #, no-wrap
  8862. msgid "authentication, of channel code"
  8863. msgstr ""
  8864. #. type: table
  8865. #: guix-git/doc/guix.texi:4523
  8866. 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."
  8867. msgstr ""
  8868. #. type: quotation
  8869. #: guix-git/doc/guix.texi:4527
  8870. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  8871. msgstr ""
  8872. #. type: itemx
  8873. #: guix-git/doc/guix.texi:4530 guix-git/doc/guix.texi:5829
  8874. #: guix-git/doc/guix.texi:6229 guix-git/doc/guix.texi:10892
  8875. #: guix-git/doc/guix.texi:12448 guix-git/doc/guix.texi:12713
  8876. #: guix-git/doc/guix.texi:13390 guix-git/doc/guix.texi:34118
  8877. #, no-wrap
  8878. msgid "-s @var{system}"
  8879. msgstr ""
  8880. #. type: table
  8881. #: guix-git/doc/guix.texi:4533 guix-git/doc/guix.texi:6232
  8882. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  8883. msgstr ""
  8884. #. type: table
  8885. #: guix-git/doc/guix.texi:4537
  8886. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  8887. msgstr ""
  8888. #. type: Plain text
  8889. #: guix-git/doc/guix.texi:4543
  8890. 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."
  8891. msgstr ""
  8892. #. type: Plain text
  8893. #: guix-git/doc/guix.texi:4546
  8894. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  8895. msgstr ""
  8896. #. type: section
  8897. #: guix-git/doc/guix.texi:4548
  8898. #, no-wrap
  8899. msgid "Invoking @command{guix time-machine}"
  8900. msgstr ""
  8901. #. type: command{#1}
  8902. #: guix-git/doc/guix.texi:4550
  8903. #, no-wrap
  8904. msgid "guix time-machine"
  8905. msgstr ""
  8906. #. type: cindex
  8907. #: guix-git/doc/guix.texi:4551 guix-git/doc/guix.texi:5123
  8908. #, no-wrap
  8909. msgid "pinning, channels"
  8910. msgstr ""
  8911. #. type: cindex
  8912. #: guix-git/doc/guix.texi:4552 guix-git/doc/guix.texi:4734
  8913. #: guix-git/doc/guix.texi:5124
  8914. #, no-wrap
  8915. msgid "replicating Guix"
  8916. msgstr ""
  8917. #. type: cindex
  8918. #: guix-git/doc/guix.texi:4553 guix-git/doc/guix.texi:5125
  8919. #, no-wrap
  8920. msgid "reproducibility, of Guix"
  8921. msgstr ""
  8922. #. type: Plain text
  8923. #: guix-git/doc/guix.texi:4561
  8924. 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})."
  8925. msgstr ""
  8926. #. type: Plain text
  8927. #: guix-git/doc/guix.texi:4563 guix-git/doc/guix.texi:5578
  8928. #: guix-git/doc/guix.texi:6352 guix-git/doc/guix.texi:10137
  8929. #: guix-git/doc/guix.texi:10260 guix-git/doc/guix.texi:11183
  8930. #: guix-git/doc/guix.texi:11260 guix-git/doc/guix.texi:12278
  8931. #: guix-git/doc/guix.texi:12771 guix-git/doc/guix.texi:13144
  8932. #: guix-git/doc/guix.texi:13233 guix-git/doc/guix.texi:13272
  8933. #: guix-git/doc/guix.texi:13369
  8934. msgid "The general syntax is:"
  8935. msgstr ""
  8936. #. type: example
  8937. #: guix-git/doc/guix.texi:4566
  8938. #, no-wrap
  8939. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  8940. msgstr ""
  8941. #. type: Plain text
  8942. #: guix-git/doc/guix.texi:4571
  8943. 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}):"
  8944. msgstr ""
  8945. #. type: table
  8946. #: guix-git/doc/guix.texi:4579
  8947. 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}."
  8948. msgstr ""
  8949. #. type: table
  8950. #: guix-git/doc/guix.texi:4585
  8951. 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."
  8952. msgstr ""
  8953. #. type: Plain text
  8954. #: guix-git/doc/guix.texi:4589
  8955. 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"
  8956. msgstr ""
  8957. #. type: example
  8958. #: guix-git/doc/guix.texi:4592
  8959. #, no-wrap
  8960. msgid "guix time-machine -- build hello\n"
  8961. msgstr ""
  8962. #. type: Plain text
  8963. #: guix-git/doc/guix.texi:4597
  8964. 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!"
  8965. msgstr ""
  8966. #. type: Plain text
  8967. #: guix-git/doc/guix.texi:4601
  8968. 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})."
  8969. msgstr ""
  8970. #. type: quotation
  8971. #: guix-git/doc/guix.texi:4609
  8972. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  8973. msgstr ""
  8974. #. type: cindex
  8975. #: guix-git/doc/guix.texi:4611 guix-git/doc/guix.texi:10174
  8976. #, no-wrap
  8977. msgid "inferiors"
  8978. msgstr ""
  8979. #. type: cindex
  8980. #: guix-git/doc/guix.texi:4612
  8981. #, no-wrap
  8982. msgid "composition of Guix revisions"
  8983. msgstr ""
  8984. #. type: Plain text
  8985. #: guix-git/doc/guix.texi:4617
  8986. 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."
  8987. msgstr ""
  8988. #. type: cindex
  8989. #: guix-git/doc/guix.texi:4618 guix-git/doc/guix.texi:4683
  8990. #, no-wrap
  8991. msgid "inferior packages"
  8992. msgstr ""
  8993. #. type: Plain text
  8994. #: guix-git/doc/guix.texi:4624
  8995. 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}."
  8996. msgstr ""
  8997. #. type: Plain text
  8998. #: guix-git/doc/guix.texi:4634
  8999. 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:"
  9000. msgstr ""
  9001. #. type: lisp
  9002. #: guix-git/doc/guix.texi:4638
  9003. #, no-wrap
  9004. msgid ""
  9005. "(use-modules (guix inferior) (guix channels)\n"
  9006. " (srfi srfi-1)) ;for 'first'\n"
  9007. "\n"
  9008. msgstr ""
  9009. #. type: lisp
  9010. #: guix-git/doc/guix.texi:4647
  9011. #, no-wrap
  9012. msgid ""
  9013. "(define channels\n"
  9014. " ;; This is the old revision from which we want to\n"
  9015. " ;; extract guile-json.\n"
  9016. " (list (channel\n"
  9017. " (name 'guix)\n"
  9018. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9019. " (commit\n"
  9020. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  9021. "\n"
  9022. msgstr ""
  9023. #. type: lisp
  9024. #: guix-git/doc/guix.texi:4651
  9025. #, no-wrap
  9026. msgid ""
  9027. "(define inferior\n"
  9028. " ;; An inferior representing the above revision.\n"
  9029. " (inferior-for-channels channels))\n"
  9030. "\n"
  9031. msgstr ""
  9032. #. type: lisp
  9033. #: guix-git/doc/guix.texi:4657
  9034. #, no-wrap
  9035. msgid ""
  9036. ";; Now create a manifest with the current \"guile\" package\n"
  9037. ";; and the old \"guile-json\" package.\n"
  9038. "(packages->manifest\n"
  9039. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  9040. " (specification->package \"guile\")))\n"
  9041. msgstr ""
  9042. #. type: Plain text
  9043. #: guix-git/doc/guix.texi:4662
  9044. 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."
  9045. msgstr ""
  9046. #. type: Plain text
  9047. #: guix-git/doc/guix.texi:4665
  9048. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  9049. msgstr ""
  9050. #. type: deffn
  9051. #: guix-git/doc/guix.texi:4666
  9052. #, no-wrap
  9053. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  9054. msgstr ""
  9055. #. type: deffn
  9056. #: guix-git/doc/guix.texi:4671
  9057. 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."
  9058. msgstr ""
  9059. #. type: deffn
  9060. #: guix-git/doc/guix.texi:4674
  9061. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  9062. msgstr ""
  9063. #. type: deffn
  9064. #: guix-git/doc/guix.texi:4676
  9065. #, no-wrap
  9066. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  9067. msgstr ""
  9068. #. type: deffn
  9069. #: guix-git/doc/guix.texi:4681
  9070. 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."
  9071. msgstr ""
  9072. #. type: Plain text
  9073. #: guix-git/doc/guix.texi:4686
  9074. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  9075. msgstr ""
  9076. #. type: deffn
  9077. #: guix-git/doc/guix.texi:4687
  9078. #, no-wrap
  9079. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  9080. msgstr ""
  9081. #. type: deffn
  9082. #: guix-git/doc/guix.texi:4689
  9083. msgid "Return the list of packages known to @var{inferior}."
  9084. msgstr ""
  9085. #. type: deffn
  9086. #: guix-git/doc/guix.texi:4691
  9087. #, no-wrap
  9088. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  9089. msgstr ""
  9090. #. type: deffn
  9091. #: guix-git/doc/guix.texi:4696
  9092. 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}."
  9093. msgstr ""
  9094. #. type: deffn
  9095. #: guix-git/doc/guix.texi:4698
  9096. #, no-wrap
  9097. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9098. msgstr ""
  9099. #. type: deffn
  9100. #: guix-git/doc/guix.texi:4700
  9101. msgid "Return true if @var{obj} is an inferior package."
  9102. msgstr ""
  9103. #. type: deffn
  9104. #: guix-git/doc/guix.texi:4702
  9105. #, no-wrap
  9106. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9107. msgstr ""
  9108. #. type: deffnx
  9109. #: guix-git/doc/guix.texi:4703
  9110. #, no-wrap
  9111. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9112. msgstr ""
  9113. #. type: deffnx
  9114. #: guix-git/doc/guix.texi:4704
  9115. #, no-wrap
  9116. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9117. msgstr ""
  9118. #. type: deffnx
  9119. #: guix-git/doc/guix.texi:4705
  9120. #, no-wrap
  9121. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9122. msgstr ""
  9123. #. type: deffnx
  9124. #: guix-git/doc/guix.texi:4706
  9125. #, no-wrap
  9126. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9127. msgstr ""
  9128. #. type: deffnx
  9129. #: guix-git/doc/guix.texi:4707
  9130. #, no-wrap
  9131. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9132. msgstr ""
  9133. #. type: deffnx
  9134. #: guix-git/doc/guix.texi:4708
  9135. #, no-wrap
  9136. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9137. msgstr ""
  9138. #. type: deffnx
  9139. #: guix-git/doc/guix.texi:4709
  9140. #, no-wrap
  9141. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9142. msgstr ""
  9143. #. type: deffnx
  9144. #: guix-git/doc/guix.texi:4710
  9145. #, no-wrap
  9146. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9147. msgstr ""
  9148. #. type: deffnx
  9149. #: guix-git/doc/guix.texi:4711
  9150. #, no-wrap
  9151. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9152. msgstr ""
  9153. #. type: deffnx
  9154. #: guix-git/doc/guix.texi:4712
  9155. #, no-wrap
  9156. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9157. msgstr ""
  9158. #. type: deffnx
  9159. #: guix-git/doc/guix.texi:4713
  9160. #, no-wrap
  9161. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9162. msgstr ""
  9163. #. type: deffnx
  9164. #: guix-git/doc/guix.texi:4714
  9165. #, no-wrap
  9166. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9167. msgstr ""
  9168. #. type: deffn
  9169. #: guix-git/doc/guix.texi:4719
  9170. 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."
  9171. msgstr ""
  9172. #. type: Plain text
  9173. #: guix-git/doc/guix.texi:4729
  9174. 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."
  9175. msgstr ""
  9176. #. type: section
  9177. #: guix-git/doc/guix.texi:4731
  9178. #, no-wrap
  9179. msgid "Invoking @command{guix describe}"
  9180. msgstr ""
  9181. #. type: Plain text
  9182. #: guix-git/doc/guix.texi:4742
  9183. 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."
  9184. msgstr ""
  9185. #. type: Plain text
  9186. #: guix-git/doc/guix.texi:4746
  9187. 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}):"
  9188. msgstr ""
  9189. #. type: example
  9190. #: guix-git/doc/guix.texi:4754
  9191. #, no-wrap
  9192. msgid ""
  9193. "$ guix describe\n"
  9194. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9195. " guix e0fa68c\n"
  9196. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9197. " branch: master\n"
  9198. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9199. msgstr ""
  9200. #. type: Plain text
  9201. #: guix-git/doc/guix.texi:4763
  9202. 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."
  9203. msgstr ""
  9204. #. type: Plain text
  9205. #: guix-git/doc/guix.texi:4766
  9206. 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:"
  9207. msgstr ""
  9208. #. type: example
  9209. #: guix-git/doc/guix.texi:4779
  9210. #, no-wrap
  9211. msgid ""
  9212. "$ guix describe -f channels\n"
  9213. "(list (channel\n"
  9214. " (name 'guix)\n"
  9215. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9216. " (commit\n"
  9217. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9218. " (introduction\n"
  9219. " (make-channel-introduction\n"
  9220. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9221. " (openpgp-fingerprint\n"
  9222. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9223. msgstr ""
  9224. #. type: Plain text
  9225. #: guix-git/doc/guix.texi:4788
  9226. 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!"
  9227. msgstr ""
  9228. #. type: Plain text
  9229. #: guix-git/doc/guix.texi:4791
  9230. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9231. msgstr ""
  9232. #. type: item
  9233. #: guix-git/doc/guix.texi:4793 guix-git/doc/guix.texi:6030
  9234. #: guix-git/doc/guix.texi:13502
  9235. #, no-wrap
  9236. msgid "--format=@var{format}"
  9237. msgstr ""
  9238. #. type: itemx
  9239. #: guix-git/doc/guix.texi:4794 guix-git/doc/guix.texi:6031
  9240. #: guix-git/doc/guix.texi:13503
  9241. #, no-wrap
  9242. msgid "-f @var{format}"
  9243. msgstr ""
  9244. #. type: table
  9245. #: guix-git/doc/guix.texi:4796 guix-git/doc/guix.texi:13505
  9246. msgid "Produce output in the specified @var{format}, one of:"
  9247. msgstr ""
  9248. #. type: item
  9249. #: guix-git/doc/guix.texi:4798
  9250. #, no-wrap
  9251. msgid "human"
  9252. msgstr ""
  9253. #. type: table
  9254. #: guix-git/doc/guix.texi:4800
  9255. msgid "produce human-readable output;"
  9256. msgstr ""
  9257. #. type: cindex
  9258. #: guix-git/doc/guix.texi:4800 guix-git/doc/guix.texi:5018
  9259. #, no-wrap
  9260. msgid "channels"
  9261. msgstr ""
  9262. #. type: table
  9263. #: guix-git/doc/guix.texi:4804
  9264. 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});"
  9265. msgstr ""
  9266. #. type: item
  9267. #: guix-git/doc/guix.texi:4804
  9268. #, no-wrap
  9269. msgid "channels-sans-intro"
  9270. msgstr ""
  9271. #. type: table
  9272. #: guix-git/doc/guix.texi:4810
  9273. 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;"
  9274. msgstr ""
  9275. #. type: item
  9276. #: guix-git/doc/guix.texi:4810 guix-git/doc/guix.texi:11478
  9277. #, no-wrap
  9278. msgid "json"
  9279. msgstr ""
  9280. #. type: cindex
  9281. #: guix-git/doc/guix.texi:4811
  9282. #, no-wrap
  9283. msgid "JSON"
  9284. msgstr ""
  9285. #. type: table
  9286. #: guix-git/doc/guix.texi:4813
  9287. msgid "produce a list of channel specifications in JSON format;"
  9288. msgstr ""
  9289. #. type: item
  9290. #: guix-git/doc/guix.texi:4813 guix-git/doc/guix.texi:13507
  9291. #, no-wrap
  9292. msgid "recutils"
  9293. msgstr ""
  9294. #. type: table
  9295. #: guix-git/doc/guix.texi:4815
  9296. msgid "produce a list of channel specifications in Recutils format."
  9297. msgstr ""
  9298. #. type: item
  9299. #: guix-git/doc/guix.texi:4817
  9300. #, no-wrap
  9301. msgid "--list-formats"
  9302. msgstr ""
  9303. #. type: table
  9304. #: guix-git/doc/guix.texi:4819
  9305. msgid "Display available formats for @option{--format} option."
  9306. msgstr ""
  9307. #. type: table
  9308. #: guix-git/doc/guix.texi:4823
  9309. msgid "Display information about @var{profile}."
  9310. msgstr ""
  9311. #. type: section
  9312. #: guix-git/doc/guix.texi:4826
  9313. #, no-wrap
  9314. msgid "Invoking @command{guix archive}"
  9315. msgstr ""
  9316. #. type: command{#1}
  9317. #: guix-git/doc/guix.texi:4828
  9318. #, no-wrap
  9319. msgid "guix archive"
  9320. msgstr ""
  9321. #. type: cindex
  9322. #: guix-git/doc/guix.texi:4829
  9323. #, no-wrap
  9324. msgid "archive"
  9325. msgstr "بایگانی"
  9326. #. type: Plain text
  9327. #: guix-git/doc/guix.texi:4835
  9328. 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."
  9329. msgstr ""
  9330. #. type: quotation
  9331. #: guix-git/doc/guix.texi:4839
  9332. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9333. msgstr ""
  9334. #. type: cindex
  9335. #: guix-git/doc/guix.texi:4841
  9336. #, no-wrap
  9337. msgid "exporting store items"
  9338. msgstr ""
  9339. #. type: Plain text
  9340. #: guix-git/doc/guix.texi:4843
  9341. msgid "To export store files as an archive to standard output, run:"
  9342. msgstr ""
  9343. #. type: example
  9344. #: guix-git/doc/guix.texi:4846
  9345. #, no-wrap
  9346. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9347. msgstr ""
  9348. #. type: Plain text
  9349. #: guix-git/doc/guix.texi:4853
  9350. 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}:"
  9351. msgstr ""
  9352. #. type: example
  9353. #: guix-git/doc/guix.texi:4856
  9354. #, no-wrap
  9355. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9356. msgstr ""
  9357. #. type: Plain text
  9358. #: guix-git/doc/guix.texi:4861
  9359. 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})."
  9360. msgstr ""
  9361. #. type: Plain text
  9362. #: guix-git/doc/guix.texi:4864
  9363. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9364. msgstr ""
  9365. #. type: example
  9366. #: guix-git/doc/guix.texi:4867
  9367. #, no-wrap
  9368. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9369. msgstr ""
  9370. #. type: Plain text
  9371. #: guix-git/doc/guix.texi:4872
  9372. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9373. msgstr ""
  9374. #. type: example
  9375. #: guix-git/doc/guix.texi:4876
  9376. #, no-wrap
  9377. msgid ""
  9378. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9379. " ssh the-machine guix archive --import\n"
  9380. msgstr ""
  9381. #. type: Plain text
  9382. #: guix-git/doc/guix.texi:4886
  9383. 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})."
  9384. msgstr ""
  9385. #. type: cindex
  9386. #: guix-git/doc/guix.texi:4887
  9387. #, no-wrap
  9388. msgid "nar, archive format"
  9389. msgstr ""
  9390. #. type: cindex
  9391. #: guix-git/doc/guix.texi:4888
  9392. #, no-wrap
  9393. msgid "normalized archive (nar)"
  9394. msgstr ""
  9395. #. type: cindex
  9396. #: guix-git/doc/guix.texi:4889
  9397. #, no-wrap
  9398. msgid "nar bundle, archive format"
  9399. msgstr ""
  9400. #. type: Plain text
  9401. #: guix-git/doc/guix.texi:4894
  9402. 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}."
  9403. msgstr ""
  9404. #. type: Plain text
  9405. #: guix-git/doc/guix.texi:4904
  9406. 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."
  9407. msgstr ""
  9408. #. type: Plain text
  9409. #: guix-git/doc/guix.texi:4908
  9410. 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."
  9411. msgstr ""
  9412. #. type: Plain text
  9413. #: guix-git/doc/guix.texi:4914
  9414. 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."
  9415. msgstr ""
  9416. #. type: Plain text
  9417. #: guix-git/doc/guix.texi:4916
  9418. msgid "The main options are:"
  9419. msgstr ""
  9420. #. type: item
  9421. #: guix-git/doc/guix.texi:4918
  9422. #, no-wrap
  9423. msgid "--export"
  9424. msgstr ""
  9425. #. type: table
  9426. #: guix-git/doc/guix.texi:4921
  9427. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9428. msgstr ""
  9429. #. type: table
  9430. #: guix-git/doc/guix.texi:4924
  9431. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9432. msgstr ""
  9433. #. type: itemx
  9434. #: guix-git/doc/guix.texi:4925 guix-git/doc/guix.texi:11216
  9435. #: guix-git/doc/guix.texi:11318 guix-git/doc/guix.texi:11343
  9436. #: guix-git/doc/guix.texi:11375 guix-git/doc/guix.texi:11553
  9437. #: guix-git/doc/guix.texi:11594 guix-git/doc/guix.texi:11645
  9438. #: guix-git/doc/guix.texi:11670 guix-git/doc/guix.texi:11686
  9439. #: guix-git/doc/guix.texi:11734 guix-git/doc/guix.texi:11764
  9440. #, no-wrap
  9441. msgid "-r"
  9442. msgstr ""
  9443. #. type: item
  9444. #: guix-git/doc/guix.texi:4926 guix-git/doc/guix.texi:11215
  9445. #: guix-git/doc/guix.texi:11317 guix-git/doc/guix.texi:11342
  9446. #: guix-git/doc/guix.texi:11374 guix-git/doc/guix.texi:11552
  9447. #: guix-git/doc/guix.texi:11593 guix-git/doc/guix.texi:11644
  9448. #: guix-git/doc/guix.texi:11669 guix-git/doc/guix.texi:11685
  9449. #: guix-git/doc/guix.texi:11733 guix-git/doc/guix.texi:11763
  9450. #: guix-git/doc/guix.texi:11812
  9451. #, no-wrap
  9452. msgid "--recursive"
  9453. msgstr ""
  9454. #. type: table
  9455. #: guix-git/doc/guix.texi:4931
  9456. 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."
  9457. msgstr ""
  9458. #. type: item
  9459. #: guix-git/doc/guix.texi:4932
  9460. #, no-wrap
  9461. msgid "--import"
  9462. msgstr ""
  9463. #. type: table
  9464. #: guix-git/doc/guix.texi:4937
  9465. 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)."
  9466. msgstr ""
  9467. #. type: item
  9468. #: guix-git/doc/guix.texi:4938
  9469. #, no-wrap
  9470. msgid "--missing"
  9471. msgstr ""
  9472. #. type: table
  9473. #: guix-git/doc/guix.texi:4942
  9474. 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."
  9475. msgstr ""
  9476. #. type: item
  9477. #: guix-git/doc/guix.texi:4943
  9478. #, no-wrap
  9479. msgid "--generate-key[=@var{parameters}]"
  9480. msgstr ""
  9481. #. type: cindex
  9482. #: guix-git/doc/guix.texi:4944
  9483. #, no-wrap
  9484. msgid "signing, archives"
  9485. msgstr ""
  9486. #. type: table
  9487. #: guix-git/doc/guix.texi:4951
  9488. 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."
  9489. msgstr ""
  9490. #. type: table
  9491. #: guix-git/doc/guix.texi:4961
  9492. 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})."
  9493. msgstr ""
  9494. #. type: item
  9495. #: guix-git/doc/guix.texi:4962
  9496. #, no-wrap
  9497. msgid "--authorize"
  9498. msgstr ""
  9499. #. type: cindex
  9500. #: guix-git/doc/guix.texi:4963
  9501. #, no-wrap
  9502. msgid "authorizing, archives"
  9503. msgstr ""
  9504. #. type: table
  9505. #: guix-git/doc/guix.texi:4967
  9506. 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."
  9507. msgstr ""
  9508. #. type: table
  9509. #: guix-git/doc/guix.texi:4974
  9510. 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)}."
  9511. msgstr ""
  9512. #. type: item
  9513. #: guix-git/doc/guix.texi:4975
  9514. #, no-wrap
  9515. msgid "--extract=@var{directory}"
  9516. msgstr ""
  9517. #. type: itemx
  9518. #: guix-git/doc/guix.texi:4976
  9519. #, no-wrap
  9520. msgid "-x @var{directory}"
  9521. msgstr ""
  9522. #. type: table
  9523. #: guix-git/doc/guix.texi:4980
  9524. 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."
  9525. msgstr ""
  9526. #. type: table
  9527. #: guix-git/doc/guix.texi:4983
  9528. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9529. msgstr ""
  9530. #. type: example
  9531. #: guix-git/doc/guix.texi:4988
  9532. #, no-wrap
  9533. msgid ""
  9534. "$ wget -O - \\\n"
  9535. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9536. " | gunzip | guix archive -x /tmp/emacs\n"
  9537. msgstr ""
  9538. #. type: table
  9539. #: guix-git/doc/guix.texi:4995
  9540. 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."
  9541. msgstr ""
  9542. #. type: table
  9543. #: guix-git/doc/guix.texi:4999
  9544. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9545. msgstr ""
  9546. #. type: item
  9547. #: guix-git/doc/guix.texi:5000
  9548. #, no-wrap
  9549. msgid "--list"
  9550. msgstr ""
  9551. #. type: itemx
  9552. #: guix-git/doc/guix.texi:5001 guix-git/doc/guix.texi:11540
  9553. #: guix-git/doc/guix.texi:11587
  9554. #, no-wrap
  9555. msgid "-t"
  9556. msgstr ""
  9557. #. type: table
  9558. #: guix-git/doc/guix.texi:5005
  9559. 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:"
  9560. msgstr ""
  9561. #. type: example
  9562. #: guix-git/doc/guix.texi:5010
  9563. #, no-wrap
  9564. msgid ""
  9565. "$ wget -O - \\\n"
  9566. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9567. " | lzip -d | guix archive -t\n"
  9568. msgstr ""
  9569. #. type: cindex
  9570. #: guix-git/doc/guix.texi:5021
  9571. #, no-wrap
  9572. msgid "@command{guix pull}, configuration file"
  9573. msgstr ""
  9574. #. type: cindex
  9575. #: guix-git/doc/guix.texi:5022
  9576. #, no-wrap
  9577. msgid "configuration of @command{guix pull}"
  9578. msgstr ""
  9579. #. type: Plain text
  9580. #: guix-git/doc/guix.texi:5033
  9581. 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."
  9582. msgstr ""
  9583. #. type: cindex
  9584. #: guix-git/doc/guix.texi:5051
  9585. #, no-wrap
  9586. msgid "extending the package collection (channels)"
  9587. msgstr ""
  9588. #. type: cindex
  9589. #: guix-git/doc/guix.texi:5052
  9590. #, no-wrap
  9591. msgid "variant packages (channels)"
  9592. msgstr ""
  9593. #. type: Plain text
  9594. #: guix-git/doc/guix.texi:5056
  9595. 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):"
  9596. msgstr ""
  9597. #. type: vindex
  9598. #: guix-git/doc/guix.texi:5057
  9599. #, no-wrap
  9600. msgid "%default-channels"
  9601. msgstr ""
  9602. #. type: lisp
  9603. #: guix-git/doc/guix.texi:5064
  9604. #, no-wrap
  9605. msgid ""
  9606. ";; Add variant packages to those Guix provides.\n"
  9607. "(cons (channel\n"
  9608. " (name 'variant-packages)\n"
  9609. " (url \"https://example.org/variant-packages.git\"))\n"
  9610. " %default-channels)\n"
  9611. msgstr ""
  9612. #. type: Plain text
  9613. #: guix-git/doc/guix.texi:5074
  9614. 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:"
  9615. msgstr ""
  9616. #. type: example
  9617. #: guix-git/doc/guix.texi:5089
  9618. #, no-wrap
  9619. msgid ""
  9620. "$ guix pull --list-generations\n"
  9621. "@dots{}\n"
  9622. "Generation 19\tAug 27 2018 16:20:48\n"
  9623. " guix d894ab8\n"
  9624. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9625. " branch: master\n"
  9626. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9627. " variant-packages dd3df5e\n"
  9628. " repository URL: https://example.org/variant-packages.git\n"
  9629. " branch: master\n"
  9630. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9631. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9632. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9633. msgstr ""
  9634. #. type: Plain text
  9635. #: guix-git/doc/guix.texi:5097
  9636. 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."
  9637. msgstr ""
  9638. #. type: Plain text
  9639. #: guix-git/doc/guix.texi:5106
  9640. 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:"
  9641. msgstr ""
  9642. #. type: lisp
  9643. #: guix-git/doc/guix.texi:5113
  9644. #, no-wrap
  9645. msgid ""
  9646. ";; Tell 'guix pull' to use another repo.\n"
  9647. "(list (channel\n"
  9648. " (name 'guix)\n"
  9649. " (url \"https://example.org/another-guix.git\")\n"
  9650. " (branch \"super-hacks\")))\n"
  9651. msgstr ""
  9652. #. type: Plain text
  9653. #: guix-git/doc/guix.texi:5119
  9654. 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})."
  9655. msgstr ""
  9656. #. type: Plain text
  9657. #: guix-git/doc/guix.texi:5130
  9658. 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:"
  9659. msgstr ""
  9660. #. type: lisp
  9661. #: guix-git/doc/guix.texi:5141
  9662. #, no-wrap
  9663. msgid ""
  9664. ";; Deploy specific commits of my channels of interest.\n"
  9665. "(list (channel\n"
  9666. " (name 'guix)\n"
  9667. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9668. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9669. " (channel\n"
  9670. " (name 'variant-packages)\n"
  9671. " (url \"https://example.org/variant-packages.git\")\n"
  9672. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9673. msgstr ""
  9674. #. type: Plain text
  9675. #: guix-git/doc/guix.texi:5148
  9676. 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})."
  9677. msgstr ""
  9678. #. type: Plain text
  9679. #: guix-git/doc/guix.texi:5155
  9680. 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."
  9681. msgstr ""
  9682. #. type: Plain text
  9683. #: guix-git/doc/guix.texi:5160
  9684. 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."
  9685. msgstr ""
  9686. #. type: anchor{#1}
  9687. #: guix-git/doc/guix.texi:5165
  9688. msgid "channel-authentication"
  9689. msgstr ""
  9690. #. type: Plain text
  9691. #: guix-git/doc/guix.texi:5171
  9692. 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."
  9693. msgstr ""
  9694. #. type: Plain text
  9695. #: guix-git/doc/guix.texi:5176
  9696. 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:"
  9697. msgstr ""
  9698. #. type: lisp
  9699. #: guix-git/doc/guix.texi:5186
  9700. #, no-wrap
  9701. msgid ""
  9702. "(channel\n"
  9703. " (name 'some-channel)\n"
  9704. " (url \"https://example.org/some-channel.git\")\n"
  9705. " (introduction\n"
  9706. " (make-channel-introduction\n"
  9707. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9708. " (openpgp-fingerprint\n"
  9709. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9710. msgstr ""
  9711. #. type: Plain text
  9712. #: guix-git/doc/guix.texi:5192
  9713. 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{}}."
  9714. msgstr ""
  9715. #. type: Plain text
  9716. #: guix-git/doc/guix.texi:5198
  9717. 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."
  9718. msgstr ""
  9719. #. type: Plain text
  9720. #: guix-git/doc/guix.texi:5200
  9721. msgid "If you're curious about the authentication mechanics, read on!"
  9722. msgstr ""
  9723. #. type: Plain text
  9724. #: guix-git/doc/guix.texi:5211
  9725. 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}."
  9726. msgstr ""
  9727. #. type: lisp
  9728. #: guix-git/doc/guix.texi:5214
  9729. #, no-wrap
  9730. msgid ""
  9731. "(use-modules (guix ci))\n"
  9732. "\n"
  9733. msgstr ""
  9734. #. type: lisp
  9735. #: guix-git/doc/guix.texi:5218
  9736. #, no-wrap
  9737. msgid ""
  9738. "(list (channel-with-substitutes-available\n"
  9739. " %default-guix-channel\n"
  9740. " \"https://ci.guix.gnu.org\"))\n"
  9741. msgstr ""
  9742. #. type: Plain text
  9743. #: guix-git/doc/guix.texi:5225
  9744. 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."
  9745. msgstr ""
  9746. #. type: cindex
  9747. #: guix-git/doc/guix.texi:5229
  9748. #, no-wrap
  9749. msgid "personal packages (channels)"
  9750. msgstr ""
  9751. #. type: cindex
  9752. #: guix-git/doc/guix.texi:5230
  9753. #, no-wrap
  9754. msgid "channels, for personal packages"
  9755. msgstr ""
  9756. #. type: Plain text
  9757. #: guix-git/doc/guix.texi:5238
  9758. 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?"
  9759. msgstr ""
  9760. #. type: quotation
  9761. #: guix-git/doc/guix.texi:5242 guix-git/doc/guix.texi:6088
  9762. #: guix-git/doc/guix.texi:13860 guix-git/doc/guix.texi:19962
  9763. #: guix-git/doc/guix.texi:19969
  9764. #, no-wrap
  9765. msgid "Warning"
  9766. msgstr ""
  9767. #. type: quotation
  9768. #: guix-git/doc/guix.texi:5246
  9769. 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:"
  9770. msgstr ""
  9771. #. type: itemize
  9772. #: guix-git/doc/guix.texi:5254
  9773. 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."
  9774. msgstr ""
  9775. #. type: itemize
  9776. #: guix-git/doc/guix.texi:5263
  9777. 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."
  9778. msgstr ""
  9779. #. type: itemize
  9780. #: guix-git/doc/guix.texi:5267
  9781. 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."
  9782. msgstr ""
  9783. #. type: quotation
  9784. #: guix-git/doc/guix.texi:5274
  9785. 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."
  9786. msgstr ""
  9787. #. type: Plain text
  9788. #: guix-git/doc/guix.texi:5286
  9789. 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})."
  9790. msgstr ""
  9791. #. type: Plain text
  9792. #: guix-git/doc/guix.texi:5291
  9793. 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."
  9794. msgstr ""
  9795. #. type: cindex
  9796. #: guix-git/doc/guix.texi:5296
  9797. #, no-wrap
  9798. msgid "subdirectory, channels"
  9799. msgstr ""
  9800. #. type: Plain text
  9801. #: guix-git/doc/guix.texi:5300
  9802. 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:"
  9803. msgstr ""
  9804. #. type: lisp
  9805. #: guix-git/doc/guix.texi:5305
  9806. #, no-wrap
  9807. msgid ""
  9808. "(channel\n"
  9809. " (version 0)\n"
  9810. " (directory \"guix\"))\n"
  9811. msgstr ""
  9812. #. type: cindex
  9813. #: guix-git/doc/guix.texi:5310
  9814. #, no-wrap
  9815. msgid "dependencies, channels"
  9816. msgstr ""
  9817. #. type: cindex
  9818. #: guix-git/doc/guix.texi:5311
  9819. #, no-wrap
  9820. msgid "meta-data, channels"
  9821. msgstr ""
  9822. #. type: Plain text
  9823. #: guix-git/doc/guix.texi:5316
  9824. 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."
  9825. msgstr ""
  9826. #. type: Plain text
  9827. #: guix-git/doc/guix.texi:5318
  9828. msgid "The meta-data file should contain a simple S-expression like this:"
  9829. msgstr ""
  9830. #. type: lisp
  9831. #: guix-git/doc/guix.texi:5326
  9832. #, no-wrap
  9833. msgid ""
  9834. "(channel\n"
  9835. " (version 0)\n"
  9836. " (dependencies\n"
  9837. " (channel\n"
  9838. " (name some-collection)\n"
  9839. " (url \"https://example.org/first-collection.git\")\n"
  9840. "\n"
  9841. msgstr ""
  9842. #. type: lisp
  9843. #: guix-git/doc/guix.texi:5338
  9844. #, no-wrap
  9845. msgid ""
  9846. " ;; The 'introduction' bit below is optional: you would\n"
  9847. " ;; provide it for dependencies that can be authenticated.\n"
  9848. " (introduction\n"
  9849. " (channel-introduction\n"
  9850. " (version 0)\n"
  9851. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  9852. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9853. " (channel\n"
  9854. " (name some-other-collection)\n"
  9855. " (url \"https://example.org/second-collection.git\")\n"
  9856. " (branch \"testing\"))))\n"
  9857. msgstr ""
  9858. #. type: Plain text
  9859. #: guix-git/doc/guix.texi:5344
  9860. 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."
  9861. msgstr ""
  9862. #. type: Plain text
  9863. #: guix-git/doc/guix.texi:5348
  9864. 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."
  9865. msgstr ""
  9866. #. type: cindex
  9867. #: guix-git/doc/guix.texi:5352
  9868. #, no-wrap
  9869. msgid "channel authorizations"
  9870. msgstr ""
  9871. #. type: anchor{#1}
  9872. #: guix-git/doc/guix.texi:5366
  9873. msgid "channel-authorizations"
  9874. msgstr ""
  9875. #. type: Plain text
  9876. #: guix-git/doc/guix.texi:5366
  9877. 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:"
  9878. msgstr ""
  9879. #. type: lisp
  9880. #: guix-git/doc/guix.texi:5369
  9881. #, no-wrap
  9882. msgid ""
  9883. ";; Example '.guix-authorizations' file.\n"
  9884. "\n"
  9885. msgstr ""
  9886. #. type: lisp
  9887. #: guix-git/doc/guix.texi:5372
  9888. #, no-wrap
  9889. msgid ""
  9890. "(authorizations\n"
  9891. " (version 0) ;current file format version\n"
  9892. "\n"
  9893. msgstr ""
  9894. #. type: lisp
  9895. #: guix-git/doc/guix.texi:5379
  9896. #, no-wrap
  9897. msgid ""
  9898. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  9899. " (name \"alice\"))\n"
  9900. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  9901. " (name \"bob\"))\n"
  9902. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  9903. " (name \"charlie\"))))\n"
  9904. msgstr ""
  9905. #. type: Plain text
  9906. #: guix-git/doc/guix.texi:5383
  9907. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  9908. msgstr ""
  9909. #. type: Plain text
  9910. #: guix-git/doc/guix.texi:5388
  9911. 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?"
  9912. msgstr ""
  9913. #. type: cindex
  9914. #: guix-git/doc/guix.texi:5389
  9915. #, no-wrap
  9916. msgid "channel introduction"
  9917. msgstr ""
  9918. #. type: Plain text
  9919. #: guix-git/doc/guix.texi:5396
  9920. 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."
  9921. msgstr ""
  9922. #. type: Plain text
  9923. #: guix-git/doc/guix.texi:5403
  9924. 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:"
  9925. msgstr ""
  9926. #. type: lisp
  9927. #: guix-git/doc/guix.texi:5408
  9928. #, no-wrap
  9929. msgid ""
  9930. "(channel\n"
  9931. " (version 0)\n"
  9932. " (keyring-reference \"my-keyring-branch\"))\n"
  9933. msgstr ""
  9934. #. type: Plain text
  9935. #: guix-git/doc/guix.texi:5412
  9936. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  9937. msgstr ""
  9938. #. type: enumerate
  9939. #: guix-git/doc/guix.texi:5418
  9940. 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})."
  9941. msgstr ""
  9942. #. type: enumerate
  9943. #: guix-git/doc/guix.texi:5423
  9944. 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.)"
  9945. msgstr ""
  9946. #. type: enumerate
  9947. #: guix-git/doc/guix.texi:5429
  9948. 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."
  9949. msgstr ""
  9950. #. type: Plain text
  9951. #: guix-git/doc/guix.texi:5434
  9952. 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:"
  9953. msgstr ""
  9954. #. type: example
  9955. #: guix-git/doc/guix.texi:5437
  9956. #, no-wrap
  9957. msgid "guix git authenticate @var{commit} @var{signer}\n"
  9958. msgstr ""
  9959. #. type: Plain text
  9960. #: guix-git/doc/guix.texi:5442
  9961. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  9962. msgstr ""
  9963. #. type: Plain text
  9964. #: guix-git/doc/guix.texi:5449
  9965. 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."
  9966. msgstr ""
  9967. #. type: cindex
  9968. #: guix-git/doc/guix.texi:5453
  9969. #, no-wrap
  9970. msgid "primary URL, channels"
  9971. msgstr ""
  9972. #. type: Plain text
  9973. #: guix-git/doc/guix.texi:5456
  9974. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  9975. msgstr ""
  9976. #. type: lisp
  9977. #: guix-git/doc/guix.texi:5461
  9978. #, no-wrap
  9979. msgid ""
  9980. "(channel\n"
  9981. " (version 0)\n"
  9982. " (url \"https://example.org/guix.git\"))\n"
  9983. msgstr ""
  9984. #. type: Plain text
  9985. #: guix-git/doc/guix.texi:5468
  9986. 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."
  9987. msgstr ""
  9988. #. type: Plain text
  9989. #: guix-git/doc/guix.texi:5472
  9990. 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."
  9991. msgstr ""
  9992. #. type: cindex
  9993. #: guix-git/doc/guix.texi:5476
  9994. #, no-wrap
  9995. msgid "news, for channels"
  9996. msgstr ""
  9997. #. type: Plain text
  9998. #: guix-git/doc/guix.texi:5480
  9999. 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."
  10000. msgstr ""
  10001. #. type: Plain text
  10002. #: guix-git/doc/guix.texi:5485
  10003. 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."
  10004. msgstr ""
  10005. #. type: Plain text
  10006. #: guix-git/doc/guix.texi:5488
  10007. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  10008. msgstr ""
  10009. #. type: lisp
  10010. #: guix-git/doc/guix.texi:5493
  10011. #, no-wrap
  10012. msgid ""
  10013. "(channel\n"
  10014. " (version 0)\n"
  10015. " (news-file \"etc/news.txt\"))\n"
  10016. msgstr ""
  10017. #. type: Plain text
  10018. #: guix-git/doc/guix.texi:5497
  10019. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  10020. msgstr ""
  10021. #. type: lisp
  10022. #: guix-git/doc/guix.texi:5510
  10023. #, no-wrap
  10024. msgid ""
  10025. "(channel-news\n"
  10026. " (version 0)\n"
  10027. " (entry (tag \"the-bug-fix\")\n"
  10028. " (title (en \"Fixed terrible bug\")\n"
  10029. " (fr \"Oh la la\"))\n"
  10030. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  10031. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  10032. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  10033. " (title (en \"Added a great package\")\n"
  10034. " (ca \"Què vol dir guix?\"))\n"
  10035. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  10036. msgstr ""
  10037. #. type: Plain text
  10038. #: guix-git/doc/guix.texi:5517
  10039. 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."
  10040. msgstr ""
  10041. #. type: Plain text
  10042. #: guix-git/doc/guix.texi:5522
  10043. 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."
  10044. msgstr ""
  10045. #. type: Plain text
  10046. #: guix-git/doc/guix.texi:5528
  10047. 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."
  10048. msgstr ""
  10049. #. type: Plain text
  10050. #: guix-git/doc/guix.texi:5534
  10051. 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:"
  10052. msgstr ""
  10053. #. type: example
  10054. #: guix-git/doc/guix.texi:5537
  10055. #, no-wrap
  10056. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  10057. msgstr ""
  10058. #. type: Plain text
  10059. #: guix-git/doc/guix.texi:5541
  10060. 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."
  10061. msgstr ""
  10062. #. type: cindex
  10063. #: guix-git/doc/guix.texi:5546
  10064. #, no-wrap
  10065. msgid "software development"
  10066. msgstr ""
  10067. #. type: Plain text
  10068. #: guix-git/doc/guix.texi:5550
  10069. 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."
  10070. msgstr ""
  10071. #. type: Plain text
  10072. #: guix-git/doc/guix.texi:5556
  10073. 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."
  10074. msgstr ""
  10075. #. type: section
  10076. #: guix-git/doc/guix.texi:5565
  10077. #, no-wrap
  10078. msgid "Invoking @command{guix environment}"
  10079. msgstr ""
  10080. #. type: cindex
  10081. #: guix-git/doc/guix.texi:5567
  10082. #, no-wrap
  10083. msgid "reproducible build environments"
  10084. msgstr ""
  10085. #. type: cindex
  10086. #: guix-git/doc/guix.texi:5568
  10087. #, no-wrap
  10088. msgid "development environments"
  10089. msgstr ""
  10090. #. type: command{#1}
  10091. #: guix-git/doc/guix.texi:5569
  10092. #, no-wrap
  10093. msgid "guix environment"
  10094. msgstr ""
  10095. #. type: cindex
  10096. #: guix-git/doc/guix.texi:5570
  10097. #, no-wrap
  10098. msgid "environment, package build environment"
  10099. msgstr ""
  10100. #. type: Plain text
  10101. #: guix-git/doc/guix.texi:5576
  10102. 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."
  10103. msgstr ""
  10104. #. type: example
  10105. #: guix-git/doc/guix.texi:5581
  10106. #, no-wrap
  10107. msgid "guix environment @var{options} @var{package}@dots{}\n"
  10108. msgstr ""
  10109. #. type: Plain text
  10110. #: guix-git/doc/guix.texi:5585
  10111. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  10112. msgstr ""
  10113. #. type: example
  10114. #: guix-git/doc/guix.texi:5588
  10115. #, no-wrap
  10116. msgid "guix environment guile\n"
  10117. msgstr ""
  10118. #. type: Plain text
  10119. #: guix-git/doc/guix.texi:5605
  10120. 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.}."
  10121. msgstr ""
  10122. #. type: Plain text
  10123. #: guix-git/doc/guix.texi:5611
  10124. 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."
  10125. msgstr ""
  10126. #. type: vindex
  10127. #: guix-git/doc/guix.texi:5612
  10128. #, no-wrap
  10129. msgid "GUIX_ENVIRONMENT"
  10130. msgstr ""
  10131. #. type: Plain text
  10132. #: guix-git/doc/guix.texi:5618
  10133. 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}):"
  10134. msgstr ""
  10135. #. type: example
  10136. #: guix-git/doc/guix.texi:5624
  10137. #, no-wrap
  10138. msgid ""
  10139. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10140. "then\n"
  10141. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10142. "fi\n"
  10143. msgstr ""
  10144. #. type: Plain text
  10145. #: guix-git/doc/guix.texi:5628
  10146. msgid "...@: or to browse the profile:"
  10147. msgstr ""
  10148. #. type: example
  10149. #: guix-git/doc/guix.texi:5631
  10150. #, no-wrap
  10151. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10152. msgstr ""
  10153. #. type: Plain text
  10154. #: guix-git/doc/guix.texi:5637
  10155. 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:"
  10156. msgstr ""
  10157. #. type: example
  10158. #: guix-git/doc/guix.texi:5640
  10159. #, no-wrap
  10160. msgid "guix environment guile emacs\n"
  10161. msgstr ""
  10162. #. type: Plain text
  10163. #: guix-git/doc/guix.texi:5645
  10164. 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:"
  10165. msgstr ""
  10166. #. type: example
  10167. #: guix-git/doc/guix.texi:5648
  10168. #, no-wrap
  10169. msgid "guix environment guile -- make -j4\n"
  10170. msgstr ""
  10171. #. type: Plain text
  10172. #: guix-git/doc/guix.texi:5654
  10173. 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:"
  10174. msgstr ""
  10175. #. type: example
  10176. #: guix-git/doc/guix.texi:5657
  10177. #, no-wrap
  10178. msgid "guix environment --ad-hoc python2-numpy python-2.7 -- python\n"
  10179. msgstr ""
  10180. #. type: Plain text
  10181. #: guix-git/doc/guix.texi:5668
  10182. 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:"
  10183. msgstr ""
  10184. #. type: example
  10185. #: guix-git/doc/guix.texi:5671
  10186. #, no-wrap
  10187. msgid "guix environment --pure guix --ad-hoc git strace\n"
  10188. msgstr ""
  10189. #. type: item
  10190. #: guix-git/doc/guix.texi:5673 guix-git/doc/guix.texi:5834
  10191. #: guix-git/doc/guix.texi:13258 guix-git/doc/guix.texi:34077
  10192. #, no-wrap
  10193. msgid "container"
  10194. msgstr ""
  10195. #. type: Plain text
  10196. #: guix-git/doc/guix.texi:5681
  10197. 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:"
  10198. msgstr ""
  10199. #. type: example
  10200. #: guix-git/doc/guix.texi:5684
  10201. #, no-wrap
  10202. msgid "guix environment --ad-hoc --container guile -- guile\n"
  10203. msgstr ""
  10204. #. type: quotation
  10205. #: guix-git/doc/guix.texi:5688
  10206. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  10207. msgstr ""
  10208. #. type: cindex
  10209. #: guix-git/doc/guix.texi:5690
  10210. #, no-wrap
  10211. msgid "certificates"
  10212. msgstr ""
  10213. #. type: Plain text
  10214. #: guix-git/doc/guix.texi:5697
  10215. 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."
  10216. msgstr ""
  10217. #. type: example
  10218. #: guix-git/doc/guix.texi:5704
  10219. #, no-wrap
  10220. msgid ""
  10221. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  10222. " --expose=/etc/machine-id \\\n"
  10223. " --expose=/etc/ssl/certs/ \\\n"
  10224. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  10225. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  10226. msgstr ""
  10227. #. type: Plain text
  10228. #: guix-git/doc/guix.texi:5707
  10229. msgid "The available options are summarized below."
  10230. msgstr ""
  10231. #. type: item
  10232. #: guix-git/doc/guix.texi:5709 guix-git/doc/guix.texi:6274
  10233. #: guix-git/doc/guix.texi:10961 guix-git/doc/guix.texi:34174
  10234. #, no-wrap
  10235. msgid "--root=@var{file}"
  10236. msgstr ""
  10237. #. type: itemx
  10238. #: guix-git/doc/guix.texi:5710 guix-git/doc/guix.texi:6275
  10239. #: guix-git/doc/guix.texi:10962 guix-git/doc/guix.texi:34175
  10240. #, no-wrap
  10241. msgid "-r @var{file}"
  10242. msgstr ""
  10243. #. type: cindex
  10244. #: guix-git/doc/guix.texi:5711
  10245. #, no-wrap
  10246. msgid "persistent environment"
  10247. msgstr ""
  10248. #. type: cindex
  10249. #: guix-git/doc/guix.texi:5712
  10250. #, no-wrap
  10251. msgid "garbage collector root, for environments"
  10252. msgstr ""
  10253. #. type: table
  10254. #: guix-git/doc/guix.texi:5715
  10255. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10256. msgstr ""
  10257. #. type: table
  10258. #: guix-git/doc/guix.texi:5718
  10259. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10260. msgstr ""
  10261. #. type: table
  10262. #: guix-git/doc/guix.texi:5724
  10263. 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."
  10264. msgstr ""
  10265. #. type: item
  10266. #: guix-git/doc/guix.texi:5725 guix-git/doc/guix.texi:6206
  10267. #: guix-git/doc/guix.texi:10807 guix-git/doc/guix.texi:11857
  10268. #: guix-git/doc/guix.texi:12702 guix-git/doc/guix.texi:34109
  10269. #: guix-git/doc/guix.texi:36100
  10270. #, no-wrap
  10271. msgid "--expression=@var{expr}"
  10272. msgstr ""
  10273. #. type: itemx
  10274. #: guix-git/doc/guix.texi:5726 guix-git/doc/guix.texi:6207
  10275. #: guix-git/doc/guix.texi:10808 guix-git/doc/guix.texi:11858
  10276. #: guix-git/doc/guix.texi:12703 guix-git/doc/guix.texi:34110
  10277. #: guix-git/doc/guix.texi:36101
  10278. #, no-wrap
  10279. msgid "-e @var{expr}"
  10280. msgstr ""
  10281. #. type: table
  10282. #: guix-git/doc/guix.texi:5729
  10283. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10284. msgstr ""
  10285. #. type: table
  10286. #: guix-git/doc/guix.texi:5731
  10287. msgid "For example, running:"
  10288. msgstr ""
  10289. #. type: example
  10290. #: guix-git/doc/guix.texi:5734
  10291. #, no-wrap
  10292. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10293. msgstr ""
  10294. #. type: table
  10295. #: guix-git/doc/guix.texi:5738
  10296. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10297. msgstr ""
  10298. #. type: table
  10299. #: guix-git/doc/guix.texi:5740
  10300. msgid "Running:"
  10301. msgstr ""
  10302. #. type: example
  10303. #: guix-git/doc/guix.texi:5743
  10304. #, no-wrap
  10305. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  10306. msgstr ""
  10307. #. type: table
  10308. #: guix-git/doc/guix.texi:5746
  10309. msgid "starts a shell with all the base system packages available."
  10310. msgstr ""
  10311. #. type: table
  10312. #: guix-git/doc/guix.texi:5749
  10313. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10314. msgstr ""
  10315. #. type: example
  10316. #: guix-git/doc/guix.texi:5752
  10317. #, no-wrap
  10318. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10319. msgstr ""
  10320. #. type: item
  10321. #: guix-git/doc/guix.texi:5754
  10322. #, no-wrap
  10323. msgid "--load=@var{file}"
  10324. msgstr ""
  10325. #. type: itemx
  10326. #: guix-git/doc/guix.texi:5755
  10327. #, no-wrap
  10328. msgid "-l @var{file}"
  10329. msgstr ""
  10330. #. type: table
  10331. #: guix-git/doc/guix.texi:5758
  10332. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  10333. msgstr ""
  10334. #. type: lisp
  10335. #: guix-git/doc/guix.texi:5764
  10336. #, no-wrap
  10337. msgid "@verbatiminclude environment-gdb.scm\n"
  10338. msgstr ""
  10339. #. type: table
  10340. #: guix-git/doc/guix.texi:5771
  10341. 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."
  10342. msgstr ""
  10343. #. type: table
  10344. #: guix-git/doc/guix.texi:5775
  10345. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10346. msgstr ""
  10347. #. type: item
  10348. #: guix-git/doc/guix.texi:5776
  10349. #, no-wrap
  10350. msgid "--ad-hoc"
  10351. msgstr ""
  10352. #. type: table
  10353. #: guix-git/doc/guix.texi:5781
  10354. 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."
  10355. msgstr ""
  10356. #. type: table
  10357. #: guix-git/doc/guix.texi:5783
  10358. msgid "For instance, the command:"
  10359. msgstr ""
  10360. #. type: example
  10361. #: guix-git/doc/guix.texi:5786
  10362. #, no-wrap
  10363. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  10364. msgstr ""
  10365. #. type: table
  10366. #: guix-git/doc/guix.texi:5790
  10367. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  10368. msgstr ""
  10369. #. type: table
  10370. #: guix-git/doc/guix.texi:5795
  10371. 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})."
  10372. msgstr ""
  10373. #. type: table
  10374. #: guix-git/doc/guix.texi:5801
  10375. 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."
  10376. msgstr ""
  10377. #. type: item
  10378. #: guix-git/doc/guix.texi:5802
  10379. #, no-wrap
  10380. msgid "--pure"
  10381. msgstr ""
  10382. #. type: table
  10383. #: guix-git/doc/guix.texi:5806
  10384. 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."
  10385. msgstr ""
  10386. #. type: item
  10387. #: guix-git/doc/guix.texi:5807
  10388. #, no-wrap
  10389. msgid "--preserve=@var{regexp}"
  10390. msgstr ""
  10391. #. type: itemx
  10392. #: guix-git/doc/guix.texi:5808
  10393. #, no-wrap
  10394. msgid "-E @var{regexp}"
  10395. msgstr ""
  10396. #. type: table
  10397. #: guix-git/doc/guix.texi:5813
  10398. 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."
  10399. msgstr ""
  10400. #. type: example
  10401. #: guix-git/doc/guix.texi:5817
  10402. #, no-wrap
  10403. msgid ""
  10404. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  10405. " -- mpirun @dots{}\n"
  10406. msgstr ""
  10407. #. type: table
  10408. #: guix-git/doc/guix.texi:5823
  10409. 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.)."
  10410. msgstr ""
  10411. #. type: item
  10412. #: guix-git/doc/guix.texi:5824
  10413. #, no-wrap
  10414. msgid "--search-paths"
  10415. msgstr ""
  10416. #. type: table
  10417. #: guix-git/doc/guix.texi:5827
  10418. msgid "Display the environment variable definitions that make up the environment."
  10419. msgstr ""
  10420. #. type: table
  10421. #: guix-git/doc/guix.texi:5831
  10422. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10423. msgstr ""
  10424. #. type: item
  10425. #: guix-git/doc/guix.texi:5832
  10426. #, no-wrap
  10427. msgid "--container"
  10428. msgstr ""
  10429. #. type: itemx
  10430. #: guix-git/doc/guix.texi:5833
  10431. #, no-wrap
  10432. msgid "-C"
  10433. msgstr ""
  10434. #. type: table
  10435. #: guix-git/doc/guix.texi:5840
  10436. 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."
  10437. msgstr ""
  10438. #. type: table
  10439. #: guix-git/doc/guix.texi:5844
  10440. 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)."
  10441. msgstr ""
  10442. #. type: item
  10443. #: guix-git/doc/guix.texi:5845 guix-git/doc/guix.texi:34169
  10444. #, no-wrap
  10445. msgid "--network"
  10446. msgstr ""
  10447. #. type: table
  10448. #: guix-git/doc/guix.texi:5850
  10449. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10450. msgstr ""
  10451. #. type: item
  10452. #: guix-git/doc/guix.texi:5851
  10453. #, no-wrap
  10454. msgid "--link-profile"
  10455. msgstr ""
  10456. #. type: itemx
  10457. #: guix-git/doc/guix.texi:5852
  10458. #, no-wrap
  10459. msgid "-P"
  10460. msgstr ""
  10461. #. type: table
  10462. #: guix-git/doc/guix.texi:5860
  10463. 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."
  10464. msgstr ""
  10465. #. type: table
  10466. #: guix-git/doc/guix.texi:5866
  10467. 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."
  10468. msgstr ""
  10469. #. type: item
  10470. #: guix-git/doc/guix.texi:5867 guix-git/doc/guix.texi:12835
  10471. #, no-wrap
  10472. msgid "--user=@var{user}"
  10473. msgstr ""
  10474. #. type: itemx
  10475. #: guix-git/doc/guix.texi:5868 guix-git/doc/guix.texi:12836
  10476. #, no-wrap
  10477. msgid "-u @var{user}"
  10478. msgstr ""
  10479. #. type: table
  10480. #: guix-git/doc/guix.texi:5875
  10481. 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."
  10482. msgstr ""
  10483. #. type: table
  10484. #: guix-git/doc/guix.texi:5880
  10485. 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."
  10486. msgstr ""
  10487. #. type: example
  10488. #: guix-git/doc/guix.texi:5887
  10489. #, no-wrap
  10490. msgid ""
  10491. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10492. "cd $HOME/wd\n"
  10493. "guix environment --container --user=foo \\\n"
  10494. " --expose=$HOME/test \\\n"
  10495. " --expose=/tmp/target=$HOME/target\n"
  10496. msgstr ""
  10497. #. type: table
  10498. #: guix-git/doc/guix.texi:5892
  10499. 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."
  10500. msgstr ""
  10501. #. type: item
  10502. #: guix-git/doc/guix.texi:5893
  10503. #, no-wrap
  10504. msgid "--no-cwd"
  10505. msgstr ""
  10506. #. type: table
  10507. #: guix-git/doc/guix.texi:5900
  10508. 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}."
  10509. msgstr ""
  10510. #. type: item
  10511. #: guix-git/doc/guix.texi:5901
  10512. #, no-wrap
  10513. msgid "--expose=@var{source}[=@var{target}]"
  10514. msgstr ""
  10515. #. type: itemx
  10516. #: guix-git/doc/guix.texi:5902
  10517. #, no-wrap
  10518. msgid "--share=@var{source}[=@var{target}]"
  10519. msgstr ""
  10520. #. type: table
  10521. #: guix-git/doc/guix.texi:5908
  10522. 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."
  10523. msgstr ""
  10524. #. type: table
  10525. #: guix-git/doc/guix.texi:5912
  10526. 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:"
  10527. msgstr ""
  10528. #. type: example
  10529. #: guix-git/doc/guix.texi:5915
  10530. #, no-wrap
  10531. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  10532. msgstr ""
  10533. #. type: Plain text
  10534. #: guix-git/doc/guix.texi:5923
  10535. 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})."
  10536. msgstr ""
  10537. #. type: section
  10538. #: guix-git/doc/guix.texi:5925
  10539. #, no-wrap
  10540. msgid "Invoking @command{guix pack}"
  10541. msgstr ""
  10542. #. type: Plain text
  10543. #: guix-git/doc/guix.texi:5931
  10544. 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."
  10545. msgstr ""
  10546. #. type: quotation
  10547. #: guix-git/doc/guix.texi:5936
  10548. 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}."
  10549. msgstr ""
  10550. #. type: cindex
  10551. #: guix-git/doc/guix.texi:5938
  10552. #, no-wrap
  10553. msgid "pack"
  10554. msgstr ""
  10555. #. type: cindex
  10556. #: guix-git/doc/guix.texi:5939
  10557. #, no-wrap
  10558. msgid "bundle"
  10559. msgstr ""
  10560. #. type: cindex
  10561. #: guix-git/doc/guix.texi:5940
  10562. #, no-wrap
  10563. msgid "application bundle"
  10564. msgstr ""
  10565. #. type: cindex
  10566. #: guix-git/doc/guix.texi:5941
  10567. #, no-wrap
  10568. msgid "software bundle"
  10569. msgstr ""
  10570. #. type: Plain text
  10571. #: guix-git/doc/guix.texi:5950
  10572. 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."
  10573. msgstr ""
  10574. #. type: Plain text
  10575. #: guix-git/doc/guix.texi:5953
  10576. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  10577. msgstr ""
  10578. #. type: example
  10579. #: guix-git/doc/guix.texi:5958
  10580. #, no-wrap
  10581. msgid ""
  10582. "$ guix pack guile emacs emacs-geiser\n"
  10583. "@dots{}\n"
  10584. "/gnu/store/@dots{}-pack.tar.gz\n"
  10585. msgstr ""
  10586. #. type: Plain text
  10587. #: guix-git/doc/guix.texi:5966
  10588. 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})."
  10589. msgstr ""
  10590. #. type: Plain text
  10591. #: guix-git/doc/guix.texi:5971
  10592. 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:"
  10593. msgstr ""
  10594. #. type: example
  10595. #: guix-git/doc/guix.texi:5974
  10596. #, no-wrap
  10597. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  10598. msgstr ""
  10599. #. type: Plain text
  10600. #: guix-git/doc/guix.texi:5978
  10601. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  10602. msgstr ""
  10603. #. type: cindex
  10604. #: guix-git/doc/guix.texi:5979
  10605. #, no-wrap
  10606. msgid "relocatable binaries, with @command{guix pack}"
  10607. msgstr ""
  10608. #. type: Plain text
  10609. #: guix-git/doc/guix.texi:5987
  10610. 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}."
  10611. msgstr ""
  10612. #. type: cindex
  10613. #: guix-git/doc/guix.texi:5988
  10614. #, no-wrap
  10615. msgid "Docker, build an image with guix pack"
  10616. msgstr ""
  10617. #. type: Plain text
  10618. #: guix-git/doc/guix.texi:5991
  10619. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  10620. msgstr ""
  10621. #. type: example
  10622. #: guix-git/doc/guix.texi:5994
  10623. #, no-wrap
  10624. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  10625. msgstr ""
  10626. #. type: Plain text
  10627. #: guix-git/doc/guix.texi:5999
  10628. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  10629. msgstr ""
  10630. #. type: example
  10631. #: guix-git/doc/guix.texi:6003
  10632. #, no-wrap
  10633. msgid ""
  10634. "docker load < @var{file}\n"
  10635. "docker run -ti guile-guile-readline /bin/guile\n"
  10636. msgstr ""
  10637. #. type: Plain text
  10638. #: guix-git/doc/guix.texi:6010
  10639. 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."
  10640. msgstr ""
  10641. #. type: cindex
  10642. #: guix-git/doc/guix.texi:6011
  10643. #, no-wrap
  10644. msgid "Singularity, build an image with guix pack"
  10645. msgstr ""
  10646. #. type: cindex
  10647. #: guix-git/doc/guix.texi:6012
  10648. #, no-wrap
  10649. msgid "SquashFS, build an image with guix pack"
  10650. msgstr ""
  10651. #. type: Plain text
  10652. #: guix-git/doc/guix.texi:6015
  10653. msgid "Yet another option is to produce a SquashFS image with the following command:"
  10654. msgstr ""
  10655. #. type: example
  10656. #: guix-git/doc/guix.texi:6018
  10657. #, no-wrap
  10658. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  10659. msgstr ""
  10660. #. type: Plain text
  10661. #: guix-git/doc/guix.texi:6026
  10662. 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}."
  10663. msgstr ""
  10664. #. type: Plain text
  10665. #: guix-git/doc/guix.texi:6028
  10666. msgid "Several command-line options allow you to customize your pack:"
  10667. msgstr ""
  10668. #. type: table
  10669. #: guix-git/doc/guix.texi:6033
  10670. msgid "Produce a pack in the given @var{format}."
  10671. msgstr ""
  10672. #. type: table
  10673. #: guix-git/doc/guix.texi:6035
  10674. msgid "The available formats are:"
  10675. msgstr ""
  10676. #. type: item
  10677. #: guix-git/doc/guix.texi:6037
  10678. #, no-wrap
  10679. msgid "tarball"
  10680. msgstr ""
  10681. #. type: table
  10682. #: guix-git/doc/guix.texi:6040
  10683. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  10684. msgstr ""
  10685. #. type: item
  10686. #: guix-git/doc/guix.texi:6041
  10687. #, no-wrap
  10688. msgid "docker"
  10689. msgstr ""
  10690. #. type: table
  10691. #: guix-git/doc/guix.texi:6047
  10692. 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."
  10693. msgstr ""
  10694. #. type: item
  10695. #: guix-git/doc/guix.texi:6048
  10696. #, no-wrap
  10697. msgid "squashfs"
  10698. msgstr ""
  10699. #. type: table
  10700. #: guix-git/doc/guix.texi:6052
  10701. 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."
  10702. msgstr ""
  10703. #. type: quotation
  10704. #: guix-git/doc/guix.texi:6058
  10705. 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:"
  10706. msgstr ""
  10707. #. type: example
  10708. #: guix-git/doc/guix.texi:6061
  10709. #, no-wrap
  10710. msgid "guix pack -f squashfs bash @dots{}\n"
  10711. msgstr ""
  10712. #. type: quotation
  10713. #: guix-git/doc/guix.texi:6066
  10714. 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."
  10715. msgstr ""
  10716. #. type: item
  10717. #: guix-git/doc/guix.texi:6068
  10718. #, no-wrap
  10719. msgid "deb"
  10720. msgstr ""
  10721. #. type: table
  10722. #: guix-git/doc/guix.texi:6076
  10723. 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."
  10724. msgstr ""
  10725. #. type: example
  10726. #: guix-git/doc/guix.texi:6079
  10727. #, no-wrap
  10728. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  10729. msgstr ""
  10730. #. type: quotation
  10731. #: guix-git/doc/guix.texi:6086
  10732. 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."
  10733. msgstr ""
  10734. #. type: quotation
  10735. #: guix-git/doc/guix.texi:6094
  10736. 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."
  10737. msgstr ""
  10738. #. type: cindex
  10739. #: guix-git/doc/guix.texi:6098
  10740. #, no-wrap
  10741. msgid "relocatable binaries"
  10742. msgstr ""
  10743. #. type: item
  10744. #: guix-git/doc/guix.texi:6099
  10745. #, no-wrap
  10746. msgid "--relocatable"
  10747. msgstr ""
  10748. #. type: table
  10749. #: guix-git/doc/guix.texi:6103
  10750. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  10751. msgstr ""
  10752. #. type: table
  10753. #: guix-git/doc/guix.texi:6111
  10754. 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."
  10755. msgstr ""
  10756. #. type: table
  10757. #: guix-git/doc/guix.texi:6113
  10758. msgid "For example, if you create a pack containing Bash with:"
  10759. msgstr ""
  10760. #. type: example
  10761. #: guix-git/doc/guix.texi:6116
  10762. #, no-wrap
  10763. msgid "guix pack -RR -S /mybin=bin bash\n"
  10764. msgstr ""
  10765. #. type: table
  10766. #: guix-git/doc/guix.texi:6121
  10767. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  10768. msgstr ""
  10769. #. type: example
  10770. #: guix-git/doc/guix.texi:6125
  10771. #, no-wrap
  10772. msgid ""
  10773. "tar xf pack.tar.gz\n"
  10774. "./mybin/sh\n"
  10775. msgstr ""
  10776. #. type: table
  10777. #: guix-git/doc/guix.texi:6133
  10778. 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."
  10779. msgstr ""
  10780. #. type: quotation
  10781. #: guix-git/doc/guix.texi:6139
  10782. 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."
  10783. msgstr ""
  10784. #. type: quotation
  10785. #: guix-git/doc/guix.texi:6145
  10786. 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:"
  10787. msgstr ""
  10788. #. type: item
  10789. #: guix-git/doc/guix.texi:6147 guix-git/doc/guix.texi:16509
  10790. #, no-wrap
  10791. msgid "default"
  10792. msgstr ""
  10793. #. type: table
  10794. #: guix-git/doc/guix.texi:6150
  10795. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  10796. msgstr ""
  10797. #. type: item
  10798. #: guix-git/doc/guix.texi:6151
  10799. #, no-wrap
  10800. msgid "performance"
  10801. msgstr ""
  10802. #. type: table
  10803. #: guix-git/doc/guix.texi:6154
  10804. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  10805. msgstr ""
  10806. #. type: item
  10807. #: guix-git/doc/guix.texi:6155
  10808. #, no-wrap
  10809. msgid "userns"
  10810. msgstr ""
  10811. #. type: table
  10812. #: guix-git/doc/guix.texi:6158
  10813. msgid "Run the program through user namespaces and abort if they are not supported."
  10814. msgstr ""
  10815. #. type: item
  10816. #: guix-git/doc/guix.texi:6159
  10817. #, no-wrap
  10818. msgid "proot"
  10819. msgstr ""
  10820. #. type: table
  10821. #: guix-git/doc/guix.texi:6166
  10822. 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."
  10823. msgstr ""
  10824. #. type: item
  10825. #: guix-git/doc/guix.texi:6167
  10826. #, no-wrap
  10827. msgid "fakechroot"
  10828. msgstr ""
  10829. #. type: table
  10830. #: guix-git/doc/guix.texi:6175
  10831. 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."
  10832. msgstr ""
  10833. #. type: vindex
  10834. #: guix-git/doc/guix.texi:6177
  10835. #, no-wrap
  10836. msgid "GUIX_EXECUTION_ENGINE"
  10837. msgstr ""
  10838. #. type: quotation
  10839. #: guix-git/doc/guix.texi:6181
  10840. 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."
  10841. msgstr ""
  10842. #. type: cindex
  10843. #: guix-git/doc/guix.texi:6183
  10844. #, no-wrap
  10845. msgid "entry point, for Docker images"
  10846. msgstr ""
  10847. #. type: item
  10848. #: guix-git/doc/guix.texi:6184
  10849. #, no-wrap
  10850. msgid "--entry-point=@var{command}"
  10851. msgstr ""
  10852. #. type: table
  10853. #: guix-git/doc/guix.texi:6189
  10854. 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."
  10855. msgstr ""
  10856. #. type: table
  10857. #: guix-git/doc/guix.texi:6193
  10858. 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:"
  10859. msgstr ""
  10860. #. type: example
  10861. #: guix-git/doc/guix.texi:6196
  10862. #, no-wrap
  10863. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  10864. msgstr ""
  10865. #. type: table
  10866. #: guix-git/doc/guix.texi:6200
  10867. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  10868. msgstr ""
  10869. #. type: example
  10870. #: guix-git/doc/guix.texi:6204
  10871. #, no-wrap
  10872. msgid ""
  10873. "docker load -i pack.tar.gz\n"
  10874. "docker run @var{image-id}\n"
  10875. msgstr ""
  10876. #. type: table
  10877. #: guix-git/doc/guix.texi:6209 guix-git/doc/guix.texi:11860
  10878. #: guix-git/doc/guix.texi:12705
  10879. msgid "Consider the package @var{expr} evaluates to."
  10880. msgstr ""
  10881. #. type: table
  10882. #: guix-git/doc/guix.texi:6213
  10883. 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}})."
  10884. msgstr ""
  10885. #. type: table
  10886. #: guix-git/doc/guix.texi:6219
  10887. 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."
  10888. msgstr ""
  10889. #. type: table
  10890. #: guix-git/doc/guix.texi:6227
  10891. 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."
  10892. msgstr ""
  10893. #. type: item
  10894. #: guix-git/doc/guix.texi:6233 guix-git/doc/guix.texi:10925
  10895. #, no-wrap
  10896. msgid "--target=@var{triplet}"
  10897. msgstr ""
  10898. #. type: cindex
  10899. #: guix-git/doc/guix.texi:6234 guix-git/doc/guix.texi:6685
  10900. #: guix-git/doc/guix.texi:10926
  10901. #, no-wrap
  10902. msgid "cross-compilation"
  10903. msgstr ""
  10904. #. type: table
  10905. #: guix-git/doc/guix.texi:6238
  10906. 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})."
  10907. msgstr ""
  10908. #. type: item
  10909. #: guix-git/doc/guix.texi:6239
  10910. #, no-wrap
  10911. msgid "--compression=@var{tool}"
  10912. msgstr ""
  10913. #. type: itemx
  10914. #: guix-git/doc/guix.texi:6240
  10915. #, no-wrap
  10916. msgid "-C @var{tool}"
  10917. msgstr ""
  10918. #. type: table
  10919. #: guix-git/doc/guix.texi:6244
  10920. 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."
  10921. msgstr ""
  10922. #. type: item
  10923. #: guix-git/doc/guix.texi:6245
  10924. #, no-wrap
  10925. msgid "--symlink=@var{spec}"
  10926. msgstr ""
  10927. #. type: itemx
  10928. #: guix-git/doc/guix.texi:6246
  10929. #, no-wrap
  10930. msgid "-S @var{spec}"
  10931. msgstr ""
  10932. #. type: table
  10933. #: guix-git/doc/guix.texi:6249
  10934. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  10935. msgstr ""
  10936. #. type: table
  10937. #: guix-git/doc/guix.texi:6253
  10938. 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."
  10939. msgstr ""
  10940. #. type: table
  10941. #: guix-git/doc/guix.texi:6256
  10942. 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."
  10943. msgstr ""
  10944. #. type: item
  10945. #: guix-git/doc/guix.texi:6257 guix-git/doc/guix.texi:34128
  10946. #, no-wrap
  10947. msgid "--save-provenance"
  10948. msgstr ""
  10949. #. type: table
  10950. #: guix-git/doc/guix.texi:6261
  10951. 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})."
  10952. msgstr ""
  10953. #. type: table
  10954. #: guix-git/doc/guix.texi:6267
  10955. 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."
  10956. msgstr ""
  10957. #. type: table
  10958. #: guix-git/doc/guix.texi:6273
  10959. 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."
  10960. msgstr ""
  10961. #. type: cindex
  10962. #: guix-git/doc/guix.texi:6276
  10963. #, no-wrap
  10964. msgid "garbage collector root, for packs"
  10965. msgstr ""
  10966. #. type: table
  10967. #: guix-git/doc/guix.texi:6279
  10968. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  10969. msgstr ""
  10970. #. type: item
  10971. #: guix-git/doc/guix.texi:6280
  10972. #, no-wrap
  10973. msgid "--localstatedir"
  10974. msgstr ""
  10975. #. type: itemx
  10976. #: guix-git/doc/guix.texi:6281
  10977. #, no-wrap
  10978. msgid "--profile-name=@var{name}"
  10979. msgstr ""
  10980. #. type: table
  10981. #: guix-git/doc/guix.texi:6286
  10982. 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}."
  10983. msgstr ""
  10984. #. type: table
  10985. #: guix-git/doc/guix.texi:6292
  10986. 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."
  10987. msgstr ""
  10988. #. type: table
  10989. #: guix-git/doc/guix.texi:6295
  10990. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  10991. msgstr ""
  10992. #. type: item
  10993. #: guix-git/doc/guix.texi:6296 guix-git/doc/guix.texi:34122
  10994. #, no-wrap
  10995. msgid "--derivation"
  10996. msgstr ""
  10997. #. type: itemx
  10998. #: guix-git/doc/guix.texi:6297 guix-git/doc/guix.texi:10957
  10999. #: guix-git/doc/guix.texi:34123
  11000. #, no-wrap
  11001. msgid "-d"
  11002. msgstr ""
  11003. #. type: table
  11004. #: guix-git/doc/guix.texi:6299
  11005. msgid "Print the name of the derivation that builds the pack."
  11006. msgstr ""
  11007. #. type: table
  11008. #: guix-git/doc/guix.texi:6303
  11009. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  11010. msgstr ""
  11011. #. type: Plain text
  11012. #: guix-git/doc/guix.texi:6308
  11013. 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})."
  11014. msgstr ""
  11015. #. type: cindex
  11016. #: guix-git/doc/guix.texi:6313
  11017. #, no-wrap
  11018. msgid "GCC"
  11019. msgstr ""
  11020. #. type: cindex
  11021. #: guix-git/doc/guix.texi:6314
  11022. #, no-wrap
  11023. msgid "ld-wrapper"
  11024. msgstr ""
  11025. #. type: cindex
  11026. #: guix-git/doc/guix.texi:6315
  11027. #, no-wrap
  11028. msgid "linker wrapper"
  11029. msgstr ""
  11030. #. type: cindex
  11031. #: guix-git/doc/guix.texi:6316
  11032. #, no-wrap
  11033. msgid "toolchain, for C development"
  11034. msgstr ""
  11035. #. type: cindex
  11036. #: guix-git/doc/guix.texi:6317
  11037. #, no-wrap
  11038. msgid "toolchain, for Fortran development"
  11039. msgstr ""
  11040. #. type: Plain text
  11041. #: guix-git/doc/guix.texi:6324
  11042. 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."
  11043. msgstr ""
  11044. #. type: Plain text
  11045. #: guix-git/doc/guix.texi:6330
  11046. 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}."
  11047. msgstr ""
  11048. #. type: Plain text
  11049. #: guix-git/doc/guix.texi:6334
  11050. 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})."
  11051. msgstr ""
  11052. #. type: section
  11053. #: guix-git/doc/guix.texi:6337
  11054. #, no-wrap
  11055. msgid "Invoking @command{guix git authenticate}"
  11056. msgstr ""
  11057. #. type: Plain text
  11058. #: guix-git/doc/guix.texi:6345
  11059. 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)."
  11060. msgstr ""
  11061. #. type: Plain text
  11062. #: guix-git/doc/guix.texi:6350
  11063. 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."
  11064. msgstr ""
  11065. #. type: example
  11066. #: guix-git/doc/guix.texi:6355
  11067. #, no-wrap
  11068. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  11069. msgstr ""
  11070. #. type: Plain text
  11071. #: guix-git/doc/guix.texi:6364
  11072. 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."
  11073. msgstr ""
  11074. #. type: item
  11075. #: guix-git/doc/guix.texi:6366
  11076. #, no-wrap
  11077. msgid "--repository=@var{directory}"
  11078. msgstr ""
  11079. #. type: itemx
  11080. #: guix-git/doc/guix.texi:6367
  11081. #, no-wrap
  11082. msgid "-r @var{directory}"
  11083. msgstr ""
  11084. #. type: table
  11085. #: guix-git/doc/guix.texi:6370
  11086. msgid "Open the Git repository in @var{directory} instead of the current directory."
  11087. msgstr ""
  11088. #. type: item
  11089. #: guix-git/doc/guix.texi:6371
  11090. #, no-wrap
  11091. msgid "--keyring=@var{reference}"
  11092. msgstr ""
  11093. #. type: itemx
  11094. #: guix-git/doc/guix.texi:6372
  11095. #, no-wrap
  11096. msgid "-k @var{reference}"
  11097. msgstr ""
  11098. #. type: table
  11099. #: guix-git/doc/guix.texi:6378
  11100. 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}."
  11101. msgstr ""
  11102. #. type: item
  11103. #: guix-git/doc/guix.texi:6379
  11104. #, no-wrap
  11105. msgid "--stats"
  11106. msgstr ""
  11107. #. type: table
  11108. #: guix-git/doc/guix.texi:6381
  11109. msgid "Display commit signing statistics upon completion."
  11110. msgstr ""
  11111. #. type: item
  11112. #: guix-git/doc/guix.texi:6382
  11113. #, no-wrap
  11114. msgid "--cache-key=@var{key}"
  11115. msgstr ""
  11116. #. type: table
  11117. #: guix-git/doc/guix.texi:6386
  11118. 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."
  11119. msgstr ""
  11120. #. type: item
  11121. #: guix-git/doc/guix.texi:6387
  11122. #, no-wrap
  11123. msgid "--historical-authorizations=@var{file}"
  11124. msgstr ""
  11125. #. type: table
  11126. #: guix-git/doc/guix.texi:6394
  11127. 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})."
  11128. msgstr ""
  11129. #. type: Plain text
  11130. #: guix-git/doc/guix.texi:6407
  11131. 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."
  11132. msgstr ""
  11133. #. type: Plain text
  11134. #: guix-git/doc/guix.texi:6413
  11135. 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."
  11136. msgstr ""
  11137. #. type: Plain text
  11138. #: guix-git/doc/guix.texi:6422
  11139. 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."
  11140. msgstr ""
  11141. #. type: Plain text
  11142. #: guix-git/doc/guix.texi:6425
  11143. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11144. msgstr ""
  11145. #. type: menuentry
  11146. #: guix-git/doc/guix.texi:6438
  11147. msgid "Programming Guix in Guile"
  11148. msgstr ""
  11149. #. type: Plain text
  11150. #: guix-git/doc/guix.texi:6454
  11151. 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})."
  11152. msgstr ""
  11153. #. type: Plain text
  11154. #: guix-git/doc/guix.texi:6461
  11155. 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."
  11156. msgstr ""
  11157. #. type: cindex
  11158. #: guix-git/doc/guix.texi:6463
  11159. #, no-wrap
  11160. msgid "package module search path"
  11161. msgstr ""
  11162. #. type: Plain text
  11163. #: guix-git/doc/guix.texi:6472
  11164. 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:"
  11165. msgstr ""
  11166. #. type: enumerate
  11167. #: guix-git/doc/guix.texi:6479
  11168. 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."
  11169. msgstr ""
  11170. #. type: enumerate
  11171. #: guix-git/doc/guix.texi:6485
  11172. 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."
  11173. msgstr ""
  11174. #. type: Plain text
  11175. #: guix-git/doc/guix.texi:6488
  11176. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11177. msgstr ""
  11178. #. type: defvr
  11179. #: guix-git/doc/guix.texi:6489
  11180. #, no-wrap
  11181. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11182. msgstr ""
  11183. #. type: defvr
  11184. #: guix-git/doc/guix.texi:6493
  11185. 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."
  11186. msgstr ""
  11187. #. type: Plain text
  11188. #: guix-git/doc/guix.texi:6501
  11189. 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}."
  11190. msgstr ""
  11191. #. type: Plain text
  11192. #: guix-git/doc/guix.texi:6509
  11193. 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:"
  11194. msgstr ""
  11195. #. type: lisp
  11196. #: guix-git/doc/guix.texi:6517
  11197. #, no-wrap
  11198. msgid ""
  11199. "(define-module (gnu packages hello)\n"
  11200. " #:use-module (guix packages)\n"
  11201. " #:use-module (guix download)\n"
  11202. " #:use-module (guix build-system gnu)\n"
  11203. " #:use-module (guix licenses)\n"
  11204. " #:use-module (gnu packages gawk))\n"
  11205. "\n"
  11206. msgstr ""
  11207. #. type: lisp
  11208. #: guix-git/doc/guix.texi:6536
  11209. #, no-wrap
  11210. msgid ""
  11211. "(define-public hello\n"
  11212. " (package\n"
  11213. " (name \"hello\")\n"
  11214. " (version \"2.10\")\n"
  11215. " (source (origin\n"
  11216. " (method url-fetch)\n"
  11217. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11218. " \".tar.gz\"))\n"
  11219. " (sha256\n"
  11220. " (base32\n"
  11221. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11222. " (build-system gnu-build-system)\n"
  11223. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11224. " (inputs `((\"gawk\" ,gawk)))\n"
  11225. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11226. " (description \"Guess what GNU Hello prints!\")\n"
  11227. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11228. " (license gpl3+)))\n"
  11229. msgstr ""
  11230. #. type: Plain text
  11231. #: guix-git/doc/guix.texi:6546
  11232. 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\"}."
  11233. msgstr ""
  11234. #. type: Plain text
  11235. #: guix-git/doc/guix.texi:6550
  11236. 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})."
  11237. msgstr ""
  11238. #. type: Plain text
  11239. #: guix-git/doc/guix.texi:6556
  11240. 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})."
  11241. msgstr ""
  11242. #. type: Plain text
  11243. #: guix-git/doc/guix.texi:6558
  11244. msgid "There are a few points worth noting in the above package definition:"
  11245. msgstr ""
  11246. #. type: itemize
  11247. #: guix-git/doc/guix.texi:6565
  11248. 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."
  11249. msgstr ""
  11250. #. type: itemize
  11251. #: guix-git/doc/guix.texi:6568
  11252. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11253. msgstr ""
  11254. #. type: itemize
  11255. #: guix-git/doc/guix.texi:6575
  11256. 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})."
  11257. msgstr ""
  11258. #. type: cindex
  11259. #: guix-git/doc/guix.texi:6576
  11260. #, no-wrap
  11261. msgid "patches"
  11262. msgstr ""
  11263. #. type: itemize
  11264. #: guix-git/doc/guix.texi:6580
  11265. 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."
  11266. msgstr ""
  11267. #. type: cindex
  11268. #: guix-git/doc/guix.texi:6582
  11269. #, no-wrap
  11270. msgid "GNU Build System"
  11271. msgstr ""
  11272. #. type: itemize
  11273. #: guix-git/doc/guix.texi:6588
  11274. 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."
  11275. msgstr ""
  11276. #. type: itemize
  11277. #: guix-git/doc/guix.texi:6592
  11278. 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."
  11279. msgstr ""
  11280. #. type: itemize
  11281. #: guix-git/doc/guix.texi:6598
  11282. 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."
  11283. msgstr ""
  11284. #. type: findex
  11285. #: guix-git/doc/guix.texi:6599 guix-git/doc/guix.texi:6602
  11286. #, no-wrap
  11287. msgid "quote"
  11288. msgstr ""
  11289. #. type: cindex
  11290. #: guix-git/doc/guix.texi:6600
  11291. #, no-wrap
  11292. msgid "quoting"
  11293. msgstr ""
  11294. #. type: findex
  11295. #: guix-git/doc/guix.texi:6601
  11296. #, no-wrap
  11297. msgid "'"
  11298. msgstr ""
  11299. #. type: itemize
  11300. #: guix-git/doc/guix.texi:6610
  11301. 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})."
  11302. msgstr ""
  11303. #. type: itemize
  11304. #: guix-git/doc/guix.texi:6616
  11305. 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})."
  11306. msgstr ""
  11307. #. type: itemize
  11308. #: guix-git/doc/guix.texi:6622
  11309. 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."
  11310. msgstr ""
  11311. #. type: cindex
  11312. #: guix-git/doc/guix.texi:6623
  11313. #, no-wrap
  11314. msgid "backquote (quasiquote)"
  11315. msgstr ""
  11316. #. type: findex
  11317. #: guix-git/doc/guix.texi:6624
  11318. #, no-wrap
  11319. msgid "`"
  11320. msgstr ""
  11321. #. type: findex
  11322. #: guix-git/doc/guix.texi:6625
  11323. #, no-wrap
  11324. msgid "quasiquote"
  11325. msgstr ""
  11326. #. type: cindex
  11327. #: guix-git/doc/guix.texi:6626
  11328. #, no-wrap
  11329. msgid "comma (unquote)"
  11330. msgstr ""
  11331. #. type: findex
  11332. #: guix-git/doc/guix.texi:6627
  11333. #, no-wrap
  11334. msgid ","
  11335. msgstr ""
  11336. #. type: findex
  11337. #: guix-git/doc/guix.texi:6628
  11338. #, no-wrap
  11339. msgid "unquote"
  11340. msgstr ""
  11341. #. type: findex
  11342. #: guix-git/doc/guix.texi:6629
  11343. #, no-wrap
  11344. msgid ",@@"
  11345. msgstr ""
  11346. #. type: findex
  11347. #: guix-git/doc/guix.texi:6630
  11348. #, no-wrap
  11349. msgid "unquote-splicing"
  11350. msgstr ""
  11351. #. type: itemize
  11352. #: guix-git/doc/guix.texi:6636
  11353. 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})."
  11354. msgstr ""
  11355. #. type: itemize
  11356. #: guix-git/doc/guix.texi:6640
  11357. 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})."
  11358. msgstr ""
  11359. #. type: itemize
  11360. #: guix-git/doc/guix.texi:6644
  11361. 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."
  11362. msgstr ""
  11363. #. type: Plain text
  11364. #: guix-git/doc/guix.texi:6647
  11365. msgid "@xref{package Reference}, for a full description of possible fields."
  11366. msgstr ""
  11367. #. type: Plain text
  11368. #: guix-git/doc/guix.texi:6658
  11369. 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."
  11370. msgstr ""
  11371. #. type: vindex
  11372. #: guix-git/doc/guix.texi:6658
  11373. #, no-wrap
  11374. msgid "GUIX_PACKAGE_PATH"
  11375. msgstr ""
  11376. #. type: Plain text
  11377. #: guix-git/doc/guix.texi:6662
  11378. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  11379. msgstr ""
  11380. #. type: Plain text
  11381. #: guix-git/doc/guix.texi:6666
  11382. 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})."
  11383. msgstr ""
  11384. #. type: Plain text
  11385. #: guix-git/doc/guix.texi:6672
  11386. 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})."
  11387. msgstr ""
  11388. #. type: deffn
  11389. #: guix-git/doc/guix.texi:6673
  11390. #, no-wrap
  11391. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  11392. msgstr ""
  11393. #. type: deffn
  11394. #: guix-git/doc/guix.texi:6676
  11395. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  11396. msgstr ""
  11397. #. type: deffn
  11398. #: guix-git/doc/guix.texi:6682
  11399. 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})."
  11400. msgstr ""
  11401. #. type: Plain text
  11402. #: guix-git/doc/guix.texi:6688
  11403. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  11404. msgstr ""
  11405. #. type: deffn
  11406. #: guix-git/doc/guix.texi:6689
  11407. #, no-wrap
  11408. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  11409. msgstr ""
  11410. #. type: deffn
  11411. #: guix-git/doc/guix.texi:6693
  11412. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  11413. msgstr ""
  11414. #. type: deffn
  11415. #: guix-git/doc/guix.texi:6697
  11416. 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})."
  11417. msgstr ""
  11418. #. type: Plain text
  11419. #: guix-git/doc/guix.texi:6701
  11420. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  11421. msgstr ""
  11422. #. type: subsection
  11423. #: guix-git/doc/guix.texi:6709
  11424. #, no-wrap
  11425. msgid "@code{package} Reference"
  11426. msgstr ""
  11427. #. type: Plain text
  11428. #: guix-git/doc/guix.texi:6713
  11429. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  11430. msgstr ""
  11431. #. type: deftp
  11432. #: guix-git/doc/guix.texi:6714
  11433. #, no-wrap
  11434. msgid "{Data Type} package"
  11435. msgstr ""
  11436. #. type: deftp
  11437. #: guix-git/doc/guix.texi:6716
  11438. msgid "This is the data type representing a package recipe."
  11439. msgstr ""
  11440. #. type: table
  11441. #: guix-git/doc/guix.texi:6720
  11442. msgid "The name of the package, as a string."
  11443. msgstr ""
  11444. #. type: code{#1}
  11445. #: guix-git/doc/guix.texi:6721
  11446. #, no-wrap
  11447. msgid "version"
  11448. msgstr ""
  11449. #. type: table
  11450. #: guix-git/doc/guix.texi:6724
  11451. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  11452. msgstr ""
  11453. #. type: code{#1}
  11454. #: guix-git/doc/guix.texi:6725 guix-git/doc/guix.texi:12167
  11455. #: guix-git/doc/guix.texi:14469 guix-git/doc/guix.texi:14972
  11456. #, no-wrap
  11457. msgid "source"
  11458. msgstr "منبع"
  11459. #. type: table
  11460. #: guix-git/doc/guix.texi:6732
  11461. 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}})."
  11462. msgstr ""
  11463. #. type: code{#1}
  11464. #: guix-git/doc/guix.texi:6733
  11465. #, no-wrap
  11466. msgid "build-system"
  11467. msgstr ""
  11468. #. type: table
  11469. #: guix-git/doc/guix.texi:6736
  11470. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  11471. msgstr ""
  11472. #. type: item
  11473. #: guix-git/doc/guix.texi:6737 guix-git/doc/guix.texi:16957
  11474. #, no-wrap
  11475. msgid "@code{arguments} (default: @code{'()})"
  11476. msgstr ""
  11477. #. type: table
  11478. #: guix-git/doc/guix.texi:6740
  11479. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  11480. msgstr ""
  11481. #. type: item
  11482. #: guix-git/doc/guix.texi:6741
  11483. #, no-wrap
  11484. msgid "@code{inputs} (default: @code{'()})"
  11485. msgstr ""
  11486. #. type: itemx
  11487. #: guix-git/doc/guix.texi:6742
  11488. #, no-wrap
  11489. msgid "@code{native-inputs} (default: @code{'()})"
  11490. msgstr ""
  11491. #. type: itemx
  11492. #: guix-git/doc/guix.texi:6743
  11493. #, no-wrap
  11494. msgid "@code{propagated-inputs} (default: @code{'()})"
  11495. msgstr ""
  11496. #. type: cindex
  11497. #: guix-git/doc/guix.texi:6744
  11498. #, no-wrap
  11499. msgid "inputs, of packages"
  11500. msgstr ""
  11501. #. type: table
  11502. #: guix-git/doc/guix.texi:6752
  11503. 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:"
  11504. msgstr ""
  11505. #. type: lisp
  11506. #: guix-git/doc/guix.texi:6757
  11507. #, no-wrap
  11508. msgid ""
  11509. "`((\"libffi\" ,libffi)\n"
  11510. " (\"libunistring\" ,libunistring)\n"
  11511. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of Glib\n"
  11512. msgstr ""
  11513. #. type: cindex
  11514. #: guix-git/doc/guix.texi:6759
  11515. #, no-wrap
  11516. msgid "cross compilation, package dependencies"
  11517. msgstr ""
  11518. #. type: table
  11519. #: guix-git/doc/guix.texi:6765
  11520. 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."
  11521. msgstr ""
  11522. #. type: table
  11523. #: guix-git/doc/guix.texi:6770
  11524. 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})."
  11525. msgstr ""
  11526. #. type: anchor{#1}
  11527. #: guix-git/doc/guix.texi:6778
  11528. msgid "package-propagated-inputs"
  11529. msgstr ""
  11530. #. type: table
  11531. #: guix-git/doc/guix.texi:6778
  11532. 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)."
  11533. msgstr ""
  11534. #. type: table
  11535. #: guix-git/doc/guix.texi:6782
  11536. 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."
  11537. msgstr ""
  11538. #. type: table
  11539. #: guix-git/doc/guix.texi:6789
  11540. 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}."
  11541. msgstr ""
  11542. #. type: item
  11543. #: guix-git/doc/guix.texi:6790
  11544. #, no-wrap
  11545. msgid "@code{outputs} (default: @code{'(\"out\")})"
  11546. msgstr ""
  11547. #. type: table
  11548. #: guix-git/doc/guix.texi:6793
  11549. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  11550. msgstr ""
  11551. #. type: item
  11552. #: guix-git/doc/guix.texi:6794
  11553. #, no-wrap
  11554. msgid "@code{native-search-paths} (default: @code{'()})"
  11555. msgstr ""
  11556. #. type: itemx
  11557. #: guix-git/doc/guix.texi:6795
  11558. #, no-wrap
  11559. msgid "@code{search-paths} (default: @code{'()})"
  11560. msgstr ""
  11561. #. type: table
  11562. #: guix-git/doc/guix.texi:6798
  11563. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package."
  11564. msgstr ""
  11565. #. type: item
  11566. #: guix-git/doc/guix.texi:6799
  11567. #, no-wrap
  11568. msgid "@code{replacement} (default: @code{#f})"
  11569. msgstr ""
  11570. #. type: table
  11571. #: guix-git/doc/guix.texi:6803
  11572. 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."
  11573. msgstr ""
  11574. #. type: item
  11575. #: guix-git/doc/guix.texi:6804 guix-git/doc/guix.texi:12159
  11576. #, no-wrap
  11577. msgid "synopsis"
  11578. msgstr ""
  11579. #. type: table
  11580. #: guix-git/doc/guix.texi:6806
  11581. msgid "A one-line description of the package."
  11582. msgstr ""
  11583. #. type: code{#1}
  11584. #: guix-git/doc/guix.texi:6807 guix-git/doc/guix.texi:12160
  11585. #: guix-git/doc/guix.texi:34824 guix-git/doc/guix.texi:34975
  11586. #, no-wrap
  11587. msgid "description"
  11588. msgstr ""
  11589. #. type: table
  11590. #: guix-git/doc/guix.texi:6809
  11591. msgid "A more elaborate description of the package."
  11592. msgstr ""
  11593. #. type: code{#1}
  11594. #: guix-git/doc/guix.texi:6810
  11595. #, no-wrap
  11596. msgid "license"
  11597. msgstr ""
  11598. #. type: cindex
  11599. #: guix-git/doc/guix.texi:6811
  11600. #, no-wrap
  11601. msgid "license, of packages"
  11602. msgstr ""
  11603. #. type: table
  11604. #: guix-git/doc/guix.texi:6814
  11605. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  11606. msgstr ""
  11607. #. type: itemx
  11608. #: guix-git/doc/guix.texi:6815 guix-git/doc/guix.texi:12168
  11609. #, no-wrap
  11610. msgid "home-page"
  11611. msgstr ""
  11612. #. type: table
  11613. #: guix-git/doc/guix.texi:6817
  11614. msgid "The URL to the home-page of the package, as a string."
  11615. msgstr ""
  11616. #. type: item
  11617. #: guix-git/doc/guix.texi:6818
  11618. #, no-wrap
  11619. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  11620. msgstr ""
  11621. #. type: table
  11622. #: guix-git/doc/guix.texi:6821
  11623. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  11624. msgstr ""
  11625. #. type: item
  11626. #: guix-git/doc/guix.texi:6822
  11627. #, no-wrap
  11628. msgid "@code{location} (default: source location of the @code{package} form)"
  11629. msgstr ""
  11630. #. type: table
  11631. #: guix-git/doc/guix.texi:6826
  11632. 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."
  11633. msgstr ""
  11634. #. type: deffn
  11635. #: guix-git/doc/guix.texi:6829
  11636. #, no-wrap
  11637. msgid "{Scheme Syntax} this-package"
  11638. msgstr ""
  11639. #. type: deffn
  11640. #: guix-git/doc/guix.texi:6832
  11641. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  11642. msgstr ""
  11643. #. type: deffn
  11644. #: guix-git/doc/guix.texi:6835
  11645. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  11646. msgstr ""
  11647. #. type: lisp
  11648. #: guix-git/doc/guix.texi:6840
  11649. #, no-wrap
  11650. msgid ""
  11651. "(package\n"
  11652. " (name \"guile\")\n"
  11653. " ;; ...\n"
  11654. "\n"
  11655. msgstr ""
  11656. #. type: lisp
  11657. #: guix-git/doc/guix.texi:6846
  11658. #, no-wrap
  11659. msgid ""
  11660. " ;; When cross-compiled, Guile, for example, depends on\n"
  11661. " ;; a native version of itself. Add it here.\n"
  11662. " (native-inputs (if (%current-target-system)\n"
  11663. " `((\"self\" ,this-package))\n"
  11664. " '())))\n"
  11665. msgstr ""
  11666. #. type: deffn
  11667. #: guix-git/doc/guix.texi:6849
  11668. msgid "It is an error to refer to @code{this-package} outside a package definition."
  11669. msgstr ""
  11670. #. type: Plain text
  11671. #: guix-git/doc/guix.texi:6855
  11672. 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."
  11673. msgstr ""
  11674. #. type: cindex
  11675. #: guix-git/doc/guix.texi:6856
  11676. #, no-wrap
  11677. msgid "tool chain, choosing a package's tool chain"
  11678. msgstr ""
  11679. #. type: deffn
  11680. #: guix-git/doc/guix.texi:6857
  11681. #, no-wrap
  11682. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  11683. msgstr ""
  11684. #. type: deffn
  11685. #: guix-git/doc/guix.texi:6862
  11686. 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."
  11687. msgstr ""
  11688. #. type: deffn
  11689. #: guix-git/doc/guix.texi:6866
  11690. 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:"
  11691. msgstr ""
  11692. #. type: lisp
  11693. #: guix-git/doc/guix.texi:6870
  11694. #, no-wrap
  11695. msgid ""
  11696. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  11697. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  11698. msgstr ""
  11699. #. type: deffn
  11700. #: guix-git/doc/guix.texi:6878
  11701. 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."
  11702. msgstr ""
  11703. #. type: subsection
  11704. #: guix-git/doc/guix.texi:6881
  11705. #, no-wrap
  11706. msgid "@code{origin} Reference"
  11707. msgstr ""
  11708. #. type: Plain text
  11709. #: guix-git/doc/guix.texi:6889
  11710. 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."
  11711. msgstr ""
  11712. #. type: deftp
  11713. #: guix-git/doc/guix.texi:6890
  11714. #, no-wrap
  11715. msgid "{Data Type} origin"
  11716. msgstr ""
  11717. #. type: deftp
  11718. #: guix-git/doc/guix.texi:6892
  11719. msgid "This is the data type representing a source code origin."
  11720. msgstr ""
  11721. #. type: code{#1}
  11722. #: guix-git/doc/guix.texi:6894 guix-git/doc/guix.texi:25501
  11723. #, no-wrap
  11724. msgid "uri"
  11725. msgstr ""
  11726. #. type: table
  11727. #: guix-git/doc/guix.texi:6899
  11728. 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."
  11729. msgstr ""
  11730. #. type: cindex
  11731. #: guix-git/doc/guix.texi:6900
  11732. #, no-wrap
  11733. msgid "fixed-output derivations, for download"
  11734. msgstr ""
  11735. #. type: code{#1}
  11736. #: guix-git/doc/guix.texi:6901
  11737. #, no-wrap
  11738. msgid "method"
  11739. msgstr ""
  11740. #. type: table
  11741. #: guix-git/doc/guix.texi:6908
  11742. 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})."
  11743. msgstr ""
  11744. #. type: table
  11745. #: guix-git/doc/guix.texi:6912
  11746. 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)."
  11747. msgstr ""
  11748. #. type: code{#1}
  11749. #: guix-git/doc/guix.texi:6913
  11750. #, no-wrap
  11751. msgid "sha256"
  11752. msgstr ""
  11753. #. type: table
  11754. #: guix-git/doc/guix.texi:6917
  11755. 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."
  11756. msgstr ""
  11757. #. type: code{#1}
  11758. #: guix-git/doc/guix.texi:6918
  11759. #, no-wrap
  11760. msgid "hash"
  11761. msgstr ""
  11762. #. type: table
  11763. #: guix-git/doc/guix.texi:6921
  11764. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  11765. msgstr ""
  11766. #. type: table
  11767. #: guix-git/doc/guix.texi:6925
  11768. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  11769. msgstr ""
  11770. #. type: item
  11771. #: guix-git/doc/guix.texi:6926
  11772. #, no-wrap
  11773. msgid "@code{file-name} (default: @code{#f})"
  11774. msgstr ""
  11775. #. type: table
  11776. #: guix-git/doc/guix.texi:6932
  11777. 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."
  11778. msgstr ""
  11779. #. type: item
  11780. #: guix-git/doc/guix.texi:6933
  11781. #, no-wrap
  11782. msgid "@code{patches} (default: @code{'()})"
  11783. msgstr ""
  11784. #. type: table
  11785. #: guix-git/doc/guix.texi:6936
  11786. 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."
  11787. msgstr ""
  11788. #. type: table
  11789. #: guix-git/doc/guix.texi:6940
  11790. 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}."
  11791. msgstr ""
  11792. #. type: item
  11793. #: guix-git/doc/guix.texi:6941
  11794. #, no-wrap
  11795. msgid "@code{snippet} (default: @code{#f})"
  11796. msgstr ""
  11797. #. type: table
  11798. #: guix-git/doc/guix.texi:6945
  11799. 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."
  11800. msgstr ""
  11801. #. type: item
  11802. #: guix-git/doc/guix.texi:6946
  11803. #, no-wrap
  11804. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  11805. msgstr ""
  11806. #. type: table
  11807. #: guix-git/doc/guix.texi:6949
  11808. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  11809. msgstr ""
  11810. #. type: item
  11811. #: guix-git/doc/guix.texi:6950
  11812. #, no-wrap
  11813. msgid "@code{patch-inputs} (default: @code{#f})"
  11814. msgstr ""
  11815. #. type: table
  11816. #: guix-git/doc/guix.texi:6954
  11817. 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."
  11818. msgstr ""
  11819. #. type: item
  11820. #: guix-git/doc/guix.texi:6955 guix-git/doc/guix.texi:25374
  11821. #, no-wrap
  11822. msgid "@code{modules} (default: @code{'()})"
  11823. msgstr ""
  11824. #. type: table
  11825. #: guix-git/doc/guix.texi:6958
  11826. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  11827. msgstr ""
  11828. #. type: item
  11829. #: guix-git/doc/guix.texi:6959
  11830. #, no-wrap
  11831. msgid "@code{patch-guile} (default: @code{#f})"
  11832. msgstr ""
  11833. #. type: table
  11834. #: guix-git/doc/guix.texi:6962
  11835. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  11836. msgstr ""
  11837. #. type: deftp
  11838. #: guix-git/doc/guix.texi:6965
  11839. #, no-wrap
  11840. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  11841. msgstr ""
  11842. #. type: deftp
  11843. #: guix-git/doc/guix.texi:6969
  11844. 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}."
  11845. msgstr ""
  11846. #. type: deftp
  11847. #: guix-git/doc/guix.texi:6972
  11848. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  11849. msgstr ""
  11850. #. type: deftp
  11851. #: guix-git/doc/guix.texi:6974
  11852. msgid "The following forms are all equivalent:"
  11853. msgstr ""
  11854. #. type: lisp
  11855. #: guix-git/doc/guix.texi:6983
  11856. #, no-wrap
  11857. msgid ""
  11858. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  11859. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  11860. " sha256)\n"
  11861. "(content-hash (base32\n"
  11862. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  11863. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  11864. " sha256)\n"
  11865. msgstr ""
  11866. #. type: deftp
  11867. #: guix-git/doc/guix.texi:6988
  11868. 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}."
  11869. msgstr ""
  11870. #. type: Plain text
  11871. #: guix-git/doc/guix.texi:6994
  11872. 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."
  11873. msgstr ""
  11874. #. type: deffn
  11875. #: guix-git/doc/guix.texi:6995
  11876. #, no-wrap
  11877. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  11878. msgstr ""
  11879. #. type: deffn
  11880. #: guix-git/doc/guix.texi:7003
  11881. 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."
  11882. msgstr ""
  11883. #. type: deffn
  11884. #: guix-git/doc/guix.texi:7006
  11885. 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}."
  11886. msgstr ""
  11887. #. type: deffn
  11888. #: guix-git/doc/guix.texi:7009
  11889. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  11890. msgstr ""
  11891. #. type: Plain text
  11892. #: guix-git/doc/guix.texi:7015
  11893. 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."
  11894. msgstr ""
  11895. #. type: deffn
  11896. #: guix-git/doc/guix.texi:7016
  11897. #, no-wrap
  11898. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  11899. msgstr ""
  11900. #. type: deffn
  11901. #: guix-git/doc/guix.texi:7021
  11902. 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}."
  11903. msgstr ""
  11904. #. type: deftp
  11905. #: guix-git/doc/guix.texi:7023
  11906. #, no-wrap
  11907. msgid "{Data Type} git-reference"
  11908. msgstr ""
  11909. #. type: deftp
  11910. #: guix-git/doc/guix.texi:7026
  11911. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  11912. msgstr ""
  11913. #. type: code{#1}
  11914. #: guix-git/doc/guix.texi:7028 guix-git/doc/guix.texi:23135
  11915. #, no-wrap
  11916. msgid "url"
  11917. msgstr ""
  11918. #. type: table
  11919. #: guix-git/doc/guix.texi:7030
  11920. msgid "The URL of the Git repository to clone."
  11921. msgstr ""
  11922. #. type: code{#1}
  11923. #: guix-git/doc/guix.texi:7031
  11924. #, no-wrap
  11925. msgid "commit"
  11926. msgstr ""
  11927. #. type: table
  11928. #: guix-git/doc/guix.texi:7036
  11929. 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}."
  11930. msgstr ""
  11931. #. type: item
  11932. #: guix-git/doc/guix.texi:7037
  11933. #, no-wrap
  11934. msgid "@code{recursive?} (default: @code{#f})"
  11935. msgstr ""
  11936. #. type: table
  11937. #: guix-git/doc/guix.texi:7039
  11938. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  11939. msgstr ""
  11940. #. type: deftp
  11941. #: guix-git/doc/guix.texi:7043
  11942. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  11943. msgstr ""
  11944. #. type: lisp
  11945. #: guix-git/doc/guix.texi:7048
  11946. #, no-wrap
  11947. msgid ""
  11948. "(git-reference\n"
  11949. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11950. " (commit \"v2.10\"))\n"
  11951. msgstr ""
  11952. #. type: deftp
  11953. #: guix-git/doc/guix.texi:7052
  11954. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  11955. msgstr ""
  11956. #. type: lisp
  11957. #: guix-git/doc/guix.texi:7057
  11958. #, no-wrap
  11959. msgid ""
  11960. "(git-reference\n"
  11961. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11962. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  11963. msgstr ""
  11964. #. type: Plain text
  11965. #: guix-git/doc/guix.texi:7063
  11966. 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."
  11967. msgstr ""
  11968. #. type: deffn
  11969. #: guix-git/doc/guix.texi:7064
  11970. #, no-wrap
  11971. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  11972. msgstr ""
  11973. #. type: deffn
  11974. #: guix-git/doc/guix.texi:7070
  11975. 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}."
  11976. msgstr ""
  11977. #. type: cindex
  11978. #: guix-git/doc/guix.texi:7075
  11979. #, no-wrap
  11980. msgid "customizing packages"
  11981. msgstr ""
  11982. #. type: cindex
  11983. #: guix-git/doc/guix.texi:7076
  11984. #, no-wrap
  11985. msgid "variants, of packages"
  11986. msgstr ""
  11987. #. type: Plain text
  11988. #: guix-git/doc/guix.texi:7086
  11989. 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!"
  11990. msgstr ""
  11991. #. type: cindex
  11992. #: guix-git/doc/guix.texi:7087
  11993. #, no-wrap
  11994. msgid "inherit, for package definitions"
  11995. msgstr ""
  11996. #. type: Plain text
  11997. #: guix-git/doc/guix.texi:7094
  11998. 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."
  11999. msgstr ""
  12000. #. type: Plain text
  12001. #: guix-git/doc/guix.texi:7099
  12002. 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!):"
  12003. msgstr ""
  12004. #. type: lisp
  12005. #: guix-git/doc/guix.texi:7102
  12006. #, no-wrap
  12007. msgid ""
  12008. "(use-modules (gnu packages base)) ;for 'hello'\n"
  12009. "\n"
  12010. msgstr ""
  12011. #. type: lisp
  12012. #: guix-git/doc/guix.texi:7114
  12013. #, no-wrap
  12014. msgid ""
  12015. "(define hello-2.2\n"
  12016. " (package\n"
  12017. " (inherit hello)\n"
  12018. " (version \"2.2\")\n"
  12019. " (source (origin\n"
  12020. " (method url-fetch)\n"
  12021. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  12022. " \".tar.gz\"))\n"
  12023. " (sha256\n"
  12024. " (base32\n"
  12025. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  12026. msgstr ""
  12027. #. type: Plain text
  12028. #: guix-git/doc/guix.texi:7123
  12029. 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."
  12030. msgstr ""
  12031. #. type: Plain text
  12032. #: guix-git/doc/guix.texi:7129
  12033. 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:"
  12034. msgstr ""
  12035. #. type: lisp
  12036. #: guix-git/doc/guix.texi:7133
  12037. #, no-wrap
  12038. msgid ""
  12039. "(use-modules (gnu packages gdb) ;for 'gdb'\n"
  12040. " (srfi srfi-1)) ;for 'alist-delete'\n"
  12041. "\n"
  12042. msgstr ""
  12043. #. type: lisp
  12044. #: guix-git/doc/guix.texi:7139
  12045. #, no-wrap
  12046. msgid ""
  12047. "(define gdb-sans-guile\n"
  12048. " (package\n"
  12049. " (inherit gdb)\n"
  12050. " (inputs (alist-delete \"guile\"\n"
  12051. " (package-inputs gdb)))))\n"
  12052. msgstr ""
  12053. #. type: Plain text
  12054. #: guix-git/doc/guix.texi:7145
  12055. 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})."
  12056. msgstr ""
  12057. #. type: Plain text
  12058. #: guix-git/doc/guix.texi:7153
  12059. 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:"
  12060. msgstr ""
  12061. #. type: lisp
  12062. #: guix-git/doc/guix.texi:7164
  12063. #, no-wrap
  12064. msgid ""
  12065. "(define (make-lua-socket name lua)\n"
  12066. " ;; Return a luasocket package built with LUA.\n"
  12067. " (package\n"
  12068. " (name name)\n"
  12069. " (version \"3.0\")\n"
  12070. " ;; several fields omitted\n"
  12071. " (inputs\n"
  12072. " `((\"lua\" ,lua)))\n"
  12073. " (synopsis \"Socket library for Lua\")))\n"
  12074. "\n"
  12075. msgstr ""
  12076. #. type: lisp
  12077. #: guix-git/doc/guix.texi:7167
  12078. #, no-wrap
  12079. msgid ""
  12080. "(define-public lua5.1-socket\n"
  12081. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  12082. "\n"
  12083. msgstr ""
  12084. #. type: lisp
  12085. #: guix-git/doc/guix.texi:7170
  12086. #, no-wrap
  12087. msgid ""
  12088. "(define-public lua5.2-socket\n"
  12089. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  12090. msgstr ""
  12091. #. type: Plain text
  12092. #: guix-git/doc/guix.texi:7178
  12093. 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})."
  12094. msgstr ""
  12095. #. type: cindex
  12096. #: guix-git/doc/guix.texi:7179
  12097. #, no-wrap
  12098. msgid "package transformations"
  12099. msgstr ""
  12100. #. type: Plain text
  12101. #: guix-git/doc/guix.texi:7184
  12102. 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}):"
  12103. msgstr ""
  12104. #. type: deffn
  12105. #: guix-git/doc/guix.texi:7185
  12106. #, no-wrap
  12107. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12108. msgstr ""
  12109. #. type: deffn
  12110. #: guix-git/doc/guix.texi:7189
  12111. 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:"
  12112. msgstr ""
  12113. #. type: lisp
  12114. #: guix-git/doc/guix.texi:7193
  12115. #, no-wrap
  12116. msgid ""
  12117. "((with-branch . \"guile-gcrypt=master\")\n"
  12118. " (without-tests . \"libgcrypt\"))\n"
  12119. msgstr ""
  12120. #. type: deffn
  12121. #: guix-git/doc/guix.texi:7197
  12122. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  12123. msgstr ""
  12124. #. type: Plain text
  12125. #: guix-git/doc/guix.texi:7200
  12126. msgid "For instance, a manifest equivalent to this command:"
  12127. msgstr ""
  12128. #. type: example
  12129. #: guix-git/doc/guix.texi:7205
  12130. #, no-wrap
  12131. msgid ""
  12132. "guix build guix \\\n"
  12133. " --with-branch=guile-gcrypt=master \\\n"
  12134. " --with-debug-info=zlib\n"
  12135. msgstr ""
  12136. #. type: Plain text
  12137. #: guix-git/doc/guix.texi:7209
  12138. msgid "... would look like this:"
  12139. msgstr ""
  12140. #. type: lisp
  12141. #: guix-git/doc/guix.texi:7212
  12142. #, no-wrap
  12143. msgid ""
  12144. "(use-modules (guix transformations))\n"
  12145. "\n"
  12146. msgstr ""
  12147. #. type: lisp
  12148. #: guix-git/doc/guix.texi:7218
  12149. #, no-wrap
  12150. msgid ""
  12151. "(define transform\n"
  12152. " ;; The package transformation procedure.\n"
  12153. " (options->transformation\n"
  12154. " '((with-branch . \"guile-gcrypt=master\")\n"
  12155. " (with-debug-info . \"zlib\"))))\n"
  12156. "\n"
  12157. msgstr ""
  12158. #. type: lisp
  12159. #: guix-git/doc/guix.texi:7221
  12160. #, no-wrap
  12161. msgid ""
  12162. "(packages->manifest\n"
  12163. " (list (transform (specification->package \"guix\"))))\n"
  12164. msgstr ""
  12165. #. type: cindex
  12166. #: guix-git/doc/guix.texi:7223
  12167. #, no-wrap
  12168. msgid "input rewriting"
  12169. msgstr ""
  12170. #. type: cindex
  12171. #: guix-git/doc/guix.texi:7224
  12172. #, no-wrap
  12173. msgid "dependency graph rewriting"
  12174. msgstr ""
  12175. #. type: Plain text
  12176. #: guix-git/doc/guix.texi:7231
  12177. 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."
  12178. msgstr ""
  12179. #. type: Plain text
  12180. #: guix-git/doc/guix.texi:7235
  12181. 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."
  12182. msgstr ""
  12183. #. type: deffn
  12184. #: guix-git/doc/guix.texi:7236
  12185. #, no-wrap
  12186. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  12187. msgstr ""
  12188. #. type: deffn
  12189. #: guix-git/doc/guix.texi:7243
  12190. 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."
  12191. msgstr ""
  12192. #. type: deffn
  12193. #: guix-git/doc/guix.texi:7246
  12194. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  12195. msgstr ""
  12196. #. type: table
  12197. #: guix-git/doc/guix.texi:7250 guix-git/doc/guix.texi:10602
  12198. msgid "Consider this example:"
  12199. msgstr ""
  12200. #. type: lisp
  12201. #: guix-git/doc/guix.texi:7256
  12202. #, no-wrap
  12203. msgid ""
  12204. "(define libressl-instead-of-openssl\n"
  12205. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  12206. " ;; recursively.\n"
  12207. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  12208. "\n"
  12209. msgstr ""
  12210. #. type: lisp
  12211. #: guix-git/doc/guix.texi:7259
  12212. #, no-wrap
  12213. msgid ""
  12214. "(define git-with-libressl\n"
  12215. " (libressl-instead-of-openssl git))\n"
  12216. msgstr ""
  12217. #. type: Plain text
  12218. #: guix-git/doc/guix.texi:7267
  12219. 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}})."
  12220. msgstr ""
  12221. #. type: Plain text
  12222. #: guix-git/doc/guix.texi:7270
  12223. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  12224. msgstr ""
  12225. #. type: deffn
  12226. #: guix-git/doc/guix.texi:7271
  12227. #, no-wrap
  12228. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  12229. msgstr ""
  12230. #. type: deffn
  12231. #: guix-git/doc/guix.texi:7278
  12232. 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."
  12233. msgstr ""
  12234. #. type: Plain text
  12235. #: guix-git/doc/guix.texi:7281
  12236. msgid "The example above could be rewritten this way:"
  12237. msgstr ""
  12238. #. type: lisp
  12239. #: guix-git/doc/guix.texi:7286
  12240. #, no-wrap
  12241. msgid ""
  12242. "(define libressl-instead-of-openssl\n"
  12243. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  12244. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  12245. msgstr ""
  12246. #. type: Plain text
  12247. #: guix-git/doc/guix.texi:7291
  12248. 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."
  12249. msgstr ""
  12250. #. type: Plain text
  12251. #: guix-git/doc/guix.texi:7295
  12252. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  12253. msgstr ""
  12254. #. type: deffn
  12255. #: guix-git/doc/guix.texi:7296
  12256. #, no-wrap
  12257. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  12258. msgstr ""
  12259. #. type: deffn
  12260. #: guix-git/doc/guix.texi:7301
  12261. 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."
  12262. msgstr ""
  12263. #. type: cindex
  12264. #: guix-git/doc/guix.texi:7307
  12265. #, no-wrap
  12266. msgid "build system"
  12267. msgstr ""
  12268. #. type: Plain text
  12269. #: guix-git/doc/guix.texi:7312
  12270. 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."
  12271. msgstr ""
  12272. #. type: Plain text
  12273. #: guix-git/doc/guix.texi:7316
  12274. 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."
  12275. msgstr ""
  12276. #. type: cindex
  12277. #: guix-git/doc/guix.texi:7317
  12278. #, no-wrap
  12279. msgid "bag (low-level package representation)"
  12280. msgstr ""
  12281. #. type: Plain text
  12282. #: guix-git/doc/guix.texi:7327
  12283. 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}})."
  12284. msgstr ""
  12285. #. type: Plain text
  12286. #: guix-git/doc/guix.texi:7335
  12287. 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})."
  12288. msgstr ""
  12289. #. type: Plain text
  12290. #: guix-git/doc/guix.texi:7339
  12291. 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."
  12292. msgstr ""
  12293. #. type: defvr
  12294. #: guix-git/doc/guix.texi:7340
  12295. #, no-wrap
  12296. msgid "{Scheme Variable} gnu-build-system"
  12297. msgstr ""
  12298. #. type: defvr
  12299. #: guix-git/doc/guix.texi:7344
  12300. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  12301. msgstr ""
  12302. #. type: cindex
  12303. #: guix-git/doc/guix.texi:7345 guix-git/doc/guix.texi:8287
  12304. #: guix-git/doc/guix.texi:8742
  12305. #, no-wrap
  12306. msgid "build phases"
  12307. msgstr ""
  12308. #. type: defvr
  12309. #: guix-git/doc/guix.texi:7352
  12310. 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."
  12311. msgstr ""
  12312. #. type: defvr
  12313. #: guix-git/doc/guix.texi:7359
  12314. 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."
  12315. msgstr ""
  12316. #. type: defvr
  12317. #: guix-git/doc/guix.texi:7363
  12318. 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:"
  12319. msgstr ""
  12320. #. type: item
  12321. #: guix-git/doc/guix.texi:7365
  12322. #, no-wrap
  12323. msgid "#:phases"
  12324. msgstr ""
  12325. #. type: table
  12326. #: guix-git/doc/guix.texi:7368
  12327. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  12328. msgstr ""
  12329. #. type: item
  12330. #: guix-git/doc/guix.texi:7369
  12331. #, no-wrap
  12332. msgid "#:configure-flags"
  12333. msgstr ""
  12334. #. type: table
  12335. #: guix-git/doc/guix.texi:7372
  12336. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  12337. msgstr ""
  12338. #. type: item
  12339. #: guix-git/doc/guix.texi:7373
  12340. #, no-wrap
  12341. msgid "#:make-flags"
  12342. msgstr ""
  12343. #. type: table
  12344. #: guix-git/doc/guix.texi:7377
  12345. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  12346. msgstr ""
  12347. #. type: item
  12348. #: guix-git/doc/guix.texi:7378
  12349. #, no-wrap
  12350. msgid "#:out-of-source?"
  12351. msgstr ""
  12352. #. type: table
  12353. #: guix-git/doc/guix.texi:7381
  12354. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  12355. msgstr ""
  12356. #. type: table
  12357. #: guix-git/doc/guix.texi:7386
  12358. 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}."
  12359. msgstr ""
  12360. #. type: item
  12361. #: guix-git/doc/guix.texi:7387
  12362. #, no-wrap
  12363. msgid "#:tests?"
  12364. msgstr ""
  12365. #. type: table
  12366. #: guix-git/doc/guix.texi:7390
  12367. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  12368. msgstr ""
  12369. #. type: item
  12370. #: guix-git/doc/guix.texi:7391
  12371. #, no-wrap
  12372. msgid "#:test-target"
  12373. msgstr ""
  12374. #. type: table
  12375. #: guix-git/doc/guix.texi:7394
  12376. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  12377. msgstr ""
  12378. #. type: item
  12379. #: guix-git/doc/guix.texi:7395
  12380. #, no-wrap
  12381. msgid "#:parallel-build?"
  12382. msgstr ""
  12383. #. type: itemx
  12384. #: guix-git/doc/guix.texi:7396
  12385. #, no-wrap
  12386. msgid "#:parallel-tests?"
  12387. msgstr ""
  12388. #. type: table
  12389. #: guix-git/doc/guix.texi:7403
  12390. 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}})."
  12391. msgstr ""
  12392. #. type: cindex
  12393. #: guix-git/doc/guix.texi:7404
  12394. #, no-wrap
  12395. msgid "RUNPATH, validation"
  12396. msgstr ""
  12397. #. type: item
  12398. #: guix-git/doc/guix.texi:7405
  12399. #, no-wrap
  12400. msgid "#:validate-runpath?"
  12401. msgstr ""
  12402. #. type: table
  12403. #: guix-git/doc/guix.texi:7409
  12404. 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."
  12405. msgstr ""
  12406. #. type: table
  12407. #: guix-git/doc/guix.texi:7417
  12408. 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}."
  12409. msgstr ""
  12410. #. type: item
  12411. #: guix-git/doc/guix.texi:7418
  12412. #, no-wrap
  12413. msgid "#:substitutable?"
  12414. msgstr ""
  12415. #. type: table
  12416. #: guix-git/doc/guix.texi:7422
  12417. 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})."
  12418. msgstr ""
  12419. #. type: item
  12420. #: guix-git/doc/guix.texi:7423
  12421. #, no-wrap
  12422. msgid "#:allowed-references"
  12423. msgstr ""
  12424. #. type: itemx
  12425. #: guix-git/doc/guix.texi:7424
  12426. #, no-wrap
  12427. msgid "#:disallowed-references"
  12428. msgstr ""
  12429. #. type: table
  12430. #: guix-git/doc/guix.texi:7429
  12431. 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."
  12432. msgstr ""
  12433. #. type: table
  12434. #: guix-git/doc/guix.texi:7434
  12435. 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})."
  12436. msgstr ""
  12437. #. type: defvr
  12438. #: guix-git/doc/guix.texi:7437
  12439. msgid "Most other build systems support these keyword arguments."
  12440. msgstr ""
  12441. #. type: Plain text
  12442. #: guix-git/doc/guix.texi:7444
  12443. 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."
  12444. msgstr ""
  12445. #. type: defvr
  12446. #: guix-git/doc/guix.texi:7445
  12447. #, no-wrap
  12448. msgid "{Scheme Variable} ant-build-system"
  12449. msgstr ""
  12450. #. type: defvr
  12451. #: guix-git/doc/guix.texi:7449
  12452. 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}."
  12453. msgstr ""
  12454. #. type: defvr
  12455. #: guix-git/doc/guix.texi:7454
  12456. 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."
  12457. msgstr ""
  12458. #. type: defvr
  12459. #: guix-git/doc/guix.texi:7460
  12460. 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''."
  12461. msgstr ""
  12462. #. type: defvr
  12463. #: guix-git/doc/guix.texi:7468
  12464. 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."
  12465. msgstr ""
  12466. #. type: defvr
  12467. #: guix-git/doc/guix.texi:7472
  12468. 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."
  12469. msgstr ""
  12470. #. type: defvr
  12471. #: guix-git/doc/guix.texi:7475
  12472. #, no-wrap
  12473. msgid "{Scheme Variable} android-ndk-build-system"
  12474. msgstr ""
  12475. #. type: cindex
  12476. #: guix-git/doc/guix.texi:7476
  12477. #, no-wrap
  12478. msgid "Android distribution"
  12479. msgstr ""
  12480. #. type: cindex
  12481. #: guix-git/doc/guix.texi:7477
  12482. #, no-wrap
  12483. msgid "Android NDK build system"
  12484. msgstr ""
  12485. #. type: defvr
  12486. #: guix-git/doc/guix.texi:7481
  12487. 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."
  12488. msgstr ""
  12489. #. type: defvr
  12490. #: guix-git/doc/guix.texi:7485
  12491. 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."
  12492. msgstr ""
  12493. #. type: defvr
  12494. #: guix-git/doc/guix.texi:7488
  12495. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  12496. msgstr ""
  12497. #. type: defvr
  12498. #: guix-git/doc/guix.texi:7491
  12499. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  12500. msgstr ""
  12501. #. type: defvr
  12502. #: guix-git/doc/guix.texi:7494
  12503. #, no-wrap
  12504. msgid "{Scheme Variable} asdf-build-system/source"
  12505. msgstr ""
  12506. #. type: defvrx
  12507. #: guix-git/doc/guix.texi:7495
  12508. #, no-wrap
  12509. msgid "{Scheme Variable} asdf-build-system/sbcl"
  12510. msgstr ""
  12511. #. type: defvrx
  12512. #: guix-git/doc/guix.texi:7496
  12513. #, no-wrap
  12514. msgid "{Scheme Variable} asdf-build-system/ecl"
  12515. msgstr ""
  12516. #. type: defvr
  12517. #: guix-git/doc/guix.texi:7502
  12518. 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."
  12519. msgstr ""
  12520. #. type: defvr
  12521. #: guix-git/doc/guix.texi:7509
  12522. 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."
  12523. msgstr ""
  12524. #. type: defvr
  12525. #: guix-git/doc/guix.texi:7513
  12526. 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}."
  12527. msgstr ""
  12528. #. type: defvr
  12529. #: guix-git/doc/guix.texi:7517
  12530. 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."
  12531. msgstr ""
  12532. #. type: defvr
  12533. #: guix-git/doc/guix.texi:7525
  12534. 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."
  12535. msgstr ""
  12536. #. type: defvr
  12537. #: guix-git/doc/guix.texi:7534
  12538. 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."
  12539. msgstr ""
  12540. #. type: defvr
  12541. #: guix-git/doc/guix.texi:7539
  12542. 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."
  12543. msgstr ""
  12544. #. type: defvr
  12545. #: guix-git/doc/guix.texi:7542
  12546. #, no-wrap
  12547. msgid "{Scheme Variable} cargo-build-system"
  12548. msgstr ""
  12549. #. type: cindex
  12550. #: guix-git/doc/guix.texi:7543
  12551. #, no-wrap
  12552. msgid "Rust programming language"
  12553. msgstr ""
  12554. #. type: cindex
  12555. #: guix-git/doc/guix.texi:7544
  12556. #, no-wrap
  12557. msgid "Cargo (Rust build system)"
  12558. msgstr ""
  12559. #. type: defvr
  12560. #: guix-git/doc/guix.texi:7548
  12561. 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}."
  12562. msgstr ""
  12563. #. type: defvr
  12564. #: guix-git/doc/guix.texi:7551
  12565. 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."
  12566. msgstr ""
  12567. #. type: defvr
  12568. #: guix-git/doc/guix.texi:7561
  12569. 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."
  12570. msgstr ""
  12571. #. type: defvr
  12572. #: guix-git/doc/guix.texi:7571
  12573. 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."
  12574. msgstr ""
  12575. #. type: defvr
  12576. #: guix-git/doc/guix.texi:7573
  12577. #, no-wrap
  12578. msgid "{Scheme Variable} chicken-build-system"
  12579. msgstr ""
  12580. #. type: defvr
  12581. #: guix-git/doc/guix.texi:7578
  12582. 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."
  12583. msgstr ""
  12584. #. type: defvr
  12585. #: guix-git/doc/guix.texi:7581
  12586. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  12587. msgstr ""
  12588. #. type: defvr
  12589. #: guix-git/doc/guix.texi:7585
  12590. 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."
  12591. msgstr ""
  12592. #. type: defvr
  12593. #: guix-git/doc/guix.texi:7587
  12594. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  12595. msgstr ""
  12596. #. type: lisp
  12597. #: guix-git/doc/guix.texi:7590
  12598. #, no-wrap
  12599. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  12600. msgstr ""
  12601. #. type: defvr
  12602. #: guix-git/doc/guix.texi:7595
  12603. 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."
  12604. msgstr ""
  12605. #. type: defvr
  12606. #: guix-git/doc/guix.texi:7597
  12607. #, no-wrap
  12608. msgid "{Scheme Variable} copy-build-system"
  12609. msgstr ""
  12610. #. type: defvr
  12611. #: guix-git/doc/guix.texi:7601
  12612. 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."
  12613. msgstr ""
  12614. #. type: defvr
  12615. #: guix-git/doc/guix.texi:7606
  12616. 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}."
  12617. msgstr ""
  12618. #. type: defvr
  12619. #: guix-git/doc/guix.texi:7611
  12620. 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."
  12621. msgstr ""
  12622. #. type: item
  12623. #: guix-git/doc/guix.texi:7613
  12624. #, no-wrap
  12625. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  12626. msgstr ""
  12627. #. type: item
  12628. #: guix-git/doc/guix.texi:7615
  12629. #, no-wrap
  12630. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  12631. msgstr ""
  12632. #. type: item
  12633. #: guix-git/doc/guix.texi:7616
  12634. #, no-wrap
  12635. msgid "Otherwise install @var{source} as @var{target}."
  12636. msgstr ""
  12637. #. type: item
  12638. #: guix-git/doc/guix.texi:7619
  12639. #, no-wrap
  12640. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  12641. msgstr ""
  12642. #. type: itemize
  12643. #: guix-git/doc/guix.texi:7622
  12644. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  12645. msgstr ""
  12646. #. type: item
  12647. #: guix-git/doc/guix.texi:7623
  12648. #, no-wrap
  12649. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  12650. msgstr ""
  12651. #. type: item
  12652. #: guix-git/doc/guix.texi:7624
  12653. #, no-wrap
  12654. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  12655. msgstr ""
  12656. #. type: itemize
  12657. #: guix-git/doc/guix.texi:7627
  12658. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  12659. msgstr ""
  12660. #. type: item
  12661. #: guix-git/doc/guix.texi:7628
  12662. #, no-wrap
  12663. msgid "With @code{#:include}, install all the files which the path suffix matches"
  12664. msgstr ""
  12665. #. type: itemize
  12666. #: guix-git/doc/guix.texi:7630
  12667. msgid "at least one of the elements in the given list."
  12668. msgstr ""
  12669. #. type: item
  12670. #: guix-git/doc/guix.texi:7630
  12671. #, no-wrap
  12672. msgid "With @code{#:include-regexp}, install all the files which the"
  12673. msgstr ""
  12674. #. type: itemize
  12675. #: guix-git/doc/guix.texi:7633
  12676. msgid "subpaths match at least one of the regular expressions in the given list."
  12677. msgstr ""
  12678. #. type: item
  12679. #: guix-git/doc/guix.texi:7633
  12680. #, no-wrap
  12681. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  12682. msgstr ""
  12683. #. type: itemize
  12684. #: guix-git/doc/guix.texi:7638
  12685. 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."
  12686. msgstr ""
  12687. #. type: itemize
  12688. #: guix-git/doc/guix.texi:7642
  12689. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  12690. msgstr ""
  12691. #. type: defvr
  12692. #: guix-git/doc/guix.texi:7645
  12693. msgid "Examples:"
  12694. msgstr ""
  12695. #. type: item
  12696. #: guix-git/doc/guix.texi:7647
  12697. #, no-wrap
  12698. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  12699. msgstr ""
  12700. #. type: item
  12701. #: guix-git/doc/guix.texi:7648
  12702. #, no-wrap
  12703. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  12704. msgstr ""
  12705. #. type: item
  12706. #: guix-git/doc/guix.texi:7649
  12707. #, no-wrap
  12708. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  12709. msgstr ""
  12710. #. type: itemize
  12711. #: guix-git/doc/guix.texi:7651
  12712. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  12713. msgstr ""
  12714. #. type: item
  12715. #: guix-git/doc/guix.texi:7651
  12716. #, no-wrap
  12717. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  12718. msgstr ""
  12719. #. type: itemize
  12720. #: guix-git/doc/guix.texi:7653
  12721. msgid "@file{share/my-app/sub/file}."
  12722. msgstr ""
  12723. #. type: item
  12724. #: guix-git/doc/guix.texi:7653
  12725. #, no-wrap
  12726. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  12727. msgstr ""
  12728. #. type: itemize
  12729. #: guix-git/doc/guix.texi:7655
  12730. msgid "@file{share/my-app/file}."
  12731. msgstr ""
  12732. #. type: cindex
  12733. #: guix-git/doc/guix.texi:7659
  12734. #, no-wrap
  12735. msgid "Clojure (programming language)"
  12736. msgstr ""
  12737. #. type: cindex
  12738. #: guix-git/doc/guix.texi:7660
  12739. #, no-wrap
  12740. msgid "simple Clojure build system"
  12741. msgstr ""
  12742. #. type: defvr
  12743. #: guix-git/doc/guix.texi:7661
  12744. #, no-wrap
  12745. msgid "{Scheme Variable} clojure-build-system"
  12746. msgstr ""
  12747. #. type: defvr
  12748. #: guix-git/doc/guix.texi:7666
  12749. 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."
  12750. msgstr ""
  12751. #. type: defvr
  12752. #: guix-git/doc/guix.texi:7670
  12753. 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."
  12754. msgstr ""
  12755. #. type: defvr
  12756. #: guix-git/doc/guix.texi:7676
  12757. 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."
  12758. msgstr ""
  12759. #. type: defvr
  12760. #: guix-git/doc/guix.texi:7679
  12761. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  12762. msgstr ""
  12763. #. type: item
  12764. #: guix-git/doc/guix.texi:7682 guix-git/doc/guix.texi:8250
  12765. #: guix-git/doc/guix.texi:8297 guix-git/doc/guix.texi:8366
  12766. #: guix-git/doc/guix.texi:33914 guix-git/doc/guix.texi:36068
  12767. #, no-wrap
  12768. msgid "build"
  12769. msgstr ""
  12770. #. type: table
  12771. #: guix-git/doc/guix.texi:7691
  12772. 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."
  12773. msgstr ""
  12774. #. type: item
  12775. #: guix-git/doc/guix.texi:7692 guix-git/doc/guix.texi:8254
  12776. #: guix-git/doc/guix.texi:8371
  12777. #, no-wrap
  12778. msgid "check"
  12779. msgstr ""
  12780. #. type: table
  12781. #: guix-git/doc/guix.texi:7699
  12782. 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."
  12783. msgstr ""
  12784. #. type: item
  12785. #: guix-git/doc/guix.texi:7700 guix-git/doc/guix.texi:8258
  12786. #: guix-git/doc/guix.texi:8301 guix-git/doc/guix.texi:8377
  12787. #, no-wrap
  12788. msgid "install"
  12789. msgstr ""
  12790. #. type: table
  12791. #: guix-git/doc/guix.texi:7702
  12792. msgid "This phase installs all jars built previously."
  12793. msgstr ""
  12794. #. type: defvr
  12795. #: guix-git/doc/guix.texi:7705
  12796. msgid "Apart from the above, this build system also contains an additional phase:"
  12797. msgstr ""
  12798. #. type: item
  12799. #: guix-git/doc/guix.texi:7708
  12800. #, no-wrap
  12801. msgid "install-doc"
  12802. msgstr ""
  12803. #. type: table
  12804. #: guix-git/doc/guix.texi:7713
  12805. 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."
  12806. msgstr ""
  12807. #. type: defvr
  12808. #: guix-git/doc/guix.texi:7716
  12809. #, no-wrap
  12810. msgid "{Scheme Variable} cmake-build-system"
  12811. msgstr ""
  12812. #. type: defvr
  12813. #: guix-git/doc/guix.texi:7720
  12814. 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}."
  12815. msgstr ""
  12816. #. type: defvr
  12817. #: guix-git/doc/guix.texi:7724
  12818. 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."
  12819. msgstr ""
  12820. #. type: defvr
  12821. #: guix-git/doc/guix.texi:7731
  12822. 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."
  12823. msgstr ""
  12824. #. type: defvr
  12825. #: guix-git/doc/guix.texi:7733
  12826. #, no-wrap
  12827. msgid "{Scheme Variable} dune-build-system"
  12828. msgstr ""
  12829. #. type: defvr
  12830. #: guix-git/doc/guix.texi:7740
  12831. 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."
  12832. msgstr ""
  12833. #. type: defvr
  12834. #: guix-git/doc/guix.texi:7744
  12835. 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."
  12836. msgstr ""
  12837. #. type: defvr
  12838. #: guix-git/doc/guix.texi:7748
  12839. 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."
  12840. msgstr ""
  12841. #. type: defvr
  12842. #: guix-git/doc/guix.texi:7752
  12843. 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}."
  12844. msgstr ""
  12845. #. type: defvr
  12846. #: guix-git/doc/guix.texi:7757
  12847. 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}."
  12848. msgstr ""
  12849. #. type: defvr
  12850. #: guix-git/doc/guix.texi:7760
  12851. #, no-wrap
  12852. msgid "{Scheme Variable} go-build-system"
  12853. msgstr ""
  12854. #. type: defvr
  12855. #: guix-git/doc/guix.texi:7765
  12856. 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}."
  12857. msgstr ""
  12858. #. type: defvr
  12859. #: guix-git/doc/guix.texi:7776
  12860. 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."
  12861. msgstr ""
  12862. #. type: defvr
  12863. #: guix-git/doc/guix.texi:7781
  12864. 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."
  12865. msgstr ""
  12866. #. type: defvr
  12867. #: guix-git/doc/guix.texi:7788
  12868. 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}."
  12869. msgstr ""
  12870. #. type: defvr
  12871. #: guix-git/doc/guix.texi:7790
  12872. #, no-wrap
  12873. msgid "{Scheme Variable} glib-or-gtk-build-system"
  12874. msgstr ""
  12875. #. type: defvr
  12876. #: guix-git/doc/guix.texi:7793
  12877. 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+."
  12878. msgstr ""
  12879. #. type: defvr
  12880. #: guix-git/doc/guix.texi:7796
  12881. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  12882. msgstr ""
  12883. #. type: item
  12884. #: guix-git/doc/guix.texi:7798 guix-git/doc/guix.texi:8274
  12885. #, no-wrap
  12886. msgid "glib-or-gtk-wrap"
  12887. msgstr ""
  12888. #. type: table
  12889. #: guix-git/doc/guix.texi:7805
  12890. 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."
  12891. msgstr ""
  12892. #. type: table
  12893. #: guix-git/doc/guix.texi:7812
  12894. 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+."
  12895. msgstr ""
  12896. #. type: item
  12897. #: guix-git/doc/guix.texi:7813 guix-git/doc/guix.texi:8278
  12898. #, no-wrap
  12899. msgid "glib-or-gtk-compile-schemas"
  12900. msgstr ""
  12901. #. type: table
  12902. #: guix-git/doc/guix.texi:7821
  12903. 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."
  12904. msgstr ""
  12905. #. type: defvr
  12906. #: guix-git/doc/guix.texi:7824
  12907. msgid "Both phases are executed after the @code{install} phase."
  12908. msgstr ""
  12909. #. type: defvr
  12910. #: guix-git/doc/guix.texi:7826
  12911. #, no-wrap
  12912. msgid "{Scheme Variable} guile-build-system"
  12913. msgstr ""
  12914. #. type: defvr
  12915. #: guix-git/doc/guix.texi:7833
  12916. 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."
  12917. msgstr ""
  12918. #. type: defvr
  12919. #: guix-git/doc/guix.texi:7836
  12920. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  12921. msgstr ""
  12922. #. type: defvr
  12923. #: guix-git/doc/guix.texi:7839
  12924. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  12925. msgstr ""
  12926. #. type: defvr
  12927. #: guix-git/doc/guix.texi:7841
  12928. #, no-wrap
  12929. msgid "{Scheme Variable} julia-build-system"
  12930. msgstr ""
  12931. #. type: defvr
  12932. #: guix-git/doc/guix.texi:7848
  12933. 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}."
  12934. msgstr ""
  12935. #. type: defvr
  12936. #: guix-git/doc/guix.texi:7852
  12937. 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)."
  12938. msgstr ""
  12939. #. type: defvr
  12940. #: guix-git/doc/guix.texi:7856
  12941. 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}."
  12942. msgstr ""
  12943. #. type: defvr
  12944. #: guix-git/doc/guix.texi:7861
  12945. 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."
  12946. msgstr ""
  12947. #. type: defvr
  12948. #: guix-git/doc/guix.texi:7865
  12949. 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:"
  12950. msgstr ""
  12951. #. type: lisp
  12952. #: guix-git/doc/guix.texi:7877
  12953. #, no-wrap
  12954. msgid ""
  12955. "(add-after 'unpack 'override-binary-path\n"
  12956. " (lambda* (#:key inputs #:allow-other-keys)\n"
  12957. " (for-each (lambda (wrapper)\n"
  12958. " (substitute* wrapper\n"
  12959. " ((\"generate_wrapper_header.*\")\n"
  12960. " (string-append\n"
  12961. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  12962. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  12963. " ;; There's a Julia file for each platform, override them all.\n"
  12964. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  12965. msgstr ""
  12966. #. type: defvr
  12967. #: guix-git/doc/guix.texi:7885
  12968. 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."
  12969. msgstr ""
  12970. #. type: defvr
  12971. #: guix-git/doc/guix.texi:7887
  12972. #, no-wrap
  12973. msgid "{Scheme Variable} maven-build-system"
  12974. msgstr ""
  12975. #. type: defvr
  12976. #: guix-git/doc/guix.texi:7894
  12977. 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."
  12978. msgstr ""
  12979. #. type: defvr
  12980. #: guix-git/doc/guix.texi:7904
  12981. 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."
  12982. msgstr ""
  12983. #. type: defvr
  12984. #: guix-git/doc/guix.texi:7907
  12985. 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."
  12986. msgstr ""
  12987. #. type: defvr
  12988. #: guix-git/doc/guix.texi:7913
  12989. 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}."
  12990. msgstr ""
  12991. #. type: defvr
  12992. #: guix-git/doc/guix.texi:7919
  12993. 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."
  12994. msgstr ""
  12995. #. type: defvr
  12996. #: guix-git/doc/guix.texi:7922
  12997. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  12998. msgstr ""
  12999. #. type: defvr
  13000. #: guix-git/doc/guix.texi:7927
  13001. 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."
  13002. msgstr ""
  13003. #. type: defvr
  13004. #: guix-git/doc/guix.texi:7929
  13005. #, no-wrap
  13006. msgid "{Scheme Variable} minetest-mod-build-system"
  13007. msgstr ""
  13008. #. type: defvr
  13009. #: guix-git/doc/guix.texi:7935
  13010. 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."
  13011. msgstr ""
  13012. #. type: defvr
  13013. #: guix-git/doc/guix.texi:7937
  13014. #, no-wrap
  13015. msgid "{Scheme Variable} minify-build-system"
  13016. msgstr ""
  13017. #. type: defvr
  13018. #: guix-git/doc/guix.texi:7940
  13019. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  13020. msgstr ""
  13021. #. type: defvr
  13022. #: guix-git/doc/guix.texi:7946
  13023. 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."
  13024. msgstr ""
  13025. #. type: defvr
  13026. #: guix-git/doc/guix.texi:7950
  13027. 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."
  13028. msgstr ""
  13029. #. type: defvr
  13030. #: guix-git/doc/guix.texi:7952
  13031. #, no-wrap
  13032. msgid "{Scheme Variable} ocaml-build-system"
  13033. msgstr ""
  13034. #. type: defvr
  13035. #: guix-git/doc/guix.texi:7958
  13036. 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."
  13037. msgstr ""
  13038. #. type: defvr
  13039. #: guix-git/doc/guix.texi:7968
  13040. 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."
  13041. msgstr ""
  13042. #. type: defvr
  13043. #: guix-git/doc/guix.texi:7973
  13044. 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."
  13045. msgstr ""
  13046. #. type: defvr
  13047. #: guix-git/doc/guix.texi:7977
  13048. 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."
  13049. msgstr ""
  13050. #. type: defvr
  13051. #: guix-git/doc/guix.texi:7985
  13052. 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."
  13053. msgstr ""
  13054. #. type: defvr
  13055. #: guix-git/doc/guix.texi:7993
  13056. 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."
  13057. msgstr ""
  13058. #. type: defvr
  13059. #: guix-git/doc/guix.texi:7995
  13060. #, no-wrap
  13061. msgid "{Scheme Variable} python-build-system"
  13062. msgstr ""
  13063. #. type: defvr
  13064. #: guix-git/doc/guix.texi:8000
  13065. 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{}}."
  13066. msgstr ""
  13067. #. type: defvr
  13068. #: guix-git/doc/guix.texi:8004
  13069. 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."
  13070. msgstr ""
  13071. #. type: defvr
  13072. #: guix-git/doc/guix.texi:8010
  13073. 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."
  13074. msgstr ""
  13075. #. type: defvr
  13076. #: guix-git/doc/guix.texi:8015
  13077. 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}."
  13078. msgstr ""
  13079. #. type: defvr
  13080. #: guix-git/doc/guix.texi:8017
  13081. #, no-wrap
  13082. msgid "{Scheme Variable} perl-build-system"
  13083. msgstr ""
  13084. #. type: defvr
  13085. #: guix-git/doc/guix.texi:8029
  13086. 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."
  13087. msgstr ""
  13088. #. type: defvr
  13089. #: guix-git/doc/guix.texi:8033
  13090. 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."
  13091. msgstr ""
  13092. #. type: defvr
  13093. #: guix-git/doc/guix.texi:8035
  13094. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13095. msgstr ""
  13096. #. type: defvr
  13097. #: guix-git/doc/guix.texi:8037
  13098. #, no-wrap
  13099. msgid "{Scheme Variable} renpy-build-system"
  13100. msgstr ""
  13101. #. type: defvr
  13102. #: guix-git/doc/guix.texi:8041
  13103. 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."
  13104. msgstr ""
  13105. #. type: defvr
  13106. #: guix-git/doc/guix.texi:8044
  13107. 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."
  13108. msgstr ""
  13109. #. type: defvr
  13110. #: guix-git/doc/guix.texi:8048
  13111. 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}."
  13112. msgstr ""
  13113. #. type: defvr
  13114. #: guix-git/doc/guix.texi:8050
  13115. #, no-wrap
  13116. msgid "{Scheme Variable} qt-build-system"
  13117. msgstr ""
  13118. #. type: defvr
  13119. #: guix-git/doc/guix.texi:8053
  13120. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  13121. msgstr ""
  13122. #. type: defvr
  13123. #: guix-git/doc/guix.texi:8056
  13124. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  13125. msgstr ""
  13126. #. type: item
  13127. #: guix-git/doc/guix.texi:8058
  13128. #, no-wrap
  13129. msgid "check-setup"
  13130. msgstr ""
  13131. #. type: table
  13132. #: guix-git/doc/guix.texi:8065
  13133. 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}."
  13134. msgstr ""
  13135. #. type: table
  13136. #: guix-git/doc/guix.texi:8068
  13137. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  13138. msgstr ""
  13139. #. type: item
  13140. #: guix-git/doc/guix.texi:8069
  13141. #, no-wrap
  13142. msgid "qt-wrap"
  13143. msgstr ""
  13144. #. type: table
  13145. #: guix-git/doc/guix.texi:8075
  13146. 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."
  13147. msgstr ""
  13148. #. type: table
  13149. #: guix-git/doc/guix.texi:8081
  13150. 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."
  13151. msgstr ""
  13152. #. type: table
  13153. #: guix-git/doc/guix.texi:8083
  13154. msgid "This phase is added after the @code{install} phase."
  13155. msgstr ""
  13156. #. type: defvr
  13157. #: guix-git/doc/guix.texi:8086
  13158. #, no-wrap
  13159. msgid "{Scheme Variable} r-build-system"
  13160. msgstr ""
  13161. #. type: defvr
  13162. #: guix-git/doc/guix.texi:8094
  13163. 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}."
  13164. msgstr ""
  13165. #. type: defvr
  13166. #: guix-git/doc/guix.texi:8096
  13167. #, no-wrap
  13168. msgid "{Scheme Variable} rakudo-build-system"
  13169. msgstr ""
  13170. #. type: defvr
  13171. #: guix-git/doc/guix.texi:8104
  13172. 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."
  13173. msgstr ""
  13174. #. type: defvr
  13175. #: guix-git/doc/guix.texi:8112
  13176. 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."
  13177. msgstr ""
  13178. #. type: defvr
  13179. #: guix-git/doc/guix.texi:8114
  13180. #, no-wrap
  13181. msgid "{Scheme Variable} texlive-build-system"
  13182. msgstr ""
  13183. #. type: defvr
  13184. #: guix-git/doc/guix.texi:8119
  13185. 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."
  13186. msgstr ""
  13187. #. type: defvr
  13188. #: guix-git/doc/guix.texi:8128
  13189. 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."
  13190. msgstr ""
  13191. #. type: defvr
  13192. #: guix-git/doc/guix.texi:8131
  13193. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  13194. msgstr ""
  13195. #. type: defvr
  13196. #: guix-git/doc/guix.texi:8133
  13197. #, no-wrap
  13198. msgid "{Scheme Variable} ruby-build-system"
  13199. msgstr ""
  13200. #. type: defvr
  13201. #: guix-git/doc/guix.texi:8137
  13202. 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}."
  13203. msgstr ""
  13204. #. type: defvr
  13205. #: guix-git/doc/guix.texi:8145
  13206. 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."
  13207. msgstr ""
  13208. #. type: defvr
  13209. #: guix-git/doc/guix.texi:8149
  13210. 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."
  13211. msgstr ""
  13212. #. type: defvr
  13213. #: guix-git/doc/guix.texi:8151
  13214. #, no-wrap
  13215. msgid "{Scheme Variable} waf-build-system"
  13216. msgstr ""
  13217. #. type: defvr
  13218. #: guix-git/doc/guix.texi:8157
  13219. 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."
  13220. msgstr ""
  13221. #. type: defvr
  13222. #: guix-git/doc/guix.texi:8161
  13223. 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."
  13224. msgstr ""
  13225. #. type: defvr
  13226. #: guix-git/doc/guix.texi:8163
  13227. #, no-wrap
  13228. msgid "{Scheme Variable} scons-build-system"
  13229. msgstr ""
  13230. #. type: defvr
  13231. #: guix-git/doc/guix.texi:8169
  13232. 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."
  13233. msgstr ""
  13234. #. type: defvr
  13235. #: guix-git/doc/guix.texi:8176
  13236. 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."
  13237. msgstr ""
  13238. #. type: defvr
  13239. #: guix-git/doc/guix.texi:8178
  13240. #, no-wrap
  13241. msgid "{Scheme Variable} haskell-build-system"
  13242. msgstr ""
  13243. #. type: defvr
  13244. #: guix-git/doc/guix.texi:8192
  13245. 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."
  13246. msgstr ""
  13247. #. type: defvr
  13248. #: guix-git/doc/guix.texi:8195
  13249. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  13250. msgstr ""
  13251. #. type: defvr
  13252. #: guix-git/doc/guix.texi:8197
  13253. #, no-wrap
  13254. msgid "{Scheme Variable} dub-build-system"
  13255. msgstr ""
  13256. #. type: defvr
  13257. #: guix-git/doc/guix.texi:8202
  13258. 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."
  13259. msgstr ""
  13260. #. type: defvr
  13261. #: guix-git/doc/guix.texi:8205
  13262. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  13263. msgstr ""
  13264. #. type: anchor{#1}
  13265. #: guix-git/doc/guix.texi:8208
  13266. msgid "emacs-build-system"
  13267. msgstr ""
  13268. #. type: defvr
  13269. #: guix-git/doc/guix.texi:8208
  13270. #, no-wrap
  13271. msgid "{Scheme Variable} emacs-build-system"
  13272. msgstr ""
  13273. #. type: defvr
  13274. #: guix-git/doc/guix.texi:8212
  13275. 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})."
  13276. msgstr ""
  13277. #. type: defvr
  13278. #: guix-git/doc/guix.texi:8218
  13279. 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}."
  13280. msgstr ""
  13281. #. type: defvr
  13282. #: guix-git/doc/guix.texi:8220
  13283. #, no-wrap
  13284. msgid "{Scheme Variable} font-build-system"
  13285. msgstr ""
  13286. #. type: defvr
  13287. #: guix-git/doc/guix.texi:8226
  13288. 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."
  13289. msgstr ""
  13290. #. type: defvr
  13291. #: guix-git/doc/guix.texi:8228
  13292. #, no-wrap
  13293. msgid "{Scheme Variable} meson-build-system"
  13294. msgstr ""
  13295. #. type: defvr
  13296. #: guix-git/doc/guix.texi:8232
  13297. 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."
  13298. msgstr ""
  13299. #. type: defvr
  13300. #: guix-git/doc/guix.texi:8238
  13301. 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."
  13302. msgstr ""
  13303. #. type: defvr
  13304. #: guix-git/doc/guix.texi:8241
  13305. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  13306. msgstr ""
  13307. #. type: item
  13308. #: guix-git/doc/guix.texi:8244 guix-git/doc/guix.texi:8293
  13309. #: guix-git/doc/guix.texi:8361
  13310. #, no-wrap
  13311. msgid "configure"
  13312. msgstr ""
  13313. #. type: table
  13314. #: guix-git/doc/guix.texi:8249
  13315. 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}."
  13316. msgstr ""
  13317. #. type: table
  13318. #: guix-git/doc/guix.texi:8253
  13319. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  13320. msgstr ""
  13321. #. type: table
  13322. #: guix-git/doc/guix.texi:8257
  13323. msgid "The phase runs @code{ninja} with the target specified in @code{#:test-target}, which is @code{\"test\"} by default."
  13324. msgstr ""
  13325. #. type: table
  13326. #: guix-git/doc/guix.texi:8260
  13327. msgid "The phase runs @code{ninja install} and can not be changed."
  13328. msgstr ""
  13329. #. type: defvr
  13330. #: guix-git/doc/guix.texi:8263
  13331. msgid "Apart from that, the build system also adds the following phases:"
  13332. msgstr ""
  13333. #. type: item
  13334. #: guix-git/doc/guix.texi:8266
  13335. #, no-wrap
  13336. msgid "fix-runpath"
  13337. msgstr ""
  13338. #. type: table
  13339. #: guix-git/doc/guix.texi:8273
  13340. 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."
  13341. msgstr ""
  13342. #. type: table
  13343. #: guix-git/doc/guix.texi:8277 guix-git/doc/guix.texi:8281
  13344. 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?}."
  13345. msgstr ""
  13346. #. type: defvr
  13347. #: guix-git/doc/guix.texi:8284
  13348. #, no-wrap
  13349. msgid "{Scheme Variable} linux-module-build-system"
  13350. msgstr ""
  13351. #. type: defvr
  13352. #: guix-git/doc/guix.texi:8286
  13353. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  13354. msgstr ""
  13355. #. type: defvr
  13356. #: guix-git/doc/guix.texi:8290
  13357. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  13358. msgstr ""
  13359. #. type: table
  13360. #: guix-git/doc/guix.texi:8296
  13361. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  13362. msgstr ""
  13363. #. type: table
  13364. #: guix-git/doc/guix.texi:8300
  13365. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  13366. msgstr ""
  13367. #. type: table
  13368. #: guix-git/doc/guix.texi:8304
  13369. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  13370. msgstr ""
  13371. #. type: defvr
  13372. #: guix-git/doc/guix.texi:8309
  13373. 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)."
  13374. msgstr ""
  13375. #. type: defvr
  13376. #: guix-git/doc/guix.texi:8311
  13377. #, no-wrap
  13378. msgid "{Scheme Variable} node-build-system"
  13379. msgstr ""
  13380. #. type: defvr
  13381. #: guix-git/doc/guix.texi:8316
  13382. 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."
  13383. msgstr ""
  13384. #. type: defvr
  13385. #: guix-git/doc/guix.texi:8320
  13386. 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}."
  13387. msgstr ""
  13388. #. type: Plain text
  13389. #: guix-git/doc/guix.texi:8326
  13390. 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."
  13391. msgstr ""
  13392. #. type: defvr
  13393. #: guix-git/doc/guix.texi:8327
  13394. #, no-wrap
  13395. msgid "{Scheme Variable} trivial-build-system"
  13396. msgstr ""
  13397. #. type: defvr
  13398. #: guix-git/doc/guix.texi:8329
  13399. msgid "This variable is exported by @code{(guix build-system trivial)}."
  13400. msgstr ""
  13401. #. type: defvr
  13402. #: guix-git/doc/guix.texi:8334
  13403. 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}})."
  13404. msgstr ""
  13405. #. type: cindex
  13406. #: guix-git/doc/guix.texi:8339
  13407. #, no-wrap
  13408. msgid "build phases, for packages"
  13409. msgstr ""
  13410. #. type: Plain text
  13411. #: guix-git/doc/guix.texi:8345
  13412. 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})."
  13413. msgstr ""
  13414. #. type: Plain text
  13415. #: guix-git/doc/guix.texi:8349
  13416. 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:"
  13417. msgstr ""
  13418. #. type: item
  13419. #: guix-git/doc/guix.texi:8351
  13420. #, no-wrap
  13421. msgid "unpack"
  13422. msgstr ""
  13423. #. type: table
  13424. #: guix-git/doc/guix.texi:8355
  13425. 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."
  13426. msgstr ""
  13427. #. type: item
  13428. #: guix-git/doc/guix.texi:8356
  13429. #, no-wrap
  13430. msgid "patch-source-shebangs"
  13431. msgstr ""
  13432. #. type: table
  13433. #: guix-git/doc/guix.texi:8360
  13434. 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}."
  13435. msgstr ""
  13436. #. type: table
  13437. #: guix-git/doc/guix.texi:8365
  13438. 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."
  13439. msgstr ""
  13440. #. type: table
  13441. #: guix-git/doc/guix.texi:8370
  13442. 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}."
  13443. msgstr ""
  13444. #. type: table
  13445. #: guix-git/doc/guix.texi:8376
  13446. 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}."
  13447. msgstr ""
  13448. #. type: table
  13449. #: guix-git/doc/guix.texi:8379
  13450. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  13451. msgstr ""
  13452. #. type: item
  13453. #: guix-git/doc/guix.texi:8380
  13454. #, no-wrap
  13455. msgid "patch-shebangs"
  13456. msgstr ""
  13457. #. type: table
  13458. #: guix-git/doc/guix.texi:8382
  13459. msgid "Patch shebangs on the installed executable files."
  13460. msgstr ""
  13461. #. type: item
  13462. #: guix-git/doc/guix.texi:8383
  13463. #, no-wrap
  13464. msgid "strip"
  13465. msgstr ""
  13466. #. type: table
  13467. #: guix-git/doc/guix.texi:8387
  13468. 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})."
  13469. msgstr ""
  13470. #. type: Plain text
  13471. #: guix-git/doc/guix.texi:8396
  13472. 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})."
  13473. msgstr ""
  13474. #. type: Plain text
  13475. #: guix-git/doc/guix.texi:8403
  13476. 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."
  13477. msgstr ""
  13478. #. type: vindex
  13479. #: guix-git/doc/guix.texi:8404
  13480. #, no-wrap
  13481. msgid "%standard-phases"
  13482. msgstr ""
  13483. #. type: Plain text
  13484. #: guix-git/doc/guix.texi:8410
  13485. 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!}:"
  13486. msgstr ""
  13487. #. type: lisp
  13488. #: guix-git/doc/guix.texi:8413
  13489. #, no-wrap
  13490. msgid ""
  13491. ";; The build phases of 'gnu-build-system'.\n"
  13492. "\n"
  13493. msgstr ""
  13494. #. type: lisp
  13495. #: guix-git/doc/guix.texi:8417
  13496. #, no-wrap
  13497. msgid ""
  13498. "(define* (unpack #:key source #:allow-other-keys)\n"
  13499. " ;; Extract the source tarball.\n"
  13500. " (invoke \"tar\" \"xvf\" source))\n"
  13501. "\n"
  13502. msgstr ""
  13503. #. type: lisp
  13504. #: guix-git/doc/guix.texi:8423
  13505. #, no-wrap
  13506. msgid ""
  13507. "(define* (configure #:key outputs #:allow-other-keys)\n"
  13508. " ;; Run the 'configure' script. Install to output \"out\".\n"
  13509. " (let ((out (assoc-ref outputs \"out\")))\n"
  13510. " (invoke \"./configure\"\n"
  13511. " (string-append \"--prefix=\" out))))\n"
  13512. "\n"
  13513. msgstr ""
  13514. #. type: lisp
  13515. #: guix-git/doc/guix.texi:8427
  13516. #, no-wrap
  13517. msgid ""
  13518. "(define* (build #:allow-other-keys)\n"
  13519. " ;; Compile.\n"
  13520. " (invoke \"make\"))\n"
  13521. "\n"
  13522. msgstr ""
  13523. #. type: lisp
  13524. #: guix-git/doc/guix.texi:8434
  13525. #, no-wrap
  13526. msgid ""
  13527. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  13528. " #:allow-other-keys)\n"
  13529. " ;; Run the test suite.\n"
  13530. " (if tests?\n"
  13531. " (invoke \"make\" test-target)\n"
  13532. " (display \"test suite not run\\n\")))\n"
  13533. "\n"
  13534. msgstr ""
  13535. #. type: lisp
  13536. #: guix-git/doc/guix.texi:8438
  13537. #, no-wrap
  13538. msgid ""
  13539. "(define* (install #:allow-other-keys)\n"
  13540. " ;; Install files to the prefix 'configure' specified.\n"
  13541. " (invoke \"make\" \"install\"))\n"
  13542. "\n"
  13543. msgstr ""
  13544. #. type: lisp
  13545. #: guix-git/doc/guix.texi:8447
  13546. #, no-wrap
  13547. msgid ""
  13548. "(define %standard-phases\n"
  13549. " ;; The list of standard phases (quite a few are omitted\n"
  13550. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  13551. " (list (cons 'unpack unpack)\n"
  13552. " (cons 'configure configure)\n"
  13553. " (cons 'build build)\n"
  13554. " (cons 'check check)\n"
  13555. " (cons 'install install)))\n"
  13556. msgstr ""
  13557. #. type: Plain text
  13558. #: guix-git/doc/guix.texi:8457
  13559. 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."
  13560. msgstr ""
  13561. #. type: Plain text
  13562. #: guix-git/doc/guix.texi:8463
  13563. 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})."
  13564. msgstr ""
  13565. #. type: Plain text
  13566. #: guix-git/doc/guix.texi:8479
  13567. 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."
  13568. msgstr ""
  13569. #. type: cindex
  13570. #: guix-git/doc/guix.texi:8480
  13571. #, no-wrap
  13572. msgid "build phases, customizing"
  13573. msgstr ""
  13574. #. type: Plain text
  13575. #: guix-git/doc/guix.texi:8489
  13576. 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}})."
  13577. msgstr ""
  13578. #. type: Plain text
  13579. #: guix-git/doc/guix.texi:8494
  13580. 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}:"
  13581. msgstr ""
  13582. #. type: lisp
  13583. #: guix-git/doc/guix.texi:8514
  13584. #, no-wrap
  13585. msgid ""
  13586. "(define-public example\n"
  13587. " (package\n"
  13588. " (name \"example\")\n"
  13589. " ;; other fields omitted\n"
  13590. " (build-system gnu-build-system)\n"
  13591. " (arguments\n"
  13592. " '(#:phases (modify-phases %standard-phases\n"
  13593. " (delete 'configure)\n"
  13594. " (add-before 'build 'set-prefix-in-makefile\n"
  13595. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13596. " ;; Modify the makefile so that its\n"
  13597. " ;; 'PREFIX' variable points to \"out\".\n"
  13598. " (let ((out (assoc-ref outputs \"out\")))\n"
  13599. " (substitute* \"Makefile\"\n"
  13600. " ((\"PREFIX =.*\")\n"
  13601. " (string-append \"PREFIX = \"\n"
  13602. " out \"\\n\")))\n"
  13603. " #true))))))))\n"
  13604. msgstr ""
  13605. #. type: Plain text
  13606. #: guix-git/doc/guix.texi:8520
  13607. 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}."
  13608. msgstr ""
  13609. #. type: cindex
  13610. #: guix-git/doc/guix.texi:8521 guix-git/doc/guix.texi:9494
  13611. #, no-wrap
  13612. msgid "code staging"
  13613. msgstr ""
  13614. #. type: cindex
  13615. #: guix-git/doc/guix.texi:8522 guix-git/doc/guix.texi:9495
  13616. #, no-wrap
  13617. msgid "staging, of code"
  13618. msgstr ""
  13619. #. type: Plain text
  13620. #: guix-git/doc/guix.texi:8529
  13621. 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."
  13622. msgstr ""
  13623. #. type: Plain text
  13624. #: guix-git/doc/guix.texi:8539
  13625. 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."
  13626. msgstr ""
  13627. #. type: Plain text
  13628. #: guix-git/doc/guix.texi:8543
  13629. 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."
  13630. msgstr ""
  13631. #. type: Plain text
  13632. #: guix-git/doc/guix.texi:8548
  13633. 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}):"
  13634. msgstr ""
  13635. #. type: lisp
  13636. #: guix-git/doc/guix.texi:8555
  13637. #, no-wrap
  13638. msgid ""
  13639. "(with-imported-modules '((guix build utils)) ;import it\n"
  13640. " (computed-file \"empty-tree\"\n"
  13641. " #~(begin\n"
  13642. " ;; Put it in scope.\n"
  13643. " (use-modules (guix build utils))\n"
  13644. "\n"
  13645. msgstr ""
  13646. #. type: lisp
  13647. #: guix-git/doc/guix.texi:8558
  13648. #, no-wrap
  13649. msgid ""
  13650. " ;; Happily use its 'mkdir-p' procedure.\n"
  13651. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  13652. msgstr ""
  13653. #. type: Plain text
  13654. #: guix-git/doc/guix.texi:8562
  13655. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  13656. msgstr ""
  13657. #. type: subsection
  13658. #: guix-git/doc/guix.texi:8565
  13659. #, no-wrap
  13660. msgid "Dealing with Store File Names"
  13661. msgstr ""
  13662. #. type: Plain text
  13663. #: guix-git/doc/guix.texi:8568
  13664. msgid "This section documents procedures that deal with store file names."
  13665. msgstr ""
  13666. #. type: deffn
  13667. #: guix-git/doc/guix.texi:8569
  13668. #, no-wrap
  13669. msgid "{Scheme Procedure} %store-directory"
  13670. msgstr ""
  13671. #. type: deffn
  13672. #: guix-git/doc/guix.texi:8571
  13673. msgid "Return the directory name of the store."
  13674. msgstr ""
  13675. #. type: deffn
  13676. #: guix-git/doc/guix.texi:8573
  13677. #, no-wrap
  13678. msgid "{Scheme Procedure} store-file-name? @var{file}"
  13679. msgstr ""
  13680. #. type: deffn
  13681. #: guix-git/doc/guix.texi:8575
  13682. msgid "Return true if @var{file} is in the store."
  13683. msgstr ""
  13684. #. type: deffn
  13685. #: guix-git/doc/guix.texi:8577
  13686. #, no-wrap
  13687. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  13688. msgstr ""
  13689. #. type: deffn
  13690. #: guix-git/doc/guix.texi:8580
  13691. 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."
  13692. msgstr ""
  13693. #. type: deffn
  13694. #: guix-git/doc/guix.texi:8582
  13695. #, no-wrap
  13696. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  13697. msgstr ""
  13698. #. type: deffn
  13699. #: guix-git/doc/guix.texi:8587
  13700. 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."
  13701. msgstr ""
  13702. #. type: subsection
  13703. #: guix-git/doc/guix.texi:8589
  13704. #, no-wrap
  13705. msgid "File Types"
  13706. msgstr ""
  13707. #. type: Plain text
  13708. #: guix-git/doc/guix.texi:8592
  13709. msgid "The procedures below deal with files and file types."
  13710. msgstr ""
  13711. #. type: deffn
  13712. #: guix-git/doc/guix.texi:8593
  13713. #, no-wrap
  13714. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  13715. msgstr ""
  13716. #. type: deffn
  13717. #: guix-git/doc/guix.texi:8595
  13718. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  13719. msgstr ""
  13720. #. type: deffn
  13721. #: guix-git/doc/guix.texi:8597
  13722. #, no-wrap
  13723. msgid "{Scheme Procedure} executable-file? @var{file}"
  13724. msgstr ""
  13725. #. type: deffn
  13726. #: guix-git/doc/guix.texi:8599
  13727. msgid "Return @code{#t} if @var{file} exists and is executable."
  13728. msgstr ""
  13729. #. type: deffn
  13730. #: guix-git/doc/guix.texi:8601
  13731. #, no-wrap
  13732. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  13733. msgstr ""
  13734. #. type: deffn
  13735. #: guix-git/doc/guix.texi:8603
  13736. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  13737. msgstr ""
  13738. #. type: deffn
  13739. #: guix-git/doc/guix.texi:8605
  13740. #, no-wrap
  13741. msgid "{Scheme Procedure} elf-file? @var{file}"
  13742. msgstr ""
  13743. #. type: deffnx
  13744. #: guix-git/doc/guix.texi:8606
  13745. #, no-wrap
  13746. msgid "{Scheme Procedure} ar-file? @var{file}"
  13747. msgstr ""
  13748. #. type: deffnx
  13749. #: guix-git/doc/guix.texi:8607
  13750. #, no-wrap
  13751. msgid "{Scheme Procedure} gzip-file? @var{file}"
  13752. msgstr ""
  13753. #. type: deffn
  13754. #: guix-git/doc/guix.texi:8610
  13755. 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."
  13756. msgstr ""
  13757. #. type: deffn
  13758. #: guix-git/doc/guix.texi:8612
  13759. #, no-wrap
  13760. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  13761. msgstr ""
  13762. #. type: deffn
  13763. #: guix-git/doc/guix.texi:8616
  13764. 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."
  13765. msgstr ""
  13766. #. type: subsection
  13767. #: guix-git/doc/guix.texi:8618
  13768. #, no-wrap
  13769. msgid "File Manipulation"
  13770. msgstr ""
  13771. #. type: Plain text
  13772. #: guix-git/doc/guix.texi:8625
  13773. 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})."
  13774. msgstr ""
  13775. #. type: deffn
  13776. #: guix-git/doc/guix.texi:8626
  13777. #, no-wrap
  13778. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  13779. msgstr ""
  13780. #. type: deffn
  13781. #: guix-git/doc/guix.texi:8628
  13782. msgid "Run @var{body} with @var{directory} as the process's current directory."
  13783. msgstr ""
  13784. #. type: deffn
  13785. #: guix-git/doc/guix.texi:8635
  13786. 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."
  13787. msgstr ""
  13788. #. type: deffn
  13789. #: guix-git/doc/guix.texi:8637
  13790. #, no-wrap
  13791. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  13792. msgstr ""
  13793. #. type: deffn
  13794. #: guix-git/doc/guix.texi:8639
  13795. msgid "Create directory @var{dir} and all its ancestors."
  13796. msgstr ""
  13797. #. type: deffn
  13798. #: guix-git/doc/guix.texi:8641
  13799. #, no-wrap
  13800. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  13801. msgstr ""
  13802. #. type: deffn
  13803. #: guix-git/doc/guix.texi:8644
  13804. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  13805. msgstr ""
  13806. #. type: deffn
  13807. #: guix-git/doc/guix.texi:8646
  13808. #, no-wrap
  13809. msgid "{Scheme Procedure} make-file-writable @var{file}"
  13810. msgstr ""
  13811. #. type: deffn
  13812. #: guix-git/doc/guix.texi:8648
  13813. msgid "Make @var{file} writable for its owner."
  13814. msgstr ""
  13815. #. type: deffn
  13816. #: guix-git/doc/guix.texi:8650
  13817. #, no-wrap
  13818. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  13819. msgstr ""
  13820. #. type: deffn
  13821. #: guix-git/doc/guix.texi:8657
  13822. 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."
  13823. msgstr ""
  13824. #. type: deffn
  13825. #: guix-git/doc/guix.texi:8659
  13826. #, no-wrap
  13827. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  13828. msgstr ""
  13829. #. type: deffn
  13830. #: guix-git/doc/guix.texi:8664
  13831. 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."
  13832. msgstr ""
  13833. #. type: deffn
  13834. #: guix-git/doc/guix.texi:8666
  13835. #, no-wrap
  13836. msgid "{Scheme Syntax} substitute* @var{file} @"
  13837. msgstr ""
  13838. #. type: deffn
  13839. #: guix-git/doc/guix.texi:8671
  13840. 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:"
  13841. msgstr ""
  13842. #. type: lisp
  13843. #: guix-git/doc/guix.texi:8678
  13844. #, no-wrap
  13845. msgid ""
  13846. "(substitute* file\n"
  13847. " ((\"hello\")\n"
  13848. " \"good morning\\n\")\n"
  13849. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  13850. " (string-append \"baz\" letter end)))\n"
  13851. msgstr ""
  13852. #. type: deffn
  13853. #: guix-git/doc/guix.texi:8684
  13854. 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."
  13855. msgstr ""
  13856. #. type: deffn
  13857. #: guix-git/doc/guix.texi:8687
  13858. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  13859. msgstr ""
  13860. #. type: deffn
  13861. #: guix-git/doc/guix.texi:8690
  13862. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  13863. msgstr ""
  13864. #. type: deffn
  13865. #: guix-git/doc/guix.texi:8693
  13866. 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."
  13867. msgstr ""
  13868. #. type: subsection
  13869. #: guix-git/doc/guix.texi:8695
  13870. #, no-wrap
  13871. msgid "File Search"
  13872. msgstr ""
  13873. #. type: cindex
  13874. #: guix-git/doc/guix.texi:8697
  13875. #, no-wrap
  13876. msgid "file, searching"
  13877. msgstr ""
  13878. #. type: Plain text
  13879. #: guix-git/doc/guix.texi:8699
  13880. msgid "This section documents procedures to search and filter files."
  13881. msgstr ""
  13882. #. type: deffn
  13883. #: guix-git/doc/guix.texi:8700
  13884. #, no-wrap
  13885. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  13886. msgstr ""
  13887. #. type: deffn
  13888. #: guix-git/doc/guix.texi:8703
  13889. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  13890. msgstr ""
  13891. #. type: deffn
  13892. #: guix-git/doc/guix.texi:8705
  13893. #, no-wrap
  13894. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  13895. msgstr ""
  13896. #. type: deffn
  13897. #: guix-git/doc/guix.texi:8716
  13898. 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."
  13899. msgstr ""
  13900. #. type: Plain text
  13901. #: guix-git/doc/guix.texi:8720
  13902. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  13903. msgstr ""
  13904. #. type: lisp
  13905. #: guix-git/doc/guix.texi:8725
  13906. #, no-wrap
  13907. msgid ""
  13908. ";; List all the regular files in the current directory.\n"
  13909. "(find-files \".\")\n"
  13910. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  13911. "\n"
  13912. msgstr ""
  13913. #. type: lisp
  13914. #: guix-git/doc/guix.texi:8729
  13915. #, no-wrap
  13916. msgid ""
  13917. ";; List all the .scm files under gnu/services.\n"
  13918. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  13919. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  13920. "\n"
  13921. msgstr ""
  13922. #. type: lisp
  13923. #: guix-git/doc/guix.texi:8733
  13924. #, no-wrap
  13925. msgid ""
  13926. ";; List ar files in the current directory.\n"
  13927. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  13928. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  13929. msgstr ""
  13930. #. type: deffn
  13931. #: guix-git/doc/guix.texi:8735
  13932. #, no-wrap
  13933. msgid "{Scheme Procedure} which @var{program}"
  13934. msgstr ""
  13935. #. type: deffn
  13936. #: guix-git/doc/guix.texi:8738
  13937. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  13938. msgstr ""
  13939. #. type: Plain text
  13940. #: guix-git/doc/guix.texi:8749
  13941. 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})."
  13942. msgstr ""
  13943. #. type: Plain text
  13944. #: guix-git/doc/guix.texi:8753
  13945. 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."
  13946. msgstr ""
  13947. #. type: cindex
  13948. #: guix-git/doc/guix.texi:8754
  13949. #, no-wrap
  13950. msgid "build phases, modifying"
  13951. msgstr ""
  13952. #. type: deffn
  13953. #: guix-git/doc/guix.texi:8755
  13954. #, no-wrap
  13955. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  13956. msgstr ""
  13957. #. type: deffn
  13958. #: guix-git/doc/guix.texi:8758
  13959. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  13960. msgstr ""
  13961. #. type: lisp
  13962. #: guix-git/doc/guix.texi:8764
  13963. #, no-wrap
  13964. msgid ""
  13965. "(delete @var{old-phase-name})\n"
  13966. "(replace @var{old-phase-name} @var{new-phase})\n"
  13967. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13968. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13969. msgstr ""
  13970. #. type: deffn
  13971. #: guix-git/doc/guix.texi:8768
  13972. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  13973. msgstr ""
  13974. #. type: Plain text
  13975. #: guix-git/doc/guix.texi:8779
  13976. 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:"
  13977. msgstr ""
  13978. #. type: lisp
  13979. #: guix-git/doc/guix.texi:8793
  13980. #, no-wrap
  13981. msgid ""
  13982. "(modify-phases %standard-phases\n"
  13983. " (add-after 'install 'fix-egrep-and-fgrep\n"
  13984. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  13985. " ;; absolute file name instead of searching for it in $PATH.\n"
  13986. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13987. " (let* ((out (assoc-ref outputs \"out\"))\n"
  13988. " (bin (string-append out \"/bin\")))\n"
  13989. " (substitute* (list (string-append bin \"/egrep\")\n"
  13990. " (string-append bin \"/fgrep\"))\n"
  13991. " ((\"^exec grep\")\n"
  13992. " (string-append \"exec \" bin \"/grep\")))\n"
  13993. " #t))))\n"
  13994. msgstr ""
  13995. #. type: Plain text
  13996. #: guix-git/doc/guix.texi:8800
  13997. 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:"
  13998. msgstr ""
  13999. #. type: lisp
  14000. #: guix-git/doc/guix.texi:8813
  14001. #, no-wrap
  14002. msgid ""
  14003. "(modify-phases %standard-phases\n"
  14004. " (delete 'configure) ;no 'configure' script\n"
  14005. " (replace 'install\n"
  14006. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14007. " ;; The package's Makefile doesn't provide an \"install\"\n"
  14008. " ;; rule so do it by ourselves.\n"
  14009. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  14010. " \"/bin\")))\n"
  14011. " (install-file \"footswitch\" bin)\n"
  14012. " (install-file \"scythe\" bin)\n"
  14013. " #t))))\n"
  14014. msgstr ""
  14015. #. type: cindex
  14016. #: guix-git/doc/guix.texi:8821
  14017. #, no-wrap
  14018. msgid "store items"
  14019. msgstr ""
  14020. #. type: cindex
  14021. #: guix-git/doc/guix.texi:8822
  14022. #, no-wrap
  14023. msgid "store paths"
  14024. msgstr ""
  14025. #. type: Plain text
  14026. #: guix-git/doc/guix.texi:8833
  14027. 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}."
  14028. msgstr ""
  14029. #. type: Plain text
  14030. #: guix-git/doc/guix.texi:8838
  14031. 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."
  14032. msgstr ""
  14033. #. type: quotation
  14034. #: guix-git/doc/guix.texi:8843
  14035. 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})."
  14036. msgstr ""
  14037. #. type: quotation
  14038. #: guix-git/doc/guix.texi:8847
  14039. 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."
  14040. msgstr ""
  14041. #. type: Plain text
  14042. #: guix-git/doc/guix.texi:8854
  14043. 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."
  14044. msgstr ""
  14045. #. type: defvr
  14046. #: guix-git/doc/guix.texi:8855
  14047. #, no-wrap
  14048. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  14049. msgstr ""
  14050. #. type: defvr
  14051. #: guix-git/doc/guix.texi:8860
  14052. 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:"
  14053. msgstr ""
  14054. #. type: code{#1}
  14055. #: guix-git/doc/guix.texi:8862 guix-git/doc/guix.texi:25132
  14056. #, no-wrap
  14057. msgid "file"
  14058. msgstr ""
  14059. #. type: itemx
  14060. #: guix-git/doc/guix.texi:8863
  14061. #, no-wrap
  14062. msgid "unix"
  14063. msgstr ""
  14064. #. type: table
  14065. #: guix-git/doc/guix.texi:8867
  14066. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  14067. msgstr ""
  14068. #. type: table
  14069. #: guix-git/doc/guix.texi:8876
  14070. 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):"
  14071. msgstr ""
  14072. #. type: example
  14073. #: guix-git/doc/guix.texi:8879
  14074. #, no-wrap
  14075. msgid "guix://master.guix.example.org:1234\n"
  14076. msgstr ""
  14077. #. type: table
  14078. #: guix-git/doc/guix.texi:8884
  14079. 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}."
  14080. msgstr ""
  14081. #. type: table
  14082. #: guix-git/doc/guix.texi:8888
  14083. 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}})."
  14084. msgstr ""
  14085. #. type: item
  14086. #: guix-git/doc/guix.texi:8889
  14087. #, no-wrap
  14088. msgid "ssh"
  14089. msgstr ""
  14090. #. type: cindex
  14091. #: guix-git/doc/guix.texi:8890
  14092. #, no-wrap
  14093. msgid "SSH access to build daemons"
  14094. msgstr ""
  14095. #. type: table
  14096. #: guix-git/doc/guix.texi:8896
  14097. 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:"
  14098. msgstr ""
  14099. #. type: example
  14100. #: guix-git/doc/guix.texi:8899
  14101. #, no-wrap
  14102. msgid "ssh://charlie@@guix.example.org:22\n"
  14103. msgstr ""
  14104. #. type: table
  14105. #: guix-git/doc/guix.texi:8903
  14106. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  14107. msgstr ""
  14108. #. type: defvr
  14109. #: guix-git/doc/guix.texi:8906
  14110. msgid "Additional URI schemes may be supported in the future."
  14111. msgstr ""
  14112. #. type: quotation
  14113. #: guix-git/doc/guix.texi:8913
  14114. 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})."
  14115. msgstr ""
  14116. #. type: deffn
  14117. #: guix-git/doc/guix.texi:8916
  14118. #, no-wrap
  14119. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  14120. msgstr ""
  14121. #. type: deffn
  14122. #: guix-git/doc/guix.texi:8921
  14123. 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."
  14124. msgstr ""
  14125. #. type: deffn
  14126. #: guix-git/doc/guix.texi:8924
  14127. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  14128. msgstr ""
  14129. #. type: deffn
  14130. #: guix-git/doc/guix.texi:8926
  14131. #, no-wrap
  14132. msgid "{Scheme Procedure} close-connection @var{server}"
  14133. msgstr ""
  14134. #. type: deffn
  14135. #: guix-git/doc/guix.texi:8928
  14136. msgid "Close the connection to @var{server}."
  14137. msgstr ""
  14138. #. type: defvr
  14139. #: guix-git/doc/guix.texi:8930
  14140. #, no-wrap
  14141. msgid "{Scheme Variable} current-build-output-port"
  14142. msgstr ""
  14143. #. type: defvr
  14144. #: guix-git/doc/guix.texi:8933
  14145. 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."
  14146. msgstr ""
  14147. #. type: Plain text
  14148. #: guix-git/doc/guix.texi:8937
  14149. msgid "Procedures that make RPCs all take a server object as their first argument."
  14150. msgstr ""
  14151. #. type: deffn
  14152. #: guix-git/doc/guix.texi:8938
  14153. #, no-wrap
  14154. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  14155. msgstr ""
  14156. #. type: cindex
  14157. #: guix-git/doc/guix.texi:8939
  14158. #, no-wrap
  14159. msgid "invalid store items"
  14160. msgstr ""
  14161. #. type: deffn
  14162. #: guix-git/doc/guix.texi:8944
  14163. 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)."
  14164. msgstr ""
  14165. #. type: deffn
  14166. #: guix-git/doc/guix.texi:8947
  14167. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  14168. msgstr ""
  14169. #. type: deffn
  14170. #: guix-git/doc/guix.texi:8949
  14171. #, no-wrap
  14172. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  14173. msgstr ""
  14174. #. type: deffn
  14175. #: guix-git/doc/guix.texi:8953
  14176. 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."
  14177. msgstr ""
  14178. #. type: deffn
  14179. #: guix-git/doc/guix.texi:8955
  14180. #, no-wrap
  14181. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  14182. msgstr ""
  14183. #. type: deffn
  14184. #: guix-git/doc/guix.texi:8960
  14185. 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."
  14186. msgstr ""
  14187. #. type: Plain text
  14188. #: guix-git/doc/guix.texi:8966
  14189. 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})."
  14190. msgstr ""
  14191. #. type: i{#1}
  14192. #: guix-git/doc/guix.texi:8969
  14193. msgid "This section is currently incomplete."
  14194. msgstr ""
  14195. #. type: cindex
  14196. #: guix-git/doc/guix.texi:8973
  14197. #, no-wrap
  14198. msgid "derivations"
  14199. msgstr ""
  14200. #. type: Plain text
  14201. #: guix-git/doc/guix.texi:8977
  14202. 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:"
  14203. msgstr ""
  14204. #. type: itemize
  14205. #: guix-git/doc/guix.texi:8982
  14206. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  14207. msgstr ""
  14208. #. type: cindex
  14209. #: guix-git/doc/guix.texi:8984
  14210. #, no-wrap
  14211. msgid "build-time dependencies"
  14212. msgstr ""
  14213. #. type: cindex
  14214. #: guix-git/doc/guix.texi:8985
  14215. #, no-wrap
  14216. msgid "dependencies, build-time"
  14217. msgstr ""
  14218. #. type: itemize
  14219. #: guix-git/doc/guix.texi:8989
  14220. 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.)."
  14221. msgstr ""
  14222. #. type: itemize
  14223. #: guix-git/doc/guix.texi:8992
  14224. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  14225. msgstr ""
  14226. #. type: itemize
  14227. #: guix-git/doc/guix.texi:8996
  14228. msgid "The file name of a build script in the store, along with the arguments to be passed."
  14229. msgstr ""
  14230. #. type: itemize
  14231. #: guix-git/doc/guix.texi:8999
  14232. msgid "A list of environment variables to be defined."
  14233. msgstr ""
  14234. #. type: cindex
  14235. #: guix-git/doc/guix.texi:9002
  14236. #, no-wrap
  14237. msgid "derivation path"
  14238. msgstr ""
  14239. #. type: Plain text
  14240. #: guix-git/doc/guix.texi:9010
  14241. 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})."
  14242. msgstr ""
  14243. #. type: cindex
  14244. #: guix-git/doc/guix.texi:9011
  14245. #, no-wrap
  14246. msgid "fixed-output derivations"
  14247. msgstr ""
  14248. #. type: Plain text
  14249. #: guix-git/doc/guix.texi:9018
  14250. 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."
  14251. msgstr ""
  14252. #. type: item
  14253. #: guix-git/doc/guix.texi:9019 guix-git/doc/guix.texi:12601
  14254. #, no-wrap
  14255. msgid "references"
  14256. msgstr ""
  14257. #. type: cindex
  14258. #: guix-git/doc/guix.texi:9020
  14259. #, no-wrap
  14260. msgid "run-time dependencies"
  14261. msgstr ""
  14262. #. type: cindex
  14263. #: guix-git/doc/guix.texi:9021
  14264. #, no-wrap
  14265. msgid "dependencies, run-time"
  14266. msgstr ""
  14267. #. type: Plain text
  14268. #: guix-git/doc/guix.texi:9028
  14269. 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."
  14270. msgstr ""
  14271. #. type: Plain text
  14272. #: guix-git/doc/guix.texi:9033
  14273. 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:"
  14274. msgstr ""
  14275. #. type: deffn
  14276. #: guix-git/doc/guix.texi:9034
  14277. #, no-wrap
  14278. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  14279. msgstr ""
  14280. #. type: deffn
  14281. #: guix-git/doc/guix.texi:9043
  14282. 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."
  14283. msgstr ""
  14284. #. type: deffn
  14285. #: guix-git/doc/guix.texi:9050
  14286. 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."
  14287. msgstr ""
  14288. #. type: deffn
  14289. #: guix-git/doc/guix.texi:9055
  14290. 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."
  14291. msgstr ""
  14292. #. type: deffn
  14293. #: guix-git/doc/guix.texi:9060
  14294. 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."
  14295. msgstr ""
  14296. #. type: deffn
  14297. #: guix-git/doc/guix.texi:9067
  14298. 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."
  14299. msgstr ""
  14300. #. type: deffn
  14301. #: guix-git/doc/guix.texi:9072
  14302. 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."
  14303. msgstr ""
  14304. #. type: deffn
  14305. #: guix-git/doc/guix.texi:9077
  14306. 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."
  14307. msgstr ""
  14308. #. type: deffn
  14309. #: guix-git/doc/guix.texi:9080
  14310. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  14311. msgstr ""
  14312. #. type: Plain text
  14313. #: guix-git/doc/guix.texi:9086
  14314. 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:"
  14315. msgstr ""
  14316. #. type: lisp
  14317. #: guix-git/doc/guix.texi:9091
  14318. #, no-wrap
  14319. msgid ""
  14320. "(use-modules (guix utils)\n"
  14321. " (guix store)\n"
  14322. " (guix derivations))\n"
  14323. "\n"
  14324. msgstr ""
  14325. #. type: lisp
  14326. #: guix-git/doc/guix.texi:9100
  14327. #, no-wrap
  14328. msgid ""
  14329. "(let ((builder ; add the Bash script to the store\n"
  14330. " (add-text-to-store store \"my-builder.sh\"\n"
  14331. " \"echo hello world > $out\\n\" '())))\n"
  14332. " (derivation store \"foo\"\n"
  14333. " bash `(\"-e\" ,builder)\n"
  14334. " #:inputs `((,bash) (,builder))\n"
  14335. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  14336. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  14337. msgstr ""
  14338. #. type: Plain text
  14339. #: guix-git/doc/guix.texi:9107
  14340. 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}."
  14341. msgstr ""
  14342. #. type: Plain text
  14343. #: guix-git/doc/guix.texi:9112
  14344. 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}."
  14345. msgstr ""
  14346. #. type: deffn
  14347. #: guix-git/doc/guix.texi:9113
  14348. #, no-wrap
  14349. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  14350. msgstr ""
  14351. #. type: deffn
  14352. #: guix-git/doc/guix.texi:9129
  14353. 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))}."
  14354. msgstr ""
  14355. #. type: deffn
  14356. #: guix-git/doc/guix.texi:9137
  14357. 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."
  14358. msgstr ""
  14359. #. type: deffn
  14360. #: guix-git/doc/guix.texi:9141
  14361. 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."
  14362. msgstr ""
  14363. #. type: deffn
  14364. #: guix-git/doc/guix.texi:9146
  14365. 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?}."
  14366. msgstr ""
  14367. #. type: Plain text
  14368. #: guix-git/doc/guix.texi:9151
  14369. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  14370. msgstr ""
  14371. #. type: lisp
  14372. #: guix-git/doc/guix.texi:9159
  14373. #, no-wrap
  14374. msgid ""
  14375. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  14376. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  14377. " (call-with-output-file (string-append out \"/test\")\n"
  14378. " (lambda (p)\n"
  14379. " (display '(hello guix) p))))))\n"
  14380. " (build-expression->derivation store \"goo\" builder))\n"
  14381. "\n"
  14382. msgstr ""
  14383. #. type: lisp
  14384. #: guix-git/doc/guix.texi:9161
  14385. #, no-wrap
  14386. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  14387. msgstr ""
  14388. #. type: cindex
  14389. #: guix-git/doc/guix.texi:9167
  14390. #, no-wrap
  14391. msgid "monad"
  14392. msgstr ""
  14393. #. type: Plain text
  14394. #: guix-git/doc/guix.texi:9173
  14395. 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."
  14396. msgstr ""
  14397. #. type: Plain text
  14398. #: guix-git/doc/guix.texi:9179
  14399. 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."
  14400. msgstr ""
  14401. #. type: cindex
  14402. #: guix-git/doc/guix.texi:9180
  14403. #, no-wrap
  14404. msgid "monadic values"
  14405. msgstr ""
  14406. #. type: cindex
  14407. #: guix-git/doc/guix.texi:9181
  14408. #, no-wrap
  14409. msgid "monadic functions"
  14410. msgstr ""
  14411. #. type: Plain text
  14412. #: guix-git/doc/guix.texi:9191
  14413. 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}."
  14414. msgstr ""
  14415. #. type: Plain text
  14416. #: guix-git/doc/guix.texi:9193
  14417. msgid "Consider this ``normal'' procedure:"
  14418. msgstr ""
  14419. #. type: lisp
  14420. #: guix-git/doc/guix.texi:9202
  14421. #, no-wrap
  14422. msgid ""
  14423. "(define (sh-symlink store)\n"
  14424. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  14425. " (let* ((drv (package-derivation store bash))\n"
  14426. " (out (derivation->output-path drv))\n"
  14427. " (sh (string-append out \"/bin/bash\")))\n"
  14428. " (build-expression->derivation store \"sh\"\n"
  14429. " `(symlink ,sh %output))))\n"
  14430. msgstr ""
  14431. #. type: Plain text
  14432. #: guix-git/doc/guix.texi:9206
  14433. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  14434. msgstr ""
  14435. #. type: lisp
  14436. #: guix-git/doc/guix.texi:9214
  14437. #, no-wrap
  14438. msgid ""
  14439. "(define (sh-symlink)\n"
  14440. " ;; Same, but return a monadic value.\n"
  14441. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  14442. " (gexp->derivation \"sh\"\n"
  14443. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  14444. " #$output))))\n"
  14445. msgstr ""
  14446. #. type: Plain text
  14447. #: guix-git/doc/guix.texi:9221
  14448. 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}."
  14449. msgstr ""
  14450. #. type: Plain text
  14451. #: guix-git/doc/guix.texi:9225
  14452. 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}):"
  14453. msgstr ""
  14454. #. type: lisp
  14455. #: guix-git/doc/guix.texi:9231
  14456. #, no-wrap
  14457. msgid ""
  14458. "(define (sh-symlink)\n"
  14459. " (gexp->derivation \"sh\"\n"
  14460. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  14461. " #$output)))\n"
  14462. msgstr ""
  14463. #. type: Plain text
  14464. #: guix-git/doc/guix.texi:9240
  14465. 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}:"
  14466. msgstr ""
  14467. #. type: lisp
  14468. #: guix-git/doc/guix.texi:9244
  14469. #, no-wrap
  14470. msgid ""
  14471. "(run-with-store (open-connection) (sh-symlink))\n"
  14472. "@result{} /gnu/store/...-sh-symlink\n"
  14473. msgstr ""
  14474. #. type: Plain text
  14475. #: guix-git/doc/guix.texi:9250
  14476. 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:"
  14477. msgstr ""
  14478. #. type: example
  14479. #: guix-git/doc/guix.texi:9254
  14480. #, no-wrap
  14481. msgid ""
  14482. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  14483. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  14484. msgstr ""
  14485. #. type: Plain text
  14486. #: guix-git/doc/guix.texi:9258
  14487. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  14488. msgstr ""
  14489. #. type: example
  14490. #: guix-git/doc/guix.texi:9267
  14491. #, no-wrap
  14492. msgid ""
  14493. "scheme@@(guile-user)> ,enter-store-monad\n"
  14494. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  14495. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  14496. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  14497. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  14498. "store-monad@@(guile-user) [1]> ,q\n"
  14499. "scheme@@(guile-user)>\n"
  14500. msgstr ""
  14501. #. type: Plain text
  14502. #: guix-git/doc/guix.texi:9272
  14503. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  14504. msgstr ""
  14505. #. type: Plain text
  14506. #: guix-git/doc/guix.texi:9275
  14507. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  14508. msgstr ""
  14509. #. type: deffn
  14510. #: guix-git/doc/guix.texi:9276
  14511. #, no-wrap
  14512. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  14513. msgstr ""
  14514. #. type: deffn
  14515. #: guix-git/doc/guix.texi:9279
  14516. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  14517. msgstr ""
  14518. #. type: deffn
  14519. #: guix-git/doc/guix.texi:9281
  14520. #, no-wrap
  14521. msgid "{Scheme Syntax} return @var{val}"
  14522. msgstr ""
  14523. #. type: deffn
  14524. #: guix-git/doc/guix.texi:9283
  14525. msgid "Return a monadic value that encapsulates @var{val}."
  14526. msgstr ""
  14527. #. type: deffn
  14528. #: guix-git/doc/guix.texi:9285
  14529. #, no-wrap
  14530. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  14531. msgstr ""
  14532. #. type: deffn
  14533. #: guix-git/doc/guix.texi:9292
  14534. 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:"
  14535. msgstr ""
  14536. #. type: lisp
  14537. #: guix-git/doc/guix.texi:9300
  14538. #, no-wrap
  14539. msgid ""
  14540. "(run-with-state\n"
  14541. " (with-monad %state-monad\n"
  14542. " (>>= (return 1)\n"
  14543. " (lambda (x) (return (+ 1 x)))\n"
  14544. " (lambda (x) (return (* 2 x)))))\n"
  14545. " 'some-state)\n"
  14546. "\n"
  14547. msgstr ""
  14548. #. type: lisp
  14549. #: guix-git/doc/guix.texi:9303
  14550. #, no-wrap
  14551. msgid ""
  14552. "@result{} 4\n"
  14553. "@result{} some-state\n"
  14554. msgstr ""
  14555. #. type: deffn
  14556. #: guix-git/doc/guix.texi:9306
  14557. #, no-wrap
  14558. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  14559. msgstr ""
  14560. #. type: deffn
  14561. #: guix-git/doc/guix.texi:9308
  14562. msgid "@var{body} ..."
  14563. msgstr ""
  14564. #. type: deffnx
  14565. #: guix-git/doc/guix.texi:9308
  14566. #, no-wrap
  14567. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  14568. msgstr ""
  14569. #. type: deffn
  14570. #: guix-git/doc/guix.texi:9320
  14571. 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}."
  14572. msgstr ""
  14573. #. type: deffn
  14574. #: guix-git/doc/guix.texi:9323
  14575. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  14576. msgstr ""
  14577. #. type: deffn
  14578. #: guix-git/doc/guix.texi:9325
  14579. #, no-wrap
  14580. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  14581. msgstr ""
  14582. #. type: deffn
  14583. #: guix-git/doc/guix.texi:9329
  14584. 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."
  14585. msgstr ""
  14586. #. type: deffn
  14587. #: guix-git/doc/guix.texi:9333
  14588. 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."
  14589. msgstr ""
  14590. #. type: deffn
  14591. #: guix-git/doc/guix.texi:9335
  14592. #, no-wrap
  14593. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  14594. msgstr ""
  14595. #. type: deffn
  14596. #: guix-git/doc/guix.texi:9340
  14597. 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."
  14598. msgstr ""
  14599. #. type: deffn
  14600. #: guix-git/doc/guix.texi:9342
  14601. #, no-wrap
  14602. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  14603. msgstr ""
  14604. #. type: deffn
  14605. #: guix-git/doc/guix.texi:9347
  14606. 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."
  14607. msgstr ""
  14608. #. type: cindex
  14609. #: guix-git/doc/guix.texi:9349
  14610. #, no-wrap
  14611. msgid "state monad"
  14612. msgstr ""
  14613. #. type: Plain text
  14614. #: guix-git/doc/guix.texi:9353
  14615. 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."
  14616. msgstr ""
  14617. #. type: defvr
  14618. #: guix-git/doc/guix.texi:9354
  14619. #, no-wrap
  14620. msgid "{Scheme Variable} %state-monad"
  14621. msgstr ""
  14622. #. type: defvr
  14623. #: guix-git/doc/guix.texi:9357
  14624. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  14625. msgstr ""
  14626. #. type: defvr
  14627. #: guix-git/doc/guix.texi:9361
  14628. 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:"
  14629. msgstr ""
  14630. #. type: lisp
  14631. #: guix-git/doc/guix.texi:9368
  14632. #, no-wrap
  14633. msgid ""
  14634. "(define (square x)\n"
  14635. " (mlet %state-monad ((count (current-state)))\n"
  14636. " (mbegin %state-monad\n"
  14637. " (set-current-state (+ 1 count))\n"
  14638. " (return (* x x)))))\n"
  14639. "\n"
  14640. msgstr ""
  14641. #. type: lisp
  14642. #: guix-git/doc/guix.texi:9372
  14643. #, no-wrap
  14644. msgid ""
  14645. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  14646. "@result{} (0 1 4)\n"
  14647. "@result{} 3\n"
  14648. msgstr ""
  14649. #. type: defvr
  14650. #: guix-git/doc/guix.texi:9376
  14651. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  14652. msgstr ""
  14653. #. type: deffn
  14654. #: guix-git/doc/guix.texi:9378
  14655. #, no-wrap
  14656. msgid "{Monadic Procedure} current-state"
  14657. msgstr ""
  14658. #. type: deffn
  14659. #: guix-git/doc/guix.texi:9380
  14660. msgid "Return the current state as a monadic value."
  14661. msgstr ""
  14662. #. type: deffn
  14663. #: guix-git/doc/guix.texi:9382
  14664. #, no-wrap
  14665. msgid "{Monadic Procedure} set-current-state @var{value}"
  14666. msgstr ""
  14667. #. type: deffn
  14668. #: guix-git/doc/guix.texi:9385
  14669. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  14670. msgstr ""
  14671. #. type: deffn
  14672. #: guix-git/doc/guix.texi:9387
  14673. #, no-wrap
  14674. msgid "{Monadic Procedure} state-push @var{value}"
  14675. msgstr ""
  14676. #. type: deffn
  14677. #: guix-git/doc/guix.texi:9390
  14678. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  14679. msgstr ""
  14680. #. type: deffn
  14681. #: guix-git/doc/guix.texi:9392
  14682. #, no-wrap
  14683. msgid "{Monadic Procedure} state-pop"
  14684. msgstr ""
  14685. #. type: deffn
  14686. #: guix-git/doc/guix.texi:9395
  14687. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  14688. msgstr ""
  14689. #. type: deffn
  14690. #: guix-git/doc/guix.texi:9397
  14691. #, no-wrap
  14692. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  14693. msgstr ""
  14694. #. type: deffn
  14695. #: guix-git/doc/guix.texi:9400
  14696. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  14697. msgstr ""
  14698. #. type: Plain text
  14699. #: guix-git/doc/guix.texi:9404
  14700. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  14701. msgstr ""
  14702. #. type: defvr
  14703. #: guix-git/doc/guix.texi:9405
  14704. #, no-wrap
  14705. msgid "{Scheme Variable} %store-monad"
  14706. msgstr ""
  14707. #. type: defvr
  14708. #: guix-git/doc/guix.texi:9407
  14709. msgid "The store monad---an alias for @code{%state-monad}."
  14710. msgstr ""
  14711. #. type: defvr
  14712. #: guix-git/doc/guix.texi:9411
  14713. 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)."
  14714. msgstr ""
  14715. #. type: deffn
  14716. #: guix-git/doc/guix.texi:9413
  14717. #, no-wrap
  14718. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  14719. msgstr ""
  14720. #. type: deffn
  14721. #: guix-git/doc/guix.texi:9416
  14722. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  14723. msgstr ""
  14724. #. type: deffn
  14725. #: guix-git/doc/guix.texi:9418
  14726. #, no-wrap
  14727. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  14728. msgstr ""
  14729. #. type: deffn
  14730. #: guix-git/doc/guix.texi:9422
  14731. 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."
  14732. msgstr ""
  14733. #. type: deffn
  14734. #: guix-git/doc/guix.texi:9424
  14735. #, no-wrap
  14736. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  14737. msgstr ""
  14738. #. type: deffn
  14739. #: guix-git/doc/guix.texi:9428
  14740. 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."
  14741. msgstr ""
  14742. #. type: deffn
  14743. #: guix-git/doc/guix.texi:9430
  14744. #, no-wrap
  14745. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  14746. msgstr ""
  14747. #. type: deffn
  14748. #: guix-git/doc/guix.texi:9435
  14749. 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."
  14750. msgstr ""
  14751. #. type: deffn
  14752. #: guix-git/doc/guix.texi:9439 guix-git/doc/guix.texi:9862
  14753. 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."
  14754. msgstr ""
  14755. #. type: deffn
  14756. #: guix-git/doc/guix.texi:9444 guix-git/doc/guix.texi:9867
  14757. 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."
  14758. msgstr ""
  14759. #. type: deffn
  14760. #: guix-git/doc/guix.texi:9446
  14761. msgid "The example below adds a file to the store, under two different names:"
  14762. msgstr ""
  14763. #. type: lisp
  14764. #: guix-git/doc/guix.texi:9452
  14765. #, no-wrap
  14766. msgid ""
  14767. "(run-with-store (open-connection)\n"
  14768. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  14769. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  14770. " (return (list a b))))\n"
  14771. "\n"
  14772. msgstr ""
  14773. #. type: lisp
  14774. #: guix-git/doc/guix.texi:9454
  14775. #, no-wrap
  14776. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  14777. msgstr ""
  14778. #. type: Plain text
  14779. #: guix-git/doc/guix.texi:9460
  14780. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  14781. msgstr ""
  14782. #. type: deffn
  14783. #: guix-git/doc/guix.texi:9461
  14784. #, no-wrap
  14785. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  14786. msgstr ""
  14787. #. type: deffn
  14788. #: guix-git/doc/guix.texi:9469
  14789. 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."
  14790. msgstr ""
  14791. #. type: deffn
  14792. #: guix-git/doc/guix.texi:9473
  14793. 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."
  14794. msgstr ""
  14795. #. type: deffn
  14796. #: guix-git/doc/guix.texi:9475
  14797. #, no-wrap
  14798. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  14799. msgstr ""
  14800. #. type: deffnx
  14801. #: guix-git/doc/guix.texi:9476
  14802. #, no-wrap
  14803. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  14804. msgstr ""
  14805. #. type: deffn
  14806. #: guix-git/doc/guix.texi:9480
  14807. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  14808. msgstr ""
  14809. #. type: cindex
  14810. #: guix-git/doc/guix.texi:9486
  14811. #, no-wrap
  14812. msgid "G-expression"
  14813. msgstr ""
  14814. #. type: cindex
  14815. #: guix-git/doc/guix.texi:9487
  14816. #, no-wrap
  14817. msgid "build code quoting"
  14818. msgstr ""
  14819. #. type: Plain text
  14820. #: guix-git/doc/guix.texi:9493
  14821. 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})."
  14822. msgstr ""
  14823. #. type: cindex
  14824. #: guix-git/doc/guix.texi:9496
  14825. #, no-wrap
  14826. msgid "strata of code"
  14827. msgstr ""
  14828. #. type: Plain text
  14829. #: guix-git/doc/guix.texi:9508
  14830. 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})."
  14831. msgstr ""
  14832. #. type: Plain text
  14833. #: guix-git/doc/guix.texi:9515
  14834. 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."
  14835. msgstr ""
  14836. #. type: Plain text
  14837. #: guix-git/doc/guix.texi:9524
  14838. 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:"
  14839. msgstr ""
  14840. #. type: itemize
  14841. #: guix-git/doc/guix.texi:9529
  14842. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  14843. msgstr ""
  14844. #. type: itemize
  14845. #: guix-git/doc/guix.texi:9534
  14846. 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."
  14847. msgstr ""
  14848. #. type: itemize
  14849. #: guix-git/doc/guix.texi:9539
  14850. 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."
  14851. msgstr ""
  14852. #. type: cindex
  14853. #: guix-git/doc/guix.texi:9541 guix-git/doc/guix.texi:10098
  14854. #, no-wrap
  14855. msgid "lowering, of high-level objects in gexps"
  14856. msgstr ""
  14857. #. type: Plain text
  14858. #: guix-git/doc/guix.texi:9551
  14859. 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)."
  14860. msgstr ""
  14861. #. type: Plain text
  14862. #: guix-git/doc/guix.texi:9553
  14863. msgid "To illustrate the idea, here is an example of a gexp:"
  14864. msgstr ""
  14865. #. type: lisp
  14866. #: guix-git/doc/guix.texi:9561
  14867. #, no-wrap
  14868. msgid ""
  14869. "(define build-exp\n"
  14870. " #~(begin\n"
  14871. " (mkdir #$output)\n"
  14872. " (chdir #$output)\n"
  14873. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  14874. " \"list-files\")))\n"
  14875. msgstr ""
  14876. #. type: Plain text
  14877. #: guix-git/doc/guix.texi:9566
  14878. 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}:"
  14879. msgstr ""
  14880. #. type: lisp
  14881. #: guix-git/doc/guix.texi:9569
  14882. #, no-wrap
  14883. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  14884. msgstr ""
  14885. #. type: Plain text
  14886. #: guix-git/doc/guix.texi:9577
  14887. 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."
  14888. msgstr ""
  14889. #. type: cindex
  14890. #: guix-git/doc/guix.texi:9578
  14891. #, no-wrap
  14892. msgid "cross compilation"
  14893. msgstr ""
  14894. #. type: Plain text
  14895. #: guix-git/doc/guix.texi:9584
  14896. 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:"
  14897. msgstr ""
  14898. #. type: lisp
  14899. #: guix-git/doc/guix.texi:9595
  14900. #, no-wrap
  14901. msgid ""
  14902. "(gexp->derivation \"vi\"\n"
  14903. " #~(begin\n"
  14904. " (mkdir #$output)\n"
  14905. " (mkdir (string-append #$output \"/bin\"))\n"
  14906. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  14907. " \"-s\"\n"
  14908. " (string-append #$emacs \"/bin/emacs\")\n"
  14909. " (string-append #$output \"/bin/vi\")))\n"
  14910. " #:target \"aarch64-linux-gnu\")\n"
  14911. msgstr ""
  14912. #. type: Plain text
  14913. #: guix-git/doc/guix.texi:9601
  14914. 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."
  14915. msgstr ""
  14916. #. type: cindex
  14917. #: guix-git/doc/guix.texi:9602
  14918. #, no-wrap
  14919. msgid "imported modules, for gexps"
  14920. msgstr ""
  14921. #. type: findex
  14922. #: guix-git/doc/guix.texi:9603
  14923. #, no-wrap
  14924. msgid "with-imported-modules"
  14925. msgstr ""
  14926. #. type: Plain text
  14927. #: guix-git/doc/guix.texi:9608
  14928. 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:"
  14929. msgstr ""
  14930. #. type: lisp
  14931. #: guix-git/doc/guix.texi:9619
  14932. #, no-wrap
  14933. msgid ""
  14934. "(let ((build (with-imported-modules '((guix build utils))\n"
  14935. " #~(begin\n"
  14936. " (use-modules (guix build utils))\n"
  14937. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  14938. " (gexp->derivation \"empty-dir\"\n"
  14939. " #~(begin\n"
  14940. " #$build\n"
  14941. " (display \"success!\\n\")\n"
  14942. " #t)))\n"
  14943. msgstr ""
  14944. #. type: Plain text
  14945. #: guix-git/doc/guix.texi:9625
  14946. 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."
  14947. msgstr ""
  14948. #. type: cindex
  14949. #: guix-git/doc/guix.texi:9626
  14950. #, no-wrap
  14951. msgid "module closure"
  14952. msgstr ""
  14953. #. type: findex
  14954. #: guix-git/doc/guix.texi:9627
  14955. #, no-wrap
  14956. msgid "source-module-closure"
  14957. msgstr ""
  14958. #. type: Plain text
  14959. #: guix-git/doc/guix.texi:9634
  14960. 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:"
  14961. msgstr ""
  14962. #. type: lisp
  14963. #: guix-git/doc/guix.texi:9637
  14964. #, no-wrap
  14965. msgid ""
  14966. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  14967. "\n"
  14968. msgstr ""
  14969. #. type: lisp
  14970. #: guix-git/doc/guix.texi:9646
  14971. #, no-wrap
  14972. msgid ""
  14973. "(with-imported-modules (source-module-closure\n"
  14974. " '((guix build utils)\n"
  14975. " (gnu build vm)))\n"
  14976. " (gexp->derivation \"something-with-vms\"\n"
  14977. " #~(begin\n"
  14978. " (use-modules (guix build utils)\n"
  14979. " (gnu build vm))\n"
  14980. " @dots{})))\n"
  14981. msgstr ""
  14982. #. type: cindex
  14983. #: guix-git/doc/guix.texi:9648
  14984. #, no-wrap
  14985. msgid "extensions, for gexps"
  14986. msgstr ""
  14987. #. type: findex
  14988. #: guix-git/doc/guix.texi:9649
  14989. #, no-wrap
  14990. msgid "with-extensions"
  14991. msgstr ""
  14992. #. type: Plain text
  14993. #: guix-git/doc/guix.texi:9654
  14994. 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:"
  14995. msgstr ""
  14996. #. type: lisp
  14997. #: guix-git/doc/guix.texi:9657
  14998. #, no-wrap
  14999. msgid ""
  15000. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  15001. "\n"
  15002. msgstr ""
  15003. #. type: lisp
  15004. #: guix-git/doc/guix.texi:9663
  15005. #, no-wrap
  15006. msgid ""
  15007. "(with-extensions (list guile-json)\n"
  15008. " (gexp->derivation \"something-with-json\"\n"
  15009. " #~(begin\n"
  15010. " (use-modules (json))\n"
  15011. " @dots{})))\n"
  15012. msgstr ""
  15013. #. type: Plain text
  15014. #: guix-git/doc/guix.texi:9666
  15015. msgid "The syntactic form to construct gexps is summarized below."
  15016. msgstr ""
  15017. #. type: deffn
  15018. #: guix-git/doc/guix.texi:9667
  15019. #, no-wrap
  15020. msgid "{Scheme Syntax} #~@var{exp}"
  15021. msgstr ""
  15022. #. type: deffnx
  15023. #: guix-git/doc/guix.texi:9668
  15024. #, no-wrap
  15025. msgid "{Scheme Syntax} (gexp @var{exp})"
  15026. msgstr ""
  15027. #. type: deffn
  15028. #: guix-git/doc/guix.texi:9671
  15029. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  15030. msgstr ""
  15031. #. type: item
  15032. #: guix-git/doc/guix.texi:9673
  15033. #, no-wrap
  15034. msgid "#$@var{obj}"
  15035. msgstr ""
  15036. #. type: itemx
  15037. #: guix-git/doc/guix.texi:9674
  15038. #, no-wrap
  15039. msgid "(ungexp @var{obj})"
  15040. msgstr ""
  15041. #. type: table
  15042. #: guix-git/doc/guix.texi:9679
  15043. 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}."
  15044. msgstr ""
  15045. #. type: table
  15046. #: guix-git/doc/guix.texi:9682
  15047. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  15048. msgstr ""
  15049. #. type: table
  15050. #: guix-git/doc/guix.texi:9685
  15051. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  15052. msgstr ""
  15053. #. type: table
  15054. #: guix-git/doc/guix.texi:9687
  15055. msgid "If @var{obj} is another kind of object, it is inserted as is."
  15056. msgstr ""
  15057. #. type: item
  15058. #: guix-git/doc/guix.texi:9688
  15059. #, no-wrap
  15060. msgid "#$@var{obj}:@var{output}"
  15061. msgstr ""
  15062. #. type: itemx
  15063. #: guix-git/doc/guix.texi:9689
  15064. #, no-wrap
  15065. msgid "(ungexp @var{obj} @var{output})"
  15066. msgstr ""
  15067. #. type: table
  15068. #: guix-git/doc/guix.texi:9693
  15069. 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})."
  15070. msgstr ""
  15071. #. type: item
  15072. #: guix-git/doc/guix.texi:9694
  15073. #, no-wrap
  15074. msgid "#+@var{obj}"
  15075. msgstr ""
  15076. #. type: itemx
  15077. #: guix-git/doc/guix.texi:9695
  15078. #, no-wrap
  15079. msgid "#+@var{obj}:output"
  15080. msgstr ""
  15081. #. type: itemx
  15082. #: guix-git/doc/guix.texi:9696
  15083. #, no-wrap
  15084. msgid "(ungexp-native @var{obj})"
  15085. msgstr ""
  15086. #. type: itemx
  15087. #: guix-git/doc/guix.texi:9697
  15088. #, no-wrap
  15089. msgid "(ungexp-native @var{obj} @var{output})"
  15090. msgstr ""
  15091. #. type: table
  15092. #: guix-git/doc/guix.texi:9700
  15093. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  15094. msgstr ""
  15095. #. type: item
  15096. #: guix-git/doc/guix.texi:9701
  15097. #, no-wrap
  15098. msgid "#$output[:@var{output}]"
  15099. msgstr ""
  15100. #. type: itemx
  15101. #: guix-git/doc/guix.texi:9702
  15102. #, no-wrap
  15103. msgid "(ungexp output [@var{output}])"
  15104. msgstr ""
  15105. #. type: table
  15106. #: guix-git/doc/guix.texi:9705
  15107. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  15108. msgstr ""
  15109. #. type: table
  15110. #: guix-git/doc/guix.texi:9707
  15111. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  15112. msgstr ""
  15113. #. type: item
  15114. #: guix-git/doc/guix.texi:9708
  15115. #, no-wrap
  15116. msgid "#$@@@var{lst}"
  15117. msgstr ""
  15118. #. type: itemx
  15119. #: guix-git/doc/guix.texi:9709
  15120. #, no-wrap
  15121. msgid "(ungexp-splicing @var{lst})"
  15122. msgstr ""
  15123. #. type: table
  15124. #: guix-git/doc/guix.texi:9712
  15125. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  15126. msgstr ""
  15127. #. type: item
  15128. #: guix-git/doc/guix.texi:9713
  15129. #, no-wrap
  15130. msgid "#+@@@var{lst}"
  15131. msgstr ""
  15132. #. type: itemx
  15133. #: guix-git/doc/guix.texi:9714
  15134. #, no-wrap
  15135. msgid "(ungexp-native-splicing @var{lst})"
  15136. msgstr ""
  15137. #. type: table
  15138. #: guix-git/doc/guix.texi:9717
  15139. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  15140. msgstr ""
  15141. #. type: deffn
  15142. #: guix-git/doc/guix.texi:9722
  15143. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  15144. msgstr ""
  15145. #. type: deffn
  15146. #: guix-git/doc/guix.texi:9724
  15147. #, no-wrap
  15148. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  15149. msgstr ""
  15150. #. type: deffn
  15151. #: guix-git/doc/guix.texi:9727
  15152. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  15153. msgstr ""
  15154. #. type: deffn
  15155. #: guix-git/doc/guix.texi:9731
  15156. 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:"
  15157. msgstr ""
  15158. #. type: lisp
  15159. #: guix-git/doc/guix.texi:9737
  15160. #, no-wrap
  15161. msgid ""
  15162. "`((guix build utils)\n"
  15163. " (guix gcrypt)\n"
  15164. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  15165. " #~(define-module @dots{}))))\n"
  15166. msgstr ""
  15167. #. type: deffn
  15168. #: guix-git/doc/guix.texi:9742
  15169. 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."
  15170. msgstr ""
  15171. #. type: deffn
  15172. #: guix-git/doc/guix.texi:9746
  15173. 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{}."
  15174. msgstr ""
  15175. #. type: deffn
  15176. #: guix-git/doc/guix.texi:9748
  15177. #, no-wrap
  15178. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  15179. msgstr ""
  15180. #. type: deffn
  15181. #: guix-git/doc/guix.texi:9753
  15182. 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."
  15183. msgstr ""
  15184. #. type: deffn
  15185. #: guix-git/doc/guix.texi:9758
  15186. 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{}."
  15187. msgstr ""
  15188. #. type: deffn
  15189. #: guix-git/doc/guix.texi:9760
  15190. #, no-wrap
  15191. msgid "{Scheme Procedure} gexp? @var{obj}"
  15192. msgstr ""
  15193. #. type: deffn
  15194. #: guix-git/doc/guix.texi:9762
  15195. msgid "Return @code{#t} if @var{obj} is a G-expression."
  15196. msgstr ""
  15197. #. type: Plain text
  15198. #: guix-git/doc/guix.texi:9768
  15199. 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)."
  15200. msgstr ""
  15201. #. type: deffn
  15202. #: guix-git/doc/guix.texi:9769
  15203. #, no-wrap
  15204. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  15205. msgstr ""
  15206. #. type: deffn
  15207. #: guix-git/doc/guix.texi:9787
  15208. 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}."
  15209. msgstr ""
  15210. #. type: deffn
  15211. #: guix-git/doc/guix.texi:9795
  15212. 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))}."
  15213. msgstr ""
  15214. #. type: deffn
  15215. #: guix-git/doc/guix.texi:9798
  15216. 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\"}."
  15217. msgstr ""
  15218. #. type: deffn
  15219. #: guix-git/doc/guix.texi:9801
  15220. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  15221. msgstr ""
  15222. #. type: deffn
  15223. #: guix-git/doc/guix.texi:9804
  15224. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  15225. msgstr ""
  15226. #. type: example
  15227. #: guix-git/doc/guix.texi:9811
  15228. #, no-wrap
  15229. msgid ""
  15230. "(@var{file-name} @var{package})\n"
  15231. "(@var{file-name} @var{package} @var{output})\n"
  15232. "(@var{file-name} @var{derivation})\n"
  15233. "(@var{file-name} @var{derivation} @var{output})\n"
  15234. "(@var{file-name} @var{store-item})\n"
  15235. msgstr ""
  15236. #. type: deffn
  15237. #: guix-git/doc/guix.texi:9817
  15238. 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."
  15239. msgstr ""
  15240. #. type: deffn
  15241. #: guix-git/doc/guix.texi:9823
  15242. 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."
  15243. msgstr ""
  15244. #. type: deffn
  15245. #: guix-git/doc/guix.texi:9826
  15246. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  15247. msgstr ""
  15248. #. type: deffn
  15249. #: guix-git/doc/guix.texi:9828
  15250. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  15251. msgstr ""
  15252. #. type: cindex
  15253. #: guix-git/doc/guix.texi:9830
  15254. #, no-wrap
  15255. msgid "file-like objects"
  15256. msgstr ""
  15257. #. type: Plain text
  15258. #: guix-git/doc/guix.texi:9835
  15259. 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:"
  15260. msgstr ""
  15261. #. type: lisp
  15262. #: guix-git/doc/guix.texi:9839
  15263. #, no-wrap
  15264. msgid ""
  15265. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  15266. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  15267. msgstr ""
  15268. #. type: Plain text
  15269. #: guix-git/doc/guix.texi:9848
  15270. 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."
  15271. msgstr ""
  15272. #. type: deffn
  15273. #: guix-git/doc/guix.texi:9849
  15274. #, no-wrap
  15275. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  15276. msgstr ""
  15277. #. type: deffn
  15278. #: guix-git/doc/guix.texi:9858
  15279. 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}."
  15280. msgstr ""
  15281. #. type: deffn
  15282. #: guix-git/doc/guix.texi:9870
  15283. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  15284. msgstr ""
  15285. #. type: deffn
  15286. #: guix-git/doc/guix.texi:9872
  15287. #, no-wrap
  15288. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  15289. msgstr ""
  15290. #. type: deffn
  15291. #: guix-git/doc/guix.texi:9875
  15292. 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."
  15293. msgstr ""
  15294. #. type: deffn
  15295. #: guix-git/doc/guix.texi:9877
  15296. msgid "This is the declarative counterpart of @code{text-file}."
  15297. msgstr ""
  15298. #. type: deffn
  15299. #: guix-git/doc/guix.texi:9879
  15300. #, no-wrap
  15301. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  15302. msgstr ""
  15303. #. type: deffn
  15304. #: guix-git/doc/guix.texi:9886
  15305. 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}."
  15306. msgstr ""
  15307. #. type: deffn
  15308. #: guix-git/doc/guix.texi:9888
  15309. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  15310. msgstr ""
  15311. #. type: deffn
  15312. #: guix-git/doc/guix.texi:9890
  15313. #, no-wrap
  15314. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  15315. msgstr ""
  15316. #. type: deffn
  15317. #: guix-git/doc/guix.texi:9896
  15318. 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}."
  15319. msgstr ""
  15320. #. type: deffn
  15321. #: guix-git/doc/guix.texi:9899
  15322. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  15323. msgstr ""
  15324. #. type: lisp
  15325. #: guix-git/doc/guix.texi:9902
  15326. #, no-wrap
  15327. msgid ""
  15328. "(use-modules (guix gexp) (gnu packages base))\n"
  15329. "\n"
  15330. msgstr ""
  15331. #. type: lisp
  15332. #: guix-git/doc/guix.texi:9906
  15333. #, no-wrap
  15334. msgid ""
  15335. "(gexp->script \"list-files\"\n"
  15336. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  15337. " \"ls\"))\n"
  15338. msgstr ""
  15339. #. type: deffn
  15340. #: guix-git/doc/guix.texi:9911
  15341. 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:"
  15342. msgstr ""
  15343. #. type: example
  15344. #: guix-git/doc/guix.texi:9916
  15345. #, no-wrap
  15346. msgid ""
  15347. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  15348. "!#\n"
  15349. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  15350. msgstr ""
  15351. #. type: deffn
  15352. #: guix-git/doc/guix.texi:9919
  15353. #, no-wrap
  15354. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  15355. msgstr ""
  15356. #. type: deffn
  15357. #: guix-git/doc/guix.texi:9924
  15358. 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}."
  15359. msgstr ""
  15360. #. type: deffn
  15361. #: guix-git/doc/guix.texi:9926
  15362. msgid "This is the declarative counterpart of @code{gexp->script}."
  15363. msgstr ""
  15364. #. type: deffn
  15365. #: guix-git/doc/guix.texi:9928
  15366. #, no-wrap
  15367. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  15368. msgstr ""
  15369. #. type: deffn
  15370. #: guix-git/doc/guix.texi:9935
  15371. 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."
  15372. msgstr ""
  15373. #. type: deffn
  15374. #: guix-git/doc/guix.texi:9940
  15375. 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}."
  15376. msgstr ""
  15377. #. type: deffn
  15378. #: guix-git/doc/guix.texi:9943
  15379. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  15380. msgstr ""
  15381. #. type: deffn
  15382. #: guix-git/doc/guix.texi:9945
  15383. #, no-wrap
  15384. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  15385. msgstr ""
  15386. #. type: deffn
  15387. #: guix-git/doc/guix.texi:9949
  15388. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  15389. msgstr ""
  15390. #. type: deffn
  15391. #: guix-git/doc/guix.texi:9951
  15392. msgid "This is the declarative counterpart of @code{gexp->file}."
  15393. msgstr ""
  15394. #. type: deffn
  15395. #: guix-git/doc/guix.texi:9953
  15396. #, no-wrap
  15397. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  15398. msgstr ""
  15399. #. type: deffn
  15400. #: guix-git/doc/guix.texi:9959
  15401. 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."
  15402. msgstr ""
  15403. #. type: deffn
  15404. #: guix-git/doc/guix.texi:9964
  15405. 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:"
  15406. msgstr ""
  15407. #. type: lisp
  15408. #: guix-git/doc/guix.texi:9972
  15409. #, no-wrap
  15410. msgid ""
  15411. "(define (profile.sh)\n"
  15412. " ;; Return the name of a shell script in the store that\n"
  15413. " ;; initializes the 'PATH' environment variable.\n"
  15414. " (text-file* \"profile.sh\"\n"
  15415. " \"export PATH=\" coreutils \"/bin:\"\n"
  15416. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  15417. msgstr ""
  15418. #. type: deffn
  15419. #: guix-git/doc/guix.texi:9977
  15420. 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."
  15421. msgstr ""
  15422. #. type: deffn
  15423. #: guix-git/doc/guix.texi:9979
  15424. #, no-wrap
  15425. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  15426. msgstr ""
  15427. #. type: deffn
  15428. #: guix-git/doc/guix.texi:9983
  15429. 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:"
  15430. msgstr ""
  15431. #. type: lisp
  15432. #: guix-git/doc/guix.texi:9987
  15433. #, no-wrap
  15434. msgid ""
  15435. "(mixed-text-file \"profile\"\n"
  15436. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  15437. msgstr ""
  15438. #. type: deffn
  15439. #: guix-git/doc/guix.texi:9990
  15440. msgid "This is the declarative counterpart of @code{text-file*}."
  15441. msgstr ""
  15442. #. type: deffn
  15443. #: guix-git/doc/guix.texi:9992
  15444. #, no-wrap
  15445. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  15446. msgstr ""
  15447. #. type: deffn
  15448. #: guix-git/doc/guix.texi:9997
  15449. 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:"
  15450. msgstr ""
  15451. #. type: lisp
  15452. #: guix-git/doc/guix.texi:10004
  15453. #, no-wrap
  15454. msgid ""
  15455. "(file-union \"etc\"\n"
  15456. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  15457. " \"127.0.0.1 localhost\"))\n"
  15458. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  15459. " \"alias ls='ls --color=auto'\"))))\n"
  15460. msgstr ""
  15461. #. type: deffn
  15462. #: guix-git/doc/guix.texi:10007
  15463. msgid "This yields an @code{etc} directory containing these two files."
  15464. msgstr ""
  15465. #. type: deffn
  15466. #: guix-git/doc/guix.texi:10009
  15467. #, no-wrap
  15468. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  15469. msgstr ""
  15470. #. type: deffn
  15471. #: guix-git/doc/guix.texi:10012
  15472. 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:"
  15473. msgstr ""
  15474. #. type: lisp
  15475. #: guix-git/doc/guix.texi:10015
  15476. #, no-wrap
  15477. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  15478. msgstr ""
  15479. #. type: deffn
  15480. #: guix-git/doc/guix.texi:10018
  15481. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  15482. msgstr ""
  15483. #. type: deffn
  15484. #: guix-git/doc/guix.texi:10020
  15485. #, no-wrap
  15486. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  15487. msgstr ""
  15488. #. type: deffn
  15489. #: guix-git/doc/guix.texi:10024
  15490. 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."
  15491. msgstr ""
  15492. #. type: deffn
  15493. #: guix-git/doc/guix.texi:10026
  15494. msgid "As an example, consider this gexp:"
  15495. msgstr ""
  15496. #. type: lisp
  15497. #: guix-git/doc/guix.texi:10031
  15498. #, no-wrap
  15499. msgid ""
  15500. "(gexp->script \"run-uname\"\n"
  15501. " #~(system* #$(file-append coreutils\n"
  15502. " \"/bin/uname\")))\n"
  15503. msgstr ""
  15504. #. type: deffn
  15505. #: guix-git/doc/guix.texi:10034
  15506. msgid "The same effect could be achieved with:"
  15507. msgstr ""
  15508. #. type: lisp
  15509. #: guix-git/doc/guix.texi:10039
  15510. #, no-wrap
  15511. msgid ""
  15512. "(gexp->script \"run-uname\"\n"
  15513. " #~(system* (string-append #$coreutils\n"
  15514. " \"/bin/uname\")))\n"
  15515. msgstr ""
  15516. #. type: deffn
  15517. #: guix-git/doc/guix.texi:10045
  15518. 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}."
  15519. msgstr ""
  15520. #. type: deffn
  15521. #: guix-git/doc/guix.texi:10047
  15522. #, no-wrap
  15523. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  15524. msgstr ""
  15525. #. type: deffnx
  15526. #: guix-git/doc/guix.texi:10048
  15527. #, no-wrap
  15528. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  15529. msgstr ""
  15530. #. type: deffn
  15531. #: guix-git/doc/guix.texi:10051
  15532. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  15533. msgstr ""
  15534. #. type: deffn
  15535. #: guix-git/doc/guix.texi:10056
  15536. 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."
  15537. msgstr ""
  15538. #. type: deffn
  15539. #: guix-git/doc/guix.texi:10059
  15540. 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:"
  15541. msgstr ""
  15542. #. type: lisp
  15543. #: guix-git/doc/guix.texi:10070
  15544. #, no-wrap
  15545. msgid ""
  15546. "#~(system*\n"
  15547. " #+(let-system system\n"
  15548. " (cond ((string-prefix? \"armhf-\" system)\n"
  15549. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  15550. " ((string-prefix? \"x86_64-\" system)\n"
  15551. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  15552. " (else\n"
  15553. " (error \"dunno!\"))))\n"
  15554. " \"-net\" \"user\" #$image)\n"
  15555. msgstr ""
  15556. #. type: deffn
  15557. #: guix-git/doc/guix.texi:10073
  15558. #, no-wrap
  15559. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  15560. msgstr ""
  15561. #. type: deffn
  15562. #: guix-git/doc/guix.texi:10079
  15563. 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."
  15564. msgstr ""
  15565. #. type: deffn
  15566. #: guix-git/doc/guix.texi:10082
  15567. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  15568. msgstr ""
  15569. #. type: lisp
  15570. #: guix-git/doc/guix.texi:10086
  15571. #, no-wrap
  15572. msgid ""
  15573. "(with-parameters ((%current-system \"i686-linux\"))\n"
  15574. " coreutils)\n"
  15575. msgstr ""
  15576. #. type: deffn
  15577. #: guix-git/doc/guix.texi:10090
  15578. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  15579. msgstr ""
  15580. #. type: Plain text
  15581. #: guix-git/doc/guix.texi:10097
  15582. 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."
  15583. msgstr ""
  15584. #. type: Plain text
  15585. #: guix-git/doc/guix.texi:10103
  15586. 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."
  15587. msgstr ""
  15588. #. type: deffn
  15589. #: guix-git/doc/guix.texi:10104
  15590. #, no-wrap
  15591. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  15592. msgstr ""
  15593. #. type: deffn
  15594. #: guix-git/doc/guix.texi:10110
  15595. 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>}."
  15596. msgstr ""
  15597. #. type: deffn
  15598. #: guix-git/doc/guix.texi:10112
  15599. #, no-wrap
  15600. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  15601. msgstr ""
  15602. #. type: deffn
  15603. #: guix-git/doc/guix.texi:10120
  15604. 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."
  15605. msgstr ""
  15606. #. type: section
  15607. #: guix-git/doc/guix.texi:10123
  15608. #, no-wrap
  15609. msgid "Invoking @command{guix repl}"
  15610. msgstr ""
  15611. #. type: cindex
  15612. #: guix-git/doc/guix.texi:10125
  15613. #, no-wrap
  15614. msgid "REPL, read-eval-print loop, script"
  15615. msgstr ""
  15616. #. type: Plain text
  15617. #: guix-git/doc/guix.texi:10135
  15618. 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."
  15619. msgstr ""
  15620. #. type: example
  15621. #: guix-git/doc/guix.texi:10140
  15622. #, no-wrap
  15623. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  15624. msgstr ""
  15625. #. type: Plain text
  15626. #: guix-git/doc/guix.texi:10144
  15627. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  15628. msgstr ""
  15629. #. type: example
  15630. #: guix-git/doc/guix.texi:10147
  15631. #, no-wrap
  15632. msgid "guix repl my-script.scm\n"
  15633. msgstr ""
  15634. #. type: Plain text
  15635. #: guix-git/doc/guix.texi:10151
  15636. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  15637. msgstr ""
  15638. #. type: example
  15639. #: guix-git/doc/guix.texi:10154
  15640. #, no-wrap
  15641. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  15642. msgstr ""
  15643. #. type: Plain text
  15644. #: guix-git/doc/guix.texi:10159
  15645. 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:"
  15646. msgstr ""
  15647. #. type: example
  15648. #: guix-git/doc/guix.texi:10163
  15649. #, no-wrap
  15650. msgid ""
  15651. "@code{#!/usr/bin/env -S guix repl --}\n"
  15652. "@code{!#}\n"
  15653. msgstr ""
  15654. #. type: Plain text
  15655. #: guix-git/doc/guix.texi:10166
  15656. msgid "Without a file name argument, a Guile REPL is started:"
  15657. msgstr ""
  15658. #. type: example
  15659. #: guix-git/doc/guix.texi:10172
  15660. #, no-wrap
  15661. msgid ""
  15662. "$ guix repl\n"
  15663. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  15664. "scheme@@(guile-user)> coreutils\n"
  15665. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  15666. msgstr ""
  15667. #. type: Plain text
  15668. #: guix-git/doc/guix.texi:10179
  15669. 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."
  15670. msgstr ""
  15671. #. type: Plain text
  15672. #: guix-git/doc/guix.texi:10181
  15673. msgid "The available options are as follows:"
  15674. msgstr ""
  15675. #. type: item
  15676. #: guix-git/doc/guix.texi:10183 guix-git/doc/guix.texi:12671
  15677. #, no-wrap
  15678. msgid "--type=@var{type}"
  15679. msgstr ""
  15680. #. type: itemx
  15681. #: guix-git/doc/guix.texi:10184 guix-git/doc/guix.texi:12672
  15682. #: guix-git/doc/guix.texi:34147
  15683. #, no-wrap
  15684. msgid "-t @var{type}"
  15685. msgstr ""
  15686. #. type: table
  15687. #: guix-git/doc/guix.texi:10186
  15688. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  15689. msgstr ""
  15690. #. type: item
  15691. #: guix-git/doc/guix.texi:10188
  15692. #, no-wrap
  15693. msgid "guile"
  15694. msgstr ""
  15695. #. type: table
  15696. #: guix-git/doc/guix.texi:10190
  15697. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  15698. msgstr ""
  15699. #. type: item
  15700. #: guix-git/doc/guix.texi:10190
  15701. #, no-wrap
  15702. msgid "machine"
  15703. msgstr ""
  15704. #. type: table
  15705. #: guix-git/doc/guix.texi:10193
  15706. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  15707. msgstr ""
  15708. #. type: table
  15709. #: guix-git/doc/guix.texi:10199
  15710. 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:"
  15711. msgstr ""
  15712. #. type: item
  15713. #: guix-git/doc/guix.texi:10201
  15714. #, no-wrap
  15715. msgid "--listen=tcp:37146"
  15716. msgstr ""
  15717. #. type: table
  15718. #: guix-git/doc/guix.texi:10203
  15719. msgid "Accept connections on localhost on port 37146."
  15720. msgstr ""
  15721. #. type: item
  15722. #: guix-git/doc/guix.texi:10204
  15723. #, no-wrap
  15724. msgid "--listen=unix:/tmp/socket"
  15725. msgstr ""
  15726. #. type: table
  15727. #: guix-git/doc/guix.texi:10206
  15728. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  15729. msgstr ""
  15730. #. type: item
  15731. #: guix-git/doc/guix.texi:10208 guix-git/doc/guix.texi:10312
  15732. #: guix-git/doc/guix.texi:12126 guix-git/doc/guix.texi:12306
  15733. #: guix-git/doc/guix.texi:12451 guix-git/doc/guix.texi:12719
  15734. #, no-wrap
  15735. msgid "--load-path=@var{directory}"
  15736. msgstr ""
  15737. #. type: itemx
  15738. #: guix-git/doc/guix.texi:10209 guix-git/doc/guix.texi:10313
  15739. #: guix-git/doc/guix.texi:12307 guix-git/doc/guix.texi:12452
  15740. #: guix-git/doc/guix.texi:12720
  15741. #, no-wrap
  15742. msgid "-L @var{directory}"
  15743. msgstr ""
  15744. #. type: table
  15745. #: guix-git/doc/guix.texi:10212 guix-git/doc/guix.texi:10316
  15746. #: guix-git/doc/guix.texi:12129 guix-git/doc/guix.texi:12310
  15747. #: guix-git/doc/guix.texi:12455 guix-git/doc/guix.texi:12723
  15748. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  15749. msgstr ""
  15750. #. type: table
  15751. #: guix-git/doc/guix.texi:10215
  15752. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  15753. msgstr ""
  15754. #. type: itemx
  15755. #: guix-git/doc/guix.texi:10216 guix-git/doc/guix.texi:10776
  15756. #, no-wrap
  15757. msgid "-q"
  15758. msgstr ""
  15759. #. type: table
  15760. #: guix-git/doc/guix.texi:10219
  15761. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  15762. msgstr ""
  15763. #. type: Plain text
  15764. #: guix-git/doc/guix.texi:10229
  15765. 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."
  15766. msgstr ""
  15767. #. type: cindex
  15768. #: guix-git/doc/guix.texi:10251
  15769. #, no-wrap
  15770. msgid "package building"
  15771. msgstr ""
  15772. #. type: command{#1}
  15773. #: guix-git/doc/guix.texi:10252
  15774. #, no-wrap
  15775. msgid "guix build"
  15776. msgstr ""
  15777. #. type: Plain text
  15778. #: guix-git/doc/guix.texi:10258
  15779. 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."
  15780. msgstr ""
  15781. #. type: example
  15782. #: guix-git/doc/guix.texi:10263
  15783. #, no-wrap
  15784. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  15785. msgstr ""
  15786. #. type: Plain text
  15787. #: guix-git/doc/guix.texi:10268
  15788. 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:"
  15789. msgstr ""
  15790. #. type: example
  15791. #: guix-git/doc/guix.texi:10271
  15792. #, no-wrap
  15793. msgid "guix build emacs guile\n"
  15794. msgstr ""
  15795. #. type: Plain text
  15796. #: guix-git/doc/guix.texi:10274
  15797. msgid "Similarly, the following command builds all the available packages:"
  15798. msgstr ""
  15799. #. type: example
  15800. #: guix-git/doc/guix.texi:10278
  15801. #, no-wrap
  15802. msgid ""
  15803. "guix build --quiet --keep-going \\\n"
  15804. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  15805. msgstr ""
  15806. #. type: Plain text
  15807. #: guix-git/doc/guix.texi:10286
  15808. 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})."
  15809. msgstr ""
  15810. #. type: Plain text
  15811. #: guix-git/doc/guix.texi:10291
  15812. 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."
  15813. msgstr ""
  15814. #. type: Plain text
  15815. #: guix-git/doc/guix.texi:10294
  15816. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  15817. msgstr ""
  15818. #. type: Plain text
  15819. #: guix-git/doc/guix.texi:10309
  15820. 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:"
  15821. msgstr ""
  15822. #. type: table
  15823. #: guix-git/doc/guix.texi:10319 guix-git/doc/guix.texi:12132
  15824. #: guix-git/doc/guix.texi:12313 guix-git/doc/guix.texi:12458
  15825. #: guix-git/doc/guix.texi:12726
  15826. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  15827. msgstr ""
  15828. #. type: item
  15829. #: guix-git/doc/guix.texi:10320
  15830. #, no-wrap
  15831. msgid "--keep-failed"
  15832. msgstr ""
  15833. #. type: itemx
  15834. #: guix-git/doc/guix.texi:10321
  15835. #, no-wrap
  15836. msgid "-K"
  15837. msgstr ""
  15838. #. type: table
  15839. #: guix-git/doc/guix.texi:10327
  15840. 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."
  15841. msgstr ""
  15842. #. type: table
  15843. #: guix-git/doc/guix.texi:10331
  15844. 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})."
  15845. msgstr ""
  15846. #. type: item
  15847. #: guix-git/doc/guix.texi:10332
  15848. #, no-wrap
  15849. msgid "--keep-going"
  15850. msgstr ""
  15851. #. type: itemx
  15852. #: guix-git/doc/guix.texi:10333
  15853. #, no-wrap
  15854. msgid "-k"
  15855. msgstr ""
  15856. #. type: table
  15857. #: guix-git/doc/guix.texi:10336
  15858. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  15859. msgstr ""
  15860. #. type: table
  15861. #: guix-git/doc/guix.texi:10339
  15862. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  15863. msgstr ""
  15864. #. type: table
  15865. #: guix-git/doc/guix.texi:10343
  15866. msgid "Do not build the derivations."
  15867. msgstr ""
  15868. #. type: anchor{#1}
  15869. #: guix-git/doc/guix.texi:10345
  15870. msgid "fallback-option"
  15871. msgstr ""
  15872. #. type: item
  15873. #: guix-git/doc/guix.texi:10345
  15874. #, no-wrap
  15875. msgid "--fallback"
  15876. msgstr ""
  15877. #. type: table
  15878. #: guix-git/doc/guix.texi:10348
  15879. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  15880. msgstr ""
  15881. #. type: anchor{#1}
  15882. #: guix-git/doc/guix.texi:10354
  15883. msgid "client-substitute-urls"
  15884. msgstr ""
  15885. #. type: table
  15886. #: guix-git/doc/guix.texi:10354
  15887. 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})."
  15888. msgstr ""
  15889. #. type: table
  15890. #: guix-git/doc/guix.texi:10358
  15891. 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})."
  15892. msgstr ""
  15893. #. type: table
  15894. #: guix-git/doc/guix.texi:10361
  15895. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  15896. msgstr ""
  15897. #. type: item
  15898. #: guix-git/doc/guix.texi:10367
  15899. #, no-wrap
  15900. msgid "--no-grafts"
  15901. msgstr ""
  15902. #. type: table
  15903. #: guix-git/doc/guix.texi:10371
  15904. 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."
  15905. msgstr ""
  15906. #. type: item
  15907. #: guix-git/doc/guix.texi:10372
  15908. #, no-wrap
  15909. msgid "--rounds=@var{n}"
  15910. msgstr ""
  15911. #. type: table
  15912. #: guix-git/doc/guix.texi:10375
  15913. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  15914. msgstr ""
  15915. #. type: table
  15916. #: guix-git/doc/guix.texi:10380
  15917. 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."
  15918. msgstr ""
  15919. #. type: table
  15920. #: guix-git/doc/guix.texi:10396
  15921. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  15922. msgstr ""
  15923. #. type: table
  15924. #: guix-git/doc/guix.texi:10403
  15925. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  15926. msgstr ""
  15927. #. type: cindex
  15928. #: guix-git/doc/guix.texi:10406
  15929. #, no-wrap
  15930. msgid "verbosity, of the command-line tools"
  15931. msgstr ""
  15932. #. type: cindex
  15933. #: guix-git/doc/guix.texi:10407
  15934. #, no-wrap
  15935. msgid "build logs, verbosity"
  15936. msgstr ""
  15937. #. type: item
  15938. #: guix-git/doc/guix.texi:10408
  15939. #, no-wrap
  15940. msgid "-v @var{level}"
  15941. msgstr ""
  15942. #. type: itemx
  15943. #: guix-git/doc/guix.texi:10409
  15944. #, no-wrap
  15945. msgid "--verbosity=@var{level}"
  15946. msgstr ""
  15947. #. type: table
  15948. #: guix-git/doc/guix.texi:10414
  15949. 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."
  15950. msgstr ""
  15951. #. type: table
  15952. #: guix-git/doc/guix.texi:10419
  15953. 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."
  15954. msgstr ""
  15955. #. type: table
  15956. #: guix-git/doc/guix.texi:10425
  15957. 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."
  15958. msgstr ""
  15959. #. type: item
  15960. #: guix-git/doc/guix.texi:10426
  15961. #, no-wrap
  15962. msgid "--debug=@var{level}"
  15963. msgstr ""
  15964. #. type: table
  15965. #: guix-git/doc/guix.texi:10430
  15966. 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."
  15967. msgstr ""
  15968. #. type: Plain text
  15969. #: guix-git/doc/guix.texi:10437
  15970. 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."
  15971. msgstr ""
  15972. #. type: Plain text
  15973. #: guix-git/doc/guix.texi:10441
  15974. 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."
  15975. msgstr ""
  15976. #. type: defvr
  15977. #: guix-git/doc/guix.texi:10442
  15978. #, no-wrap
  15979. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  15980. msgstr ""
  15981. #. type: defvr
  15982. #: guix-git/doc/guix.texi:10447
  15983. 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:"
  15984. msgstr ""
  15985. #. type: example
  15986. #: guix-git/doc/guix.texi:10450
  15987. #, no-wrap
  15988. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  15989. msgstr ""
  15990. #. type: defvr
  15991. #: guix-git/doc/guix.texi:10454
  15992. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  15993. msgstr ""
  15994. #. type: cindex
  15995. #: guix-git/doc/guix.texi:10460
  15996. #, no-wrap
  15997. msgid "package variants"
  15998. msgstr ""
  15999. #. type: Plain text
  16000. #: guix-git/doc/guix.texi:10468
  16001. 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})."
  16002. msgstr ""
  16003. #. type: Plain text
  16004. #: guix-git/doc/guix.texi:10472
  16005. 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."
  16006. msgstr ""
  16007. #. type: Plain text
  16008. #: guix-git/doc/guix.texi:10477
  16009. 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)."
  16010. msgstr ""
  16011. #. type: item
  16012. #: guix-git/doc/guix.texi:10480
  16013. #, no-wrap
  16014. msgid "--with-source=@var{source}"
  16015. msgstr ""
  16016. #. type: itemx
  16017. #: guix-git/doc/guix.texi:10481
  16018. #, no-wrap
  16019. msgid "--with-source=@var{package}=@var{source}"
  16020. msgstr ""
  16021. #. type: itemx
  16022. #: guix-git/doc/guix.texi:10482
  16023. #, no-wrap
  16024. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  16025. msgstr ""
  16026. #. type: table
  16027. #: guix-git/doc/guix.texi:10487
  16028. 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})."
  16029. msgstr ""
  16030. #. type: table
  16031. #: guix-git/doc/guix.texi:10493
  16032. 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}."
  16033. msgstr ""
  16034. #. type: table
  16035. #: guix-git/doc/guix.texi:10496
  16036. 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}."
  16037. msgstr ""
  16038. #. type: table
  16039. #: guix-git/doc/guix.texi:10501
  16040. 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:"
  16041. msgstr ""
  16042. #. type: example
  16043. #: guix-git/doc/guix.texi:10504
  16044. #, no-wrap
  16045. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  16046. msgstr ""
  16047. #. type: table
  16048. #: guix-git/doc/guix.texi:10508
  16049. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  16050. msgstr ""
  16051. #. type: example
  16052. #: guix-git/doc/guix.texi:10511
  16053. #, no-wrap
  16054. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  16055. msgstr ""
  16056. #. type: table
  16057. #: guix-git/doc/guix.texi:10514
  16058. msgid "@dots{} or to build from a checkout in a pristine environment:"
  16059. msgstr ""
  16060. #. type: example
  16061. #: guix-git/doc/guix.texi:10518
  16062. #, no-wrap
  16063. msgid ""
  16064. "$ git clone git://git.sv.gnu.org/guix.git\n"
  16065. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  16066. msgstr ""
  16067. #. type: item
  16068. #: guix-git/doc/guix.texi:10520
  16069. #, no-wrap
  16070. msgid "--with-input=@var{package}=@var{replacement}"
  16071. msgstr ""
  16072. #. type: table
  16073. #: guix-git/doc/guix.texi:10525
  16074. 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}."
  16075. msgstr ""
  16076. #. type: table
  16077. #: guix-git/doc/guix.texi:10529
  16078. 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}:"
  16079. msgstr ""
  16080. #. type: example
  16081. #: guix-git/doc/guix.texi:10532
  16082. #, no-wrap
  16083. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  16084. msgstr ""
  16085. #. type: table
  16086. #: guix-git/doc/guix.texi:10537
  16087. 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}."
  16088. msgstr ""
  16089. #. type: table
  16090. #: guix-git/doc/guix.texi:10540
  16091. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  16092. msgstr ""
  16093. #. type: item
  16094. #: guix-git/doc/guix.texi:10541
  16095. #, no-wrap
  16096. msgid "--with-graft=@var{package}=@var{replacement}"
  16097. msgstr ""
  16098. #. type: table
  16099. #: guix-git/doc/guix.texi:10547
  16100. 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."
  16101. msgstr ""
  16102. #. type: table
  16103. #: guix-git/doc/guix.texi:10551
  16104. 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:"
  16105. msgstr ""
  16106. #. type: example
  16107. #: guix-git/doc/guix.texi:10554
  16108. #, no-wrap
  16109. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  16110. msgstr ""
  16111. #. type: table
  16112. #: guix-git/doc/guix.texi:10563
  16113. 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!"
  16114. msgstr ""
  16115. #. type: cindex
  16116. #: guix-git/doc/guix.texi:10564 guix-git/doc/guix.texi:36253
  16117. #, no-wrap
  16118. msgid "debugging info, rebuilding"
  16119. msgstr ""
  16120. #. type: item
  16121. #: guix-git/doc/guix.texi:10565
  16122. #, no-wrap
  16123. msgid "--with-debug-info=@var{package}"
  16124. msgstr ""
  16125. #. type: table
  16126. #: guix-git/doc/guix.texi:10570
  16127. 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})."
  16128. msgstr ""
  16129. #. type: table
  16130. #: guix-git/doc/guix.texi:10576
  16131. 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:"
  16132. msgstr ""
  16133. #. type: example
  16134. #: guix-git/doc/guix.texi:10579 guix-git/doc/guix.texi:36284
  16135. #, no-wrap
  16136. msgid "guix install inkscape --with-debug-info=glib\n"
  16137. msgstr ""
  16138. #. type: table
  16139. #: guix-git/doc/guix.texi:10583
  16140. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  16141. msgstr ""
  16142. #. type: quotation
  16143. #: guix-git/doc/guix.texi:10589
  16144. 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."
  16145. msgstr ""
  16146. #. type: quotation
  16147. #: guix-git/doc/guix.texi:10593
  16148. 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."
  16149. msgstr ""
  16150. #. type: cindex
  16151. #: guix-git/doc/guix.texi:10595
  16152. #, no-wrap
  16153. msgid "tool chain, changing the build tool chain of a package"
  16154. msgstr ""
  16155. #. type: item
  16156. #: guix-git/doc/guix.texi:10596
  16157. #, no-wrap
  16158. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  16159. msgstr ""
  16160. #. type: table
  16161. #: guix-git/doc/guix.texi:10600
  16162. 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++."
  16163. msgstr ""
  16164. #. type: example
  16165. #: guix-git/doc/guix.texi:10607
  16166. #, no-wrap
  16167. msgid ""
  16168. "guix build octave-cli \\\n"
  16169. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  16170. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  16171. msgstr ""
  16172. #. type: table
  16173. #: guix-git/doc/guix.texi:10614
  16174. 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}."
  16175. msgstr ""
  16176. #. type: table
  16177. #: guix-git/doc/guix.texi:10618
  16178. 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:"
  16179. msgstr ""
  16180. #. type: example
  16181. #: guix-git/doc/guix.texi:10622
  16182. #, no-wrap
  16183. msgid ""
  16184. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  16185. " intel-mpi-benchmarks\n"
  16186. msgstr ""
  16187. #. type: quotation
  16188. #: guix-git/doc/guix.texi:10631
  16189. 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."
  16190. msgstr ""
  16191. #. type: item
  16192. #: guix-git/doc/guix.texi:10633
  16193. #, no-wrap
  16194. msgid "--with-git-url=@var{package}=@var{url}"
  16195. msgstr ""
  16196. #. type: cindex
  16197. #: guix-git/doc/guix.texi:10634
  16198. #, no-wrap
  16199. msgid "Git, using the latest commit"
  16200. msgstr ""
  16201. #. type: cindex
  16202. #: guix-git/doc/guix.texi:10635
  16203. #, no-wrap
  16204. msgid "latest commit, building"
  16205. msgstr ""
  16206. #. type: table
  16207. #: guix-git/doc/guix.texi:10639
  16208. 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."
  16209. msgstr ""
  16210. #. type: table
  16211. #: guix-git/doc/guix.texi:10642
  16212. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  16213. msgstr ""
  16214. #. type: example
  16215. #: guix-git/doc/guix.texi:10646
  16216. #, no-wrap
  16217. msgid ""
  16218. "guix build python-numpy \\\n"
  16219. " --with-git-url=python=https://github.com/python/cpython\n"
  16220. msgstr ""
  16221. #. type: table
  16222. #: guix-git/doc/guix.texi:10650
  16223. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  16224. msgstr ""
  16225. #. type: cindex
  16226. #: guix-git/doc/guix.texi:10651 guix-git/doc/guix.texi:27897
  16227. #, no-wrap
  16228. msgid "continuous integration"
  16229. msgstr ""
  16230. #. type: table
  16231. #: guix-git/doc/guix.texi:10657
  16232. 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)."
  16233. msgstr ""
  16234. #. type: table
  16235. #: guix-git/doc/guix.texi:10661
  16236. 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."
  16237. msgstr ""
  16238. #. type: item
  16239. #: guix-git/doc/guix.texi:10662
  16240. #, no-wrap
  16241. msgid "--with-branch=@var{package}=@var{branch}"
  16242. msgstr ""
  16243. #. type: table
  16244. #: guix-git/doc/guix.texi:10668
  16245. 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."
  16246. msgstr ""
  16247. #. type: table
  16248. #: guix-git/doc/guix.texi:10673
  16249. 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:"
  16250. msgstr ""
  16251. #. type: example
  16252. #: guix-git/doc/guix.texi:10676
  16253. #, no-wrap
  16254. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  16255. msgstr ""
  16256. #. type: item
  16257. #: guix-git/doc/guix.texi:10678
  16258. #, no-wrap
  16259. msgid "--with-commit=@var{package}=@var{commit}"
  16260. msgstr ""
  16261. #. type: table
  16262. #: guix-git/doc/guix.texi:10683
  16263. 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}."
  16264. msgstr ""
  16265. #. type: item
  16266. #: guix-git/doc/guix.texi:10684
  16267. #, no-wrap
  16268. msgid "--with-patch=@var{package}=@var{file}"
  16269. msgstr ""
  16270. #. type: table
  16271. #: guix-git/doc/guix.texi:10691
  16272. 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})."
  16273. msgstr ""
  16274. #. type: table
  16275. #: guix-git/doc/guix.texi:10694
  16276. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  16277. msgstr ""
  16278. #. type: example
  16279. #: guix-git/doc/guix.texi:10697
  16280. #, no-wrap
  16281. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  16282. msgstr ""
  16283. #. type: table
  16284. #: guix-git/doc/guix.texi:10701
  16285. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  16286. msgstr ""
  16287. #. type: cindex
  16288. #: guix-git/doc/guix.texi:10702
  16289. #, no-wrap
  16290. msgid "upstream, latest version"
  16291. msgstr ""
  16292. #. type: item
  16293. #: guix-git/doc/guix.texi:10703
  16294. #, no-wrap
  16295. msgid "--with-latest=@var{package}"
  16296. msgstr ""
  16297. #. type: table
  16298. #: guix-git/doc/guix.texi:10708
  16299. 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})."
  16300. msgstr ""
  16301. #. type: table
  16302. #: guix-git/doc/guix.texi:10712
  16303. 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."
  16304. msgstr ""
  16305. #. type: table
  16306. #: guix-git/doc/guix.texi:10715
  16307. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  16308. msgstr ""
  16309. #. type: example
  16310. #: guix-git/doc/guix.texi:10718
  16311. #, no-wrap
  16312. msgid "guix build guix --with-latest=guile-json\n"
  16313. msgstr ""
  16314. #. type: table
  16315. #: guix-git/doc/guix.texi:10727
  16316. 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."
  16317. msgstr ""
  16318. #. type: table
  16319. #: guix-git/doc/guix.texi:10732
  16320. 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})."
  16321. msgstr ""
  16322. #. type: cindex
  16323. #: guix-git/doc/guix.texi:10733
  16324. #, no-wrap
  16325. msgid "test suite, skipping"
  16326. msgstr ""
  16327. #. type: item
  16328. #: guix-git/doc/guix.texi:10734
  16329. #, no-wrap
  16330. msgid "--without-tests=@var{package}"
  16331. msgstr ""
  16332. #. type: table
  16333. #: guix-git/doc/guix.texi:10740
  16334. 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."
  16335. msgstr ""
  16336. #. type: table
  16337. #: guix-git/doc/guix.texi:10744
  16338. 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:"
  16339. msgstr ""
  16340. #. type: example
  16341. #: guix-git/doc/guix.texi:10747
  16342. #, no-wrap
  16343. msgid "guix install --without-tests=python python-notebook\n"
  16344. msgstr ""
  16345. #. type: table
  16346. #: guix-git/doc/guix.texi:10753
  16347. 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."
  16348. msgstr ""
  16349. #. type: table
  16350. #: guix-git/doc/guix.texi:10759
  16351. 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."
  16352. msgstr ""
  16353. #. type: Plain text
  16354. #: guix-git/doc/guix.texi:10766
  16355. 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."
  16356. msgstr ""
  16357. #. type: Plain text
  16358. #: guix-git/doc/guix.texi:10772
  16359. msgid "The command-line options presented below are specific to @command{guix build}."
  16360. msgstr ""
  16361. #. type: item
  16362. #: guix-git/doc/guix.texi:10775
  16363. #, no-wrap
  16364. msgid "--quiet"
  16365. msgstr ""
  16366. #. type: table
  16367. #: guix-git/doc/guix.texi:10780
  16368. 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."
  16369. msgstr ""
  16370. #. type: item
  16371. #: guix-git/doc/guix.texi:10781
  16372. #, no-wrap
  16373. msgid "--file=@var{file}"
  16374. msgstr ""
  16375. #. type: table
  16376. #: guix-git/doc/guix.texi:10785
  16377. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  16378. msgstr ""
  16379. #. type: table
  16380. #: guix-git/doc/guix.texi:10788
  16381. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  16382. msgstr ""
  16383. #. type: table
  16384. #: guix-git/doc/guix.texi:10797
  16385. 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}:"
  16386. msgstr ""
  16387. #. type: item
  16388. #: guix-git/doc/guix.texi:10802
  16389. #, no-wrap
  16390. msgid "--manifest=@var{manifest}"
  16391. msgstr ""
  16392. #. type: itemx
  16393. #: guix-git/doc/guix.texi:10803
  16394. #, no-wrap
  16395. msgid "-m @var{manifest}"
  16396. msgstr ""
  16397. #. type: table
  16398. #: guix-git/doc/guix.texi:10806
  16399. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  16400. msgstr ""
  16401. #. type: table
  16402. #: guix-git/doc/guix.texi:10810
  16403. msgid "Build the package or derivation @var{expr} evaluates to."
  16404. msgstr ""
  16405. #. type: table
  16406. #: guix-git/doc/guix.texi:10814
  16407. 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."
  16408. msgstr ""
  16409. #. type: table
  16410. #: guix-git/doc/guix.texi:10818
  16411. 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})."
  16412. msgstr ""
  16413. #. type: table
  16414. #: guix-git/doc/guix.texi:10822
  16415. 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}."
  16416. msgstr ""
  16417. #. type: item
  16418. #: guix-git/doc/guix.texi:10823
  16419. #, no-wrap
  16420. msgid "--source"
  16421. msgstr ""
  16422. #. type: itemx
  16423. #: guix-git/doc/guix.texi:10824
  16424. #, no-wrap
  16425. msgid "-S"
  16426. msgstr ""
  16427. #. type: table
  16428. #: guix-git/doc/guix.texi:10827
  16429. msgid "Build the source derivations of the packages, rather than the packages themselves."
  16430. msgstr ""
  16431. #. type: table
  16432. #: guix-git/doc/guix.texi:10831
  16433. 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."
  16434. msgstr ""
  16435. #. type: table
  16436. #: guix-git/doc/guix.texi:10835
  16437. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  16438. msgstr ""
  16439. #. type: cindex
  16440. #: guix-git/doc/guix.texi:10836
  16441. #, no-wrap
  16442. msgid "source, verification"
  16443. msgstr ""
  16444. #. type: table
  16445. #: guix-git/doc/guix.texi:10842
  16446. 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."
  16447. msgstr ""
  16448. #. type: table
  16449. #: guix-git/doc/guix.texi:10847
  16450. 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."
  16451. msgstr ""
  16452. #. type: item
  16453. #: guix-git/doc/guix.texi:10848
  16454. #, no-wrap
  16455. msgid "--sources"
  16456. msgstr ""
  16457. #. type: table
  16458. #: guix-git/doc/guix.texi:10855
  16459. 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:"
  16460. msgstr ""
  16461. #. type: item
  16462. #: guix-git/doc/guix.texi:10857 guix-git/doc/guix.texi:12512
  16463. #, no-wrap
  16464. msgid "package"
  16465. msgstr ""
  16466. #. type: table
  16467. #: guix-git/doc/guix.texi:10860
  16468. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  16469. msgstr ""
  16470. #. type: item
  16471. #: guix-git/doc/guix.texi:10861 guix-git/doc/guix.texi:18638
  16472. #, no-wrap
  16473. msgid "all"
  16474. msgstr ""
  16475. #. type: table
  16476. #: guix-git/doc/guix.texi:10864
  16477. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  16478. msgstr ""
  16479. #. type: example
  16480. #: guix-git/doc/guix.texi:10870
  16481. #, no-wrap
  16482. msgid ""
  16483. "$ guix build --sources tzdata\n"
  16484. "The following derivations will be built:\n"
  16485. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  16486. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  16487. msgstr ""
  16488. #. type: item
  16489. #: guix-git/doc/guix.texi:10872
  16490. #, no-wrap
  16491. msgid "transitive"
  16492. msgstr ""
  16493. #. type: table
  16494. #: guix-git/doc/guix.texi:10876
  16495. 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."
  16496. msgstr ""
  16497. #. type: example
  16498. #: guix-git/doc/guix.texi:10887
  16499. #, no-wrap
  16500. msgid ""
  16501. "$ guix build --sources=transitive tzdata\n"
  16502. "The following derivations will be built:\n"
  16503. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  16504. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  16505. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  16506. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  16507. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  16508. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  16509. "@dots{}\n"
  16510. msgstr ""
  16511. #. type: table
  16512. #: guix-git/doc/guix.texi:10897
  16513. 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."
  16514. msgstr ""
  16515. #. type: quotation
  16516. #: guix-git/doc/guix.texi:10902
  16517. 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."
  16518. msgstr ""
  16519. #. type: table
  16520. #: guix-git/doc/guix.texi:10909
  16521. 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."
  16522. msgstr ""
  16523. #. type: quotation
  16524. #: guix-git/doc/guix.texi:10914
  16525. 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."
  16526. msgstr ""
  16527. #. type: table
  16528. #: guix-git/doc/guix.texi:10920
  16529. 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."
  16530. msgstr ""
  16531. #. type: table
  16532. #: guix-git/doc/guix.texi:10924
  16533. 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."
  16534. msgstr ""
  16535. #. type: table
  16536. #: guix-git/doc/guix.texi:10930
  16537. 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})."
  16538. msgstr ""
  16539. #. type: anchor{#1}
  16540. #: guix-git/doc/guix.texi:10932
  16541. msgid "build-check"
  16542. msgstr ""
  16543. #. type: item
  16544. #: guix-git/doc/guix.texi:10932
  16545. #, no-wrap
  16546. msgid "--check"
  16547. msgstr ""
  16548. #. type: cindex
  16549. #: guix-git/doc/guix.texi:10933
  16550. #, no-wrap
  16551. msgid "determinism, checking"
  16552. msgstr ""
  16553. #. type: cindex
  16554. #: guix-git/doc/guix.texi:10934
  16555. #, no-wrap
  16556. msgid "reproducibility, checking"
  16557. msgstr ""
  16558. #. type: table
  16559. #: guix-git/doc/guix.texi:10938
  16560. 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."
  16561. msgstr ""
  16562. #. type: table
  16563. #: guix-git/doc/guix.texi:10943
  16564. 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."
  16565. msgstr ""
  16566. #. type: item
  16567. #: guix-git/doc/guix.texi:10948
  16568. #, no-wrap
  16569. msgid "--repair"
  16570. msgstr ""
  16571. #. type: cindex
  16572. #: guix-git/doc/guix.texi:10949
  16573. #, no-wrap
  16574. msgid "repairing store items"
  16575. msgstr ""
  16576. #. type: table
  16577. #: guix-git/doc/guix.texi:10953
  16578. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  16579. msgstr ""
  16580. #. type: table
  16581. #: guix-git/doc/guix.texi:10955
  16582. msgid "This operation is not atomic and thus restricted to @code{root}."
  16583. msgstr ""
  16584. #. type: item
  16585. #: guix-git/doc/guix.texi:10956
  16586. #, no-wrap
  16587. msgid "--derivations"
  16588. msgstr ""
  16589. #. type: table
  16590. #: guix-git/doc/guix.texi:10960
  16591. msgid "Return the derivation paths, not the output paths, of the given packages."
  16592. msgstr ""
  16593. #. type: cindex
  16594. #: guix-git/doc/guix.texi:10963
  16595. #, no-wrap
  16596. msgid "GC roots, adding"
  16597. msgstr ""
  16598. #. type: cindex
  16599. #: guix-git/doc/guix.texi:10964
  16600. #, no-wrap
  16601. msgid "garbage collector roots, adding"
  16602. msgstr ""
  16603. #. type: table
  16604. #: guix-git/doc/guix.texi:10967 guix-git/doc/guix.texi:34178
  16605. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  16606. msgstr ""
  16607. #. type: table
  16608. #: guix-git/doc/guix.texi:10973
  16609. 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."
  16610. msgstr ""
  16611. #. type: item
  16612. #: guix-git/doc/guix.texi:10974
  16613. #, no-wrap
  16614. msgid "--log-file"
  16615. msgstr ""
  16616. #. type: cindex
  16617. #: guix-git/doc/guix.texi:10975
  16618. #, no-wrap
  16619. msgid "build logs, access"
  16620. msgstr ""
  16621. #. type: table
  16622. #: guix-git/doc/guix.texi:10979
  16623. 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."
  16624. msgstr ""
  16625. #. type: table
  16626. #: guix-git/doc/guix.texi:10982
  16627. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  16628. msgstr ""
  16629. #. type: example
  16630. #: guix-git/doc/guix.texi:10988
  16631. #, no-wrap
  16632. msgid ""
  16633. "guix build --log-file $(guix build -d guile)\n"
  16634. "guix build --log-file $(guix build guile)\n"
  16635. "guix build --log-file guile\n"
  16636. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  16637. msgstr ""
  16638. #. type: table
  16639. #: guix-git/doc/guix.texi:10993
  16640. 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})."
  16641. msgstr ""
  16642. #. type: table
  16643. #: guix-git/doc/guix.texi:10996
  16644. 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:"
  16645. msgstr ""
  16646. #. type: example
  16647. #: guix-git/doc/guix.texi:11000
  16648. #, no-wrap
  16649. msgid ""
  16650. "$ guix build --log-file gdb -s aarch64-linux\n"
  16651. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  16652. msgstr ""
  16653. #. type: table
  16654. #: guix-git/doc/guix.texi:11003
  16655. msgid "You can freely access a huge library of build logs!"
  16656. msgstr ""
  16657. #. type: cindex
  16658. #: guix-git/doc/guix.texi:11008
  16659. #, no-wrap
  16660. msgid "build failures, debugging"
  16661. msgstr ""
  16662. #. type: Plain text
  16663. #: guix-git/doc/guix.texi:11014
  16664. 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."
  16665. msgstr ""
  16666. #. type: Plain text
  16667. #: guix-git/doc/guix.texi:11019
  16668. 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}})."
  16669. msgstr ""
  16670. #. type: Plain text
  16671. #: guix-git/doc/guix.texi:11025
  16672. 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:"
  16673. msgstr ""
  16674. #. type: example
  16675. #: guix-git/doc/guix.texi:11032
  16676. #, no-wrap
  16677. msgid ""
  16678. "$ guix build foo -K\n"
  16679. "@dots{} @i{build fails}\n"
  16680. "$ cd /tmp/guix-build-foo.drv-0\n"
  16681. "$ source ./environment-variables\n"
  16682. "$ cd foo-1.2\n"
  16683. msgstr ""
  16684. #. type: Plain text
  16685. #: guix-git/doc/guix.texi:11036
  16686. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  16687. msgstr ""
  16688. #. type: Plain text
  16689. #: guix-git/doc/guix.texi:11042
  16690. 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})."
  16691. msgstr ""
  16692. #. type: Plain text
  16693. #: guix-git/doc/guix.texi:11045
  16694. 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:"
  16695. msgstr ""
  16696. #. type: example
  16697. #: guix-git/doc/guix.texi:11053
  16698. #, no-wrap
  16699. msgid ""
  16700. "$ guix build -K foo\n"
  16701. "@dots{}\n"
  16702. "$ cd /tmp/guix-build-foo.drv-0\n"
  16703. "$ guix environment --no-grafts -C foo --ad-hoc strace gdb\n"
  16704. "[env]# source ./environment-variables\n"
  16705. "[env]# cd foo-1.2\n"
  16706. msgstr ""
  16707. #. type: Plain text
  16708. #: guix-git/doc/guix.texi:11062
  16709. 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)."
  16710. msgstr ""
  16711. #. type: Plain text
  16712. #: guix-git/doc/guix.texi:11065
  16713. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  16714. msgstr ""
  16715. #. type: example
  16716. #: guix-git/doc/guix.texi:11068
  16717. #, no-wrap
  16718. msgid "[env]# rm /bin/sh\n"
  16719. msgstr ""
  16720. #. type: Plain text
  16721. #: guix-git/doc/guix.texi:11072
  16722. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix environment}.)"
  16723. msgstr ""
  16724. #. type: Plain text
  16725. #: guix-git/doc/guix.texi:11075
  16726. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  16727. msgstr ""
  16728. #. type: example
  16729. #: guix-git/doc/guix.texi:11078
  16730. #, no-wrap
  16731. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  16732. msgstr ""
  16733. #. type: Plain text
  16734. #: guix-git/doc/guix.texi:11083
  16735. 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."
  16736. msgstr ""
  16737. #. type: section
  16738. #: guix-git/doc/guix.texi:11086
  16739. #, no-wrap
  16740. msgid "Invoking @command{guix edit}"
  16741. msgstr ""
  16742. #. type: command{#1}
  16743. #: guix-git/doc/guix.texi:11088
  16744. #, no-wrap
  16745. msgid "guix edit"
  16746. msgstr ""
  16747. #. type: cindex
  16748. #: guix-git/doc/guix.texi:11089
  16749. #, no-wrap
  16750. msgid "package definition, editing"
  16751. msgstr ""
  16752. #. type: Plain text
  16753. #: guix-git/doc/guix.texi:11094
  16754. 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:"
  16755. msgstr ""
  16756. #. type: example
  16757. #: guix-git/doc/guix.texi:11097
  16758. #, no-wrap
  16759. msgid "guix edit gcc@@4.9 vim\n"
  16760. msgstr ""
  16761. #. type: Plain text
  16762. #: guix-git/doc/guix.texi:11103
  16763. 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."
  16764. msgstr ""
  16765. #. type: Plain text
  16766. #: guix-git/doc/guix.texi:11109
  16767. 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."
  16768. msgstr ""
  16769. #. type: Plain text
  16770. #: guix-git/doc/guix.texi:11114
  16771. 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."
  16772. msgstr ""
  16773. #. type: section
  16774. #: guix-git/doc/guix.texi:11116
  16775. #, no-wrap
  16776. msgid "Invoking @command{guix download}"
  16777. msgstr ""
  16778. #. type: command{#1}
  16779. #: guix-git/doc/guix.texi:11118
  16780. #, no-wrap
  16781. msgid "guix download"
  16782. msgstr ""
  16783. #. type: cindex
  16784. #: guix-git/doc/guix.texi:11119
  16785. #, no-wrap
  16786. msgid "downloading package sources"
  16787. msgstr ""
  16788. #. type: Plain text
  16789. #: guix-git/doc/guix.texi:11126
  16790. 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."
  16791. msgstr ""
  16792. #. type: Plain text
  16793. #: guix-git/doc/guix.texi:11133
  16794. 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})."
  16795. msgstr ""
  16796. #. type: Plain text
  16797. #: guix-git/doc/guix.texi:11141
  16798. 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."
  16799. msgstr ""
  16800. #. type: Plain text
  16801. #: guix-git/doc/guix.texi:11146
  16802. 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."
  16803. msgstr ""
  16804. #. type: Plain text
  16805. #: guix-git/doc/guix.texi:11148 guix-git/doc/guix.texi:12825
  16806. msgid "The following options are available:"
  16807. msgstr ""
  16808. #. type: item
  16809. #: guix-git/doc/guix.texi:11150 guix-git/doc/guix.texi:11194
  16810. #, no-wrap
  16811. msgid "--hash=@var{algorithm}"
  16812. msgstr ""
  16813. #. type: itemx
  16814. #: guix-git/doc/guix.texi:11151 guix-git/doc/guix.texi:11195
  16815. #, no-wrap
  16816. msgid "-H @var{algorithm}"
  16817. msgstr ""
  16818. #. type: table
  16819. #: guix-git/doc/guix.texi:11154
  16820. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  16821. msgstr ""
  16822. #. type: item
  16823. #: guix-git/doc/guix.texi:11155 guix-git/doc/guix.texi:11204
  16824. #, no-wrap
  16825. msgid "--format=@var{fmt}"
  16826. msgstr ""
  16827. #. type: itemx
  16828. #: guix-git/doc/guix.texi:11156 guix-git/doc/guix.texi:11205
  16829. #, no-wrap
  16830. msgid "-f @var{fmt}"
  16831. msgstr ""
  16832. #. type: table
  16833. #: guix-git/doc/guix.texi:11159
  16834. 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}."
  16835. msgstr ""
  16836. #. type: item
  16837. #: guix-git/doc/guix.texi:11160
  16838. #, no-wrap
  16839. msgid "--no-check-certificate"
  16840. msgstr ""
  16841. #. type: table
  16842. #: guix-git/doc/guix.texi:11162
  16843. msgid "Do not validate the X.509 certificates of HTTPS servers."
  16844. msgstr ""
  16845. #. type: table
  16846. #: guix-git/doc/guix.texi:11166
  16847. 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."
  16848. msgstr ""
  16849. #. type: item
  16850. #: guix-git/doc/guix.texi:11167
  16851. #, no-wrap
  16852. msgid "--output=@var{file}"
  16853. msgstr ""
  16854. #. type: itemx
  16855. #: guix-git/doc/guix.texi:11168
  16856. #, no-wrap
  16857. msgid "-o @var{file}"
  16858. msgstr ""
  16859. #. type: table
  16860. #: guix-git/doc/guix.texi:11171
  16861. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  16862. msgstr ""
  16863. #. type: section
  16864. #: guix-git/doc/guix.texi:11174
  16865. #, no-wrap
  16866. msgid "Invoking @command{guix hash}"
  16867. msgstr ""
  16868. #. type: command{#1}
  16869. #: guix-git/doc/guix.texi:11176
  16870. #, no-wrap
  16871. msgid "guix hash"
  16872. msgstr ""
  16873. #. type: Plain text
  16874. #: guix-git/doc/guix.texi:11181
  16875. 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})."
  16876. msgstr ""
  16877. #. type: example
  16878. #: guix-git/doc/guix.texi:11186
  16879. #, no-wrap
  16880. msgid "guix hash @var{option} @var{file}\n"
  16881. msgstr ""
  16882. #. type: Plain text
  16883. #: guix-git/doc/guix.texi:11191
  16884. 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:"
  16885. msgstr ""
  16886. #. type: table
  16887. #: guix-git/doc/guix.texi:11198
  16888. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  16889. msgstr ""
  16890. #. type: table
  16891. #: guix-git/doc/guix.texi:11203
  16892. 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})."
  16893. msgstr ""
  16894. #. type: table
  16895. #: guix-git/doc/guix.texi:11207
  16896. msgid "Write the hash in the format specified by @var{fmt}."
  16897. msgstr ""
  16898. #. type: table
  16899. #: guix-git/doc/guix.texi:11210
  16900. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  16901. msgstr ""
  16902. #. type: table
  16903. #: guix-git/doc/guix.texi:11214
  16904. 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."
  16905. msgstr ""
  16906. #. type: table
  16907. #: guix-git/doc/guix.texi:11218
  16908. msgid "Compute the hash on @var{file} recursively."
  16909. msgstr ""
  16910. #. type: table
  16911. #: guix-git/doc/guix.texi:11227
  16912. 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})."
  16913. msgstr ""
  16914. #. type: item
  16915. #: guix-git/doc/guix.texi:11228
  16916. #, no-wrap
  16917. msgid "--exclude-vcs"
  16918. msgstr ""
  16919. #. type: itemx
  16920. #: guix-git/doc/guix.texi:11229 guix-git/doc/guix.texi:12298
  16921. #, no-wrap
  16922. msgid "-x"
  16923. msgstr ""
  16924. #. type: table
  16925. #: guix-git/doc/guix.texi:11232
  16926. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  16927. msgstr ""
  16928. #. type: vindex
  16929. #: guix-git/doc/guix.texi:11233
  16930. #, no-wrap
  16931. msgid "git-fetch"
  16932. msgstr ""
  16933. #. type: table
  16934. #: guix-git/doc/guix.texi:11237
  16935. 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}):"
  16936. msgstr ""
  16937. #. type: example
  16938. #: guix-git/doc/guix.texi:11242
  16939. #, no-wrap
  16940. msgid ""
  16941. "$ git clone http://example.org/foo.git\n"
  16942. "$ cd foo\n"
  16943. "$ guix hash -rx .\n"
  16944. msgstr ""
  16945. #. type: cindex
  16946. #: guix-git/doc/guix.texi:11246 guix-git/doc/guix.texi:11251
  16947. #, no-wrap
  16948. msgid "Invoking @command{guix import}"
  16949. msgstr ""
  16950. #. type: cindex
  16951. #: guix-git/doc/guix.texi:11248
  16952. #, no-wrap
  16953. msgid "importing packages"
  16954. msgstr ""
  16955. #. type: cindex
  16956. #: guix-git/doc/guix.texi:11249
  16957. #, no-wrap
  16958. msgid "package import"
  16959. msgstr ""
  16960. #. type: cindex
  16961. #: guix-git/doc/guix.texi:11250
  16962. #, no-wrap
  16963. msgid "package conversion"
  16964. msgstr ""
  16965. #. type: Plain text
  16966. #: guix-git/doc/guix.texi:11258
  16967. 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})."
  16968. msgstr ""
  16969. #. type: example
  16970. #: guix-git/doc/guix.texi:11263
  16971. #, no-wrap
  16972. msgid "guix import @var{importer} @var{options}@dots{}\n"
  16973. msgstr ""
  16974. #. type: Plain text
  16975. #: guix-git/doc/guix.texi:11268
  16976. 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}."
  16977. msgstr ""
  16978. #. type: Plain text
  16979. #: guix-git/doc/guix.texi:11272
  16980. 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."
  16981. msgstr ""
  16982. #. type: Plain text
  16983. #: guix-git/doc/guix.texi:11274
  16984. msgid "Currently, the available ``importers'' are:"
  16985. msgstr ""
  16986. #. type: item
  16987. #: guix-git/doc/guix.texi:11276 guix-git/doc/guix.texi:11909
  16988. #, no-wrap
  16989. msgid "gnu"
  16990. msgstr ""
  16991. #. type: table
  16992. #: guix-git/doc/guix.texi:11280
  16993. 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."
  16994. msgstr ""
  16995. #. type: table
  16996. #: guix-git/doc/guix.texi:11283
  16997. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  16998. msgstr ""
  16999. #. type: table
  17000. #: guix-git/doc/guix.texi:11286
  17001. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  17002. msgstr ""
  17003. #. type: example
  17004. #: guix-git/doc/guix.texi:11289
  17005. #, no-wrap
  17006. msgid "guix import gnu hello\n"
  17007. msgstr ""
  17008. #. type: table
  17009. #: guix-git/doc/guix.texi:11292 guix-git/doc/guix.texi:11534
  17010. #: guix-git/doc/guix.texi:11584 guix-git/doc/guix.texi:11613
  17011. msgid "Specific command-line options are:"
  17012. msgstr ""
  17013. #. type: item
  17014. #: guix-git/doc/guix.texi:11294 guix-git/doc/guix.texi:12106
  17015. #, no-wrap
  17016. msgid "--key-download=@var{policy}"
  17017. msgstr ""
  17018. #. type: table
  17019. #: guix-git/doc/guix.texi:11298
  17020. 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}}."
  17021. msgstr ""
  17022. #. type: item
  17023. #: guix-git/doc/guix.texi:11300 guix-git/doc/guix.texi:11301
  17024. #: guix-git/doc/guix.texi:11933
  17025. #, no-wrap
  17026. msgid "pypi"
  17027. msgstr ""
  17028. #. type: table
  17029. #: guix-git/doc/guix.texi:11308
  17030. 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."
  17031. msgstr ""
  17032. #. type: table
  17033. #: guix-git/doc/guix.texi:11311
  17034. msgid "The command below imports metadata for the @code{itsdangerous} Python package:"
  17035. msgstr ""
  17036. #. type: example
  17037. #: guix-git/doc/guix.texi:11314
  17038. #, no-wrap
  17039. msgid "guix import pypi itsdangerous\n"
  17040. msgstr ""
  17041. #. type: table
  17042. #: guix-git/doc/guix.texi:11322 guix-git/doc/guix.texi:11347
  17043. #: guix-git/doc/guix.texi:11379 guix-git/doc/guix.texi:11557
  17044. #: guix-git/doc/guix.texi:11598 guix-git/doc/guix.texi:11649
  17045. #: guix-git/doc/guix.texi:11674 guix-git/doc/guix.texi:11690
  17046. #: guix-git/doc/guix.texi:11738 guix-git/doc/guix.texi:11768
  17047. 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."
  17048. msgstr ""
  17049. #. type: item
  17050. #: guix-git/doc/guix.texi:11324 guix-git/doc/guix.texi:11325
  17051. #: guix-git/doc/guix.texi:11935
  17052. #, no-wrap
  17053. msgid "gem"
  17054. msgstr ""
  17055. #. type: table
  17056. #: guix-git/doc/guix.texi:11334
  17057. 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."
  17058. msgstr ""
  17059. #. type: table
  17060. #: guix-git/doc/guix.texi:11336
  17061. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  17062. msgstr ""
  17063. #. type: example
  17064. #: guix-git/doc/guix.texi:11339
  17065. #, no-wrap
  17066. msgid "guix import gem rails\n"
  17067. msgstr ""
  17068. #. type: cindex
  17069. #: guix-git/doc/guix.texi:11349 guix-git/doc/guix.texi:11350
  17070. #, no-wrap
  17071. msgid "minetest"
  17072. msgstr ""
  17073. #. type: cindex
  17074. #: guix-git/doc/guix.texi:11351
  17075. #, no-wrap
  17076. msgid "ContentDB"
  17077. msgstr ""
  17078. #. type: table
  17079. #: guix-git/doc/guix.texi:11360
  17080. 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."
  17081. msgstr ""
  17082. #. type: table
  17083. #: guix-git/doc/guix.texi:11362
  17084. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  17085. msgstr ""
  17086. #. type: example
  17087. #: guix-git/doc/guix.texi:11365
  17088. #, no-wrap
  17089. msgid "guix import minetest Jeija/mesecons\n"
  17090. msgstr ""
  17091. #. type: table
  17092. #: guix-git/doc/guix.texi:11368
  17093. msgid "The author name can also be left out:"
  17094. msgstr ""
  17095. #. type: example
  17096. #: guix-git/doc/guix.texi:11371
  17097. #, no-wrap
  17098. msgid "guix import minetest mesecons\n"
  17099. msgstr ""
  17100. #. type: item
  17101. #: guix-git/doc/guix.texi:11381 guix-git/doc/guix.texi:11931
  17102. #, no-wrap
  17103. msgid "cpan"
  17104. msgstr ""
  17105. #. type: cindex
  17106. #: guix-git/doc/guix.texi:11382
  17107. #, no-wrap
  17108. msgid "CPAN"
  17109. msgstr ""
  17110. #. type: table
  17111. #: guix-git/doc/guix.texi:11390
  17112. 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."
  17113. msgstr ""
  17114. #. type: table
  17115. #: guix-git/doc/guix.texi:11393
  17116. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  17117. msgstr ""
  17118. #. type: example
  17119. #: guix-git/doc/guix.texi:11396
  17120. #, no-wrap
  17121. msgid "guix import cpan Acme::Boolean\n"
  17122. msgstr ""
  17123. #. type: item
  17124. #: guix-git/doc/guix.texi:11398 guix-git/doc/guix.texi:11927
  17125. #, no-wrap
  17126. msgid "cran"
  17127. msgstr ""
  17128. #. type: cindex
  17129. #: guix-git/doc/guix.texi:11399
  17130. #, no-wrap
  17131. msgid "CRAN"
  17132. msgstr ""
  17133. #. type: cindex
  17134. #: guix-git/doc/guix.texi:11400
  17135. #, no-wrap
  17136. msgid "Bioconductor"
  17137. msgstr ""
  17138. #. type: table
  17139. #: guix-git/doc/guix.texi:11404
  17140. 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}."
  17141. msgstr ""
  17142. #. type: table
  17143. #: guix-git/doc/guix.texi:11406
  17144. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  17145. msgstr ""
  17146. #. type: table
  17147. #: guix-git/doc/guix.texi:11408
  17148. msgid "The command command below imports metadata for the Cairo R package:"
  17149. msgstr ""
  17150. #. type: example
  17151. #: guix-git/doc/guix.texi:11411
  17152. #, no-wrap
  17153. msgid "guix import cran Cairo\n"
  17154. msgstr ""
  17155. #. type: table
  17156. #: guix-git/doc/guix.texi:11416
  17157. 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."
  17158. msgstr ""
  17159. #. type: table
  17160. #: guix-git/doc/guix.texi:11423
  17161. 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}."
  17162. msgstr ""
  17163. #. type: table
  17164. #: guix-git/doc/guix.texi:11428
  17165. 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."
  17166. msgstr ""
  17167. #. type: table
  17168. #: guix-git/doc/guix.texi:11431
  17169. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  17170. msgstr ""
  17171. #. type: table
  17172. #: guix-git/doc/guix.texi:11433
  17173. msgid "The command below imports metadata for the GenomicRanges R package:"
  17174. msgstr ""
  17175. #. type: example
  17176. #: guix-git/doc/guix.texi:11436
  17177. #, no-wrap
  17178. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  17179. msgstr ""
  17180. #. type: table
  17181. #: guix-git/doc/guix.texi:11441
  17182. 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:"
  17183. msgstr ""
  17184. #. type: example
  17185. #: guix-git/doc/guix.texi:11444
  17186. #, no-wrap
  17187. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  17188. msgstr ""
  17189. #. type: item
  17190. #: guix-git/doc/guix.texi:11446
  17191. #, no-wrap
  17192. msgid "texlive"
  17193. msgstr ""
  17194. #. type: cindex
  17195. #: guix-git/doc/guix.texi:11447
  17196. #, no-wrap
  17197. msgid "TeX Live"
  17198. msgstr ""
  17199. #. type: cindex
  17200. #: guix-git/doc/guix.texi:11448
  17201. #, no-wrap
  17202. msgid "CTAN"
  17203. msgstr ""
  17204. #. type: table
  17205. #: guix-git/doc/guix.texi:11452
  17206. 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}."
  17207. msgstr ""
  17208. #. type: table
  17209. #: guix-git/doc/guix.texi:11457
  17210. 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."
  17211. msgstr ""
  17212. #. type: table
  17213. #: guix-git/doc/guix.texi:11460
  17214. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  17215. msgstr ""
  17216. #. type: example
  17217. #: guix-git/doc/guix.texi:11463
  17218. #, no-wrap
  17219. msgid "guix import texlive fontspec\n"
  17220. msgstr ""
  17221. #. type: table
  17222. #: guix-git/doc/guix.texi:11469
  17223. 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."
  17224. msgstr ""
  17225. #. type: table
  17226. #: guix-git/doc/guix.texi:11473
  17227. msgid "The command below imports metadata for the @code{ifxetex} package from CTAN while fetching the sources from the directory @file{texmf/source/generic}:"
  17228. msgstr ""
  17229. #. type: example
  17230. #: guix-git/doc/guix.texi:11476
  17231. #, no-wrap
  17232. msgid "guix import texlive --archive=generic ifxetex\n"
  17233. msgstr ""
  17234. #. type: cindex
  17235. #: guix-git/doc/guix.texi:11479
  17236. #, no-wrap
  17237. msgid "JSON, import"
  17238. msgstr ""
  17239. #. type: table
  17240. #: guix-git/doc/guix.texi:11482
  17241. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  17242. msgstr ""
  17243. #. type: example
  17244. #: guix-git/doc/guix.texi:11495
  17245. #, no-wrap
  17246. msgid ""
  17247. "@{\n"
  17248. " \"name\": \"hello\",\n"
  17249. " \"version\": \"2.10\",\n"
  17250. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17251. " \"build-system\": \"gnu\",\n"
  17252. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  17253. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  17254. " \"description\": \"GNU Hello prints a greeting.\",\n"
  17255. " \"license\": \"GPL-3.0+\",\n"
  17256. " \"native-inputs\": [\"gettext\"]\n"
  17257. "@}\n"
  17258. msgstr ""
  17259. #. type: table
  17260. #: guix-git/doc/guix.texi:11501
  17261. 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}."
  17262. msgstr ""
  17263. #. type: table
  17264. #: guix-git/doc/guix.texi:11504
  17265. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  17266. msgstr ""
  17267. #. type: example
  17268. #: guix-git/doc/guix.texi:11517
  17269. #, no-wrap
  17270. msgid ""
  17271. "@{\n"
  17272. " @dots{}\n"
  17273. " \"source\": @{\n"
  17274. " \"method\": \"url-fetch\",\n"
  17275. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17276. " \"sha256\": @{\n"
  17277. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  17278. " @}\n"
  17279. " @}\n"
  17280. " @dots{}\n"
  17281. "@}\n"
  17282. msgstr ""
  17283. #. type: table
  17284. #: guix-git/doc/guix.texi:11521
  17285. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  17286. msgstr ""
  17287. #. type: example
  17288. #: guix-git/doc/guix.texi:11524
  17289. #, no-wrap
  17290. msgid "guix import json hello.json\n"
  17291. msgstr ""
  17292. #. type: item
  17293. #: guix-git/doc/guix.texi:11526 guix-git/doc/guix.texi:11527
  17294. #: guix-git/doc/guix.texi:11939
  17295. #, no-wrap
  17296. msgid "hackage"
  17297. msgstr ""
  17298. #. type: table
  17299. #: guix-git/doc/guix.texi:11532
  17300. 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."
  17301. msgstr ""
  17302. #. type: item
  17303. #: guix-git/doc/guix.texi:11536
  17304. #, no-wrap
  17305. msgid "--stdin"
  17306. msgstr ""
  17307. #. type: itemx
  17308. #: guix-git/doc/guix.texi:11537
  17309. #, no-wrap
  17310. msgid "-s"
  17311. msgstr ""
  17312. #. type: table
  17313. #: guix-git/doc/guix.texi:11539
  17314. msgid "Read a Cabal file from standard input."
  17315. msgstr ""
  17316. #. type: item
  17317. #: guix-git/doc/guix.texi:11539 guix-git/doc/guix.texi:11586
  17318. #, no-wrap
  17319. msgid "--no-test-dependencies"
  17320. msgstr ""
  17321. #. type: table
  17322. #: guix-git/doc/guix.texi:11542 guix-git/doc/guix.texi:11589
  17323. msgid "Do not include dependencies required only by the test suites."
  17324. msgstr ""
  17325. #. type: item
  17326. #: guix-git/doc/guix.texi:11542
  17327. #, no-wrap
  17328. msgid "--cabal-environment=@var{alist}"
  17329. msgstr ""
  17330. #. type: itemx
  17331. #: guix-git/doc/guix.texi:11543
  17332. #, no-wrap
  17333. msgid "-e @var{alist}"
  17334. msgstr ""
  17335. #. type: table
  17336. #: guix-git/doc/guix.texi:11552
  17337. 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."
  17338. msgstr ""
  17339. #. type: table
  17340. #: guix-git/doc/guix.texi:11562
  17341. 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}:"
  17342. msgstr ""
  17343. #. type: example
  17344. #: guix-git/doc/guix.texi:11565
  17345. #, no-wrap
  17346. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  17347. msgstr ""
  17348. #. type: table
  17349. #: guix-git/doc/guix.texi:11569
  17350. 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:"
  17351. msgstr ""
  17352. #. type: example
  17353. #: guix-git/doc/guix.texi:11572
  17354. #, no-wrap
  17355. msgid "guix import hackage mtl@@2.1.3.1\n"
  17356. msgstr ""
  17357. #. type: item
  17358. #: guix-git/doc/guix.texi:11574 guix-git/doc/guix.texi:11575
  17359. #: guix-git/doc/guix.texi:11941
  17360. #, no-wrap
  17361. msgid "stackage"
  17362. msgstr ""
  17363. #. type: table
  17364. #: guix-git/doc/guix.texi:11582
  17365. 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."
  17366. msgstr ""
  17367. #. type: item
  17368. #: guix-git/doc/guix.texi:11589
  17369. #, no-wrap
  17370. msgid "--lts-version=@var{version}"
  17371. msgstr ""
  17372. #. type: itemx
  17373. #: guix-git/doc/guix.texi:11590
  17374. #, no-wrap
  17375. msgid "-l @var{version}"
  17376. msgstr ""
  17377. #. type: table
  17378. #: guix-git/doc/guix.texi:11593
  17379. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  17380. msgstr ""
  17381. #. type: table
  17382. #: guix-git/doc/guix.texi:11602
  17383. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  17384. msgstr ""
  17385. #. type: example
  17386. #: guix-git/doc/guix.texi:11605
  17387. #, no-wrap
  17388. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  17389. msgstr ""
  17390. #. type: item
  17391. #: guix-git/doc/guix.texi:11607 guix-git/doc/guix.texi:11608
  17392. #: guix-git/doc/guix.texi:11925
  17393. #, no-wrap
  17394. msgid "elpa"
  17395. msgstr ""
  17396. #. type: table
  17397. #: guix-git/doc/guix.texi:11611
  17398. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  17399. msgstr ""
  17400. #. type: item
  17401. #: guix-git/doc/guix.texi:11615
  17402. #, no-wrap
  17403. msgid "--archive=@var{repo}"
  17404. msgstr ""
  17405. #. type: itemx
  17406. #: guix-git/doc/guix.texi:11616
  17407. #, no-wrap
  17408. msgid "-a @var{repo}"
  17409. msgstr ""
  17410. #. type: table
  17411. #: guix-git/doc/guix.texi:11620
  17412. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  17413. msgstr ""
  17414. #. type: itemize
  17415. #: guix-git/doc/guix.texi:11624
  17416. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  17417. msgstr ""
  17418. #. type: itemize
  17419. #: guix-git/doc/guix.texi:11630
  17420. 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})."
  17421. msgstr ""
  17422. #. type: itemize
  17423. #: guix-git/doc/guix.texi:11634
  17424. msgid "@uref{https://elpa.nongnu.org/nongnu/, NonGNU}, selected by the @code{nongnu} identifier."
  17425. msgstr ""
  17426. #. type: itemize
  17427. #: guix-git/doc/guix.texi:11638
  17428. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  17429. msgstr ""
  17430. #. type: itemize
  17431. #: guix-git/doc/guix.texi:11642
  17432. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  17433. msgstr ""
  17434. #. type: item
  17435. #: guix-git/doc/guix.texi:11651 guix-git/doc/guix.texi:11652
  17436. #: guix-git/doc/guix.texi:11943
  17437. #, no-wrap
  17438. msgid "crate"
  17439. msgstr ""
  17440. #. type: table
  17441. #: guix-git/doc/guix.texi:11655
  17442. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  17443. msgstr ""
  17444. #. type: example
  17445. #: guix-git/doc/guix.texi:11658
  17446. #, no-wrap
  17447. msgid "guix import crate blake2-rfc\n"
  17448. msgstr ""
  17449. #. type: table
  17450. #: guix-git/doc/guix.texi:11661
  17451. msgid "The crate importer also allows you to specify a version string:"
  17452. msgstr ""
  17453. #. type: example
  17454. #: guix-git/doc/guix.texi:11664
  17455. #, no-wrap
  17456. msgid "guix import crate constant-time-eq@@0.1.0\n"
  17457. msgstr ""
  17458. #. type: table
  17459. #: guix-git/doc/guix.texi:11667 guix-git/doc/guix.texi:11683
  17460. #: guix-git/doc/guix.texi:11731 guix-git/doc/guix.texi:11762
  17461. msgid "Additional options include:"
  17462. msgstr ""
  17463. #. type: item
  17464. #: guix-git/doc/guix.texi:11676
  17465. #, no-wrap
  17466. msgid "opam"
  17467. msgstr ""
  17468. #. type: cindex
  17469. #: guix-git/doc/guix.texi:11677
  17470. #, no-wrap
  17471. msgid "OPAM"
  17472. msgstr ""
  17473. #. type: cindex
  17474. #: guix-git/doc/guix.texi:11678
  17475. #, no-wrap
  17476. msgid "OCaml"
  17477. msgstr ""
  17478. #. type: table
  17479. #: guix-git/doc/guix.texi:11681
  17480. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  17481. msgstr ""
  17482. #. type: item
  17483. #: guix-git/doc/guix.texi:11690
  17484. #, no-wrap
  17485. msgid "--repo"
  17486. msgstr ""
  17487. #. type: table
  17488. #: guix-git/doc/guix.texi:11694
  17489. 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:"
  17490. msgstr ""
  17491. #. type: item
  17492. #: guix-git/doc/guix.texi:11696
  17493. #, no-wrap
  17494. msgid "the name of a known repository - can be one of @code{opam},"
  17495. msgstr ""
  17496. #. type: itemize
  17497. #: guix-git/doc/guix.texi:11699
  17498. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  17499. msgstr ""
  17500. #. type: item
  17501. #: guix-git/doc/guix.texi:11699
  17502. #, no-wrap
  17503. msgid "the URL of a repository as expected by the"
  17504. msgstr ""
  17505. #. type: itemize
  17506. #: guix-git/doc/guix.texi:11703
  17507. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  17508. msgstr ""
  17509. #. type: item
  17510. #: guix-git/doc/guix.texi:11703
  17511. #, no-wrap
  17512. msgid "the path to a local copy of a repository (a directory containing a"
  17513. msgstr ""
  17514. #. type: itemize
  17515. #: guix-git/doc/guix.texi:11705
  17516. msgid "@file{packages/} sub-directory)."
  17517. msgstr ""
  17518. #. type: table
  17519. #: guix-git/doc/guix.texi:11710
  17520. 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."
  17521. msgstr ""
  17522. #. type: table
  17523. #: guix-git/doc/guix.texi:11715
  17524. 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}."
  17525. msgstr ""
  17526. #. type: cindex
  17527. #: guix-git/doc/guix.texi:11718 guix-git/doc/guix.texi:11719
  17528. #, no-wrap
  17529. msgid "go"
  17530. msgstr ""
  17531. #. type: table
  17532. #: guix-git/doc/guix.texi:11722
  17533. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  17534. msgstr ""
  17535. #. type: example
  17536. #: guix-git/doc/guix.texi:11725
  17537. #, no-wrap
  17538. msgid "guix import go gopkg.in/yaml.v2\n"
  17539. msgstr ""
  17540. #. type: table
  17541. #: guix-git/doc/guix.texi:11729
  17542. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  17543. msgstr ""
  17544. #. type: item
  17545. #: guix-git/doc/guix.texi:11738
  17546. #, no-wrap
  17547. msgid "--pin-versions"
  17548. msgstr ""
  17549. #. type: table
  17550. #: guix-git/doc/guix.texi:11746
  17551. 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."
  17552. msgstr ""
  17553. #. type: item
  17554. #: guix-git/doc/guix.texi:11748 guix-git/doc/guix.texi:11749
  17555. #: guix-git/doc/guix.texi:11923
  17556. #, no-wrap
  17557. msgid "egg"
  17558. msgstr ""
  17559. #. type: table
  17560. #: guix-git/doc/guix.texi:11756
  17561. 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)."
  17562. msgstr ""
  17563. #. type: example
  17564. #: guix-git/doc/guix.texi:11759
  17565. #, no-wrap
  17566. msgid "guix import egg sourcehut\n"
  17567. msgstr ""
  17568. #. type: Plain text
  17569. #: guix-git/doc/guix.texi:11774
  17570. 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})."
  17571. msgstr ""
  17572. #. type: section
  17573. #: guix-git/doc/guix.texi:11776
  17574. #, no-wrap
  17575. msgid "Invoking @command{guix refresh}"
  17576. msgstr ""
  17577. #. type: command{#1}
  17578. #: guix-git/doc/guix.texi:11778
  17579. #, no-wrap
  17580. msgid "guix refresh"
  17581. msgstr ""
  17582. #. type: Plain text
  17583. #: guix-git/doc/guix.texi:11786
  17584. 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:"
  17585. msgstr ""
  17586. #. type: example
  17587. #: guix-git/doc/guix.texi:11791
  17588. #, no-wrap
  17589. msgid ""
  17590. "$ guix refresh\n"
  17591. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  17592. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  17593. msgstr ""
  17594. #. type: Plain text
  17595. #: guix-git/doc/guix.texi:11795
  17596. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  17597. msgstr ""
  17598. #. type: example
  17599. #: guix-git/doc/guix.texi:11800
  17600. #, no-wrap
  17601. msgid ""
  17602. "$ guix refresh coreutils guile guile-ssh\n"
  17603. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  17604. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  17605. msgstr ""
  17606. #. type: Plain text
  17607. #: guix-git/doc/guix.texi:11809
  17608. 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!"
  17609. msgstr ""
  17610. #. type: table
  17611. #: guix-git/doc/guix.texi:11814
  17612. msgid "Consider the packages specified, and all the packages upon which they depend."
  17613. msgstr ""
  17614. #. type: example
  17615. #: guix-git/doc/guix.texi:11822
  17616. #, no-wrap
  17617. msgid ""
  17618. "$ guix refresh --recursive coreutils\n"
  17619. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  17620. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  17621. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  17622. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  17623. "@dots{}\n"
  17624. msgstr ""
  17625. #. type: Plain text
  17626. #: guix-git/doc/guix.texi:11830
  17627. 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:"
  17628. msgstr ""
  17629. #. type: lisp
  17630. #: guix-git/doc/guix.texi:11837
  17631. #, no-wrap
  17632. msgid ""
  17633. "(define-public network-manager\n"
  17634. " (package\n"
  17635. " (name \"network-manager\")\n"
  17636. " ;; @dots{}\n"
  17637. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  17638. msgstr ""
  17639. #. type: Plain text
  17640. #: guix-git/doc/guix.texi:11846
  17641. 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."
  17642. msgstr ""
  17643. #. type: Plain text
  17644. #: guix-git/doc/guix.texi:11852
  17645. 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."
  17646. msgstr ""
  17647. #. type: Plain text
  17648. #: guix-git/doc/guix.texi:11854
  17649. msgid "The following options are supported:"
  17650. msgstr ""
  17651. #. type: table
  17652. #: guix-git/doc/guix.texi:11862 guix-git/doc/guix.texi:12707
  17653. msgid "This is useful to precisely refer to a package, as in this example:"
  17654. msgstr ""
  17655. #. type: example
  17656. #: guix-git/doc/guix.texi:11865
  17657. #, no-wrap
  17658. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  17659. msgstr ""
  17660. #. type: table
  17661. #: guix-git/doc/guix.texi:11869
  17662. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  17663. msgstr ""
  17664. #. type: item
  17665. #: guix-git/doc/guix.texi:11870
  17666. #, no-wrap
  17667. msgid "--update"
  17668. msgstr ""
  17669. #. type: itemx
  17670. #: guix-git/doc/guix.texi:11871
  17671. #, no-wrap
  17672. msgid "-u"
  17673. msgstr ""
  17674. #. type: table
  17675. #: guix-git/doc/guix.texi:11875
  17676. 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}):"
  17677. msgstr ""
  17678. #. type: example
  17679. #: guix-git/doc/guix.texi:11878
  17680. #, no-wrap
  17681. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  17682. msgstr ""
  17683. #. type: table
  17684. #: guix-git/doc/guix.texi:11881
  17685. msgid "@xref{Defining Packages}, for more information on package definitions."
  17686. msgstr ""
  17687. #. type: item
  17688. #: guix-git/doc/guix.texi:11882
  17689. #, no-wrap
  17690. msgid "--select=[@var{subset}]"
  17691. msgstr ""
  17692. #. type: itemx
  17693. #: guix-git/doc/guix.texi:11883
  17694. #, no-wrap
  17695. msgid "-s @var{subset}"
  17696. msgstr ""
  17697. #. type: table
  17698. #: guix-git/doc/guix.texi:11886
  17699. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  17700. msgstr ""
  17701. #. type: table
  17702. #: guix-git/doc/guix.texi:11893
  17703. 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."
  17704. msgstr ""
  17705. #. type: table
  17706. #: guix-git/doc/guix.texi:11897
  17707. 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."
  17708. msgstr ""
  17709. #. type: table
  17710. #: guix-git/doc/guix.texi:11902
  17711. 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."
  17712. msgstr ""
  17713. #. type: item
  17714. #: guix-git/doc/guix.texi:11903
  17715. #, no-wrap
  17716. msgid "--type=@var{updater}"
  17717. msgstr ""
  17718. #. type: itemx
  17719. #: guix-git/doc/guix.texi:11904
  17720. #, no-wrap
  17721. msgid "-t @var{updater}"
  17722. msgstr ""
  17723. #. type: table
  17724. #: guix-git/doc/guix.texi:11907
  17725. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  17726. msgstr ""
  17727. #. type: table
  17728. #: guix-git/doc/guix.texi:11911
  17729. msgid "the updater for GNU packages;"
  17730. msgstr ""
  17731. #. type: item
  17732. #: guix-git/doc/guix.texi:11911
  17733. #, no-wrap
  17734. msgid "savannah"
  17735. msgstr ""
  17736. #. type: table
  17737. #: guix-git/doc/guix.texi:11913
  17738. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  17739. msgstr ""
  17740. #. type: item
  17741. #: guix-git/doc/guix.texi:11913
  17742. #, no-wrap
  17743. msgid "sourceforge"
  17744. msgstr ""
  17745. #. type: table
  17746. #: guix-git/doc/guix.texi:11915
  17747. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  17748. msgstr ""
  17749. #. type: item
  17750. #: guix-git/doc/guix.texi:11915
  17751. #, no-wrap
  17752. msgid "gnome"
  17753. msgstr ""
  17754. #. type: table
  17755. #: guix-git/doc/guix.texi:11917
  17756. msgid "the updater for GNOME packages;"
  17757. msgstr ""
  17758. #. type: item
  17759. #: guix-git/doc/guix.texi:11917
  17760. #, no-wrap
  17761. msgid "kde"
  17762. msgstr ""
  17763. #. type: table
  17764. #: guix-git/doc/guix.texi:11919
  17765. msgid "the updater for KDE packages;"
  17766. msgstr ""
  17767. #. type: item
  17768. #: guix-git/doc/guix.texi:11919
  17769. #, no-wrap
  17770. msgid "xorg"
  17771. msgstr ""
  17772. #. type: table
  17773. #: guix-git/doc/guix.texi:11921
  17774. msgid "the updater for X.org packages;"
  17775. msgstr ""
  17776. #. type: item
  17777. #: guix-git/doc/guix.texi:11921
  17778. #, no-wrap
  17779. msgid "kernel.org"
  17780. msgstr ""
  17781. #. type: table
  17782. #: guix-git/doc/guix.texi:11923
  17783. msgid "the updater for packages hosted on kernel.org;"
  17784. msgstr ""
  17785. #. type: table
  17786. #: guix-git/doc/guix.texi:11925
  17787. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  17788. msgstr ""
  17789. #. type: table
  17790. #: guix-git/doc/guix.texi:11927
  17791. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  17792. msgstr ""
  17793. #. type: table
  17794. #: guix-git/doc/guix.texi:11929
  17795. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  17796. msgstr ""
  17797. #. type: item
  17798. #: guix-git/doc/guix.texi:11929
  17799. #, no-wrap
  17800. msgid "bioconductor"
  17801. msgstr ""
  17802. #. type: table
  17803. #: guix-git/doc/guix.texi:11931
  17804. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  17805. msgstr ""
  17806. #. type: table
  17807. #: guix-git/doc/guix.texi:11933
  17808. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  17809. msgstr ""
  17810. #. type: table
  17811. #: guix-git/doc/guix.texi:11935
  17812. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  17813. msgstr ""
  17814. #. type: table
  17815. #: guix-git/doc/guix.texi:11937
  17816. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  17817. msgstr ""
  17818. #. type: item
  17819. #: guix-git/doc/guix.texi:11937
  17820. #, no-wrap
  17821. msgid "github"
  17822. msgstr ""
  17823. #. type: table
  17824. #: guix-git/doc/guix.texi:11939
  17825. msgid "the updater for @uref{https://github.com, GitHub} packages."
  17826. msgstr ""
  17827. #. type: table
  17828. #: guix-git/doc/guix.texi:11941
  17829. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  17830. msgstr ""
  17831. #. type: table
  17832. #: guix-git/doc/guix.texi:11943
  17833. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  17834. msgstr ""
  17835. #. type: table
  17836. #: guix-git/doc/guix.texi:11945
  17837. msgid "the updater for @uref{https://crates.io, Crates} packages."
  17838. msgstr ""
  17839. #. type: item
  17840. #: guix-git/doc/guix.texi:11945
  17841. #, no-wrap
  17842. msgid "launchpad"
  17843. msgstr ""
  17844. #. type: table
  17845. #: guix-git/doc/guix.texi:11947
  17846. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  17847. msgstr ""
  17848. #. type: item
  17849. #: guix-git/doc/guix.texi:11947
  17850. #, no-wrap
  17851. msgid "generic-html"
  17852. msgstr ""
  17853. #. type: table
  17854. #: guix-git/doc/guix.texi:11950
  17855. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  17856. msgstr ""
  17857. #. type: item
  17858. #: guix-git/doc/guix.texi:11951
  17859. #, no-wrap
  17860. msgid "generic-git"
  17861. msgstr ""
  17862. #. type: table
  17863. #: guix-git/doc/guix.texi:11956
  17864. 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."
  17865. msgstr ""
  17866. #. type: item
  17867. #: guix-git/doc/guix.texi:11958
  17868. #, no-wrap
  17869. msgid "@code{release-tag-prefix}: a regular expression for matching a prefix of"
  17870. msgstr ""
  17871. #. type: itemize
  17872. #: guix-git/doc/guix.texi:11960 guix-git/doc/guix.texi:11963
  17873. msgid "the tag name."
  17874. msgstr ""
  17875. #. type: item
  17876. #: guix-git/doc/guix.texi:11961
  17877. #, no-wrap
  17878. msgid "@code{release-tag-suffix}: a regular expression for matching a suffix of"
  17879. msgstr ""
  17880. #. type: item
  17881. #: guix-git/doc/guix.texi:11964
  17882. #, no-wrap
  17883. msgid "@code{release-tag-version-delimiter}: a string used as the delimiter in"
  17884. msgstr ""
  17885. #. type: itemize
  17886. #: guix-git/doc/guix.texi:11966
  17887. msgid "the tag name for separating the numbers of the version."
  17888. msgstr ""
  17889. #. type: item
  17890. #: guix-git/doc/guix.texi:11967
  17891. #, no-wrap
  17892. msgid "@code{accept-pre-releases}: by default, the updater will ignore"
  17893. msgstr ""
  17894. #. type: itemize
  17895. #: guix-git/doc/guix.texi:11970
  17896. msgid "pre-releases; to make it also look for pre-releases, set the this property to @code{#t}."
  17897. msgstr ""
  17898. #. type: lisp
  17899. #: guix-git/doc/guix.texi:11981
  17900. #, no-wrap
  17901. msgid ""
  17902. "(package\n"
  17903. " (name \"foo\")\n"
  17904. " ;; ...\n"
  17905. " (properties\n"
  17906. " '((release-tag-prefix . \"^release0-\")\n"
  17907. " (release-tag-suffix . \"[a-z]?$\")\n"
  17908. " (release-tag-version-delimiter . \":\"))))\n"
  17909. msgstr ""
  17910. #. type: table
  17911. #: guix-git/doc/guix.texi:11988
  17912. 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:"
  17913. msgstr ""
  17914. #. type: example
  17915. #: guix-git/doc/guix.texi:11993
  17916. #, no-wrap
  17917. msgid ""
  17918. "$ guix refresh --type=elpa,cran\n"
  17919. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  17920. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  17921. msgstr ""
  17922. #. type: item
  17923. #: guix-git/doc/guix.texi:11995
  17924. #, no-wrap
  17925. msgid "--list-updaters"
  17926. msgstr ""
  17927. #. type: itemx
  17928. #: guix-git/doc/guix.texi:11996
  17929. #, no-wrap
  17930. msgid "-L"
  17931. msgstr ""
  17932. #. type: table
  17933. #: guix-git/doc/guix.texi:11998
  17934. msgid "List available updaters and exit (see @option{--type} above)."
  17935. msgstr ""
  17936. #. type: table
  17937. #: guix-git/doc/guix.texi:12001
  17938. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  17939. msgstr ""
  17940. #. type: Plain text
  17941. #: guix-git/doc/guix.texi:12005
  17942. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  17943. msgstr ""
  17944. #. type: example
  17945. #: guix-git/doc/guix.texi:12008
  17946. #, no-wrap
  17947. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  17948. msgstr ""
  17949. #. type: Plain text
  17950. #: guix-git/doc/guix.texi:12015
  17951. 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:"
  17952. msgstr ""
  17953. #. type: example
  17954. #: guix-git/doc/guix.texi:12019
  17955. #, no-wrap
  17956. msgid ""
  17957. "$ ./pre-inst-env guix refresh -u \\\n"
  17958. " $(guix package --list-installed | cut -f1)\n"
  17959. msgstr ""
  17960. #. type: Plain text
  17961. #: guix-git/doc/guix.texi:12025
  17962. 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:"
  17963. msgstr ""
  17964. #. type: item
  17965. #: guix-git/doc/guix.texi:12028
  17966. #, no-wrap
  17967. msgid "--list-dependent"
  17968. msgstr ""
  17969. #. type: itemx
  17970. #: guix-git/doc/guix.texi:12029 guix-git/doc/guix.texi:12288
  17971. #, no-wrap
  17972. msgid "-l"
  17973. msgstr ""
  17974. #. type: table
  17975. #: guix-git/doc/guix.texi:12032
  17976. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  17977. msgstr ""
  17978. #. type: table
  17979. #: guix-git/doc/guix.texi:12036
  17980. 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."
  17981. msgstr ""
  17982. #. type: Plain text
  17983. #: guix-git/doc/guix.texi:12042
  17984. 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."
  17985. msgstr ""
  17986. #. type: example
  17987. #: guix-git/doc/guix.texi:12047
  17988. #, no-wrap
  17989. msgid ""
  17990. "$ guix refresh --list-dependent flex\n"
  17991. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  17992. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  17993. msgstr ""
  17994. #. type: Plain text
  17995. #: guix-git/doc/guix.texi:12051
  17996. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  17997. msgstr ""
  17998. #. type: item
  17999. #: guix-git/doc/guix.texi:12054
  18000. #, no-wrap
  18001. msgid "--list-transitive"
  18002. msgstr ""
  18003. #. type: table
  18004. #: guix-git/doc/guix.texi:12056
  18005. msgid "List all the packages which one or more packages depend upon."
  18006. msgstr ""
  18007. #. type: example
  18008. #: guix-git/doc/guix.texi:12061
  18009. #, no-wrap
  18010. msgid ""
  18011. "$ guix refresh --list-transitive flex\n"
  18012. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  18013. "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"
  18014. msgstr ""
  18015. #. type: Plain text
  18016. #: guix-git/doc/guix.texi:12067
  18017. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  18018. msgstr ""
  18019. #. type: Plain text
  18020. #: guix-git/doc/guix.texi:12069
  18021. msgid "The following options can be used to customize GnuPG operation:"
  18022. msgstr ""
  18023. #. type: item
  18024. #: guix-git/doc/guix.texi:12072
  18025. #, no-wrap
  18026. msgid "--gpg=@var{command}"
  18027. msgstr ""
  18028. #. type: table
  18029. #: guix-git/doc/guix.texi:12075
  18030. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  18031. msgstr ""
  18032. #. type: item
  18033. #: guix-git/doc/guix.texi:12076
  18034. #, no-wrap
  18035. msgid "--keyring=@var{file}"
  18036. msgstr ""
  18037. #. type: table
  18038. #: guix-git/doc/guix.texi:12082
  18039. 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)."
  18040. msgstr ""
  18041. #. type: table
  18042. #: guix-git/doc/guix.texi:12088
  18043. 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)."
  18044. msgstr ""
  18045. #. type: table
  18046. #: guix-git/doc/guix.texi:12091
  18047. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  18048. msgstr ""
  18049. #. type: example
  18050. #: guix-git/doc/guix.texi:12094
  18051. #, no-wrap
  18052. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  18053. msgstr ""
  18054. #. type: table
  18055. #: guix-git/doc/guix.texi:12097
  18056. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  18057. msgstr ""
  18058. #. type: example
  18059. #: guix-git/doc/guix.texi:12101
  18060. #, no-wrap
  18061. msgid ""
  18062. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  18063. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  18064. msgstr ""
  18065. #. type: table
  18066. #: guix-git/doc/guix.texi:12105
  18067. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  18068. msgstr ""
  18069. #. type: table
  18070. #: guix-git/doc/guix.texi:12109
  18071. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  18072. msgstr ""
  18073. #. type: item
  18074. #: guix-git/doc/guix.texi:12111 guix-git/doc/guix.texi:21198
  18075. #, no-wrap
  18076. msgid "always"
  18077. msgstr ""
  18078. #. type: table
  18079. #: guix-git/doc/guix.texi:12114
  18080. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  18081. msgstr ""
  18082. #. type: item
  18083. #: guix-git/doc/guix.texi:12115 guix-git/doc/guix.texi:21200
  18084. #, no-wrap
  18085. msgid "never"
  18086. msgstr ""
  18087. #. type: table
  18088. #: guix-git/doc/guix.texi:12117
  18089. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  18090. msgstr ""
  18091. #. type: item
  18092. #: guix-git/doc/guix.texi:12118
  18093. #, no-wrap
  18094. msgid "interactive"
  18095. msgstr ""
  18096. #. type: table
  18097. #: guix-git/doc/guix.texi:12121
  18098. 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."
  18099. msgstr ""
  18100. #. type: item
  18101. #: guix-git/doc/guix.texi:12123
  18102. #, no-wrap
  18103. msgid "--key-server=@var{host}"
  18104. msgstr ""
  18105. #. type: table
  18106. #: guix-git/doc/guix.texi:12125
  18107. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  18108. msgstr ""
  18109. #. type: Plain text
  18110. #: guix-git/doc/guix.texi:12145
  18111. 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."
  18112. msgstr ""
  18113. #. type: section
  18114. #: guix-git/doc/guix.texi:12148
  18115. #, no-wrap
  18116. msgid "Invoking @command{guix lint}"
  18117. msgstr ""
  18118. #. type: command{#1}
  18119. #: guix-git/doc/guix.texi:12150
  18120. #, no-wrap
  18121. msgid "guix lint"
  18122. msgstr ""
  18123. #. type: cindex
  18124. #: guix-git/doc/guix.texi:12151
  18125. #, no-wrap
  18126. msgid "package, checking for errors"
  18127. msgstr ""
  18128. #. type: Plain text
  18129. #: guix-git/doc/guix.texi:12157
  18130. 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):"
  18131. msgstr ""
  18132. #. type: table
  18133. #: guix-git/doc/guix.texi:12163
  18134. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  18135. msgstr ""
  18136. #. type: item
  18137. #: guix-git/doc/guix.texi:12164
  18138. #, no-wrap
  18139. msgid "inputs-should-be-native"
  18140. msgstr ""
  18141. #. type: table
  18142. #: guix-git/doc/guix.texi:12166
  18143. msgid "Identify inputs that should most likely be native inputs."
  18144. msgstr ""
  18145. #. type: itemx
  18146. #: guix-git/doc/guix.texi:12169
  18147. #, no-wrap
  18148. msgid "mirror-url"
  18149. msgstr ""
  18150. #. type: itemx
  18151. #: guix-git/doc/guix.texi:12170
  18152. #, no-wrap
  18153. msgid "github-url"
  18154. msgstr ""
  18155. #. type: itemx
  18156. #: guix-git/doc/guix.texi:12171
  18157. #, no-wrap
  18158. msgid "source-file-name"
  18159. msgstr ""
  18160. #. type: table
  18161. #: guix-git/doc/guix.texi:12178
  18162. 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})."
  18163. msgstr ""
  18164. #. type: item
  18165. #: guix-git/doc/guix.texi:12179
  18166. #, no-wrap
  18167. msgid "source-unstable-tarball"
  18168. msgstr ""
  18169. #. type: table
  18170. #: guix-git/doc/guix.texi:12183
  18171. 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."
  18172. msgstr ""
  18173. #. type: table
  18174. #: guix-git/doc/guix.texi:12187
  18175. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  18176. msgstr ""
  18177. #. type: item
  18178. #: guix-git/doc/guix.texi:12188
  18179. #, no-wrap
  18180. msgid "profile-collisions"
  18181. msgstr ""
  18182. #. type: table
  18183. #: guix-git/doc/guix.texi:12194
  18184. 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."
  18185. msgstr ""
  18186. #. type: item
  18187. #: guix-git/doc/guix.texi:12195
  18188. #, no-wrap
  18189. msgid "archival"
  18190. msgstr ""
  18191. #. type: cindex
  18192. #: guix-git/doc/guix.texi:12196
  18193. #, no-wrap
  18194. msgid "Software Heritage, source code archive"
  18195. msgstr ""
  18196. #. type: cindex
  18197. #: guix-git/doc/guix.texi:12197
  18198. #, no-wrap
  18199. msgid "archival of source code, Software Heritage"
  18200. msgstr ""
  18201. #. type: table
  18202. #: guix-git/doc/guix.texi:12200
  18203. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  18204. msgstr ""
  18205. #. type: table
  18206. #: guix-git/doc/guix.texi:12208
  18207. 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}."
  18208. msgstr ""
  18209. #. type: table
  18210. #: guix-git/doc/guix.texi:12213
  18211. 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."
  18212. msgstr ""
  18213. #. type: table
  18214. #: guix-git/doc/guix.texi:12219
  18215. 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."
  18216. msgstr ""
  18217. #. type: item
  18218. #: guix-git/doc/guix.texi:12220
  18219. #, no-wrap
  18220. msgid "cve"
  18221. msgstr ""
  18222. #. type: cindex
  18223. #: guix-git/doc/guix.texi:12221 guix-git/doc/guix.texi:36317
  18224. #, no-wrap
  18225. msgid "security vulnerabilities"
  18226. msgstr ""
  18227. #. type: cindex
  18228. #: guix-git/doc/guix.texi:12222
  18229. #, no-wrap
  18230. msgid "CVE, Common Vulnerabilities and Exposures"
  18231. msgstr ""
  18232. #. type: table
  18233. #: guix-git/doc/guix.texi:12227
  18234. 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}."
  18235. msgstr ""
  18236. #. type: table
  18237. #: guix-git/doc/guix.texi:12229
  18238. msgid "To view information about a particular vulnerability, visit pages such as:"
  18239. msgstr ""
  18240. #. type: indicateurl{#1}
  18241. #: guix-git/doc/guix.texi:12233
  18242. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  18243. msgstr ""
  18244. #. type: indicateurl{#1}
  18245. #: guix-git/doc/guix.texi:12235
  18246. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  18247. msgstr ""
  18248. #. type: table
  18249. #: guix-git/doc/guix.texi:12240
  18250. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  18251. msgstr ""
  18252. #. type: table
  18253. #: guix-git/doc/guix.texi:12245
  18254. 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:"
  18255. msgstr ""
  18256. #. type: lisp
  18257. #: guix-git/doc/guix.texi:12253
  18258. #, no-wrap
  18259. msgid ""
  18260. "(package\n"
  18261. " (name \"grub\")\n"
  18262. " ;; @dots{}\n"
  18263. " ;; CPE calls this package \"grub2\".\n"
  18264. " (properties '((cpe-name . \"grub2\")\n"
  18265. " (cpe-version . \"2.3\"))))\n"
  18266. msgstr ""
  18267. #. type: table
  18268. #: guix-git/doc/guix.texi:12260
  18269. 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:"
  18270. msgstr ""
  18271. #. type: lisp
  18272. #: guix-git/doc/guix.texi:12270
  18273. #, no-wrap
  18274. msgid ""
  18275. "(package\n"
  18276. " (name \"t1lib\")\n"
  18277. " ;; @dots{}\n"
  18278. " ;; These CVEs no longer apply and can be safely ignored.\n"
  18279. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  18280. " \"CVE-2011-1553\"\n"
  18281. " \"CVE-2011-1554\"\n"
  18282. " \"CVE-2011-5244\")))))\n"
  18283. msgstr ""
  18284. #. type: item
  18285. #: guix-git/doc/guix.texi:12272
  18286. #, no-wrap
  18287. msgid "formatting"
  18288. msgstr ""
  18289. #. type: table
  18290. #: guix-git/doc/guix.texi:12275
  18291. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  18292. msgstr ""
  18293. #. type: example
  18294. #: guix-git/doc/guix.texi:12281
  18295. #, no-wrap
  18296. msgid "guix lint @var{options} @var{package}@dots{}\n"
  18297. msgstr ""
  18298. #. type: Plain text
  18299. #: guix-git/doc/guix.texi:12285
  18300. 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:"
  18301. msgstr ""
  18302. #. type: item
  18303. #: guix-git/doc/guix.texi:12287
  18304. #, no-wrap
  18305. msgid "--list-checkers"
  18306. msgstr ""
  18307. #. type: table
  18308. #: guix-git/doc/guix.texi:12291
  18309. msgid "List and describe all the available checkers that will be run on packages and exit."
  18310. msgstr ""
  18311. #. type: item
  18312. #: guix-git/doc/guix.texi:12292
  18313. #, no-wrap
  18314. msgid "--checkers"
  18315. msgstr ""
  18316. #. type: itemx
  18317. #: guix-git/doc/guix.texi:12293
  18318. #, no-wrap
  18319. msgid "-c"
  18320. msgstr ""
  18321. #. type: table
  18322. #: guix-git/doc/guix.texi:12296
  18323. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  18324. msgstr ""
  18325. #. type: item
  18326. #: guix-git/doc/guix.texi:12297
  18327. #, no-wrap
  18328. msgid "--exclude"
  18329. msgstr ""
  18330. #. type: table
  18331. #: guix-git/doc/guix.texi:12301
  18332. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  18333. msgstr ""
  18334. #. type: item
  18335. #: guix-git/doc/guix.texi:12302
  18336. #, no-wrap
  18337. msgid "--no-network"
  18338. msgstr ""
  18339. #. type: table
  18340. #: guix-git/doc/guix.texi:12305
  18341. msgid "Only enable the checkers that do not depend on Internet access."
  18342. msgstr ""
  18343. #. type: section
  18344. #: guix-git/doc/guix.texi:12317
  18345. #, no-wrap
  18346. msgid "Invoking @command{guix size}"
  18347. msgstr ""
  18348. #. type: code{#1}
  18349. #: guix-git/doc/guix.texi:12319 guix-git/doc/guix.texi:34490
  18350. #, no-wrap
  18351. msgid "size"
  18352. msgstr ""
  18353. #. type: cindex
  18354. #: guix-git/doc/guix.texi:12320
  18355. #, no-wrap
  18356. msgid "package size"
  18357. msgstr ""
  18358. #. type: command{#1}
  18359. #: guix-git/doc/guix.texi:12322
  18360. #, no-wrap
  18361. msgid "guix size"
  18362. msgstr ""
  18363. #. type: Plain text
  18364. #: guix-git/doc/guix.texi:12329
  18365. 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."
  18366. msgstr ""
  18367. #. type: Plain text
  18368. #: guix-git/doc/guix.texi:12334
  18369. 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:"
  18370. msgstr ""
  18371. #. type: example
  18372. #: guix-git/doc/guix.texi:12347
  18373. #, no-wrap
  18374. msgid ""
  18375. "$ guix size coreutils\n"
  18376. "store item total self\n"
  18377. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  18378. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  18379. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  18380. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  18381. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  18382. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  18383. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  18384. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  18385. "total: 78.9 MiB\n"
  18386. msgstr ""
  18387. #. type: Plain text
  18388. #: guix-git/doc/guix.texi:12353
  18389. 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:"
  18390. msgstr ""
  18391. #. type: example
  18392. #: guix-git/doc/guix.texi:12356
  18393. #, no-wrap
  18394. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  18395. msgstr ""
  18396. #. type: Plain text
  18397. #: guix-git/doc/guix.texi:12364
  18398. 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."
  18399. msgstr ""
  18400. #. type: Plain text
  18401. #: guix-git/doc/guix.texi:12370
  18402. 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.)"
  18403. msgstr ""
  18404. #. type: Plain text
  18405. #: guix-git/doc/guix.texi:12373
  18406. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  18407. msgstr ""
  18408. #. type: example
  18409. #: guix-git/doc/guix.texi:12376
  18410. #, no-wrap
  18411. msgid "guix size $(guix system build config.scm)\n"
  18412. msgstr ""
  18413. #. type: Plain text
  18414. #: guix-git/doc/guix.texi:12386
  18415. 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})."
  18416. msgstr ""
  18417. #. type: Plain text
  18418. #: guix-git/doc/guix.texi:12391
  18419. 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."
  18420. msgstr ""
  18421. #. type: Plain text
  18422. #: guix-git/doc/guix.texi:12393
  18423. msgid "You can also specify several package names:"
  18424. msgstr ""
  18425. #. type: example
  18426. #: guix-git/doc/guix.texi:12403
  18427. #, no-wrap
  18428. msgid ""
  18429. "$ guix size coreutils grep sed bash\n"
  18430. "store item total self\n"
  18431. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  18432. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  18433. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  18434. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  18435. "@dots{}\n"
  18436. "total: 102.3 MiB\n"
  18437. msgstr ""
  18438. #. type: Plain text
  18439. #: guix-git/doc/guix.texi:12409
  18440. 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."
  18441. msgstr ""
  18442. #. type: Plain text
  18443. #: guix-git/doc/guix.texi:12415
  18444. 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})."
  18445. msgstr ""
  18446. #. type: Plain text
  18447. #: guix-git/doc/guix.texi:12417
  18448. msgid "The available options are:"
  18449. msgstr ""
  18450. #. type: table
  18451. #: guix-git/doc/guix.texi:12423
  18452. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  18453. msgstr ""
  18454. #. type: item
  18455. #: guix-git/doc/guix.texi:12424
  18456. #, no-wrap
  18457. msgid "--sort=@var{key}"
  18458. msgstr ""
  18459. #. type: table
  18460. #: guix-git/doc/guix.texi:12426
  18461. msgid "Sort lines according to @var{key}, one of the following options:"
  18462. msgstr ""
  18463. #. type: item
  18464. #: guix-git/doc/guix.texi:12428
  18465. #, no-wrap
  18466. msgid "self"
  18467. msgstr ""
  18468. #. type: table
  18469. #: guix-git/doc/guix.texi:12430
  18470. msgid "the size of each item (the default);"
  18471. msgstr ""
  18472. #. type: table
  18473. #: guix-git/doc/guix.texi:12432
  18474. msgid "the total size of the item's closure."
  18475. msgstr ""
  18476. #. type: item
  18477. #: guix-git/doc/guix.texi:12434
  18478. #, no-wrap
  18479. msgid "--map-file=@var{file}"
  18480. msgstr ""
  18481. #. type: table
  18482. #: guix-git/doc/guix.texi:12436
  18483. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  18484. msgstr ""
  18485. #. type: table
  18486. #: guix-git/doc/guix.texi:12438
  18487. msgid "For the example above, the map looks like this:"
  18488. msgstr ""
  18489. #. type: table
  18490. #: guix-git/doc/guix.texi:12441
  18491. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  18492. msgstr ""
  18493. #. type: table
  18494. #: guix-git/doc/guix.texi:12446
  18495. 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."
  18496. msgstr ""
  18497. #. type: table
  18498. #: guix-git/doc/guix.texi:12450
  18499. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  18500. msgstr ""
  18501. #. type: section
  18502. #: guix-git/doc/guix.texi:12461
  18503. #, no-wrap
  18504. msgid "Invoking @command{guix graph}"
  18505. msgstr ""
  18506. #. type: cindex
  18507. #: guix-git/doc/guix.texi:12463
  18508. #, no-wrap
  18509. msgid "DAG"
  18510. msgstr ""
  18511. #. type: command{#1}
  18512. #: guix-git/doc/guix.texi:12464
  18513. #, no-wrap
  18514. msgid "guix graph"
  18515. msgstr ""
  18516. #. type: Plain text
  18517. #: guix-git/doc/guix.texi:12479
  18518. 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:"
  18519. msgstr ""
  18520. #. type: example
  18521. #: guix-git/doc/guix.texi:12482
  18522. #, no-wrap
  18523. msgid "guix graph @var{options} @var{package}@dots{}\n"
  18524. msgstr ""
  18525. #. type: Plain text
  18526. #: guix-git/doc/guix.texi:12487
  18527. 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:"
  18528. msgstr ""
  18529. #. type: example
  18530. #: guix-git/doc/guix.texi:12490
  18531. #, no-wrap
  18532. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  18533. msgstr ""
  18534. #. type: Plain text
  18535. #: guix-git/doc/guix.texi:12493
  18536. msgid "The output looks like this:"
  18537. msgstr ""
  18538. #. type: Plain text
  18539. #: guix-git/doc/guix.texi:12495
  18540. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  18541. msgstr ""
  18542. #. type: Plain text
  18543. #: guix-git/doc/guix.texi:12497
  18544. msgid "Nice little graph, no?"
  18545. msgstr ""
  18546. #. type: Plain text
  18547. #: guix-git/doc/guix.texi:12500
  18548. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  18549. msgstr ""
  18550. #. type: example
  18551. #: guix-git/doc/guix.texi:12503
  18552. #, no-wrap
  18553. msgid "guix graph coreutils | xdot -\n"
  18554. msgstr ""
  18555. #. type: Plain text
  18556. #: guix-git/doc/guix.texi:12510
  18557. 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:"
  18558. msgstr ""
  18559. #. type: table
  18560. #: guix-git/doc/guix.texi:12516
  18561. 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."
  18562. msgstr ""
  18563. #. type: item
  18564. #: guix-git/doc/guix.texi:12517
  18565. #, no-wrap
  18566. msgid "reverse-package"
  18567. msgstr ""
  18568. #. type: table
  18569. #: guix-git/doc/guix.texi:12519
  18570. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  18571. msgstr ""
  18572. #. type: example
  18573. #: guix-git/doc/guix.texi:12522
  18574. #, no-wrap
  18575. msgid "guix graph --type=reverse-package ocaml\n"
  18576. msgstr ""
  18577. #. type: table
  18578. #: guix-git/doc/guix.texi:12527
  18579. 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)."
  18580. msgstr ""
  18581. #. type: table
  18582. #: guix-git/doc/guix.texi:12532
  18583. 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}})."
  18584. msgstr ""
  18585. #. type: item
  18586. #: guix-git/doc/guix.texi:12533
  18587. #, no-wrap
  18588. msgid "bag-emerged"
  18589. msgstr ""
  18590. #. type: table
  18591. #: guix-git/doc/guix.texi:12535
  18592. msgid "This is the package DAG, @emph{including} implicit inputs."
  18593. msgstr ""
  18594. #. type: table
  18595. #: guix-git/doc/guix.texi:12537
  18596. msgid "For instance, the following command:"
  18597. msgstr ""
  18598. #. type: example
  18599. #: guix-git/doc/guix.texi:12540
  18600. #, no-wrap
  18601. msgid "guix graph --type=bag-emerged coreutils\n"
  18602. msgstr ""
  18603. #. type: table
  18604. #: guix-git/doc/guix.texi:12543
  18605. msgid "...@: yields this bigger graph:"
  18606. msgstr ""
  18607. #. type: table
  18608. #: guix-git/doc/guix.texi:12545
  18609. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  18610. msgstr ""
  18611. #. type: table
  18612. #: guix-git/doc/guix.texi:12548
  18613. 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}})."
  18614. msgstr ""
  18615. #. type: table
  18616. #: guix-git/doc/guix.texi:12552
  18617. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  18618. msgstr ""
  18619. #. type: item
  18620. #: guix-git/doc/guix.texi:12553
  18621. #, no-wrap
  18622. msgid "bag"
  18623. msgstr ""
  18624. #. type: table
  18625. #: guix-git/doc/guix.texi:12556
  18626. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  18627. msgstr ""
  18628. #. type: item
  18629. #: guix-git/doc/guix.texi:12557
  18630. #, no-wrap
  18631. msgid "bag-with-origins"
  18632. msgstr ""
  18633. #. type: table
  18634. #: guix-git/doc/guix.texi:12559
  18635. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  18636. msgstr ""
  18637. #. type: item
  18638. #: guix-git/doc/guix.texi:12560
  18639. #, no-wrap
  18640. msgid "reverse-bag"
  18641. msgstr ""
  18642. #. type: table
  18643. #: guix-git/doc/guix.texi:12563
  18644. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  18645. msgstr ""
  18646. #. type: example
  18647. #: guix-git/doc/guix.texi:12566
  18648. #, no-wrap
  18649. msgid "guix graph -t reverse-bag dune\n"
  18650. msgstr ""
  18651. #. type: table
  18652. #: guix-git/doc/guix.texi:12573
  18653. 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."
  18654. msgstr ""
  18655. #. type: table
  18656. #: guix-git/doc/guix.texi:12579
  18657. 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."
  18658. msgstr ""
  18659. #. type: table
  18660. #: guix-git/doc/guix.texi:12582
  18661. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  18662. msgstr ""
  18663. #. type: example
  18664. #: guix-git/doc/guix.texi:12585
  18665. #, no-wrap
  18666. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  18667. msgstr ""
  18668. #. type: item
  18669. #: guix-git/doc/guix.texi:12587
  18670. #, no-wrap
  18671. msgid "module"
  18672. msgstr "پیمانه"
  18673. #. type: table
  18674. #: guix-git/doc/guix.texi:12591
  18675. 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:"
  18676. msgstr ""
  18677. #. type: example
  18678. #: guix-git/doc/guix.texi:12594
  18679. #, no-wrap
  18680. msgid "guix graph -t module guile | xdot -\n"
  18681. msgstr ""
  18682. #. type: Plain text
  18683. #: guix-git/doc/guix.texi:12599
  18684. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  18685. msgstr ""
  18686. #. type: table
  18687. #: guix-git/doc/guix.texi:12604
  18688. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  18689. msgstr ""
  18690. #. type: table
  18691. #: guix-git/doc/guix.texi:12607
  18692. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  18693. msgstr ""
  18694. #. type: table
  18695. #: guix-git/doc/guix.texi:12611
  18696. 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!):"
  18697. msgstr ""
  18698. #. type: example
  18699. #: guix-git/doc/guix.texi:12614
  18700. #, no-wrap
  18701. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  18702. msgstr ""
  18703. #. type: item
  18704. #: guix-git/doc/guix.texi:12616
  18705. #, no-wrap
  18706. msgid "referrers"
  18707. msgstr ""
  18708. #. type: table
  18709. #: guix-git/doc/guix.texi:12619
  18710. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  18711. msgstr ""
  18712. #. type: table
  18713. #: guix-git/doc/guix.texi:12625
  18714. 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."
  18715. msgstr ""
  18716. #. type: table
  18717. #: guix-git/doc/guix.texi:12628
  18718. msgid "It can help determine what is preventing a store item from being garbage collected."
  18719. msgstr ""
  18720. #. type: cindex
  18721. #: guix-git/doc/guix.texi:12631
  18722. #, no-wrap
  18723. msgid "shortest path, between packages"
  18724. msgstr ""
  18725. #. type: Plain text
  18726. #: guix-git/doc/guix.texi:12638
  18727. 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.):"
  18728. msgstr ""
  18729. #. type: example
  18730. #: guix-git/doc/guix.texi:12652
  18731. #, no-wrap
  18732. msgid ""
  18733. "$ guix graph --path emacs libunistring\n"
  18734. "emacs@@26.3\n"
  18735. "mailutils@@3.9\n"
  18736. "libunistring@@0.9.10\n"
  18737. "$ guix graph --path -t derivation emacs libunistring\n"
  18738. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  18739. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  18740. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  18741. "$ guix graph --path -t references emacs libunistring\n"
  18742. "/gnu/store/@dots{}-emacs-26.3\n"
  18743. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  18744. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  18745. msgstr ""
  18746. #. type: Plain text
  18747. #: guix-git/doc/guix.texi:12660
  18748. 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:"
  18749. msgstr ""
  18750. #. type: example
  18751. #: guix-git/doc/guix.texi:12663
  18752. #, no-wrap
  18753. msgid "guix graph -M 2 libreoffice | xdot -f fdp -\n"
  18754. msgstr ""
  18755. #. type: Plain text
  18756. #: guix-git/doc/guix.texi:12667
  18757. 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."
  18758. msgstr ""
  18759. #. type: Plain text
  18760. #: guix-git/doc/guix.texi:12669
  18761. msgid "The available options are the following:"
  18762. msgstr ""
  18763. #. type: table
  18764. #: guix-git/doc/guix.texi:12675
  18765. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  18766. msgstr ""
  18767. #. type: item
  18768. #: guix-git/doc/guix.texi:12676
  18769. #, no-wrap
  18770. msgid "--list-types"
  18771. msgstr ""
  18772. #. type: table
  18773. #: guix-git/doc/guix.texi:12678
  18774. msgid "List the supported graph types."
  18775. msgstr ""
  18776. #. type: item
  18777. #: guix-git/doc/guix.texi:12679
  18778. #, no-wrap
  18779. msgid "--backend=@var{backend}"
  18780. msgstr ""
  18781. #. type: itemx
  18782. #: guix-git/doc/guix.texi:12680
  18783. #, no-wrap
  18784. msgid "-b @var{backend}"
  18785. msgstr ""
  18786. #. type: table
  18787. #: guix-git/doc/guix.texi:12682
  18788. msgid "Produce a graph using the selected @var{backend}."
  18789. msgstr ""
  18790. #. type: item
  18791. #: guix-git/doc/guix.texi:12683
  18792. #, no-wrap
  18793. msgid "--list-backends"
  18794. msgstr ""
  18795. #. type: table
  18796. #: guix-git/doc/guix.texi:12685
  18797. msgid "List the supported graph backends."
  18798. msgstr ""
  18799. #. type: table
  18800. #: guix-git/doc/guix.texi:12687
  18801. msgid "Currently, the available backends are Graphviz and d3.js."
  18802. msgstr ""
  18803. #. type: item
  18804. #: guix-git/doc/guix.texi:12688
  18805. #, no-wrap
  18806. msgid "--path"
  18807. msgstr ""
  18808. #. type: table
  18809. #: guix-git/doc/guix.texi:12693
  18810. 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}:"
  18811. msgstr ""
  18812. #. type: example
  18813. #: guix-git/doc/guix.texi:12700
  18814. #, no-wrap
  18815. msgid ""
  18816. "$ guix graph --path -t references libreoffice llvm\n"
  18817. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  18818. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  18819. "/gnu/store/@dots{}-mesa-19.3.4\n"
  18820. "/gnu/store/@dots{}-llvm-9.0.1\n"
  18821. msgstr ""
  18822. #. type: example
  18823. #: guix-git/doc/guix.texi:12710
  18824. #, no-wrap
  18825. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  18826. msgstr ""
  18827. #. type: table
  18828. #: guix-git/doc/guix.texi:12715
  18829. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  18830. msgstr ""
  18831. #. type: table
  18832. #: guix-git/doc/guix.texi:12718
  18833. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  18834. msgstr ""
  18835. #. type: Plain text
  18836. #: guix-git/doc/guix.texi:12734
  18837. 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:"
  18838. msgstr ""
  18839. #. type: example
  18840. #: guix-git/doc/guix.texi:12737
  18841. #, no-wrap
  18842. msgid "guix graph git --with-input=openssl=libressl\n"
  18843. msgstr ""
  18844. #. type: Plain text
  18845. #: guix-git/doc/guix.texi:12740
  18846. msgid "So many possibilities, so much fun!"
  18847. msgstr ""
  18848. #. type: section
  18849. #: guix-git/doc/guix.texi:12742
  18850. #, no-wrap
  18851. msgid "Invoking @command{guix publish}"
  18852. msgstr ""
  18853. #. type: command{#1}
  18854. #: guix-git/doc/guix.texi:12744
  18855. #, no-wrap
  18856. msgid "guix publish"
  18857. msgstr ""
  18858. #. type: Plain text
  18859. #: guix-git/doc/guix.texi:12748
  18860. 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})."
  18861. msgstr ""
  18862. #. type: Plain text
  18863. #: guix-git/doc/guix.texi:12754
  18864. 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."
  18865. msgstr ""
  18866. #. type: Plain text
  18867. #: guix-git/doc/guix.texi:12760
  18868. 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."
  18869. msgstr ""
  18870. #. type: Plain text
  18871. #: guix-git/doc/guix.texi:12764
  18872. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  18873. msgstr ""
  18874. #. type: Plain text
  18875. #: guix-git/doc/guix.texi:12769
  18876. 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})."
  18877. msgstr ""
  18878. #. type: example
  18879. #: guix-git/doc/guix.texi:12774
  18880. #, no-wrap
  18881. msgid "guix publish @var{options}@dots{}\n"
  18882. msgstr ""
  18883. #. type: Plain text
  18884. #: guix-git/doc/guix.texi:12778
  18885. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  18886. msgstr ""
  18887. #. type: example
  18888. #: guix-git/doc/guix.texi:12781
  18889. #, no-wrap
  18890. msgid "guix publish\n"
  18891. msgstr ""
  18892. #. type: Plain text
  18893. #: guix-git/doc/guix.texi:12785
  18894. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  18895. msgstr ""
  18896. #. type: Plain text
  18897. #: guix-git/doc/guix.texi:12793
  18898. 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})."
  18899. msgstr ""
  18900. #. type: Plain text
  18901. #: guix-git/doc/guix.texi:12800
  18902. 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}):"
  18903. msgstr ""
  18904. #. type: example
  18905. #: guix-git/doc/guix.texi:12803
  18906. #, no-wrap
  18907. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  18908. msgstr ""
  18909. #. type: Plain text
  18910. #: guix-git/doc/guix.texi:12807
  18911. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  18912. msgstr ""
  18913. #. type: cindex
  18914. #: guix-git/doc/guix.texi:12808
  18915. #, no-wrap
  18916. msgid "build logs, publication"
  18917. msgstr ""
  18918. #. type: Plain text
  18919. #: guix-git/doc/guix.texi:12810
  18920. msgid "Build logs are available from @code{/log} URLs like:"
  18921. msgstr ""
  18922. #. type: example
  18923. #: guix-git/doc/guix.texi:12813
  18924. #, no-wrap
  18925. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  18926. msgstr ""
  18927. #. type: Plain text
  18928. #: guix-git/doc/guix.texi:12823
  18929. 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."
  18930. msgstr ""
  18931. #. type: item
  18932. #: guix-git/doc/guix.texi:12827
  18933. #, no-wrap
  18934. msgid "--port=@var{port}"
  18935. msgstr ""
  18936. #. type: itemx
  18937. #: guix-git/doc/guix.texi:12828
  18938. #, no-wrap
  18939. msgid "-p @var{port}"
  18940. msgstr ""
  18941. #. type: table
  18942. #: guix-git/doc/guix.texi:12830
  18943. msgid "Listen for HTTP requests on @var{port}."
  18944. msgstr ""
  18945. #. type: item
  18946. #: guix-git/doc/guix.texi:12831
  18947. #, no-wrap
  18948. msgid "--listen=@var{host}"
  18949. msgstr ""
  18950. #. type: table
  18951. #: guix-git/doc/guix.texi:12834
  18952. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  18953. msgstr ""
  18954. #. type: table
  18955. #: guix-git/doc/guix.texi:12839
  18956. 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."
  18957. msgstr ""
  18958. #. type: item
  18959. #: guix-git/doc/guix.texi:12840
  18960. #, no-wrap
  18961. msgid "--compression[=@var{method}[:@var{level}]]"
  18962. msgstr ""
  18963. #. type: itemx
  18964. #: guix-git/doc/guix.texi:12841
  18965. #, no-wrap
  18966. msgid "-C [@var{method}[:@var{level}]]"
  18967. msgstr ""
  18968. #. type: table
  18969. #: guix-git/doc/guix.texi:12845
  18970. 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."
  18971. msgstr ""
  18972. #. type: table
  18973. #: guix-git/doc/guix.texi:12849
  18974. 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."
  18975. msgstr ""
  18976. #. type: table
  18977. #: guix-git/doc/guix.texi:12856
  18978. 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."
  18979. msgstr ""
  18980. #. type: table
  18981. #: guix-git/doc/guix.texi:12860
  18982. 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}."
  18983. msgstr ""
  18984. #. type: table
  18985. #: guix-git/doc/guix.texi:12869
  18986. 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."
  18987. msgstr ""
  18988. #. type: table
  18989. #: guix-git/doc/guix.texi:12874
  18990. 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."
  18991. msgstr ""
  18992. #. type: item
  18993. #: guix-git/doc/guix.texi:12875
  18994. #, no-wrap
  18995. msgid "--cache=@var{directory}"
  18996. msgstr ""
  18997. #. type: itemx
  18998. #: guix-git/doc/guix.texi:12876
  18999. #, no-wrap
  19000. msgid "-c @var{directory}"
  19001. msgstr ""
  19002. #. type: table
  19003. #: guix-git/doc/guix.texi:12879
  19004. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  19005. msgstr ""
  19006. #. type: table
  19007. #: guix-git/doc/guix.texi:12887
  19008. 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."
  19009. msgstr ""
  19010. #. type: table
  19011. #: guix-git/doc/guix.texi:12895
  19012. 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."
  19013. msgstr ""
  19014. #. type: table
  19015. #: guix-git/doc/guix.texi:12902
  19016. 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."
  19017. msgstr ""
  19018. #. type: table
  19019. #: guix-git/doc/guix.texi:12906
  19020. 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."
  19021. msgstr ""
  19022. #. type: table
  19023. #: guix-git/doc/guix.texi:12909
  19024. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  19025. msgstr ""
  19026. #. type: item
  19027. #: guix-git/doc/guix.texi:12910
  19028. #, no-wrap
  19029. msgid "--workers=@var{N}"
  19030. msgstr ""
  19031. #. type: table
  19032. #: guix-git/doc/guix.texi:12913
  19033. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  19034. msgstr ""
  19035. #. type: item
  19036. #: guix-git/doc/guix.texi:12914
  19037. #, no-wrap
  19038. msgid "--ttl=@var{ttl}"
  19039. msgstr ""
  19040. #. type: table
  19041. #: guix-git/doc/guix.texi:12918
  19042. 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."
  19043. msgstr ""
  19044. #. type: table
  19045. #: guix-git/doc/guix.texi:12923
  19046. 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}."
  19047. msgstr ""
  19048. #. type: table
  19049. #: guix-git/doc/guix.texi:12927
  19050. 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."
  19051. msgstr ""
  19052. #. type: item
  19053. #: guix-git/doc/guix.texi:12928
  19054. #, no-wrap
  19055. msgid "--negative-ttl=@var{ttl}"
  19056. msgstr ""
  19057. #. type: table
  19058. #: guix-git/doc/guix.texi:12933
  19059. 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."
  19060. msgstr ""
  19061. #. type: table
  19062. #: guix-git/doc/guix.texi:12937
  19063. 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."
  19064. msgstr ""
  19065. #. type: item
  19066. #: guix-git/doc/guix.texi:12938
  19067. #, no-wrap
  19068. msgid "--cache-bypass-threshold=@var{size}"
  19069. msgstr ""
  19070. #. type: table
  19071. #: guix-git/doc/guix.texi:12943
  19072. 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}."
  19073. msgstr ""
  19074. #. type: table
  19075. #: guix-git/doc/guix.texi:12948
  19076. 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."
  19077. msgstr ""
  19078. #. type: table
  19079. #: guix-git/doc/guix.texi:12952
  19080. 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."
  19081. msgstr ""
  19082. #. type: item
  19083. #: guix-git/doc/guix.texi:12953
  19084. #, no-wrap
  19085. msgid "--nar-path=@var{path}"
  19086. msgstr ""
  19087. #. type: table
  19088. #: guix-git/doc/guix.texi:12956
  19089. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  19090. msgstr ""
  19091. #. type: table
  19092. #: guix-git/doc/guix.texi:12960
  19093. 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}."
  19094. msgstr ""
  19095. #. type: item
  19096. #: guix-git/doc/guix.texi:12961
  19097. #, no-wrap
  19098. msgid "--public-key=@var{file}"
  19099. msgstr ""
  19100. #. type: itemx
  19101. #: guix-git/doc/guix.texi:12962
  19102. #, no-wrap
  19103. msgid "--private-key=@var{file}"
  19104. msgstr ""
  19105. #. type: table
  19106. #: guix-git/doc/guix.texi:12965 guix-git/doc/guix.texi:28081
  19107. #: guix-git/doc/guix.texi:28118
  19108. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  19109. msgstr ""
  19110. #. type: table
  19111. #: guix-git/doc/guix.texi:12972
  19112. 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."
  19113. msgstr ""
  19114. #. type: item
  19115. #: guix-git/doc/guix.texi:12973
  19116. #, no-wrap
  19117. msgid "--repl[=@var{port}]"
  19118. msgstr ""
  19119. #. type: itemx
  19120. #: guix-git/doc/guix.texi:12974
  19121. #, no-wrap
  19122. msgid "-r [@var{port}]"
  19123. msgstr ""
  19124. #. type: table
  19125. #: guix-git/doc/guix.texi:12978
  19126. 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."
  19127. msgstr ""
  19128. #. type: Plain text
  19129. #: guix-git/doc/guix.texi:12984
  19130. 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}})."
  19131. msgstr ""
  19132. #. type: Plain text
  19133. #: guix-git/doc/guix.texi:12987
  19134. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  19135. msgstr ""
  19136. #. type: itemize
  19137. #: guix-git/doc/guix.texi:12991
  19138. msgid "If your host distro uses the systemd init system:"
  19139. msgstr ""
  19140. #. type: example
  19141. #: guix-git/doc/guix.texi:12996
  19142. #, no-wrap
  19143. msgid ""
  19144. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  19145. " /etc/systemd/system/\n"
  19146. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  19147. msgstr ""
  19148. #. type: example
  19149. #: guix-git/doc/guix.texi:13004
  19150. #, no-wrap
  19151. msgid ""
  19152. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  19153. "# start guix-publish\n"
  19154. msgstr ""
  19155. #. type: itemize
  19156. #: guix-git/doc/guix.texi:13008
  19157. msgid "Otherwise, proceed similarly with your distro's init system."
  19158. msgstr ""
  19159. #. type: section
  19160. #: guix-git/doc/guix.texi:13011
  19161. #, no-wrap
  19162. msgid "Invoking @command{guix challenge}"
  19163. msgstr ""
  19164. #. type: cindex
  19165. #: guix-git/doc/guix.texi:13014
  19166. #, no-wrap
  19167. msgid "verifiable builds"
  19168. msgstr ""
  19169. #. type: command{#1}
  19170. #: guix-git/doc/guix.texi:13015
  19171. #, no-wrap
  19172. msgid "guix challenge"
  19173. msgstr ""
  19174. #. type: cindex
  19175. #: guix-git/doc/guix.texi:13016
  19176. #, no-wrap
  19177. msgid "challenge"
  19178. msgstr ""
  19179. #. type: Plain text
  19180. #: guix-git/doc/guix.texi:13021
  19181. 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."
  19182. msgstr ""
  19183. #. type: Plain text
  19184. #: guix-git/doc/guix.texi:13029
  19185. 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."
  19186. msgstr ""
  19187. #. type: Plain text
  19188. #: guix-git/doc/guix.texi:13038
  19189. 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."
  19190. msgstr ""
  19191. #. type: Plain text
  19192. #: guix-git/doc/guix.texi:13040
  19193. msgid "The command output looks like this:"
  19194. msgstr ""
  19195. #. type: smallexample
  19196. #: guix-git/doc/guix.texi:13052
  19197. #, no-wrap
  19198. msgid ""
  19199. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  19200. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  19201. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  19202. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  19203. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19204. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19205. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  19206. " differing files:\n"
  19207. " /lib/libcrypto.so.1.1\n"
  19208. " /lib/libssl.so.1.1\n"
  19209. "\n"
  19210. msgstr ""
  19211. #. type: smallexample
  19212. #: guix-git/doc/guix.texi:13059
  19213. #, no-wrap
  19214. msgid ""
  19215. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  19216. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  19217. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  19218. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  19219. " differing file:\n"
  19220. " /libexec/git-core/git-fsck\n"
  19221. "\n"
  19222. msgstr ""
  19223. #. type: smallexample
  19224. #: guix-git/doc/guix.texi:13066
  19225. #, no-wrap
  19226. msgid ""
  19227. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  19228. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  19229. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  19230. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  19231. " differing file:\n"
  19232. " /share/man/man1/pius.1.gz\n"
  19233. "\n"
  19234. msgstr ""
  19235. #. type: smallexample
  19236. #: guix-git/doc/guix.texi:13068
  19237. #, no-wrap
  19238. msgid ""
  19239. "@dots{}\n"
  19240. "\n"
  19241. msgstr ""
  19242. #. type: smallexample
  19243. #: guix-git/doc/guix.texi:13073
  19244. #, no-wrap
  19245. msgid ""
  19246. "6,406 store items were analyzed:\n"
  19247. " - 4,749 (74.1%) were identical\n"
  19248. " - 525 (8.2%) differed\n"
  19249. " - 1,132 (17.7%) were inconclusive\n"
  19250. msgstr ""
  19251. #. type: Plain text
  19252. #: guix-git/doc/guix.texi:13081
  19253. 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."
  19254. msgstr ""
  19255. #. type: cindex
  19256. #: guix-git/doc/guix.texi:13082
  19257. #, no-wrap
  19258. msgid "non-determinism, in package builds"
  19259. msgstr ""
  19260. #. type: Plain text
  19261. #: guix-git/doc/guix.texi:13093
  19262. 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."
  19263. msgstr ""
  19264. #. type: Plain text
  19265. #: guix-git/doc/guix.texi:13096
  19266. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  19267. msgstr ""
  19268. #. type: example
  19269. #: guix-git/doc/guix.texi:13101
  19270. #, no-wrap
  19271. msgid ""
  19272. "guix challenge git \\\n"
  19273. " --diff=diffoscope \\\n"
  19274. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  19275. msgstr ""
  19276. #. type: Plain text
  19277. #: guix-git/doc/guix.texi:13105
  19278. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  19279. msgstr ""
  19280. #. type: Plain text
  19281. #: guix-git/doc/guix.texi:13108
  19282. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  19283. msgstr ""
  19284. #. type: example
  19285. #: guix-git/doc/guix.texi:13113
  19286. #, no-wrap
  19287. msgid ""
  19288. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  19289. " | lzip -d | guix archive -x /tmp/git\n"
  19290. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  19291. msgstr ""
  19292. #. type: Plain text
  19293. #: guix-git/doc/guix.texi:13122
  19294. 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."
  19295. msgstr ""
  19296. #. type: Plain text
  19297. #: guix-git/doc/guix.texi:13130
  19298. 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."
  19299. msgstr ""
  19300. #. type: Plain text
  19301. #: guix-git/doc/guix.texi:13134
  19302. 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:"
  19303. msgstr ""
  19304. #. type: example
  19305. #: guix-git/doc/guix.texi:13137
  19306. #, no-wrap
  19307. msgid "$ guix challenge @var{package}\n"
  19308. msgstr ""
  19309. #. type: Plain text
  19310. #: guix-git/doc/guix.texi:13142
  19311. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  19312. msgstr ""
  19313. #. type: example
  19314. #: guix-git/doc/guix.texi:13147
  19315. #, no-wrap
  19316. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  19317. msgstr ""
  19318. #. type: Plain text
  19319. #: guix-git/doc/guix.texi:13154
  19320. 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)."
  19321. msgstr ""
  19322. #. type: Plain text
  19323. #: guix-git/doc/guix.texi:13156
  19324. msgid "The one option that matters is:"
  19325. msgstr ""
  19326. #. type: table
  19327. #: guix-git/doc/guix.texi:13162
  19328. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  19329. msgstr ""
  19330. #. type: item
  19331. #: guix-git/doc/guix.texi:13163
  19332. #, no-wrap
  19333. msgid "--diff=@var{mode}"
  19334. msgstr ""
  19335. #. type: table
  19336. #: guix-git/doc/guix.texi:13165
  19337. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  19338. msgstr ""
  19339. #. type: item
  19340. #: guix-git/doc/guix.texi:13167
  19341. #, no-wrap
  19342. msgid "@code{simple} (the default)"
  19343. msgstr ""
  19344. #. type: table
  19345. #: guix-git/doc/guix.texi:13169
  19346. msgid "Show the list of files that differ."
  19347. msgstr ""
  19348. #. type: code{#1}
  19349. #: guix-git/doc/guix.texi:13170
  19350. #, no-wrap
  19351. msgid "diffoscope"
  19352. msgstr ""
  19353. #. type: var{#1}
  19354. #: guix-git/doc/guix.texi:13171
  19355. #, no-wrap
  19356. msgid "command"
  19357. msgstr ""
  19358. #. type: table
  19359. #: guix-git/doc/guix.texi:13174
  19360. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  19361. msgstr ""
  19362. #. type: table
  19363. #: guix-git/doc/guix.texi:13177
  19364. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  19365. msgstr ""
  19366. #. type: item
  19367. #: guix-git/doc/guix.texi:13178 guix-git/doc/guix.texi:16543
  19368. #: guix-git/doc/guix.texi:18635
  19369. #, no-wrap
  19370. msgid "none"
  19371. msgstr ""
  19372. #. type: table
  19373. #: guix-git/doc/guix.texi:13180
  19374. msgid "Do not show further details about the differences."
  19375. msgstr ""
  19376. #. type: table
  19377. #: guix-git/doc/guix.texi:13185
  19378. 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."
  19379. msgstr ""
  19380. #. type: item
  19381. #: guix-git/doc/guix.texi:13186
  19382. #, no-wrap
  19383. msgid "--verbose"
  19384. msgstr ""
  19385. #. type: itemx
  19386. #: guix-git/doc/guix.texi:13187
  19387. #, no-wrap
  19388. msgid "-v"
  19389. msgstr ""
  19390. #. type: table
  19391. #: guix-git/doc/guix.texi:13190
  19392. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  19393. msgstr ""
  19394. #. type: section
  19395. #: guix-git/doc/guix.texi:13194
  19396. #, no-wrap
  19397. msgid "Invoking @command{guix copy}"
  19398. msgstr ""
  19399. #. type: cindex
  19400. #: guix-git/doc/guix.texi:13196
  19401. #, no-wrap
  19402. msgid "copy, of store items, over SSH"
  19403. msgstr ""
  19404. #. type: cindex
  19405. #: guix-git/doc/guix.texi:13197
  19406. #, no-wrap
  19407. msgid "SSH, copy of store items"
  19408. msgstr ""
  19409. #. type: cindex
  19410. #: guix-git/doc/guix.texi:13198
  19411. #, no-wrap
  19412. msgid "sharing store items across machines"
  19413. msgstr ""
  19414. #. type: cindex
  19415. #: guix-git/doc/guix.texi:13199
  19416. #, no-wrap
  19417. msgid "transferring store items across machines"
  19418. msgstr ""
  19419. #. type: Plain text
  19420. #: guix-git/doc/guix.texi:13206
  19421. 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}:"
  19422. msgstr ""
  19423. #. type: example
  19424. #: guix-git/doc/guix.texi:13210
  19425. #, no-wrap
  19426. msgid ""
  19427. "guix copy --to=@var{user}@@@var{host} \\\n"
  19428. " coreutils $(readlink -f ~/.guix-profile)\n"
  19429. msgstr ""
  19430. #. type: Plain text
  19431. #: guix-git/doc/guix.texi:13214
  19432. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  19433. msgstr ""
  19434. #. type: Plain text
  19435. #: guix-git/doc/guix.texi:13217
  19436. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  19437. msgstr ""
  19438. #. type: example
  19439. #: guix-git/doc/guix.texi:13220
  19440. #, no-wrap
  19441. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  19442. msgstr ""
  19443. #. type: Plain text
  19444. #: guix-git/doc/guix.texi:13225
  19445. 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."
  19446. msgstr ""
  19447. #. type: Plain text
  19448. #: guix-git/doc/guix.texi:13231
  19449. 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."
  19450. msgstr ""
  19451. #. type: example
  19452. #: guix-git/doc/guix.texi:13236
  19453. #, no-wrap
  19454. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  19455. msgstr ""
  19456. #. type: Plain text
  19457. #: guix-git/doc/guix.texi:13239
  19458. msgid "You must always specify one of the following options:"
  19459. msgstr ""
  19460. #. type: item
  19461. #: guix-git/doc/guix.texi:13241
  19462. #, no-wrap
  19463. msgid "--to=@var{spec}"
  19464. msgstr ""
  19465. #. type: itemx
  19466. #: guix-git/doc/guix.texi:13242
  19467. #, no-wrap
  19468. msgid "--from=@var{spec}"
  19469. msgstr ""
  19470. #. type: table
  19471. #: guix-git/doc/guix.texi:13246
  19472. 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}."
  19473. msgstr ""
  19474. #. type: Plain text
  19475. #: guix-git/doc/guix.texi:13250
  19476. 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}."
  19477. msgstr ""
  19478. #. type: Plain text
  19479. #: guix-git/doc/guix.texi:13254
  19480. 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})."
  19481. msgstr ""
  19482. #. type: section
  19483. #: guix-git/doc/guix.texi:13257
  19484. #, no-wrap
  19485. msgid "Invoking @command{guix container}"
  19486. msgstr ""
  19487. #. type: command{#1}
  19488. #: guix-git/doc/guix.texi:13259
  19489. #, no-wrap
  19490. msgid "guix container"
  19491. msgstr ""
  19492. #. type: quotation
  19493. #: guix-git/doc/guix.texi:13263
  19494. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  19495. msgstr ""
  19496. #. type: Plain text
  19497. #: guix-git/doc/guix.texi:13270
  19498. 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."
  19499. msgstr ""
  19500. #. type: example
  19501. #: guix-git/doc/guix.texi:13275
  19502. #, no-wrap
  19503. msgid "guix container @var{action} @var{options}@dots{}\n"
  19504. msgstr ""
  19505. #. type: Plain text
  19506. #: guix-git/doc/guix.texi:13279
  19507. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  19508. msgstr ""
  19509. #. type: Plain text
  19510. #: guix-git/doc/guix.texi:13281
  19511. msgid "The following actions are available:"
  19512. msgstr ""
  19513. #. type: item
  19514. #: guix-git/doc/guix.texi:13283
  19515. #, no-wrap
  19516. msgid "exec"
  19517. msgstr ""
  19518. #. type: table
  19519. #: guix-git/doc/guix.texi:13285
  19520. msgid "Execute a command within the context of a running container."
  19521. msgstr ""
  19522. #. type: table
  19523. #: guix-git/doc/guix.texi:13287
  19524. msgid "The syntax is:"
  19525. msgstr ""
  19526. #. type: example
  19527. #: guix-git/doc/guix.texi:13290
  19528. #, no-wrap
  19529. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  19530. msgstr ""
  19531. #. type: table
  19532. #: guix-git/doc/guix.texi:13296
  19533. 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}."
  19534. msgstr ""
  19535. #. type: table
  19536. #: guix-git/doc/guix.texi:13300
  19537. 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:"
  19538. msgstr ""
  19539. #. type: example
  19540. #: guix-git/doc/guix.texi:13303
  19541. #, no-wrap
  19542. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  19543. msgstr ""
  19544. #. type: table
  19545. #: guix-git/doc/guix.texi:13307
  19546. 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."
  19547. msgstr ""
  19548. #. type: section
  19549. #: guix-git/doc/guix.texi:13311
  19550. #, no-wrap
  19551. msgid "Invoking @command{guix weather}"
  19552. msgstr ""
  19553. #. type: Plain text
  19554. #: guix-git/doc/guix.texi:13320
  19555. 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})."
  19556. msgstr ""
  19557. #. type: cindex
  19558. #: guix-git/doc/guix.texi:13321
  19559. #, no-wrap
  19560. msgid "statistics, for substitutes"
  19561. msgstr ""
  19562. #. type: cindex
  19563. #: guix-git/doc/guix.texi:13322
  19564. #, no-wrap
  19565. msgid "availability of substitutes"
  19566. msgstr ""
  19567. #. type: cindex
  19568. #: guix-git/doc/guix.texi:13323
  19569. #, no-wrap
  19570. msgid "substitute availability"
  19571. msgstr ""
  19572. #. type: cindex
  19573. #: guix-git/doc/guix.texi:13324
  19574. #, no-wrap
  19575. msgid "weather, substitute availability"
  19576. msgstr ""
  19577. #. type: Plain text
  19578. #: guix-git/doc/guix.texi:13326
  19579. msgid "Here's a sample run:"
  19580. msgstr ""
  19581. #. type: example
  19582. #: guix-git/doc/guix.texi:13338
  19583. #, no-wrap
  19584. msgid ""
  19585. "$ guix weather --substitute-urls=https://guix.example.org\n"
  19586. "computing 5,872 package derivations for x86_64-linux...\n"
  19587. "looking for 6,128 store items on https://guix.example.org..\n"
  19588. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  19589. "https://guix.example.org\n"
  19590. " 43.4% substitutes available (2,658 out of 6,128)\n"
  19591. " 7,032.5 MiB of nars (compressed)\n"
  19592. " 19,824.2 MiB on disk (uncompressed)\n"
  19593. " 0.030 seconds per request (182.9 seconds in total)\n"
  19594. " 33.5 requests per second\n"
  19595. "\n"
  19596. msgstr ""
  19597. #. type: example
  19598. #: guix-git/doc/guix.texi:13348
  19599. #, no-wrap
  19600. msgid ""
  19601. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  19602. " 867 queued builds\n"
  19603. " x86_64-linux: 518 (59.7%)\n"
  19604. " i686-linux: 221 (25.5%)\n"
  19605. " aarch64-linux: 128 (14.8%)\n"
  19606. " build rate: 23.41 builds per hour\n"
  19607. " x86_64-linux: 11.16 builds per hour\n"
  19608. " i686-linux: 6.03 builds per hour\n"
  19609. " aarch64-linux: 6.41 builds per hour\n"
  19610. msgstr ""
  19611. #. type: cindex
  19612. #: guix-git/doc/guix.texi:13350
  19613. #, no-wrap
  19614. msgid "continuous integration, statistics"
  19615. msgstr ""
  19616. #. type: Plain text
  19617. #: guix-git/doc/guix.texi:13361
  19618. 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)."
  19619. msgstr ""
  19620. #. type: Plain text
  19621. #: guix-git/doc/guix.texi:13367
  19622. 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."
  19623. msgstr ""
  19624. #. type: example
  19625. #: guix-git/doc/guix.texi:13372
  19626. #, no-wrap
  19627. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  19628. msgstr ""
  19629. #. type: Plain text
  19630. #: guix-git/doc/guix.texi:13380
  19631. 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%."
  19632. msgstr ""
  19633. #. type: Plain text
  19634. #: guix-git/doc/guix.texi:13382
  19635. msgid "The available options are listed below."
  19636. msgstr ""
  19637. #. type: table
  19638. #: guix-git/doc/guix.texi:13388
  19639. 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."
  19640. msgstr ""
  19641. #. type: table
  19642. #: guix-git/doc/guix.texi:13394
  19643. 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."
  19644. msgstr ""
  19645. #. type: table
  19646. #: guix-git/doc/guix.texi:13400
  19647. 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})."
  19648. msgstr ""
  19649. #. type: table
  19650. #: guix-git/doc/guix.texi:13403
  19651. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  19652. msgstr ""
  19653. #. type: item
  19654. #: guix-git/doc/guix.texi:13404
  19655. #, no-wrap
  19656. msgid "--coverage[=@var{count}]"
  19657. msgstr ""
  19658. #. type: itemx
  19659. #: guix-git/doc/guix.texi:13405
  19660. #, no-wrap
  19661. msgid "-c [@var{count}]"
  19662. msgstr ""
  19663. #. type: table
  19664. #: guix-git/doc/guix.texi:13411
  19665. 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:"
  19666. msgstr ""
  19667. #. type: example
  19668. #: guix-git/doc/guix.texi:13425
  19669. #, no-wrap
  19670. msgid ""
  19671. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  19672. "computing 8,983 package derivations for x86_64-linux...\n"
  19673. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  19674. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  19675. "@value{SUBSTITUTE-URLS}\n"
  19676. " 64.7% substitutes available (6,047 out of 9,343)\n"
  19677. "@dots{}\n"
  19678. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  19679. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  19680. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  19681. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  19682. " @dots{}\n"
  19683. msgstr ""
  19684. #. type: table
  19685. #: guix-git/doc/guix.texi:13431
  19686. 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."
  19687. msgstr ""
  19688. #. type: table
  19689. #: guix-git/doc/guix.texi:13435
  19690. 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."
  19691. msgstr ""
  19692. #. type: item
  19693. #: guix-git/doc/guix.texi:13436
  19694. #, no-wrap
  19695. msgid "--display-missing"
  19696. msgstr ""
  19697. #. type: table
  19698. #: guix-git/doc/guix.texi:13438
  19699. msgid "Display the list of store items for which substitutes are missing."
  19700. msgstr ""
  19701. #. type: section
  19702. #: guix-git/doc/guix.texi:13441
  19703. #, no-wrap
  19704. msgid "Invoking @command{guix processes}"
  19705. msgstr ""
  19706. #. type: Plain text
  19707. #: guix-git/doc/guix.texi:13449
  19708. 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:"
  19709. msgstr ""
  19710. #. type: example
  19711. #: guix-git/doc/guix.texi:13455
  19712. #, no-wrap
  19713. msgid ""
  19714. "$ sudo guix processes\n"
  19715. "SessionPID: 19002\n"
  19716. "ClientPID: 19090\n"
  19717. "ClientCommand: guix environment --ad-hoc python\n"
  19718. "\n"
  19719. msgstr ""
  19720. #. type: example
  19721. #: guix-git/doc/guix.texi:13459
  19722. #, no-wrap
  19723. msgid ""
  19724. "SessionPID: 19402\n"
  19725. "ClientPID: 19367\n"
  19726. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  19727. "\n"
  19728. msgstr ""
  19729. #. type: example
  19730. #: guix-git/doc/guix.texi:13472
  19731. #, no-wrap
  19732. msgid ""
  19733. "SessionPID: 19444\n"
  19734. "ClientPID: 19419\n"
  19735. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19736. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  19737. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  19738. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  19739. "ChildPID: 20495\n"
  19740. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19741. "ChildPID: 27733\n"
  19742. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19743. "ChildPID: 27793\n"
  19744. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19745. msgstr ""
  19746. #. type: Plain text
  19747. #: guix-git/doc/guix.texi:13479
  19748. 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."
  19749. msgstr ""
  19750. #. type: Plain text
  19751. #: guix-git/doc/guix.texi:13486
  19752. 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})."
  19753. msgstr ""
  19754. #. type: Plain text
  19755. #: guix-git/doc/guix.texi:13491
  19756. 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:"
  19757. msgstr ""
  19758. #. type: example
  19759. #: guix-git/doc/guix.texi:13497
  19760. #, no-wrap
  19761. msgid ""
  19762. "$ sudo guix processes | \\\n"
  19763. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  19764. "ClientPID: 19419\n"
  19765. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19766. msgstr ""
  19767. #. type: Plain text
  19768. #: guix-git/doc/guix.texi:13500
  19769. msgid "Additional options are listed below."
  19770. msgstr ""
  19771. #. type: table
  19772. #: guix-git/doc/guix.texi:13510
  19773. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  19774. msgstr ""
  19775. #. type: item
  19776. #: guix-git/doc/guix.texi:13511
  19777. #, no-wrap
  19778. msgid "normalized"
  19779. msgstr ""
  19780. #. type: table
  19781. #: guix-git/doc/guix.texi:13518
  19782. 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}."
  19783. msgstr ""
  19784. #. type: example
  19785. #: guix-git/doc/guix.texi:13528
  19786. #, no-wrap
  19787. msgid ""
  19788. "$ guix processes --format=normalized | \\\n"
  19789. " recsel \\\n"
  19790. " -j Session \\\n"
  19791. " -t ChildProcess \\\n"
  19792. " -p Session.PID,PID \\\n"
  19793. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  19794. "PID: 4435\n"
  19795. "Session_PID: 4278\n"
  19796. "\n"
  19797. msgstr ""
  19798. #. type: example
  19799. #: guix-git/doc/guix.texi:13531
  19800. #, no-wrap
  19801. msgid ""
  19802. "PID: 4554\n"
  19803. "Session_PID: 4278\n"
  19804. "\n"
  19805. msgstr ""
  19806. #. type: example
  19807. #: guix-git/doc/guix.texi:13534
  19808. #, no-wrap
  19809. msgid ""
  19810. "PID: 4646\n"
  19811. "Session_PID: 4278\n"
  19812. msgstr ""
  19813. #. type: cindex
  19814. #: guix-git/doc/guix.texi:13541
  19815. #, no-wrap
  19816. msgid "system configuration"
  19817. msgstr ""
  19818. #. type: Plain text
  19819. #: guix-git/doc/guix.texi:13547
  19820. 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."
  19821. msgstr ""
  19822. #. type: Plain text
  19823. #: guix-git/doc/guix.texi:13557
  19824. 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."
  19825. msgstr ""
  19826. #. type: Plain text
  19827. #: guix-git/doc/guix.texi:13562
  19828. 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."
  19829. msgstr ""
  19830. #. type: Plain text
  19831. #: guix-git/doc/guix.texi:13591
  19832. 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:"
  19833. msgstr ""
  19834. #. type: code{#1}
  19835. #: guix-git/doc/guix.texi:13592 guix-git/doc/guix.texi:34419
  19836. #, no-wrap
  19837. msgid "operating-system"
  19838. msgstr ""
  19839. #. type: include
  19840. #: guix-git/doc/guix.texi:13594
  19841. #, no-wrap
  19842. msgid "os-config-bare-bones.texi"
  19843. msgstr ""
  19844. #. type: Plain text
  19845. #: guix-git/doc/guix.texi:13601
  19846. 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."
  19847. msgstr ""
  19848. #. type: Plain text
  19849. #: guix-git/doc/guix.texi:13606
  19850. 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}."
  19851. msgstr ""
  19852. #. type: unnumberedsubsec
  19853. #: guix-git/doc/guix.texi:13607
  19854. #, no-wrap
  19855. msgid "Bootloader"
  19856. msgstr ""
  19857. #. type: cindex
  19858. #: guix-git/doc/guix.texi:13609
  19859. #, no-wrap
  19860. msgid "legacy boot, on Intel machines"
  19861. msgstr ""
  19862. #. type: cindex
  19863. #: guix-git/doc/guix.texi:13610
  19864. #, no-wrap
  19865. msgid "BIOS boot, on Intel machines"
  19866. msgstr ""
  19867. #. type: cindex
  19868. #: guix-git/doc/guix.texi:13611
  19869. #, no-wrap
  19870. msgid "UEFI boot"
  19871. msgstr ""
  19872. #. type: cindex
  19873. #: guix-git/doc/guix.texi:13612
  19874. #, no-wrap
  19875. msgid "EFI boot"
  19876. msgstr ""
  19877. #. type: Plain text
  19878. #: guix-git/doc/guix.texi:13618
  19879. 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:"
  19880. msgstr ""
  19881. #. type: lisp
  19882. #: guix-git/doc/guix.texi:13623
  19883. #, no-wrap
  19884. msgid ""
  19885. "(bootloader-configuration\n"
  19886. " (bootloader grub-efi-bootloader)\n"
  19887. " (targets '(\"/boot/efi\")))\n"
  19888. msgstr ""
  19889. #. type: Plain text
  19890. #: guix-git/doc/guix.texi:13627
  19891. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  19892. msgstr ""
  19893. #. type: unnumberedsubsec
  19894. #: guix-git/doc/guix.texi:13628
  19895. #, no-wrap
  19896. msgid "Globally-Visible Packages"
  19897. msgstr ""
  19898. #. type: vindex
  19899. #: guix-git/doc/guix.texi:13630
  19900. #, no-wrap
  19901. msgid "%base-packages"
  19902. msgstr ""
  19903. #. type: Plain text
  19904. #: guix-git/doc/guix.texi:13643
  19905. 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:"
  19906. msgstr ""
  19907. #. type: lisp
  19908. #: guix-git/doc/guix.texi:13647
  19909. #, no-wrap
  19910. msgid ""
  19911. "(use-modules (gnu packages))\n"
  19912. "(use-modules (gnu packages dns))\n"
  19913. "\n"
  19914. msgstr ""
  19915. #. type: lisp
  19916. #: guix-git/doc/guix.texi:13652
  19917. #, no-wrap
  19918. msgid ""
  19919. "(operating-system\n"
  19920. " ;; ...\n"
  19921. " (packages (cons (list isc-bind \"utils\")\n"
  19922. " %base-packages)))\n"
  19923. msgstr ""
  19924. #. type: findex
  19925. #: guix-git/doc/guix.texi:13654
  19926. #, no-wrap
  19927. msgid "specification->package"
  19928. msgstr ""
  19929. #. type: Plain text
  19930. #: guix-git/doc/guix.texi:13663
  19931. 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:"
  19932. msgstr ""
  19933. #. type: lisp
  19934. #: guix-git/doc/guix.texi:13666
  19935. #, no-wrap
  19936. msgid ""
  19937. "(use-modules (gnu packages))\n"
  19938. "\n"
  19939. msgstr ""
  19940. #. type: lisp
  19941. #: guix-git/doc/guix.texi:13672
  19942. #, no-wrap
  19943. msgid ""
  19944. "(operating-system\n"
  19945. " ;; ...\n"
  19946. " (packages (append (map specification->package\n"
  19947. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  19948. " %base-packages)))\n"
  19949. msgstr ""
  19950. #. type: unnumberedsubsec
  19951. #: guix-git/doc/guix.texi:13674
  19952. #, no-wrap
  19953. msgid "System Services"
  19954. msgstr ""
  19955. #. type: cindex
  19956. #: guix-git/doc/guix.texi:13676 guix-git/doc/guix.texi:33179
  19957. #: guix-git/doc/guix.texi:34648
  19958. #, no-wrap
  19959. msgid "services"
  19960. msgstr ""
  19961. #. type: vindex
  19962. #: guix-git/doc/guix.texi:13677
  19963. #, no-wrap
  19964. msgid "%base-services"
  19965. msgstr ""
  19966. #. type: Plain text
  19967. #: guix-git/doc/guix.texi:13687
  19968. 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})."
  19969. msgstr ""
  19970. #. type: cindex
  19971. #: guix-git/doc/guix.texi:13688
  19972. #, no-wrap
  19973. msgid "customization, of services"
  19974. msgstr ""
  19975. #. type: findex
  19976. #: guix-git/doc/guix.texi:13689
  19977. #, no-wrap
  19978. msgid "modify-services"
  19979. msgstr ""
  19980. #. type: Plain text
  19981. #: guix-git/doc/guix.texi:13693
  19982. 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."
  19983. msgstr ""
  19984. #. type: anchor{#1}
  19985. #: guix-git/doc/guix.texi:13699
  19986. msgid "auto-login to TTY"
  19987. msgstr ""
  19988. #. type: Plain text
  19989. #: guix-git/doc/guix.texi:13699
  19990. 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:"
  19991. msgstr ""
  19992. #. type: lisp
  19993. #: guix-git/doc/guix.texi:13716
  19994. #, no-wrap
  19995. msgid ""
  19996. "(define %my-services\n"
  19997. " ;; My very own list of services.\n"
  19998. " (modify-services %base-services\n"
  19999. " (guix-service-type config =>\n"
  20000. " (guix-configuration\n"
  20001. " (inherit config)\n"
  20002. " ;; Fetch substitutes from example.org.\n"
  20003. " (substitute-urls\n"
  20004. " (list \"https://example.org/guix\"\n"
  20005. " \"https://ci.guix.gnu.org\"))))\n"
  20006. " (mingetty-service-type config =>\n"
  20007. " (mingetty-configuration\n"
  20008. " (inherit config)\n"
  20009. " ;; Automatially log in as \"guest\".\n"
  20010. " (auto-login \"guest\")))))\n"
  20011. "\n"
  20012. msgstr ""
  20013. #. type: lisp
  20014. #: guix-git/doc/guix.texi:13720
  20015. #, no-wrap
  20016. msgid ""
  20017. "(operating-system\n"
  20018. " ;; @dots{}\n"
  20019. " (services %my-services))\n"
  20020. msgstr ""
  20021. #. type: Plain text
  20022. #: guix-git/doc/guix.texi:13733
  20023. 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."
  20024. msgstr ""
  20025. #. type: Plain text
  20026. #: guix-git/doc/guix.texi:13740
  20027. 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:"
  20028. msgstr ""
  20029. #. type: include
  20030. #: guix-git/doc/guix.texi:13742
  20031. #, no-wrap
  20032. msgid "os-config-desktop.texi"
  20033. msgstr ""
  20034. #. type: Plain text
  20035. #: guix-git/doc/guix.texi:13747
  20036. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  20037. msgstr ""
  20038. #. type: include
  20039. #: guix-git/doc/guix.texi:13749
  20040. #, no-wrap
  20041. msgid "os-config-lightweight-desktop.texi"
  20042. msgstr ""
  20043. #. type: Plain text
  20044. #: guix-git/doc/guix.texi:13755
  20045. 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."
  20046. msgstr ""
  20047. #. type: Plain text
  20048. #: guix-git/doc/guix.texi:13759
  20049. 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."
  20050. msgstr ""
  20051. #. type: Plain text
  20052. #: guix-git/doc/guix.texi:13766
  20053. 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:"
  20054. msgstr ""
  20055. #. type: lisp
  20056. #: guix-git/doc/guix.texi:13771
  20057. #, no-wrap
  20058. msgid ""
  20059. "(remove (lambda (service)\n"
  20060. " (eq? (service-kind service) avahi-service-type))\n"
  20061. " %desktop-services)\n"
  20062. msgstr ""
  20063. #. type: Plain text
  20064. #: guix-git/doc/guix.texi:13774
  20065. msgid "Alternatively, the @code{modify-services} macro can be used:"
  20066. msgstr ""
  20067. #. type: lisp
  20068. #: guix-git/doc/guix.texi:13778
  20069. #, no-wrap
  20070. msgid ""
  20071. "(modify-services %desktop-services\n"
  20072. " (delete avahi-service-type))\n"
  20073. msgstr ""
  20074. #. type: unnumberedsubsec
  20075. #: guix-git/doc/guix.texi:13781
  20076. #, no-wrap
  20077. msgid "Instantiating the System"
  20078. msgstr ""
  20079. #. type: Plain text
  20080. #: guix-git/doc/guix.texi:13788
  20081. 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})."
  20082. msgstr ""
  20083. #. type: Plain text
  20084. #: guix-git/doc/guix.texi:13796
  20085. 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."
  20086. msgstr ""
  20087. #. type: cindex
  20088. #: guix-git/doc/guix.texi:13797
  20089. #, no-wrap
  20090. msgid "roll-back, of the operating system"
  20091. msgstr ""
  20092. #. type: Plain text
  20093. #: guix-git/doc/guix.texi:13807
  20094. 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}."
  20095. msgstr ""
  20096. #. type: Plain text
  20097. #: guix-git/doc/guix.texi:13813
  20098. 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})."
  20099. msgstr ""
  20100. #. type: unnumberedsubsec
  20101. #: guix-git/doc/guix.texi:13814
  20102. #, no-wrap
  20103. msgid "The Programming Interface"
  20104. msgstr ""
  20105. #. type: Plain text
  20106. #: guix-git/doc/guix.texi:13819
  20107. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  20108. msgstr ""
  20109. #. type: deffn
  20110. #: guix-git/doc/guix.texi:13820
  20111. #, no-wrap
  20112. msgid "{Monadic Procedure} operating-system-derivation os"
  20113. msgstr ""
  20114. #. type: deffn
  20115. #: guix-git/doc/guix.texi:13823
  20116. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  20117. msgstr ""
  20118. #. type: deffn
  20119. #: guix-git/doc/guix.texi:13827
  20120. 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}."
  20121. msgstr ""
  20122. #. type: Plain text
  20123. #: guix-git/doc/guix.texi:13832
  20124. 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!"
  20125. msgstr ""
  20126. #. type: section
  20127. #: guix-git/doc/guix.texi:13835
  20128. #, no-wrap
  20129. msgid "@code{operating-system} Reference"
  20130. msgstr ""
  20131. #. type: Plain text
  20132. #: guix-git/doc/guix.texi:13840
  20133. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  20134. msgstr ""
  20135. #. type: deftp
  20136. #: guix-git/doc/guix.texi:13841
  20137. #, no-wrap
  20138. msgid "{Data Type} operating-system"
  20139. msgstr ""
  20140. #. type: deftp
  20141. #: guix-git/doc/guix.texi:13845
  20142. 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})."
  20143. msgstr ""
  20144. #. type: item
  20145. #: guix-git/doc/guix.texi:13847
  20146. #, no-wrap
  20147. msgid "@code{kernel} (default: @code{linux-libre})"
  20148. msgstr ""
  20149. #. type: table
  20150. #: guix-git/doc/guix.texi:13852
  20151. 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.}."
  20152. msgstr ""
  20153. #. type: code{#1}
  20154. #: guix-git/doc/guix.texi:13853 guix-git/doc/guix.texi:29626
  20155. #, no-wrap
  20156. msgid "hurd"
  20157. msgstr ""
  20158. #. type: item
  20159. #: guix-git/doc/guix.texi:13854
  20160. #, no-wrap
  20161. msgid "@code{hurd} (default: @code{#f})"
  20162. msgstr ""
  20163. #. type: table
  20164. #: guix-git/doc/guix.texi:13859
  20165. 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."
  20166. msgstr ""
  20167. #. type: quotation
  20168. #: guix-git/doc/guix.texi:13862
  20169. msgid "This feature is experimental and only supported for disk images."
  20170. msgstr ""
  20171. #. type: item
  20172. #: guix-git/doc/guix.texi:13864
  20173. #, no-wrap
  20174. msgid "@code{kernel-loadable-modules} (default: '())"
  20175. msgstr ""
  20176. #. type: table
  20177. #: guix-git/doc/guix.texi:13867
  20178. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  20179. msgstr ""
  20180. #. type: item
  20181. #: guix-git/doc/guix.texi:13868
  20182. #, no-wrap
  20183. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  20184. msgstr ""
  20185. #. type: table
  20186. #: guix-git/doc/guix.texi:13871
  20187. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  20188. msgstr ""
  20189. #. type: code{#1}
  20190. #: guix-git/doc/guix.texi:13872 guix-git/doc/guix.texi:33411
  20191. #: guix-git/doc/guix.texi:33430
  20192. #, no-wrap
  20193. msgid "bootloader"
  20194. msgstr ""
  20195. #. type: table
  20196. #: guix-git/doc/guix.texi:13874
  20197. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  20198. msgstr ""
  20199. #. type: code{#1}
  20200. #: guix-git/doc/guix.texi:13875 guix-git/doc/guix.texi:33604
  20201. #, no-wrap
  20202. msgid "label"
  20203. msgstr ""
  20204. #. type: table
  20205. #: guix-git/doc/guix.texi:13878
  20206. 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."
  20207. msgstr ""
  20208. #. type: item
  20209. #: guix-git/doc/guix.texi:13879 guix-git/doc/guix.texi:15499
  20210. #: guix-git/doc/guix.texi:18459 guix-git/doc/guix.texi:33534
  20211. #, no-wrap
  20212. msgid "@code{keyboard-layout} (default: @code{#f})"
  20213. msgstr ""
  20214. #. type: table
  20215. #: guix-git/doc/guix.texi:13884
  20216. 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."
  20217. msgstr ""
  20218. #. type: table
  20219. #: guix-git/doc/guix.texi:13889
  20220. 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})."
  20221. msgstr ""
  20222. #. type: quotation
  20223. #: guix-git/doc/guix.texi:13896
  20224. 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."
  20225. msgstr ""
  20226. #. type: item
  20227. #: guix-git/doc/guix.texi:13898
  20228. #, no-wrap
  20229. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  20230. msgstr ""
  20231. #. type: cindex
  20232. #: guix-git/doc/guix.texi:13899 guix-git/doc/guix.texi:33216
  20233. #: guix-git/doc/guix.texi:33339
  20234. #, no-wrap
  20235. msgid "initrd"
  20236. msgstr ""
  20237. #. type: cindex
  20238. #: guix-git/doc/guix.texi:13900 guix-git/doc/guix.texi:33217
  20239. #: guix-git/doc/guix.texi:33340
  20240. #, no-wrap
  20241. msgid "initial RAM disk"
  20242. msgstr ""
  20243. #. type: table
  20244. #: guix-git/doc/guix.texi:13903
  20245. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  20246. msgstr ""
  20247. #. type: item
  20248. #: guix-git/doc/guix.texi:13904
  20249. #, no-wrap
  20250. msgid "@code{initrd} (default: @code{base-initrd})"
  20251. msgstr ""
  20252. #. type: table
  20253. #: guix-git/doc/guix.texi:13908
  20254. 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}."
  20255. msgstr ""
  20256. #. type: item
  20257. #: guix-git/doc/guix.texi:13909
  20258. #, no-wrap
  20259. msgid "@code{firmware} (default: @code{%base-firmware})"
  20260. msgstr ""
  20261. #. type: cindex
  20262. #: guix-git/doc/guix.texi:13910
  20263. #, no-wrap
  20264. msgid "firmware"
  20265. msgstr ""
  20266. #. type: table
  20267. #: guix-git/doc/guix.texi:13912
  20268. msgid "List of firmware packages loadable by the operating system kernel."
  20269. msgstr ""
  20270. #. type: table
  20271. #: guix-git/doc/guix.texi:13917
  20272. 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."
  20273. msgstr ""
  20274. #. type: code{#1}
  20275. #: guix-git/doc/guix.texi:13918 guix-git/doc/guix.texi:34438
  20276. #, no-wrap
  20277. msgid "host-name"
  20278. msgstr ""
  20279. #. type: table
  20280. #: guix-git/doc/guix.texi:13920
  20281. msgid "The host name."
  20282. msgstr ""
  20283. #. type: code{#1}
  20284. #: guix-git/doc/guix.texi:13921
  20285. #, no-wrap
  20286. msgid "hosts-file"
  20287. msgstr ""
  20288. #. type: cindex
  20289. #: guix-git/doc/guix.texi:13922
  20290. #, no-wrap
  20291. msgid "hosts file"
  20292. msgstr ""
  20293. #. type: table
  20294. #: guix-git/doc/guix.texi:13927
  20295. 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}."
  20296. msgstr ""
  20297. #. type: item
  20298. #: guix-git/doc/guix.texi:13928
  20299. #, no-wrap
  20300. msgid "@code{mapped-devices} (default: @code{'()})"
  20301. msgstr ""
  20302. #. type: table
  20303. #: guix-git/doc/guix.texi:13930
  20304. msgid "A list of mapped devices. @xref{Mapped Devices}."
  20305. msgstr ""
  20306. #. type: code{#1}
  20307. #: guix-git/doc/guix.texi:13931
  20308. #, no-wrap
  20309. msgid "file-systems"
  20310. msgstr ""
  20311. #. type: table
  20312. #: guix-git/doc/guix.texi:13933
  20313. msgid "A list of file systems. @xref{File Systems}."
  20314. msgstr ""
  20315. #. type: cindex
  20316. #: guix-git/doc/guix.texi:13934
  20317. #, no-wrap
  20318. msgid "swap devices"
  20319. msgstr ""
  20320. #. type: cindex
  20321. #: guix-git/doc/guix.texi:13935
  20322. #, no-wrap
  20323. msgid "swap space"
  20324. msgstr ""
  20325. #. type: item
  20326. #: guix-git/doc/guix.texi:13936
  20327. #, no-wrap
  20328. msgid "@code{swap-devices} (default: @code{'()})"
  20329. msgstr ""
  20330. #. type: table
  20331. #: guix-git/doc/guix.texi:13941
  20332. 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:"
  20333. msgstr ""
  20334. #. type: item
  20335. #: guix-git/doc/guix.texi:13943
  20336. #, no-wrap
  20337. msgid "(list (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\"))"
  20338. msgstr ""
  20339. #. type: table
  20340. #: guix-git/doc/guix.texi:13947
  20341. 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."
  20342. msgstr ""
  20343. #. type: item
  20344. #: guix-git/doc/guix.texi:13948
  20345. #, no-wrap
  20346. msgid "(list (file-system-label \"swap\"))"
  20347. msgstr ""
  20348. #. type: table
  20349. #: guix-git/doc/guix.texi:13952
  20350. 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."
  20351. msgstr ""
  20352. #. type: item
  20353. #: guix-git/doc/guix.texi:13953
  20354. #, no-wrap
  20355. msgid "(list \"/swapfile\")"
  20356. msgstr ""
  20357. #. type: table
  20358. #: guix-git/doc/guix.texi:13955
  20359. msgid "Use the file @file{/swapfile} as swap space."
  20360. msgstr ""
  20361. #. type: item
  20362. #: guix-git/doc/guix.texi:13956
  20363. #, no-wrap
  20364. msgid "(list \"/dev/sda3\" \"/dev/sdb2\")"
  20365. msgstr ""
  20366. #. type: table
  20367. #: guix-git/doc/guix.texi:13960
  20368. 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."
  20369. msgstr ""
  20370. #. type: table
  20371. #: guix-git/doc/guix.texi:13966
  20372. 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}."
  20373. msgstr ""
  20374. #. type: item
  20375. #: guix-git/doc/guix.texi:13967
  20376. #, no-wrap
  20377. msgid "@code{users} (default: @code{%base-user-accounts})"
  20378. msgstr ""
  20379. #. type: itemx
  20380. #: guix-git/doc/guix.texi:13968
  20381. #, no-wrap
  20382. msgid "@code{groups} (default: @code{%base-groups})"
  20383. msgstr ""
  20384. #. type: table
  20385. #: guix-git/doc/guix.texi:13970
  20386. msgid "List of user accounts and groups. @xref{User Accounts}."
  20387. msgstr ""
  20388. #. type: table
  20389. #: guix-git/doc/guix.texi:13973
  20390. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  20391. msgstr ""
  20392. #. type: item
  20393. #: guix-git/doc/guix.texi:13974
  20394. #, no-wrap
  20395. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  20396. msgstr ""
  20397. #. type: table
  20398. #: guix-git/doc/guix.texi:13978
  20399. 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."
  20400. msgstr ""
  20401. #. type: table
  20402. #: guix-git/doc/guix.texi:13980
  20403. msgid "For instance, a valid value may look like this:"
  20404. msgstr ""
  20405. #. type: lisp
  20406. #: guix-git/doc/guix.texi:13986
  20407. #, no-wrap
  20408. msgid ""
  20409. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  20410. " (\".guile\" ,(plain-file \"guile\"\n"
  20411. " \"(use-modules (ice-9 readline))\n"
  20412. " (activate-readline)\")))\n"
  20413. msgstr ""
  20414. #. type: item
  20415. #: guix-git/doc/guix.texi:13988
  20416. #, no-wrap
  20417. msgid "@code{issue} (default: @code{%default-issue})"
  20418. msgstr ""
  20419. #. type: table
  20420. #: guix-git/doc/guix.texi:13991
  20421. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  20422. msgstr ""
  20423. #. type: item
  20424. #: guix-git/doc/guix.texi:13992
  20425. #, no-wrap
  20426. msgid "@code{packages} (default: @code{%base-packages})"
  20427. msgstr ""
  20428. #. type: table
  20429. #: guix-git/doc/guix.texi:13996
  20430. 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:"
  20431. msgstr ""
  20432. #. type: lisp
  20433. #: guix-git/doc/guix.texi:14001
  20434. #, no-wrap
  20435. msgid ""
  20436. "(cons* git ; the default \"out\" output\n"
  20437. " (list git \"send-email\") ; another output of git\n"
  20438. " %base-packages) ; the default set\n"
  20439. msgstr ""
  20440. #. type: table
  20441. #: guix-git/doc/guix.texi:14006
  20442. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  20443. msgstr ""
  20444. #. type: code{#1}
  20445. #: guix-git/doc/guix.texi:14007
  20446. #, no-wrap
  20447. msgid "timezone"
  20448. msgstr ""
  20449. #. type: table
  20450. #: guix-git/doc/guix.texi:14009
  20451. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  20452. msgstr ""
  20453. #. type: table
  20454. #: guix-git/doc/guix.texi:14013
  20455. 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."
  20456. msgstr ""
  20457. #. type: item
  20458. #: guix-git/doc/guix.texi:14014 guix-git/doc/guix.texi:20064
  20459. #, no-wrap
  20460. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  20461. msgstr ""
  20462. #. type: table
  20463. #: guix-git/doc/guix.texi:14017
  20464. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  20465. msgstr ""
  20466. #. type: item
  20467. #: guix-git/doc/guix.texi:14018
  20468. #, no-wrap
  20469. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  20470. msgstr ""
  20471. #. type: table
  20472. #: guix-git/doc/guix.texi:14021
  20473. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  20474. msgstr ""
  20475. #. type: item
  20476. #: guix-git/doc/guix.texi:14022
  20477. #, no-wrap
  20478. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  20479. msgstr ""
  20480. #. type: table
  20481. #: guix-git/doc/guix.texi:14026
  20482. 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."
  20483. msgstr ""
  20484. #. type: item
  20485. #: guix-git/doc/guix.texi:14027
  20486. #, no-wrap
  20487. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  20488. msgstr ""
  20489. #. type: table
  20490. #: guix-git/doc/guix.texi:14031
  20491. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  20492. msgstr ""
  20493. #. type: item
  20494. #: guix-git/doc/guix.texi:14032
  20495. #, no-wrap
  20496. msgid "@code{services} (default: @code{%base-services})"
  20497. msgstr ""
  20498. #. type: table
  20499. #: guix-git/doc/guix.texi:14034
  20500. msgid "A list of service objects denoting system services. @xref{Services}."
  20501. msgstr ""
  20502. #. type: cindex
  20503. #: guix-git/doc/guix.texi:14035
  20504. #, no-wrap
  20505. msgid "essential services"
  20506. msgstr ""
  20507. #. type: item
  20508. #: guix-git/doc/guix.texi:14036
  20509. #, no-wrap
  20510. msgid "@code{essential-services} (default: ...)"
  20511. msgstr ""
  20512. #. type: table
  20513. #: guix-git/doc/guix.texi:14041
  20514. 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."
  20515. msgstr ""
  20516. #. type: item
  20517. #: guix-git/doc/guix.texi:14042
  20518. #, no-wrap
  20519. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  20520. msgstr ""
  20521. #. type: cindex
  20522. #: guix-git/doc/guix.texi:14043
  20523. #, no-wrap
  20524. msgid "PAM"
  20525. msgstr ""
  20526. #. type: cindex
  20527. #: guix-git/doc/guix.texi:14044
  20528. #, no-wrap
  20529. msgid "pluggable authentication modules"
  20530. msgstr ""
  20531. #. type: table
  20532. #: guix-git/doc/guix.texi:14047
  20533. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  20534. msgstr ""
  20535. #. type: item
  20536. #: guix-git/doc/guix.texi:14048
  20537. #, no-wrap
  20538. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  20539. msgstr ""
  20540. #. type: table
  20541. #: guix-git/doc/guix.texi:14051
  20542. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  20543. msgstr ""
  20544. #. type: item
  20545. #: guix-git/doc/guix.texi:14052
  20546. #, no-wrap
  20547. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  20548. msgstr ""
  20549. #. type: cindex
  20550. #: guix-git/doc/guix.texi:14053
  20551. #, no-wrap
  20552. msgid "sudoers file"
  20553. msgstr ""
  20554. #. type: table
  20555. #: guix-git/doc/guix.texi:14056
  20556. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  20557. msgstr ""
  20558. #. type: table
  20559. #: guix-git/doc/guix.texi:14061
  20560. 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}."
  20561. msgstr ""
  20562. #. type: deffn
  20563. #: guix-git/doc/guix.texi:14064
  20564. #, no-wrap
  20565. msgid "{Scheme Syntax} this-operating-system"
  20566. msgstr ""
  20567. #. type: deffn
  20568. #: guix-git/doc/guix.texi:14067
  20569. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  20570. msgstr ""
  20571. #. type: deffn
  20572. #: guix-git/doc/guix.texi:14070
  20573. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  20574. msgstr ""
  20575. #. type: lisp
  20576. #: guix-git/doc/guix.texi:14073 guix-git/doc/guix.texi:17680
  20577. #, no-wrap
  20578. msgid ""
  20579. "(use-modules (gnu) (guix))\n"
  20580. "\n"
  20581. msgstr ""
  20582. #. type: lisp
  20583. #: guix-git/doc/guix.texi:14078
  20584. #, no-wrap
  20585. msgid ""
  20586. "(operating-system\n"
  20587. " ;; ...\n"
  20588. " (label (package-full-name\n"
  20589. " (operating-system-kernel this-operating-system))))\n"
  20590. msgstr ""
  20591. #. type: deffn
  20592. #: guix-git/doc/guix.texi:14082
  20593. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  20594. msgstr ""
  20595. #. type: Plain text
  20596. #: guix-git/doc/guix.texi:14093
  20597. 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:"
  20598. msgstr ""
  20599. #. type: lisp
  20600. #: guix-git/doc/guix.texi:14099
  20601. #, no-wrap
  20602. msgid ""
  20603. "(file-system\n"
  20604. " (mount-point \"/home\")\n"
  20605. " (device \"/dev/sda3\")\n"
  20606. " (type \"ext4\"))\n"
  20607. msgstr ""
  20608. #. type: Plain text
  20609. #: guix-git/doc/guix.texi:14103
  20610. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  20611. msgstr ""
  20612. #. type: deftp
  20613. #: guix-git/doc/guix.texi:14104
  20614. #, no-wrap
  20615. msgid "{Data Type} file-system"
  20616. msgstr ""
  20617. #. type: deftp
  20618. #: guix-git/doc/guix.texi:14107
  20619. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  20620. msgstr ""
  20621. #. type: item
  20622. #: guix-git/doc/guix.texi:14109 guix-git/doc/guix.texi:14489
  20623. #, no-wrap
  20624. msgid "type"
  20625. msgstr ""
  20626. #. type: table
  20627. #: guix-git/doc/guix.texi:14112
  20628. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  20629. msgstr ""
  20630. #. type: code{#1}
  20631. #: guix-git/doc/guix.texi:14113
  20632. #, no-wrap
  20633. msgid "mount-point"
  20634. msgstr ""
  20635. #. type: table
  20636. #: guix-git/doc/guix.texi:14115
  20637. msgid "This designates the place where the file system is to be mounted."
  20638. msgstr ""
  20639. #. type: code{#1}
  20640. #: guix-git/doc/guix.texi:14116
  20641. #, no-wrap
  20642. msgid "device"
  20643. msgstr ""
  20644. #. type: table
  20645. #: guix-git/doc/guix.texi:14126
  20646. 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.}."
  20647. msgstr ""
  20648. #. type: findex
  20649. #: guix-git/doc/guix.texi:14127
  20650. #, no-wrap
  20651. msgid "file-system-label"
  20652. msgstr ""
  20653. #. type: table
  20654. #: guix-git/doc/guix.texi:14132
  20655. 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:"
  20656. msgstr ""
  20657. #. type: lisp
  20658. #: guix-git/doc/guix.texi:14138
  20659. #, no-wrap
  20660. msgid ""
  20661. "(file-system\n"
  20662. " (mount-point \"/home\")\n"
  20663. " (type \"ext4\")\n"
  20664. " (device (file-system-label \"my-home\")))\n"
  20665. msgstr ""
  20666. #. type: code{#1}
  20667. #: guix-git/doc/guix.texi:14140 guix-git/doc/guix.texi:32023
  20668. #: guix-git/doc/guix.texi:32039
  20669. #, no-wrap
  20670. msgid "uuid"
  20671. msgstr ""
  20672. #. type: table
  20673. #: guix-git/doc/guix.texi:14148
  20674. 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:"
  20675. msgstr ""
  20676. #. type: lisp
  20677. #: guix-git/doc/guix.texi:14154
  20678. #, no-wrap
  20679. msgid ""
  20680. "(file-system\n"
  20681. " (mount-point \"/home\")\n"
  20682. " (type \"ext4\")\n"
  20683. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  20684. msgstr ""
  20685. #. type: table
  20686. #: guix-git/doc/guix.texi:14162
  20687. 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."
  20688. msgstr ""
  20689. #. type: item
  20690. #: guix-git/doc/guix.texi:14163
  20691. #, no-wrap
  20692. msgid "@code{flags} (default: @code{'()})"
  20693. msgstr ""
  20694. #. type: table
  20695. #: guix-git/doc/guix.texi:14173
  20696. 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."
  20697. msgstr ""
  20698. #. type: item
  20699. #: guix-git/doc/guix.texi:14174
  20700. #, no-wrap
  20701. msgid "@code{options} (default: @code{#f})"
  20702. msgstr ""
  20703. #. type: table
  20704. #: guix-git/doc/guix.texi:14183
  20705. 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."
  20706. msgstr ""
  20707. #. type: item
  20708. #: guix-git/doc/guix.texi:14184
  20709. #, no-wrap
  20710. msgid "@code{mount?} (default: @code{#t})"
  20711. msgstr ""
  20712. #. type: table
  20713. #: guix-git/doc/guix.texi:14189
  20714. 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."
  20715. msgstr ""
  20716. #. type: item
  20717. #: guix-git/doc/guix.texi:14190
  20718. #, no-wrap
  20719. msgid "@code{needed-for-boot?} (default: @code{#f})"
  20720. msgstr ""
  20721. #. type: table
  20722. #: guix-git/doc/guix.texi:14195
  20723. 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."
  20724. msgstr ""
  20725. #. type: item
  20726. #: guix-git/doc/guix.texi:14196
  20727. #, no-wrap
  20728. msgid "@code{check?} (default: @code{#t})"
  20729. msgstr ""
  20730. #. type: table
  20731. #: guix-git/doc/guix.texi:14200
  20732. 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."
  20733. msgstr ""
  20734. #. type: item
  20735. #: guix-git/doc/guix.texi:14201
  20736. #, no-wrap
  20737. msgid "@code{skip-check-if-clean?} (default: @code{#t})"
  20738. msgstr ""
  20739. #. type: table
  20740. #: guix-git/doc/guix.texi:14206
  20741. 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."
  20742. msgstr ""
  20743. #. type: table
  20744. #: guix-git/doc/guix.texi:14210
  20745. 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!"
  20746. msgstr ""
  20747. #. type: table
  20748. #: guix-git/doc/guix.texi:14214
  20749. 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."
  20750. msgstr ""
  20751. #. type: item
  20752. #: guix-git/doc/guix.texi:14215
  20753. #, no-wrap
  20754. msgid "@code{repair} (default: @code{'preen})"
  20755. msgstr ""
  20756. #. type: table
  20757. #: guix-git/doc/guix.texi:14218
  20758. msgid "When @code{check?} finds errors, it can (try to) repair them and continue booting. This option controls when and how to do so."
  20759. msgstr ""
  20760. #. type: table
  20761. #: guix-git/doc/guix.texi:14222
  20762. 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."
  20763. msgstr ""
  20764. #. type: table
  20765. #: guix-git/doc/guix.texi:14225
  20766. 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."
  20767. msgstr ""
  20768. #. type: table
  20769. #: guix-git/doc/guix.texi:14229
  20770. 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''."
  20771. msgstr ""
  20772. #. type: item
  20773. #: guix-git/doc/guix.texi:14230
  20774. #, no-wrap
  20775. msgid "@code{create-mount-point?} (default: @code{#f})"
  20776. msgstr ""
  20777. #. type: table
  20778. #: guix-git/doc/guix.texi:14232
  20779. msgid "When true, the mount point is created if it does not exist yet."
  20780. msgstr ""
  20781. #. type: item
  20782. #: guix-git/doc/guix.texi:14233
  20783. #, no-wrap
  20784. msgid "@code{mount-may-fail?} (default: @code{#f})"
  20785. msgstr ""
  20786. #. type: table
  20787. #: guix-git/doc/guix.texi:14238
  20788. 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."
  20789. msgstr ""
  20790. #. type: item
  20791. #: guix-git/doc/guix.texi:14239
  20792. #, no-wrap
  20793. msgid "@code{dependencies} (default: @code{'()})"
  20794. msgstr ""
  20795. #. type: table
  20796. #: guix-git/doc/guix.texi:14243
  20797. 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."
  20798. msgstr ""
  20799. #. type: table
  20800. #: guix-git/doc/guix.texi:14247
  20801. 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}."
  20802. msgstr ""
  20803. #. type: table
  20804. #: guix-git/doc/guix.texi:14250
  20805. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  20806. msgstr ""
  20807. #. type: deffn
  20808. #: guix-git/doc/guix.texi:14253
  20809. #, no-wrap
  20810. msgid "{Scheme Procedure} file-system-label @var{str}"
  20811. msgstr ""
  20812. #. type: deffn
  20813. #: guix-git/doc/guix.texi:14256
  20814. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  20815. msgstr ""
  20816. #. type: lisp
  20817. #: guix-git/doc/guix.texi:14260
  20818. #, no-wrap
  20819. msgid ""
  20820. "(file-system-label \"home\")\n"
  20821. "@result{} #<file-system-label \"home\">\n"
  20822. msgstr ""
  20823. #. type: deffn
  20824. #: guix-git/doc/guix.texi:14264
  20825. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  20826. msgstr ""
  20827. #. type: Plain text
  20828. #: guix-git/doc/guix.texi:14268
  20829. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  20830. msgstr ""
  20831. #. type: defvr
  20832. #: guix-git/doc/guix.texi:14269
  20833. #, no-wrap
  20834. msgid "{Scheme Variable} %base-file-systems"
  20835. msgstr ""
  20836. #. type: defvr
  20837. #: guix-git/doc/guix.texi:14274
  20838. 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."
  20839. msgstr ""
  20840. #. type: defvr
  20841. #: guix-git/doc/guix.texi:14276
  20842. #, no-wrap
  20843. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  20844. msgstr ""
  20845. #. type: defvr
  20846. #: guix-git/doc/guix.texi:14282
  20847. 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}."
  20848. msgstr ""
  20849. #. type: defvr
  20850. #: guix-git/doc/guix.texi:14284
  20851. #, no-wrap
  20852. msgid "{Scheme Variable} %shared-memory-file-system"
  20853. msgstr ""
  20854. #. type: defvr
  20855. #: guix-git/doc/guix.texi:14288
  20856. 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})."
  20857. msgstr ""
  20858. #. type: defvr
  20859. #: guix-git/doc/guix.texi:14290
  20860. #, no-wrap
  20861. msgid "{Scheme Variable} %immutable-store"
  20862. msgstr ""
  20863. #. type: defvr
  20864. #: guix-git/doc/guix.texi:14295
  20865. 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."
  20866. msgstr ""
  20867. #. type: defvr
  20868. #: guix-git/doc/guix.texi:14298
  20869. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  20870. msgstr ""
  20871. #. type: defvr
  20872. #: guix-git/doc/guix.texi:14300
  20873. #, no-wrap
  20874. msgid "{Scheme Variable} %binary-format-file-system"
  20875. msgstr ""
  20876. #. type: defvr
  20877. #: guix-git/doc/guix.texi:14304
  20878. 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."
  20879. msgstr ""
  20880. #. type: defvr
  20881. #: guix-git/doc/guix.texi:14306
  20882. #, no-wrap
  20883. msgid "{Scheme Variable} %fuse-control-file-system"
  20884. msgstr ""
  20885. #. type: defvr
  20886. #: guix-git/doc/guix.texi:14310
  20887. 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."
  20888. msgstr ""
  20889. #. type: Plain text
  20890. #: guix-git/doc/guix.texi:14314
  20891. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  20892. msgstr ""
  20893. #. type: deffn
  20894. #: guix-git/doc/guix.texi:14315
  20895. #, no-wrap
  20896. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  20897. msgstr ""
  20898. #. type: deffn
  20899. #: guix-git/doc/guix.texi:14318
  20900. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  20901. msgstr ""
  20902. #. type: lisp
  20903. #: guix-git/doc/guix.texi:14322
  20904. #, no-wrap
  20905. msgid ""
  20906. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  20907. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  20908. "\n"
  20909. msgstr ""
  20910. #. type: lisp
  20911. #: guix-git/doc/guix.texi:14325
  20912. #, no-wrap
  20913. msgid ""
  20914. "(uuid \"1234-ABCD\" 'fat)\n"
  20915. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  20916. msgstr ""
  20917. #. type: deffn
  20918. #: guix-git/doc/guix.texi:14329
  20919. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  20920. msgstr ""
  20921. #. type: deffn
  20922. #: guix-git/doc/guix.texi:14332
  20923. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  20924. msgstr ""
  20925. #. type: subsection
  20926. #: guix-git/doc/guix.texi:14335 guix-git/doc/guix.texi:14336
  20927. #, no-wrap
  20928. msgid "Btrfs file system"
  20929. msgstr ""
  20930. #. type: Plain text
  20931. #: guix-git/doc/guix.texi:14342
  20932. 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."
  20933. msgstr ""
  20934. #. type: Plain text
  20935. #: guix-git/doc/guix.texi:14345
  20936. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  20937. msgstr ""
  20938. #. type: lisp
  20939. #: guix-git/doc/guix.texi:14351
  20940. #, no-wrap
  20941. msgid ""
  20942. "(file-system\n"
  20943. " (mount-point \"/home\")\n"
  20944. " (type \"btrfs\")\n"
  20945. " (device (file-system-label \"my-home\")))\n"
  20946. msgstr ""
  20947. #. type: Plain text
  20948. #: guix-git/doc/guix.texi:14357
  20949. 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}):"
  20950. msgstr ""
  20951. #. type: lisp
  20952. #: guix-git/doc/guix.texi:14365
  20953. #, no-wrap
  20954. msgid ""
  20955. "(file-system\n"
  20956. " (device (file-system-label \"my-btrfs-pool\"))\n"
  20957. " (mount-point \"/\")\n"
  20958. " (type \"btrfs\")\n"
  20959. " (options \"subvol=rootfs\")\n"
  20960. " (dependencies mapped-devices))\n"
  20961. msgstr ""
  20962. #. type: Plain text
  20963. #: guix-git/doc/guix.texi:14376
  20964. 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."
  20965. msgstr ""
  20966. #. type: Plain text
  20967. #: guix-git/doc/guix.texi:14384
  20968. 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.:"
  20969. msgstr ""
  20970. #. type: example
  20971. #: guix-git/doc/guix.texi:14391
  20972. #, no-wrap
  20973. msgid ""
  20974. "/ (top level)\n"
  20975. "├── rootfs (subvolume directory)\n"
  20976. " ├── gnu (normal directory)\n"
  20977. " ├── store (normal directory)\n"
  20978. "[...]\n"
  20979. msgstr ""
  20980. #. type: Plain text
  20981. #: guix-git/doc/guix.texi:14396
  20982. 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."
  20983. msgstr ""
  20984. #. type: Plain text
  20985. #: guix-git/doc/guix.texi:14399
  20986. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  20987. msgstr ""
  20988. #. type: example
  20989. #: guix-git/doc/guix.texi:14406
  20990. #, no-wrap
  20991. msgid ""
  20992. "/ (top level)\n"
  20993. "├── rootfs (subvolume)\n"
  20994. " ├── gnu (normal directory)\n"
  20995. " ├── store (subvolume)\n"
  20996. "[...]\n"
  20997. msgstr ""
  20998. #. type: Plain text
  20999. #: guix-git/doc/guix.texi:14413
  21000. 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}."
  21001. msgstr ""
  21002. #. type: Plain text
  21003. #: guix-git/doc/guix.texi:14415
  21004. msgid "Finally, a more contrived example of nested subvolumes:"
  21005. msgstr ""
  21006. #. type: example
  21007. #: guix-git/doc/guix.texi:14422
  21008. #, no-wrap
  21009. msgid ""
  21010. "/ (top level)\n"
  21011. "├── root-snapshots (subvolume)\n"
  21012. " ├── root-current (subvolume)\n"
  21013. " ├── guix-store (subvolume)\n"
  21014. "[...]\n"
  21015. msgstr ""
  21016. #. type: Plain text
  21017. #: guix-git/doc/guix.texi:14429
  21018. 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:"
  21019. msgstr ""
  21020. #. type: lisp
  21021. #: guix-git/doc/guix.texi:14437
  21022. #, no-wrap
  21023. msgid ""
  21024. "(file-system\n"
  21025. " (device (file-system-label \"btrfs-pool-1\"))\n"
  21026. " (mount-point \"/gnu/store\")\n"
  21027. " (type \"btrfs\")\n"
  21028. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  21029. "compress-force=zstd,space_cache=v2\"))\n"
  21030. msgstr ""
  21031. #. type: cindex
  21032. #: guix-git/doc/guix.texi:14442
  21033. #, no-wrap
  21034. msgid "device mapping"
  21035. msgstr ""
  21036. #. type: cindex
  21037. #: guix-git/doc/guix.texi:14443
  21038. #, no-wrap
  21039. msgid "mapped devices"
  21040. msgstr ""
  21041. #. type: Plain text
  21042. #: guix-git/doc/guix.texi:14460
  21043. 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."
  21044. msgstr ""
  21045. #. type: Plain text
  21046. #: guix-git/doc/guix.texi:14463
  21047. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  21048. msgstr ""
  21049. #. type: deftp
  21050. #: guix-git/doc/guix.texi:14464
  21051. #, no-wrap
  21052. msgid "{Data Type} mapped-device"
  21053. msgstr ""
  21054. #. type: deftp
  21055. #: guix-git/doc/guix.texi:14467
  21056. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  21057. msgstr ""
  21058. #. type: table
  21059. #: guix-git/doc/guix.texi:14474
  21060. 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."
  21061. msgstr ""
  21062. #. type: item
  21063. #: guix-git/doc/guix.texi:14475
  21064. #, no-wrap
  21065. msgid "target"
  21066. msgstr ""
  21067. #. type: table
  21068. #: guix-git/doc/guix.texi:14484
  21069. 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\"}."
  21070. msgstr ""
  21071. #. type: code{#1}
  21072. #: guix-git/doc/guix.texi:14485 guix-git/doc/guix.texi:33506
  21073. #, no-wrap
  21074. msgid "targets"
  21075. msgstr ""
  21076. #. type: table
  21077. #: guix-git/doc/guix.texi:14488
  21078. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  21079. msgstr ""
  21080. #. type: table
  21081. #: guix-git/doc/guix.texi:14492
  21082. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  21083. msgstr ""
  21084. #. type: defvr
  21085. #: guix-git/doc/guix.texi:14495
  21086. #, no-wrap
  21087. msgid "{Scheme Variable} luks-device-mapping"
  21088. msgstr ""
  21089. #. type: defvr
  21090. #: guix-git/doc/guix.texi:14499
  21091. 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."
  21092. msgstr ""
  21093. #. type: defvr
  21094. #: guix-git/doc/guix.texi:14501
  21095. #, no-wrap
  21096. msgid "{Scheme Variable} raid-device-mapping"
  21097. msgstr ""
  21098. #. type: defvr
  21099. #: guix-git/doc/guix.texi:14506
  21100. 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."
  21101. msgstr ""
  21102. #. type: cindex
  21103. #: guix-git/doc/guix.texi:14508
  21104. #, no-wrap
  21105. msgid "LVM, logical volume manager"
  21106. msgstr ""
  21107. #. type: defvr
  21108. #: guix-git/doc/guix.texi:14509
  21109. #, no-wrap
  21110. msgid "{Scheme Variable} lvm-device-mapping"
  21111. msgstr ""
  21112. #. type: defvr
  21113. #: guix-git/doc/guix.texi:14514
  21114. 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."
  21115. msgstr ""
  21116. #. type: cindex
  21117. #: guix-git/doc/guix.texi:14516
  21118. #, no-wrap
  21119. msgid "disk encryption"
  21120. msgstr ""
  21121. #. type: cindex
  21122. #: guix-git/doc/guix.texi:14517
  21123. #, no-wrap
  21124. msgid "LUKS"
  21125. msgstr ""
  21126. #. type: Plain text
  21127. #: guix-git/doc/guix.texi:14525
  21128. 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})."
  21129. msgstr ""
  21130. #. type: lisp
  21131. #: guix-git/doc/guix.texi:14531
  21132. #, no-wrap
  21133. msgid ""
  21134. "(mapped-device\n"
  21135. " (source \"/dev/sda3\")\n"
  21136. " (target \"home\")\n"
  21137. " (type luks-device-mapping))\n"
  21138. msgstr ""
  21139. #. type: Plain text
  21140. #: guix-git/doc/guix.texi:14536
  21141. 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:"
  21142. msgstr ""
  21143. #. type: example
  21144. #: guix-git/doc/guix.texi:14539
  21145. #, no-wrap
  21146. msgid "cryptsetup luksUUID /dev/sda3\n"
  21147. msgstr ""
  21148. #. type: Plain text
  21149. #: guix-git/doc/guix.texi:14542
  21150. msgid "and use it as follows:"
  21151. msgstr ""
  21152. #. type: lisp
  21153. #: guix-git/doc/guix.texi:14548
  21154. #, no-wrap
  21155. msgid ""
  21156. "(mapped-device\n"
  21157. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  21158. " (target \"home\")\n"
  21159. " (type luks-device-mapping))\n"
  21160. msgstr ""
  21161. #. type: cindex
  21162. #: guix-git/doc/guix.texi:14550
  21163. #, no-wrap
  21164. msgid "swap encryption"
  21165. msgstr ""
  21166. #. type: Plain text
  21167. #: guix-git/doc/guix.texi:14556
  21168. 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."
  21169. msgstr ""
  21170. #. type: Plain text
  21171. #: guix-git/doc/guix.texi:14559
  21172. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  21173. msgstr ""
  21174. #. type: lisp
  21175. #: guix-git/doc/guix.texi:14565
  21176. #, no-wrap
  21177. msgid ""
  21178. "(mapped-device\n"
  21179. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  21180. " (target \"/dev/md0\")\n"
  21181. " (type raid-device-mapping))\n"
  21182. msgstr ""
  21183. #. type: Plain text
  21184. #: guix-git/doc/guix.texi:14572
  21185. 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."
  21186. msgstr ""
  21187. #. type: Plain text
  21188. #: guix-git/doc/guix.texi:14575
  21189. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  21190. msgstr ""
  21191. #. type: lisp
  21192. #: guix-git/doc/guix.texi:14581
  21193. #, no-wrap
  21194. msgid ""
  21195. "(mapped-device\n"
  21196. " (source \"vg0\")\n"
  21197. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  21198. " (type lvm-device-mapping))\n"
  21199. msgstr ""
  21200. #. type: Plain text
  21201. #: guix-git/doc/guix.texi:14586
  21202. 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})."
  21203. msgstr ""
  21204. #. type: cindex
  21205. #: guix-git/doc/guix.texi:14590
  21206. #, no-wrap
  21207. msgid "users"
  21208. msgstr ""
  21209. #. type: cindex
  21210. #: guix-git/doc/guix.texi:14591
  21211. #, no-wrap
  21212. msgid "accounts"
  21213. msgstr ""
  21214. #. type: cindex
  21215. #: guix-git/doc/guix.texi:14592
  21216. #, no-wrap
  21217. msgid "user accounts"
  21218. msgstr ""
  21219. #. type: Plain text
  21220. #: guix-git/doc/guix.texi:14596
  21221. 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:"
  21222. msgstr ""
  21223. #. type: lisp
  21224. #: guix-git/doc/guix.texi:14606
  21225. #, no-wrap
  21226. msgid ""
  21227. "(user-account\n"
  21228. " (name \"alice\")\n"
  21229. " (group \"users\")\n"
  21230. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  21231. " \"audio\" ;sound card\n"
  21232. " \"video\" ;video devices such as webcams\n"
  21233. " \"cdrom\")) ;the good ol' CD-ROM\n"
  21234. " (comment \"Bob's sister\"))\n"
  21235. msgstr ""
  21236. #. type: Plain text
  21237. #: guix-git/doc/guix.texi:14610
  21238. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  21239. msgstr ""
  21240. #. type: lisp
  21241. #: guix-git/doc/guix.texi:14618
  21242. #, no-wrap
  21243. msgid ""
  21244. "(user-account\n"
  21245. " (name \"bob\")\n"
  21246. " (group \"users\")\n"
  21247. " (comment \"Alice's bro\")\n"
  21248. " (shell (file-append zsh \"/bin/zsh\"))\n"
  21249. " (home-directory \"/home/robert\"))\n"
  21250. msgstr ""
  21251. #. type: Plain text
  21252. #: guix-git/doc/guix.texi:14627
  21253. 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."
  21254. msgstr ""
  21255. #. type: deftp
  21256. #: guix-git/doc/guix.texi:14628
  21257. #, no-wrap
  21258. msgid "{Data Type} user-account"
  21259. msgstr ""
  21260. #. type: deftp
  21261. #: guix-git/doc/guix.texi:14631
  21262. msgid "Objects of this type represent user accounts. The following members may be specified:"
  21263. msgstr ""
  21264. #. type: table
  21265. #: guix-git/doc/guix.texi:14635
  21266. msgid "The name of the user account."
  21267. msgstr ""
  21268. #. type: itemx
  21269. #: guix-git/doc/guix.texi:14636 guix-git/doc/guix.texi:33170
  21270. #, no-wrap
  21271. msgid "group"
  21272. msgstr ""
  21273. #. type: cindex
  21274. #: guix-git/doc/guix.texi:14637 guix-git/doc/guix.texi:14716
  21275. #, no-wrap
  21276. msgid "groups"
  21277. msgstr ""
  21278. #. type: table
  21279. #: guix-git/doc/guix.texi:14640
  21280. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  21281. msgstr ""
  21282. #. type: item
  21283. #: guix-git/doc/guix.texi:14641
  21284. #, no-wrap
  21285. msgid "@code{supplementary-groups} (default: @code{'()})"
  21286. msgstr ""
  21287. #. type: table
  21288. #: guix-git/doc/guix.texi:14644
  21289. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  21290. msgstr ""
  21291. #. type: item
  21292. #: guix-git/doc/guix.texi:14645
  21293. #, no-wrap
  21294. msgid "@code{uid} (default: @code{#f})"
  21295. msgstr ""
  21296. #. type: table
  21297. #: guix-git/doc/guix.texi:14649
  21298. 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."
  21299. msgstr ""
  21300. #. type: item
  21301. #: guix-git/doc/guix.texi:14650
  21302. #, no-wrap
  21303. msgid "@code{comment} (default: @code{\"\"})"
  21304. msgstr ""
  21305. #. type: table
  21306. #: guix-git/doc/guix.texi:14652
  21307. msgid "A comment about the account, such as the account owner's full name."
  21308. msgstr ""
  21309. #. type: code{#1}
  21310. #: guix-git/doc/guix.texi:14653
  21311. #, no-wrap
  21312. msgid "home-directory"
  21313. msgstr ""
  21314. #. type: table
  21315. #: guix-git/doc/guix.texi:14655
  21316. msgid "This is the name of the home directory for the account."
  21317. msgstr ""
  21318. #. type: item
  21319. #: guix-git/doc/guix.texi:14656
  21320. #, no-wrap
  21321. msgid "@code{create-home-directory?} (default: @code{#t})"
  21322. msgstr ""
  21323. #. type: table
  21324. #: guix-git/doc/guix.texi:14659
  21325. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  21326. msgstr ""
  21327. #. type: item
  21328. #: guix-git/doc/guix.texi:14660
  21329. #, no-wrap
  21330. msgid "@code{shell} (default: Bash)"
  21331. msgstr ""
  21332. #. type: table
  21333. #: guix-git/doc/guix.texi:14664
  21334. 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:"
  21335. msgstr ""
  21336. #. type: lisp
  21337. #: guix-git/doc/guix.texi:14667
  21338. #, no-wrap
  21339. msgid "(file-append bash \"/bin/bash\")\n"
  21340. msgstr ""
  21341. #. type: table
  21342. #: guix-git/doc/guix.texi:14671
  21343. msgid "... and to the Zsh executable like that:"
  21344. msgstr ""
  21345. #. type: lisp
  21346. #: guix-git/doc/guix.texi:14674
  21347. #, no-wrap
  21348. msgid "(file-append zsh \"/bin/zsh\")\n"
  21349. msgstr ""
  21350. #. type: item
  21351. #: guix-git/doc/guix.texi:14676 guix-git/doc/guix.texi:14734
  21352. #, no-wrap
  21353. msgid "@code{system?} (default: @code{#f})"
  21354. msgstr ""
  21355. #. type: table
  21356. #: guix-git/doc/guix.texi:14680
  21357. 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."
  21358. msgstr ""
  21359. #. type: anchor{#1}
  21360. #: guix-git/doc/guix.texi:14682
  21361. msgid "user-account-password"
  21362. msgstr ""
  21363. #. type: cindex
  21364. #: guix-git/doc/guix.texi:14682
  21365. #, no-wrap
  21366. msgid "password, for user accounts"
  21367. msgstr ""
  21368. #. type: item
  21369. #: guix-git/doc/guix.texi:14683 guix-git/doc/guix.texi:14738
  21370. #, no-wrap
  21371. msgid "@code{password} (default: @code{#f})"
  21372. msgstr ""
  21373. #. type: table
  21374. #: guix-git/doc/guix.texi:14689
  21375. 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."
  21376. msgstr ""
  21377. #. type: table
  21378. #: guix-git/doc/guix.texi:14693
  21379. 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:"
  21380. msgstr ""
  21381. #. type: lisp
  21382. #: guix-git/doc/guix.texi:14698
  21383. #, no-wrap
  21384. msgid ""
  21385. "(user-account\n"
  21386. " (name \"charlie\")\n"
  21387. " (group \"users\")\n"
  21388. "\n"
  21389. msgstr ""
  21390. #. type: lisp
  21391. #: guix-git/doc/guix.texi:14701
  21392. #, no-wrap
  21393. msgid ""
  21394. " ;; Specify a SHA-512-hashed initial password.\n"
  21395. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  21396. msgstr ""
  21397. #. type: quotation
  21398. #: guix-git/doc/guix.texi:14707
  21399. 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."
  21400. msgstr ""
  21401. #. type: table
  21402. #: guix-git/doc/guix.texi:14712
  21403. 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."
  21404. msgstr ""
  21405. #. type: Plain text
  21406. #: guix-git/doc/guix.texi:14718
  21407. msgid "User group declarations are even simpler:"
  21408. msgstr ""
  21409. #. type: lisp
  21410. #: guix-git/doc/guix.texi:14721
  21411. #, no-wrap
  21412. msgid "(user-group (name \"students\"))\n"
  21413. msgstr ""
  21414. #. type: deftp
  21415. #: guix-git/doc/guix.texi:14723
  21416. #, no-wrap
  21417. msgid "{Data Type} user-group"
  21418. msgstr ""
  21419. #. type: deftp
  21420. #: guix-git/doc/guix.texi:14725
  21421. msgid "This type is for, well, user groups. There are just a few fields:"
  21422. msgstr ""
  21423. #. type: table
  21424. #: guix-git/doc/guix.texi:14729
  21425. msgid "The name of the group."
  21426. msgstr ""
  21427. #. type: item
  21428. #: guix-git/doc/guix.texi:14730 guix-git/doc/guix.texi:29713
  21429. #, no-wrap
  21430. msgid "@code{id} (default: @code{#f})"
  21431. msgstr ""
  21432. #. type: table
  21433. #: guix-git/doc/guix.texi:14733
  21434. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  21435. msgstr ""
  21436. #. type: table
  21437. #: guix-git/doc/guix.texi:14737
  21438. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  21439. msgstr ""
  21440. #. type: table
  21441. #: guix-git/doc/guix.texi:14741
  21442. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  21443. msgstr ""
  21444. #. type: Plain text
  21445. #: guix-git/doc/guix.texi:14747
  21446. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  21447. msgstr ""
  21448. #. type: defvr
  21449. #: guix-git/doc/guix.texi:14748
  21450. #, no-wrap
  21451. msgid "{Scheme Variable} %base-groups"
  21452. msgstr ""
  21453. #. type: defvr
  21454. #: guix-git/doc/guix.texi:14753
  21455. 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''."
  21456. msgstr ""
  21457. #. type: defvr
  21458. #: guix-git/doc/guix.texi:14755
  21459. #, no-wrap
  21460. msgid "{Scheme Variable} %base-user-accounts"
  21461. msgstr ""
  21462. #. type: defvr
  21463. #: guix-git/doc/guix.texi:14758
  21464. 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."
  21465. msgstr ""
  21466. #. type: defvr
  21467. #: guix-git/doc/guix.texi:14761
  21468. 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."
  21469. msgstr ""
  21470. #. type: cindex
  21471. #: guix-git/doc/guix.texi:14767
  21472. #, no-wrap
  21473. msgid "keymap"
  21474. msgstr ""
  21475. #. type: Plain text
  21476. #: guix-git/doc/guix.texi:14775
  21477. 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."
  21478. msgstr ""
  21479. #. type: cindex
  21480. #: guix-git/doc/guix.texi:14776
  21481. #, no-wrap
  21482. msgid "keyboard layout, definition"
  21483. msgstr ""
  21484. #. type: Plain text
  21485. #: guix-git/doc/guix.texi:14778
  21486. msgid "There are three components that will want to know about your keyboard layout:"
  21487. msgstr ""
  21488. #. type: itemize
  21489. #: guix-git/doc/guix.texi:14785
  21490. 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."
  21491. msgstr ""
  21492. #. type: itemize
  21493. #: guix-git/doc/guix.texi:14790
  21494. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  21495. msgstr ""
  21496. #. type: itemize
  21497. #: guix-git/doc/guix.texi:14794
  21498. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  21499. msgstr ""
  21500. #. type: Plain text
  21501. #: guix-git/doc/guix.texi:14798
  21502. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  21503. msgstr ""
  21504. #. type: cindex
  21505. #: guix-git/doc/guix.texi:14799
  21506. #, no-wrap
  21507. msgid "XKB, keyboard layouts"
  21508. msgstr ""
  21509. #. type: Plain text
  21510. #: guix-git/doc/guix.texi:14807
  21511. 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."
  21512. msgstr ""
  21513. #. type: deffn
  21514. #: guix-git/doc/guix.texi:14808
  21515. #, no-wrap
  21516. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  21517. msgstr ""
  21518. #. type: deffn
  21519. #: guix-git/doc/guix.texi:14811
  21520. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  21521. msgstr ""
  21522. #. type: deffn
  21523. #: guix-git/doc/guix.texi:14815
  21524. 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."
  21525. msgstr ""
  21526. #. type: Plain text
  21527. #: guix-git/doc/guix.texi:14818
  21528. msgid "Here are a few examples:"
  21529. msgstr ""
  21530. #. type: lisp
  21531. #: guix-git/doc/guix.texi:14823
  21532. #, no-wrap
  21533. msgid ""
  21534. ";; The German QWERTZ layout. Here we assume a standard\n"
  21535. ";; \"pc105\" keyboard model.\n"
  21536. "(keyboard-layout \"de\")\n"
  21537. "\n"
  21538. msgstr ""
  21539. #. type: lisp
  21540. #: guix-git/doc/guix.texi:14826
  21541. #, no-wrap
  21542. msgid ""
  21543. ";; The bépo variant of the French layout.\n"
  21544. "(keyboard-layout \"fr\" \"bepo\")\n"
  21545. "\n"
  21546. msgstr ""
  21547. #. type: lisp
  21548. #: guix-git/doc/guix.texi:14829
  21549. #, no-wrap
  21550. msgid ""
  21551. ";; The Catalan layout.\n"
  21552. "(keyboard-layout \"es\" \"cat\")\n"
  21553. "\n"
  21554. msgstr ""
  21555. #. type: lisp
  21556. #: guix-git/doc/guix.texi:14832
  21557. #, no-wrap
  21558. msgid ""
  21559. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  21560. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  21561. "\n"
  21562. msgstr ""
  21563. #. type: lisp
  21564. #: guix-git/doc/guix.texi:14839
  21565. #, no-wrap
  21566. msgid ""
  21567. ";; The Latin American Spanish layout. In addition, the\n"
  21568. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  21569. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  21570. ";; accented letters.\n"
  21571. "(keyboard-layout \"latam\"\n"
  21572. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  21573. "\n"
  21574. msgstr ""
  21575. #. type: lisp
  21576. #: guix-git/doc/guix.texi:14842
  21577. #, no-wrap
  21578. msgid ""
  21579. ";; The Russian layout for a ThinkPad keyboard.\n"
  21580. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  21581. "\n"
  21582. msgstr ""
  21583. #. type: lisp
  21584. #: guix-git/doc/guix.texi:14847
  21585. #, no-wrap
  21586. msgid ""
  21587. ";; The \"US international\" layout, which is the US layout plus\n"
  21588. ";; dead keys to enter accented characters. This is for an\n"
  21589. ";; Apple MacBook keyboard.\n"
  21590. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  21591. msgstr ""
  21592. #. type: Plain text
  21593. #: guix-git/doc/guix.texi:14851
  21594. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  21595. msgstr ""
  21596. #. type: cindex
  21597. #: guix-git/doc/guix.texi:14852
  21598. #, no-wrap
  21599. msgid "keyboard layout, configuration"
  21600. msgstr ""
  21601. #. type: Plain text
  21602. #: guix-git/doc/guix.texi:14856
  21603. 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:"
  21604. msgstr ""
  21605. #. type: findex
  21606. #: guix-git/doc/guix.texi:14857
  21607. #, no-wrap
  21608. msgid "set-xorg-configuration"
  21609. msgstr ""
  21610. #. type: lisp
  21611. #: guix-git/doc/guix.texi:14861
  21612. #, no-wrap
  21613. msgid ""
  21614. ";; Using the Turkish layout for the bootloader, the console,\n"
  21615. ";; and for Xorg.\n"
  21616. "\n"
  21617. msgstr ""
  21618. #. type: lisp
  21619. #: guix-git/doc/guix.texi:14873
  21620. #, no-wrap
  21621. msgid ""
  21622. "(operating-system\n"
  21623. " ;; ...\n"
  21624. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  21625. " (bootloader (bootloader-configuration\n"
  21626. " (bootloader grub-efi-bootloader)\n"
  21627. " (targets '(\"/boot/efi\"))\n"
  21628. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  21629. " (services (cons (set-xorg-configuration\n"
  21630. " (xorg-configuration ;for Xorg\n"
  21631. " (keyboard-layout keyboard-layout)))\n"
  21632. " %desktop-services)))\n"
  21633. msgstr ""
  21634. #. type: Plain text
  21635. #: guix-git/doc/guix.texi:14880
  21636. 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."
  21637. msgstr ""
  21638. #. type: Plain text
  21639. #: guix-git/doc/guix.texi:14883
  21640. 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:"
  21641. msgstr ""
  21642. #. type: itemize
  21643. #: guix-git/doc/guix.texi:14888
  21644. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  21645. msgstr ""
  21646. #. type: itemize
  21647. #: guix-git/doc/guix.texi:14893
  21648. 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:"
  21649. msgstr ""
  21650. #. type: example
  21651. #: guix-git/doc/guix.texi:14896
  21652. #, no-wrap
  21653. msgid "setxkbmap us dvorak\n"
  21654. msgstr ""
  21655. #. type: itemize
  21656. #: guix-git/doc/guix.texi:14903
  21657. 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:"
  21658. msgstr ""
  21659. #. type: example
  21660. #: guix-git/doc/guix.texi:14906
  21661. #, no-wrap
  21662. msgid "loadkeys fr-bepo\n"
  21663. msgstr ""
  21664. #. type: cindex
  21665. #: guix-git/doc/guix.texi:14912
  21666. #, no-wrap
  21667. msgid "locale"
  21668. msgstr ""
  21669. #. type: Plain text
  21670. #: guix-git/doc/guix.texi:14919
  21671. 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."
  21672. msgstr ""
  21673. #. type: cindex
  21674. #: guix-git/doc/guix.texi:14920
  21675. #, no-wrap
  21676. msgid "locale definition"
  21677. msgstr ""
  21678. #. type: Plain text
  21679. #: guix-git/doc/guix.texi:14924
  21680. 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}})."
  21681. msgstr ""
  21682. #. type: Plain text
  21683. #: guix-git/doc/guix.texi:14933
  21684. 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."
  21685. msgstr ""
  21686. #. type: Plain text
  21687. #: guix-git/doc/guix.texi:14936
  21688. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  21689. msgstr ""
  21690. #. type: lisp
  21691. #: guix-git/doc/guix.texi:14941
  21692. #, no-wrap
  21693. msgid ""
  21694. "(cons (locale-definition\n"
  21695. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  21696. " %default-locale-definitions)\n"
  21697. msgstr ""
  21698. #. type: Plain text
  21699. #: guix-git/doc/guix.texi:14945
  21700. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  21701. msgstr ""
  21702. #. type: lisp
  21703. #: guix-git/doc/guix.texi:14950
  21704. #, no-wrap
  21705. msgid ""
  21706. "(list (locale-definition\n"
  21707. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  21708. " (charset \"EUC-JP\")))\n"
  21709. msgstr ""
  21710. #. type: Plain text
  21711. #: guix-git/doc/guix.texi:14959
  21712. 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})."
  21713. msgstr ""
  21714. #. type: Plain text
  21715. #: guix-git/doc/guix.texi:14962
  21716. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  21717. msgstr ""
  21718. #. type: deftp
  21719. #: guix-git/doc/guix.texi:14963
  21720. #, no-wrap
  21721. msgid "{Data Type} locale-definition"
  21722. msgstr ""
  21723. #. type: deftp
  21724. #: guix-git/doc/guix.texi:14965
  21725. msgid "This is the data type of a locale definition."
  21726. msgstr ""
  21727. #. type: table
  21728. #: guix-git/doc/guix.texi:14971
  21729. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  21730. msgstr ""
  21731. #. type: table
  21732. #: guix-git/doc/guix.texi:14975
  21733. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  21734. msgstr ""
  21735. #. type: item
  21736. #: guix-git/doc/guix.texi:14976
  21737. #, no-wrap
  21738. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  21739. msgstr ""
  21740. #. type: table
  21741. #: guix-git/doc/guix.texi:14980
  21742. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  21743. msgstr ""
  21744. #. type: defvr
  21745. #: guix-git/doc/guix.texi:14984
  21746. #, no-wrap
  21747. msgid "{Scheme Variable} %default-locale-definitions"
  21748. msgstr ""
  21749. #. type: defvr
  21750. #: guix-git/doc/guix.texi:14988
  21751. 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."
  21752. msgstr ""
  21753. #. type: cindex
  21754. #: guix-git/doc/guix.texi:14989
  21755. #, no-wrap
  21756. msgid "locale name"
  21757. msgstr ""
  21758. #. type: cindex
  21759. #: guix-git/doc/guix.texi:14990
  21760. #, no-wrap
  21761. msgid "normalized codeset in locale names"
  21762. msgstr ""
  21763. #. type: defvr
  21764. #: guix-git/doc/guix.texi:14996
  21765. 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}."
  21766. msgstr ""
  21767. #. type: subsection
  21768. #: guix-git/doc/guix.texi:14998
  21769. #, no-wrap
  21770. msgid "Locale Data Compatibility Considerations"
  21771. msgstr ""
  21772. #. type: cindex
  21773. #: guix-git/doc/guix.texi:15000
  21774. #, no-wrap
  21775. msgid "incompatibility, of locale data"
  21776. msgstr ""
  21777. #. type: Plain text
  21778. #: guix-git/doc/guix.texi:15007
  21779. 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."
  21780. msgstr ""
  21781. #. type: Plain text
  21782. #: guix-git/doc/guix.texi:15019
  21783. 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."
  21784. msgstr ""
  21785. #. type: Plain text
  21786. #: guix-git/doc/guix.texi:15024
  21787. 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."
  21788. msgstr ""
  21789. #. type: Plain text
  21790. #: guix-git/doc/guix.texi:15028
  21791. 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})."
  21792. msgstr ""
  21793. #. type: Plain text
  21794. #: guix-git/doc/guix.texi:15035
  21795. 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}:"
  21796. msgstr ""
  21797. #. type: lisp
  21798. #: guix-git/doc/guix.texi:15038
  21799. #, no-wrap
  21800. msgid ""
  21801. "(use-package-modules base)\n"
  21802. "\n"
  21803. msgstr ""
  21804. #. type: lisp
  21805. #: guix-git/doc/guix.texi:15042
  21806. #, no-wrap
  21807. msgid ""
  21808. "(operating-system\n"
  21809. " ;; @dots{}\n"
  21810. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  21811. msgstr ""
  21812. #. type: Plain text
  21813. #: guix-git/doc/guix.texi:15047
  21814. 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}."
  21815. msgstr ""
  21816. #. type: cindex
  21817. #: guix-git/doc/guix.texi:15052
  21818. #, no-wrap
  21819. msgid "system services"
  21820. msgstr ""
  21821. #. type: Plain text
  21822. #: guix-git/doc/guix.texi:15058
  21823. 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."
  21824. msgstr ""
  21825. #. type: Plain text
  21826. #: guix-git/doc/guix.texi:15065
  21827. 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:"
  21828. msgstr ""
  21829. #. type: example
  21830. #: guix-git/doc/guix.texi:15068
  21831. #, no-wrap
  21832. msgid "# herd status\n"
  21833. msgstr ""
  21834. #. type: Plain text
  21835. #: guix-git/doc/guix.texi:15073
  21836. 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:"
  21837. msgstr ""
  21838. #. type: example
  21839. #: guix-git/doc/guix.texi:15077
  21840. #, no-wrap
  21841. msgid ""
  21842. "# herd doc nscd\n"
  21843. "Run libc's name service cache daemon (nscd).\n"
  21844. "\n"
  21845. msgstr ""
  21846. #. type: example
  21847. #: guix-git/doc/guix.texi:15080
  21848. #, no-wrap
  21849. msgid ""
  21850. "# herd doc nscd action invalidate\n"
  21851. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  21852. msgstr ""
  21853. #. type: Plain text
  21854. #: guix-git/doc/guix.texi:15085
  21855. 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:"
  21856. msgstr ""
  21857. #. type: example
  21858. #: guix-git/doc/guix.texi:15092
  21859. #, no-wrap
  21860. msgid ""
  21861. "# herd stop nscd\n"
  21862. "Service nscd has been stopped.\n"
  21863. "# herd restart xorg-server\n"
  21864. "Service xorg-server has been stopped.\n"
  21865. "Service xorg-server has been started.\n"
  21866. msgstr ""
  21867. #. type: Plain text
  21868. #: guix-git/doc/guix.texi:15097
  21869. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  21870. msgstr ""
  21871. #. type: subsection
  21872. #: guix-git/doc/guix.texi:15132 guix-git/doc/guix.texi:23147
  21873. #: guix-git/doc/guix.texi:23148
  21874. #, no-wrap
  21875. msgid "File-Sharing Services"
  21876. msgstr ""
  21877. #. type: menuentry
  21878. #: guix-git/doc/guix.texi:15132
  21879. msgid "File-sharing services."
  21880. msgstr ""
  21881. #. type: Plain text
  21882. #: guix-git/doc/guix.texi:15140
  21883. 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."
  21884. msgstr ""
  21885. #. type: defvr
  21886. #: guix-git/doc/guix.texi:15141
  21887. #, no-wrap
  21888. msgid "{Scheme Variable} %base-services"
  21889. msgstr ""
  21890. #. type: defvr
  21891. #: guix-git/doc/guix.texi:15147
  21892. 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."
  21893. msgstr ""
  21894. #. type: defvr
  21895. #: guix-git/doc/guix.texi:15152
  21896. 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:"
  21897. msgstr ""
  21898. #. type: lisp
  21899. #: guix-git/doc/guix.texi:15157
  21900. #, no-wrap
  21901. msgid ""
  21902. "(append (list (service avahi-service-type)\n"
  21903. " (service openssh-service-type))\n"
  21904. " %base-services)\n"
  21905. msgstr ""
  21906. #. type: defvr
  21907. #: guix-git/doc/guix.texi:15160
  21908. #, no-wrap
  21909. msgid "{Scheme Variable} special-files-service-type"
  21910. msgstr ""
  21911. #. type: defvr
  21912. #: guix-git/doc/guix.texi:15163
  21913. 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}."
  21914. msgstr ""
  21915. #. type: defvr
  21916. #: guix-git/doc/guix.texi:15167
  21917. 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:"
  21918. msgstr ""
  21919. #. type: file{#1}
  21920. #: guix-git/doc/guix.texi:15168
  21921. #, no-wrap
  21922. msgid "/bin/sh"
  21923. msgstr ""
  21924. #. type: cindex
  21925. #: guix-git/doc/guix.texi:15169
  21926. #, no-wrap
  21927. msgid "@file{sh}, in @file{/bin}"
  21928. msgstr ""
  21929. #. type: lisp
  21930. #: guix-git/doc/guix.texi:15172
  21931. #, no-wrap
  21932. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  21933. msgstr ""
  21934. #. type: file{#1}
  21935. #: guix-git/doc/guix.texi:15174
  21936. #, no-wrap
  21937. msgid "/usr/bin/env"
  21938. msgstr ""
  21939. #. type: cindex
  21940. #: guix-git/doc/guix.texi:15175
  21941. #, no-wrap
  21942. msgid "@file{env}, in @file{/usr/bin}"
  21943. msgstr ""
  21944. #. type: defvr
  21945. #: guix-git/doc/guix.texi:15178
  21946. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  21947. msgstr ""
  21948. #. type: lisp
  21949. #: guix-git/doc/guix.texi:15182
  21950. #, no-wrap
  21951. msgid ""
  21952. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  21953. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  21954. msgstr ""
  21955. #. type: defvr
  21956. #: guix-git/doc/guix.texi:15189
  21957. 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)."
  21958. msgstr ""
  21959. #. type: deffn
  21960. #: guix-git/doc/guix.texi:15191
  21961. #, no-wrap
  21962. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  21963. msgstr ""
  21964. #. type: deffn
  21965. #: guix-git/doc/guix.texi:15193
  21966. msgid "Use @var{target} as the ``special file'' @var{file}."
  21967. msgstr ""
  21968. #. type: deffn
  21969. #: guix-git/doc/guix.texi:15197
  21970. 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:"
  21971. msgstr ""
  21972. #. type: lisp
  21973. #: guix-git/doc/guix.texi:15201
  21974. #, no-wrap
  21975. msgid ""
  21976. "(extra-special-file \"/usr/bin/env\"\n"
  21977. " (file-append coreutils \"/bin/env\"))\n"
  21978. msgstr ""
  21979. #. type: deffn
  21980. #: guix-git/doc/guix.texi:15204
  21981. #, no-wrap
  21982. msgid "{Scheme Procedure} host-name-service @var{name}"
  21983. msgstr ""
  21984. #. type: deffn
  21985. #: guix-git/doc/guix.texi:15206
  21986. msgid "Return a service that sets the host name to @var{name}."
  21987. msgstr ""
  21988. #. type: defvr
  21989. #: guix-git/doc/guix.texi:15208
  21990. #, no-wrap
  21991. msgid "{Scheme Variable} console-font-service-type"
  21992. msgstr ""
  21993. #. type: defvr
  21994. #: guix-git/doc/guix.texi:15213
  21995. 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:"
  21996. msgstr ""
  21997. #. type: lisp
  21998. #: guix-git/doc/guix.texi:15222
  21999. #, no-wrap
  22000. msgid ""
  22001. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  22002. " (\"tty2\" . ,(file-append\n"
  22003. " font-tamzen\n"
  22004. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  22005. " (\"tty3\" . ,(file-append\n"
  22006. " font-terminus\n"
  22007. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  22008. msgstr ""
  22009. #. type: deffn
  22010. #: guix-git/doc/guix.texi:15225
  22011. #, no-wrap
  22012. msgid "{Scheme Procedure} login-service @var{config}"
  22013. msgstr ""
  22014. #. type: deffn
  22015. #: guix-git/doc/guix.texi:15229
  22016. 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."
  22017. msgstr ""
  22018. #. type: deftp
  22019. #: guix-git/doc/guix.texi:15231
  22020. #, no-wrap
  22021. msgid "{Data Type} login-configuration"
  22022. msgstr ""
  22023. #. type: deftp
  22024. #: guix-git/doc/guix.texi:15233
  22025. msgid "This is the data type representing the configuration of login."
  22026. msgstr ""
  22027. #. type: code{#1}
  22028. #: guix-git/doc/guix.texi:15236
  22029. #, no-wrap
  22030. msgid "motd"
  22031. msgstr ""
  22032. #. type: cindex
  22033. #: guix-git/doc/guix.texi:15237
  22034. #, no-wrap
  22035. msgid "message of the day"
  22036. msgstr ""
  22037. #. type: table
  22038. #: guix-git/doc/guix.texi:15239
  22039. msgid "A file-like object containing the ``message of the day''."
  22040. msgstr ""
  22041. #. type: item
  22042. #: guix-git/doc/guix.texi:15240 guix-git/doc/guix.texi:18236
  22043. #, no-wrap
  22044. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  22045. msgstr ""
  22046. #. type: table
  22047. #: guix-git/doc/guix.texi:15243
  22048. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  22049. msgstr ""
  22050. #. type: deffn
  22051. #: guix-git/doc/guix.texi:15247
  22052. #, no-wrap
  22053. msgid "{Scheme Procedure} mingetty-service @var{config}"
  22054. msgstr ""
  22055. #. type: deffn
  22056. #: guix-git/doc/guix.texi:15251
  22057. 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."
  22058. msgstr ""
  22059. #. type: deftp
  22060. #: guix-git/doc/guix.texi:15253
  22061. #, no-wrap
  22062. msgid "{Data Type} mingetty-configuration"
  22063. msgstr ""
  22064. #. type: deftp
  22065. #: guix-git/doc/guix.texi:15256
  22066. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  22067. msgstr ""
  22068. #. type: code{#1}
  22069. #: guix-git/doc/guix.texi:15259 guix-git/doc/guix.texi:15298
  22070. #: guix-git/doc/guix.texi:32443
  22071. #, no-wrap
  22072. msgid "tty"
  22073. msgstr ""
  22074. #. type: table
  22075. #: guix-git/doc/guix.texi:15261
  22076. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  22077. msgstr ""
  22078. #. type: item
  22079. #: guix-git/doc/guix.texi:15262 guix-git/doc/guix.texi:15327
  22080. #: guix-git/doc/guix.texi:15486
  22081. #, no-wrap
  22082. msgid "@code{auto-login} (default: @code{#f})"
  22083. msgstr ""
  22084. #. type: table
  22085. #: guix-git/doc/guix.texi:15266
  22086. 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."
  22087. msgstr ""
  22088. #. type: item
  22089. #: guix-git/doc/guix.texi:15267
  22090. #, no-wrap
  22091. msgid "@code{login-program} (default: @code{#f})"
  22092. msgstr ""
  22093. #. type: table
  22094. #: guix-git/doc/guix.texi:15271
  22095. 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."
  22096. msgstr ""
  22097. #. type: item
  22098. #: guix-git/doc/guix.texi:15272
  22099. #, no-wrap
  22100. msgid "@code{login-pause?} (default: @code{#f})"
  22101. msgstr ""
  22102. #. type: table
  22103. #: guix-git/doc/guix.texi:15275
  22104. 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."
  22105. msgstr ""
  22106. #. type: item
  22107. #: guix-git/doc/guix.texi:15276
  22108. #, no-wrap
  22109. msgid "@code{clear-on-logout?} (default: @code{#t})"
  22110. msgstr ""
  22111. #. type: table
  22112. #: guix-git/doc/guix.texi:15278
  22113. msgid "When set to @code{#t}, the screen will be cleared after logout."
  22114. msgstr ""
  22115. #. type: item
  22116. #: guix-git/doc/guix.texi:15279
  22117. #, no-wrap
  22118. msgid "@code{mingetty} (default: @var{mingetty})"
  22119. msgstr ""
  22120. #. type: table
  22121. #: guix-git/doc/guix.texi:15281
  22122. msgid "The Mingetty package to use."
  22123. msgstr ""
  22124. #. type: deffn
  22125. #: guix-git/doc/guix.texi:15285
  22126. #, no-wrap
  22127. msgid "{Scheme Procedure} agetty-service @var{config}"
  22128. msgstr ""
  22129. #. type: deffn
  22130. #: guix-git/doc/guix.texi:15289
  22131. 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."
  22132. msgstr ""
  22133. #. type: deftp
  22134. #: guix-git/doc/guix.texi:15291
  22135. #, no-wrap
  22136. msgid "{Data Type} agetty-configuration"
  22137. msgstr ""
  22138. #. type: deftp
  22139. #: guix-git/doc/guix.texi:15295
  22140. 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."
  22141. msgstr ""
  22142. #. type: table
  22143. #: guix-git/doc/guix.texi:15302
  22144. 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."
  22145. msgstr ""
  22146. #. type: table
  22147. #: guix-git/doc/guix.texi:15306
  22148. 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."
  22149. msgstr ""
  22150. #. type: table
  22151. #: guix-git/doc/guix.texi:15310
  22152. 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."
  22153. msgstr ""
  22154. #. type: table
  22155. #: guix-git/doc/guix.texi:15314
  22156. 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."
  22157. msgstr ""
  22158. #. type: item
  22159. #: guix-git/doc/guix.texi:15315 guix-git/doc/guix.texi:32604
  22160. #, no-wrap
  22161. msgid "@code{baud-rate} (default: @code{#f})"
  22162. msgstr ""
  22163. #. type: table
  22164. #: guix-git/doc/guix.texi:15318
  22165. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  22166. msgstr ""
  22167. #. type: item
  22168. #: guix-git/doc/guix.texi:15319
  22169. #, no-wrap
  22170. msgid "@code{term} (default: @code{#f})"
  22171. msgstr ""
  22172. #. type: table
  22173. #: guix-git/doc/guix.texi:15322
  22174. msgid "A string containing the value used for the @env{TERM} environment variable."
  22175. msgstr ""
  22176. #. type: item
  22177. #: guix-git/doc/guix.texi:15323
  22178. #, no-wrap
  22179. msgid "@code{eight-bits?} (default: @code{#f})"
  22180. msgstr ""
  22181. #. type: table
  22182. #: guix-git/doc/guix.texi:15326
  22183. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  22184. msgstr ""
  22185. #. type: table
  22186. #: guix-git/doc/guix.texi:15330 guix-git/doc/guix.texi:15489
  22187. 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."
  22188. msgstr ""
  22189. #. type: item
  22190. #: guix-git/doc/guix.texi:15331
  22191. #, no-wrap
  22192. msgid "@code{no-reset?} (default: @code{#f})"
  22193. msgstr ""
  22194. #. type: table
  22195. #: guix-git/doc/guix.texi:15333
  22196. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  22197. msgstr ""
  22198. #. type: item
  22199. #: guix-git/doc/guix.texi:15334
  22200. #, no-wrap
  22201. msgid "@code{host} (default: @code{#f})"
  22202. msgstr ""
  22203. #. type: table
  22204. #: guix-git/doc/guix.texi:15337
  22205. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  22206. msgstr ""
  22207. #. type: item
  22208. #: guix-git/doc/guix.texi:15338
  22209. #, no-wrap
  22210. msgid "@code{remote?} (default: @code{#f})"
  22211. msgstr ""
  22212. #. type: table
  22213. #: guix-git/doc/guix.texi:15342
  22214. 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}."
  22215. msgstr ""
  22216. #. type: item
  22217. #: guix-git/doc/guix.texi:15343
  22218. #, no-wrap
  22219. msgid "@code{flow-control?} (default: @code{#f})"
  22220. msgstr ""
  22221. #. type: table
  22222. #: guix-git/doc/guix.texi:15345
  22223. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  22224. msgstr ""
  22225. #. type: item
  22226. #: guix-git/doc/guix.texi:15346
  22227. #, no-wrap
  22228. msgid "@code{no-issue?} (default: @code{#f})"
  22229. msgstr ""
  22230. #. type: table
  22231. #: guix-git/doc/guix.texi:15349
  22232. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  22233. msgstr ""
  22234. #. type: item
  22235. #: guix-git/doc/guix.texi:15350
  22236. #, no-wrap
  22237. msgid "@code{init-string} (default: @code{#f})"
  22238. msgstr ""
  22239. #. type: table
  22240. #: guix-git/doc/guix.texi:15353
  22241. 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."
  22242. msgstr ""
  22243. #. type: item
  22244. #: guix-git/doc/guix.texi:15354
  22245. #, no-wrap
  22246. msgid "@code{no-clear?} (default: @code{#f})"
  22247. msgstr ""
  22248. #. type: table
  22249. #: guix-git/doc/guix.texi:15357
  22250. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  22251. msgstr ""
  22252. #. type: item
  22253. #: guix-git/doc/guix.texi:15358
  22254. #, no-wrap
  22255. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  22256. msgstr ""
  22257. #. type: table
  22258. #: guix-git/doc/guix.texi:15362
  22259. 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."
  22260. msgstr ""
  22261. #. type: item
  22262. #: guix-git/doc/guix.texi:15363
  22263. #, no-wrap
  22264. msgid "@code{local-line} (default: @code{#f})"
  22265. msgstr ""
  22266. #. type: table
  22267. #: guix-git/doc/guix.texi:15367
  22268. 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}."
  22269. msgstr ""
  22270. #. type: item
  22271. #: guix-git/doc/guix.texi:15368
  22272. #, no-wrap
  22273. msgid "@code{extract-baud?} (default: @code{#f})"
  22274. msgstr ""
  22275. #. type: table
  22276. #: guix-git/doc/guix.texi:15371
  22277. 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."
  22278. msgstr ""
  22279. #. type: item
  22280. #: guix-git/doc/guix.texi:15372
  22281. #, no-wrap
  22282. msgid "@code{skip-login?} (default: @code{#f})"
  22283. msgstr ""
  22284. #. type: table
  22285. #: guix-git/doc/guix.texi:15376
  22286. 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."
  22287. msgstr ""
  22288. #. type: item
  22289. #: guix-git/doc/guix.texi:15377
  22290. #, no-wrap
  22291. msgid "@code{no-newline?} (default: @code{#f})"
  22292. msgstr ""
  22293. #. type: table
  22294. #: guix-git/doc/guix.texi:15380
  22295. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  22296. msgstr ""
  22297. #. type: item
  22298. #: guix-git/doc/guix.texi:15382
  22299. #, no-wrap
  22300. msgid "@code{login-options} (default: @code{#f})"
  22301. msgstr ""
  22302. #. type: table
  22303. #: guix-git/doc/guix.texi:15387
  22304. 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."
  22305. msgstr ""
  22306. #. type: item
  22307. #: guix-git/doc/guix.texi:15388
  22308. #, no-wrap
  22309. msgid "@code{login-pause} (default: @code{#f})"
  22310. msgstr ""
  22311. #. type: table
  22312. #: guix-git/doc/guix.texi:15392
  22313. 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."
  22314. msgstr ""
  22315. #. type: item
  22316. #: guix-git/doc/guix.texi:15393
  22317. #, no-wrap
  22318. msgid "@code{chroot} (default: @code{#f})"
  22319. msgstr ""
  22320. #. type: table
  22321. #: guix-git/doc/guix.texi:15396
  22322. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  22323. msgstr ""
  22324. #. type: item
  22325. #: guix-git/doc/guix.texi:15397
  22326. #, no-wrap
  22327. msgid "@code{hangup?} (default: @code{#f})"
  22328. msgstr ""
  22329. #. type: table
  22330. #: guix-git/doc/guix.texi:15400
  22331. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  22332. msgstr ""
  22333. #. type: item
  22334. #: guix-git/doc/guix.texi:15401
  22335. #, no-wrap
  22336. msgid "@code{keep-baud?} (default: @code{#f})"
  22337. msgstr ""
  22338. #. type: table
  22339. #: guix-git/doc/guix.texi:15405
  22340. 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."
  22341. msgstr ""
  22342. #. type: item
  22343. #: guix-git/doc/guix.texi:15406
  22344. #, no-wrap
  22345. msgid "@code{timeout} (default: @code{#f})"
  22346. msgstr ""
  22347. #. type: table
  22348. #: guix-git/doc/guix.texi:15409
  22349. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  22350. msgstr ""
  22351. #. type: item
  22352. #: guix-git/doc/guix.texi:15410
  22353. #, no-wrap
  22354. msgid "@code{detect-case?} (default: @code{#f})"
  22355. msgstr ""
  22356. #. type: table
  22357. #: guix-git/doc/guix.texi:15416
  22358. 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."
  22359. msgstr ""
  22360. #. type: item
  22361. #: guix-git/doc/guix.texi:15417
  22362. #, no-wrap
  22363. msgid "@code{wait-cr?} (default: @code{#f})"
  22364. msgstr ""
  22365. #. type: table
  22366. #: guix-git/doc/guix.texi:15422
  22367. 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."
  22368. msgstr ""
  22369. #. type: item
  22370. #: guix-git/doc/guix.texi:15423
  22371. #, no-wrap
  22372. msgid "@code{no-hints?} (default: @code{#f})"
  22373. msgstr ""
  22374. #. type: table
  22375. #: guix-git/doc/guix.texi:15426
  22376. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  22377. msgstr ""
  22378. #. type: item
  22379. #: guix-git/doc/guix.texi:15427
  22380. #, no-wrap
  22381. msgid "@code{no-hostname?} (default: @code{#f})"
  22382. msgstr ""
  22383. #. type: table
  22384. #: guix-git/doc/guix.texi:15430
  22385. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  22386. msgstr ""
  22387. #. type: item
  22388. #: guix-git/doc/guix.texi:15431
  22389. #, no-wrap
  22390. msgid "@code{long-hostname?} (default: @code{#f})"
  22391. msgstr ""
  22392. #. type: table
  22393. #: guix-git/doc/guix.texi:15435
  22394. 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."
  22395. msgstr ""
  22396. #. type: item
  22397. #: guix-git/doc/guix.texi:15436
  22398. #, no-wrap
  22399. msgid "@code{erase-characters} (default: @code{#f})"
  22400. msgstr ""
  22401. #. type: table
  22402. #: guix-git/doc/guix.texi:15439
  22403. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  22404. msgstr ""
  22405. #. type: item
  22406. #: guix-git/doc/guix.texi:15440
  22407. #, no-wrap
  22408. msgid "@code{kill-characters} (default: @code{#f})"
  22409. msgstr ""
  22410. #. type: table
  22411. #: guix-git/doc/guix.texi:15444
  22412. 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."
  22413. msgstr ""
  22414. #. type: item
  22415. #: guix-git/doc/guix.texi:15445
  22416. #, no-wrap
  22417. msgid "@code{chdir} (default: @code{#f})"
  22418. msgstr ""
  22419. #. type: table
  22420. #: guix-git/doc/guix.texi:15448
  22421. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  22422. msgstr ""
  22423. #. type: item
  22424. #: guix-git/doc/guix.texi:15449
  22425. #, no-wrap
  22426. msgid "@code{delay} (default: @code{#f})"
  22427. msgstr ""
  22428. #. type: table
  22429. #: guix-git/doc/guix.texi:15452
  22430. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  22431. msgstr ""
  22432. #. type: item
  22433. #: guix-git/doc/guix.texi:15453
  22434. #, no-wrap
  22435. msgid "@code{nice} (default: @code{#f})"
  22436. msgstr ""
  22437. #. type: table
  22438. #: guix-git/doc/guix.texi:15456
  22439. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  22440. msgstr ""
  22441. #. type: item
  22442. #: guix-git/doc/guix.texi:15457 guix-git/doc/guix.texi:15745
  22443. #: guix-git/doc/guix.texi:16616 guix-git/doc/guix.texi:24130
  22444. #: guix-git/doc/guix.texi:25607 guix-git/doc/guix.texi:28014
  22445. #: guix-git/doc/guix.texi:28809 guix-git/doc/guix.texi:30509
  22446. #: guix-git/doc/guix.texi:32934
  22447. #, no-wrap
  22448. msgid "@code{extra-options} (default: @code{'()})"
  22449. msgstr ""
  22450. #. type: table
  22451. #: guix-git/doc/guix.texi:15460
  22452. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  22453. msgstr ""
  22454. #. type: deffn
  22455. #: guix-git/doc/guix.texi:15464
  22456. #, no-wrap
  22457. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  22458. msgstr ""
  22459. #. type: deffn
  22460. #: guix-git/doc/guix.texi:15468
  22461. 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."
  22462. msgstr ""
  22463. #. type: deftp
  22464. #: guix-git/doc/guix.texi:15470
  22465. #, no-wrap
  22466. msgid "{Data Type} kmscon-configuration"
  22467. msgstr ""
  22468. #. type: deftp
  22469. #: guix-git/doc/guix.texi:15473
  22470. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  22471. msgstr ""
  22472. #. type: code{#1}
  22473. #: guix-git/doc/guix.texi:15476
  22474. #, no-wrap
  22475. msgid "virtual-terminal"
  22476. msgstr ""
  22477. #. type: table
  22478. #: guix-git/doc/guix.texi:15478
  22479. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  22480. msgstr ""
  22481. #. type: item
  22482. #: guix-git/doc/guix.texi:15479
  22483. #, no-wrap
  22484. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  22485. msgstr ""
  22486. #. type: table
  22487. #: guix-git/doc/guix.texi:15482
  22488. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  22489. msgstr ""
  22490. #. type: item
  22491. #: guix-git/doc/guix.texi:15483
  22492. #, no-wrap
  22493. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  22494. msgstr ""
  22495. #. type: table
  22496. #: guix-git/doc/guix.texi:15485
  22497. msgid "A list of arguments to pass to @command{login}."
  22498. msgstr ""
  22499. #. type: item
  22500. #: guix-git/doc/guix.texi:15490
  22501. #, no-wrap
  22502. msgid "@code{hardware-acceleration?} (default: #f)"
  22503. msgstr ""
  22504. #. type: table
  22505. #: guix-git/doc/guix.texi:15492
  22506. msgid "Whether to use hardware acceleration."
  22507. msgstr ""
  22508. #. type: item
  22509. #: guix-git/doc/guix.texi:15493
  22510. #, no-wrap
  22511. msgid "@code{font-engine} (default: @code{\"pango\"})"
  22512. msgstr ""
  22513. #. type: table
  22514. #: guix-git/doc/guix.texi:15495
  22515. msgid "Font engine used in Kmscon."
  22516. msgstr ""
  22517. #. type: item
  22518. #: guix-git/doc/guix.texi:15496
  22519. #, no-wrap
  22520. msgid "@code{font-size} (default: @code{12})"
  22521. msgstr ""
  22522. #. type: table
  22523. #: guix-git/doc/guix.texi:15498
  22524. msgid "Font size used in Kmscon."
  22525. msgstr ""
  22526. #. type: table
  22527. #: guix-git/doc/guix.texi:15502
  22528. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  22529. msgstr ""
  22530. #. type: table
  22531. #: guix-git/doc/guix.texi:15506
  22532. 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."
  22533. msgstr ""
  22534. #. type: item
  22535. #: guix-git/doc/guix.texi:15507
  22536. #, no-wrap
  22537. msgid "@code{kmscon} (default: @var{kmscon})"
  22538. msgstr ""
  22539. #. type: table
  22540. #: guix-git/doc/guix.texi:15509
  22541. msgid "The Kmscon package to use."
  22542. msgstr ""
  22543. #. type: cindex
  22544. #: guix-git/doc/guix.texi:15513
  22545. #, no-wrap
  22546. msgid "name service cache daemon"
  22547. msgstr ""
  22548. #. type: cindex
  22549. #: guix-git/doc/guix.texi:15514
  22550. #, no-wrap
  22551. msgid "nscd"
  22552. msgstr ""
  22553. #. type: deffn
  22554. #: guix-git/doc/guix.texi:15515
  22555. #, no-wrap
  22556. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  22557. msgstr ""
  22558. #. type: deffn
  22559. #: guix-git/doc/guix.texi:15520
  22560. 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."
  22561. msgstr ""
  22562. #. type: deffn
  22563. #: guix-git/doc/guix.texi:15522
  22564. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  22565. msgstr ""
  22566. #. type: item
  22567. #: guix-git/doc/guix.texi:15524
  22568. #, no-wrap
  22569. msgid "invalidate"
  22570. msgstr ""
  22571. #. type: cindex
  22572. #: guix-git/doc/guix.texi:15525
  22573. #, no-wrap
  22574. msgid "cache invalidation, nscd"
  22575. msgstr ""
  22576. #. type: cindex
  22577. #: guix-git/doc/guix.texi:15526
  22578. #, no-wrap
  22579. msgid "nscd, cache invalidation"
  22580. msgstr ""
  22581. #. type: table
  22582. #: guix-git/doc/guix.texi:15528
  22583. msgid "This invalidate the given cache. For instance, running:"
  22584. msgstr ""
  22585. #. type: example
  22586. #: guix-git/doc/guix.texi:15531
  22587. #, no-wrap
  22588. msgid "herd invalidate nscd hosts\n"
  22589. msgstr ""
  22590. #. type: table
  22591. #: guix-git/doc/guix.texi:15535
  22592. msgid "invalidates the host name lookup cache of nscd."
  22593. msgstr ""
  22594. #. type: item
  22595. #: guix-git/doc/guix.texi:15536
  22596. #, no-wrap
  22597. msgid "statistics"
  22598. msgstr ""
  22599. #. type: table
  22600. #: guix-git/doc/guix.texi:15539
  22601. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  22602. msgstr ""
  22603. #. type: defvr
  22604. #: guix-git/doc/guix.texi:15543
  22605. #, no-wrap
  22606. msgid "{Scheme Variable} %nscd-default-configuration"
  22607. msgstr ""
  22608. #. type: defvr
  22609. #: guix-git/doc/guix.texi:15547
  22610. 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."
  22611. msgstr ""
  22612. #. type: deftp
  22613. #: guix-git/doc/guix.texi:15549
  22614. #, no-wrap
  22615. msgid "{Data Type} nscd-configuration"
  22616. msgstr ""
  22617. #. type: deftp
  22618. #: guix-git/doc/guix.texi:15552
  22619. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  22620. msgstr ""
  22621. #. type: item
  22622. #: guix-git/doc/guix.texi:15555
  22623. #, no-wrap
  22624. msgid "@code{name-services} (default: @code{'()})"
  22625. msgstr ""
  22626. #. type: table
  22627. #: guix-git/doc/guix.texi:15558
  22628. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  22629. msgstr ""
  22630. #. type: item
  22631. #: guix-git/doc/guix.texi:15559
  22632. #, no-wrap
  22633. msgid "@code{glibc} (default: @var{glibc})"
  22634. msgstr ""
  22635. #. type: table
  22636. #: guix-git/doc/guix.texi:15562
  22637. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  22638. msgstr ""
  22639. #. type: item
  22640. #: guix-git/doc/guix.texi:15563
  22641. #, no-wrap
  22642. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  22643. msgstr ""
  22644. #. type: table
  22645. #: guix-git/doc/guix.texi:15566
  22646. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  22647. msgstr ""
  22648. #. type: item
  22649. #: guix-git/doc/guix.texi:15567
  22650. #, no-wrap
  22651. msgid "@code{debug-level} (default: @code{0})"
  22652. msgstr ""
  22653. #. type: table
  22654. #: guix-git/doc/guix.texi:15570
  22655. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  22656. msgstr ""
  22657. #. type: item
  22658. #: guix-git/doc/guix.texi:15571
  22659. #, no-wrap
  22660. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  22661. msgstr ""
  22662. #. type: table
  22663. #: guix-git/doc/guix.texi:15574
  22664. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  22665. msgstr ""
  22666. #. type: deftp
  22667. #: guix-git/doc/guix.texi:15578
  22668. #, no-wrap
  22669. msgid "{Data Type} nscd-cache"
  22670. msgstr ""
  22671. #. type: deftp
  22672. #: guix-git/doc/guix.texi:15580
  22673. msgid "Data type representing a cache database of nscd and its parameters."
  22674. msgstr ""
  22675. #. type: cindex
  22676. #: guix-git/doc/guix.texi:15583 guix-git/doc/guix.texi:20020
  22677. #, no-wrap
  22678. msgid "database"
  22679. msgstr ""
  22680. #. type: table
  22681. #: guix-git/doc/guix.texi:15588
  22682. 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})."
  22683. msgstr ""
  22684. #. type: code{#1}
  22685. #: guix-git/doc/guix.texi:15589
  22686. #, no-wrap
  22687. msgid "positive-time-to-live"
  22688. msgstr ""
  22689. #. type: itemx
  22690. #: guix-git/doc/guix.texi:15590
  22691. #, no-wrap
  22692. msgid "@code{negative-time-to-live} (default: @code{20})"
  22693. msgstr ""
  22694. #. type: table
  22695. #: guix-git/doc/guix.texi:15593
  22696. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  22697. msgstr ""
  22698. #. type: item
  22699. #: guix-git/doc/guix.texi:15594
  22700. #, no-wrap
  22701. msgid "@code{check-files?} (default: @code{#t})"
  22702. msgstr ""
  22703. #. type: table
  22704. #: guix-git/doc/guix.texi:15597
  22705. msgid "Whether to check for updates of the files corresponding to @var{database}."
  22706. msgstr ""
  22707. #. type: table
  22708. #: guix-git/doc/guix.texi:15601
  22709. 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."
  22710. msgstr ""
  22711. #. type: item
  22712. #: guix-git/doc/guix.texi:15602
  22713. #, no-wrap
  22714. msgid "@code{persistent?} (default: @code{#t})"
  22715. msgstr ""
  22716. #. type: table
  22717. #: guix-git/doc/guix.texi:15604
  22718. msgid "Whether the cache should be stored persistently on disk."
  22719. msgstr ""
  22720. #. type: item
  22721. #: guix-git/doc/guix.texi:15605
  22722. #, no-wrap
  22723. msgid "@code{shared?} (default: @code{#t})"
  22724. msgstr ""
  22725. #. type: table
  22726. #: guix-git/doc/guix.texi:15607
  22727. msgid "Whether the cache should be shared among users."
  22728. msgstr ""
  22729. #. type: item
  22730. #: guix-git/doc/guix.texi:15608
  22731. #, no-wrap
  22732. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  22733. msgstr ""
  22734. #. type: table
  22735. #: guix-git/doc/guix.texi:15610
  22736. msgid "Maximum size in bytes of the database cache."
  22737. msgstr ""
  22738. #. type: defvr
  22739. #: guix-git/doc/guix.texi:15617
  22740. #, no-wrap
  22741. msgid "{Scheme Variable} %nscd-default-caches"
  22742. msgstr ""
  22743. #. type: defvr
  22744. #: guix-git/doc/guix.texi:15620
  22745. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  22746. msgstr ""
  22747. #. type: defvr
  22748. #: guix-git/doc/guix.texi:15626
  22749. 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."
  22750. msgstr ""
  22751. #. type: anchor{#1}
  22752. #: guix-git/doc/guix.texi:15629
  22753. msgid "syslog-configuration-type"
  22754. msgstr ""
  22755. #. type: cindex
  22756. #: guix-git/doc/guix.texi:15629 guix-git/doc/guix.texi:15645
  22757. #, no-wrap
  22758. msgid "syslog"
  22759. msgstr ""
  22760. #. type: cindex
  22761. #: guix-git/doc/guix.texi:15630 guix-git/doc/guix.texi:16216
  22762. #, no-wrap
  22763. msgid "logging"
  22764. msgstr ""
  22765. #. type: deftp
  22766. #: guix-git/doc/guix.texi:15631
  22767. #, no-wrap
  22768. msgid "{Data Type} syslog-configuration"
  22769. msgstr ""
  22770. #. type: deftp
  22771. #: guix-git/doc/guix.texi:15633
  22772. msgid "This data type represents the configuration of the syslog daemon."
  22773. msgstr ""
  22774. #. type: item
  22775. #: guix-git/doc/guix.texi:15635
  22776. #, no-wrap
  22777. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  22778. msgstr ""
  22779. #. type: table
  22780. #: guix-git/doc/guix.texi:15637
  22781. msgid "The syslog daemon to use."
  22782. msgstr ""
  22783. #. type: item
  22784. #: guix-git/doc/guix.texi:15638
  22785. #, no-wrap
  22786. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  22787. msgstr ""
  22788. #. type: table
  22789. #: guix-git/doc/guix.texi:15640
  22790. msgid "The syslog configuration file to use."
  22791. msgstr ""
  22792. #. type: anchor{#1}
  22793. #: guix-git/doc/guix.texi:15645
  22794. msgid "syslog-service"
  22795. msgstr ""
  22796. #. type: deffn
  22797. #: guix-git/doc/guix.texi:15646
  22798. #, no-wrap
  22799. msgid "{Scheme Procedure} syslog-service @var{config}"
  22800. msgstr ""
  22801. #. type: deffn
  22802. #: guix-git/doc/guix.texi:15648
  22803. msgid "Return a service that runs a syslog daemon according to @var{config}."
  22804. msgstr ""
  22805. #. type: deffn
  22806. #: guix-git/doc/guix.texi:15651
  22807. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  22808. msgstr ""
  22809. #. type: defvr
  22810. #: guix-git/doc/guix.texi:15653
  22811. #, no-wrap
  22812. msgid "{Scheme Variable} guix-service-type"
  22813. msgstr ""
  22814. #. type: defvr
  22815. #: guix-git/doc/guix.texi:15657
  22816. 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."
  22817. msgstr ""
  22818. #. type: anchor{#1}
  22819. #: guix-git/doc/guix.texi:15660
  22820. msgid "guix-configuration-type"
  22821. msgstr ""
  22822. #. type: deftp
  22823. #: guix-git/doc/guix.texi:15660
  22824. #, no-wrap
  22825. msgid "{Data Type} guix-configuration"
  22826. msgstr ""
  22827. #. type: deftp
  22828. #: guix-git/doc/guix.texi:15663
  22829. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  22830. msgstr ""
  22831. #. type: item
  22832. #: guix-git/doc/guix.texi:15665
  22833. #, no-wrap
  22834. msgid "@code{guix} (default: @var{guix})"
  22835. msgstr ""
  22836. #. type: table
  22837. #: guix-git/doc/guix.texi:15667 guix-git/doc/guix.texi:15944
  22838. msgid "The Guix package to use."
  22839. msgstr ""
  22840. #. type: item
  22841. #: guix-git/doc/guix.texi:15668
  22842. #, no-wrap
  22843. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  22844. msgstr ""
  22845. #. type: table
  22846. #: guix-git/doc/guix.texi:15670
  22847. msgid "Name of the group for build user accounts."
  22848. msgstr ""
  22849. #. type: item
  22850. #: guix-git/doc/guix.texi:15671
  22851. #, no-wrap
  22852. msgid "@code{build-accounts} (default: @code{10})"
  22853. msgstr ""
  22854. #. type: table
  22855. #: guix-git/doc/guix.texi:15673
  22856. msgid "Number of build user accounts to create."
  22857. msgstr ""
  22858. #. type: item
  22859. #: guix-git/doc/guix.texi:15674
  22860. #, no-wrap
  22861. msgid "@code{authorize-key?} (default: @code{#t})"
  22862. msgstr ""
  22863. #. type: table
  22864. #: guix-git/doc/guix.texi:15681
  22865. 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})."
  22866. msgstr ""
  22867. #. type: table
  22868. #: guix-git/doc/guix.texi:15687
  22869. 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."
  22870. msgstr ""
  22871. #. type: quotation
  22872. #: guix-git/doc/guix.texi:15694
  22873. 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}."
  22874. msgstr ""
  22875. #. type: vindex
  22876. #: guix-git/doc/guix.texi:15696
  22877. #, no-wrap
  22878. msgid "%default-authorized-guix-keys"
  22879. msgstr ""
  22880. #. type: item
  22881. #: guix-git/doc/guix.texi:15697
  22882. #, no-wrap
  22883. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  22884. msgstr ""
  22885. #. type: table
  22886. #: guix-git/doc/guix.texi:15703
  22887. 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."
  22888. msgstr ""
  22889. #. type: item
  22890. #: guix-git/doc/guix.texi:15704
  22891. #, no-wrap
  22892. msgid "@code{use-substitutes?} (default: @code{#t})"
  22893. msgstr ""
  22894. #. type: table
  22895. #: guix-git/doc/guix.texi:15706
  22896. msgid "Whether to use substitutes."
  22897. msgstr ""
  22898. #. type: item
  22899. #: guix-git/doc/guix.texi:15707 guix-git/doc/guix.texi:28111
  22900. #, no-wrap
  22901. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  22902. msgstr ""
  22903. #. type: table
  22904. #: guix-git/doc/guix.texi:15709 guix-git/doc/guix.texi:28113
  22905. msgid "The list of URLs where to look for substitutes by default."
  22906. msgstr ""
  22907. #. type: table
  22908. #: guix-git/doc/guix.texi:15716
  22909. 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:"
  22910. msgstr ""
  22911. #. type: lisp
  22912. #: guix-git/doc/guix.texi:15725
  22913. #, no-wrap
  22914. msgid ""
  22915. "(guix-configuration\n"
  22916. " (substitute-urls\n"
  22917. " (append (list \"https://guix.example.org\")\n"
  22918. " %default-substitute-urls))\n"
  22919. " (authorized-keys\n"
  22920. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  22921. " %default-authorized-guix-keys)))\n"
  22922. msgstr ""
  22923. #. type: table
  22924. #: guix-git/doc/guix.texi:15730
  22925. 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."
  22926. msgstr ""
  22927. #. type: item
  22928. #: guix-git/doc/guix.texi:15731
  22929. #, no-wrap
  22930. msgid "@code{max-silent-time} (default: @code{0})"
  22931. msgstr ""
  22932. #. type: itemx
  22933. #: guix-git/doc/guix.texi:15732
  22934. #, no-wrap
  22935. msgid "@code{timeout} (default: @code{0})"
  22936. msgstr ""
  22937. #. type: table
  22938. #: guix-git/doc/guix.texi:15736
  22939. 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."
  22940. msgstr ""
  22941. #. type: item
  22942. #: guix-git/doc/guix.texi:15737
  22943. #, no-wrap
  22944. msgid "@code{log-compression} (default: @code{'bzip2})"
  22945. msgstr ""
  22946. #. type: table
  22947. #: guix-git/doc/guix.texi:15740
  22948. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  22949. msgstr ""
  22950. #. type: item
  22951. #: guix-git/doc/guix.texi:15741
  22952. #, no-wrap
  22953. msgid "@code{discover?} (default: @code{#f})"
  22954. msgstr ""
  22955. #. type: table
  22956. #: guix-git/doc/guix.texi:15747
  22957. msgid "List of extra command-line options for @command{guix-daemon}."
  22958. msgstr ""
  22959. #. type: item
  22960. #: guix-git/doc/guix.texi:15748
  22961. #, no-wrap
  22962. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  22963. msgstr ""
  22964. #. type: table
  22965. #: guix-git/doc/guix.texi:15751
  22966. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  22967. msgstr ""
  22968. #. type: cindex
  22969. #: guix-git/doc/guix.texi:15752
  22970. #, no-wrap
  22971. msgid "HTTP proxy, for @code{guix-daemon}"
  22972. msgstr ""
  22973. #. type: cindex
  22974. #: guix-git/doc/guix.texi:15753
  22975. #, no-wrap
  22976. msgid "proxy, for @code{guix-daemon} HTTP access"
  22977. msgstr ""
  22978. #. type: item
  22979. #: guix-git/doc/guix.texi:15754
  22980. #, no-wrap
  22981. msgid "@code{http-proxy} (default: @code{#f})"
  22982. msgstr ""
  22983. #. type: table
  22984. #: guix-git/doc/guix.texi:15757
  22985. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  22986. msgstr ""
  22987. #. type: table
  22988. #: guix-git/doc/guix.texi:15760
  22989. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  22990. msgstr ""
  22991. #. type: example
  22992. #: guix-git/doc/guix.texi:15763
  22993. #, no-wrap
  22994. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  22995. msgstr ""
  22996. #. type: table
  22997. #: guix-git/doc/guix.texi:15766
  22998. msgid "To clear the proxy settings, run:"
  22999. msgstr ""
  23000. #. type: example
  23001. #: guix-git/doc/guix.texi:15769
  23002. #, no-wrap
  23003. msgid "herd set-http-proxy guix-daemon\n"
  23004. msgstr ""
  23005. #. type: item
  23006. #: guix-git/doc/guix.texi:15771
  23007. #, no-wrap
  23008. msgid "@code{tmpdir} (default: @code{#f})"
  23009. msgstr ""
  23010. #. type: table
  23011. #: guix-git/doc/guix.texi:15773
  23012. msgid "A directory path where the @command{guix-daemon} will perform builds."
  23013. msgstr ""
  23014. #. type: deffn
  23015. #: guix-git/doc/guix.texi:15777
  23016. #, no-wrap
  23017. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  23018. msgstr ""
  23019. #. type: deffn
  23020. #: guix-git/doc/guix.texi:15783
  23021. 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."
  23022. msgstr ""
  23023. #. type: deffn
  23024. #: guix-git/doc/guix.texi:15786
  23025. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  23026. msgstr ""
  23027. #. type: deffn
  23028. #: guix-git/doc/guix.texi:15788
  23029. #, no-wrap
  23030. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  23031. msgstr ""
  23032. #. type: deffn
  23033. #: guix-git/doc/guix.texi:15791
  23034. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  23035. msgstr ""
  23036. #. type: deffn
  23037. #: guix-git/doc/guix.texi:15795
  23038. 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."
  23039. msgstr ""
  23040. #. type: lisp
  23041. #: guix-git/doc/guix.texi:15803
  23042. #, no-wrap
  23043. msgid ""
  23044. "(define %example-udev-rule\n"
  23045. " (udev-rule\n"
  23046. " \"90-usb-thing.rules\"\n"
  23047. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  23048. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  23049. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  23050. msgstr ""
  23051. #. type: deffn
  23052. #: guix-git/doc/guix.texi:15806
  23053. #, no-wrap
  23054. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  23055. msgstr ""
  23056. #. type: deffn
  23057. #: guix-git/doc/guix.texi:15813
  23058. 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."
  23059. msgstr ""
  23060. #. type: deffn
  23061. #: guix-git/doc/guix.texi:15816
  23062. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  23063. msgstr ""
  23064. #. type: lisp
  23065. #: guix-git/doc/guix.texi:15823
  23066. #, no-wrap
  23067. msgid ""
  23068. "(operating-system\n"
  23069. " ;; @dots{}\n"
  23070. " (services\n"
  23071. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  23072. " %desktop-services)))\n"
  23073. msgstr ""
  23074. #. type: deffn
  23075. #: guix-git/doc/guix.texi:15826
  23076. #, no-wrap
  23077. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  23078. msgstr ""
  23079. #. type: deffn
  23080. #: guix-git/doc/guix.texi:15829
  23081. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  23082. msgstr ""
  23083. #. type: deffn
  23084. #: guix-git/doc/guix.texi:15831
  23085. msgid "The following example showcases how we can use an existing rule file."
  23086. msgstr ""
  23087. #. type: lisp
  23088. #: guix-git/doc/guix.texi:15836
  23089. #, no-wrap
  23090. msgid ""
  23091. "(use-modules (guix download) ;for url-fetch\n"
  23092. " (guix packages) ;for origin\n"
  23093. " @dots{})\n"
  23094. "\n"
  23095. msgstr ""
  23096. #. type: lisp
  23097. #: guix-git/doc/guix.texi:15847
  23098. #, no-wrap
  23099. msgid ""
  23100. "(define %android-udev-rules\n"
  23101. " (file->udev-rule\n"
  23102. " \"51-android-udev.rules\"\n"
  23103. " (let ((version \"20170910\"))\n"
  23104. " (origin\n"
  23105. " (method url-fetch)\n"
  23106. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  23107. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  23108. " (sha256\n"
  23109. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  23110. msgstr ""
  23111. #. type: Plain text
  23112. #: guix-git/doc/guix.texi:15856
  23113. 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."
  23114. msgstr ""
  23115. #. type: Plain text
  23116. #: guix-git/doc/guix.texi:15865
  23117. 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."
  23118. msgstr ""
  23119. #. type: lisp
  23120. #: guix-git/doc/guix.texi:15870
  23121. #, no-wrap
  23122. msgid ""
  23123. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  23124. " (gnu system shadow) ;for user-group\n"
  23125. " @dots{})\n"
  23126. "\n"
  23127. msgstr ""
  23128. #. type: lisp
  23129. #: guix-git/doc/guix.texi:15883
  23130. #, no-wrap
  23131. msgid ""
  23132. "(operating-system\n"
  23133. " ;; @dots{}\n"
  23134. " (users (cons (user-account\n"
  23135. " ;; @dots{}\n"
  23136. " (supplementary-groups\n"
  23137. " '(\"adbusers\" ;for adb\n"
  23138. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  23139. " ;; @dots{}\n"
  23140. " (services\n"
  23141. " (cons (udev-rules-service 'android android-udev-rules\n"
  23142. " #:groups '(\"adbusers\"))\n"
  23143. " %desktop-services)))\n"
  23144. msgstr ""
  23145. #. type: defvr
  23146. #: guix-git/doc/guix.texi:15885
  23147. #, no-wrap
  23148. msgid "{Scheme Variable} urandom-seed-service-type"
  23149. msgstr ""
  23150. #. type: defvr
  23151. #: guix-git/doc/guix.texi:15890
  23152. 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."
  23153. msgstr ""
  23154. #. type: defvr
  23155. #: guix-git/doc/guix.texi:15892
  23156. #, no-wrap
  23157. msgid "{Scheme Variable} %random-seed-file"
  23158. msgstr ""
  23159. #. type: defvr
  23160. #: guix-git/doc/guix.texi:15896
  23161. 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}."
  23162. msgstr ""
  23163. #. type: cindex
  23164. #: guix-git/doc/guix.texi:15898
  23165. #, no-wrap
  23166. msgid "mouse"
  23167. msgstr ""
  23168. #. type: cindex
  23169. #: guix-git/doc/guix.texi:15899
  23170. #, no-wrap
  23171. msgid "gpm"
  23172. msgstr ""
  23173. #. type: defvr
  23174. #: guix-git/doc/guix.texi:15900
  23175. #, no-wrap
  23176. msgid "{Scheme Variable} gpm-service-type"
  23177. msgstr ""
  23178. #. type: defvr
  23179. #: guix-git/doc/guix.texi:15905
  23180. 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."
  23181. msgstr ""
  23182. #. type: defvr
  23183. #: guix-git/doc/guix.texi:15908
  23184. 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}."
  23185. msgstr ""
  23186. #. type: deftp
  23187. #: guix-git/doc/guix.texi:15910
  23188. #, no-wrap
  23189. msgid "{Data Type} gpm-configuration"
  23190. msgstr ""
  23191. #. type: deftp
  23192. #: guix-git/doc/guix.texi:15912
  23193. msgid "Data type representing the configuration of GPM."
  23194. msgstr ""
  23195. #. type: item
  23196. #: guix-git/doc/guix.texi:15914
  23197. #, no-wrap
  23198. msgid "@code{options} (default: @code{%default-gpm-options})"
  23199. msgstr ""
  23200. #. type: table
  23201. #: guix-git/doc/guix.texi:15919
  23202. 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."
  23203. msgstr ""
  23204. #. type: item
  23205. #: guix-git/doc/guix.texi:15920
  23206. #, no-wrap
  23207. msgid "@code{gpm} (default: @code{gpm})"
  23208. msgstr ""
  23209. #. type: table
  23210. #: guix-git/doc/guix.texi:15922
  23211. msgid "The GPM package to use."
  23212. msgstr ""
  23213. #. type: anchor{#1}
  23214. #: guix-git/doc/guix.texi:15927
  23215. msgid "guix-publish-service-type"
  23216. msgstr ""
  23217. #. type: deffn
  23218. #: guix-git/doc/guix.texi:15927
  23219. #, no-wrap
  23220. msgid "{Scheme Variable} guix-publish-service-type"
  23221. msgstr ""
  23222. #. type: deffn
  23223. #: guix-git/doc/guix.texi:15931
  23224. 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."
  23225. msgstr ""
  23226. #. type: deffn
  23227. #: guix-git/doc/guix.texi:15935
  23228. 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."
  23229. msgstr ""
  23230. #. type: deftp
  23231. #: guix-git/doc/guix.texi:15937
  23232. #, no-wrap
  23233. msgid "{Data Type} guix-publish-configuration"
  23234. msgstr ""
  23235. #. type: deftp
  23236. #: guix-git/doc/guix.texi:15940
  23237. msgid "Data type representing the configuration of the @code{guix publish} service."
  23238. msgstr ""
  23239. #. type: item
  23240. #: guix-git/doc/guix.texi:15942
  23241. #, no-wrap
  23242. msgid "@code{guix} (default: @code{guix})"
  23243. msgstr ""
  23244. #. type: item
  23245. #: guix-git/doc/guix.texi:15945 guix-git/doc/guix.texi:30364
  23246. #, no-wrap
  23247. msgid "@code{port} (default: @code{80})"
  23248. msgstr ""
  23249. #. type: table
  23250. #: guix-git/doc/guix.texi:15947
  23251. msgid "The TCP port to listen for connections."
  23252. msgstr ""
  23253. #. type: item
  23254. #: guix-git/doc/guix.texi:15948 guix-git/doc/guix.texi:27994
  23255. #: guix-git/doc/guix.texi:31745
  23256. #, no-wrap
  23257. msgid "@code{host} (default: @code{\"localhost\"})"
  23258. msgstr ""
  23259. #. type: table
  23260. #: guix-git/doc/guix.texi:15951
  23261. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  23262. msgstr ""
  23263. #. type: item
  23264. #: guix-git/doc/guix.texi:15952
  23265. #, no-wrap
  23266. msgid "@code{advertise?} (default: @code{#f})"
  23267. msgstr ""
  23268. #. type: table
  23269. #: guix-git/doc/guix.texi:15955
  23270. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  23271. msgstr ""
  23272. #. type: table
  23273. #: guix-git/doc/guix.texi:15959
  23274. 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."
  23275. msgstr ""
  23276. #. type: item
  23277. #: guix-git/doc/guix.texi:15960
  23278. #, no-wrap
  23279. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  23280. msgstr ""
  23281. #. type: table
  23282. #: guix-git/doc/guix.texi:15964
  23283. 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:"
  23284. msgstr ""
  23285. #. type: lisp
  23286. #: guix-git/doc/guix.texi:15967
  23287. #, no-wrap
  23288. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  23289. msgstr ""
  23290. #. type: table
  23291. #: guix-git/doc/guix.texi:15973
  23292. 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."
  23293. msgstr ""
  23294. #. type: table
  23295. #: guix-git/doc/guix.texi:15975
  23296. msgid "An empty list disables compression altogether."
  23297. msgstr ""
  23298. #. type: item
  23299. #: guix-git/doc/guix.texi:15976
  23300. #, no-wrap
  23301. msgid "@code{nar-path} (default: @code{\"nar\"})"
  23302. msgstr ""
  23303. #. type: table
  23304. #: guix-git/doc/guix.texi:15979
  23305. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  23306. msgstr ""
  23307. #. type: item
  23308. #: guix-git/doc/guix.texi:15980
  23309. #, no-wrap
  23310. msgid "@code{cache} (default: @code{#f})"
  23311. msgstr ""
  23312. #. type: table
  23313. #: guix-git/doc/guix.texi:15986
  23314. 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."
  23315. msgstr ""
  23316. #. type: item
  23317. #: guix-git/doc/guix.texi:15987
  23318. #, no-wrap
  23319. msgid "@code{workers} (default: @code{#f})"
  23320. msgstr ""
  23321. #. type: table
  23322. #: guix-git/doc/guix.texi:15991
  23323. 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."
  23324. msgstr ""
  23325. #. type: item
  23326. #: guix-git/doc/guix.texi:15992
  23327. #, no-wrap
  23328. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  23329. msgstr ""
  23330. #. type: table
  23331. #: guix-git/doc/guix.texi:15997
  23332. 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."
  23333. msgstr ""
  23334. #. type: item
  23335. #: guix-git/doc/guix.texi:15998
  23336. #, no-wrap
  23337. msgid "@code{ttl} (default: @code{#f})"
  23338. msgstr ""
  23339. #. type: table
  23340. #: guix-git/doc/guix.texi:16002
  23341. 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."
  23342. msgstr ""
  23343. #. type: anchor{#1}
  23344. #: guix-git/doc/guix.texi:16006
  23345. msgid "rngd-service"
  23346. msgstr ""
  23347. #. type: deffn
  23348. #: guix-git/doc/guix.texi:16006
  23349. #, no-wrap
  23350. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  23351. msgstr ""
  23352. #. type: deffn
  23353. #: guix-git/doc/guix.texi:16011
  23354. 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."
  23355. msgstr ""
  23356. #. type: anchor{#1}
  23357. #: guix-git/doc/guix.texi:16014
  23358. msgid "pam-limits-service"
  23359. msgstr ""
  23360. #. type: cindex
  23361. #: guix-git/doc/guix.texi:16014
  23362. #, no-wrap
  23363. msgid "session limits"
  23364. msgstr ""
  23365. #. type: cindex
  23366. #: guix-git/doc/guix.texi:16015
  23367. #, no-wrap
  23368. msgid "ulimit"
  23369. msgstr ""
  23370. #. type: cindex
  23371. #: guix-git/doc/guix.texi:16016
  23372. #, no-wrap
  23373. msgid "priority"
  23374. msgstr ""
  23375. #. type: cindex
  23376. #: guix-git/doc/guix.texi:16017
  23377. #, no-wrap
  23378. msgid "realtime"
  23379. msgstr ""
  23380. #. type: cindex
  23381. #: guix-git/doc/guix.texi:16018
  23382. #, no-wrap
  23383. msgid "jackd"
  23384. msgstr ""
  23385. #. type: cindex
  23386. #: guix-git/doc/guix.texi:16019
  23387. #, no-wrap
  23388. msgid "nofile"
  23389. msgstr ""
  23390. #. type: cindex
  23391. #: guix-git/doc/guix.texi:16020
  23392. #, no-wrap
  23393. msgid "open file descriptors"
  23394. msgstr ""
  23395. #. type: deffn
  23396. #: guix-git/doc/guix.texi:16021
  23397. #, no-wrap
  23398. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  23399. msgstr ""
  23400. #. type: deffn
  23401. #: guix-git/doc/guix.texi:16028
  23402. 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."
  23403. msgstr ""
  23404. #. type: deffn
  23405. #: guix-git/doc/guix.texi:16031
  23406. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  23407. msgstr ""
  23408. #. type: lisp
  23409. #: guix-git/doc/guix.texi:16037
  23410. #, no-wrap
  23411. msgid ""
  23412. "(pam-limits-service\n"
  23413. " (list\n"
  23414. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  23415. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  23416. msgstr ""
  23417. #. type: deffn
  23418. #: guix-git/doc/guix.texi:16043
  23419. 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."
  23420. msgstr ""
  23421. #. type: deffn
  23422. #: guix-git/doc/guix.texi:16046
  23423. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  23424. msgstr ""
  23425. #. type: lisp
  23426. #: guix-git/doc/guix.texi:16051
  23427. #, no-wrap
  23428. msgid ""
  23429. "(pam-limits-service\n"
  23430. " (list\n"
  23431. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  23432. msgstr ""
  23433. #. type: deffn
  23434. #: guix-git/doc/guix.texi:16059
  23435. 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."
  23436. msgstr ""
  23437. #. type: cindex
  23438. #: guix-git/doc/guix.texi:16064 guix-git/doc/guix.texi:35807
  23439. #, no-wrap
  23440. msgid "cron"
  23441. msgstr ""
  23442. #. type: cindex
  23443. #: guix-git/doc/guix.texi:16065 guix-git/doc/guix.texi:35808
  23444. #, no-wrap
  23445. msgid "mcron"
  23446. msgstr ""
  23447. #. type: cindex
  23448. #: guix-git/doc/guix.texi:16066 guix-git/doc/guix.texi:35809
  23449. #, no-wrap
  23450. msgid "scheduling jobs"
  23451. msgstr ""
  23452. #. type: Plain text
  23453. #: guix-git/doc/guix.texi:16073
  23454. 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."
  23455. msgstr ""
  23456. #. type: Plain text
  23457. #: guix-git/doc/guix.texi:16081
  23458. 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})."
  23459. msgstr ""
  23460. #. type: lisp
  23461. #: guix-git/doc/guix.texi:16085
  23462. #, no-wrap
  23463. msgid ""
  23464. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  23465. "(use-package-modules base idutils)\n"
  23466. "\n"
  23467. msgstr ""
  23468. #. type: lisp
  23469. #: guix-git/doc/guix.texi:16095
  23470. #, no-wrap
  23471. msgid ""
  23472. "(define updatedb-job\n"
  23473. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  23474. " ;; job's action as a Scheme procedure.\n"
  23475. " #~(job '(next-hour '(3))\n"
  23476. " (lambda ()\n"
  23477. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  23478. " \"updatedb\"\n"
  23479. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  23480. " \"updatedb\"))\n"
  23481. "\n"
  23482. msgstr ""
  23483. #. type: lisp
  23484. #: guix-git/doc/guix.texi:16101
  23485. #, no-wrap
  23486. msgid ""
  23487. "(define garbage-collector-job\n"
  23488. " ;; Collect garbage 5 minutes after midnight every day.\n"
  23489. " ;; The job's action is a shell command.\n"
  23490. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  23491. " \"guix gc -F 1G\"))\n"
  23492. "\n"
  23493. msgstr ""
  23494. #. type: lisp
  23495. #: guix-git/doc/guix.texi:16108
  23496. #, no-wrap
  23497. msgid ""
  23498. "(define idutils-job\n"
  23499. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  23500. " ;; and 19:15PM. This runs from the user's home directory.\n"
  23501. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  23502. " (string-append #$idutils \"/bin/mkid src\")\n"
  23503. " #:user \"charlie\"))\n"
  23504. "\n"
  23505. msgstr ""
  23506. #. type: lisp
  23507. #: guix-git/doc/guix.texi:16111
  23508. #, no-wrap
  23509. msgid ""
  23510. "(operating-system\n"
  23511. " ;; @dots{}\n"
  23512. "\n"
  23513. msgstr ""
  23514. #. type: lisp
  23515. #: guix-git/doc/guix.texi:16121
  23516. #, no-wrap
  23517. msgid ""
  23518. " ;; %BASE-SERVICES already includes an instance of\n"
  23519. " ;; 'mcron-service-type', which we extend with additional\n"
  23520. " ;; jobs using 'simple-service'.\n"
  23521. " (services (cons (simple-service 'my-cron-jobs\n"
  23522. " mcron-service-type\n"
  23523. " (list garbage-collector-job\n"
  23524. " updatedb-job\n"
  23525. " idutils-job))\n"
  23526. " %base-services)))\n"
  23527. msgstr ""
  23528. #. type: quotation
  23529. #: guix-git/doc/guix.texi:16123
  23530. #, no-wrap
  23531. msgid "Tip"
  23532. msgstr ""
  23533. #. type: quotation
  23534. #: guix-git/doc/guix.texi:16129
  23535. 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!"
  23536. msgstr ""
  23537. #. type: Plain text
  23538. #: guix-git/doc/guix.texi:16136
  23539. 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."
  23540. msgstr ""
  23541. #. type: lisp
  23542. #: guix-git/doc/guix.texi:16152
  23543. #, no-wrap
  23544. msgid ""
  23545. "(define %battery-alert-job\n"
  23546. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  23547. " #~(job\n"
  23548. " '(next-minute (range 0 60 1))\n"
  23549. " #$(program-file\n"
  23550. " \"battery-alert.scm\"\n"
  23551. " (with-imported-modules (source-module-closure\n"
  23552. " '((guix build utils)))\n"
  23553. " #~(begin\n"
  23554. " (use-modules (guix build utils)\n"
  23555. " (ice-9 popen)\n"
  23556. " (ice-9 regex)\n"
  23557. " (ice-9 textual-ports)\n"
  23558. " (srfi srfi-2))\n"
  23559. "\n"
  23560. msgstr ""
  23561. #. type: lisp
  23562. #: guix-git/doc/guix.texi:16154
  23563. #, no-wrap
  23564. msgid ""
  23565. " (define %min-level 20)\n"
  23566. "\n"
  23567. msgstr ""
  23568. #. type: lisp
  23569. #: guix-git/doc/guix.texi:16165
  23570. #, no-wrap
  23571. msgid ""
  23572. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  23573. " (and-let* ((input-pipe (open-pipe*\n"
  23574. " OPEN_READ\n"
  23575. " #$(file-append acpi \"/bin/acpi\")))\n"
  23576. " (output (get-string-all input-pipe))\n"
  23577. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  23578. " (level (string->number (match:substring m 1)))\n"
  23579. " ((< level %min-level)))\n"
  23580. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  23581. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  23582. msgstr ""
  23583. #. type: Plain text
  23584. #: guix-git/doc/guix.texi:16170
  23585. 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."
  23586. msgstr ""
  23587. #. type: Plain text
  23588. #: guix-git/doc/guix.texi:16173
  23589. 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:"
  23590. msgstr ""
  23591. #. type: example
  23592. #: guix-git/doc/guix.texi:16176
  23593. #, no-wrap
  23594. msgid "# herd schedule mcron\n"
  23595. msgstr ""
  23596. #. type: Plain text
  23597. #: guix-git/doc/guix.texi:16181
  23598. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  23599. msgstr ""
  23600. #. type: example
  23601. #: guix-git/doc/guix.texi:16184
  23602. #, no-wrap
  23603. msgid "# herd schedule mcron 10\n"
  23604. msgstr ""
  23605. #. type: defvr
  23606. #: guix-git/doc/guix.texi:16186
  23607. #, no-wrap
  23608. msgid "{Scheme Variable} mcron-service-type"
  23609. msgstr ""
  23610. #. type: defvr
  23611. #: guix-git/doc/guix.texi:16189
  23612. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  23613. msgstr ""
  23614. #. type: defvr
  23615. #: guix-git/doc/guix.texi:16194 guix-git/doc/guix.texi:35828
  23616. 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."
  23617. msgstr ""
  23618. #. type: deftp
  23619. #: guix-git/doc/guix.texi:16196
  23620. #, no-wrap
  23621. msgid "{Data Type} mcron-configuration"
  23622. msgstr ""
  23623. #. type: deftp
  23624. #: guix-git/doc/guix.texi:16198 guix-git/doc/guix.texi:35832
  23625. msgid "Data type representing the configuration of mcron."
  23626. msgstr ""
  23627. #. type: item
  23628. #: guix-git/doc/guix.texi:16200 guix-git/doc/guix.texi:35834
  23629. #, no-wrap
  23630. msgid "@code{mcron} (default: @var{mcron})"
  23631. msgstr ""
  23632. #. type: table
  23633. #: guix-git/doc/guix.texi:16202 guix-git/doc/guix.texi:35836
  23634. msgid "The mcron package to use."
  23635. msgstr ""
  23636. #. type: code{#1}
  23637. #: guix-git/doc/guix.texi:16203 guix-git/doc/guix.texi:16272
  23638. #: guix-git/doc/guix.texi:35837
  23639. #, no-wrap
  23640. msgid "jobs"
  23641. msgstr ""
  23642. #. type: table
  23643. #: guix-git/doc/guix.texi:16207 guix-git/doc/guix.texi:35841
  23644. 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})."
  23645. msgstr ""
  23646. #. type: cindex
  23647. #: guix-git/doc/guix.texi:16214
  23648. #, no-wrap
  23649. msgid "rottlog"
  23650. msgstr ""
  23651. #. type: cindex
  23652. #: guix-git/doc/guix.texi:16215
  23653. #, no-wrap
  23654. msgid "log rotation"
  23655. msgstr ""
  23656. #. type: Plain text
  23657. #: guix-git/doc/guix.texi:16222
  23658. 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})."
  23659. msgstr ""
  23660. #. type: Plain text
  23661. #: guix-git/doc/guix.texi:16228
  23662. 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):"
  23663. msgstr ""
  23664. #. type: lisp
  23665. #: guix-git/doc/guix.texi:16232
  23666. #, no-wrap
  23667. msgid ""
  23668. "(use-modules (guix) (gnu))\n"
  23669. "(use-service-modules admin)\n"
  23670. "\n"
  23671. msgstr ""
  23672. #. type: lisp
  23673. #: guix-git/doc/guix.texi:16236
  23674. #, no-wrap
  23675. msgid ""
  23676. "(define my-log-files\n"
  23677. " ;; Log files that I want to rotate.\n"
  23678. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  23679. "\n"
  23680. msgstr ""
  23681. #. type: lisp
  23682. #: guix-git/doc/guix.texi:16245
  23683. #, no-wrap
  23684. msgid ""
  23685. "(operating-system\n"
  23686. " ;; @dots{}\n"
  23687. " (services (cons (simple-service 'rotate-my-stuff\n"
  23688. " rottlog-service-type\n"
  23689. " (list (log-rotation\n"
  23690. " (frequency 'daily)\n"
  23691. " (files my-log-files))))\n"
  23692. " %base-services)))\n"
  23693. msgstr ""
  23694. #. type: defvr
  23695. #: guix-git/doc/guix.texi:16247
  23696. #, no-wrap
  23697. msgid "{Scheme Variable} rottlog-service-type"
  23698. msgstr ""
  23699. #. type: defvr
  23700. #: guix-git/doc/guix.texi:16250
  23701. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  23702. msgstr ""
  23703. #. type: defvr
  23704. #: guix-git/doc/guix.texi:16253
  23705. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  23706. msgstr ""
  23707. #. type: defvr
  23708. #: guix-git/doc/guix.texi:16256
  23709. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  23710. msgstr ""
  23711. #. type: deftp
  23712. #: guix-git/doc/guix.texi:16258
  23713. #, no-wrap
  23714. msgid "{Data Type} rottlog-configuration"
  23715. msgstr ""
  23716. #. type: deftp
  23717. #: guix-git/doc/guix.texi:16260
  23718. msgid "Data type representing the configuration of rottlog."
  23719. msgstr ""
  23720. #. type: item
  23721. #: guix-git/doc/guix.texi:16262
  23722. #, no-wrap
  23723. msgid "@code{rottlog} (default: @code{rottlog})"
  23724. msgstr ""
  23725. #. type: table
  23726. #: guix-git/doc/guix.texi:16264
  23727. msgid "The Rottlog package to use."
  23728. msgstr ""
  23729. #. type: item
  23730. #: guix-git/doc/guix.texi:16265
  23731. #, no-wrap
  23732. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  23733. msgstr ""
  23734. #. type: table
  23735. #: guix-git/doc/guix.texi:16268
  23736. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  23737. msgstr ""
  23738. #. type: item
  23739. #: guix-git/doc/guix.texi:16269
  23740. #, no-wrap
  23741. msgid "@code{rotations} (default: @code{%default-rotations})"
  23742. msgstr ""
  23743. #. type: table
  23744. #: guix-git/doc/guix.texi:16271
  23745. msgid "A list of @code{log-rotation} objects as defined below."
  23746. msgstr ""
  23747. #. type: table
  23748. #: guix-git/doc/guix.texi:16275
  23749. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  23750. msgstr ""
  23751. #. type: deftp
  23752. #: guix-git/doc/guix.texi:16278
  23753. #, no-wrap
  23754. msgid "{Data Type} log-rotation"
  23755. msgstr ""
  23756. #. type: deftp
  23757. #: guix-git/doc/guix.texi:16280
  23758. msgid "Data type representing the rotation of a group of log files."
  23759. msgstr ""
  23760. #. type: deftp
  23761. #: guix-git/doc/guix.texi:16284
  23762. 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:"
  23763. msgstr ""
  23764. #. type: lisp
  23765. #: guix-git/doc/guix.texi:16293
  23766. #, no-wrap
  23767. msgid ""
  23768. "(log-rotation\n"
  23769. " (frequency 'daily)\n"
  23770. " (files '(\"/var/log/apache/*\"))\n"
  23771. " (options '(\"storedir apache-archives\"\n"
  23772. " \"rotate 6\"\n"
  23773. " \"notifempty\"\n"
  23774. " \"nocompress\")))\n"
  23775. msgstr ""
  23776. #. type: deftp
  23777. #: guix-git/doc/guix.texi:16296
  23778. msgid "The list of fields is as follows:"
  23779. msgstr ""
  23780. #. type: item
  23781. #: guix-git/doc/guix.texi:16298
  23782. #, no-wrap
  23783. msgid "@code{frequency} (default: @code{'weekly})"
  23784. msgstr ""
  23785. #. type: table
  23786. #: guix-git/doc/guix.texi:16300
  23787. msgid "The log rotation frequency, a symbol."
  23788. msgstr ""
  23789. #. type: code{#1}
  23790. #: guix-git/doc/guix.texi:16301
  23791. #, no-wrap
  23792. msgid "files"
  23793. msgstr ""
  23794. #. type: table
  23795. #: guix-git/doc/guix.texi:16303
  23796. msgid "The list of files or file glob patterns to rotate."
  23797. msgstr ""
  23798. #. type: item
  23799. #: guix-git/doc/guix.texi:16304
  23800. #, no-wrap
  23801. msgid "@code{options} (default: @code{'()})"
  23802. msgstr ""
  23803. #. type: table
  23804. #: guix-git/doc/guix.texi:16307
  23805. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  23806. msgstr ""
  23807. #. type: item
  23808. #: guix-git/doc/guix.texi:16308
  23809. #, no-wrap
  23810. msgid "@code{post-rotate} (default: @code{#f})"
  23811. msgstr ""
  23812. #. type: table
  23813. #: guix-git/doc/guix.texi:16310
  23814. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  23815. msgstr ""
  23816. #. type: defvr
  23817. #: guix-git/doc/guix.texi:16313
  23818. #, no-wrap
  23819. msgid "{Scheme Variable} %default-rotations"
  23820. msgstr ""
  23821. #. type: defvr
  23822. #: guix-git/doc/guix.texi:16316
  23823. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  23824. msgstr ""
  23825. #. type: defvr
  23826. #: guix-git/doc/guix.texi:16318
  23827. #, no-wrap
  23828. msgid "{Scheme Variable} %rotated-files"
  23829. msgstr ""
  23830. #. type: defvr
  23831. #: guix-git/doc/guix.texi:16322
  23832. 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\")}."
  23833. msgstr ""
  23834. #. type: Plain text
  23835. #: guix-git/doc/guix.texi:16329
  23836. msgid "The @code{(gnu services networking)} module provides services to configure the network interface."
  23837. msgstr ""
  23838. #. type: cindex
  23839. #: guix-git/doc/guix.texi:16330
  23840. #, no-wrap
  23841. msgid "DHCP, networking service"
  23842. msgstr ""
  23843. #. type: defvr
  23844. #: guix-git/doc/guix.texi:16331
  23845. #, no-wrap
  23846. msgid "{Scheme Variable} dhcp-client-service-type"
  23847. msgstr ""
  23848. #. type: defvr
  23849. #: guix-git/doc/guix.texi:16335
  23850. 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."
  23851. msgstr ""
  23852. #. type: deffn
  23853. #: guix-git/doc/guix.texi:16337
  23854. #, no-wrap
  23855. msgid "{Scheme Procedure} dhcpd-service-type"
  23856. msgstr ""
  23857. #. type: deffn
  23858. #: guix-git/doc/guix.texi:16341
  23859. 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:"
  23860. msgstr ""
  23861. #. type: lisp
  23862. #: guix-git/doc/guix.texi:16347
  23863. #, no-wrap
  23864. msgid ""
  23865. "(service dhcpd-service-type\n"
  23866. " (dhcpd-configuration\n"
  23867. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  23868. " (interfaces '(\"enp0s25\"))))\n"
  23869. msgstr ""
  23870. #. type: deftp
  23871. #: guix-git/doc/guix.texi:16350
  23872. #, no-wrap
  23873. msgid "{Data Type} dhcpd-configuration"
  23874. msgstr ""
  23875. #. type: item
  23876. #: guix-git/doc/guix.texi:16352
  23877. #, no-wrap
  23878. msgid "@code{package} (default: @code{isc-dhcp})"
  23879. msgstr ""
  23880. #. type: table
  23881. #: guix-git/doc/guix.texi:16357
  23882. 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}."
  23883. msgstr ""
  23884. #. type: item
  23885. #: guix-git/doc/guix.texi:16357 guix-git/doc/guix.texi:16613
  23886. #: guix-git/doc/guix.texi:21828
  23887. #, no-wrap
  23888. msgid "@code{config-file} (default: @code{#f})"
  23889. msgstr ""
  23890. #. type: table
  23891. #: guix-git/doc/guix.texi:16362
  23892. 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."
  23893. msgstr ""
  23894. #. type: item
  23895. #: guix-git/doc/guix.texi:16362
  23896. #, no-wrap
  23897. msgid "@code{version} (default: @code{\"4\"})"
  23898. msgstr ""
  23899. #. type: table
  23900. #: guix-git/doc/guix.texi:16367
  23901. 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."
  23902. msgstr ""
  23903. #. type: item
  23904. #: guix-git/doc/guix.texi:16367
  23905. #, no-wrap
  23906. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  23907. msgstr ""
  23908. #. type: table
  23909. #: guix-git/doc/guix.texi:16370
  23910. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  23911. msgstr ""
  23912. #. type: item
  23913. #: guix-git/doc/guix.texi:16370
  23914. #, no-wrap
  23915. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  23916. msgstr ""
  23917. #. type: table
  23918. #: guix-git/doc/guix.texi:16373
  23919. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  23920. msgstr ""
  23921. #. type: item
  23922. #: guix-git/doc/guix.texi:16373
  23923. #, no-wrap
  23924. msgid "@code{interfaces} (default: @code{'()})"
  23925. msgstr ""
  23926. #. type: table
  23927. #: guix-git/doc/guix.texi:16379
  23928. 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."
  23929. msgstr ""
  23930. #. type: defvr
  23931. #: guix-git/doc/guix.texi:16382
  23932. #, no-wrap
  23933. msgid "{Scheme Variable} static-networking-service-type"
  23934. msgstr ""
  23935. #. type: defvr
  23936. #: guix-git/doc/guix.texi:16385
  23937. msgid "This is the type for statically-configured network interfaces."
  23938. msgstr ""
  23939. #. type: deffn
  23940. #: guix-git/doc/guix.texi:16387
  23941. #, no-wrap
  23942. msgid "{Scheme Procedure} static-networking-service @var{interface} @var{ip} @"
  23943. msgstr ""
  23944. #. type: deffn
  23945. #: guix-git/doc/guix.texi:16395
  23946. 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."
  23947. msgstr ""
  23948. #. type: deffn
  23949. #: guix-git/doc/guix.texi:16400
  23950. 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."
  23951. msgstr ""
  23952. #. type: defvr
  23953. #: guix-git/doc/guix.texi:16402 guix-git/doc/guix.texi:29675
  23954. msgid "For example:"
  23955. msgstr ""
  23956. #. type: lisp
  23957. #: guix-git/doc/guix.texi:16407
  23958. #, no-wrap
  23959. msgid ""
  23960. "(static-networking-service \"eno1\" \"192.168.1.82\"\n"
  23961. " #:gateway \"192.168.1.2\"\n"
  23962. " #:name-servers '(\"192.168.1.2\"))\n"
  23963. msgstr ""
  23964. #. type: cindex
  23965. #: guix-git/doc/guix.texi:16410
  23966. #, no-wrap
  23967. msgid "wicd"
  23968. msgstr ""
  23969. #. type: cindex
  23970. #: guix-git/doc/guix.texi:16413
  23971. #, no-wrap
  23972. msgid "network management"
  23973. msgstr ""
  23974. #. type: deffn
  23975. #: guix-git/doc/guix.texi:16414
  23976. #, no-wrap
  23977. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  23978. msgstr ""
  23979. #. type: deffn
  23980. #: guix-git/doc/guix.texi:16417
  23981. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  23982. msgstr ""
  23983. #. type: deffn
  23984. #: guix-git/doc/guix.texi:16422
  23985. 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."
  23986. msgstr ""
  23987. #. type: cindex
  23988. #: guix-git/doc/guix.texi:16424
  23989. #, no-wrap
  23990. msgid "ModemManager"
  23991. msgstr ""
  23992. #. type: defvr
  23993. #: guix-git/doc/guix.texi:16426
  23994. #, no-wrap
  23995. msgid "{Scheme Variable} modem-manager-service-type"
  23996. msgstr ""
  23997. #. type: defvr
  23998. #: guix-git/doc/guix.texi:16431
  23999. 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."
  24000. msgstr ""
  24001. #. type: defvr
  24002. #: guix-git/doc/guix.texi:16434 guix-git/doc/guix.texi:16463
  24003. #: guix-git/doc/guix.texi:16495
  24004. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  24005. msgstr ""
  24006. #. type: deftp
  24007. #: guix-git/doc/guix.texi:16436
  24008. #, no-wrap
  24009. msgid "{Data Type} modem-manager-configuration"
  24010. msgstr ""
  24011. #. type: deftp
  24012. #: guix-git/doc/guix.texi:16438
  24013. msgid "Data type representing the configuration of ModemManager."
  24014. msgstr ""
  24015. #. type: item
  24016. #: guix-git/doc/guix.texi:16440
  24017. #, no-wrap
  24018. msgid "@code{modem-manager} (default: @code{modem-manager})"
  24019. msgstr ""
  24020. #. type: table
  24021. #: guix-git/doc/guix.texi:16442
  24022. msgid "The ModemManager package to use."
  24023. msgstr ""
  24024. #. type: cindex
  24025. #: guix-git/doc/guix.texi:16446
  24026. #, no-wrap
  24027. msgid "USB_ModeSwitch"
  24028. msgstr ""
  24029. #. type: cindex
  24030. #: guix-git/doc/guix.texi:16447
  24031. #, no-wrap
  24032. msgid "Modeswitching"
  24033. msgstr ""
  24034. #. type: defvr
  24035. #: guix-git/doc/guix.texi:16449
  24036. #, no-wrap
  24037. msgid "{Scheme Variable} usb-modeswitch-service-type"
  24038. msgstr ""
  24039. #. type: defvr
  24040. #: guix-git/doc/guix.texi:16454
  24041. 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."
  24042. msgstr ""
  24043. #. type: defvr
  24044. #: guix-git/doc/guix.texi:16460
  24045. 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."
  24046. msgstr ""
  24047. #. type: deftp
  24048. #: guix-git/doc/guix.texi:16465
  24049. #, no-wrap
  24050. msgid "{Data Type} usb-modeswitch-configuration"
  24051. msgstr ""
  24052. #. type: deftp
  24053. #: guix-git/doc/guix.texi:16467
  24054. msgid "Data type representing the configuration of USB_ModeSwitch."
  24055. msgstr ""
  24056. #. type: item
  24057. #: guix-git/doc/guix.texi:16469
  24058. #, no-wrap
  24059. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  24060. msgstr ""
  24061. #. type: table
  24062. #: guix-git/doc/guix.texi:16471
  24063. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  24064. msgstr ""
  24065. #. type: item
  24066. #: guix-git/doc/guix.texi:16472
  24067. #, no-wrap
  24068. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  24069. msgstr ""
  24070. #. type: table
  24071. #: guix-git/doc/guix.texi:16475
  24072. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  24073. msgstr ""
  24074. #. type: item
  24075. #: guix-git/doc/guix.texi:16476
  24076. #, no-wrap
  24077. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  24078. msgstr ""
  24079. #. type: table
  24080. #: guix-git/doc/guix.texi:16481
  24081. 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."
  24082. msgstr ""
  24083. #. type: cindex
  24084. #: guix-git/doc/guix.texi:16485
  24085. #, no-wrap
  24086. msgid "NetworkManager"
  24087. msgstr ""
  24088. #. type: defvr
  24089. #: guix-git/doc/guix.texi:16487
  24090. #, no-wrap
  24091. msgid "{Scheme Variable} network-manager-service-type"
  24092. msgstr ""
  24093. #. type: defvr
  24094. #: guix-git/doc/guix.texi:16492
  24095. 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."
  24096. msgstr ""
  24097. #. type: deftp
  24098. #: guix-git/doc/guix.texi:16497
  24099. #, no-wrap
  24100. msgid "{Data Type} network-manager-configuration"
  24101. msgstr ""
  24102. #. type: deftp
  24103. #: guix-git/doc/guix.texi:16499
  24104. msgid "Data type representing the configuration of NetworkManager."
  24105. msgstr ""
  24106. #. type: item
  24107. #: guix-git/doc/guix.texi:16501
  24108. #, no-wrap
  24109. msgid "@code{network-manager} (default: @code{network-manager})"
  24110. msgstr ""
  24111. #. type: table
  24112. #: guix-git/doc/guix.texi:16503
  24113. msgid "The NetworkManager package to use."
  24114. msgstr ""
  24115. #. type: item
  24116. #: guix-git/doc/guix.texi:16504
  24117. #, no-wrap
  24118. msgid "@code{dns} (default: @code{\"default\"})"
  24119. msgstr ""
  24120. #. type: table
  24121. #: guix-git/doc/guix.texi:16507
  24122. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  24123. msgstr ""
  24124. #. type: table
  24125. #: guix-git/doc/guix.texi:16512
  24126. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  24127. msgstr ""
  24128. #. type: item
  24129. #: guix-git/doc/guix.texi:16513
  24130. #, no-wrap
  24131. msgid "dnsmasq"
  24132. msgstr ""
  24133. #. type: table
  24134. #: guix-git/doc/guix.texi:16517
  24135. 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."
  24136. msgstr ""
  24137. #. type: table
  24138. #: guix-git/doc/guix.texi:16523
  24139. 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)."
  24140. msgstr ""
  24141. #. type: table
  24142. #: guix-git/doc/guix.texi:16530
  24143. 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:"
  24144. msgstr ""
  24145. #. type: example
  24146. #: guix-git/doc/guix.texi:16537
  24147. #, no-wrap
  24148. msgid ""
  24149. "nmcli connection add type tun \\\n"
  24150. " connection.interface-name tap0 \\\n"
  24151. " tun.mode tap tun.owner $(id -u) \\\n"
  24152. " ipv4.method shared \\\n"
  24153. " ipv4.addresses 172.28.112.1/24\n"
  24154. msgstr ""
  24155. #. type: table
  24156. #: guix-git/doc/guix.texi:16542
  24157. 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-...}."
  24158. msgstr ""
  24159. #. type: table
  24160. #: guix-git/doc/guix.texi:16545
  24161. msgid "NetworkManager will not modify @code{resolv.conf}."
  24162. msgstr ""
  24163. #. type: item
  24164. #: guix-git/doc/guix.texi:16547
  24165. #, no-wrap
  24166. msgid "@code{vpn-plugins} (default: @code{'()})"
  24167. msgstr ""
  24168. #. type: table
  24169. #: guix-git/doc/guix.texi:16551
  24170. 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."
  24171. msgstr ""
  24172. #. type: cindex
  24173. #: guix-git/doc/guix.texi:16555
  24174. #, no-wrap
  24175. msgid "Connman"
  24176. msgstr ""
  24177. #. type: deffn
  24178. #: guix-git/doc/guix.texi:16556
  24179. #, no-wrap
  24180. msgid "{Scheme Variable} connman-service-type"
  24181. msgstr ""
  24182. #. type: deffn
  24183. #: guix-git/doc/guix.texi:16559
  24184. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  24185. msgstr ""
  24186. #. type: deffn
  24187. #: guix-git/doc/guix.texi:16562
  24188. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  24189. msgstr ""
  24190. #. type: lisp
  24191. #: guix-git/doc/guix.texi:16567
  24192. #, no-wrap
  24193. msgid ""
  24194. "(service connman-service-type\n"
  24195. " (connman-configuration\n"
  24196. " (disable-vpn? #t)))\n"
  24197. msgstr ""
  24198. #. type: deffn
  24199. #: guix-git/doc/guix.texi:16570
  24200. msgid "See below for details about @code{connman-configuration}."
  24201. msgstr ""
  24202. #. type: deftp
  24203. #: guix-git/doc/guix.texi:16572
  24204. #, no-wrap
  24205. msgid "{Data Type} connman-configuration"
  24206. msgstr ""
  24207. #. type: deftp
  24208. #: guix-git/doc/guix.texi:16574
  24209. msgid "Data Type representing the configuration of connman."
  24210. msgstr ""
  24211. #. type: item
  24212. #: guix-git/doc/guix.texi:16576
  24213. #, no-wrap
  24214. msgid "@code{connman} (default: @var{connman})"
  24215. msgstr ""
  24216. #. type: table
  24217. #: guix-git/doc/guix.texi:16578
  24218. msgid "The connman package to use."
  24219. msgstr ""
  24220. #. type: item
  24221. #: guix-git/doc/guix.texi:16579
  24222. #, no-wrap
  24223. msgid "@code{disable-vpn?} (default: @code{#f})"
  24224. msgstr ""
  24225. #. type: table
  24226. #: guix-git/doc/guix.texi:16581
  24227. msgid "When true, disable connman's vpn plugin."
  24228. msgstr ""
  24229. #. type: cindex
  24230. #: guix-git/doc/guix.texi:16584
  24231. #, no-wrap
  24232. msgid "WPA Supplicant"
  24233. msgstr ""
  24234. #. type: defvr
  24235. #: guix-git/doc/guix.texi:16585
  24236. #, no-wrap
  24237. msgid "{Scheme Variable} wpa-supplicant-service-type"
  24238. msgstr ""
  24239. #. type: defvr
  24240. #: guix-git/doc/guix.texi:16589
  24241. 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."
  24242. msgstr ""
  24243. #. type: deftp
  24244. #: guix-git/doc/guix.texi:16591
  24245. #, no-wrap
  24246. msgid "{Data Type} wpa-supplicant-configuration"
  24247. msgstr ""
  24248. #. type: deftp
  24249. #: guix-git/doc/guix.texi:16593
  24250. msgid "Data type representing the configuration of WPA Supplicant."
  24251. msgstr ""
  24252. #. type: deftp
  24253. #: guix-git/doc/guix.texi:16595 guix-git/doc/guix.texi:31832
  24254. msgid "It takes the following parameters:"
  24255. msgstr ""
  24256. #. type: item
  24257. #: guix-git/doc/guix.texi:16597
  24258. #, no-wrap
  24259. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  24260. msgstr ""
  24261. #. type: table
  24262. #: guix-git/doc/guix.texi:16599
  24263. msgid "The WPA Supplicant package to use."
  24264. msgstr ""
  24265. #. type: item
  24266. #: guix-git/doc/guix.texi:16600
  24267. #, no-wrap
  24268. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  24269. msgstr ""
  24270. #. type: table
  24271. #: guix-git/doc/guix.texi:16602
  24272. msgid "List of services that should be started before WPA Supplicant starts."
  24273. msgstr ""
  24274. #. type: item
  24275. #: guix-git/doc/guix.texi:16603
  24276. #, no-wrap
  24277. msgid "@code{dbus?} (default: @code{#t})"
  24278. msgstr ""
  24279. #. type: table
  24280. #: guix-git/doc/guix.texi:16605
  24281. msgid "Whether to listen for requests on D-Bus."
  24282. msgstr ""
  24283. #. type: item
  24284. #: guix-git/doc/guix.texi:16606
  24285. #, no-wrap
  24286. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  24287. msgstr ""
  24288. #. type: table
  24289. #: guix-git/doc/guix.texi:16608
  24290. msgid "Where to store the PID file."
  24291. msgstr ""
  24292. #. type: item
  24293. #: guix-git/doc/guix.texi:16609 guix-git/doc/guix.texi:30133
  24294. #: guix-git/doc/guix.texi:30275
  24295. #, no-wrap
  24296. msgid "@code{interface} (default: @code{#f})"
  24297. msgstr ""
  24298. #. type: table
  24299. #: guix-git/doc/guix.texi:16612
  24300. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  24301. msgstr ""
  24302. #. type: table
  24303. #: guix-git/doc/guix.texi:16615
  24304. msgid "Optional configuration file to use."
  24305. msgstr ""
  24306. #. type: table
  24307. #: guix-git/doc/guix.texi:16618
  24308. msgid "List of additional command-line arguments to pass to the daemon."
  24309. msgstr ""
  24310. #. type: cindex
  24311. #: guix-git/doc/guix.texi:16621
  24312. #, no-wrap
  24313. msgid "hostapd service, for Wi-Fi access points"
  24314. msgstr ""
  24315. #. type: cindex
  24316. #: guix-git/doc/guix.texi:16622
  24317. #, no-wrap
  24318. msgid "Wi-Fi access points, hostapd service"
  24319. msgstr ""
  24320. #. type: defvr
  24321. #: guix-git/doc/guix.texi:16623
  24322. #, no-wrap
  24323. msgid "{Scheme Variable} hostapd-service-type"
  24324. msgstr ""
  24325. #. type: defvr
  24326. #: guix-git/doc/guix.texi:16628
  24327. 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:"
  24328. msgstr ""
  24329. #. type: lisp
  24330. #: guix-git/doc/guix.texi:16636
  24331. #, no-wrap
  24332. msgid ""
  24333. ";; Use wlan1 to run the access point for \"My Network\".\n"
  24334. "(service hostapd-service-type\n"
  24335. " (hostapd-configuration\n"
  24336. " (interface \"wlan1\")\n"
  24337. " (ssid \"My Network\")\n"
  24338. " (channel 12)))\n"
  24339. msgstr ""
  24340. #. type: deftp
  24341. #: guix-git/doc/guix.texi:16639
  24342. #, no-wrap
  24343. msgid "{Data Type} hostapd-configuration"
  24344. msgstr ""
  24345. #. type: deftp
  24346. #: guix-git/doc/guix.texi:16642
  24347. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  24348. msgstr ""
  24349. #. type: item
  24350. #: guix-git/doc/guix.texi:16644
  24351. #, no-wrap
  24352. msgid "@code{package} (default: @code{hostapd})"
  24353. msgstr ""
  24354. #. type: table
  24355. #: guix-git/doc/guix.texi:16646
  24356. msgid "The hostapd package to use."
  24357. msgstr ""
  24358. #. type: item
  24359. #: guix-git/doc/guix.texi:16647
  24360. #, no-wrap
  24361. msgid "@code{interface} (default: @code{\"wlan0\"})"
  24362. msgstr ""
  24363. #. type: table
  24364. #: guix-git/doc/guix.texi:16649
  24365. msgid "The network interface to run the WiFi access point."
  24366. msgstr ""
  24367. #. type: code{#1}
  24368. #: guix-git/doc/guix.texi:16650
  24369. #, no-wrap
  24370. msgid "ssid"
  24371. msgstr ""
  24372. #. type: table
  24373. #: guix-git/doc/guix.texi:16653
  24374. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  24375. msgstr ""
  24376. #. type: item
  24377. #: guix-git/doc/guix.texi:16654
  24378. #, no-wrap
  24379. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  24380. msgstr ""
  24381. #. type: table
  24382. #: guix-git/doc/guix.texi:16656
  24383. msgid "Whether to broadcast this SSID."
  24384. msgstr ""
  24385. #. type: item
  24386. #: guix-git/doc/guix.texi:16657
  24387. #, no-wrap
  24388. msgid "@code{channel} (default: @code{1})"
  24389. msgstr ""
  24390. #. type: table
  24391. #: guix-git/doc/guix.texi:16659
  24392. msgid "The WiFi channel to use."
  24393. msgstr ""
  24394. #. type: item
  24395. #: guix-git/doc/guix.texi:16660
  24396. #, no-wrap
  24397. msgid "@code{driver} (default: @code{\"nl80211\"})"
  24398. msgstr ""
  24399. #. type: table
  24400. #: guix-git/doc/guix.texi:16664
  24401. 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."
  24402. msgstr ""
  24403. #. type: item
  24404. #: guix-git/doc/guix.texi:16665 guix-git/doc/guix.texi:22677
  24405. #: guix-git/doc/guix.texi:25756
  24406. #, no-wrap
  24407. msgid "@code{extra-settings} (default: @code{\"\"})"
  24408. msgstr ""
  24409. #. type: table
  24410. #: guix-git/doc/guix.texi:16669
  24411. 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."
  24412. msgstr ""
  24413. #. type: defvr
  24414. #: guix-git/doc/guix.texi:16672
  24415. #, no-wrap
  24416. msgid "{Scheme Variable} simulated-wifi-service-type"
  24417. msgstr ""
  24418. #. type: defvr
  24419. #: guix-git/doc/guix.texi:16679
  24420. 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."
  24421. msgstr ""
  24422. #. type: defvr
  24423. #: guix-git/doc/guix.texi:16681
  24424. msgid "The service's value is a @code{hostapd-configuration} record."
  24425. msgstr ""
  24426. #. type: cindex
  24427. #: guix-git/doc/guix.texi:16683
  24428. #, no-wrap
  24429. msgid "iptables"
  24430. msgstr ""
  24431. #. type: defvr
  24432. #: guix-git/doc/guix.texi:16684
  24433. #, no-wrap
  24434. msgid "{Scheme Variable} iptables-service-type"
  24435. msgstr ""
  24436. #. type: defvr
  24437. #: guix-git/doc/guix.texi:16690
  24438. 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."
  24439. msgstr ""
  24440. #. type: lisp
  24441. #: guix-git/doc/guix.texi:16712
  24442. #, no-wrap
  24443. msgid ""
  24444. "(service iptables-service-type\n"
  24445. " (iptables-configuration\n"
  24446. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  24447. ":INPUT ACCEPT\n"
  24448. ":FORWARD ACCEPT\n"
  24449. ":OUTPUT ACCEPT\n"
  24450. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  24451. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  24452. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  24453. "COMMIT\n"
  24454. "\"))\n"
  24455. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  24456. ":INPUT ACCEPT\n"
  24457. ":FORWARD ACCEPT\n"
  24458. ":OUTPUT ACCEPT\n"
  24459. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  24460. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  24461. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  24462. "COMMIT\n"
  24463. "\"))))\n"
  24464. msgstr ""
  24465. #. type: deftp
  24466. #: guix-git/doc/guix.texi:16715
  24467. #, no-wrap
  24468. msgid "{Data Type} iptables-configuration"
  24469. msgstr ""
  24470. #. type: deftp
  24471. #: guix-git/doc/guix.texi:16717
  24472. msgid "The data type representing the configuration of iptables."
  24473. msgstr ""
  24474. #. type: item
  24475. #: guix-git/doc/guix.texi:16719
  24476. #, no-wrap
  24477. msgid "@code{iptables} (default: @code{iptables})"
  24478. msgstr ""
  24479. #. type: table
  24480. #: guix-git/doc/guix.texi:16722
  24481. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  24482. msgstr ""
  24483. #. type: item
  24484. #: guix-git/doc/guix.texi:16722
  24485. #, no-wrap
  24486. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  24487. msgstr ""
  24488. #. type: table
  24489. #: guix-git/doc/guix.texi:16726
  24490. 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})."
  24491. msgstr ""
  24492. #. type: item
  24493. #: guix-git/doc/guix.texi:16726
  24494. #, no-wrap
  24495. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  24496. msgstr ""
  24497. #. type: table
  24498. #: guix-git/doc/guix.texi:16730
  24499. 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})."
  24500. msgstr ""
  24501. #. type: cindex
  24502. #: guix-git/doc/guix.texi:16733
  24503. #, no-wrap
  24504. msgid "nftables"
  24505. msgstr ""
  24506. #. type: defvr
  24507. #: guix-git/doc/guix.texi:16734
  24508. #, no-wrap
  24509. msgid "{Scheme Variable} nftables-service-type"
  24510. msgstr ""
  24511. #. type: defvr
  24512. #: guix-git/doc/guix.texi:16742
  24513. 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:"
  24514. msgstr ""
  24515. #. type: lisp
  24516. #: guix-git/doc/guix.texi:16745
  24517. #, no-wrap
  24518. msgid "(service nftables-service-type)\n"
  24519. msgstr ""
  24520. #. type: deftp
  24521. #: guix-git/doc/guix.texi:16748
  24522. #, no-wrap
  24523. msgid "{Data Type} nftables-configuration"
  24524. msgstr ""
  24525. #. type: deftp
  24526. #: guix-git/doc/guix.texi:16750
  24527. msgid "The data type representing the configuration of nftables."
  24528. msgstr ""
  24529. #. type: item
  24530. #: guix-git/doc/guix.texi:16752
  24531. #, no-wrap
  24532. msgid "@code{package} (default: @code{nftables})"
  24533. msgstr ""
  24534. #. type: table
  24535. #: guix-git/doc/guix.texi:16754
  24536. msgid "The nftables package that provides @command{nft}."
  24537. msgstr ""
  24538. #. type: item
  24539. #: guix-git/doc/guix.texi:16754
  24540. #, no-wrap
  24541. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  24542. msgstr ""
  24543. #. type: table
  24544. #: guix-git/doc/guix.texi:16757
  24545. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  24546. msgstr ""
  24547. #. type: cindex
  24548. #: guix-git/doc/guix.texi:16760
  24549. #, no-wrap
  24550. msgid "NTP (Network Time Protocol), service"
  24551. msgstr ""
  24552. #. type: cindex
  24553. #: guix-git/doc/guix.texi:16761
  24554. #, no-wrap
  24555. msgid "ntpd, service for the Network Time Protocol daemon"
  24556. msgstr ""
  24557. #. type: cindex
  24558. #: guix-git/doc/guix.texi:16762
  24559. #, no-wrap
  24560. msgid "real time clock"
  24561. msgstr ""
  24562. #. type: defvr
  24563. #: guix-git/doc/guix.texi:16763
  24564. #, no-wrap
  24565. msgid "{Scheme Variable} ntp-service-type"
  24566. msgstr ""
  24567. #. type: defvr
  24568. #: guix-git/doc/guix.texi:16767
  24569. 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."
  24570. msgstr ""
  24571. #. type: defvr
  24572. #: guix-git/doc/guix.texi:16770
  24573. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  24574. msgstr ""
  24575. #. type: deftp
  24576. #: guix-git/doc/guix.texi:16772
  24577. #, no-wrap
  24578. msgid "{Data Type} ntp-configuration"
  24579. msgstr ""
  24580. #. type: deftp
  24581. #: guix-git/doc/guix.texi:16774
  24582. msgid "This is the data type for the NTP service configuration."
  24583. msgstr ""
  24584. #. type: item
  24585. #: guix-git/doc/guix.texi:16776
  24586. #, no-wrap
  24587. msgid "@code{servers} (default: @code{%ntp-servers})"
  24588. msgstr ""
  24589. #. type: table
  24590. #: guix-git/doc/guix.texi:16780
  24591. 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."
  24592. msgstr ""
  24593. #. type: item
  24594. #: guix-git/doc/guix.texi:16781
  24595. #, no-wrap
  24596. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  24597. msgstr ""
  24598. #. type: table
  24599. #: guix-git/doc/guix.texi:16784
  24600. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  24601. msgstr ""
  24602. #. type: item
  24603. #: guix-git/doc/guix.texi:16785
  24604. #, no-wrap
  24605. msgid "@code{ntp} (default: @code{ntp})"
  24606. msgstr ""
  24607. #. type: table
  24608. #: guix-git/doc/guix.texi:16787
  24609. msgid "The NTP package to use."
  24610. msgstr ""
  24611. #. type: defvr
  24612. #: guix-git/doc/guix.texi:16790
  24613. #, no-wrap
  24614. msgid "{Scheme Variable} %ntp-servers"
  24615. msgstr ""
  24616. #. type: defvr
  24617. #: guix-git/doc/guix.texi:16793
  24618. 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}."
  24619. msgstr ""
  24620. #. type: deftp
  24621. #: guix-git/doc/guix.texi:16795
  24622. #, no-wrap
  24623. msgid "{Data Type} ntp-server"
  24624. msgstr ""
  24625. #. type: deftp
  24626. #: guix-git/doc/guix.texi:16797
  24627. msgid "The data type representing the configuration of a NTP server."
  24628. msgstr ""
  24629. #. type: item
  24630. #: guix-git/doc/guix.texi:16799
  24631. #, no-wrap
  24632. msgid "@code{type} (default: @code{'server})"
  24633. msgstr ""
  24634. #. type: table
  24635. #: guix-git/doc/guix.texi:16802
  24636. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  24637. msgstr ""
  24638. #. type: code{#1}
  24639. #: guix-git/doc/guix.texi:16803
  24640. #, no-wrap
  24641. msgid "address"
  24642. msgstr ""
  24643. #. type: table
  24644. #: guix-git/doc/guix.texi:16805
  24645. msgid "The address of the server, as a string."
  24646. msgstr ""
  24647. #. type: code{#1}
  24648. #: guix-git/doc/guix.texi:16806 guix-git/doc/guix.texi:32667
  24649. #: guix-git/doc/guix.texi:32687
  24650. #, no-wrap
  24651. msgid "options"
  24652. msgstr ""
  24653. #. type: table
  24654. #: guix-git/doc/guix.texi:16811
  24655. 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."
  24656. msgstr ""
  24657. #. type: example
  24658. #: guix-git/doc/guix.texi:16817
  24659. #, no-wrap
  24660. msgid ""
  24661. "(ntp-server\n"
  24662. " (type 'server)\n"
  24663. " (address \"some.ntp.server.org\")\n"
  24664. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  24665. msgstr ""
  24666. #. type: cindex
  24667. #: guix-git/doc/guix.texi:16821
  24668. #, no-wrap
  24669. msgid "OpenNTPD"
  24670. msgstr ""
  24671. #. type: deffn
  24672. #: guix-git/doc/guix.texi:16822
  24673. #, no-wrap
  24674. msgid "{Scheme Procedure} openntpd-service-type"
  24675. msgstr ""
  24676. #. type: deffn
  24677. #: guix-git/doc/guix.texi:16826
  24678. 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."
  24679. msgstr ""
  24680. #. type: lisp
  24681. #: guix-git/doc/guix.texi:16835
  24682. #, no-wrap
  24683. msgid ""
  24684. "(service\n"
  24685. " openntpd-service-type\n"
  24686. " (openntpd-configuration\n"
  24687. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  24688. " (sensor '(\"udcf0 correction 70000\"))\n"
  24689. " (constraint-from '(\"www.gnu.org\"))\n"
  24690. " (constraints-from '(\"https://www.google.com/\"))))\n"
  24691. "\n"
  24692. msgstr ""
  24693. #. type: defvr
  24694. #: guix-git/doc/guix.texi:16839
  24695. #, no-wrap
  24696. msgid "{Scheme Variable} %openntpd-servers"
  24697. msgstr ""
  24698. #. type: defvr
  24699. #: guix-git/doc/guix.texi:16842
  24700. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  24701. msgstr ""
  24702. #. type: deftp
  24703. #: guix-git/doc/guix.texi:16844
  24704. #, no-wrap
  24705. msgid "{Data Type} openntpd-configuration"
  24706. msgstr ""
  24707. #. type: item
  24708. #: guix-git/doc/guix.texi:16846
  24709. #, no-wrap
  24710. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  24711. msgstr ""
  24712. #. type: table
  24713. #: guix-git/doc/guix.texi:16848
  24714. msgid "The openntpd executable to use."
  24715. msgstr ""
  24716. #. type: item
  24717. #: guix-git/doc/guix.texi:16848
  24718. #, no-wrap
  24719. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  24720. msgstr ""
  24721. #. type: table
  24722. #: guix-git/doc/guix.texi:16850
  24723. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  24724. msgstr ""
  24725. #. type: item
  24726. #: guix-git/doc/guix.texi:16850
  24727. #, no-wrap
  24728. msgid "@code{query-from} (default: @code{'()})"
  24729. msgstr ""
  24730. #. type: table
  24731. #: guix-git/doc/guix.texi:16852
  24732. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  24733. msgstr ""
  24734. #. type: item
  24735. #: guix-git/doc/guix.texi:16852
  24736. #, no-wrap
  24737. msgid "@code{sensor} (default: @code{'()})"
  24738. msgstr ""
  24739. #. type: table
  24740. #: guix-git/doc/guix.texi:16857
  24741. 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."
  24742. msgstr ""
  24743. #. type: item
  24744. #: guix-git/doc/guix.texi:16857
  24745. #, no-wrap
  24746. msgid "@code{server} (default: @code{'()})"
  24747. msgstr ""
  24748. #. type: table
  24749. #: guix-git/doc/guix.texi:16859
  24750. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  24751. msgstr ""
  24752. #. type: item
  24753. #: guix-git/doc/guix.texi:16859
  24754. #, no-wrap
  24755. msgid "@code{servers} (default: @code{%openntp-servers})"
  24756. msgstr ""
  24757. #. type: table
  24758. #: guix-git/doc/guix.texi:16861
  24759. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  24760. msgstr ""
  24761. #. type: item
  24762. #: guix-git/doc/guix.texi:16861
  24763. #, no-wrap
  24764. msgid "@code{constraint-from} (default: @code{'()})"
  24765. msgstr ""
  24766. #. type: table
  24767. #: guix-git/doc/guix.texi:16868
  24768. 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."
  24769. msgstr ""
  24770. #. type: item
  24771. #: guix-git/doc/guix.texi:16868
  24772. #, no-wrap
  24773. msgid "@code{constraints-from} (default: @code{'()})"
  24774. msgstr ""
  24775. #. type: table
  24776. #: guix-git/doc/guix.texi:16872
  24777. 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."
  24778. msgstr ""
  24779. #. type: cindex
  24780. #: guix-git/doc/guix.texi:16875
  24781. #, no-wrap
  24782. msgid "inetd"
  24783. msgstr ""
  24784. #. type: deffn
  24785. #: guix-git/doc/guix.texi:16876
  24786. #, no-wrap
  24787. msgid "{Scheme variable} inetd-service-type"
  24788. msgstr ""
  24789. #. type: deffn
  24790. #: guix-git/doc/guix.texi:16881
  24791. 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."
  24792. msgstr ""
  24793. #. type: deffn
  24794. #: guix-git/doc/guix.texi:16887
  24795. 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}:"
  24796. msgstr ""
  24797. #. type: lisp
  24798. #: guix-git/doc/guix.texi:16910
  24799. #, no-wrap
  24800. msgid ""
  24801. "(service\n"
  24802. " inetd-service-type\n"
  24803. " (inetd-configuration\n"
  24804. " (entries (list\n"
  24805. " (inetd-entry\n"
  24806. " (name \"echo\")\n"
  24807. " (socket-type 'stream)\n"
  24808. " (protocol \"tcp\")\n"
  24809. " (wait? #f)\n"
  24810. " (user \"root\"))\n"
  24811. " (inetd-entry\n"
  24812. " (node \"127.0.0.1\")\n"
  24813. " (name \"smtp\")\n"
  24814. " (socket-type 'stream)\n"
  24815. " (protocol \"tcp\")\n"
  24816. " (wait? #f)\n"
  24817. " (user \"root\")\n"
  24818. " (program (file-append openssh \"/bin/ssh\"))\n"
  24819. " (arguments\n"
  24820. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  24821. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  24822. msgstr ""
  24823. #. type: deffn
  24824. #: guix-git/doc/guix.texi:16913
  24825. msgid "See below for more details about @code{inetd-configuration}."
  24826. msgstr ""
  24827. #. type: deftp
  24828. #: guix-git/doc/guix.texi:16915
  24829. #, no-wrap
  24830. msgid "{Data Type} inetd-configuration"
  24831. msgstr ""
  24832. #. type: deftp
  24833. #: guix-git/doc/guix.texi:16917
  24834. msgid "Data type representing the configuration of @command{inetd}."
  24835. msgstr ""
  24836. #. type: item
  24837. #: guix-git/doc/guix.texi:16919
  24838. #, no-wrap
  24839. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  24840. msgstr ""
  24841. #. type: table
  24842. #: guix-git/doc/guix.texi:16921
  24843. msgid "The @command{inetd} executable to use."
  24844. msgstr ""
  24845. #. type: item
  24846. #: guix-git/doc/guix.texi:16922 guix-git/doc/guix.texi:26598
  24847. #, no-wrap
  24848. msgid "@code{entries} (default: @code{'()})"
  24849. msgstr ""
  24850. #. type: table
  24851. #: guix-git/doc/guix.texi:16925
  24852. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  24853. msgstr ""
  24854. #. type: deftp
  24855. #: guix-git/doc/guix.texi:16928
  24856. #, no-wrap
  24857. msgid "{Data Type} inetd-entry"
  24858. msgstr ""
  24859. #. type: deftp
  24860. #: guix-git/doc/guix.texi:16932
  24861. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  24862. msgstr ""
  24863. #. type: item
  24864. #: guix-git/doc/guix.texi:16934
  24865. #, no-wrap
  24866. msgid "@code{node} (default: @code{#f})"
  24867. msgstr ""
  24868. #. type: table
  24869. #: guix-git/doc/guix.texi:16939
  24870. 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."
  24871. msgstr ""
  24872. #. type: table
  24873. #: guix-git/doc/guix.texi:16941
  24874. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  24875. msgstr ""
  24876. #. type: code{#1}
  24877. #: guix-git/doc/guix.texi:16941
  24878. #, no-wrap
  24879. msgid "socket-type"
  24880. msgstr ""
  24881. #. type: table
  24882. #: guix-git/doc/guix.texi:16944
  24883. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  24884. msgstr ""
  24885. #. type: code{#1}
  24886. #: guix-git/doc/guix.texi:16944
  24887. #, no-wrap
  24888. msgid "protocol"
  24889. msgstr ""
  24890. #. type: table
  24891. #: guix-git/doc/guix.texi:16946
  24892. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  24893. msgstr ""
  24894. #. type: item
  24895. #: guix-git/doc/guix.texi:16946
  24896. #, no-wrap
  24897. msgid "@code{wait?} (default: @code{#t})"
  24898. msgstr ""
  24899. #. type: table
  24900. #: guix-git/doc/guix.texi:16949
  24901. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  24902. msgstr ""
  24903. #. type: table
  24904. #: guix-git/doc/guix.texi:16954
  24905. 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\"}."
  24906. msgstr ""
  24907. #. type: item
  24908. #: guix-git/doc/guix.texi:16954
  24909. #, no-wrap
  24910. msgid "@code{program} (default: @code{\"internal\"})"
  24911. msgstr ""
  24912. #. type: table
  24913. #: guix-git/doc/guix.texi:16957
  24914. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  24915. msgstr ""
  24916. #. type: table
  24917. #: guix-git/doc/guix.texi:16962
  24918. 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\")}."
  24919. msgstr ""
  24920. #. type: deftp
  24921. #: guix-git/doc/guix.texi:16966
  24922. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  24923. msgstr ""
  24924. #. type: cindex
  24925. #: guix-git/doc/guix.texi:16968
  24926. #, no-wrap
  24927. msgid "opendht, distributed hash table network service"
  24928. msgstr ""
  24929. #. type: cindex
  24930. #: guix-git/doc/guix.texi:16969
  24931. #, no-wrap
  24932. msgid "dhtproxy, for use with jami"
  24933. msgstr ""
  24934. #. type: defvr
  24935. #: guix-git/doc/guix.texi:16970
  24936. #, no-wrap
  24937. msgid "{Scheme Variable} opendht-service-type"
  24938. msgstr ""
  24939. #. type: defvr
  24940. #: guix-git/doc/guix.texi:16975
  24941. 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."
  24942. msgstr ""
  24943. #. type: quotation
  24944. #: guix-git/doc/guix.texi:16985
  24945. 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."
  24946. msgstr ""
  24947. #. type: defvr
  24948. #: guix-git/doc/guix.texi:16989
  24949. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  24950. msgstr ""
  24951. #. type: deftp
  24952. #: guix-git/doc/guix.texi:16991
  24953. #, no-wrap
  24954. msgid "{Data Type} opendht-configuration"
  24955. msgstr ""
  24956. #. type: deftp
  24957. #: guix-git/doc/guix.texi:16993
  24958. msgid "This is the data type for the OpenDHT service configuration."
  24959. msgstr ""
  24960. #. type: deftp
  24961. #: guix-git/doc/guix.texi:16998
  24962. msgid "Available @code{opendht-configuration} fields are:"
  24963. msgstr ""
  24964. #. type: deftypevr
  24965. #: guix-git/doc/guix.texi:16999
  24966. #, no-wrap
  24967. msgid "{@code{opendht-configuration} parameter} package opendht"
  24968. msgstr ""
  24969. #. type: deftypevr
  24970. #: guix-git/doc/guix.texi:17001
  24971. msgid "The @code{opendht} package to use."
  24972. msgstr ""
  24973. #. type: deftypevr
  24974. #: guix-git/doc/guix.texi:17004
  24975. #, no-wrap
  24976. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  24977. msgstr ""
  24978. #. type: deftypevr
  24979. #: guix-git/doc/guix.texi:17006
  24980. msgid "Whether to enable the multicast local peer discovery mechanism."
  24981. msgstr ""
  24982. #. type: deftypevr
  24983. #: guix-git/doc/guix.texi:17008 guix-git/doc/guix.texi:17016
  24984. #: guix-git/doc/guix.texi:17024 guix-git/doc/guix.texi:18668
  24985. #: guix-git/doc/guix.texi:18738 guix-git/doc/guix.texi:18780
  24986. #: guix-git/doc/guix.texi:18800 guix-git/doc/guix.texi:18806
  24987. #: guix-git/doc/guix.texi:18822 guix-git/doc/guix.texi:18910
  24988. #: guix-git/doc/guix.texi:18998 guix-git/doc/guix.texi:19311
  24989. #: guix-git/doc/guix.texi:19324 guix-git/doc/guix.texi:20441
  24990. #: guix-git/doc/guix.texi:21919 guix-git/doc/guix.texi:22025
  24991. #: guix-git/doc/guix.texi:22090 guix-git/doc/guix.texi:22099
  24992. #: guix-git/doc/guix.texi:23332 guix-git/doc/guix.texi:23376
  24993. #: guix-git/doc/guix.texi:23393 guix-git/doc/guix.texi:23401
  24994. #: guix-git/doc/guix.texi:23416 guix-git/doc/guix.texi:23434
  24995. #: guix-git/doc/guix.texi:23458 guix-git/doc/guix.texi:23511
  24996. #: guix-git/doc/guix.texi:23644 guix-git/doc/guix.texi:23678
  24997. #: guix-git/doc/guix.texi:23714 guix-git/doc/guix.texi:23730
  24998. #: guix-git/doc/guix.texi:23758 guix-git/doc/guix.texi:23819
  24999. #: guix-git/doc/guix.texi:23902 guix-git/doc/guix.texi:27310
  25000. #: guix-git/doc/guix.texi:27324 guix-git/doc/guix.texi:27346
  25001. #: guix-git/doc/guix.texi:27465 guix-git/doc/guix.texi:27479
  25002. #: guix-git/doc/guix.texi:27500 guix-git/doc/guix.texi:27521
  25003. #: guix-git/doc/guix.texi:27528 guix-git/doc/guix.texi:27573
  25004. #: guix-git/doc/guix.texi:27580 guix-git/doc/guix.texi:28366
  25005. #: guix-git/doc/guix.texi:28380 guix-git/doc/guix.texi:28552
  25006. #: guix-git/doc/guix.texi:28597 guix-git/doc/guix.texi:28684
  25007. #: guix-git/doc/guix.texi:28886 guix-git/doc/guix.texi:28919
  25008. #: guix-git/doc/guix.texi:29059 guix-git/doc/guix.texi:29070
  25009. #: guix-git/doc/guix.texi:29321 guix-git/doc/guix.texi:30787
  25010. #: guix-git/doc/guix.texi:30796 guix-git/doc/guix.texi:30804
  25011. #: guix-git/doc/guix.texi:30812 guix-git/doc/guix.texi:30828
  25012. #: guix-git/doc/guix.texi:30844 guix-git/doc/guix.texi:30852
  25013. #: guix-git/doc/guix.texi:30860 guix-git/doc/guix.texi:30869
  25014. #: guix-git/doc/guix.texi:30878 guix-git/doc/guix.texi:30894
  25015. #: guix-git/doc/guix.texi:30958 guix-git/doc/guix.texi:31064
  25016. #: guix-git/doc/guix.texi:31072 guix-git/doc/guix.texi:31080
  25017. #: guix-git/doc/guix.texi:31105 guix-git/doc/guix.texi:31159
  25018. #: guix-git/doc/guix.texi:31207 guix-git/doc/guix.texi:31408
  25019. #: guix-git/doc/guix.texi:31415
  25020. msgid "Defaults to @samp{#f}."
  25021. msgstr ""
  25022. #. type: deftypevr
  25023. #: guix-git/doc/guix.texi:17011
  25024. #, no-wrap
  25025. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  25026. msgstr ""
  25027. #. type: deftypevr
  25028. #: guix-git/doc/guix.texi:17014
  25029. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  25030. msgstr ""
  25031. #. type: deftypevr
  25032. #: guix-git/doc/guix.texi:17019
  25033. #, no-wrap
  25034. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  25035. msgstr ""
  25036. #. type: deftypevr
  25037. #: guix-git/doc/guix.texi:17022
  25038. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  25039. msgstr ""
  25040. #. type: deftypevr
  25041. #: guix-git/doc/guix.texi:17027
  25042. #, no-wrap
  25043. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  25044. msgstr ""
  25045. #. type: deftypevr
  25046. #: guix-git/doc/guix.texi:17033
  25047. 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."
  25048. msgstr ""
  25049. #. type: deftypevr
  25050. #: guix-git/doc/guix.texi:17035
  25051. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  25052. msgstr ""
  25053. #. type: deftypevr
  25054. #: guix-git/doc/guix.texi:17038
  25055. #, no-wrap
  25056. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  25057. msgstr ""
  25058. #. type: deftypevr
  25059. #: guix-git/doc/guix.texi:17041
  25060. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  25061. msgstr ""
  25062. #. type: deftypevr
  25063. #: guix-git/doc/guix.texi:17043
  25064. msgid "Defaults to @samp{4222}."
  25065. msgstr ""
  25066. #. type: deftypevr
  25067. #: guix-git/doc/guix.texi:17046
  25068. #, no-wrap
  25069. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  25070. msgstr ""
  25071. #. type: deftypevr
  25072. #: guix-git/doc/guix.texi:17048
  25073. msgid "Spawn a proxy server listening on the specified port."
  25074. msgstr ""
  25075. #. type: deftypevr
  25076. #: guix-git/doc/guix.texi:17050 guix-git/doc/guix.texi:17057
  25077. #: guix-git/doc/guix.texi:23340 guix-git/doc/guix.texi:23384
  25078. #: guix-git/doc/guix.texi:23597 guix-git/doc/guix.texi:23653
  25079. #: guix-git/doc/guix.texi:23827 guix-git/doc/guix.texi:23838
  25080. #: guix-git/doc/guix.texi:23911 guix-git/doc/guix.texi:24636
  25081. #: guix-git/doc/guix.texi:24679 guix-git/doc/guix.texi:24687
  25082. #: guix-git/doc/guix.texi:24695 guix-git/doc/guix.texi:24703
  25083. #: guix-git/doc/guix.texi:24712 guix-git/doc/guix.texi:24720
  25084. #: guix-git/doc/guix.texi:24727 guix-git/doc/guix.texi:24735
  25085. #: guix-git/doc/guix.texi:24743 guix-git/doc/guix.texi:24753
  25086. #: guix-git/doc/guix.texi:24760 guix-git/doc/guix.texi:24784
  25087. #: guix-git/doc/guix.texi:24792 guix-git/doc/guix.texi:24818
  25088. #: guix-git/doc/guix.texi:24827 guix-git/doc/guix.texi:24836
  25089. #: guix-git/doc/guix.texi:24845 guix-git/doc/guix.texi:24854
  25090. #: guix-git/doc/guix.texi:24863 guix-git/doc/guix.texi:24871
  25091. #: guix-git/doc/guix.texi:24879 guix-git/doc/guix.texi:24886
  25092. #: guix-git/doc/guix.texi:24894 guix-git/doc/guix.texi:24901
  25093. #: guix-git/doc/guix.texi:24909 guix-git/doc/guix.texi:24917
  25094. #: guix-git/doc/guix.texi:24926 guix-git/doc/guix.texi:24935
  25095. #: guix-git/doc/guix.texi:24943 guix-git/doc/guix.texi:24951
  25096. #: guix-git/doc/guix.texi:24959 guix-git/doc/guix.texi:24970
  25097. #: guix-git/doc/guix.texi:24980 guix-git/doc/guix.texi:24991
  25098. #: guix-git/doc/guix.texi:25000 guix-git/doc/guix.texi:25010
  25099. #: guix-git/doc/guix.texi:25018 guix-git/doc/guix.texi:25029
  25100. #: guix-git/doc/guix.texi:25038 guix-git/doc/guix.texi:25048
  25101. #: guix-git/doc/guix.texi:28279 guix-git/doc/guix.texi:28286
  25102. #: guix-git/doc/guix.texi:28293 guix-git/doc/guix.texi:28300
  25103. #: guix-git/doc/guix.texi:28307 guix-git/doc/guix.texi:28314
  25104. #: guix-git/doc/guix.texi:28322 guix-git/doc/guix.texi:28330
  25105. #: guix-git/doc/guix.texi:28337 guix-git/doc/guix.texi:28344
  25106. #: guix-git/doc/guix.texi:28351 guix-git/doc/guix.texi:28358
  25107. #: guix-git/doc/guix.texi:28388 guix-git/doc/guix.texi:28426
  25108. #: guix-git/doc/guix.texi:28433 guix-git/doc/guix.texi:28442
  25109. #: guix-git/doc/guix.texi:28464 guix-git/doc/guix.texi:28472
  25110. #: guix-git/doc/guix.texi:28479 guix-git/doc/guix.texi:28634
  25111. #: guix-git/doc/guix.texi:28654 guix-git/doc/guix.texi:28669
  25112. #: guix-git/doc/guix.texi:28676 guix-git/doc/guix.texi:31360
  25113. #: guix-git/doc/guix.texi:31368 guix-git/doc/guix.texi:31376
  25114. #: guix-git/doc/guix.texi:31384 guix-git/doc/guix.texi:31392
  25115. #: guix-git/doc/guix.texi:31400
  25116. msgid "Defaults to @samp{disabled}."
  25117. msgstr ""
  25118. #. type: deftypevr
  25119. #: guix-git/doc/guix.texi:17053
  25120. #, no-wrap
  25121. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  25122. msgstr ""
  25123. #. type: deftypevr
  25124. #: guix-git/doc/guix.texi:17055
  25125. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  25126. msgstr ""
  25127. #. type: cindex
  25128. #: guix-git/doc/guix.texi:17061
  25129. #, no-wrap
  25130. msgid "Tor"
  25131. msgstr ""
  25132. #. type: defvr
  25133. #: guix-git/doc/guix.texi:17062
  25134. #, no-wrap
  25135. msgid "{Scheme Variable} tor-service-type"
  25136. msgstr ""
  25137. #. type: defvr
  25138. #: guix-git/doc/guix.texi:17067
  25139. 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."
  25140. msgstr ""
  25141. #. type: deftp
  25142. #: guix-git/doc/guix.texi:17070
  25143. #, no-wrap
  25144. msgid "{Data Type} tor-configuration"
  25145. msgstr ""
  25146. #. type: item
  25147. #: guix-git/doc/guix.texi:17072
  25148. #, no-wrap
  25149. msgid "@code{tor} (default: @code{tor})"
  25150. msgstr ""
  25151. #. type: table
  25152. #: guix-git/doc/guix.texi:17077
  25153. 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."
  25154. msgstr ""
  25155. #. type: item
  25156. #: guix-git/doc/guix.texi:17078
  25157. #, no-wrap
  25158. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  25159. msgstr ""
  25160. #. type: table
  25161. #: guix-git/doc/guix.texi:17084
  25162. 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."
  25163. msgstr ""
  25164. #. type: item
  25165. #: guix-git/doc/guix.texi:17085
  25166. #, no-wrap
  25167. msgid "@code{hidden-services} (default: @code{'()})"
  25168. msgstr ""
  25169. #. type: table
  25170. #: guix-git/doc/guix.texi:17091
  25171. 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."
  25172. msgstr ""
  25173. #. type: item
  25174. #: guix-git/doc/guix.texi:17092
  25175. #, no-wrap
  25176. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  25177. msgstr ""
  25178. #. type: table
  25179. #: guix-git/doc/guix.texi:17099
  25180. 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."
  25181. msgstr ""
  25182. #. type: table
  25183. #: guix-git/doc/guix.texi:17104
  25184. 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."
  25185. msgstr ""
  25186. #. type: item
  25187. #: guix-git/doc/guix.texi:17105
  25188. #, no-wrap
  25189. msgid "@code{control-socket?} (default: @code{#f})"
  25190. msgstr ""
  25191. #. type: table
  25192. #: guix-git/doc/guix.texi:17111
  25193. 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."
  25194. msgstr ""
  25195. #. type: cindex
  25196. #: guix-git/doc/guix.texi:17115
  25197. #, no-wrap
  25198. msgid "hidden service"
  25199. msgstr ""
  25200. #. type: deffn
  25201. #: guix-git/doc/guix.texi:17116
  25202. #, no-wrap
  25203. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  25204. msgstr ""
  25205. #. type: deffn
  25206. #: guix-git/doc/guix.texi:17119
  25207. 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:"
  25208. msgstr ""
  25209. #. type: example
  25210. #: guix-git/doc/guix.texi:17123
  25211. #, no-wrap
  25212. msgid ""
  25213. " '((22 \"127.0.0.1:22\")\n"
  25214. " (80 \"127.0.0.1:8080\"))\n"
  25215. msgstr ""
  25216. #. type: deffn
  25217. #: guix-git/doc/guix.texi:17127
  25218. 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."
  25219. msgstr ""
  25220. #. type: deffn
  25221. #: guix-git/doc/guix.texi:17131
  25222. 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."
  25223. msgstr ""
  25224. #. type: deffn
  25225. #: guix-git/doc/guix.texi:17134
  25226. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  25227. msgstr ""
  25228. #. type: Plain text
  25229. #: guix-git/doc/guix.texi:17137
  25230. msgid "The @code{(gnu services rsync)} module provides the following services:"
  25231. msgstr ""
  25232. #. type: Plain text
  25233. #: guix-git/doc/guix.texi:17141
  25234. 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."
  25235. msgstr ""
  25236. #. type: deffn
  25237. #: guix-git/doc/guix.texi:17142
  25238. #, no-wrap
  25239. msgid "{Scheme Variable} rsync-service-type"
  25240. msgstr ""
  25241. #. type: deffn
  25242. #: guix-git/doc/guix.texi:17146
  25243. 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:"
  25244. msgstr ""
  25245. #. type: lisp
  25246. #: guix-git/doc/guix.texi:17149
  25247. #, no-wrap
  25248. msgid "(service rsync-service-type)\n"
  25249. msgstr ""
  25250. #. type: deffn
  25251. #: guix-git/doc/guix.texi:17152
  25252. msgid "See below for details about @code{rsync-configuration}."
  25253. msgstr ""
  25254. #. type: deftp
  25255. #: guix-git/doc/guix.texi:17154
  25256. #, no-wrap
  25257. msgid "{Data Type} rsync-configuration"
  25258. msgstr ""
  25259. #. type: deftp
  25260. #: guix-git/doc/guix.texi:17156
  25261. msgid "Data type representing the configuration for @code{rsync-service}."
  25262. msgstr ""
  25263. #. type: item
  25264. #: guix-git/doc/guix.texi:17158
  25265. #, no-wrap
  25266. msgid "@code{package} (default: @var{rsync})"
  25267. msgstr ""
  25268. #. type: table
  25269. #: guix-git/doc/guix.texi:17160
  25270. msgid "@code{rsync} package to use."
  25271. msgstr ""
  25272. #. type: item
  25273. #: guix-git/doc/guix.texi:17161
  25274. #, no-wrap
  25275. msgid "@code{port-number} (default: @code{873})"
  25276. msgstr ""
  25277. #. type: table
  25278. #: guix-git/doc/guix.texi:17165
  25279. 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."
  25280. msgstr ""
  25281. #. type: item
  25282. #: guix-git/doc/guix.texi:17166
  25283. #, no-wrap
  25284. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  25285. msgstr ""
  25286. #. type: table
  25287. #: guix-git/doc/guix.texi:17168
  25288. msgid "Name of the file where @command{rsync} writes its PID."
  25289. msgstr ""
  25290. #. type: item
  25291. #: guix-git/doc/guix.texi:17169
  25292. #, no-wrap
  25293. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  25294. msgstr ""
  25295. #. type: table
  25296. #: guix-git/doc/guix.texi:17171
  25297. msgid "Name of the file where @command{rsync} writes its lock file."
  25298. msgstr ""
  25299. #. type: item
  25300. #: guix-git/doc/guix.texi:17172
  25301. #, no-wrap
  25302. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  25303. msgstr ""
  25304. #. type: table
  25305. #: guix-git/doc/guix.texi:17174
  25306. msgid "Name of the file where @command{rsync} writes its log file."
  25307. msgstr ""
  25308. #. type: item
  25309. #: guix-git/doc/guix.texi:17175
  25310. #, no-wrap
  25311. msgid "@code{use-chroot?} (default: @var{#t})"
  25312. msgstr ""
  25313. #. type: table
  25314. #: guix-git/doc/guix.texi:17177
  25315. msgid "Whether to use chroot for @command{rsync} shared directory."
  25316. msgstr ""
  25317. #. type: item
  25318. #: guix-git/doc/guix.texi:17178
  25319. #, no-wrap
  25320. msgid "@code{share-path} (default: @file{/srv/rsync})"
  25321. msgstr ""
  25322. #. type: table
  25323. #: guix-git/doc/guix.texi:17180
  25324. msgid "Location of the @command{rsync} shared directory."
  25325. msgstr ""
  25326. #. type: item
  25327. #: guix-git/doc/guix.texi:17181
  25328. #, no-wrap
  25329. msgid "@code{share-comment} (default: @code{\"Rsync share\"})"
  25330. msgstr ""
  25331. #. type: table
  25332. #: guix-git/doc/guix.texi:17183
  25333. msgid "Comment of the @command{rsync} shared directory."
  25334. msgstr ""
  25335. #. type: item
  25336. #: guix-git/doc/guix.texi:17184
  25337. #, no-wrap
  25338. msgid "@code{read-only?} (default: @var{#f})"
  25339. msgstr ""
  25340. #. type: table
  25341. #: guix-git/doc/guix.texi:17186
  25342. msgid "Read-write permissions to shared directory."
  25343. msgstr ""
  25344. #. type: item
  25345. #: guix-git/doc/guix.texi:17187
  25346. #, no-wrap
  25347. msgid "@code{timeout} (default: @code{300})"
  25348. msgstr ""
  25349. #. type: table
  25350. #: guix-git/doc/guix.texi:17189
  25351. msgid "I/O timeout in seconds."
  25352. msgstr ""
  25353. #. type: item
  25354. #: guix-git/doc/guix.texi:17190
  25355. #, no-wrap
  25356. msgid "@code{user} (default: @var{\"root\"})"
  25357. msgstr ""
  25358. #. type: table
  25359. #: guix-git/doc/guix.texi:17192
  25360. msgid "Owner of the @code{rsync} process."
  25361. msgstr ""
  25362. #. type: item
  25363. #: guix-git/doc/guix.texi:17193
  25364. #, no-wrap
  25365. msgid "@code{group} (default: @var{\"root\"})"
  25366. msgstr ""
  25367. #. type: table
  25368. #: guix-git/doc/guix.texi:17195
  25369. msgid "Group of the @code{rsync} process."
  25370. msgstr ""
  25371. #. type: item
  25372. #: guix-git/doc/guix.texi:17196
  25373. #, no-wrap
  25374. msgid "@code{uid} (default: @var{\"rsyncd\"})"
  25375. msgstr ""
  25376. #. type: table
  25377. #: guix-git/doc/guix.texi:17199
  25378. 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}."
  25379. msgstr ""
  25380. #. type: item
  25381. #: guix-git/doc/guix.texi:17200
  25382. #, no-wrap
  25383. msgid "@code{gid} (default: @var{\"rsyncd\"})"
  25384. msgstr ""
  25385. #. type: table
  25386. #: guix-git/doc/guix.texi:17202 guix-git/doc/guix.texi:17645
  25387. msgid "Group name or group ID that will be used when accessing the module."
  25388. msgstr ""
  25389. #. type: Plain text
  25390. #: guix-git/doc/guix.texi:17207
  25391. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  25392. msgstr ""
  25393. #. type: cindex
  25394. #: guix-git/doc/guix.texi:17207
  25395. #, no-wrap
  25396. msgid "syncthing"
  25397. msgstr ""
  25398. #. type: Plain text
  25399. #: guix-git/doc/guix.texi:17212
  25400. 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."
  25401. msgstr ""
  25402. #. type: deffn
  25403. #: guix-git/doc/guix.texi:17213
  25404. #, no-wrap
  25405. msgid "{Scheme Variable} syncthing-service-type"
  25406. msgstr ""
  25407. #. type: deffn
  25408. #: guix-git/doc/guix.texi:17217
  25409. 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:"
  25410. msgstr ""
  25411. #. type: lisp
  25412. #: guix-git/doc/guix.texi:17221
  25413. #, no-wrap
  25414. msgid ""
  25415. "(service syncthing-service-type\n"
  25416. " (syncthing-configuration (user \"alice\")))\n"
  25417. msgstr ""
  25418. #. type: deffn
  25419. #: guix-git/doc/guix.texi:17224
  25420. msgid "See below for details about @code{syncthing-configuration}."
  25421. msgstr ""
  25422. #. type: deftp
  25423. #: guix-git/doc/guix.texi:17225
  25424. #, no-wrap
  25425. msgid "{Data Type} syncthing-configuration"
  25426. msgstr ""
  25427. #. type: deftp
  25428. #: guix-git/doc/guix.texi:17227
  25429. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  25430. msgstr ""
  25431. #. type: item
  25432. #: guix-git/doc/guix.texi:17229
  25433. #, no-wrap
  25434. msgid "@code{syncthing} (default: @var{syncthing})"
  25435. msgstr ""
  25436. #. type: table
  25437. #: guix-git/doc/guix.texi:17231
  25438. msgid "@code{syncthing} package to use."
  25439. msgstr ""
  25440. #. type: item
  25441. #: guix-git/doc/guix.texi:17232
  25442. #, no-wrap
  25443. msgid "@code{arguments} (default: @var{'()})"
  25444. msgstr ""
  25445. #. type: table
  25446. #: guix-git/doc/guix.texi:17234
  25447. msgid "List of command-line arguments passing to @code{syncthing} binary."
  25448. msgstr ""
  25449. #. type: item
  25450. #: guix-git/doc/guix.texi:17235
  25451. #, no-wrap
  25452. msgid "@code{logflags} (default: @var{0})"
  25453. msgstr ""
  25454. #. type: table
  25455. #: guix-git/doc/guix.texi:17238
  25456. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  25457. msgstr ""
  25458. #. type: item
  25459. #: guix-git/doc/guix.texi:17239
  25460. #, no-wrap
  25461. msgid "@code{user} (default: @var{#f})"
  25462. msgstr ""
  25463. #. type: table
  25464. #: guix-git/doc/guix.texi:17242
  25465. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  25466. msgstr ""
  25467. #. type: item
  25468. #: guix-git/doc/guix.texi:17243
  25469. #, no-wrap
  25470. msgid "@code{group} (default: @var{\"users\"})"
  25471. msgstr ""
  25472. #. type: table
  25473. #: guix-git/doc/guix.texi:17246
  25474. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  25475. msgstr ""
  25476. #. type: item
  25477. #: guix-git/doc/guix.texi:17247
  25478. #, no-wrap
  25479. msgid "@code{home} (default: @var{#f})"
  25480. msgstr ""
  25481. #. type: table
  25482. #: guix-git/doc/guix.texi:17250
  25483. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  25484. msgstr ""
  25485. #. type: Plain text
  25486. #: guix-git/doc/guix.texi:17256
  25487. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  25488. msgstr ""
  25489. #. type: cindex
  25490. #: guix-git/doc/guix.texi:17256 guix-git/doc/guix.texi:17295
  25491. #: guix-git/doc/guix.texi:34581
  25492. #, no-wrap
  25493. msgid "SSH"
  25494. msgstr ""
  25495. #. type: cindex
  25496. #: guix-git/doc/guix.texi:17257 guix-git/doc/guix.texi:17296
  25497. #: guix-git/doc/guix.texi:34582
  25498. #, no-wrap
  25499. msgid "SSH server"
  25500. msgstr ""
  25501. #. type: deffn
  25502. #: guix-git/doc/guix.texi:17259
  25503. #, no-wrap
  25504. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  25505. msgstr ""
  25506. #. type: deffn
  25507. #: guix-git/doc/guix.texi:17268
  25508. 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."
  25509. msgstr ""
  25510. #. type: deffn
  25511. #: guix-git/doc/guix.texi:17274
  25512. 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}."
  25513. msgstr ""
  25514. #. type: deffn
  25515. #: guix-git/doc/guix.texi:17278
  25516. 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."
  25517. msgstr ""
  25518. #. type: deffn
  25519. #: guix-git/doc/guix.texi:17283
  25520. 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})."
  25521. msgstr ""
  25522. #. type: deffn
  25523. #: guix-git/doc/guix.texi:17287
  25524. 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."
  25525. msgstr ""
  25526. #. type: deffn
  25527. #: guix-git/doc/guix.texi:17291
  25528. 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."
  25529. msgstr ""
  25530. #. type: deffn
  25531. #: guix-git/doc/guix.texi:17293
  25532. msgid "The other options should be self-descriptive."
  25533. msgstr ""
  25534. #. type: deffn
  25535. #: guix-git/doc/guix.texi:17297
  25536. #, no-wrap
  25537. msgid "{Scheme Variable} openssh-service-type"
  25538. msgstr ""
  25539. #. type: deffn
  25540. #: guix-git/doc/guix.texi:17301
  25541. 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:"
  25542. msgstr ""
  25543. #. type: lisp
  25544. #: guix-git/doc/guix.texi:17310
  25545. #, no-wrap
  25546. msgid ""
  25547. "(service openssh-service-type\n"
  25548. " (openssh-configuration\n"
  25549. " (x11-forwarding? #t)\n"
  25550. " (permit-root-login 'prohibit-password)\n"
  25551. " (authorized-keys\n"
  25552. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  25553. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  25554. msgstr ""
  25555. #. type: deffn
  25556. #: guix-git/doc/guix.texi:17313
  25557. msgid "See below for details about @code{openssh-configuration}."
  25558. msgstr ""
  25559. #. type: deffn
  25560. #: guix-git/doc/guix.texi:17316
  25561. msgid "This service can be extended with extra authorized keys, as in this example:"
  25562. msgstr ""
  25563. #. type: lisp
  25564. #: guix-git/doc/guix.texi:17321
  25565. #, no-wrap
  25566. msgid ""
  25567. "(service-extension openssh-service-type\n"
  25568. " (const `((\"charlie\"\n"
  25569. " ,(local-file \"charlie.pub\")))))\n"
  25570. msgstr ""
  25571. #. type: deftp
  25572. #: guix-git/doc/guix.texi:17324
  25573. #, no-wrap
  25574. msgid "{Data Type} openssh-configuration"
  25575. msgstr ""
  25576. #. type: deftp
  25577. #: guix-git/doc/guix.texi:17326
  25578. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  25579. msgstr ""
  25580. #. type: item
  25581. #: guix-git/doc/guix.texi:17328
  25582. #, no-wrap
  25583. msgid "@code{openssh} (default @var{openssh})"
  25584. msgstr ""
  25585. #. type: table
  25586. #: guix-git/doc/guix.texi:17330
  25587. msgid "The Openssh package to use."
  25588. msgstr ""
  25589. #. type: item
  25590. #: guix-git/doc/guix.texi:17331
  25591. #, no-wrap
  25592. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  25593. msgstr ""
  25594. #. type: table
  25595. #: guix-git/doc/guix.texi:17333
  25596. msgid "Name of the file where @command{sshd} writes its PID."
  25597. msgstr ""
  25598. #. type: item
  25599. #: guix-git/doc/guix.texi:17334
  25600. #, no-wrap
  25601. msgid "@code{port-number} (default: @code{22})"
  25602. msgstr ""
  25603. #. type: table
  25604. #: guix-git/doc/guix.texi:17336
  25605. msgid "TCP port on which @command{sshd} listens for incoming connections."
  25606. msgstr ""
  25607. #. type: item
  25608. #: guix-git/doc/guix.texi:17337
  25609. #, no-wrap
  25610. msgid "@code{permit-root-login} (default: @code{#f})"
  25611. msgstr ""
  25612. #. type: table
  25613. #: guix-git/doc/guix.texi:17342
  25614. 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."
  25615. msgstr ""
  25616. #. type: item
  25617. #: guix-git/doc/guix.texi:17343 guix-git/doc/guix.texi:17504
  25618. #, no-wrap
  25619. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  25620. msgstr ""
  25621. #. type: table
  25622. #: guix-git/doc/guix.texi:17346
  25623. msgid "When true, users with empty passwords may log in. When false, they may not."
  25624. msgstr ""
  25625. #. type: item
  25626. #: guix-git/doc/guix.texi:17347 guix-git/doc/guix.texi:17507
  25627. #, no-wrap
  25628. msgid "@code{password-authentication?} (default: @code{#t})"
  25629. msgstr ""
  25630. #. type: table
  25631. #: guix-git/doc/guix.texi:17350
  25632. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  25633. msgstr ""
  25634. #. type: item
  25635. #: guix-git/doc/guix.texi:17351
  25636. #, no-wrap
  25637. msgid "@code{public-key-authentication?} (default: @code{#t})"
  25638. msgstr ""
  25639. #. type: table
  25640. #: guix-git/doc/guix.texi:17354
  25641. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  25642. msgstr ""
  25643. #. type: table
  25644. #: guix-git/doc/guix.texi:17357
  25645. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  25646. msgstr ""
  25647. #. type: item
  25648. #: guix-git/doc/guix.texi:17358
  25649. #, no-wrap
  25650. msgid "@code{x11-forwarding?} (default: @code{#f})"
  25651. msgstr ""
  25652. #. type: table
  25653. #: guix-git/doc/guix.texi:17362
  25654. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  25655. msgstr ""
  25656. #. type: item
  25657. #: guix-git/doc/guix.texi:17363
  25658. #, no-wrap
  25659. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  25660. msgstr ""
  25661. #. type: table
  25662. #: guix-git/doc/guix.texi:17365
  25663. msgid "Whether to allow agent forwarding."
  25664. msgstr ""
  25665. #. type: item
  25666. #: guix-git/doc/guix.texi:17366
  25667. #, no-wrap
  25668. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  25669. msgstr ""
  25670. #. type: table
  25671. #: guix-git/doc/guix.texi:17368
  25672. msgid "Whether to allow TCP forwarding."
  25673. msgstr ""
  25674. #. type: item
  25675. #: guix-git/doc/guix.texi:17369
  25676. #, no-wrap
  25677. msgid "@code{gateway-ports?} (default: @code{#f})"
  25678. msgstr ""
  25679. #. type: table
  25680. #: guix-git/doc/guix.texi:17371
  25681. msgid "Whether to allow gateway ports."
  25682. msgstr ""
  25683. #. type: item
  25684. #: guix-git/doc/guix.texi:17372
  25685. #, no-wrap
  25686. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  25687. msgstr ""
  25688. #. type: table
  25689. #: guix-git/doc/guix.texi:17375
  25690. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  25691. msgstr ""
  25692. #. type: item
  25693. #: guix-git/doc/guix.texi:17376
  25694. #, no-wrap
  25695. msgid "@code{use-pam?} (default: @code{#t})"
  25696. msgstr ""
  25697. #. type: table
  25698. #: guix-git/doc/guix.texi:17382
  25699. 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."
  25700. msgstr ""
  25701. #. type: table
  25702. #: guix-git/doc/guix.texi:17387
  25703. 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?}."
  25704. msgstr ""
  25705. #. type: item
  25706. #: guix-git/doc/guix.texi:17388
  25707. #, no-wrap
  25708. msgid "@code{print-last-log?} (default: @code{#t})"
  25709. msgstr ""
  25710. #. type: table
  25711. #: guix-git/doc/guix.texi:17391
  25712. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  25713. msgstr ""
  25714. #. type: item
  25715. #: guix-git/doc/guix.texi:17392
  25716. #, no-wrap
  25717. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  25718. msgstr ""
  25719. #. type: table
  25720. #: guix-git/doc/guix.texi:17394
  25721. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  25722. msgstr ""
  25723. #. type: table
  25724. #: guix-git/doc/guix.texi:17398
  25725. 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."
  25726. msgstr ""
  25727. #. type: table
  25728. #: guix-git/doc/guix.texi:17401
  25729. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  25730. msgstr ""
  25731. #. type: lisp
  25732. #: guix-git/doc/guix.texi:17406
  25733. #, no-wrap
  25734. msgid ""
  25735. "(service openssh-service-type\n"
  25736. " (openssh-configuration\n"
  25737. " (subsystems\n"
  25738. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  25739. msgstr ""
  25740. #. type: item
  25741. #: guix-git/doc/guix.texi:17408
  25742. #, no-wrap
  25743. msgid "@code{accepted-environment} (default: @code{'()})"
  25744. msgstr ""
  25745. #. type: table
  25746. #: guix-git/doc/guix.texi:17410
  25747. msgid "List of strings describing which environment variables may be exported."
  25748. msgstr ""
  25749. #. type: table
  25750. #: guix-git/doc/guix.texi:17413
  25751. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  25752. msgstr ""
  25753. #. type: table
  25754. #: guix-git/doc/guix.texi:17418
  25755. 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."
  25756. msgstr ""
  25757. #. type: lisp
  25758. #: guix-git/doc/guix.texi:17423
  25759. #, no-wrap
  25760. msgid ""
  25761. "(service openssh-service-type\n"
  25762. " (openssh-configuration\n"
  25763. " (accepted-environment '(\"COLORTERM\"))))\n"
  25764. msgstr ""
  25765. #. type: item
  25766. #: guix-git/doc/guix.texi:17425
  25767. #, no-wrap
  25768. msgid "@code{authorized-keys} (default: @code{'()})"
  25769. msgstr ""
  25770. #. type: cindex
  25771. #: guix-git/doc/guix.texi:17426
  25772. #, no-wrap
  25773. msgid "authorized keys, SSH"
  25774. msgstr ""
  25775. #. type: cindex
  25776. #: guix-git/doc/guix.texi:17427
  25777. #, no-wrap
  25778. msgid "SSH authorized keys"
  25779. msgstr ""
  25780. #. type: table
  25781. #: guix-git/doc/guix.texi:17431
  25782. 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:"
  25783. msgstr ""
  25784. #. type: lisp
  25785. #: guix-git/doc/guix.texi:17438
  25786. #, no-wrap
  25787. msgid ""
  25788. "(openssh-configuration\n"
  25789. " (authorized-keys\n"
  25790. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  25791. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  25792. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  25793. msgstr ""
  25794. #. type: table
  25795. #: guix-git/doc/guix.texi:17443
  25796. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  25797. msgstr ""
  25798. #. type: table
  25799. #: guix-git/doc/guix.texi:17446
  25800. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  25801. msgstr ""
  25802. #. type: table
  25803. #: guix-git/doc/guix.texi:17449
  25804. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  25805. msgstr ""
  25806. #. type: item
  25807. #: guix-git/doc/guix.texi:17450 guix-git/doc/guix.texi:17881
  25808. #, no-wrap
  25809. msgid "@code{log-level} (default: @code{'info})"
  25810. msgstr ""
  25811. #. type: table
  25812. #: guix-git/doc/guix.texi:17454
  25813. 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."
  25814. msgstr ""
  25815. #. type: item
  25816. #: guix-git/doc/guix.texi:17455 guix-git/doc/guix.texi:20277
  25817. #: guix-git/doc/guix.texi:25418
  25818. #, no-wrap
  25819. msgid "@code{extra-content} (default: @code{\"\"})"
  25820. msgstr ""
  25821. #. type: table
  25822. #: guix-git/doc/guix.texi:17460
  25823. 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:"
  25824. msgstr ""
  25825. #. type: lisp
  25826. #: guix-git/doc/guix.texi:17466
  25827. #, no-wrap
  25828. msgid ""
  25829. "(openssh-configuration\n"
  25830. " (extra-content \"\\\n"
  25831. "Match Address 192.168.0.1\n"
  25832. " PermitRootLogin yes\"))\n"
  25833. msgstr ""
  25834. #. type: deffn
  25835. #: guix-git/doc/guix.texi:17471
  25836. #, no-wrap
  25837. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  25838. msgstr ""
  25839. #. type: deffn
  25840. #: guix-git/doc/guix.texi:17475
  25841. 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."
  25842. msgstr ""
  25843. #. type: deffn
  25844. #: guix-git/doc/guix.texi:17478
  25845. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  25846. msgstr ""
  25847. #. type: lisp
  25848. #: guix-git/doc/guix.texi:17482
  25849. #, no-wrap
  25850. msgid ""
  25851. "(dropbear-service (dropbear-configuration\n"
  25852. " (port-number 1234)))\n"
  25853. msgstr ""
  25854. #. type: deftp
  25855. #: guix-git/doc/guix.texi:17485
  25856. #, no-wrap
  25857. msgid "{Data Type} dropbear-configuration"
  25858. msgstr ""
  25859. #. type: deftp
  25860. #: guix-git/doc/guix.texi:17487
  25861. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  25862. msgstr ""
  25863. #. type: item
  25864. #: guix-git/doc/guix.texi:17489
  25865. #, no-wrap
  25866. msgid "@code{dropbear} (default: @var{dropbear})"
  25867. msgstr ""
  25868. #. type: table
  25869. #: guix-git/doc/guix.texi:17491
  25870. msgid "The Dropbear package to use."
  25871. msgstr ""
  25872. #. type: item
  25873. #: guix-git/doc/guix.texi:17492
  25874. #, no-wrap
  25875. msgid "@code{port-number} (default: 22)"
  25876. msgstr ""
  25877. #. type: table
  25878. #: guix-git/doc/guix.texi:17494
  25879. msgid "The TCP port where the daemon waits for incoming connections."
  25880. msgstr ""
  25881. #. type: item
  25882. #: guix-git/doc/guix.texi:17495
  25883. #, no-wrap
  25884. msgid "@code{syslog-output?} (default: @code{#t})"
  25885. msgstr ""
  25886. #. type: table
  25887. #: guix-git/doc/guix.texi:17497
  25888. msgid "Whether to enable syslog output."
  25889. msgstr ""
  25890. #. type: item
  25891. #: guix-git/doc/guix.texi:17498
  25892. #, no-wrap
  25893. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  25894. msgstr ""
  25895. #. type: table
  25896. #: guix-git/doc/guix.texi:17500
  25897. msgid "File name of the daemon's PID file."
  25898. msgstr ""
  25899. #. type: item
  25900. #: guix-git/doc/guix.texi:17501
  25901. #, no-wrap
  25902. msgid "@code{root-login?} (default: @code{#f})"
  25903. msgstr ""
  25904. #. type: table
  25905. #: guix-git/doc/guix.texi:17503
  25906. msgid "Whether to allow @code{root} logins."
  25907. msgstr ""
  25908. #. type: table
  25909. #: guix-git/doc/guix.texi:17506
  25910. msgid "Whether to allow empty passwords."
  25911. msgstr ""
  25912. #. type: table
  25913. #: guix-git/doc/guix.texi:17509
  25914. msgid "Whether to enable password-based authentication."
  25915. msgstr ""
  25916. #. type: cindex
  25917. #: guix-git/doc/guix.texi:17512
  25918. #, no-wrap
  25919. msgid "AutoSSH"
  25920. msgstr ""
  25921. #. type: deffn
  25922. #: guix-git/doc/guix.texi:17513
  25923. #, no-wrap
  25924. msgid "{Scheme Variable} autossh-service-type"
  25925. msgstr ""
  25926. #. type: deffn
  25927. #: guix-git/doc/guix.texi:17521
  25928. 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."
  25929. msgstr ""
  25930. #. type: deffn
  25931. #: guix-git/doc/guix.texi:17525
  25932. 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."
  25933. msgstr ""
  25934. #. type: deffn
  25935. #: guix-git/doc/guix.texi:17530
  25936. 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:"
  25937. msgstr ""
  25938. #. type: lisp
  25939. #: guix-git/doc/guix.texi:17536
  25940. #, no-wrap
  25941. msgid ""
  25942. "(service autossh-service-type\n"
  25943. " (autossh-configuration\n"
  25944. " (user \"pino\")\n"
  25945. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  25946. msgstr ""
  25947. #. type: deftp
  25948. #: guix-git/doc/guix.texi:17539
  25949. #, no-wrap
  25950. msgid "{Data Type} autossh-configuration"
  25951. msgstr ""
  25952. #. type: deftp
  25953. #: guix-git/doc/guix.texi:17541
  25954. msgid "This data type represents the configuration of an AutoSSH service."
  25955. msgstr ""
  25956. #. type: item
  25957. #: guix-git/doc/guix.texi:17544
  25958. #, no-wrap
  25959. msgid "@code{user} (default @code{\"autossh\"})"
  25960. msgstr ""
  25961. #. type: table
  25962. #: guix-git/doc/guix.texi:17547
  25963. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  25964. msgstr ""
  25965. #. type: item
  25966. #: guix-git/doc/guix.texi:17548
  25967. #, no-wrap
  25968. msgid "@code{poll} (default @code{600})"
  25969. msgstr ""
  25970. #. type: table
  25971. #: guix-git/doc/guix.texi:17550
  25972. msgid "Specifies the connection poll time in seconds."
  25973. msgstr ""
  25974. #. type: item
  25975. #: guix-git/doc/guix.texi:17551
  25976. #, no-wrap
  25977. msgid "@code{first-poll} (default @code{#f})"
  25978. msgstr ""
  25979. #. type: table
  25980. #: guix-git/doc/guix.texi:17557
  25981. 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}."
  25982. msgstr ""
  25983. #. type: item
  25984. #: guix-git/doc/guix.texi:17558
  25985. #, no-wrap
  25986. msgid "@code{gate-time} (default @code{30})"
  25987. msgstr ""
  25988. #. type: table
  25989. #: guix-git/doc/guix.texi:17561
  25990. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  25991. msgstr ""
  25992. #. type: item
  25993. #: guix-git/doc/guix.texi:17562
  25994. #, no-wrap
  25995. msgid "@code{log-level} (default @code{1})"
  25996. msgstr ""
  25997. #. type: table
  25998. #: guix-git/doc/guix.texi:17565
  25999. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  26000. msgstr ""
  26001. #. type: item
  26002. #: guix-git/doc/guix.texi:17566
  26003. #, no-wrap
  26004. msgid "@code{max-start} (default @code{#f})"
  26005. msgstr ""
  26006. #. type: table
  26007. #: guix-git/doc/guix.texi:17569
  26008. 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."
  26009. msgstr ""
  26010. #. type: item
  26011. #: guix-git/doc/guix.texi:17570
  26012. #, no-wrap
  26013. msgid "@code{message} (default @code{\"\"})"
  26014. msgstr ""
  26015. #. type: table
  26016. #: guix-git/doc/guix.texi:17572
  26017. msgid "The message to append to the echo message sent when testing connections."
  26018. msgstr ""
  26019. #. type: item
  26020. #: guix-git/doc/guix.texi:17573
  26021. #, no-wrap
  26022. msgid "@code{port} (default @code{\"0\"})"
  26023. msgstr ""
  26024. #. type: table
  26025. #: guix-git/doc/guix.texi:17583
  26026. 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."
  26027. msgstr ""
  26028. #. type: item
  26029. #: guix-git/doc/guix.texi:17584
  26030. #, no-wrap
  26031. msgid "@code{ssh-options} (default @code{'()})"
  26032. msgstr ""
  26033. #. type: table
  26034. #: guix-git/doc/guix.texi:17588
  26035. 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."
  26036. msgstr ""
  26037. #. type: cindex
  26038. #: guix-git/doc/guix.texi:17592
  26039. #, no-wrap
  26040. msgid "WebSSH"
  26041. msgstr ""
  26042. #. type: deffn
  26043. #: guix-git/doc/guix.texi:17593
  26044. #, no-wrap
  26045. msgid "{Scheme Variable} webssh-service-type"
  26046. msgstr ""
  26047. #. type: deffn
  26048. #: guix-git/doc/guix.texi:17599
  26049. 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."
  26050. msgstr ""
  26051. #. type: deffn
  26052. #: guix-git/doc/guix.texi:17605
  26053. 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:"
  26054. msgstr ""
  26055. #. type: lisp
  26056. #: guix-git/doc/guix.texi:17613
  26057. #, no-wrap
  26058. msgid ""
  26059. "(service webssh-service-type\n"
  26060. " (webssh-configuration (address \"127.0.0.1\")\n"
  26061. " (port 8888)\n"
  26062. " (policy 'reject)\n"
  26063. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  26064. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  26065. "\n"
  26066. msgstr ""
  26067. #. type: lisp
  26068. #: guix-git/doc/guix.texi:17629
  26069. #, no-wrap
  26070. msgid ""
  26071. "(service nginx-service-type\n"
  26072. " (nginx-configuration\n"
  26073. " (server-blocks\n"
  26074. " (list\n"
  26075. " (nginx-server-configuration\n"
  26076. " (inherit %webssh-configuration-nginx)\n"
  26077. " (server-name '(\"webssh.example.com\"))\n"
  26078. " (listen '(\"443 ssl\"))\n"
  26079. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  26080. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  26081. " (locations\n"
  26082. " (cons (nginx-location-configuration\n"
  26083. " (uri \"/.well-known\")\n"
  26084. " (body '(\"root /var/www;\")))\n"
  26085. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  26086. msgstr ""
  26087. #. type: deftp
  26088. #: guix-git/doc/guix.texi:17632
  26089. #, no-wrap
  26090. msgid "{Data Type} webssh-configuration"
  26091. msgstr ""
  26092. #. type: deftp
  26093. #: guix-git/doc/guix.texi:17634
  26094. msgid "Data type representing the configuration for @code{webssh-service}."
  26095. msgstr ""
  26096. #. type: item
  26097. #: guix-git/doc/guix.texi:17636
  26098. #, no-wrap
  26099. msgid "@code{package} (default: @var{webssh})"
  26100. msgstr ""
  26101. #. type: table
  26102. #: guix-git/doc/guix.texi:17638
  26103. msgid "@code{webssh} package to use."
  26104. msgstr ""
  26105. #. type: item
  26106. #: guix-git/doc/guix.texi:17639
  26107. #, no-wrap
  26108. msgid "@code{user-name} (default: @var{\"webssh\"})"
  26109. msgstr ""
  26110. #. type: table
  26111. #: guix-git/doc/guix.texi:17642
  26112. msgid "User name or user ID that file transfers to and from that module should take place."
  26113. msgstr ""
  26114. #. type: item
  26115. #: guix-git/doc/guix.texi:17643
  26116. #, no-wrap
  26117. msgid "@code{group-name} (default: @var{\"webssh\"})"
  26118. msgstr ""
  26119. #. type: item
  26120. #: guix-git/doc/guix.texi:17646
  26121. #, no-wrap
  26122. msgid "@code{address} (default: @var{#f})"
  26123. msgstr ""
  26124. #. type: table
  26125. #: guix-git/doc/guix.texi:17648
  26126. msgid "IP address on which @command{webssh} listens for incoming connections."
  26127. msgstr ""
  26128. #. type: item
  26129. #: guix-git/doc/guix.texi:17649
  26130. #, no-wrap
  26131. msgid "@code{port} (default: @var{8888})"
  26132. msgstr ""
  26133. #. type: table
  26134. #: guix-git/doc/guix.texi:17651
  26135. msgid "TCP port on which @command{webssh} listens for incoming connections."
  26136. msgstr ""
  26137. #. type: item
  26138. #: guix-git/doc/guix.texi:17652
  26139. #, no-wrap
  26140. msgid "@code{policy} (default: @var{#f})"
  26141. msgstr ""
  26142. #. type: table
  26143. #: guix-git/doc/guix.texi:17654
  26144. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  26145. msgstr ""
  26146. #. type: item
  26147. #: guix-git/doc/guix.texi:17655
  26148. #, no-wrap
  26149. msgid "@code{known-hosts} (default: @var{'()})"
  26150. msgstr ""
  26151. #. type: table
  26152. #: guix-git/doc/guix.texi:17657
  26153. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  26154. msgstr ""
  26155. #. type: item
  26156. #: guix-git/doc/guix.texi:17658
  26157. #, no-wrap
  26158. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  26159. msgstr ""
  26160. #. type: table
  26161. #: guix-git/doc/guix.texi:17660
  26162. msgid "Name of the file where @command{webssh} writes its log file."
  26163. msgstr ""
  26164. #. type: item
  26165. #: guix-git/doc/guix.texi:17661
  26166. #, no-wrap
  26167. msgid "@code{log-level} (default: @var{#f})"
  26168. msgstr ""
  26169. #. type: table
  26170. #: guix-git/doc/guix.texi:17663
  26171. msgid "Logging level."
  26172. msgstr ""
  26173. #. type: defvr
  26174. #: guix-git/doc/guix.texi:17667
  26175. #, no-wrap
  26176. msgid "{Scheme Variable} %facebook-host-aliases"
  26177. msgstr ""
  26178. #. type: defvr
  26179. #: guix-git/doc/guix.texi:17673
  26180. 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}."
  26181. msgstr ""
  26182. #. type: defvr
  26183. #: guix-git/doc/guix.texi:17677
  26184. 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}}):"
  26185. msgstr ""
  26186. #. type: lisp
  26187. #: guix-git/doc/guix.texi:17690
  26188. #, no-wrap
  26189. msgid ""
  26190. "(operating-system\n"
  26191. " (host-name \"mymachine\")\n"
  26192. " ;; ...\n"
  26193. " (hosts-file\n"
  26194. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  26195. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  26196. " (plain-file \"hosts\"\n"
  26197. " (string-append (local-host-aliases host-name)\n"
  26198. " %facebook-host-aliases))))\n"
  26199. msgstr ""
  26200. #. type: defvr
  26201. #: guix-git/doc/guix.texi:17694
  26202. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  26203. msgstr ""
  26204. #. type: Plain text
  26205. #: guix-git/doc/guix.texi:17697
  26206. msgid "The @code{(gnu services avahi)} provides the following definition."
  26207. msgstr ""
  26208. #. type: defvr
  26209. #: guix-git/doc/guix.texi:17698
  26210. #, no-wrap
  26211. msgid "{Scheme Variable} avahi-service-type"
  26212. msgstr ""
  26213. #. type: defvr
  26214. #: guix-git/doc/guix.texi:17703
  26215. 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."
  26216. msgstr ""
  26217. #. type: defvr
  26218. #: guix-git/doc/guix.texi:17708
  26219. 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."
  26220. msgstr ""
  26221. #. type: defvr
  26222. #: guix-git/doc/guix.texi:17711
  26223. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  26224. msgstr ""
  26225. #. type: deftp
  26226. #: guix-git/doc/guix.texi:17713
  26227. #, no-wrap
  26228. msgid "{Data Type} avahi-configuration"
  26229. msgstr ""
  26230. #. type: deftp
  26231. #: guix-git/doc/guix.texi:17715
  26232. msgid "Data type representation the configuration for Avahi."
  26233. msgstr ""
  26234. #. type: item
  26235. #: guix-git/doc/guix.texi:17718
  26236. #, no-wrap
  26237. msgid "@code{host-name} (default: @code{#f})"
  26238. msgstr ""
  26239. #. type: table
  26240. #: guix-git/doc/guix.texi:17721
  26241. 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."
  26242. msgstr ""
  26243. #. type: item
  26244. #: guix-git/doc/guix.texi:17722 guix-git/doc/guix.texi:28072
  26245. #, no-wrap
  26246. msgid "@code{publish?} (default: @code{#t})"
  26247. msgstr ""
  26248. #. type: table
  26249. #: guix-git/doc/guix.texi:17725
  26250. msgid "When true, allow host names and services to be published (broadcast) over the network."
  26251. msgstr ""
  26252. #. type: item
  26253. #: guix-git/doc/guix.texi:17726
  26254. #, no-wrap
  26255. msgid "@code{publish-workstation?} (default: @code{#t})"
  26256. msgstr ""
  26257. #. type: table
  26258. #: guix-git/doc/guix.texi:17730
  26259. 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:"
  26260. msgstr ""
  26261. #. type: example
  26262. #: guix-git/doc/guix.texi:17733
  26263. #, no-wrap
  26264. msgid "avahi-browse _workstation._tcp\n"
  26265. msgstr ""
  26266. #. type: item
  26267. #: guix-git/doc/guix.texi:17735
  26268. #, no-wrap
  26269. msgid "@code{wide-area?} (default: @code{#f})"
  26270. msgstr ""
  26271. #. type: table
  26272. #: guix-git/doc/guix.texi:17737
  26273. msgid "When true, DNS-SD over unicast DNS is enabled."
  26274. msgstr ""
  26275. #. type: item
  26276. #: guix-git/doc/guix.texi:17738
  26277. #, no-wrap
  26278. msgid "@code{ipv4?} (default: @code{#t})"
  26279. msgstr ""
  26280. #. type: itemx
  26281. #: guix-git/doc/guix.texi:17739
  26282. #, no-wrap
  26283. msgid "@code{ipv6?} (default: @code{#t})"
  26284. msgstr ""
  26285. #. type: table
  26286. #: guix-git/doc/guix.texi:17741
  26287. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  26288. msgstr ""
  26289. #. type: item
  26290. #: guix-git/doc/guix.texi:17742
  26291. #, no-wrap
  26292. msgid "@code{domains-to-browse} (default: @code{'()})"
  26293. msgstr ""
  26294. #. type: table
  26295. #: guix-git/doc/guix.texi:17744
  26296. msgid "This is a list of domains to browse."
  26297. msgstr ""
  26298. #. type: deffn
  26299. #: guix-git/doc/guix.texi:17747
  26300. #, no-wrap
  26301. msgid "{Scheme Variable} openvswitch-service-type"
  26302. msgstr ""
  26303. #. type: deffn
  26304. #: guix-git/doc/guix.texi:17751
  26305. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  26306. msgstr ""
  26307. #. type: deftp
  26308. #: guix-git/doc/guix.texi:17753
  26309. #, no-wrap
  26310. msgid "{Data Type} openvswitch-configuration"
  26311. msgstr ""
  26312. #. type: deftp
  26313. #: guix-git/doc/guix.texi:17757
  26314. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  26315. msgstr ""
  26316. #. type: item
  26317. #: guix-git/doc/guix.texi:17759
  26318. #, no-wrap
  26319. msgid "@code{package} (default: @var{openvswitch})"
  26320. msgstr ""
  26321. #. type: table
  26322. #: guix-git/doc/guix.texi:17761
  26323. msgid "Package object of the Open vSwitch."
  26324. msgstr ""
  26325. #. type: defvr
  26326. #: guix-git/doc/guix.texi:17765
  26327. #, no-wrap
  26328. msgid "{Scheme Variable} pagekite-service-type"
  26329. msgstr ""
  26330. #. type: defvr
  26331. #: guix-git/doc/guix.texi:17770
  26332. 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."
  26333. msgstr ""
  26334. #. type: defvr
  26335. #: guix-git/doc/guix.texi:17772
  26336. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  26337. msgstr ""
  26338. #. type: lisp
  26339. #: guix-git/doc/guix.texi:17779
  26340. #, no-wrap
  26341. msgid ""
  26342. "(service pagekite-service-type\n"
  26343. " (pagekite-configuration\n"
  26344. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  26345. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  26346. " (extra-file \"/etc/pagekite.rc\")))\n"
  26347. msgstr ""
  26348. #. type: deftp
  26349. #: guix-git/doc/guix.texi:17782
  26350. #, no-wrap
  26351. msgid "{Data Type} pagekite-configuration"
  26352. msgstr ""
  26353. #. type: deftp
  26354. #: guix-git/doc/guix.texi:17784
  26355. msgid "Data type representing the configuration of PageKite."
  26356. msgstr ""
  26357. #. type: item
  26358. #: guix-git/doc/guix.texi:17786
  26359. #, no-wrap
  26360. msgid "@code{package} (default: @var{pagekite})"
  26361. msgstr ""
  26362. #. type: table
  26363. #: guix-git/doc/guix.texi:17788
  26364. msgid "Package object of PageKite."
  26365. msgstr ""
  26366. #. type: item
  26367. #: guix-git/doc/guix.texi:17789
  26368. #, no-wrap
  26369. msgid "@code{kitename} (default: @code{#f})"
  26370. msgstr ""
  26371. #. type: table
  26372. #: guix-git/doc/guix.texi:17791
  26373. msgid "PageKite name for authenticating to the frontend server."
  26374. msgstr ""
  26375. #. type: item
  26376. #: guix-git/doc/guix.texi:17792
  26377. #, no-wrap
  26378. msgid "@code{kitesecret} (default: @code{#f})"
  26379. msgstr ""
  26380. #. type: table
  26381. #: guix-git/doc/guix.texi:17795
  26382. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  26383. msgstr ""
  26384. #. type: item
  26385. #: guix-git/doc/guix.texi:17796
  26386. #, no-wrap
  26387. msgid "@code{frontend} (default: @code{#f})"
  26388. msgstr ""
  26389. #. type: table
  26390. #: guix-git/doc/guix.texi:17799
  26391. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  26392. msgstr ""
  26393. #. type: item
  26394. #: guix-git/doc/guix.texi:17800
  26395. #, no-wrap
  26396. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  26397. msgstr ""
  26398. #. type: table
  26399. #: guix-git/doc/guix.texi:17803
  26400. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  26401. msgstr ""
  26402. #. type: item
  26403. #: guix-git/doc/guix.texi:17804
  26404. #, no-wrap
  26405. msgid "@code{extra-file} (default: @code{#f})"
  26406. msgstr ""
  26407. #. type: table
  26408. #: guix-git/doc/guix.texi:17807
  26409. 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."
  26410. msgstr ""
  26411. #. type: defvr
  26412. #: guix-git/doc/guix.texi:17811
  26413. #, no-wrap
  26414. msgid "{Scheme Variable} yggdrasil-service-type"
  26415. msgstr ""
  26416. #. type: defvr
  26417. #: guix-git/doc/guix.texi:17815
  26418. 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."
  26419. msgstr ""
  26420. #. type: quotation
  26421. #: guix-git/doc/guix.texi:17822
  26422. 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}"
  26423. msgstr ""
  26424. #. type: defvr
  26425. #: guix-git/doc/guix.texi:17826
  26426. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  26427. msgstr ""
  26428. #. type: defvr
  26429. #: guix-git/doc/guix.texi:17830
  26430. 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})."
  26431. msgstr ""
  26432. #. type: lisp
  26433. #: guix-git/doc/guix.texi:17842
  26434. #, no-wrap
  26435. msgid ""
  26436. ";; part of the operating-system declaration\n"
  26437. "(service yggdrasil-service-type\n"
  26438. " (yggdrasil-configuration\n"
  26439. " (autoconf? #f) ;; use only the public peers\n"
  26440. " (json-config\n"
  26441. " ;; choose one from\n"
  26442. " ;; https://github.com/yggdrasil-network/public-peers\n"
  26443. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  26444. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  26445. " ))\n"
  26446. msgstr ""
  26447. #. type: example
  26448. #: guix-git/doc/guix.texi:17849
  26449. #, no-wrap
  26450. msgid ""
  26451. "# sample content for /etc/yggdrasil-private.conf\n"
  26452. "@{\n"
  26453. " # Your public encryption key. Your peers may ask you for this to put\n"
  26454. " # into their AllowedEncryptionPublicKeys configuration.\n"
  26455. " EncryptionPublicKey: 378dc5...\n"
  26456. "\n"
  26457. msgstr ""
  26458. #. type: example
  26459. #: guix-git/doc/guix.texi:17852
  26460. #, no-wrap
  26461. msgid ""
  26462. " # Your private encryption key. DO NOT share this with anyone!\n"
  26463. " EncryptionPrivateKey: 0777...\n"
  26464. "\n"
  26465. msgstr ""
  26466. #. type: example
  26467. #: guix-git/doc/guix.texi:17856
  26468. #, no-wrap
  26469. msgid ""
  26470. " # Your public signing key. You should not ordinarily need to share\n"
  26471. " # this with anyone.\n"
  26472. " SigningPublicKey: e1664...\n"
  26473. "\n"
  26474. msgstr ""
  26475. #. type: example
  26476. #: guix-git/doc/guix.texi:17860
  26477. #, no-wrap
  26478. msgid ""
  26479. " # Your private signing key. DO NOT share this with anyone!\n"
  26480. " SigningPrivateKey: 0589d...\n"
  26481. "@}\n"
  26482. msgstr ""
  26483. #. type: deftp
  26484. #: guix-git/doc/guix.texi:17863
  26485. #, no-wrap
  26486. msgid "{Data Type} yggdrasil-configuration"
  26487. msgstr ""
  26488. #. type: deftp
  26489. #: guix-git/doc/guix.texi:17865
  26490. msgid "Data type representing the configuration of Yggdrasil."
  26491. msgstr ""
  26492. #. type: item
  26493. #: guix-git/doc/guix.texi:17867
  26494. #, no-wrap
  26495. msgid "@code{package} (default: @code{yggdrasil})"
  26496. msgstr ""
  26497. #. type: table
  26498. #: guix-git/doc/guix.texi:17869
  26499. msgid "Package object of Yggdrasil."
  26500. msgstr ""
  26501. #. type: item
  26502. #: guix-git/doc/guix.texi:17870
  26503. #, no-wrap
  26504. msgid "@code{json-config} (default: @code{'()})"
  26505. msgstr ""
  26506. #. type: table
  26507. #: guix-git/doc/guix.texi:17876
  26508. 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."
  26509. msgstr ""
  26510. #. type: item
  26511. #: guix-git/doc/guix.texi:17877
  26512. #, no-wrap
  26513. msgid "@code{autoconf?} (default: @code{#f})"
  26514. msgstr ""
  26515. #. type: table
  26516. #: guix-git/doc/guix.texi:17880
  26517. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  26518. msgstr ""
  26519. #. type: table
  26520. #: guix-git/doc/guix.texi:17883
  26521. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  26522. msgstr ""
  26523. #. type: item
  26524. #: guix-git/doc/guix.texi:17884
  26525. #, no-wrap
  26526. msgid "@code{log-to} (default: @code{'stdout})"
  26527. msgstr ""
  26528. #. type: table
  26529. #: guix-git/doc/guix.texi:17888
  26530. 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."
  26531. msgstr ""
  26532. #. type: item
  26533. #: guix-git/doc/guix.texi:17889
  26534. #, no-wrap
  26535. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  26536. msgstr ""
  26537. #. type: table
  26538. #: guix-git/doc/guix.texi:17896
  26539. 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:"
  26540. msgstr ""
  26541. #. type: code{#1}
  26542. #: guix-git/doc/guix.texi:17898
  26543. #, no-wrap
  26544. msgid "EncryptionPublicKey"
  26545. msgstr ""
  26546. #. type: code{#1}
  26547. #: guix-git/doc/guix.texi:17899
  26548. #, no-wrap
  26549. msgid "EncryptionPrivateKey"
  26550. msgstr ""
  26551. #. type: code{#1}
  26552. #: guix-git/doc/guix.texi:17900
  26553. #, no-wrap
  26554. msgid "SigningPublicKey"
  26555. msgstr ""
  26556. #. type: code{#1}
  26557. #: guix-git/doc/guix.texi:17901
  26558. #, no-wrap
  26559. msgid "SigningPrivateKey"
  26560. msgstr ""
  26561. #. type: cindex
  26562. #: guix-git/doc/guix.texi:17906
  26563. #, no-wrap
  26564. msgid "IPFS"
  26565. msgstr ""
  26566. #. type: defvr
  26567. #: guix-git/doc/guix.texi:17907
  26568. #, no-wrap
  26569. msgid "{Scheme Variable} ipfs-service-type"
  26570. msgstr ""
  26571. #. type: defvr
  26572. #: guix-git/doc/guix.texi:17911
  26573. 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."
  26574. msgstr ""
  26575. #. type: defvr
  26576. #: guix-git/doc/guix.texi:17913
  26577. msgid "Here's an example configuration, using some non-standard ports:"
  26578. msgstr ""
  26579. #. type: lisp
  26580. #: guix-git/doc/guix.texi:17919
  26581. #, no-wrap
  26582. msgid ""
  26583. "(service ipfs-service-type\n"
  26584. " (ipfs-configuration\n"
  26585. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  26586. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  26587. msgstr ""
  26588. #. type: deftp
  26589. #: guix-git/doc/guix.texi:17922
  26590. #, no-wrap
  26591. msgid "{Data Type} ipfs-configuration"
  26592. msgstr ""
  26593. #. type: deftp
  26594. #: guix-git/doc/guix.texi:17924
  26595. msgid "Data type representing the configuration of IPFS."
  26596. msgstr ""
  26597. #. type: item
  26598. #: guix-git/doc/guix.texi:17926
  26599. #, no-wrap
  26600. msgid "@code{package} (default: @code{go-ipfs})"
  26601. msgstr ""
  26602. #. type: table
  26603. #: guix-git/doc/guix.texi:17928
  26604. msgid "Package object of IPFS."
  26605. msgstr ""
  26606. #. type: item
  26607. #: guix-git/doc/guix.texi:17929
  26608. #, no-wrap
  26609. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  26610. msgstr ""
  26611. #. type: table
  26612. #: guix-git/doc/guix.texi:17931
  26613. msgid "Address of the gateway, in ‘multiaddress’ format."
  26614. msgstr ""
  26615. #. type: item
  26616. #: guix-git/doc/guix.texi:17932
  26617. #, no-wrap
  26618. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  26619. msgstr ""
  26620. #. type: table
  26621. #: guix-git/doc/guix.texi:17934
  26622. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  26623. msgstr ""
  26624. #. type: cindex
  26625. #: guix-git/doc/guix.texi:17937
  26626. #, no-wrap
  26627. msgid "keepalived"
  26628. msgstr ""
  26629. #. type: deffn
  26630. #: guix-git/doc/guix.texi:17938
  26631. #, no-wrap
  26632. msgid "{Scheme Variable} keepalived-service-type"
  26633. msgstr ""
  26634. #. type: deffn
  26635. #: guix-git/doc/guix.texi:17943
  26636. 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:"
  26637. msgstr ""
  26638. #. type: lisp
  26639. #: guix-git/doc/guix.texi:17948
  26640. #, no-wrap
  26641. msgid ""
  26642. "(service keepalived-service-type\n"
  26643. " (keepalived-configuration\n"
  26644. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  26645. msgstr ""
  26646. #. type: deffn
  26647. #: guix-git/doc/guix.texi:17951
  26648. msgid "where @file{keepalived-master.conf}:"
  26649. msgstr ""
  26650. #. type: example
  26651. #: guix-git/doc/guix.texi:17963
  26652. #, no-wrap
  26653. msgid ""
  26654. "vrrp_instance my-group @{\n"
  26655. " state MASTER\n"
  26656. " interface enp9s0\n"
  26657. " virtual_router_id 100\n"
  26658. " priority 100\n"
  26659. " unicast_peer @{ 10.0.0.2 @}\n"
  26660. " virtual_ipaddress @{\n"
  26661. " 10.0.0.4/24\n"
  26662. " @}\n"
  26663. "@}\n"
  26664. msgstr ""
  26665. #. type: deffn
  26666. #: guix-git/doc/guix.texi:17966
  26667. msgid "and for backup machine:"
  26668. msgstr ""
  26669. #. type: lisp
  26670. #: guix-git/doc/guix.texi:17971
  26671. #, no-wrap
  26672. msgid ""
  26673. "(service keepalived-service-type\n"
  26674. " (keepalived-configuration\n"
  26675. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  26676. msgstr ""
  26677. #. type: deffn
  26678. #: guix-git/doc/guix.texi:17974
  26679. msgid "where @file{keepalived-backup.conf}:"
  26680. msgstr ""
  26681. #. type: example
  26682. #: guix-git/doc/guix.texi:17986
  26683. #, no-wrap
  26684. msgid ""
  26685. "vrrp_instance my-group @{\n"
  26686. " state BACKUP\n"
  26687. " interface enp9s0\n"
  26688. " virtual_router_id 100\n"
  26689. " priority 99\n"
  26690. " unicast_peer @{ 10.0.0.3 @}\n"
  26691. " virtual_ipaddress @{\n"
  26692. " 10.0.0.4/24\n"
  26693. " @}\n"
  26694. "@}\n"
  26695. msgstr ""
  26696. #. type: cindex
  26697. #: guix-git/doc/guix.texi:17992
  26698. #, no-wrap
  26699. msgid "unattended upgrades"
  26700. msgstr ""
  26701. #. type: cindex
  26702. #: guix-git/doc/guix.texi:17993
  26703. #, no-wrap
  26704. msgid "upgrades, unattended"
  26705. msgstr ""
  26706. #. type: Plain text
  26707. #: guix-git/doc/guix.texi:17998
  26708. 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:"
  26709. msgstr ""
  26710. #. type: itemize
  26711. #: guix-git/doc/guix.texi:18003
  26712. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  26713. msgstr ""
  26714. #. type: itemize
  26715. #: guix-git/doc/guix.texi:18007
  26716. 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;"
  26717. msgstr ""
  26718. #. type: itemize
  26719. #: guix-git/doc/guix.texi:18010
  26720. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  26721. msgstr ""
  26722. #. type: itemize
  26723. #: guix-git/doc/guix.texi:18013
  26724. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  26725. msgstr ""
  26726. #. type: Plain text
  26727. #: guix-git/doc/guix.texi:18018
  26728. 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:"
  26729. msgstr ""
  26730. #. type: lisp
  26731. #: guix-git/doc/guix.texi:18021
  26732. #, no-wrap
  26733. msgid "(service unattended-upgrade-service-type)\n"
  26734. msgstr ""
  26735. #. type: Plain text
  26736. #: guix-git/doc/guix.texi:18028
  26737. 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."
  26738. msgstr ""
  26739. #. type: Plain text
  26740. #: guix-git/doc/guix.texi:18034
  26741. 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."
  26742. msgstr ""
  26743. #. type: Plain text
  26744. #: guix-git/doc/guix.texi:18038
  26745. 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)."
  26746. msgstr ""
  26747. #. type: defvr
  26748. #: guix-git/doc/guix.texi:18039
  26749. #, no-wrap
  26750. msgid "{Scheme Variable} unattended-upgrade-service-type"
  26751. msgstr ""
  26752. #. type: defvr
  26753. #: guix-git/doc/guix.texi:18043
  26754. 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."
  26755. msgstr ""
  26756. #. type: defvr
  26757. #: guix-git/doc/guix.texi:18046
  26758. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  26759. msgstr ""
  26760. #. type: deftp
  26761. #: guix-git/doc/guix.texi:18048
  26762. #, no-wrap
  26763. msgid "{Data Type} unattended-upgrade-configuration"
  26764. msgstr ""
  26765. #. type: deftp
  26766. #: guix-git/doc/guix.texi:18051
  26767. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  26768. msgstr ""
  26769. #. type: item
  26770. #: guix-git/doc/guix.texi:18053
  26771. #, no-wrap
  26772. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  26773. msgstr ""
  26774. #. type: table
  26775. #: guix-git/doc/guix.texi:18057
  26776. 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})."
  26777. msgstr ""
  26778. #. type: item
  26779. #: guix-git/doc/guix.texi:18058
  26780. #, no-wrap
  26781. msgid "@code{channels} (default: @code{#~%default-channels})"
  26782. msgstr ""
  26783. #. type: table
  26784. #: guix-git/doc/guix.texi:18062
  26785. 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."
  26786. msgstr ""
  26787. #. type: item
  26788. #: guix-git/doc/guix.texi:18063
  26789. #, no-wrap
  26790. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  26791. msgstr ""
  26792. #. type: table
  26793. #: guix-git/doc/guix.texi:18066
  26794. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  26795. msgstr ""
  26796. #. type: table
  26797. #: guix-git/doc/guix.texi:18072
  26798. 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:"
  26799. msgstr ""
  26800. #. type: lisp
  26801. #: guix-git/doc/guix.texi:18078
  26802. #, no-wrap
  26803. msgid ""
  26804. "(unattended-upgrade-configuration\n"
  26805. " (operating-system-file\n"
  26806. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  26807. " \"/config.scm\")))\n"
  26808. msgstr ""
  26809. #. type: table
  26810. #: guix-git/doc/guix.texi:18085
  26811. 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}."
  26812. msgstr ""
  26813. #. type: item
  26814. #: guix-git/doc/guix.texi:18086
  26815. #, no-wrap
  26816. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  26817. msgstr ""
  26818. #. type: table
  26819. #: guix-git/doc/guix.texi:18089
  26820. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  26821. msgstr ""
  26822. #. type: table
  26823. #: guix-git/doc/guix.texi:18096
  26824. 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."
  26825. msgstr ""
  26826. #. type: table
  26827. #: guix-git/doc/guix.texi:18100
  26828. 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}."
  26829. msgstr ""
  26830. #. type: table
  26831. #: guix-git/doc/guix.texi:18103
  26832. 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."
  26833. msgstr ""
  26834. #. type: item
  26835. #: guix-git/doc/guix.texi:18104
  26836. #, no-wrap
  26837. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  26838. msgstr ""
  26839. #. type: table
  26840. #: guix-git/doc/guix.texi:18108
  26841. 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."
  26842. msgstr ""
  26843. #. type: quotation
  26844. #: guix-git/doc/guix.texi:18113
  26845. 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."
  26846. msgstr ""
  26847. #. type: item
  26848. #: guix-git/doc/guix.texi:18115
  26849. #, no-wrap
  26850. msgid "@code{maximum-duration} (default: @code{3600})"
  26851. msgstr ""
  26852. #. type: table
  26853. #: guix-git/doc/guix.texi:18118
  26854. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  26855. msgstr ""
  26856. #. type: table
  26857. #: guix-git/doc/guix.texi:18121
  26858. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  26859. msgstr ""
  26860. #. type: item
  26861. #: guix-git/doc/guix.texi:18122
  26862. #, no-wrap
  26863. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  26864. msgstr ""
  26865. #. type: table
  26866. #: guix-git/doc/guix.texi:18124
  26867. msgid "File where unattended upgrades are logged."
  26868. msgstr ""
  26869. #. type: cindex
  26870. #: guix-git/doc/guix.texi:18130
  26871. #, no-wrap
  26872. msgid "X11"
  26873. msgstr ""
  26874. #. type: cindex
  26875. #: guix-git/doc/guix.texi:18131
  26876. #, no-wrap
  26877. msgid "X Window System"
  26878. msgstr ""
  26879. #. type: cindex
  26880. #: guix-git/doc/guix.texi:18132 guix-git/doc/guix.texi:18392
  26881. #, no-wrap
  26882. msgid "login manager"
  26883. msgstr ""
  26884. #. type: Plain text
  26885. #: guix-git/doc/guix.texi:18137
  26886. 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)."
  26887. msgstr ""
  26888. #. type: cindex
  26889. #: guix-git/doc/guix.texi:18138
  26890. #, no-wrap
  26891. msgid "GDM"
  26892. msgstr ""
  26893. #. type: cindex
  26894. #: guix-git/doc/guix.texi:18139
  26895. #, no-wrap
  26896. msgid "GNOME, login manager"
  26897. msgstr ""
  26898. #. type: Plain text
  26899. #: guix-git/doc/guix.texi:18143
  26900. 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."
  26901. msgstr ""
  26902. #. type: cindex
  26903. #: guix-git/doc/guix.texi:18144
  26904. #, no-wrap
  26905. msgid "window manager"
  26906. msgstr ""
  26907. #. type: Plain text
  26908. #: guix-git/doc/guix.texi:18149
  26909. 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})."
  26910. msgstr ""
  26911. #. type: defvr
  26912. #: guix-git/doc/guix.texi:18150
  26913. #, no-wrap
  26914. msgid "{Scheme Variable} gdm-service-type"
  26915. msgstr ""
  26916. #. type: defvr
  26917. #: guix-git/doc/guix.texi:18155
  26918. 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)."
  26919. msgstr ""
  26920. #. type: cindex
  26921. #: guix-git/doc/guix.texi:18156
  26922. #, no-wrap
  26923. msgid "session types (X11)"
  26924. msgstr ""
  26925. #. type: cindex
  26926. #: guix-git/doc/guix.texi:18157
  26927. #, no-wrap
  26928. msgid "X11 session types"
  26929. msgstr ""
  26930. #. type: defvr
  26931. #: guix-git/doc/guix.texi:18163
  26932. 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."
  26933. msgstr ""
  26934. #. type: defvr
  26935. #: guix-git/doc/guix.texi:18167
  26936. 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."
  26937. msgstr ""
  26938. #. type: deftp
  26939. #: guix-git/doc/guix.texi:18169
  26940. #, no-wrap
  26941. msgid "{Data Type} gdm-configuration"
  26942. msgstr ""
  26943. #. type: item
  26944. #: guix-git/doc/guix.texi:18171 guix-git/doc/guix.texi:18247
  26945. #, no-wrap
  26946. msgid "@code{auto-login?} (default: @code{#f})"
  26947. msgstr ""
  26948. #. type: itemx
  26949. #: guix-git/doc/guix.texi:18172
  26950. #, no-wrap
  26951. msgid "@code{default-user} (default: @code{#f})"
  26952. msgstr ""
  26953. #. type: table
  26954. #: guix-git/doc/guix.texi:18174
  26955. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  26956. msgstr ""
  26957. #. type: table
  26958. #: guix-git/doc/guix.texi:18177
  26959. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  26960. msgstr ""
  26961. #. type: item
  26962. #: guix-git/doc/guix.texi:18178 guix-git/doc/guix.texi:24026
  26963. #: guix-git/doc/guix.texi:25735 guix-git/doc/guix.texi:30153
  26964. #: guix-git/doc/guix.texi:30182 guix-git/doc/guix.texi:30211
  26965. #: guix-git/doc/guix.texi:30238 guix-git/doc/guix.texi:30293
  26966. #: guix-git/doc/guix.texi:30318 guix-git/doc/guix.texi:30345
  26967. #: guix-git/doc/guix.texi:30371 guix-git/doc/guix.texi:30413
  26968. #, no-wrap
  26969. msgid "@code{debug?} (default: @code{#f})"
  26970. msgstr ""
  26971. #. type: table
  26972. #: guix-git/doc/guix.texi:18180
  26973. msgid "When true, GDM writes debug messages to its log."
  26974. msgstr ""
  26975. #. type: item
  26976. #: guix-git/doc/guix.texi:18181
  26977. #, no-wrap
  26978. msgid "@code{gnome-shell-assets} (default: ...)"
  26979. msgstr ""
  26980. #. type: table
  26981. #: guix-git/doc/guix.texi:18183
  26982. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  26983. msgstr ""
  26984. #. type: item
  26985. #: guix-git/doc/guix.texi:18184
  26986. #, no-wrap
  26987. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  26988. msgstr ""
  26989. #. type: table
  26990. #: guix-git/doc/guix.texi:18186 guix-git/doc/guix.texi:18274
  26991. #: guix-git/doc/guix.texi:18358
  26992. msgid "Configuration of the Xorg graphical server."
  26993. msgstr ""
  26994. #. type: item
  26995. #: guix-git/doc/guix.texi:18187
  26996. #, no-wrap
  26997. msgid "@code{xsession} (default: @code{(xinitrc)})"
  26998. msgstr ""
  26999. #. type: table
  27000. #: guix-git/doc/guix.texi:18189 guix-git/doc/guix.texi:18373
  27001. msgid "Script to run before starting a X session."
  27002. msgstr ""
  27003. #. type: item
  27004. #: guix-git/doc/guix.texi:18190
  27005. #, no-wrap
  27006. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  27007. msgstr ""
  27008. #. type: table
  27009. #: guix-git/doc/guix.texi:18192
  27010. msgid "File name of the @code{dbus-daemon} executable."
  27011. msgstr ""
  27012. #. type: item
  27013. #: guix-git/doc/guix.texi:18193
  27014. #, no-wrap
  27015. msgid "@code{gdm} (default: @code{gdm})"
  27016. msgstr ""
  27017. #. type: table
  27018. #: guix-git/doc/guix.texi:18195
  27019. msgid "The GDM package to use."
  27020. msgstr ""
  27021. #. type: defvr
  27022. #: guix-git/doc/guix.texi:18198
  27023. #, no-wrap
  27024. msgid "{Scheme Variable} slim-service-type"
  27025. msgstr ""
  27026. #. type: defvr
  27027. #: guix-git/doc/guix.texi:18200
  27028. msgid "This is the type for the SLiM graphical login manager for X11."
  27029. msgstr ""
  27030. #. type: defvr
  27031. #: guix-git/doc/guix.texi:18204
  27032. 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."
  27033. msgstr ""
  27034. #. type: defvr
  27035. #: guix-git/doc/guix.texi:18211
  27036. 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."
  27037. msgstr ""
  27038. #. type: lisp
  27039. #: guix-git/doc/guix.texi:18217
  27040. #, no-wrap
  27041. msgid ""
  27042. "(use-modules (gnu services)\n"
  27043. " (gnu services desktop)\n"
  27044. " (gnu services xorg)\n"
  27045. " (srfi srfi-1)) ;for 'remove'\n"
  27046. "\n"
  27047. msgstr ""
  27048. #. type: lisp
  27049. #: guix-git/doc/guix.texi:18228
  27050. #, no-wrap
  27051. msgid ""
  27052. "(operating-system\n"
  27053. " ;; ...\n"
  27054. " (services (cons* (service slim-service-type (slim-configuration\n"
  27055. " (display \":0\")\n"
  27056. " (vt \"vt7\")))\n"
  27057. " (service slim-service-type (slim-configuration\n"
  27058. " (display \":1\")\n"
  27059. " (vt \"vt8\")))\n"
  27060. " (modify-services %desktop-services\n"
  27061. " (delete gdm-service-type)))))\n"
  27062. msgstr ""
  27063. #. type: deftp
  27064. #: guix-git/doc/guix.texi:18232
  27065. #, no-wrap
  27066. msgid "{Data Type} slim-configuration"
  27067. msgstr ""
  27068. #. type: deftp
  27069. #: guix-git/doc/guix.texi:18234
  27070. msgid "Data type representing the configuration of @code{slim-service-type}."
  27071. msgstr ""
  27072. #. type: table
  27073. #: guix-git/doc/guix.texi:18238
  27074. msgid "Whether to allow logins with empty passwords."
  27075. msgstr ""
  27076. #. type: item
  27077. #: guix-git/doc/guix.texi:18239
  27078. #, no-wrap
  27079. msgid "@code{gnupg?} (default: @code{#f})"
  27080. msgstr ""
  27081. #. type: table
  27082. #: guix-git/doc/guix.texi:18246
  27083. 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}."
  27084. msgstr ""
  27085. #. type: itemx
  27086. #: guix-git/doc/guix.texi:18248
  27087. #, no-wrap
  27088. msgid "@code{default-user} (default: @code{\"\"})"
  27089. msgstr ""
  27090. #. type: table
  27091. #: guix-git/doc/guix.texi:18250
  27092. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  27093. msgstr ""
  27094. #. type: table
  27095. #: guix-git/doc/guix.texi:18253
  27096. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  27097. msgstr ""
  27098. #. type: item
  27099. #: guix-git/doc/guix.texi:18254
  27100. #, no-wrap
  27101. msgid "@code{theme} (default: @code{%default-slim-theme})"
  27102. msgstr ""
  27103. #. type: itemx
  27104. #: guix-git/doc/guix.texi:18255
  27105. #, no-wrap
  27106. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  27107. msgstr ""
  27108. #. type: table
  27109. #: guix-git/doc/guix.texi:18257
  27110. msgid "The graphical theme to use and its name."
  27111. msgstr ""
  27112. #. type: item
  27113. #: guix-git/doc/guix.texi:18258
  27114. #, no-wrap
  27115. msgid "@code{auto-login-session} (default: @code{#f})"
  27116. msgstr ""
  27117. #. type: table
  27118. #: guix-git/doc/guix.texi:18261
  27119. 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\")}."
  27120. msgstr ""
  27121. #. type: table
  27122. #: guix-git/doc/guix.texi:18265
  27123. 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."
  27124. msgstr ""
  27125. #. type: quotation
  27126. #: guix-git/doc/guix.texi:18270
  27127. 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."
  27128. msgstr ""
  27129. #. type: item
  27130. #: guix-git/doc/guix.texi:18272 guix-git/doc/guix.texi:18356
  27131. #, no-wrap
  27132. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  27133. msgstr ""
  27134. #. type: item
  27135. #: guix-git/doc/guix.texi:18275
  27136. #, no-wrap
  27137. msgid "@code{display} (default @code{\":0\"})"
  27138. msgstr ""
  27139. #. type: table
  27140. #: guix-git/doc/guix.texi:18277
  27141. msgid "The display on which to start the Xorg graphical server."
  27142. msgstr ""
  27143. #. type: item
  27144. #: guix-git/doc/guix.texi:18278
  27145. #, no-wrap
  27146. msgid "@code{vt} (default @code{\"vt7\"})"
  27147. msgstr ""
  27148. #. type: table
  27149. #: guix-git/doc/guix.texi:18280
  27150. msgid "The VT on which to start the Xorg graphical server."
  27151. msgstr ""
  27152. #. type: item
  27153. #: guix-git/doc/guix.texi:18281
  27154. #, no-wrap
  27155. msgid "@code{xauth} (default: @code{xauth})"
  27156. msgstr ""
  27157. #. type: table
  27158. #: guix-git/doc/guix.texi:18283
  27159. msgid "The XAuth package to use."
  27160. msgstr ""
  27161. #. type: item
  27162. #: guix-git/doc/guix.texi:18284
  27163. #, no-wrap
  27164. msgid "@code{shepherd} (default: @code{shepherd})"
  27165. msgstr ""
  27166. #. type: table
  27167. #: guix-git/doc/guix.texi:18287
  27168. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  27169. msgstr ""
  27170. #. type: item
  27171. #: guix-git/doc/guix.texi:18288
  27172. #, no-wrap
  27173. msgid "@code{sessreg} (default: @code{sessreg})"
  27174. msgstr ""
  27175. #. type: table
  27176. #: guix-git/doc/guix.texi:18290
  27177. msgid "The sessreg package used in order to register the session."
  27178. msgstr ""
  27179. #. type: item
  27180. #: guix-git/doc/guix.texi:18291
  27181. #, no-wrap
  27182. msgid "@code{slim} (default: @code{slim})"
  27183. msgstr ""
  27184. #. type: table
  27185. #: guix-git/doc/guix.texi:18293
  27186. msgid "The SLiM package to use."
  27187. msgstr ""
  27188. #. type: defvr
  27189. #: guix-git/doc/guix.texi:18296
  27190. #, no-wrap
  27191. msgid "{Scheme Variable} %default-theme"
  27192. msgstr ""
  27193. #. type: defvrx
  27194. #: guix-git/doc/guix.texi:18297
  27195. #, no-wrap
  27196. msgid "{Scheme Variable} %default-theme-name"
  27197. msgstr ""
  27198. #. type: defvr
  27199. #: guix-git/doc/guix.texi:18299
  27200. msgid "The default SLiM theme and its name."
  27201. msgstr ""
  27202. #. type: deftp
  27203. #: guix-git/doc/guix.texi:18302 guix-git/doc/guix.texi:18409
  27204. #, no-wrap
  27205. msgid "{Data Type} sddm-configuration"
  27206. msgstr ""
  27207. #. type: deftp
  27208. #: guix-git/doc/guix.texi:18304
  27209. msgid "This is the data type representing the SDDM service configuration."
  27210. msgstr ""
  27211. #. type: item
  27212. #: guix-git/doc/guix.texi:18306
  27213. #, no-wrap
  27214. msgid "@code{display-server} (default: \"x11\")"
  27215. msgstr ""
  27216. #. type: table
  27217. #: guix-git/doc/guix.texi:18309
  27218. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  27219. msgstr ""
  27220. #. type: item
  27221. #: guix-git/doc/guix.texi:18310
  27222. #, no-wrap
  27223. msgid "@code{numlock} (default: \"on\")"
  27224. msgstr ""
  27225. #. type: table
  27226. #: guix-git/doc/guix.texi:18312
  27227. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  27228. msgstr ""
  27229. #. type: item
  27230. #: guix-git/doc/guix.texi:18313
  27231. #, no-wrap
  27232. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  27233. msgstr ""
  27234. #. type: table
  27235. #: guix-git/doc/guix.texi:18315
  27236. msgid "Command to run when halting."
  27237. msgstr ""
  27238. #. type: item
  27239. #: guix-git/doc/guix.texi:18316
  27240. #, no-wrap
  27241. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  27242. msgstr ""
  27243. #. type: table
  27244. #: guix-git/doc/guix.texi:18318
  27245. msgid "Command to run when rebooting."
  27246. msgstr ""
  27247. #. type: item
  27248. #: guix-git/doc/guix.texi:18319
  27249. #, no-wrap
  27250. msgid "@code{theme} (default \"maldives\")"
  27251. msgstr ""
  27252. #. type: table
  27253. #: guix-git/doc/guix.texi:18322
  27254. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  27255. msgstr ""
  27256. #. type: item
  27257. #: guix-git/doc/guix.texi:18323
  27258. #, no-wrap
  27259. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  27260. msgstr ""
  27261. #. type: table
  27262. #: guix-git/doc/guix.texi:18325
  27263. msgid "Directory to look for themes."
  27264. msgstr ""
  27265. #. type: item
  27266. #: guix-git/doc/guix.texi:18326
  27267. #, no-wrap
  27268. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  27269. msgstr ""
  27270. #. type: table
  27271. #: guix-git/doc/guix.texi:18328
  27272. msgid "Directory to look for faces."
  27273. msgstr ""
  27274. #. type: item
  27275. #: guix-git/doc/guix.texi:18329
  27276. #, no-wrap
  27277. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  27278. msgstr ""
  27279. #. type: table
  27280. #: guix-git/doc/guix.texi:18331
  27281. msgid "Default PATH to use."
  27282. msgstr ""
  27283. #. type: item
  27284. #: guix-git/doc/guix.texi:18332
  27285. #, no-wrap
  27286. msgid "@code{minimum-uid} (default: 1000)"
  27287. msgstr ""
  27288. #. type: table
  27289. #: guix-git/doc/guix.texi:18334
  27290. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  27291. msgstr ""
  27292. #. type: item
  27293. #: guix-git/doc/guix.texi:18335
  27294. #, no-wrap
  27295. msgid "@code{maximum-uid} (default: 2000)"
  27296. msgstr ""
  27297. #. type: table
  27298. #: guix-git/doc/guix.texi:18337
  27299. msgid "Maximum UID to display in SDDM."
  27300. msgstr ""
  27301. #. type: item
  27302. #: guix-git/doc/guix.texi:18338
  27303. #, no-wrap
  27304. msgid "@code{remember-last-user?} (default #t)"
  27305. msgstr ""
  27306. #. type: table
  27307. #: guix-git/doc/guix.texi:18340
  27308. msgid "Remember last user."
  27309. msgstr ""
  27310. #. type: item
  27311. #: guix-git/doc/guix.texi:18341
  27312. #, no-wrap
  27313. msgid "@code{remember-last-session?} (default #t)"
  27314. msgstr ""
  27315. #. type: table
  27316. #: guix-git/doc/guix.texi:18343
  27317. msgid "Remember last session."
  27318. msgstr ""
  27319. #. type: item
  27320. #: guix-git/doc/guix.texi:18344
  27321. #, no-wrap
  27322. msgid "@code{hide-users} (default \"\")"
  27323. msgstr ""
  27324. #. type: table
  27325. #: guix-git/doc/guix.texi:18346
  27326. msgid "Usernames to hide from SDDM greeter."
  27327. msgstr ""
  27328. #. type: item
  27329. #: guix-git/doc/guix.texi:18347
  27330. #, no-wrap
  27331. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  27332. msgstr ""
  27333. #. type: table
  27334. #: guix-git/doc/guix.texi:18349
  27335. msgid "Users with shells listed will be hidden from the SDDM greeter."
  27336. msgstr ""
  27337. #. type: item
  27338. #: guix-git/doc/guix.texi:18350
  27339. #, no-wrap
  27340. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  27341. msgstr ""
  27342. #. type: table
  27343. #: guix-git/doc/guix.texi:18352
  27344. msgid "Script to run before starting a wayland session."
  27345. msgstr ""
  27346. #. type: item
  27347. #: guix-git/doc/guix.texi:18353
  27348. #, no-wrap
  27349. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  27350. msgstr ""
  27351. #. type: table
  27352. #: guix-git/doc/guix.texi:18355
  27353. msgid "Directory to look for desktop files starting wayland sessions."
  27354. msgstr ""
  27355. #. type: item
  27356. #: guix-git/doc/guix.texi:18359
  27357. #, no-wrap
  27358. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  27359. msgstr ""
  27360. #. type: table
  27361. #: guix-git/doc/guix.texi:18361
  27362. msgid "Path to xauth."
  27363. msgstr ""
  27364. #. type: item
  27365. #: guix-git/doc/guix.texi:18362
  27366. #, no-wrap
  27367. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  27368. msgstr ""
  27369. #. type: table
  27370. #: guix-git/doc/guix.texi:18364
  27371. msgid "Path to Xephyr."
  27372. msgstr ""
  27373. #. type: item
  27374. #: guix-git/doc/guix.texi:18365
  27375. #, no-wrap
  27376. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  27377. msgstr ""
  27378. #. type: table
  27379. #: guix-git/doc/guix.texi:18367
  27380. msgid "Script to run after starting xorg-server."
  27381. msgstr ""
  27382. #. type: item
  27383. #: guix-git/doc/guix.texi:18368
  27384. #, no-wrap
  27385. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  27386. msgstr ""
  27387. #. type: table
  27388. #: guix-git/doc/guix.texi:18370
  27389. msgid "Script to run before stopping xorg-server."
  27390. msgstr ""
  27391. #. type: item
  27392. #: guix-git/doc/guix.texi:18371
  27393. #, no-wrap
  27394. msgid "@code{xsession-command} (default: @code{xinitrc})"
  27395. msgstr ""
  27396. #. type: item
  27397. #: guix-git/doc/guix.texi:18374
  27398. #, no-wrap
  27399. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  27400. msgstr ""
  27401. #. type: table
  27402. #: guix-git/doc/guix.texi:18376
  27403. msgid "Directory to look for desktop files starting X sessions."
  27404. msgstr ""
  27405. #. type: item
  27406. #: guix-git/doc/guix.texi:18377
  27407. #, no-wrap
  27408. msgid "@code{minimum-vt} (default: 7)"
  27409. msgstr ""
  27410. #. type: table
  27411. #: guix-git/doc/guix.texi:18379
  27412. msgid "Minimum VT to use."
  27413. msgstr ""
  27414. #. type: item
  27415. #: guix-git/doc/guix.texi:18380
  27416. #, no-wrap
  27417. msgid "@code{auto-login-user} (default \"\")"
  27418. msgstr ""
  27419. #. type: table
  27420. #: guix-git/doc/guix.texi:18382
  27421. msgid "User to use for auto-login."
  27422. msgstr ""
  27423. #. type: item
  27424. #: guix-git/doc/guix.texi:18383
  27425. #, no-wrap
  27426. msgid "@code{auto-login-session} (default \"\")"
  27427. msgstr ""
  27428. #. type: table
  27429. #: guix-git/doc/guix.texi:18385
  27430. msgid "Desktop file to use for auto-login."
  27431. msgstr ""
  27432. #. type: item
  27433. #: guix-git/doc/guix.texi:18386
  27434. #, no-wrap
  27435. msgid "@code{relogin?} (default #f)"
  27436. msgstr ""
  27437. #. type: table
  27438. #: guix-git/doc/guix.texi:18388
  27439. msgid "Relogin after logout."
  27440. msgstr ""
  27441. #. type: cindex
  27442. #: guix-git/doc/guix.texi:18393
  27443. #, no-wrap
  27444. msgid "X11 login"
  27445. msgstr ""
  27446. #. type: defvr
  27447. #: guix-git/doc/guix.texi:18394
  27448. #, no-wrap
  27449. msgid "{Scheme Variable} sddm-service-type"
  27450. msgstr ""
  27451. #. type: defvr
  27452. #: guix-git/doc/guix.texi:18398
  27453. 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)."
  27454. msgstr ""
  27455. #. type: defvr
  27456. #: guix-git/doc/guix.texi:18400
  27457. msgid "Here's an example use:"
  27458. msgstr ""
  27459. #. type: lisp
  27460. #: guix-git/doc/guix.texi:18406
  27461. #, no-wrap
  27462. msgid ""
  27463. "(service sddm-service-type\n"
  27464. " (sddm-configuration\n"
  27465. " (auto-login-user \"alice\")\n"
  27466. " (auto-login-session \"xfce.desktop\")))\n"
  27467. msgstr ""
  27468. #. type: deftp
  27469. #: guix-git/doc/guix.texi:18412
  27470. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  27471. msgstr ""
  27472. #. type: item
  27473. #: guix-git/doc/guix.texi:18414
  27474. #, no-wrap
  27475. msgid "@code{sddm} (default: @code{sddm})"
  27476. msgstr ""
  27477. #. type: table
  27478. #: guix-git/doc/guix.texi:18416
  27479. msgid "The SDDM package to use."
  27480. msgstr ""
  27481. #. type: item
  27482. #: guix-git/doc/guix.texi:18417
  27483. #, no-wrap
  27484. msgid "@code{display-server} (default: @code{\"x11\"})"
  27485. msgstr ""
  27486. #. type: table
  27487. #: guix-git/doc/guix.texi:18419
  27488. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  27489. msgstr ""
  27490. #. type: item
  27491. #: guix-git/doc/guix.texi:18422
  27492. #, no-wrap
  27493. msgid "@code{auto-login-user} (default: @code{\"\"})"
  27494. msgstr ""
  27495. #. type: table
  27496. #: guix-git/doc/guix.texi:18425
  27497. msgid "If non-empty, this is the user account under which to log in automatically."
  27498. msgstr ""
  27499. #. type: item
  27500. #: guix-git/doc/guix.texi:18426
  27501. #, no-wrap
  27502. msgid "@code{auto-login-session} (default: @code{\"\"})"
  27503. msgstr ""
  27504. #. type: table
  27505. #: guix-git/doc/guix.texi:18429
  27506. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  27507. msgstr ""
  27508. #. type: cindex
  27509. #: guix-git/doc/guix.texi:18432
  27510. #, no-wrap
  27511. msgid "Xorg, configuration"
  27512. msgstr ""
  27513. #. type: deftp
  27514. #: guix-git/doc/guix.texi:18433
  27515. #, no-wrap
  27516. msgid "{Data Type} xorg-configuration"
  27517. msgstr ""
  27518. #. type: deftp
  27519. #: guix-git/doc/guix.texi:18438
  27520. 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."
  27521. msgstr ""
  27522. #. type: item
  27523. #: guix-git/doc/guix.texi:18440
  27524. #, no-wrap
  27525. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  27526. msgstr ""
  27527. #. type: table
  27528. #: guix-git/doc/guix.texi:18443
  27529. 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."
  27530. msgstr ""
  27531. #. type: item
  27532. #: guix-git/doc/guix.texi:18444
  27533. #, no-wrap
  27534. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  27535. msgstr ""
  27536. #. type: table
  27537. #: guix-git/doc/guix.texi:18446
  27538. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  27539. msgstr ""
  27540. #. type: item
  27541. #: guix-git/doc/guix.texi:18447
  27542. #, no-wrap
  27543. msgid "@code{drivers} (default: @code{'()})"
  27544. msgstr ""
  27545. #. type: table
  27546. #: guix-git/doc/guix.texi:18451
  27547. 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\")}."
  27548. msgstr ""
  27549. #. type: item
  27550. #: guix-git/doc/guix.texi:18452
  27551. #, no-wrap
  27552. msgid "@code{resolutions} (default: @code{'()})"
  27553. msgstr ""
  27554. #. type: table
  27555. #: guix-git/doc/guix.texi:18456
  27556. 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))}."
  27557. msgstr ""
  27558. #. type: cindex
  27559. #: guix-git/doc/guix.texi:18457
  27560. #, no-wrap
  27561. msgid "keyboard layout, for Xorg"
  27562. msgstr ""
  27563. #. type: cindex
  27564. #: guix-git/doc/guix.texi:18458
  27565. #, no-wrap
  27566. msgid "keymap, for Xorg"
  27567. msgstr ""
  27568. #. type: table
  27569. #: guix-git/doc/guix.texi:18462
  27570. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  27571. msgstr ""
  27572. #. type: table
  27573. #: guix-git/doc/guix.texi:18466
  27574. 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."
  27575. msgstr ""
  27576. #. type: item
  27577. #: guix-git/doc/guix.texi:18467 guix-git/doc/guix.texi:20172
  27578. #: guix-git/doc/guix.texi:32929
  27579. #, no-wrap
  27580. msgid "@code{extra-config} (default: @code{'()})"
  27581. msgstr ""
  27582. #. type: table
  27583. #: guix-git/doc/guix.texi:18470 guix-git/doc/guix.texi:32933
  27584. 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."
  27585. msgstr ""
  27586. #. type: item
  27587. #: guix-git/doc/guix.texi:18471
  27588. #, no-wrap
  27589. msgid "@code{server} (default: @code{xorg-server})"
  27590. msgstr ""
  27591. #. type: table
  27592. #: guix-git/doc/guix.texi:18473
  27593. msgid "This is the package providing the Xorg server."
  27594. msgstr ""
  27595. #. type: item
  27596. #: guix-git/doc/guix.texi:18474
  27597. #, no-wrap
  27598. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  27599. msgstr ""
  27600. #. type: table
  27601. #: guix-git/doc/guix.texi:18477
  27602. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  27603. msgstr ""
  27604. #. type: deffn
  27605. #: guix-git/doc/guix.texi:18480
  27606. #, no-wrap
  27607. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  27608. msgstr ""
  27609. #. type: deffn
  27610. #: guix-git/doc/guix.texi:18484
  27611. 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."
  27612. msgstr ""
  27613. #. type: deffn
  27614. #: guix-git/doc/guix.texi:18488
  27615. 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."
  27616. msgstr ""
  27617. #. type: deffn
  27618. #: guix-git/doc/guix.texi:18490
  27619. #, no-wrap
  27620. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  27621. msgstr ""
  27622. #. type: deffn
  27623. #: guix-git/doc/guix.texi:18494
  27624. 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}."
  27625. msgstr ""
  27626. #. type: deffn
  27627. #: guix-git/doc/guix.texi:18496
  27628. msgid "Usually the X server is started by a login manager."
  27629. msgstr ""
  27630. #. type: deffn
  27631. #: guix-git/doc/guix.texi:18499
  27632. #, no-wrap
  27633. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  27634. msgstr ""
  27635. #. type: deffn
  27636. #: guix-git/doc/guix.texi:18503
  27637. 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:"
  27638. msgstr ""
  27639. #. type: lisp
  27640. #: guix-git/doc/guix.texi:18506
  27641. #, no-wrap
  27642. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  27643. msgstr ""
  27644. #. type: deffn
  27645. #: guix-git/doc/guix.texi:18509
  27646. msgid "makes the good ol' XlockMore usable."
  27647. msgstr ""
  27648. #. type: cindex
  27649. #: guix-git/doc/guix.texi:18515
  27650. #, no-wrap
  27651. msgid "printer support with CUPS"
  27652. msgstr ""
  27653. #. type: Plain text
  27654. #: guix-git/doc/guix.texi:18519
  27655. 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:"
  27656. msgstr ""
  27657. #. type: deffn
  27658. #: guix-git/doc/guix.texi:18520
  27659. #, no-wrap
  27660. msgid "{Scheme Variable} cups-service-type"
  27661. msgstr ""
  27662. #. type: deffn
  27663. #: guix-git/doc/guix.texi:18524
  27664. 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:"
  27665. msgstr ""
  27666. #. type: lisp
  27667. #: guix-git/doc/guix.texi:18526
  27668. #, no-wrap
  27669. msgid "(service cups-service-type)\n"
  27670. msgstr ""
  27671. #. type: Plain text
  27672. #: guix-git/doc/guix.texi:18536
  27673. 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."
  27674. msgstr ""
  27675. #. type: Plain text
  27676. #: guix-git/doc/guix.texi:18542
  27677. 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):"
  27678. msgstr ""
  27679. #. type: lisp
  27680. #: guix-git/doc/guix.texi:18549
  27681. #, no-wrap
  27682. msgid ""
  27683. "(service cups-service-type\n"
  27684. " (cups-configuration\n"
  27685. " (web-interface? #t)\n"
  27686. " (extensions\n"
  27687. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  27688. msgstr ""
  27689. #. type: Plain text
  27690. #: guix-git/doc/guix.texi:18554
  27691. 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."
  27692. msgstr ""
  27693. #. type: Plain text
  27694. #: guix-git/doc/guix.texi:18561
  27695. 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."
  27696. msgstr ""
  27697. #. type: Plain text
  27698. #: guix-git/doc/guix.texi:18572
  27699. msgid "Available @code{cups-configuration} fields are:"
  27700. msgstr ""
  27701. #. type: deftypevr
  27702. #: guix-git/doc/guix.texi:18573
  27703. #, no-wrap
  27704. msgid "{@code{cups-configuration} parameter} package cups"
  27705. msgstr ""
  27706. #. type: deftypevr
  27707. #: guix-git/doc/guix.texi:18575 guix-git/doc/guix.texi:19337
  27708. msgid "The CUPS package."
  27709. msgstr ""
  27710. #. type: deftypevr
  27711. #: guix-git/doc/guix.texi:18577
  27712. #, no-wrap
  27713. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  27714. msgstr ""
  27715. #. type: deftypevr
  27716. #: guix-git/doc/guix.texi:18579
  27717. msgid "Drivers and other extensions to the CUPS package."
  27718. msgstr ""
  27719. #. type: deftypevr
  27720. #: guix-git/doc/guix.texi:18581
  27721. #, no-wrap
  27722. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  27723. msgstr ""
  27724. #. type: deftypevr
  27725. #: guix-git/doc/guix.texi:18584
  27726. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  27727. msgstr ""
  27728. #. type: deftypevr
  27729. #: guix-git/doc/guix.texi:18586
  27730. msgid "Available @code{files-configuration} fields are:"
  27731. msgstr ""
  27732. #. type: deftypevr
  27733. #: guix-git/doc/guix.texi:18587
  27734. #, no-wrap
  27735. msgid "{@code{files-configuration} parameter} log-location access-log"
  27736. msgstr ""
  27737. #. type: deftypevr
  27738. #: guix-git/doc/guix.texi:18595
  27739. 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}."
  27740. msgstr ""
  27741. #. type: deftypevr
  27742. #: guix-git/doc/guix.texi:18597
  27743. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  27744. msgstr ""
  27745. #. type: deftypevr
  27746. #: guix-git/doc/guix.texi:18599
  27747. #, no-wrap
  27748. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  27749. msgstr ""
  27750. #. type: deftypevr
  27751. #: guix-git/doc/guix.texi:18601
  27752. msgid "Where CUPS should cache data."
  27753. msgstr ""
  27754. #. type: deftypevr
  27755. #: guix-git/doc/guix.texi:18603
  27756. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  27757. msgstr ""
  27758. #. type: deftypevr
  27759. #: guix-git/doc/guix.texi:18605
  27760. #, no-wrap
  27761. msgid "{@code{files-configuration} parameter} string config-file-perm"
  27762. msgstr ""
  27763. #. type: deftypevr
  27764. #: guix-git/doc/guix.texi:18608
  27765. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  27766. msgstr ""
  27767. #. type: deftypevr
  27768. #: guix-git/doc/guix.texi:18614
  27769. 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."
  27770. msgstr ""
  27771. #. type: deftypevr
  27772. #: guix-git/doc/guix.texi:18616
  27773. msgid "Defaults to @samp{\"0640\"}."
  27774. msgstr ""
  27775. #. type: deftypevr
  27776. #: guix-git/doc/guix.texi:18618
  27777. #, no-wrap
  27778. msgid "{@code{files-configuration} parameter} log-location error-log"
  27779. msgstr ""
  27780. #. type: deftypevr
  27781. #: guix-git/doc/guix.texi:18626
  27782. 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}."
  27783. msgstr ""
  27784. #. type: deftypevr
  27785. #: guix-git/doc/guix.texi:18628
  27786. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  27787. msgstr ""
  27788. #. type: deftypevr
  27789. #: guix-git/doc/guix.texi:18630
  27790. #, no-wrap
  27791. msgid "{@code{files-configuration} parameter} string fatal-errors"
  27792. msgstr ""
  27793. #. type: deftypevr
  27794. #: guix-git/doc/guix.texi:18633
  27795. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  27796. msgstr ""
  27797. #. type: table
  27798. #: guix-git/doc/guix.texi:18637
  27799. msgid "No errors are fatal."
  27800. msgstr ""
  27801. #. type: table
  27802. #: guix-git/doc/guix.texi:18640
  27803. msgid "All of the errors below are fatal."
  27804. msgstr ""
  27805. #. type: item
  27806. #: guix-git/doc/guix.texi:18641
  27807. #, no-wrap
  27808. msgid "browse"
  27809. msgstr ""
  27810. #. type: table
  27811. #: guix-git/doc/guix.texi:18644
  27812. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  27813. msgstr ""
  27814. #. type: item
  27815. #: guix-git/doc/guix.texi:18645
  27816. #, no-wrap
  27817. msgid "config"
  27818. msgstr ""
  27819. #. type: table
  27820. #: guix-git/doc/guix.texi:18647
  27821. msgid "Configuration file syntax errors are fatal."
  27822. msgstr ""
  27823. #. type: item
  27824. #: guix-git/doc/guix.texi:18648
  27825. #, no-wrap
  27826. msgid "listen"
  27827. msgstr ""
  27828. #. type: table
  27829. #: guix-git/doc/guix.texi:18651
  27830. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  27831. msgstr ""
  27832. #. type: item
  27833. #: guix-git/doc/guix.texi:18652
  27834. #, no-wrap
  27835. msgid "log"
  27836. msgstr ""
  27837. #. type: table
  27838. #: guix-git/doc/guix.texi:18654
  27839. msgid "Log file creation or write errors are fatal."
  27840. msgstr ""
  27841. #. type: item
  27842. #: guix-git/doc/guix.texi:18655
  27843. #, no-wrap
  27844. msgid "permissions"
  27845. msgstr ""
  27846. #. type: table
  27847. #: guix-git/doc/guix.texi:18658
  27848. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  27849. msgstr ""
  27850. #. type: deftypevr
  27851. #: guix-git/doc/guix.texi:18661
  27852. msgid "Defaults to @samp{\"all -browse\"}."
  27853. msgstr ""
  27854. #. type: deftypevr
  27855. #: guix-git/doc/guix.texi:18663
  27856. #, no-wrap
  27857. msgid "{@code{files-configuration} parameter} boolean file-device?"
  27858. msgstr ""
  27859. #. type: deftypevr
  27860. #: guix-git/doc/guix.texi:18666
  27861. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  27862. msgstr ""
  27863. #. type: deftypevr
  27864. #: guix-git/doc/guix.texi:18670
  27865. #, no-wrap
  27866. msgid "{@code{files-configuration} parameter} string group"
  27867. msgstr ""
  27868. #. type: deftypevr
  27869. #: guix-git/doc/guix.texi:18673
  27870. msgid "Specifies the group name or ID that will be used when executing external programs."
  27871. msgstr ""
  27872. #. type: deftypevr
  27873. #: guix-git/doc/guix.texi:18675 guix-git/doc/guix.texi:18755
  27874. msgid "Defaults to @samp{\"lp\"}."
  27875. msgstr ""
  27876. #. type: deftypevr
  27877. #: guix-git/doc/guix.texi:18677
  27878. #, no-wrap
  27879. msgid "{@code{files-configuration} parameter} string log-file-perm"
  27880. msgstr ""
  27881. #. type: deftypevr
  27882. #: guix-git/doc/guix.texi:18679
  27883. msgid "Specifies the permissions for all log files that the scheduler writes."
  27884. msgstr ""
  27885. #. type: deftypevr
  27886. #: guix-git/doc/guix.texi:18681
  27887. msgid "Defaults to @samp{\"0644\"}."
  27888. msgstr ""
  27889. #. type: deftypevr
  27890. #: guix-git/doc/guix.texi:18683
  27891. #, no-wrap
  27892. msgid "{@code{files-configuration} parameter} log-location page-log"
  27893. msgstr ""
  27894. #. type: deftypevr
  27895. #: guix-git/doc/guix.texi:18691
  27896. 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}."
  27897. msgstr ""
  27898. #. type: deftypevr
  27899. #: guix-git/doc/guix.texi:18693
  27900. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  27901. msgstr ""
  27902. #. type: deftypevr
  27903. #: guix-git/doc/guix.texi:18695
  27904. #, no-wrap
  27905. msgid "{@code{files-configuration} parameter} string remote-root"
  27906. msgstr ""
  27907. #. type: deftypevr
  27908. #: guix-git/doc/guix.texi:18698
  27909. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  27910. msgstr ""
  27911. #. type: deftypevr
  27912. #: guix-git/doc/guix.texi:18700
  27913. msgid "Defaults to @samp{\"remroot\"}."
  27914. msgstr ""
  27915. #. type: deftypevr
  27916. #: guix-git/doc/guix.texi:18702
  27917. #, no-wrap
  27918. msgid "{@code{files-configuration} parameter} file-name request-root"
  27919. msgstr ""
  27920. #. type: deftypevr
  27921. #: guix-git/doc/guix.texi:18705
  27922. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  27923. msgstr ""
  27924. #. type: deftypevr
  27925. #: guix-git/doc/guix.texi:18707
  27926. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  27927. msgstr ""
  27928. #. type: deftypevr
  27929. #: guix-git/doc/guix.texi:18709
  27930. #, no-wrap
  27931. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  27932. msgstr ""
  27933. #. type: deftypevr
  27934. #: guix-git/doc/guix.texi:18714
  27935. 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."
  27936. msgstr ""
  27937. #. type: deftypevr
  27938. #: guix-git/doc/guix.texi:18716
  27939. msgid "Defaults to @samp{strict}."
  27940. msgstr ""
  27941. #. type: deftypevr
  27942. #: guix-git/doc/guix.texi:18718
  27943. #, no-wrap
  27944. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  27945. msgstr ""
  27946. #. type: deftypevr
  27947. #: guix-git/doc/guix.texi:18723
  27948. 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."
  27949. msgstr ""
  27950. #. type: deftypevr
  27951. #: guix-git/doc/guix.texi:18725
  27952. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  27953. msgstr ""
  27954. #. type: deftypevr
  27955. #: guix-git/doc/guix.texi:18727
  27956. #, no-wrap
  27957. msgid "{@code{files-configuration} parameter} file-name server-root"
  27958. msgstr ""
  27959. #. type: deftypevr
  27960. #: guix-git/doc/guix.texi:18729
  27961. msgid "Specifies the directory containing the server configuration files."
  27962. msgstr ""
  27963. #. type: deftypevr
  27964. #: guix-git/doc/guix.texi:18731
  27965. msgid "Defaults to @samp{\"/etc/cups\"}."
  27966. msgstr ""
  27967. #. type: deftypevr
  27968. #: guix-git/doc/guix.texi:18733
  27969. #, no-wrap
  27970. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  27971. msgstr ""
  27972. #. type: deftypevr
  27973. #: guix-git/doc/guix.texi:18736
  27974. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  27975. msgstr ""
  27976. #. type: deftypevr
  27977. #: guix-git/doc/guix.texi:18740
  27978. #, no-wrap
  27979. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  27980. msgstr ""
  27981. #. type: deftypevr
  27982. #: guix-git/doc/guix.texi:18742
  27983. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  27984. msgstr ""
  27985. #. type: deftypevr
  27986. #: guix-git/doc/guix.texi:18744
  27987. #, no-wrap
  27988. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  27989. msgstr ""
  27990. #. type: deftypevr
  27991. #: guix-git/doc/guix.texi:18746
  27992. msgid "Specifies the directory where temporary files are stored."
  27993. msgstr ""
  27994. #. type: deftypevr
  27995. #: guix-git/doc/guix.texi:18748
  27996. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  27997. msgstr ""
  27998. #. type: deftypevr
  27999. #: guix-git/doc/guix.texi:18750
  28000. #, no-wrap
  28001. msgid "{@code{files-configuration} parameter} string user"
  28002. msgstr ""
  28003. #. type: deftypevr
  28004. #: guix-git/doc/guix.texi:18753
  28005. msgid "Specifies the user name or ID that is used when running external programs."
  28006. msgstr ""
  28007. #. type: deftypevr
  28008. #: guix-git/doc/guix.texi:18757
  28009. #, no-wrap
  28010. msgid "{@code{files-configuration} parameter} string set-env"
  28011. msgstr ""
  28012. #. type: deftypevr
  28013. #: guix-git/doc/guix.texi:18759
  28014. msgid "Set the specified environment variable to be passed to child processes."
  28015. msgstr ""
  28016. #. type: deftypevr
  28017. #: guix-git/doc/guix.texi:18761
  28018. msgid "Defaults to @samp{\"variable value\"}."
  28019. msgstr ""
  28020. #. type: deftypevr
  28021. #: guix-git/doc/guix.texi:18764
  28022. #, no-wrap
  28023. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  28024. msgstr ""
  28025. #. type: deftypevr
  28026. #: guix-git/doc/guix.texi:18771
  28027. 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."
  28028. msgstr ""
  28029. #. type: deftypevr
  28030. #: guix-git/doc/guix.texi:18773
  28031. msgid "Defaults to @samp{actions}."
  28032. msgstr ""
  28033. #. type: deftypevr
  28034. #: guix-git/doc/guix.texi:18775
  28035. #, no-wrap
  28036. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  28037. msgstr ""
  28038. #. type: deftypevr
  28039. #: guix-git/doc/guix.texi:18778
  28040. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  28041. msgstr ""
  28042. #. type: deftypevr
  28043. #: guix-git/doc/guix.texi:18782
  28044. #, no-wrap
  28045. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  28046. msgstr ""
  28047. #. type: deftypevr
  28048. #: guix-git/doc/guix.texi:18786
  28049. 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."
  28050. msgstr ""
  28051. #. type: deftypevr
  28052. #: guix-git/doc/guix.texi:18788
  28053. msgid "Defaults to @samp{\"_cups\"}."
  28054. msgstr ""
  28055. #. type: deftypevr
  28056. #: guix-git/doc/guix.texi:18790
  28057. #, no-wrap
  28058. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  28059. msgstr ""
  28060. #. type: deftypevr
  28061. #: guix-git/doc/guix.texi:18792
  28062. msgid "Specifies which protocols to use for local printer sharing."
  28063. msgstr ""
  28064. #. type: deftypevr
  28065. #: guix-git/doc/guix.texi:18794
  28066. msgid "Defaults to @samp{dnssd}."
  28067. msgstr ""
  28068. #. type: deftypevr
  28069. #: guix-git/doc/guix.texi:18796
  28070. #, no-wrap
  28071. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  28072. msgstr ""
  28073. #. type: deftypevr
  28074. #: guix-git/doc/guix.texi:18798
  28075. msgid "Specifies whether the CUPS web interface is advertised."
  28076. msgstr ""
  28077. #. type: deftypevr
  28078. #: guix-git/doc/guix.texi:18802
  28079. #, no-wrap
  28080. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  28081. msgstr ""
  28082. #. type: deftypevr
  28083. #: guix-git/doc/guix.texi:18804
  28084. msgid "Specifies whether shared printers are advertised."
  28085. msgstr ""
  28086. #. type: deftypevr
  28087. #: guix-git/doc/guix.texi:18808
  28088. #, no-wrap
  28089. msgid "{@code{cups-configuration} parameter} string classification"
  28090. msgstr ""
  28091. #. type: deftypevr
  28092. #: guix-git/doc/guix.texi:18813
  28093. 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."
  28094. msgstr ""
  28095. #. type: deftypevr
  28096. #: guix-git/doc/guix.texi:18815 guix-git/doc/guix.texi:19146
  28097. #: guix-git/doc/guix.texi:21129 guix-git/doc/guix.texi:21141
  28098. #: guix-git/doc/guix.texi:21169 guix-git/doc/guix.texi:21926
  28099. #: guix-git/doc/guix.texi:21940 guix-git/doc/guix.texi:21947
  28100. #: guix-git/doc/guix.texi:21954 guix-git/doc/guix.texi:21984
  28101. #: guix-git/doc/guix.texi:22082 guix-git/doc/guix.texi:24201
  28102. #: guix-git/doc/guix.texi:24227 guix-git/doc/guix.texi:24263
  28103. #: guix-git/doc/guix.texi:24309 guix-git/doc/guix.texi:24328
  28104. #: guix-git/doc/guix.texi:24367 guix-git/doc/guix.texi:24426
  28105. #: guix-git/doc/guix.texi:24436 guix-git/doc/guix.texi:29025
  28106. #: guix-git/doc/guix.texi:29033 guix-git/doc/guix.texi:29041
  28107. #: guix-git/doc/guix.texi:29049 guix-git/doc/guix.texi:29328
  28108. #: guix-git/doc/guix.texi:30630 guix-git/doc/guix.texi:30638
  28109. #: guix-git/doc/guix.texi:30646 guix-git/doc/guix.texi:30754
  28110. #: guix-git/doc/guix.texi:30779 guix-git/doc/guix.texi:30910
  28111. #: guix-git/doc/guix.texi:30918 guix-git/doc/guix.texi:30926
  28112. #: guix-git/doc/guix.texi:30934 guix-git/doc/guix.texi:30942
  28113. #: guix-git/doc/guix.texi:30950 guix-git/doc/guix.texi:30973
  28114. #: guix-git/doc/guix.texi:30981 guix-git/doc/guix.texi:31033
  28115. #: guix-git/doc/guix.texi:31049 guix-git/doc/guix.texi:31057
  28116. #: guix-git/doc/guix.texi:31096 guix-git/doc/guix.texi:31119
  28117. #: guix-git/doc/guix.texi:31141 guix-git/doc/guix.texi:31148
  28118. #: guix-git/doc/guix.texi:31183 guix-git/doc/guix.texi:31191
  28119. #: guix-git/doc/guix.texi:31215 guix-git/doc/guix.texi:31247
  28120. #: guix-git/doc/guix.texi:31276 guix-git/doc/guix.texi:31283
  28121. #: guix-git/doc/guix.texi:31290 guix-git/doc/guix.texi:31298
  28122. #: guix-git/doc/guix.texi:31312 guix-git/doc/guix.texi:31321
  28123. #: guix-git/doc/guix.texi:31331 guix-git/doc/guix.texi:31338
  28124. #: guix-git/doc/guix.texi:31345 guix-git/doc/guix.texi:31352
  28125. #: guix-git/doc/guix.texi:31423 guix-git/doc/guix.texi:31430
  28126. #: guix-git/doc/guix.texi:31437 guix-git/doc/guix.texi:31446
  28127. #: guix-git/doc/guix.texi:31462 guix-git/doc/guix.texi:31469
  28128. #: guix-git/doc/guix.texi:31476 guix-git/doc/guix.texi:31483
  28129. #: guix-git/doc/guix.texi:31491 guix-git/doc/guix.texi:31499
  28130. msgid "Defaults to @samp{\"\"}."
  28131. msgstr ""
  28132. #. type: deftypevr
  28133. #: guix-git/doc/guix.texi:18817
  28134. #, no-wrap
  28135. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  28136. msgstr ""
  28137. #. type: deftypevr
  28138. #: guix-git/doc/guix.texi:18820
  28139. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  28140. msgstr ""
  28141. #. type: deftypevr
  28142. #: guix-git/doc/guix.texi:18824
  28143. #, no-wrap
  28144. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  28145. msgstr ""
  28146. #. type: deftypevr
  28147. #: guix-git/doc/guix.texi:18826
  28148. msgid "Specifies the default type of authentication to use."
  28149. msgstr ""
  28150. #. type: deftypevr
  28151. #: guix-git/doc/guix.texi:18828
  28152. msgid "Defaults to @samp{Basic}."
  28153. msgstr ""
  28154. #. type: deftypevr
  28155. #: guix-git/doc/guix.texi:18830
  28156. #, no-wrap
  28157. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  28158. msgstr ""
  28159. #. type: deftypevr
  28160. #: guix-git/doc/guix.texi:18832
  28161. msgid "Specifies whether encryption will be used for authenticated requests."
  28162. msgstr ""
  28163. #. type: deftypevr
  28164. #: guix-git/doc/guix.texi:18834
  28165. msgid "Defaults to @samp{Required}."
  28166. msgstr ""
  28167. #. type: deftypevr
  28168. #: guix-git/doc/guix.texi:18836
  28169. #, no-wrap
  28170. msgid "{@code{cups-configuration} parameter} string default-language"
  28171. msgstr ""
  28172. #. type: deftypevr
  28173. #: guix-git/doc/guix.texi:18838
  28174. msgid "Specifies the default language to use for text and web content."
  28175. msgstr ""
  28176. #. type: deftypevr
  28177. #: guix-git/doc/guix.texi:18840
  28178. msgid "Defaults to @samp{\"en\"}."
  28179. msgstr ""
  28180. #. type: deftypevr
  28181. #: guix-git/doc/guix.texi:18842
  28182. #, no-wrap
  28183. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  28184. msgstr ""
  28185. #. type: deftypevr
  28186. #: guix-git/doc/guix.texi:18847
  28187. 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\"}."
  28188. msgstr ""
  28189. #. type: deftypevr
  28190. #: guix-git/doc/guix.texi:18849
  28191. msgid "Defaults to @samp{\"Auto\"}."
  28192. msgstr ""
  28193. #. type: deftypevr
  28194. #: guix-git/doc/guix.texi:18851
  28195. #, no-wrap
  28196. msgid "{@code{cups-configuration} parameter} string default-policy"
  28197. msgstr ""
  28198. #. type: deftypevr
  28199. #: guix-git/doc/guix.texi:18853
  28200. msgid "Specifies the default access policy to use."
  28201. msgstr ""
  28202. #. type: deftypevr
  28203. #: guix-git/doc/guix.texi:18855
  28204. msgid "Defaults to @samp{\"default\"}."
  28205. msgstr ""
  28206. #. type: deftypevr
  28207. #: guix-git/doc/guix.texi:18857
  28208. #, no-wrap
  28209. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  28210. msgstr ""
  28211. #. type: deftypevr
  28212. #: guix-git/doc/guix.texi:18859
  28213. msgid "Specifies whether local printers are shared by default."
  28214. msgstr ""
  28215. #. type: deftypevr
  28216. #: guix-git/doc/guix.texi:18861 guix-git/doc/guix.texi:18941
  28217. #: guix-git/doc/guix.texi:19231 guix-git/doc/guix.texi:22016
  28218. #: guix-git/doc/guix.texi:22067 guix-git/doc/guix.texi:22074
  28219. #: guix-git/doc/guix.texi:23356 guix-git/doc/guix.texi:23544
  28220. #: guix-git/doc/guix.texi:23661 guix-git/doc/guix.texi:23697
  28221. #: guix-git/doc/guix.texi:23748 guix-git/doc/guix.texi:23767
  28222. #: guix-git/doc/guix.texi:23777 guix-git/doc/guix.texi:23787
  28223. #: guix-git/doc/guix.texi:23846 guix-git/doc/guix.texi:23868
  28224. #: guix-git/doc/guix.texi:23893 guix-git/doc/guix.texi:23919
  28225. #: guix-git/doc/guix.texi:23937 guix-git/doc/guix.texi:27123
  28226. #: guix-git/doc/guix.texi:27151 guix-git/doc/guix.texi:27287
  28227. #: guix-git/doc/guix.texi:27294 guix-git/doc/guix.texi:27302
  28228. #: guix-git/doc/guix.texi:27339 guix-git/doc/guix.texi:27353
  28229. #: guix-git/doc/guix.texi:27442 guix-git/doc/guix.texi:27449
  28230. #: guix-git/doc/guix.texi:27457 guix-git/doc/guix.texi:28233
  28231. #: guix-git/doc/guix.texi:28373 guix-git/doc/guix.texi:28559
  28232. #: guix-git/doc/guix.texi:28566 guix-git/doc/guix.texi:28588
  28233. #: guix-git/doc/guix.texi:28627 guix-git/doc/guix.texi:28647
  28234. #: guix-git/doc/guix.texi:28661 guix-git/doc/guix.texi:28874
  28235. #: guix-git/doc/guix.texi:30732 guix-git/doc/guix.texi:30820
  28236. #: guix-git/doc/guix.texi:30836 guix-git/doc/guix.texi:30886
  28237. msgid "Defaults to @samp{#t}."
  28238. msgstr ""
  28239. #. type: deftypevr
  28240. #: guix-git/doc/guix.texi:18863
  28241. #, no-wrap
  28242. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  28243. msgstr ""
  28244. #. type: deftypevr
  28245. #: guix-git/doc/guix.texi:18867
  28246. 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."
  28247. msgstr ""
  28248. #. type: deftypevr
  28249. #: guix-git/doc/guix.texi:18869 guix-git/doc/guix.texi:18917
  28250. #: guix-git/doc/guix.texi:18926 guix-git/doc/guix.texi:19238
  28251. #: guix-git/doc/guix.texi:23706 guix-git/doc/guix.texi:23739
  28252. msgid "Defaults to @samp{30}."
  28253. msgstr ""
  28254. #. type: deftypevr
  28255. #: guix-git/doc/guix.texi:18871
  28256. #, no-wrap
  28257. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  28258. msgstr ""
  28259. #. type: deftypevr
  28260. #: guix-git/doc/guix.texi:18877
  28261. 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."
  28262. msgstr ""
  28263. #. type: deftypevr
  28264. #: guix-git/doc/guix.texi:18879
  28265. msgid "Defaults to @samp{stop-printer}."
  28266. msgstr ""
  28267. #. type: deftypevr
  28268. #: guix-git/doc/guix.texi:18881
  28269. #, no-wrap
  28270. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  28271. msgstr ""
  28272. #. type: deftypevr
  28273. #: guix-git/doc/guix.texi:18889
  28274. 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."
  28275. msgstr ""
  28276. #. type: deftypevr
  28277. #: guix-git/doc/guix.texi:18891 guix-git/doc/guix.texi:18899
  28278. #: guix-git/doc/guix.texi:18948 guix-git/doc/guix.texi:19064
  28279. #: guix-git/doc/guix.texi:19078 guix-git/doc/guix.texi:19085
  28280. #: guix-git/doc/guix.texi:20571 guix-git/doc/guix.texi:20587
  28281. #: guix-git/doc/guix.texi:21244 guix-git/doc/guix.texi:21256
  28282. #: guix-git/doc/guix.texi:22035 guix-git/doc/guix.texi:22044
  28283. #: guix-git/doc/guix.texi:22052 guix-git/doc/guix.texi:22060
  28284. #: guix-git/doc/guix.texi:28249 guix-git/doc/guix.texi:28574
  28285. #: guix-git/doc/guix.texi:30725 guix-git/doc/guix.texi:31025
  28286. #: guix-git/doc/guix.texi:31199
  28287. msgid "Defaults to @samp{0}."
  28288. msgstr ""
  28289. #. type: deftypevr
  28290. #: guix-git/doc/guix.texi:18893
  28291. #, no-wrap
  28292. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  28293. msgstr ""
  28294. #. type: deftypevr
  28295. #: guix-git/doc/guix.texi:18897
  28296. 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."
  28297. msgstr ""
  28298. #. type: deftypevr
  28299. #: guix-git/doc/guix.texi:18901
  28300. #, no-wrap
  28301. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  28302. msgstr ""
  28303. #. type: deftypevr
  28304. #: guix-git/doc/guix.texi:18908
  28305. 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."
  28306. msgstr ""
  28307. #. type: deftypevr
  28308. #: guix-git/doc/guix.texi:18912
  28309. #, no-wrap
  28310. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  28311. msgstr ""
  28312. #. type: deftypevr
  28313. #: guix-git/doc/guix.texi:18915
  28314. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  28315. msgstr ""
  28316. #. type: deftypevr
  28317. #: guix-git/doc/guix.texi:18919
  28318. #, no-wrap
  28319. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  28320. msgstr ""
  28321. #. type: deftypevr
  28322. #: guix-git/doc/guix.texi:18924
  28323. 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}."
  28324. msgstr ""
  28325. #. type: deftypevr
  28326. #: guix-git/doc/guix.texi:18928
  28327. #, no-wrap
  28328. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  28329. msgstr ""
  28330. #. type: deftypevr
  28331. #: guix-git/doc/guix.texi:18933
  28332. 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}."
  28333. msgstr ""
  28334. #. type: deftypevr
  28335. #: guix-git/doc/guix.texi:18935 guix-git/doc/guix.texi:23670
  28336. #: guix-git/doc/guix.texi:29126 guix-git/doc/guix.texi:29146
  28337. #: guix-git/doc/guix.texi:29162 guix-git/doc/guix.texi:29176
  28338. #: guix-git/doc/guix.texi:29183 guix-git/doc/guix.texi:29190
  28339. #: guix-git/doc/guix.texi:29197 guix-git/doc/guix.texi:29357
  28340. #: guix-git/doc/guix.texi:29373 guix-git/doc/guix.texi:29380
  28341. #: guix-git/doc/guix.texi:29387 guix-git/doc/guix.texi:29398
  28342. #: guix-git/doc/guix.texi:30677 guix-git/doc/guix.texi:30685
  28343. #: guix-git/doc/guix.texi:30693 guix-git/doc/guix.texi:30717
  28344. msgid "Defaults to @samp{5}."
  28345. msgstr ""
  28346. #. type: deftypevr
  28347. #: guix-git/doc/guix.texi:18937
  28348. #, no-wrap
  28349. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  28350. msgstr ""
  28351. #. type: deftypevr
  28352. #: guix-git/doc/guix.texi:18939
  28353. msgid "Specifies whether to support HTTP keep-alive connections."
  28354. msgstr ""
  28355. #. type: deftypevr
  28356. #: guix-git/doc/guix.texi:18943
  28357. #, no-wrap
  28358. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  28359. msgstr ""
  28360. #. type: deftypevr
  28361. #: guix-git/doc/guix.texi:18946
  28362. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  28363. msgstr ""
  28364. #. type: deftypevr
  28365. #: guix-git/doc/guix.texi:18950
  28366. #, no-wrap
  28367. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  28368. msgstr ""
  28369. #. type: deftypevr
  28370. #: guix-git/doc/guix.texi:18957
  28371. 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."
  28372. msgstr ""
  28373. #. type: deftypevr
  28374. #: guix-git/doc/guix.texi:18959
  28375. #, no-wrap
  28376. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  28377. msgstr ""
  28378. #. type: deftypevr
  28379. #: guix-git/doc/guix.texi:18966
  28380. 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."
  28381. msgstr ""
  28382. #. type: deftypevr
  28383. #: guix-git/doc/guix.texi:18968
  28384. msgid "Defaults to @samp{128}."
  28385. msgstr ""
  28386. #. type: deftypevr
  28387. #: guix-git/doc/guix.texi:18970
  28388. #, no-wrap
  28389. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  28390. msgstr ""
  28391. #. type: deftypevr
  28392. #: guix-git/doc/guix.texi:18972
  28393. msgid "Specifies a set of additional access controls."
  28394. msgstr ""
  28395. #. type: deftypevr
  28396. #: guix-git/doc/guix.texi:18974
  28397. msgid "Available @code{location-access-controls} fields are:"
  28398. msgstr ""
  28399. #. type: deftypevr
  28400. #: guix-git/doc/guix.texi:18975
  28401. #, no-wrap
  28402. msgid "{@code{location-access-controls} parameter} file-name path"
  28403. msgstr ""
  28404. #. type: deftypevr
  28405. #: guix-git/doc/guix.texi:18977
  28406. msgid "Specifies the URI path to which the access control applies."
  28407. msgstr ""
  28408. #. type: deftypevr
  28409. #: guix-git/doc/guix.texi:18979
  28410. #, no-wrap
  28411. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  28412. msgstr ""
  28413. #. type: deftypevr
  28414. #: guix-git/doc/guix.texi:18982
  28415. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  28416. msgstr ""
  28417. #. type: deftypevr
  28418. #: guix-git/doc/guix.texi:18984 guix-git/doc/guix.texi:18990
  28419. #: guix-git/doc/guix.texi:19004 guix-git/doc/guix.texi:19011
  28420. #: guix-git/doc/guix.texi:19153 guix-git/doc/guix.texi:19212
  28421. #: guix-git/doc/guix.texi:19290 guix-git/doc/guix.texi:19304
  28422. #: guix-git/doc/guix.texi:20451 guix-git/doc/guix.texi:20460
  28423. #: guix-git/doc/guix.texi:21730 guix-git/doc/guix.texi:21933
  28424. #: guix-git/doc/guix.texi:21961 guix-git/doc/guix.texi:21991
  28425. #: guix-git/doc/guix.texi:22106 guix-git/doc/guix.texi:22119
  28426. #: guix-git/doc/guix.texi:22126 guix-git/doc/guix.texi:23876
  28427. #: guix-git/doc/guix.texi:24271 guix-git/doc/guix.texi:24375
  28428. #: guix-git/doc/guix.texi:24802 guix-git/doc/guix.texi:24810
  28429. #: guix-git/doc/guix.texi:25055 guix-git/doc/guix.texi:27182
  28430. #: guix-git/doc/guix.texi:27360 guix-git/doc/guix.texi:27559
  28431. #: guix-git/doc/guix.texi:29017 guix-git/doc/guix.texi:29077
  28432. #: guix-git/doc/guix.texi:29085 guix-git/doc/guix.texi:30740
  28433. #: guix-git/doc/guix.texi:30747 guix-git/doc/guix.texi:31089
  28434. #: guix-git/doc/guix.texi:31167 guix-git/doc/guix.texi:31261
  28435. #: guix-git/doc/guix.texi:31269 guix-git/doc/guix.texi:31305
  28436. #: guix-git/doc/guix.texi:31455 guix-git/doc/guix.texi:31506
  28437. #: guix-git/doc/guix.texi:31515
  28438. msgid "Defaults to @samp{()}."
  28439. msgstr ""
  28440. #. type: deftypevr
  28441. #: guix-git/doc/guix.texi:18986
  28442. #, no-wrap
  28443. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  28444. msgstr ""
  28445. #. type: deftypevr
  28446. #: guix-git/doc/guix.texi:18988
  28447. msgid "Access controls for method-specific access to this path."
  28448. msgstr ""
  28449. #. type: deftypevr
  28450. #: guix-git/doc/guix.texi:18992
  28451. msgid "Available @code{method-access-controls} fields are:"
  28452. msgstr ""
  28453. #. type: deftypevr
  28454. #: guix-git/doc/guix.texi:18993
  28455. #, no-wrap
  28456. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  28457. msgstr ""
  28458. #. type: deftypevr
  28459. #: guix-git/doc/guix.texi:18996
  28460. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  28461. msgstr ""
  28462. #. type: deftypevr
  28463. #: guix-git/doc/guix.texi:19000
  28464. #, no-wrap
  28465. msgid "{@code{method-access-controls} parameter} method-list methods"
  28466. msgstr ""
  28467. #. type: deftypevr
  28468. #: guix-git/doc/guix.texi:19002
  28469. msgid "Methods to which this access control applies."
  28470. msgstr ""
  28471. #. type: deftypevr
  28472. #: guix-git/doc/guix.texi:19006
  28473. #, no-wrap
  28474. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  28475. msgstr ""
  28476. #. type: deftypevr
  28477. #: guix-git/doc/guix.texi:19009
  28478. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  28479. msgstr ""
  28480. #. type: deftypevr
  28481. #: guix-git/doc/guix.texi:19015
  28482. #, no-wrap
  28483. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  28484. msgstr ""
  28485. #. type: deftypevr
  28486. #: guix-git/doc/guix.texi:19019
  28487. 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."
  28488. msgstr ""
  28489. #. type: deftypevr
  28490. #: guix-git/doc/guix.texi:19021 guix-git/doc/guix.texi:19042
  28491. #: guix-git/doc/guix.texi:19049 guix-git/doc/guix.texi:21490
  28492. #: guix-git/doc/guix.texi:23408 guix-git/doc/guix.texi:23423
  28493. #: guix-git/doc/guix.texi:27544
  28494. msgid "Defaults to @samp{100}."
  28495. msgstr ""
  28496. #. type: deftypevr
  28497. #: guix-git/doc/guix.texi:19023
  28498. #, no-wrap
  28499. msgid "{@code{cups-configuration} parameter} log-level log-level"
  28500. msgstr ""
  28501. #. type: deftypevr
  28502. #: guix-git/doc/guix.texi:19026
  28503. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  28504. msgstr ""
  28505. #. type: deftypevr
  28506. #: guix-git/doc/guix.texi:19028 guix-git/doc/guix.texi:23885
  28507. msgid "Defaults to @samp{info}."
  28508. msgstr ""
  28509. #. type: deftypevr
  28510. #: guix-git/doc/guix.texi:19030
  28511. #, no-wrap
  28512. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  28513. msgstr ""
  28514. #. type: deftypevr
  28515. #: guix-git/doc/guix.texi:19033
  28516. 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."
  28517. msgstr ""
  28518. #. type: deftypevr
  28519. #: guix-git/doc/guix.texi:19035
  28520. msgid "Defaults to @samp{standard}."
  28521. msgstr ""
  28522. #. type: deftypevr
  28523. #: guix-git/doc/guix.texi:19037
  28524. #, no-wrap
  28525. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  28526. msgstr ""
  28527. #. type: deftypevr
  28528. #: guix-git/doc/guix.texi:19040
  28529. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  28530. msgstr ""
  28531. #. type: deftypevr
  28532. #: guix-git/doc/guix.texi:19044
  28533. #, no-wrap
  28534. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  28535. msgstr ""
  28536. #. type: deftypevr
  28537. #: guix-git/doc/guix.texi:19047
  28538. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  28539. msgstr ""
  28540. #. type: deftypevr
  28541. #: guix-git/doc/guix.texi:19051
  28542. #, no-wrap
  28543. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  28544. msgstr ""
  28545. #. type: deftypevr
  28546. #: guix-git/doc/guix.texi:19054
  28547. msgid "Specifies the maximum number of copies that a user can print of each job."
  28548. msgstr ""
  28549. #. type: deftypevr
  28550. #: guix-git/doc/guix.texi:19056
  28551. msgid "Defaults to @samp{9999}."
  28552. msgstr ""
  28553. #. type: deftypevr
  28554. #: guix-git/doc/guix.texi:19058
  28555. #, no-wrap
  28556. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  28557. msgstr ""
  28558. #. type: deftypevr
  28559. #: guix-git/doc/guix.texi:19062
  28560. 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."
  28561. msgstr ""
  28562. #. type: deftypevr
  28563. #: guix-git/doc/guix.texi:19066
  28564. #, no-wrap
  28565. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  28566. msgstr ""
  28567. #. type: deftypevr
  28568. #: guix-git/doc/guix.texi:19069
  28569. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  28570. msgstr ""
  28571. #. type: deftypevr
  28572. #: guix-git/doc/guix.texi:19071
  28573. msgid "Defaults to @samp{500}."
  28574. msgstr ""
  28575. #. type: deftypevr
  28576. #: guix-git/doc/guix.texi:19073
  28577. #, no-wrap
  28578. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  28579. msgstr ""
  28580. #. type: deftypevr
  28581. #: guix-git/doc/guix.texi:19076
  28582. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  28583. msgstr ""
  28584. #. type: deftypevr
  28585. #: guix-git/doc/guix.texi:19080
  28586. #, no-wrap
  28587. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  28588. msgstr ""
  28589. #. type: deftypevr
  28590. #: guix-git/doc/guix.texi:19083
  28591. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  28592. msgstr ""
  28593. #. type: deftypevr
  28594. #: guix-git/doc/guix.texi:19087
  28595. #, no-wrap
  28596. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  28597. msgstr ""
  28598. #. type: deftypevr
  28599. #: guix-git/doc/guix.texi:19090
  28600. 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."
  28601. msgstr ""
  28602. #. type: deftypevr
  28603. #: guix-git/doc/guix.texi:19092
  28604. msgid "Defaults to @samp{10800}."
  28605. msgstr ""
  28606. #. type: deftypevr
  28607. #: guix-git/doc/guix.texi:19094
  28608. #, no-wrap
  28609. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  28610. msgstr ""
  28611. #. type: deftypevr
  28612. #: guix-git/doc/guix.texi:19097
  28613. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  28614. msgstr ""
  28615. #. type: deftypevr
  28616. #: guix-git/doc/guix.texi:19099
  28617. msgid "Defaults to @samp{1048576}."
  28618. msgstr ""
  28619. #. type: deftypevr
  28620. #: guix-git/doc/guix.texi:19101
  28621. #, no-wrap
  28622. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  28623. msgstr ""
  28624. #. type: deftypevr
  28625. #: guix-git/doc/guix.texi:19104
  28626. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  28627. msgstr ""
  28628. #. type: deftypevr
  28629. #: guix-git/doc/guix.texi:19106 guix-git/doc/guix.texi:19317
  28630. #: guix-git/doc/guix.texi:27116
  28631. msgid "Defaults to @samp{300}."
  28632. msgstr ""
  28633. #. type: deftypevr
  28634. #: guix-git/doc/guix.texi:19108
  28635. #, no-wrap
  28636. msgid "{@code{cups-configuration} parameter} string page-log-format"
  28637. msgstr ""
  28638. #. type: deftypevr
  28639. #: guix-git/doc/guix.texi:19113
  28640. 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:"
  28641. msgstr ""
  28642. #. type: item
  28643. #: guix-git/doc/guix.texi:19115
  28644. #, no-wrap
  28645. msgid "%%"
  28646. msgstr ""
  28647. #. type: table
  28648. #: guix-git/doc/guix.texi:19117
  28649. msgid "insert a single percent character"
  28650. msgstr ""
  28651. #. type: item
  28652. #: guix-git/doc/guix.texi:19118
  28653. #, no-wrap
  28654. msgid "%@{name@}"
  28655. msgstr ""
  28656. #. type: table
  28657. #: guix-git/doc/guix.texi:19120
  28658. msgid "insert the value of the specified IPP attribute"
  28659. msgstr ""
  28660. #. type: item
  28661. #: guix-git/doc/guix.texi:19121
  28662. #, no-wrap
  28663. msgid "%C"
  28664. msgstr ""
  28665. #. type: table
  28666. #: guix-git/doc/guix.texi:19123
  28667. msgid "insert the number of copies for the current page"
  28668. msgstr ""
  28669. #. type: item
  28670. #: guix-git/doc/guix.texi:19124
  28671. #, no-wrap
  28672. msgid "%P"
  28673. msgstr ""
  28674. #. type: table
  28675. #: guix-git/doc/guix.texi:19126
  28676. msgid "insert the current page number"
  28677. msgstr ""
  28678. #. type: item
  28679. #: guix-git/doc/guix.texi:19127
  28680. #, no-wrap
  28681. msgid "%T"
  28682. msgstr ""
  28683. #. type: table
  28684. #: guix-git/doc/guix.texi:19129
  28685. msgid "insert the current date and time in common log format"
  28686. msgstr ""
  28687. #. type: item
  28688. #: guix-git/doc/guix.texi:19130
  28689. #, no-wrap
  28690. msgid "%j"
  28691. msgstr ""
  28692. #. type: table
  28693. #: guix-git/doc/guix.texi:19132
  28694. msgid "insert the job ID"
  28695. msgstr ""
  28696. #. type: item
  28697. #: guix-git/doc/guix.texi:19133 guix-git/doc/guix.texi:21089
  28698. #, no-wrap
  28699. msgid "%p"
  28700. msgstr ""
  28701. #. type: table
  28702. #: guix-git/doc/guix.texi:19135
  28703. msgid "insert the printer name"
  28704. msgstr ""
  28705. #. type: item
  28706. #: guix-git/doc/guix.texi:19136 guix-git/doc/guix.texi:21112
  28707. #, no-wrap
  28708. msgid "%u"
  28709. msgstr ""
  28710. #. type: table
  28711. #: guix-git/doc/guix.texi:19138
  28712. msgid "insert the username"
  28713. msgstr ""
  28714. #. type: deftypevr
  28715. #: guix-git/doc/guix.texi:19144
  28716. 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."
  28717. msgstr ""
  28718. #. type: deftypevr
  28719. #: guix-git/doc/guix.texi:19148
  28720. #, no-wrap
  28721. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  28722. msgstr ""
  28723. #. type: deftypevr
  28724. #: guix-git/doc/guix.texi:19151
  28725. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  28726. msgstr ""
  28727. #. type: deftypevr
  28728. #: guix-git/doc/guix.texi:19155
  28729. #, no-wrap
  28730. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  28731. msgstr ""
  28732. #. type: deftypevr
  28733. #: guix-git/doc/guix.texi:19157
  28734. msgid "Specifies named access control policies."
  28735. msgstr ""
  28736. #. type: deftypevr
  28737. #: guix-git/doc/guix.texi:19159
  28738. msgid "Available @code{policy-configuration} fields are:"
  28739. msgstr ""
  28740. #. type: deftypevr
  28741. #: guix-git/doc/guix.texi:19160
  28742. #, no-wrap
  28743. msgid "{@code{policy-configuration} parameter} string name"
  28744. msgstr ""
  28745. #. type: deftypevr
  28746. #: guix-git/doc/guix.texi:19162
  28747. msgid "Name of the policy."
  28748. msgstr ""
  28749. #. type: deftypevr
  28750. #: guix-git/doc/guix.texi:19164
  28751. #, no-wrap
  28752. msgid "{@code{policy-configuration} parameter} string job-private-access"
  28753. msgstr ""
  28754. #. type: deftypevr
  28755. #: guix-git/doc/guix.texi:19174
  28756. 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}."
  28757. msgstr ""
  28758. #. type: deftypevr
  28759. #: guix-git/doc/guix.texi:19176 guix-git/doc/guix.texi:19198
  28760. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  28761. msgstr ""
  28762. #. type: deftypevr
  28763. #: guix-git/doc/guix.texi:19178
  28764. #, no-wrap
  28765. msgid "{@code{policy-configuration} parameter} string job-private-values"
  28766. msgstr ""
  28767. #. type: deftypevr
  28768. #: guix-git/doc/guix.texi:19181 guix-git/doc/guix.texi:19203
  28769. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  28770. msgstr ""
  28771. #. type: deftypevr
  28772. #: guix-git/doc/guix.texi:19184
  28773. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  28774. msgstr ""
  28775. #. type: deftypevr
  28776. #: guix-git/doc/guix.texi:19186
  28777. #, no-wrap
  28778. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  28779. msgstr ""
  28780. #. type: deftypevr
  28781. #: guix-git/doc/guix.texi:19196
  28782. 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}."
  28783. msgstr ""
  28784. #. type: deftypevr
  28785. #: guix-git/doc/guix.texi:19200
  28786. #, no-wrap
  28787. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  28788. msgstr ""
  28789. #. type: deftypevr
  28790. #: guix-git/doc/guix.texi:19206
  28791. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  28792. msgstr ""
  28793. #. type: deftypevr
  28794. #: guix-git/doc/guix.texi:19208
  28795. #, no-wrap
  28796. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  28797. msgstr ""
  28798. #. type: deftypevr
  28799. #: guix-git/doc/guix.texi:19210
  28800. msgid "Access control by IPP operation."
  28801. msgstr ""
  28802. #. type: deftypevr
  28803. #: guix-git/doc/guix.texi:19215
  28804. #, no-wrap
  28805. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  28806. msgstr ""
  28807. #. type: deftypevr
  28808. #: guix-git/doc/guix.texi:19220
  28809. 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."
  28810. msgstr ""
  28811. #. type: deftypevr
  28812. #: guix-git/doc/guix.texi:19222
  28813. msgid "Defaults to @samp{86400}."
  28814. msgstr ""
  28815. #. type: deftypevr
  28816. #: guix-git/doc/guix.texi:19224
  28817. #, no-wrap
  28818. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  28819. msgstr ""
  28820. #. type: deftypevr
  28821. #: guix-git/doc/guix.texi:19229
  28822. 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."
  28823. msgstr ""
  28824. #. type: deftypevr
  28825. #: guix-git/doc/guix.texi:19233
  28826. #, no-wrap
  28827. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  28828. msgstr ""
  28829. #. type: deftypevr
  28830. #: guix-git/doc/guix.texi:19236
  28831. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  28832. msgstr ""
  28833. #. type: deftypevr
  28834. #: guix-git/doc/guix.texi:19240
  28835. #, no-wrap
  28836. msgid "{@code{cups-configuration} parameter} string rip-cache"
  28837. msgstr ""
  28838. #. type: deftypevr
  28839. #: guix-git/doc/guix.texi:19243
  28840. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  28841. msgstr ""
  28842. #. type: deftypevr
  28843. #: guix-git/doc/guix.texi:19245
  28844. msgid "Defaults to @samp{\"128m\"}."
  28845. msgstr ""
  28846. #. type: deftypevr
  28847. #: guix-git/doc/guix.texi:19247
  28848. #, no-wrap
  28849. msgid "{@code{cups-configuration} parameter} string server-admin"
  28850. msgstr ""
  28851. #. type: deftypevr
  28852. #: guix-git/doc/guix.texi:19249
  28853. msgid "Specifies the email address of the server administrator."
  28854. msgstr ""
  28855. #. type: deftypevr
  28856. #: guix-git/doc/guix.texi:19251
  28857. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  28858. msgstr ""
  28859. #. type: deftypevr
  28860. #: guix-git/doc/guix.texi:19253
  28861. #, no-wrap
  28862. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  28863. msgstr ""
  28864. #. type: deftypevr
  28865. #: guix-git/doc/guix.texi:19261
  28866. 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{*}."
  28867. msgstr ""
  28868. #. type: deftypevr
  28869. #: guix-git/doc/guix.texi:19263
  28870. msgid "Defaults to @samp{*}."
  28871. msgstr ""
  28872. #. type: deftypevr
  28873. #: guix-git/doc/guix.texi:19265
  28874. #, no-wrap
  28875. msgid "{@code{cups-configuration} parameter} string server-name"
  28876. msgstr ""
  28877. #. type: deftypevr
  28878. #: guix-git/doc/guix.texi:19267
  28879. msgid "Specifies the fully-qualified host name of the server."
  28880. msgstr ""
  28881. #. type: deftypevr
  28882. #: guix-git/doc/guix.texi:19269 guix-git/doc/guix.texi:24398
  28883. #: guix-git/doc/guix.texi:24443
  28884. msgid "Defaults to @samp{\"localhost\"}."
  28885. msgstr ""
  28886. #. type: deftypevr
  28887. #: guix-git/doc/guix.texi:19271
  28888. #, no-wrap
  28889. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  28890. msgstr ""
  28891. #. type: deftypevr
  28892. #: guix-git/doc/guix.texi:19279
  28893. 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}."
  28894. msgstr ""
  28895. #. type: deftypevr
  28896. #: guix-git/doc/guix.texi:19281
  28897. msgid "Defaults to @samp{Minimal}."
  28898. msgstr ""
  28899. #. type: deftypevr
  28900. #: guix-git/doc/guix.texi:19283
  28901. #, no-wrap
  28902. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  28903. msgstr ""
  28904. #. type: deftypevr
  28905. #: guix-git/doc/guix.texi:19288
  28906. 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."
  28907. msgstr ""
  28908. #. type: deftypevr
  28909. #: guix-git/doc/guix.texi:19292
  28910. #, no-wrap
  28911. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  28912. msgstr ""
  28913. #. type: deftypevr
  28914. #: guix-git/doc/guix.texi:19302
  28915. 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."
  28916. msgstr ""
  28917. #. type: deftypevr
  28918. #: guix-git/doc/guix.texi:19306
  28919. #, no-wrap
  28920. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  28921. msgstr ""
  28922. #. type: deftypevr
  28923. #: guix-git/doc/guix.texi:19309
  28924. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  28925. msgstr ""
  28926. #. type: deftypevr
  28927. #: guix-git/doc/guix.texi:19313
  28928. #, no-wrap
  28929. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  28930. msgstr ""
  28931. #. type: deftypevr
  28932. #: guix-git/doc/guix.texi:19315
  28933. msgid "Specifies the HTTP request timeout, in seconds."
  28934. msgstr ""
  28935. #. type: deftypevr
  28936. #: guix-git/doc/guix.texi:19320
  28937. #, no-wrap
  28938. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  28939. msgstr ""
  28940. #. type: deftypevr
  28941. #: guix-git/doc/guix.texi:19322
  28942. msgid "Specifies whether the web interface is enabled."
  28943. msgstr ""
  28944. #. type: Plain text
  28945. #: guix-git/doc/guix.texi:19332
  28946. 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}."
  28947. msgstr ""
  28948. #. type: Plain text
  28949. #: guix-git/doc/guix.texi:19334
  28950. msgid "Available @code{opaque-cups-configuration} fields are:"
  28951. msgstr ""
  28952. #. type: deftypevr
  28953. #: guix-git/doc/guix.texi:19335
  28954. #, no-wrap
  28955. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  28956. msgstr ""
  28957. #. type: deftypevr
  28958. #: guix-git/doc/guix.texi:19339
  28959. #, no-wrap
  28960. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  28961. msgstr ""
  28962. #. type: deftypevr
  28963. #: guix-git/doc/guix.texi:19341
  28964. msgid "The contents of the @code{cupsd.conf}, as a string."
  28965. msgstr ""
  28966. #. type: deftypevr
  28967. #: guix-git/doc/guix.texi:19343
  28968. #, no-wrap
  28969. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  28970. msgstr ""
  28971. #. type: deftypevr
  28972. #: guix-git/doc/guix.texi:19345
  28973. msgid "The contents of the @code{cups-files.conf} file, as a string."
  28974. msgstr ""
  28975. #. type: Plain text
  28976. #: guix-git/doc/guix.texi:19350
  28977. 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:"
  28978. msgstr ""
  28979. #. type: lisp
  28980. #: guix-git/doc/guix.texi:19356
  28981. #, no-wrap
  28982. msgid ""
  28983. "(service cups-service-type\n"
  28984. " (opaque-cups-configuration\n"
  28985. " (cupsd.conf cupsd.conf)\n"
  28986. " (cups-files.conf cups-files.conf)))\n"
  28987. msgstr ""
  28988. #. type: Plain text
  28989. #: guix-git/doc/guix.texi:19367
  28990. 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."
  28991. msgstr ""
  28992. #. type: Plain text
  28993. #: guix-git/doc/guix.texi:19371
  28994. 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:"
  28995. msgstr ""
  28996. #. type: defvr
  28997. #: guix-git/doc/guix.texi:19372
  28998. #, no-wrap
  28999. msgid "{Scheme Variable} %desktop-services"
  29000. msgstr ""
  29001. #. type: defvr
  29002. #: guix-git/doc/guix.texi:19375
  29003. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  29004. msgstr ""
  29005. #. type: defvr
  29006. #: guix-git/doc/guix.texi:19386
  29007. 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})."
  29008. msgstr ""
  29009. #. type: Plain text
  29010. #: guix-git/doc/guix.texi:19391
  29011. 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}})."
  29012. msgstr ""
  29013. #. type: Plain text
  29014. #: guix-git/doc/guix.texi:19414
  29015. 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."
  29016. msgstr ""
  29017. #. type: Plain text
  29018. #: guix-git/doc/guix.texi:19423
  29019. 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."
  29020. msgstr ""
  29021. #. type: defvr
  29022. #: guix-git/doc/guix.texi:19424
  29023. #, no-wrap
  29024. msgid "{Scheme Variable} gnome-desktop-service-type"
  29025. msgstr ""
  29026. #. type: defvr
  29027. #: guix-git/doc/guix.texi:19428
  29028. 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)."
  29029. msgstr ""
  29030. #. type: defvr
  29031. #: guix-git/doc/guix.texi:19431
  29032. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  29033. msgstr ""
  29034. #. type: deftp
  29035. #: guix-git/doc/guix.texi:19433
  29036. #, no-wrap
  29037. msgid "{Data Type} gnome-desktop-configuration"
  29038. msgstr ""
  29039. #. type: deftp
  29040. #: guix-git/doc/guix.texi:19435
  29041. msgid "Configuration record for the GNOME desktop environment."
  29042. msgstr ""
  29043. #. type: item
  29044. #: guix-git/doc/guix.texi:19437
  29045. #, no-wrap
  29046. msgid "@code{gnome} (default: @code{gnome})"
  29047. msgstr ""
  29048. #. type: table
  29049. #: guix-git/doc/guix.texi:19439
  29050. msgid "The GNOME package to use."
  29051. msgstr ""
  29052. #. type: defvr
  29053. #: guix-git/doc/guix.texi:19442
  29054. #, no-wrap
  29055. msgid "{Scheme Variable} xfce-desktop-service-type"
  29056. msgstr ""
  29057. #. type: defvr
  29058. #: guix-git/doc/guix.texi:19446
  29059. 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)."
  29060. msgstr ""
  29061. #. type: defvr
  29062. #: guix-git/doc/guix.texi:19451
  29063. 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."
  29064. msgstr ""
  29065. #. type: defvr
  29066. #: guix-git/doc/guix.texi:19457
  29067. 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}."
  29068. msgstr ""
  29069. #. type: deftp
  29070. #: guix-git/doc/guix.texi:19459
  29071. #, no-wrap
  29072. msgid "{Data Type} xfce-desktop-configuration"
  29073. msgstr ""
  29074. #. type: deftp
  29075. #: guix-git/doc/guix.texi:19461
  29076. msgid "Configuration record for the Xfce desktop environment."
  29077. msgstr ""
  29078. #. type: item
  29079. #: guix-git/doc/guix.texi:19463
  29080. #, no-wrap
  29081. msgid "@code{xfce} (default: @code{xfce})"
  29082. msgstr ""
  29083. #. type: table
  29084. #: guix-git/doc/guix.texi:19465
  29085. msgid "The Xfce package to use."
  29086. msgstr ""
  29087. #. type: deffn
  29088. #: guix-git/doc/guix.texi:19468
  29089. #, no-wrap
  29090. msgid "{Scheme Variable} mate-desktop-service-type"
  29091. msgstr ""
  29092. #. type: deffn
  29093. #: guix-git/doc/guix.texi:19472
  29094. 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)."
  29095. msgstr ""
  29096. #. type: deffn
  29097. #: guix-git/doc/guix.texi:19476
  29098. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  29099. msgstr ""
  29100. #. type: deftp
  29101. #: guix-git/doc/guix.texi:19478
  29102. #, no-wrap
  29103. msgid "{Data Type} mate-desktop-configuration"
  29104. msgstr ""
  29105. #. type: deftp
  29106. #: guix-git/doc/guix.texi:19480
  29107. msgid "Configuration record for the MATE desktop environment."
  29108. msgstr ""
  29109. #. type: item
  29110. #: guix-git/doc/guix.texi:19482
  29111. #, no-wrap
  29112. msgid "@code{mate} (default: @code{mate})"
  29113. msgstr ""
  29114. #. type: table
  29115. #: guix-git/doc/guix.texi:19484
  29116. msgid "The MATE package to use."
  29117. msgstr ""
  29118. #. type: deffn
  29119. #: guix-git/doc/guix.texi:19487
  29120. #, no-wrap
  29121. msgid "{Scheme Variable} lxqt-desktop-service-type"
  29122. msgstr ""
  29123. #. type: deffn
  29124. #: guix-git/doc/guix.texi:19491
  29125. 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)."
  29126. msgstr ""
  29127. #. type: deffn
  29128. #: guix-git/doc/guix.texi:19494
  29129. msgid "This service adds the @code{lxqt} package to the system profile."
  29130. msgstr ""
  29131. #. type: deftp
  29132. #: guix-git/doc/guix.texi:19496
  29133. #, no-wrap
  29134. msgid "{Data Type} lxqt-desktop-configuration"
  29135. msgstr ""
  29136. #. type: deftp
  29137. #: guix-git/doc/guix.texi:19498
  29138. msgid "Configuration record for the LXQt desktop environment."
  29139. msgstr ""
  29140. #. type: item
  29141. #: guix-git/doc/guix.texi:19500
  29142. #, no-wrap
  29143. msgid "@code{lxqt} (default: @code{lxqt})"
  29144. msgstr ""
  29145. #. type: table
  29146. #: guix-git/doc/guix.texi:19502
  29147. msgid "The LXQT package to use."
  29148. msgstr ""
  29149. #. type: deffn
  29150. #: guix-git/doc/guix.texi:19505
  29151. #, no-wrap
  29152. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  29153. msgstr ""
  29154. #. type: deffn
  29155. #: guix-git/doc/guix.texi:19508
  29156. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  29157. msgstr ""
  29158. #. type: deftp
  29159. #: guix-git/doc/guix.texi:19510
  29160. #, no-wrap
  29161. msgid "{Data Type} enlightenment-desktop-service-configuration"
  29162. msgstr ""
  29163. #. type: item
  29164. #: guix-git/doc/guix.texi:19512
  29165. #, no-wrap
  29166. msgid "@code{enlightenment} (default: @code{enlightenment})"
  29167. msgstr ""
  29168. #. type: table
  29169. #: guix-git/doc/guix.texi:19514
  29170. msgid "The enlightenment package to use."
  29171. msgstr ""
  29172. #. type: Plain text
  29173. #: guix-git/doc/guix.texi:19522
  29174. 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}:"
  29175. msgstr ""
  29176. #. type: lisp
  29177. #: guix-git/doc/guix.texi:19533
  29178. #, no-wrap
  29179. msgid ""
  29180. "(use-modules (gnu))\n"
  29181. "(use-service-modules desktop)\n"
  29182. "(operating-system\n"
  29183. " ...\n"
  29184. " ;; cons* adds items to the list given as its last argument.\n"
  29185. " (services (cons* (service gnome-desktop-service-type)\n"
  29186. " (service xfce-desktop-service)\n"
  29187. " %desktop-services))\n"
  29188. " ...)\n"
  29189. msgstr ""
  29190. #. type: Plain text
  29191. #: guix-git/doc/guix.texi:19537
  29192. msgid "These desktop environments will then be available as options in the graphical login window."
  29193. msgstr ""
  29194. #. type: Plain text
  29195. #: guix-git/doc/guix.texi:19541
  29196. 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."
  29197. msgstr ""
  29198. #. type: deffn
  29199. #: guix-git/doc/guix.texi:19542
  29200. #, no-wrap
  29201. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  29202. msgstr ""
  29203. #. type: deffn
  29204. #: guix-git/doc/guix.texi:19545
  29205. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  29206. msgstr ""
  29207. #. type: deffn
  29208. #: guix-git/doc/guix.texi:19549
  29209. 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."
  29210. msgstr ""
  29211. #. type: deffn
  29212. #: guix-git/doc/guix.texi:19554
  29213. 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)}."
  29214. msgstr ""
  29215. #. type: deffn
  29216. #: guix-git/doc/guix.texi:19556
  29217. #, no-wrap
  29218. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  29219. msgstr ""
  29220. #. type: deffn
  29221. #: guix-git/doc/guix.texi:19562
  29222. 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."
  29223. msgstr ""
  29224. #. type: deffn
  29225. #: guix-git/doc/guix.texi:19566
  29226. 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."
  29227. msgstr ""
  29228. #. type: deffn
  29229. #: guix-git/doc/guix.texi:19571
  29230. 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:"
  29231. msgstr ""
  29232. #. type: item
  29233. #: guix-git/doc/guix.texi:19573
  29234. #, no-wrap
  29235. msgid "kill-user-processes?"
  29236. msgstr ""
  29237. #. type: code{#1}
  29238. #: guix-git/doc/guix.texi:19575 guix-git/doc/guix.texi:19595
  29239. #: guix-git/doc/guix.texi:19597 guix-git/doc/guix.texi:19599
  29240. #: guix-git/doc/guix.texi:19611
  29241. msgid "#f"
  29242. msgstr ""
  29243. #. type: item
  29244. #: guix-git/doc/guix.texi:19575
  29245. #, no-wrap
  29246. msgid "kill-only-users"
  29247. msgstr ""
  29248. #. type: code{#1}
  29249. #: guix-git/doc/guix.texi:19577 guix-git/doc/guix.texi:19617
  29250. msgid "()"
  29251. msgstr ""
  29252. #. type: item
  29253. #: guix-git/doc/guix.texi:19577
  29254. #, no-wrap
  29255. msgid "kill-exclude-users"
  29256. msgstr ""
  29257. #. type: code{#1}
  29258. #: guix-git/doc/guix.texi:19579
  29259. msgid "(\"root\")"
  29260. msgstr ""
  29261. #. type: item
  29262. #: guix-git/doc/guix.texi:19579
  29263. #, no-wrap
  29264. msgid "inhibit-delay-max-seconds"
  29265. msgstr ""
  29266. #. type: code{#1}
  29267. #: guix-git/doc/guix.texi:19581
  29268. msgid "5"
  29269. msgstr ""
  29270. #. type: item
  29271. #: guix-git/doc/guix.texi:19581
  29272. #, no-wrap
  29273. msgid "handle-power-key"
  29274. msgstr ""
  29275. #. type: code{#1}
  29276. #: guix-git/doc/guix.texi:19583
  29277. msgid "poweroff"
  29278. msgstr ""
  29279. #. type: item
  29280. #: guix-git/doc/guix.texi:19583
  29281. #, no-wrap
  29282. msgid "handle-suspend-key"
  29283. msgstr ""
  29284. #. type: code{#1}
  29285. #: guix-git/doc/guix.texi:19585 guix-git/doc/guix.texi:19589
  29286. msgid "suspend"
  29287. msgstr ""
  29288. #. type: item
  29289. #: guix-git/doc/guix.texi:19585
  29290. #, no-wrap
  29291. msgid "handle-hibernate-key"
  29292. msgstr ""
  29293. #. type: code{#1}
  29294. #: guix-git/doc/guix.texi:19587
  29295. msgid "hibernate"
  29296. msgstr ""
  29297. #. type: item
  29298. #: guix-git/doc/guix.texi:19587
  29299. #, no-wrap
  29300. msgid "handle-lid-switch"
  29301. msgstr ""
  29302. #. type: item
  29303. #: guix-git/doc/guix.texi:19589
  29304. #, no-wrap
  29305. msgid "handle-lid-switch-docked"
  29306. msgstr ""
  29307. #. type: code{#1}
  29308. #: guix-git/doc/guix.texi:19591 guix-git/doc/guix.texi:19593
  29309. #: guix-git/doc/guix.texi:19605
  29310. msgid "ignore"
  29311. msgstr ""
  29312. #. type: item
  29313. #: guix-git/doc/guix.texi:19591
  29314. #, no-wrap
  29315. msgid "handle-lid-switch-external-power"
  29316. msgstr ""
  29317. #. type: item
  29318. #: guix-git/doc/guix.texi:19593
  29319. #, no-wrap
  29320. msgid "power-key-ignore-inhibited?"
  29321. msgstr ""
  29322. #. type: item
  29323. #: guix-git/doc/guix.texi:19595
  29324. #, no-wrap
  29325. msgid "suspend-key-ignore-inhibited?"
  29326. msgstr ""
  29327. #. type: item
  29328. #: guix-git/doc/guix.texi:19597
  29329. #, no-wrap
  29330. msgid "hibernate-key-ignore-inhibited?"
  29331. msgstr ""
  29332. #. type: item
  29333. #: guix-git/doc/guix.texi:19599
  29334. #, no-wrap
  29335. msgid "lid-switch-ignore-inhibited?"
  29336. msgstr ""
  29337. #. type: code{#1}
  29338. #: guix-git/doc/guix.texi:19601 guix-git/doc/guix.texi:19613
  29339. msgid "#t"
  29340. msgstr ""
  29341. #. type: item
  29342. #: guix-git/doc/guix.texi:19601
  29343. #, no-wrap
  29344. msgid "holdoff-timeout-seconds"
  29345. msgstr ""
  29346. #. type: code{#1}
  29347. #: guix-git/doc/guix.texi:19603
  29348. msgid "30"
  29349. msgstr ""
  29350. #. type: item
  29351. #: guix-git/doc/guix.texi:19603
  29352. #, no-wrap
  29353. msgid "idle-action"
  29354. msgstr ""
  29355. #. type: item
  29356. #: guix-git/doc/guix.texi:19605
  29357. #, no-wrap
  29358. msgid "idle-action-seconds"
  29359. msgstr ""
  29360. #. type: code{#1}
  29361. #: guix-git/doc/guix.texi:19607
  29362. msgid "(* 30 60)"
  29363. msgstr ""
  29364. #. type: item
  29365. #: guix-git/doc/guix.texi:19607
  29366. #, no-wrap
  29367. msgid "runtime-directory-size-percent"
  29368. msgstr ""
  29369. #. type: code{#1}
  29370. #: guix-git/doc/guix.texi:19609
  29371. msgid "10"
  29372. msgstr ""
  29373. #. type: item
  29374. #: guix-git/doc/guix.texi:19609
  29375. #, no-wrap
  29376. msgid "runtime-directory-size"
  29377. msgstr ""
  29378. #. type: item
  29379. #: guix-git/doc/guix.texi:19611
  29380. #, no-wrap
  29381. msgid "remove-ipc?"
  29382. msgstr ""
  29383. #. type: item
  29384. #: guix-git/doc/guix.texi:19613
  29385. #, no-wrap
  29386. msgid "suspend-state"
  29387. msgstr ""
  29388. #. type: code{#1}
  29389. #: guix-git/doc/guix.texi:19615
  29390. msgid "(\"mem\" \"standby\" \"freeze\")"
  29391. msgstr ""
  29392. #. type: item
  29393. #: guix-git/doc/guix.texi:19615
  29394. #, no-wrap
  29395. msgid "suspend-mode"
  29396. msgstr ""
  29397. #. type: item
  29398. #: guix-git/doc/guix.texi:19617
  29399. #, no-wrap
  29400. msgid "hibernate-state"
  29401. msgstr ""
  29402. #. type: code{#1}
  29403. #: guix-git/doc/guix.texi:19619 guix-git/doc/guix.texi:19623
  29404. msgid "(\"disk\")"
  29405. msgstr ""
  29406. #. type: item
  29407. #: guix-git/doc/guix.texi:19619
  29408. #, no-wrap
  29409. msgid "hibernate-mode"
  29410. msgstr ""
  29411. #. type: code{#1}
  29412. #: guix-git/doc/guix.texi:19621
  29413. msgid "(\"platform\" \"shutdown\")"
  29414. msgstr ""
  29415. #. type: item
  29416. #: guix-git/doc/guix.texi:19621
  29417. #, no-wrap
  29418. msgid "hybrid-sleep-state"
  29419. msgstr ""
  29420. #. type: item
  29421. #: guix-git/doc/guix.texi:19623
  29422. #, no-wrap
  29423. msgid "hybrid-sleep-mode"
  29424. msgstr ""
  29425. #. type: code{#1}
  29426. #: guix-git/doc/guix.texi:19625
  29427. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  29428. msgstr ""
  29429. #. type: deffn
  29430. #: guix-git/doc/guix.texi:19628
  29431. #, no-wrap
  29432. msgid "{Scheme Procedure} accountsservice-service @"
  29433. msgstr ""
  29434. #. type: deffn
  29435. #: guix-git/doc/guix.texi:19636
  29436. 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."
  29437. msgstr ""
  29438. #. type: deffn
  29439. #: guix-git/doc/guix.texi:19639
  29440. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  29441. msgstr ""
  29442. #. type: deffn
  29443. #: guix-git/doc/guix.texi:19641
  29444. #, no-wrap
  29445. msgid "{Scheme Procedure} polkit-service @"
  29446. msgstr ""
  29447. #. type: deffn
  29448. #: guix-git/doc/guix.texi:19650
  29449. 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."
  29450. msgstr ""
  29451. #. type: defvr
  29452. #: guix-git/doc/guix.texi:19652
  29453. #, no-wrap
  29454. msgid "{Scheme Variable} polkit-wheel-service"
  29455. msgstr ""
  29456. #. type: defvr
  29457. #: guix-git/doc/guix.texi:19657
  29458. 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}."
  29459. msgstr ""
  29460. #. type: defvr
  29461. #: guix-git/doc/guix.texi:19659
  29462. #, no-wrap
  29463. msgid "{Scheme Variable} upower-service-type"
  29464. msgstr ""
  29465. #. type: defvr
  29466. #: guix-git/doc/guix.texi:19663
  29467. 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."
  29468. msgstr ""
  29469. #. type: defvr
  29470. #: guix-git/doc/guix.texi:19666
  29471. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  29472. msgstr ""
  29473. #. type: deftp
  29474. #: guix-git/doc/guix.texi:19668
  29475. #, no-wrap
  29476. msgid "{Data Type} upower-configuration"
  29477. msgstr ""
  29478. #. type: deftp
  29479. #: guix-git/doc/guix.texi:19670
  29480. msgid "Data type representation the configuration for UPower."
  29481. msgstr ""
  29482. #. type: item
  29483. #: guix-git/doc/guix.texi:19673
  29484. #, no-wrap
  29485. msgid "@code{upower} (default: @var{upower})"
  29486. msgstr ""
  29487. #. type: table
  29488. #: guix-git/doc/guix.texi:19675
  29489. msgid "Package to use for @code{upower}."
  29490. msgstr ""
  29491. #. type: item
  29492. #: guix-git/doc/guix.texi:19676
  29493. #, no-wrap
  29494. msgid "@code{watts-up-pro?} (default: @code{#f})"
  29495. msgstr ""
  29496. #. type: table
  29497. #: guix-git/doc/guix.texi:19678
  29498. msgid "Enable the Watts Up Pro device."
  29499. msgstr ""
  29500. #. type: item
  29501. #: guix-git/doc/guix.texi:19679
  29502. #, no-wrap
  29503. msgid "@code{poll-batteries?} (default: @code{#t})"
  29504. msgstr ""
  29505. #. type: table
  29506. #: guix-git/doc/guix.texi:19681
  29507. msgid "Enable polling the kernel for battery level changes."
  29508. msgstr ""
  29509. #. type: item
  29510. #: guix-git/doc/guix.texi:19682
  29511. #, no-wrap
  29512. msgid "@code{ignore-lid?} (default: @code{#f})"
  29513. msgstr ""
  29514. #. type: table
  29515. #: guix-git/doc/guix.texi:19684
  29516. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  29517. msgstr ""
  29518. #. type: item
  29519. #: guix-git/doc/guix.texi:19685
  29520. #, no-wrap
  29521. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  29522. msgstr ""
  29523. #. type: table
  29524. #: guix-git/doc/guix.texi:19688
  29525. 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."
  29526. msgstr ""
  29527. #. type: item
  29528. #: guix-git/doc/guix.texi:19689
  29529. #, no-wrap
  29530. msgid "@code{percentage-low} (default: @code{10})"
  29531. msgstr ""
  29532. #. type: table
  29533. #: guix-git/doc/guix.texi:19692
  29534. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  29535. msgstr ""
  29536. #. type: item
  29537. #: guix-git/doc/guix.texi:19693
  29538. #, no-wrap
  29539. msgid "@code{percentage-critical} (default: @code{3})"
  29540. msgstr ""
  29541. #. type: table
  29542. #: guix-git/doc/guix.texi:19696
  29543. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  29544. msgstr ""
  29545. #. type: item
  29546. #: guix-git/doc/guix.texi:19697
  29547. #, no-wrap
  29548. msgid "@code{percentage-action} (default: @code{2})"
  29549. msgstr ""
  29550. #. type: table
  29551. #: guix-git/doc/guix.texi:19700
  29552. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  29553. msgstr ""
  29554. #. type: item
  29555. #: guix-git/doc/guix.texi:19701
  29556. #, no-wrap
  29557. msgid "@code{time-low} (default: @code{1200})"
  29558. msgstr ""
  29559. #. type: table
  29560. #: guix-git/doc/guix.texi:19704
  29561. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  29562. msgstr ""
  29563. #. type: item
  29564. #: guix-git/doc/guix.texi:19705
  29565. #, no-wrap
  29566. msgid "@code{time-critical} (default: @code{300})"
  29567. msgstr ""
  29568. #. type: table
  29569. #: guix-git/doc/guix.texi:19708
  29570. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  29571. msgstr ""
  29572. #. type: item
  29573. #: guix-git/doc/guix.texi:19709
  29574. #, no-wrap
  29575. msgid "@code{time-action} (default: @code{120})"
  29576. msgstr ""
  29577. #. type: table
  29578. #: guix-git/doc/guix.texi:19712
  29579. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  29580. msgstr ""
  29581. #. type: item
  29582. #: guix-git/doc/guix.texi:19713
  29583. #, no-wrap
  29584. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  29585. msgstr ""
  29586. #. type: table
  29587. #: guix-git/doc/guix.texi:19716
  29588. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  29589. msgstr ""
  29590. #. type: table
  29591. #: guix-git/doc/guix.texi:19718
  29592. msgid "Possible values are:"
  29593. msgstr ""
  29594. #. type: code{#1}
  29595. #: guix-git/doc/guix.texi:19722
  29596. msgid "'power-off"
  29597. msgstr ""
  29598. #. type: code{#1}
  29599. #: guix-git/doc/guix.texi:19725
  29600. msgid "'hibernate"
  29601. msgstr ""
  29602. #. type: itemize
  29603. #: guix-git/doc/guix.texi:19728
  29604. msgid "@code{'hybrid-sleep}."
  29605. msgstr ""
  29606. #. type: deffn
  29607. #: guix-git/doc/guix.texi:19733
  29608. #, no-wrap
  29609. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  29610. msgstr ""
  29611. #. type: deffn
  29612. #: guix-git/doc/guix.texi:19743
  29613. 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."
  29614. msgstr ""
  29615. #. type: deffn
  29616. #: guix-git/doc/guix.texi:19745
  29617. #, no-wrap
  29618. msgid "{Scheme Variable} colord-service-type"
  29619. msgstr ""
  29620. #. type: deffn
  29621. #: guix-git/doc/guix.texi:19752
  29622. 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."
  29623. msgstr ""
  29624. #. type: cindex
  29625. #: guix-git/doc/guix.texi:19754
  29626. #, no-wrap
  29627. msgid "scanner access"
  29628. msgstr ""
  29629. #. type: defvr
  29630. #: guix-git/doc/guix.texi:19755
  29631. #, no-wrap
  29632. msgid "{Scheme Variable} sane-service-type"
  29633. msgstr ""
  29634. #. type: defvr
  29635. #: guix-git/doc/guix.texi:19761
  29636. 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."
  29637. msgstr ""
  29638. #. type: defvr
  29639. #: guix-git/doc/guix.texi:19763
  29640. #, no-wrap
  29641. msgid "{Scheme Variable} sane-backends-minimal"
  29642. msgstr ""
  29643. #. type: defvr
  29644. #: guix-git/doc/guix.texi:19766
  29645. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  29646. msgstr ""
  29647. #. type: defvr
  29648. #: guix-git/doc/guix.texi:19768
  29649. #, no-wrap
  29650. msgid "{Scheme Variable} sane-backends"
  29651. msgstr ""
  29652. #. type: defvr
  29653. #: guix-git/doc/guix.texi:19775
  29654. 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:"
  29655. msgstr ""
  29656. #. type: lisp
  29657. #: guix-git/doc/guix.texi:19784
  29658. #, no-wrap
  29659. msgid ""
  29660. "(use-modules (gnu))\n"
  29661. "(use-service-modules\n"
  29662. " @dots{}\n"
  29663. " desktop)\n"
  29664. "(use-package-modules\n"
  29665. " @dots{}\n"
  29666. " scanner)\n"
  29667. "\n"
  29668. msgstr ""
  29669. #. type: lisp
  29670. #: guix-git/doc/guix.texi:19789
  29671. #, no-wrap
  29672. msgid ""
  29673. "(define %my-desktop-services\n"
  29674. " ;; List of desktop services that supports a broader range of scanners.\n"
  29675. " (modify-services %desktop-services\n"
  29676. " (sane-service-type _ => sane-backends)))\n"
  29677. "\n"
  29678. msgstr ""
  29679. #. type: lisp
  29680. #: guix-git/doc/guix.texi:19793
  29681. #, no-wrap
  29682. msgid ""
  29683. "(operating-system\n"
  29684. " @dots{}\n"
  29685. " (services %my-desktop-services)\n"
  29686. msgstr ""
  29687. #. type: deffn
  29688. #: guix-git/doc/guix.texi:19796
  29689. #, no-wrap
  29690. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  29691. msgstr ""
  29692. #. type: deffn
  29693. #: guix-git/doc/guix.texi:19805
  29694. 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."
  29695. msgstr ""
  29696. #. type: defvr
  29697. #: guix-git/doc/guix.texi:19807
  29698. #, no-wrap
  29699. msgid "{Scheme Variable} %standard-geoclue-applications"
  29700. msgstr ""
  29701. #. type: defvr
  29702. #: guix-git/doc/guix.texi:19814
  29703. 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."
  29704. msgstr ""
  29705. #. type: deffn
  29706. #: guix-git/doc/guix.texi:19816
  29707. #, no-wrap
  29708. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  29709. msgstr ""
  29710. #. type: deffn
  29711. #: guix-git/doc/guix.texi:19829
  29712. 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."
  29713. msgstr ""
  29714. #. type: deffn
  29715. #: guix-git/doc/guix.texi:19831
  29716. #, no-wrap
  29717. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  29718. msgstr ""
  29719. #. type: deffn
  29720. #: guix-git/doc/guix.texi:19838
  29721. 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."
  29722. msgstr ""
  29723. #. type: deffn
  29724. #: guix-git/doc/guix.texi:19840
  29725. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  29726. msgstr ""
  29727. #. type: defvr
  29728. #: guix-git/doc/guix.texi:19842
  29729. #, no-wrap
  29730. msgid "{Scheme Variable} gnome-keyring-service-type"
  29731. msgstr ""
  29732. #. type: defvr
  29733. #: guix-git/doc/guix.texi:19846
  29734. 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)."
  29735. msgstr ""
  29736. #. type: defvr
  29737. #: guix-git/doc/guix.texi:19850
  29738. 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."
  29739. msgstr ""
  29740. #. type: deftp
  29741. #: guix-git/doc/guix.texi:19852
  29742. #, no-wrap
  29743. msgid "{Data Type} gnome-keyring-configuration"
  29744. msgstr ""
  29745. #. type: deftp
  29746. #: guix-git/doc/guix.texi:19854
  29747. msgid "Configuration record for the GNOME Keyring service."
  29748. msgstr ""
  29749. #. type: item
  29750. #: guix-git/doc/guix.texi:19856
  29751. #, no-wrap
  29752. msgid "@code{keyring} (default: @code{gnome-keyring})"
  29753. msgstr ""
  29754. #. type: table
  29755. #: guix-git/doc/guix.texi:19858
  29756. msgid "The GNOME keyring package to use."
  29757. msgstr ""
  29758. #. type: code{#1}
  29759. #: guix-git/doc/guix.texi:19859
  29760. #, no-wrap
  29761. msgid "pam-services"
  29762. msgstr ""
  29763. #. type: table
  29764. #: guix-git/doc/guix.texi:19864
  29765. 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}."
  29766. msgstr ""
  29767. #. type: table
  29768. #: guix-git/doc/guix.texi:19870
  29769. 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."
  29770. msgstr ""
  29771. #. type: table
  29772. #: guix-git/doc/guix.texi:19873
  29773. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  29774. msgstr ""
  29775. #. type: cindex
  29776. #: guix-git/doc/guix.texi:19880
  29777. #, no-wrap
  29778. msgid "sound support"
  29779. msgstr ""
  29780. #. type: cindex
  29781. #: guix-git/doc/guix.texi:19881
  29782. #, no-wrap
  29783. msgid "ALSA"
  29784. msgstr ""
  29785. #. type: cindex
  29786. #: guix-git/doc/guix.texi:19882
  29787. #, no-wrap
  29788. msgid "PulseAudio, sound support"
  29789. msgstr ""
  29790. #. type: Plain text
  29791. #: guix-git/doc/guix.texi:19887
  29792. 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."
  29793. msgstr ""
  29794. #. type: deffn
  29795. #: guix-git/doc/guix.texi:19888
  29796. #, no-wrap
  29797. msgid "{Scheme Variable} alsa-service-type"
  29798. msgstr ""
  29799. #. type: deffn
  29800. #: guix-git/doc/guix.texi:19893
  29801. 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:"
  29802. msgstr ""
  29803. #. type: lisp
  29804. #: guix-git/doc/guix.texi:19896
  29805. #, no-wrap
  29806. msgid "(service alsa-service-type)\n"
  29807. msgstr ""
  29808. #. type: deffn
  29809. #: guix-git/doc/guix.texi:19899
  29810. msgid "See below for details about @code{alsa-configuration}."
  29811. msgstr ""
  29812. #. type: deftp
  29813. #: guix-git/doc/guix.texi:19901
  29814. #, no-wrap
  29815. msgid "{Data Type} alsa-configuration"
  29816. msgstr ""
  29817. #. type: deftp
  29818. #: guix-git/doc/guix.texi:19903
  29819. msgid "Data type representing the configuration for @code{alsa-service}."
  29820. msgstr ""
  29821. #. type: item
  29822. #: guix-git/doc/guix.texi:19905
  29823. #, no-wrap
  29824. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  29825. msgstr ""
  29826. #. type: table
  29827. #: guix-git/doc/guix.texi:19907
  29828. msgid "@code{alsa-plugins} package to use."
  29829. msgstr ""
  29830. #. type: item
  29831. #: guix-git/doc/guix.texi:19908
  29832. #, no-wrap
  29833. msgid "@code{pulseaudio?} (default: @var{#t})"
  29834. msgstr ""
  29835. #. type: table
  29836. #: guix-git/doc/guix.texi:19911
  29837. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  29838. msgstr ""
  29839. #. type: table
  29840. #: guix-git/doc/guix.texi:19915
  29841. 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."
  29842. msgstr ""
  29843. #. type: item
  29844. #: guix-git/doc/guix.texi:19916
  29845. #, no-wrap
  29846. msgid "@code{extra-options} (default: @var{\"\"})"
  29847. msgstr ""
  29848. #. type: table
  29849. #: guix-git/doc/guix.texi:19918
  29850. msgid "String to append to the @file{/etc/asound.conf} file."
  29851. msgstr ""
  29852. #. type: Plain text
  29853. #: guix-git/doc/guix.texi:19924
  29854. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  29855. msgstr ""
  29856. #. type: example
  29857. #: guix-git/doc/guix.texi:19930
  29858. #, no-wrap
  29859. msgid ""
  29860. "# In guix, we have to specify the absolute path for plugins.\n"
  29861. "pcm_type.jack @{\n"
  29862. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  29863. "@}\n"
  29864. "\n"
  29865. msgstr ""
  29866. #. type: example
  29867. #: guix-git/doc/guix.texi:19939
  29868. #, no-wrap
  29869. msgid ""
  29870. "# Routing ALSA to jack:\n"
  29871. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  29872. "pcm.rawjack @{\n"
  29873. " type jack\n"
  29874. " playback_ports @{\n"
  29875. " 0 system:playback_1\n"
  29876. " 1 system:playback_2\n"
  29877. " @}\n"
  29878. "\n"
  29879. msgstr ""
  29880. #. type: example
  29881. #: guix-git/doc/guix.texi:19945
  29882. #, no-wrap
  29883. msgid ""
  29884. " capture_ports @{\n"
  29885. " 0 system:capture_1\n"
  29886. " 1 system:capture_2\n"
  29887. " @}\n"
  29888. "@}\n"
  29889. "\n"
  29890. msgstr ""
  29891. #. type: example
  29892. #: guix-git/doc/guix.texi:19952
  29893. #, no-wrap
  29894. msgid ""
  29895. "pcm.!default @{\n"
  29896. " type plug\n"
  29897. " slave @{\n"
  29898. " pcm \"rawjack\"\n"
  29899. " @}\n"
  29900. "@}\n"
  29901. msgstr ""
  29902. #. type: Plain text
  29903. #: guix-git/doc/guix.texi:19956
  29904. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  29905. msgstr ""
  29906. #. type: deffn
  29907. #: guix-git/doc/guix.texi:19957
  29908. #, no-wrap
  29909. msgid "{Scheme Variable} pulseaudio-service-type"
  29910. msgstr ""
  29911. #. type: deffn
  29912. #: guix-git/doc/guix.texi:19961
  29913. 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."
  29914. msgstr ""
  29915. #. type: quotation
  29916. #: guix-git/doc/guix.texi:19967
  29917. 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}."
  29918. msgstr ""
  29919. #. type: quotation
  29920. #: guix-git/doc/guix.texi:19975
  29921. 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."
  29922. msgstr ""
  29923. #. type: deftp
  29924. #: guix-git/doc/guix.texi:19978
  29925. #, no-wrap
  29926. msgid "{Data Type} pulseaudio-configuration"
  29927. msgstr ""
  29928. #. type: deftp
  29929. #: guix-git/doc/guix.texi:19980
  29930. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  29931. msgstr ""
  29932. #. type: item
  29933. #: guix-git/doc/guix.texi:19982
  29934. #, no-wrap
  29935. msgid "@code{client-conf} (default: @code{'()})"
  29936. msgstr ""
  29937. #. type: table
  29938. #: guix-git/doc/guix.texi:19987
  29939. 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."
  29940. msgstr ""
  29941. #. type: item
  29942. #: guix-git/doc/guix.texi:19988
  29943. #, no-wrap
  29944. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  29945. msgstr ""
  29946. #. type: table
  29947. #: guix-git/doc/guix.texi:19991
  29948. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  29949. msgstr ""
  29950. #. type: item
  29951. #: guix-git/doc/guix.texi:19992
  29952. #, no-wrap
  29953. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  29954. msgstr ""
  29955. #. type: table
  29956. #: guix-git/doc/guix.texi:19994
  29957. msgid "Script file to use as @file{default.pa}."
  29958. msgstr ""
  29959. #. type: item
  29960. #: guix-git/doc/guix.texi:19995
  29961. #, no-wrap
  29962. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  29963. msgstr ""
  29964. #. type: table
  29965. #: guix-git/doc/guix.texi:19997
  29966. msgid "Script file to use as @file{system.pa}."
  29967. msgstr ""
  29968. #. type: deffn
  29969. #: guix-git/doc/guix.texi:20000
  29970. #, no-wrap
  29971. msgid "{Scheme Variable} ladspa-service-type"
  29972. msgstr ""
  29973. #. type: deffn
  29974. #: guix-git/doc/guix.texi:20003
  29975. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  29976. msgstr ""
  29977. #. type: deffn
  29978. #: guix-git/doc/guix.texi:20006
  29979. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  29980. msgstr ""
  29981. #. type: lisp
  29982. #: guix-git/doc/guix.texi:20010
  29983. #, no-wrap
  29984. msgid ""
  29985. "(service ladspa-service-type\n"
  29986. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  29987. msgstr ""
  29988. #. type: deffn
  29989. #: guix-git/doc/guix.texi:20014
  29990. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  29991. msgstr ""
  29992. #. type: cindex
  29993. #: guix-git/doc/guix.texi:20021
  29994. #, no-wrap
  29995. msgid "SQL"
  29996. msgstr ""
  29997. #. type: Plain text
  29998. #: guix-git/doc/guix.texi:20023
  29999. msgid "The @code{(gnu services databases)} module provides the following services."
  30000. msgstr ""
  30001. #. type: subsubheading
  30002. #: guix-git/doc/guix.texi:20024
  30003. #, no-wrap
  30004. msgid "PostgreSQL"
  30005. msgstr ""
  30006. #. type: Plain text
  30007. #: guix-git/doc/guix.texi:20028
  30008. msgid "The following example describes a PostgreSQL service with the default configuration."
  30009. msgstr ""
  30010. #. type: lisp
  30011. #: guix-git/doc/guix.texi:20033
  30012. #, no-wrap
  30013. msgid ""
  30014. "(service postgresql-service-type\n"
  30015. " (postgresql-configuration\n"
  30016. " (postgresql postgresql-10)))\n"
  30017. msgstr ""
  30018. #. type: Plain text
  30019. #: guix-git/doc/guix.texi:20039
  30020. 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."
  30021. msgstr ""
  30022. #. type: Plain text
  30023. #: guix-git/doc/guix.texi:20046
  30024. 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."
  30025. msgstr ""
  30026. #. type: example
  30027. #: guix-git/doc/guix.texi:20051
  30028. #, no-wrap
  30029. msgid ""
  30030. "sudo -u postgres -s /bin/sh\n"
  30031. "createuser --interactive\n"
  30032. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  30033. msgstr ""
  30034. #. type: deftp
  30035. #: guix-git/doc/guix.texi:20053
  30036. #, no-wrap
  30037. msgid "{Data Type} postgresql-configuration"
  30038. msgstr ""
  30039. #. type: deftp
  30040. #: guix-git/doc/guix.texi:20056
  30041. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  30042. msgstr ""
  30043. #. type: code{#1}
  30044. #: guix-git/doc/guix.texi:20058
  30045. #, no-wrap
  30046. msgid "postgresql"
  30047. msgstr ""
  30048. #. type: table
  30049. #: guix-git/doc/guix.texi:20060
  30050. msgid "PostgreSQL package to use for the service."
  30051. msgstr ""
  30052. #. type: item
  30053. #: guix-git/doc/guix.texi:20061
  30054. #, no-wrap
  30055. msgid "@code{port} (default: @code{5432})"
  30056. msgstr ""
  30057. #. type: table
  30058. #: guix-git/doc/guix.texi:20063
  30059. msgid "Port on which PostgreSQL should listen."
  30060. msgstr ""
  30061. #. type: table
  30062. #: guix-git/doc/guix.texi:20066
  30063. msgid "Locale to use as the default when creating the database cluster."
  30064. msgstr ""
  30065. #. type: item
  30066. #: guix-git/doc/guix.texi:20067
  30067. #, no-wrap
  30068. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  30069. msgstr ""
  30070. #. type: table
  30071. #: guix-git/doc/guix.texi:20071
  30072. 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."
  30073. msgstr ""
  30074. #. type: item
  30075. #: guix-git/doc/guix.texi:20072
  30076. #, no-wrap
  30077. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  30078. msgstr ""
  30079. #. type: table
  30080. #: guix-git/doc/guix.texi:20076
  30081. 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."
  30082. msgstr ""
  30083. #. type: item
  30084. #: guix-git/doc/guix.texi:20077
  30085. #, no-wrap
  30086. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  30087. msgstr ""
  30088. #. type: table
  30089. #: guix-git/doc/guix.texi:20079
  30090. msgid "Directory in which to store the data."
  30091. msgstr ""
  30092. #. type: item
  30093. #: guix-git/doc/guix.texi:20080
  30094. #, no-wrap
  30095. msgid "@code{extension-packages} (default: @code{'()})"
  30096. msgstr ""
  30097. #. type: cindex
  30098. #: guix-git/doc/guix.texi:20081
  30099. #, no-wrap
  30100. msgid "postgresql extension-packages"
  30101. msgstr ""
  30102. #. type: table
  30103. #: guix-git/doc/guix.texi:20086
  30104. 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:"
  30105. msgstr ""
  30106. #. type: cindex
  30107. #: guix-git/doc/guix.texi:20087
  30108. #, no-wrap
  30109. msgid "postgis"
  30110. msgstr ""
  30111. #. type: lisp
  30112. #: guix-git/doc/guix.texi:20090
  30113. #, no-wrap
  30114. msgid ""
  30115. "(use-package-modules databases geo)\n"
  30116. "\n"
  30117. msgstr ""
  30118. #. type: lisp
  30119. #: guix-git/doc/guix.texi:20103
  30120. #, no-wrap
  30121. msgid ""
  30122. "(operating-system\n"
  30123. " ...\n"
  30124. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  30125. " ;; proper operation.\n"
  30126. " (packages (cons* postgresql %base-packages))\n"
  30127. " (services\n"
  30128. " (cons*\n"
  30129. " (service postgresql-service-type\n"
  30130. " (postgresql-configuration\n"
  30131. " (postgresql postgresql-10)\n"
  30132. " (extension-packages (list postgis))))\n"
  30133. " %base-services)))\n"
  30134. msgstr ""
  30135. #. type: table
  30136. #: guix-git/doc/guix.texi:20107
  30137. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  30138. msgstr ""
  30139. #. type: example
  30140. #: guix-git/doc/guix.texi:20114
  30141. #, no-wrap
  30142. msgid ""
  30143. "psql -U postgres\n"
  30144. "> create database postgistest;\n"
  30145. "> \\connect postgistest;\n"
  30146. "> create extension postgis;\n"
  30147. "> create extension postgis_topology;\n"
  30148. msgstr ""
  30149. #. type: table
  30150. #: guix-git/doc/guix.texi:20119
  30151. 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."
  30152. msgstr ""
  30153. #. type: deftp
  30154. #: guix-git/doc/guix.texi:20123
  30155. #, no-wrap
  30156. msgid "{Data Type} postgresql-config-file"
  30157. msgstr ""
  30158. #. type: deftp
  30159. #: guix-git/doc/guix.texi:20129
  30160. 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."
  30161. msgstr ""
  30162. #. type: lisp
  30163. #: guix-git/doc/guix.texi:20149
  30164. #, no-wrap
  30165. msgid ""
  30166. "(service postgresql-service-type\n"
  30167. " (postgresql-configuration\n"
  30168. " (config-file\n"
  30169. " (postgresql-config-file\n"
  30170. " (log-destination \"stderr\")\n"
  30171. " (hba-file\n"
  30172. " (plain-file \"pg_hba.conf\"\n"
  30173. " \"\n"
  30174. "local\tall\tall\t\t\ttrust\n"
  30175. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  30176. "host\tall\tall\t::1/128 \tmd5\"))\n"
  30177. " (extra-config\n"
  30178. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  30179. " (\"random_page_cost\" 2)\n"
  30180. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  30181. " (\"work_mem\" \"500 MB\")\n"
  30182. " (\"logging_collector\" #t)\n"
  30183. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  30184. msgstr ""
  30185. #. type: item
  30186. #: guix-git/doc/guix.texi:20152
  30187. #, no-wrap
  30188. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  30189. msgstr ""
  30190. #. type: table
  30191. #: guix-git/doc/guix.texi:20155
  30192. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  30193. msgstr ""
  30194. #. type: item
  30195. #: guix-git/doc/guix.texi:20156
  30196. #, no-wrap
  30197. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  30198. msgstr ""
  30199. #. type: table
  30200. #: guix-git/doc/guix.texi:20159
  30201. msgid "Filename or G-expression for the host-based authentication configuration."
  30202. msgstr ""
  30203. #. type: item
  30204. #: guix-git/doc/guix.texi:20160
  30205. #, no-wrap
  30206. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  30207. msgstr ""
  30208. #. type: table
  30209. #: guix-git/doc/guix.texi:20162
  30210. msgid "Filename or G-expression for the user name mapping configuration."
  30211. msgstr ""
  30212. #. type: item
  30213. #: guix-git/doc/guix.texi:20163
  30214. #, no-wrap
  30215. msgid "@code{socket-directory} (default: @code{#false})"
  30216. msgstr ""
  30217. #. type: table
  30218. #: guix-git/doc/guix.texi:20168
  30219. 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."
  30220. msgstr ""
  30221. #. type: table
  30222. #: guix-git/doc/guix.texi:20171
  30223. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  30224. msgstr ""
  30225. #. type: table
  30226. #: guix-git/doc/guix.texi:20176
  30227. 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."
  30228. msgstr ""
  30229. #. type: table
  30230. #: guix-git/doc/guix.texi:20182
  30231. 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}."
  30232. msgstr ""
  30233. #. type: deffn
  30234. #: guix-git/doc/guix.texi:20186
  30235. #, no-wrap
  30236. msgid "{Scheme Variable} postgresql-role-service-type"
  30237. msgstr ""
  30238. #. type: deffn
  30239. #: guix-git/doc/guix.texi:20189
  30240. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  30241. msgstr ""
  30242. #. type: lisp
  30243. #: guix-git/doc/guix.texi:20197
  30244. #, no-wrap
  30245. msgid ""
  30246. "(service postgresql-role-service-type\n"
  30247. " (postgresql-role-configuration\n"
  30248. " (roles\n"
  30249. " (list (postgresql-role\n"
  30250. " (name \"test\")\n"
  30251. " (create-database? #t))))))\n"
  30252. msgstr ""
  30253. #. type: deffn
  30254. #: guix-git/doc/guix.texi:20201
  30255. msgid "This service can be extended with extra roles, as in this example:"
  30256. msgstr ""
  30257. #. type: lisp
  30258. #: guix-git/doc/guix.texi:20207
  30259. #, no-wrap
  30260. msgid ""
  30261. "(service-extension postgresql-role-service-type\n"
  30262. " (const (postgresql-role\n"
  30263. " (name \"alice\")\n"
  30264. " (create-database? #t))))\n"
  30265. msgstr ""
  30266. #. type: deftp
  30267. #: guix-git/doc/guix.texi:20210
  30268. #, no-wrap
  30269. msgid "{Data Type} postgresql-role"
  30270. msgstr ""
  30271. #. type: deftp
  30272. #: guix-git/doc/guix.texi:20216
  30273. 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."
  30274. msgstr ""
  30275. #. type: table
  30276. #: guix-git/doc/guix.texi:20220
  30277. msgid "The role name."
  30278. msgstr ""
  30279. #. type: item
  30280. #: guix-git/doc/guix.texi:20221
  30281. #, no-wrap
  30282. msgid "@code{permissions} (default: @code{'(createdb login)})"
  30283. msgstr ""
  30284. #. type: table
  30285. #: guix-git/doc/guix.texi:20225
  30286. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  30287. msgstr ""
  30288. #. type: item
  30289. #: guix-git/doc/guix.texi:20226
  30290. #, no-wrap
  30291. msgid "@code{create-database?} (default: @code{#f})"
  30292. msgstr ""
  30293. #. type: table
  30294. #: guix-git/doc/guix.texi:20228
  30295. msgid "Whether to create a database with the same name as the role."
  30296. msgstr ""
  30297. #. type: deftp
  30298. #: guix-git/doc/guix.texi:20232
  30299. #, no-wrap
  30300. msgid "{Data Type} postgresql-role-configuration"
  30301. msgstr ""
  30302. #. type: deftp
  30303. #: guix-git/doc/guix.texi:20235
  30304. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  30305. msgstr ""
  30306. #. type: item
  30307. #: guix-git/doc/guix.texi:20237
  30308. #, no-wrap
  30309. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  30310. msgstr ""
  30311. #. type: table
  30312. #: guix-git/doc/guix.texi:20239
  30313. msgid "The PostgreSQL host to connect to."
  30314. msgstr ""
  30315. #. type: item
  30316. #: guix-git/doc/guix.texi:20240
  30317. #, no-wrap
  30318. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  30319. msgstr ""
  30320. #. type: table
  30321. #: guix-git/doc/guix.texi:20242
  30322. msgid "File name of the log file."
  30323. msgstr ""
  30324. #. type: item
  30325. #: guix-git/doc/guix.texi:20243
  30326. #, no-wrap
  30327. msgid "@code{roles} (default: @code{'()})"
  30328. msgstr ""
  30329. #. type: table
  30330. #: guix-git/doc/guix.texi:20245
  30331. msgid "The initial PostgreSQL roles to create."
  30332. msgstr ""
  30333. #. type: subsubheading
  30334. #: guix-git/doc/guix.texi:20248
  30335. #, no-wrap
  30336. msgid "MariaDB/MySQL"
  30337. msgstr ""
  30338. #. type: defvr
  30339. #: guix-git/doc/guix.texi:20250
  30340. #, no-wrap
  30341. msgid "{Scheme Variable} mysql-service-type"
  30342. msgstr ""
  30343. #. type: defvr
  30344. #: guix-git/doc/guix.texi:20254
  30345. 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."
  30346. msgstr ""
  30347. #. type: deftp
  30348. #: guix-git/doc/guix.texi:20256
  30349. #, no-wrap
  30350. msgid "{Data Type} mysql-configuration"
  30351. msgstr ""
  30352. #. type: deftp
  30353. #: guix-git/doc/guix.texi:20258
  30354. msgid "Data type representing the configuration of @var{mysql-service-type}."
  30355. msgstr ""
  30356. #. type: item
  30357. #: guix-git/doc/guix.texi:20260
  30358. #, no-wrap
  30359. msgid "@code{mysql} (default: @var{mariadb})"
  30360. msgstr ""
  30361. #. type: table
  30362. #: guix-git/doc/guix.texi:20263
  30363. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  30364. msgstr ""
  30365. #. type: table
  30366. #: guix-git/doc/guix.texi:20266
  30367. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  30368. msgstr ""
  30369. #. type: item
  30370. #: guix-git/doc/guix.texi:20267 guix-git/doc/guix.texi:24087
  30371. #, no-wrap
  30372. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  30373. msgstr ""
  30374. #. type: table
  30375. #: guix-git/doc/guix.texi:20270
  30376. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  30377. msgstr ""
  30378. #. type: item
  30379. #: guix-git/doc/guix.texi:20271
  30380. #, no-wrap
  30381. msgid "@code{port} (default: @code{3306})"
  30382. msgstr ""
  30383. #. type: table
  30384. #: guix-git/doc/guix.texi:20273
  30385. msgid "TCP port on which the database server listens for incoming connections."
  30386. msgstr ""
  30387. #. type: item
  30388. #: guix-git/doc/guix.texi:20274
  30389. #, no-wrap
  30390. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  30391. msgstr ""
  30392. #. type: table
  30393. #: guix-git/doc/guix.texi:20276
  30394. msgid "Socket file to use for local (non-network) connections."
  30395. msgstr ""
  30396. #. type: table
  30397. #: guix-git/doc/guix.texi:20279
  30398. msgid "Additional settings for the @file{my.cnf} configuration file."
  30399. msgstr ""
  30400. #. type: item
  30401. #: guix-git/doc/guix.texi:20280
  30402. #, no-wrap
  30403. msgid "@code{extra-environment} (default: @code{#~'()})"
  30404. msgstr ""
  30405. #. type: table
  30406. #: guix-git/doc/guix.texi:20282
  30407. msgid "List of environment variables passed to the @command{mysqld} process."
  30408. msgstr ""
  30409. #. type: item
  30410. #: guix-git/doc/guix.texi:20283
  30411. #, no-wrap
  30412. msgid "@code{auto-upgrade?} (default: @code{#t})"
  30413. msgstr ""
  30414. #. type: table
  30415. #: guix-git/doc/guix.texi:20288
  30416. 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."
  30417. msgstr ""
  30418. #. type: subsubheading
  30419. #: guix-git/doc/guix.texi:20292
  30420. #, no-wrap
  30421. msgid "Memcached"
  30422. msgstr ""
  30423. #. type: defvr
  30424. #: guix-git/doc/guix.texi:20294
  30425. #, no-wrap
  30426. msgid "{Scheme Variable} memcached-service-type"
  30427. msgstr ""
  30428. #. type: defvr
  30429. #: guix-git/doc/guix.texi:20298
  30430. 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."
  30431. msgstr ""
  30432. #. type: lisp
  30433. #: guix-git/doc/guix.texi:20302
  30434. #, no-wrap
  30435. msgid "(service memcached-service-type)\n"
  30436. msgstr ""
  30437. #. type: deftp
  30438. #: guix-git/doc/guix.texi:20304
  30439. #, no-wrap
  30440. msgid "{Data Type} memcached-configuration"
  30441. msgstr ""
  30442. #. type: deftp
  30443. #: guix-git/doc/guix.texi:20306
  30444. msgid "Data type representing the configuration of memcached."
  30445. msgstr ""
  30446. #. type: item
  30447. #: guix-git/doc/guix.texi:20308
  30448. #, no-wrap
  30449. msgid "@code{memcached} (default: @code{memcached})"
  30450. msgstr ""
  30451. #. type: table
  30452. #: guix-git/doc/guix.texi:20310
  30453. msgid "The Memcached package to use."
  30454. msgstr ""
  30455. #. type: item
  30456. #: guix-git/doc/guix.texi:20311
  30457. #, no-wrap
  30458. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  30459. msgstr ""
  30460. #. type: table
  30461. #: guix-git/doc/guix.texi:20313
  30462. msgid "Network interfaces on which to listen."
  30463. msgstr ""
  30464. #. type: item
  30465. #: guix-git/doc/guix.texi:20314
  30466. #, no-wrap
  30467. msgid "@code{tcp-port} (default: @code{11211})"
  30468. msgstr ""
  30469. #. type: table
  30470. #: guix-git/doc/guix.texi:20316
  30471. msgid "Port on which to accept connections."
  30472. msgstr ""
  30473. #. type: item
  30474. #: guix-git/doc/guix.texi:20317
  30475. #, no-wrap
  30476. msgid "@code{udp-port} (default: @code{11211})"
  30477. msgstr ""
  30478. #. type: table
  30479. #: guix-git/doc/guix.texi:20320
  30480. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  30481. msgstr ""
  30482. #. type: item
  30483. #: guix-git/doc/guix.texi:20321
  30484. #, no-wrap
  30485. msgid "@code{additional-options} (default: @code{'()})"
  30486. msgstr ""
  30487. #. type: table
  30488. #: guix-git/doc/guix.texi:20323
  30489. msgid "Additional command line options to pass to @code{memcached}."
  30490. msgstr ""
  30491. #. type: subsubheading
  30492. #: guix-git/doc/guix.texi:20326
  30493. #, no-wrap
  30494. msgid "Redis"
  30495. msgstr ""
  30496. #. type: defvr
  30497. #: guix-git/doc/guix.texi:20328
  30498. #, no-wrap
  30499. msgid "{Scheme Variable} redis-service-type"
  30500. msgstr ""
  30501. #. type: defvr
  30502. #: guix-git/doc/guix.texi:20331
  30503. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  30504. msgstr ""
  30505. #. type: deftp
  30506. #: guix-git/doc/guix.texi:20333
  30507. #, no-wrap
  30508. msgid "{Data Type} redis-configuration"
  30509. msgstr ""
  30510. #. type: deftp
  30511. #: guix-git/doc/guix.texi:20335
  30512. msgid "Data type representing the configuration of redis."
  30513. msgstr ""
  30514. #. type: item
  30515. #: guix-git/doc/guix.texi:20337
  30516. #, no-wrap
  30517. msgid "@code{redis} (default: @code{redis})"
  30518. msgstr ""
  30519. #. type: table
  30520. #: guix-git/doc/guix.texi:20339
  30521. msgid "The Redis package to use."
  30522. msgstr ""
  30523. #. type: item
  30524. #: guix-git/doc/guix.texi:20340
  30525. #, no-wrap
  30526. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  30527. msgstr ""
  30528. #. type: table
  30529. #: guix-git/doc/guix.texi:20342
  30530. msgid "Network interface on which to listen."
  30531. msgstr ""
  30532. #. type: item
  30533. #: guix-git/doc/guix.texi:20343
  30534. #, no-wrap
  30535. msgid "@code{port} (default: @code{6379})"
  30536. msgstr ""
  30537. #. type: table
  30538. #: guix-git/doc/guix.texi:20346
  30539. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  30540. msgstr ""
  30541. #. type: item
  30542. #: guix-git/doc/guix.texi:20347
  30543. #, no-wrap
  30544. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  30545. msgstr ""
  30546. #. type: table
  30547. #: guix-git/doc/guix.texi:20349
  30548. msgid "Directory in which to store the database and related files."
  30549. msgstr ""
  30550. #. type: cindex
  30551. #: guix-git/doc/guix.texi:20355
  30552. #, no-wrap
  30553. msgid "mail"
  30554. msgstr ""
  30555. #. type: cindex
  30556. #: guix-git/doc/guix.texi:20356
  30557. #, no-wrap
  30558. msgid "email"
  30559. msgstr ""
  30560. #. type: Plain text
  30561. #: guix-git/doc/guix.texi:20361
  30562. 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."
  30563. msgstr ""
  30564. #. type: subsubheading
  30565. #: guix-git/doc/guix.texi:20362
  30566. #, no-wrap
  30567. msgid "Dovecot Service"
  30568. msgstr ""
  30569. #. type: deffn
  30570. #: guix-git/doc/guix.texi:20364
  30571. #, no-wrap
  30572. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  30573. msgstr ""
  30574. #. type: deffn
  30575. #: guix-git/doc/guix.texi:20366
  30576. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  30577. msgstr ""
  30578. #. type: Plain text
  30579. #: guix-git/doc/guix.texi:20376
  30580. 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."
  30581. msgstr ""
  30582. #. type: Plain text
  30583. #: guix-git/doc/guix.texi:20379
  30584. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  30585. msgstr ""
  30586. #. type: lisp
  30587. #: guix-git/doc/guix.texi:20384
  30588. #, no-wrap
  30589. msgid ""
  30590. "(dovecot-service #:config\n"
  30591. " (dovecot-configuration\n"
  30592. " (mail-location \"maildir:~/.mail\")))\n"
  30593. msgstr ""
  30594. #. type: Plain text
  30595. #: guix-git/doc/guix.texi:20392
  30596. 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."
  30597. msgstr ""
  30598. #. type: Plain text
  30599. #: guix-git/doc/guix.texi:20402
  30600. msgid "Available @code{dovecot-configuration} fields are:"
  30601. msgstr ""
  30602. #. type: deftypevr
  30603. #: guix-git/doc/guix.texi:20403
  30604. #, no-wrap
  30605. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  30606. msgstr ""
  30607. #. type: deftypevr
  30608. #: guix-git/doc/guix.texi:20405 guix-git/doc/guix.texi:21754
  30609. msgid "The dovecot package."
  30610. msgstr ""
  30611. #. type: deftypevr
  30612. #: guix-git/doc/guix.texi:20407
  30613. #, no-wrap
  30614. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  30615. msgstr ""
  30616. #. type: deftypevr
  30617. #: guix-git/doc/guix.texi:20413
  30618. 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."
  30619. msgstr ""
  30620. #. type: deftypevr
  30621. #: guix-git/doc/guix.texi:20415
  30622. #, no-wrap
  30623. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  30624. msgstr ""
  30625. #. type: deftypevr
  30626. #: guix-git/doc/guix.texi:20418
  30627. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  30628. msgstr ""
  30629. #. type: deftypevr
  30630. #: guix-git/doc/guix.texi:20420
  30631. msgid "Available @code{protocol-configuration} fields are:"
  30632. msgstr ""
  30633. #. type: deftypevr
  30634. #: guix-git/doc/guix.texi:20421
  30635. #, no-wrap
  30636. msgid "{@code{protocol-configuration} parameter} string name"
  30637. msgstr ""
  30638. #. type: deftypevr
  30639. #: guix-git/doc/guix.texi:20423
  30640. msgid "The name of the protocol."
  30641. msgstr ""
  30642. #. type: deftypevr
  30643. #: guix-git/doc/guix.texi:20425
  30644. #, no-wrap
  30645. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  30646. msgstr ""
  30647. #. type: deftypevr
  30648. #: guix-git/doc/guix.texi:20429
  30649. 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\"}."
  30650. msgstr ""
  30651. #. type: deftypevr
  30652. #: guix-git/doc/guix.texi:20431
  30653. #, no-wrap
  30654. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  30655. msgstr ""
  30656. #. type: deftypevr
  30657. #: guix-git/doc/guix.texi:20436
  30658. 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."
  30659. msgstr ""
  30660. #. type: deftypevr
  30661. #: guix-git/doc/guix.texi:20439
  30662. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  30663. msgstr ""
  30664. #. type: deftypevr
  30665. #: guix-git/doc/guix.texi:20444
  30666. #, no-wrap
  30667. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  30668. msgstr ""
  30669. #. type: deftypevr
  30670. #: guix-git/doc/guix.texi:20449
  30671. 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."
  30672. msgstr ""
  30673. #. type: deftypevr
  30674. #: guix-git/doc/guix.texi:20453
  30675. #, no-wrap
  30676. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  30677. msgstr ""
  30678. #. type: deftypevr
  30679. #: guix-git/doc/guix.texi:20458
  30680. 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."
  30681. msgstr ""
  30682. #. type: deftypevr
  30683. #: guix-git/doc/guix.texi:20463
  30684. #, no-wrap
  30685. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  30686. msgstr ""
  30687. #. type: deftypevr
  30688. #: guix-git/doc/guix.texi:20465
  30689. msgid "Space separated list of plugins to load."
  30690. msgstr ""
  30691. #. type: deftypevr
  30692. #: guix-git/doc/guix.texi:20467
  30693. #, no-wrap
  30694. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  30695. msgstr ""
  30696. #. type: deftypevr
  30697. #: guix-git/doc/guix.texi:20471
  30698. 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}."
  30699. msgstr ""
  30700. #. type: deftypevr
  30701. #: guix-git/doc/guix.texi:20475
  30702. #, no-wrap
  30703. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  30704. msgstr ""
  30705. #. type: deftypevr
  30706. #: guix-git/doc/guix.texi:20479
  30707. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  30708. msgstr ""
  30709. #. type: deftypevr
  30710. #: guix-git/doc/guix.texi:20481
  30711. msgid "Available @code{service-configuration} fields are:"
  30712. msgstr ""
  30713. #. type: deftypevr
  30714. #: guix-git/doc/guix.texi:20482
  30715. #, no-wrap
  30716. msgid "{@code{service-configuration} parameter} string kind"
  30717. msgstr ""
  30718. #. type: deftypevr
  30719. #: guix-git/doc/guix.texi:20487
  30720. 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."
  30721. msgstr ""
  30722. #. type: deftypevr
  30723. #: guix-git/doc/guix.texi:20489
  30724. #, no-wrap
  30725. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  30726. msgstr ""
  30727. #. type: deftypevr
  30728. #: guix-git/doc/guix.texi:20494
  30729. 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{()}."
  30730. msgstr ""
  30731. #. type: deftypevr
  30732. #: guix-git/doc/guix.texi:20496
  30733. msgid "Available @code{unix-listener-configuration} fields are:"
  30734. msgstr ""
  30735. #. type: deftypevr
  30736. #: guix-git/doc/guix.texi:20497
  30737. #, no-wrap
  30738. msgid "{@code{unix-listener-configuration} parameter} string path"
  30739. msgstr ""
  30740. #. type: deftypevr
  30741. #: guix-git/doc/guix.texi:20500 guix-git/doc/guix.texi:20523
  30742. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  30743. msgstr ""
  30744. #. type: deftypevr
  30745. #: guix-git/doc/guix.texi:20502
  30746. #, no-wrap
  30747. msgid "{@code{unix-listener-configuration} parameter} string mode"
  30748. msgstr ""
  30749. #. type: deftypevr
  30750. #: guix-git/doc/guix.texi:20505 guix-git/doc/guix.texi:20528
  30751. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  30752. msgstr ""
  30753. #. type: deftypevr
  30754. #: guix-git/doc/guix.texi:20507
  30755. #, no-wrap
  30756. msgid "{@code{unix-listener-configuration} parameter} string user"
  30757. msgstr ""
  30758. #. type: deftypevr
  30759. #: guix-git/doc/guix.texi:20510 guix-git/doc/guix.texi:20533
  30760. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  30761. msgstr ""
  30762. #. type: deftypevr
  30763. #: guix-git/doc/guix.texi:20512
  30764. #, no-wrap
  30765. msgid "{@code{unix-listener-configuration} parameter} string group"
  30766. msgstr ""
  30767. #. type: deftypevr
  30768. #: guix-git/doc/guix.texi:20515 guix-git/doc/guix.texi:20538
  30769. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  30770. msgstr ""
  30771. #. type: deftypevr
  30772. #: guix-git/doc/guix.texi:20519
  30773. msgid "Available @code{fifo-listener-configuration} fields are:"
  30774. msgstr ""
  30775. #. type: deftypevr
  30776. #: guix-git/doc/guix.texi:20520
  30777. #, no-wrap
  30778. msgid "{@code{fifo-listener-configuration} parameter} string path"
  30779. msgstr ""
  30780. #. type: deftypevr
  30781. #: guix-git/doc/guix.texi:20525
  30782. #, no-wrap
  30783. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  30784. msgstr ""
  30785. #. type: deftypevr
  30786. #: guix-git/doc/guix.texi:20530
  30787. #, no-wrap
  30788. msgid "{@code{fifo-listener-configuration} parameter} string user"
  30789. msgstr ""
  30790. #. type: deftypevr
  30791. #: guix-git/doc/guix.texi:20535
  30792. #, no-wrap
  30793. msgid "{@code{fifo-listener-configuration} parameter} string group"
  30794. msgstr ""
  30795. #. type: deftypevr
  30796. #: guix-git/doc/guix.texi:20542
  30797. msgid "Available @code{inet-listener-configuration} fields are:"
  30798. msgstr ""
  30799. #. type: deftypevr
  30800. #: guix-git/doc/guix.texi:20543
  30801. #, no-wrap
  30802. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  30803. msgstr ""
  30804. #. type: deftypevr
  30805. #: guix-git/doc/guix.texi:20545
  30806. msgid "The protocol to listen for."
  30807. msgstr ""
  30808. #. type: deftypevr
  30809. #: guix-git/doc/guix.texi:20547
  30810. #, no-wrap
  30811. msgid "{@code{inet-listener-configuration} parameter} string address"
  30812. msgstr ""
  30813. #. type: deftypevr
  30814. #: guix-git/doc/guix.texi:20550
  30815. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  30816. msgstr ""
  30817. #. type: deftypevr
  30818. #: guix-git/doc/guix.texi:20552
  30819. #, no-wrap
  30820. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  30821. msgstr ""
  30822. #. type: deftypevr
  30823. #: guix-git/doc/guix.texi:20554
  30824. msgid "The port on which to listen."
  30825. msgstr ""
  30826. #. type: deftypevr
  30827. #: guix-git/doc/guix.texi:20556
  30828. #, no-wrap
  30829. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  30830. msgstr ""
  30831. #. type: deftypevr
  30832. #: guix-git/doc/guix.texi:20560
  30833. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  30834. msgstr ""
  30835. #. type: deftypevr
  30836. #: guix-git/doc/guix.texi:20564
  30837. #, no-wrap
  30838. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  30839. msgstr ""
  30840. #. type: deftypevr
  30841. #: guix-git/doc/guix.texi:20569
  30842. 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."
  30843. msgstr ""
  30844. #. type: deftypevr
  30845. #: guix-git/doc/guix.texi:20574
  30846. #, no-wrap
  30847. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  30848. msgstr ""
  30849. #. type: deftypevr
  30850. #: guix-git/doc/guix.texi:20579
  30851. 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}."
  30852. msgstr ""
  30853. #. type: deftypevr
  30854. #: guix-git/doc/guix.texi:20582
  30855. #, no-wrap
  30856. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  30857. msgstr ""
  30858. #. type: deftypevr
  30859. #: guix-git/doc/guix.texi:20585
  30860. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  30861. msgstr ""
  30862. #. type: deftypevr
  30863. #: guix-git/doc/guix.texi:20590
  30864. #, no-wrap
  30865. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  30866. msgstr ""
  30867. #. type: deftypevr
  30868. #: guix-git/doc/guix.texi:20593
  30869. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  30870. msgstr ""
  30871. #. type: deftypevr
  30872. #: guix-git/doc/guix.texi:20595
  30873. #, no-wrap
  30874. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  30875. msgstr ""
  30876. #. type: deftypevr
  30877. #: guix-git/doc/guix.texi:20599
  30878. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  30879. msgstr ""
  30880. #. type: deftypevr
  30881. #: guix-git/doc/guix.texi:20603
  30882. #, no-wrap
  30883. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  30884. msgstr ""
  30885. #. type: deftypevr
  30886. #: guix-git/doc/guix.texi:20606
  30887. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  30888. msgstr ""
  30889. #. type: deftypevr
  30890. #: guix-git/doc/guix.texi:20608
  30891. msgid "Available @code{dict-configuration} fields are:"
  30892. msgstr ""
  30893. #. type: deftypevr
  30894. #: guix-git/doc/guix.texi:20609
  30895. #, no-wrap
  30896. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  30897. msgstr ""
  30898. #. type: deftypevr
  30899. #: guix-git/doc/guix.texi:20612
  30900. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  30901. msgstr ""
  30902. #. type: deftypevr
  30903. #: guix-git/doc/guix.texi:20616
  30904. #, no-wrap
  30905. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  30906. msgstr ""
  30907. #. type: deftypevr
  30908. #: guix-git/doc/guix.texi:20619
  30909. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  30910. msgstr ""
  30911. #. type: deftypevr
  30912. #: guix-git/doc/guix.texi:20621
  30913. msgid "Available @code{passdb-configuration} fields are:"
  30914. msgstr ""
  30915. #. type: deftypevr
  30916. #: guix-git/doc/guix.texi:20622
  30917. #, no-wrap
  30918. msgid "{@code{passdb-configuration} parameter} string driver"
  30919. msgstr ""
  30920. #. type: deftypevr
  30921. #: guix-git/doc/guix.texi:20627
  30922. 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\"}."
  30923. msgstr ""
  30924. #. type: deftypevr
  30925. #: guix-git/doc/guix.texi:20629
  30926. #, no-wrap
  30927. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  30928. msgstr ""
  30929. #. type: deftypevr
  30930. #: guix-git/doc/guix.texi:20632
  30931. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  30932. msgstr ""
  30933. #. type: deftypevr
  30934. #: guix-git/doc/guix.texi:20636
  30935. #, no-wrap
  30936. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  30937. msgstr ""
  30938. #. type: deftypevr
  30939. #: guix-git/doc/guix.texi:20639
  30940. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  30941. msgstr ""
  30942. #. type: deftypevr
  30943. #: guix-git/doc/guix.texi:20641
  30944. msgid "Available @code{userdb-configuration} fields are:"
  30945. msgstr ""
  30946. #. type: deftypevr
  30947. #: guix-git/doc/guix.texi:20642
  30948. #, no-wrap
  30949. msgid "{@code{userdb-configuration} parameter} string driver"
  30950. msgstr ""
  30951. #. type: deftypevr
  30952. #: guix-git/doc/guix.texi:20646
  30953. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  30954. msgstr ""
  30955. #. type: deftypevr
  30956. #: guix-git/doc/guix.texi:20648
  30957. #, no-wrap
  30958. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  30959. msgstr ""
  30960. #. type: deftypevr
  30961. #: guix-git/doc/guix.texi:20651
  30962. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  30963. msgstr ""
  30964. #. type: deftypevr
  30965. #: guix-git/doc/guix.texi:20653
  30966. #, no-wrap
  30967. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  30968. msgstr ""
  30969. #. type: deftypevr
  30970. #: guix-git/doc/guix.texi:20656
  30971. msgid "Override fields from passwd. Defaults to @samp{()}."
  30972. msgstr ""
  30973. #. type: deftypevr
  30974. #: guix-git/doc/guix.texi:20660
  30975. #, no-wrap
  30976. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  30977. msgstr ""
  30978. #. type: deftypevr
  30979. #: guix-git/doc/guix.texi:20663
  30980. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  30981. msgstr ""
  30982. #. type: deftypevr
  30983. #: guix-git/doc/guix.texi:20665
  30984. #, no-wrap
  30985. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  30986. msgstr ""
  30987. #. type: deftypevr
  30988. #: guix-git/doc/guix.texi:20668
  30989. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  30990. msgstr ""
  30991. #. type: deftypevr
  30992. #: guix-git/doc/guix.texi:20670
  30993. msgid "Available @code{namespace-configuration} fields are:"
  30994. msgstr ""
  30995. #. type: deftypevr
  30996. #: guix-git/doc/guix.texi:20671
  30997. #, no-wrap
  30998. msgid "{@code{namespace-configuration} parameter} string name"
  30999. msgstr ""
  31000. #. type: deftypevr
  31001. #: guix-git/doc/guix.texi:20673
  31002. msgid "Name for this namespace."
  31003. msgstr ""
  31004. #. type: deftypevr
  31005. #: guix-git/doc/guix.texi:20675
  31006. #, no-wrap
  31007. msgid "{@code{namespace-configuration} parameter} string type"
  31008. msgstr ""
  31009. #. type: deftypevr
  31010. #: guix-git/doc/guix.texi:20678
  31011. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  31012. msgstr ""
  31013. #. type: deftypevr
  31014. #: guix-git/doc/guix.texi:20680
  31015. #, no-wrap
  31016. msgid "{@code{namespace-configuration} parameter} string separator"
  31017. msgstr ""
  31018. #. type: deftypevr
  31019. #: guix-git/doc/guix.texi:20686
  31020. 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{\"\"}."
  31021. msgstr ""
  31022. #. type: deftypevr
  31023. #: guix-git/doc/guix.texi:20688
  31024. #, no-wrap
  31025. msgid "{@code{namespace-configuration} parameter} string prefix"
  31026. msgstr ""
  31027. #. type: deftypevr
  31028. #: guix-git/doc/guix.texi:20692
  31029. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  31030. msgstr ""
  31031. #. type: deftypevr
  31032. #: guix-git/doc/guix.texi:20694
  31033. #, no-wrap
  31034. msgid "{@code{namespace-configuration} parameter} string location"
  31035. msgstr ""
  31036. #. type: deftypevr
  31037. #: guix-git/doc/guix.texi:20698
  31038. 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{\"\"}."
  31039. msgstr ""
  31040. #. type: deftypevr
  31041. #: guix-git/doc/guix.texi:20700
  31042. #, no-wrap
  31043. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  31044. msgstr ""
  31045. #. type: deftypevr
  31046. #: guix-git/doc/guix.texi:20704
  31047. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  31048. msgstr ""
  31049. #. type: deftypevr
  31050. #: guix-git/doc/guix.texi:20706
  31051. #, no-wrap
  31052. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  31053. msgstr ""
  31054. #. type: deftypevr
  31055. #: guix-git/doc/guix.texi:20714
  31056. 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}."
  31057. msgstr ""
  31058. #. type: deftypevr
  31059. #: guix-git/doc/guix.texi:20716
  31060. #, no-wrap
  31061. msgid "{@code{namespace-configuration} parameter} boolean list?"
  31062. msgstr ""
  31063. #. type: deftypevr
  31064. #: guix-git/doc/guix.texi:20722
  31065. 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}."
  31066. msgstr ""
  31067. #. type: deftypevr
  31068. #: guix-git/doc/guix.texi:20724
  31069. #, no-wrap
  31070. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  31071. msgstr ""
  31072. #. type: deftypevr
  31073. #: guix-git/doc/guix.texi:20729
  31074. 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}."
  31075. msgstr ""
  31076. #. type: deftypevr
  31077. #: guix-git/doc/guix.texi:20731
  31078. #, no-wrap
  31079. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  31080. msgstr ""
  31081. #. type: deftypevr
  31082. #: guix-git/doc/guix.texi:20734
  31083. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  31084. msgstr ""
  31085. #. type: deftypevr
  31086. #: guix-git/doc/guix.texi:20736
  31087. msgid "Available @code{mailbox-configuration} fields are:"
  31088. msgstr ""
  31089. #. type: deftypevr
  31090. #: guix-git/doc/guix.texi:20737
  31091. #, no-wrap
  31092. msgid "{@code{mailbox-configuration} parameter} string name"
  31093. msgstr ""
  31094. #. type: deftypevr
  31095. #: guix-git/doc/guix.texi:20739
  31096. msgid "Name for this mailbox."
  31097. msgstr ""
  31098. #. type: deftypevr
  31099. #: guix-git/doc/guix.texi:20741
  31100. #, no-wrap
  31101. msgid "{@code{mailbox-configuration} parameter} string auto"
  31102. msgstr ""
  31103. #. type: deftypevr
  31104. #: guix-git/doc/guix.texi:20745
  31105. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  31106. msgstr ""
  31107. #. type: deftypevr
  31108. #: guix-git/doc/guix.texi:20747
  31109. #, no-wrap
  31110. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  31111. msgstr ""
  31112. #. type: deftypevr
  31113. #: guix-git/doc/guix.texi:20752
  31114. 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{()}."
  31115. msgstr ""
  31116. #. type: deftypevr
  31117. #: guix-git/doc/guix.texi:20758
  31118. #, no-wrap
  31119. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  31120. msgstr ""
  31121. #. type: deftypevr
  31122. #: guix-git/doc/guix.texi:20761
  31123. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  31124. msgstr ""
  31125. #. type: deftypevr
  31126. #: guix-git/doc/guix.texi:20763
  31127. #, no-wrap
  31128. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  31129. msgstr ""
  31130. #. type: deftypevr
  31131. #: guix-git/doc/guix.texi:20766
  31132. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  31133. msgstr ""
  31134. #. type: deftypevr
  31135. #: guix-git/doc/guix.texi:20768
  31136. #, no-wrap
  31137. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  31138. msgstr ""
  31139. #. type: deftypevr
  31140. #: guix-git/doc/guix.texi:20775
  31141. 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{()}."
  31142. msgstr ""
  31143. #. type: deftypevr
  31144. #: guix-git/doc/guix.texi:20777
  31145. #, no-wrap
  31146. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  31147. msgstr ""
  31148. #. type: deftypevr
  31149. #: guix-git/doc/guix.texi:20780
  31150. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  31151. msgstr ""
  31152. #. type: deftypevr
  31153. #: guix-git/doc/guix.texi:20782
  31154. #, no-wrap
  31155. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  31156. msgstr ""
  31157. #. type: deftypevr
  31158. #: guix-git/doc/guix.texi:20788
  31159. 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}."
  31160. msgstr ""
  31161. #. type: deftypevr
  31162. #: guix-git/doc/guix.texi:20790
  31163. #, no-wrap
  31164. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  31165. msgstr ""
  31166. #. type: deftypevr
  31167. #: guix-git/doc/guix.texi:20796
  31168. 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}."
  31169. msgstr ""
  31170. #. type: deftypevr
  31171. #: guix-git/doc/guix.texi:20798
  31172. #, no-wrap
  31173. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  31174. msgstr ""
  31175. #. type: deftypevr
  31176. #: guix-git/doc/guix.texi:20802
  31177. 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}."
  31178. msgstr ""
  31179. #. type: deftypevr
  31180. #: guix-git/doc/guix.texi:20804
  31181. #, no-wrap
  31182. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  31183. msgstr ""
  31184. #. type: deftypevr
  31185. #: guix-git/doc/guix.texi:20807
  31186. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  31187. msgstr ""
  31188. #. type: deftypevr
  31189. #: guix-git/doc/guix.texi:20809
  31190. #, no-wrap
  31191. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  31192. msgstr ""
  31193. #. type: deftypevr
  31194. #: guix-git/doc/guix.texi:20813
  31195. 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."
  31196. msgstr ""
  31197. #. type: deftypevr
  31198. #: guix-git/doc/guix.texi:20815
  31199. #, no-wrap
  31200. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  31201. msgstr ""
  31202. #. type: deftypevr
  31203. #: guix-git/doc/guix.texi:20822
  31204. 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}."
  31205. msgstr ""
  31206. #. type: deftypevr
  31207. #: guix-git/doc/guix.texi:20824
  31208. #, no-wrap
  31209. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  31210. msgstr ""
  31211. #. type: deftypevr
  31212. #: guix-git/doc/guix.texi:20829
  31213. 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}."
  31214. msgstr ""
  31215. #. type: deftypevr
  31216. #: guix-git/doc/guix.texi:20831
  31217. #, no-wrap
  31218. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  31219. msgstr ""
  31220. #. type: deftypevr
  31221. #: guix-git/doc/guix.texi:20839
  31222. 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\"}."
  31223. msgstr ""
  31224. #. type: deftypevr
  31225. #: guix-git/doc/guix.texi:20841
  31226. #, no-wrap
  31227. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  31228. msgstr ""
  31229. #. type: deftypevr
  31230. #: guix-git/doc/guix.texi:20845
  31231. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  31232. msgstr ""
  31233. #. type: deftypevr
  31234. #: guix-git/doc/guix.texi:20847
  31235. #, no-wrap
  31236. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  31237. msgstr ""
  31238. #. type: deftypevr
  31239. #: guix-git/doc/guix.texi:20853
  31240. 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{()}."
  31241. msgstr ""
  31242. #. type: deftypevr
  31243. #: guix-git/doc/guix.texi:20855
  31244. #, no-wrap
  31245. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  31246. msgstr ""
  31247. #. type: deftypevr
  31248. #: guix-git/doc/guix.texi:20860
  31249. 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{\"\"}."
  31250. msgstr ""
  31251. #. type: deftypevr
  31252. #: guix-git/doc/guix.texi:20862
  31253. #, no-wrap
  31254. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  31255. msgstr ""
  31256. #. type: deftypevr
  31257. #: guix-git/doc/guix.texi:20869
  31258. 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.-_@@\"}."
  31259. msgstr ""
  31260. #. type: deftypevr
  31261. #: guix-git/doc/guix.texi:20871
  31262. #, no-wrap
  31263. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  31264. msgstr ""
  31265. #. type: deftypevr
  31266. #: guix-git/doc/guix.texi:20877
  31267. 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{\"\"}."
  31268. msgstr ""
  31269. #. type: deftypevr
  31270. #: guix-git/doc/guix.texi:20879
  31271. #, no-wrap
  31272. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  31273. msgstr ""
  31274. #. type: deftypevr
  31275. #: guix-git/doc/guix.texi:20886
  31276. 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\"}."
  31277. msgstr ""
  31278. #. type: deftypevr
  31279. #: guix-git/doc/guix.texi:20888
  31280. #, no-wrap
  31281. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  31282. msgstr ""
  31283. #. type: deftypevr
  31284. #: guix-git/doc/guix.texi:20896
  31285. 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{\"\"}."
  31286. msgstr ""
  31287. #. type: deftypevr
  31288. #: guix-git/doc/guix.texi:20898
  31289. #, no-wrap
  31290. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  31291. msgstr ""
  31292. #. type: deftypevr
  31293. #: guix-git/doc/guix.texi:20902
  31294. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  31295. msgstr ""
  31296. #. type: deftypevr
  31297. #: guix-git/doc/guix.texi:20904
  31298. #, no-wrap
  31299. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  31300. msgstr ""
  31301. #. type: deftypevr
  31302. #: guix-git/doc/guix.texi:20909
  31303. 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}."
  31304. msgstr ""
  31305. #. type: deftypevr
  31306. #: guix-git/doc/guix.texi:20911
  31307. #, no-wrap
  31308. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  31309. msgstr ""
  31310. #. type: deftypevr
  31311. #: guix-git/doc/guix.texi:20916
  31312. 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{\"\"}."
  31313. msgstr ""
  31314. #. type: deftypevr
  31315. #: guix-git/doc/guix.texi:20918
  31316. #, no-wrap
  31317. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  31318. msgstr ""
  31319. #. type: deftypevr
  31320. #: guix-git/doc/guix.texi:20924
  31321. 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{\"\"}."
  31322. msgstr ""
  31323. #. type: deftypevr
  31324. #: guix-git/doc/guix.texi:20926
  31325. #, no-wrap
  31326. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  31327. msgstr ""
  31328. #. type: deftypevr
  31329. #: guix-git/doc/guix.texi:20931
  31330. 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}."
  31331. msgstr ""
  31332. #. type: deftypevr
  31333. #: guix-git/doc/guix.texi:20933
  31334. #, no-wrap
  31335. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  31336. msgstr ""
  31337. #. type: deftypevr
  31338. #: guix-git/doc/guix.texi:20936
  31339. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  31340. msgstr ""
  31341. #. type: deftypevr
  31342. #: guix-git/doc/guix.texi:20938
  31343. #, no-wrap
  31344. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  31345. msgstr ""
  31346. #. type: deftypevr
  31347. #: guix-git/doc/guix.texi:20941
  31348. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  31349. msgstr ""
  31350. #. type: deftypevr
  31351. #: guix-git/doc/guix.texi:20943
  31352. #, no-wrap
  31353. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  31354. msgstr ""
  31355. #. type: deftypevr
  31356. #: guix-git/doc/guix.texi:20947
  31357. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  31358. msgstr ""
  31359. #. type: deftypevr
  31360. #: guix-git/doc/guix.texi:20949
  31361. #, no-wrap
  31362. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  31363. msgstr ""
  31364. #. type: deftypevr
  31365. #: guix-git/doc/guix.texi:20954
  31366. 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}."
  31367. msgstr ""
  31368. #. type: deftypevr
  31369. #: guix-git/doc/guix.texi:20956
  31370. #, no-wrap
  31371. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  31372. msgstr ""
  31373. #. type: deftypevr
  31374. #: guix-git/doc/guix.texi:20962
  31375. 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."
  31376. msgstr ""
  31377. #. type: deftypevr
  31378. #: guix-git/doc/guix.texi:20964
  31379. #, no-wrap
  31380. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  31381. msgstr ""
  31382. #. type: deftypevr
  31383. #: guix-git/doc/guix.texi:20969
  31384. 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{()}."
  31385. msgstr ""
  31386. #. type: deftypevr
  31387. #: guix-git/doc/guix.texi:20971
  31388. #, no-wrap
  31389. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  31390. msgstr ""
  31391. #. type: deftypevr
  31392. #: guix-git/doc/guix.texi:20975
  31393. 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{()}."
  31394. msgstr ""
  31395. #. type: deftypevr
  31396. #: guix-git/doc/guix.texi:20977
  31397. #, no-wrap
  31398. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  31399. msgstr ""
  31400. #. type: deftypevr
  31401. #: guix-git/doc/guix.texi:20981
  31402. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  31403. msgstr ""
  31404. #. type: deftypevr
  31405. #: guix-git/doc/guix.texi:20983
  31406. #, no-wrap
  31407. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  31408. msgstr ""
  31409. #. type: deftypevr
  31410. #: guix-git/doc/guix.texi:20988
  31411. 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\"}."
  31412. msgstr ""
  31413. #. type: deftypevr
  31414. #: guix-git/doc/guix.texi:20990
  31415. #, no-wrap
  31416. msgid "{@code{dovecot-configuration} parameter} string log-path"
  31417. msgstr ""
  31418. #. type: deftypevr
  31419. #: guix-git/doc/guix.texi:20994
  31420. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  31421. msgstr ""
  31422. #. type: deftypevr
  31423. #: guix-git/doc/guix.texi:20996
  31424. #, no-wrap
  31425. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  31426. msgstr ""
  31427. #. type: deftypevr
  31428. #: guix-git/doc/guix.texi:21000
  31429. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  31430. msgstr ""
  31431. #. type: deftypevr
  31432. #: guix-git/doc/guix.texi:21002
  31433. #, no-wrap
  31434. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  31435. msgstr ""
  31436. #. type: deftypevr
  31437. #: guix-git/doc/guix.texi:21006
  31438. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  31439. msgstr ""
  31440. #. type: deftypevr
  31441. #: guix-git/doc/guix.texi:21008
  31442. #, no-wrap
  31443. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  31444. msgstr ""
  31445. #. type: deftypevr
  31446. #: guix-git/doc/guix.texi:21013
  31447. 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\"}."
  31448. msgstr ""
  31449. #. type: deftypevr
  31450. #: guix-git/doc/guix.texi:21015
  31451. #, no-wrap
  31452. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  31453. msgstr ""
  31454. #. type: deftypevr
  31455. #: guix-git/doc/guix.texi:21019
  31456. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  31457. msgstr ""
  31458. #. type: deftypevr
  31459. #: guix-git/doc/guix.texi:21021
  31460. #, no-wrap
  31461. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  31462. msgstr ""
  31463. #. type: deftypevr
  31464. #: guix-git/doc/guix.texi:21028
  31465. 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\"}."
  31466. msgstr ""
  31467. #. type: deftypevr
  31468. #: guix-git/doc/guix.texi:21030
  31469. #, no-wrap
  31470. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  31471. msgstr ""
  31472. #. type: deftypevr
  31473. #: guix-git/doc/guix.texi:21034
  31474. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  31475. msgstr ""
  31476. #. type: deftypevr
  31477. #: guix-git/doc/guix.texi:21036
  31478. #, no-wrap
  31479. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  31480. msgstr ""
  31481. #. type: deftypevr
  31482. #: guix-git/doc/guix.texi:21041
  31483. 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}."
  31484. msgstr ""
  31485. #. type: deftypevr
  31486. #: guix-git/doc/guix.texi:21043
  31487. #, no-wrap
  31488. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  31489. msgstr ""
  31490. #. type: deftypevr
  31491. #: guix-git/doc/guix.texi:21047
  31492. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  31493. msgstr ""
  31494. #. type: deftypevr
  31495. #: guix-git/doc/guix.texi:21049
  31496. #, no-wrap
  31497. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  31498. msgstr ""
  31499. #. type: deftypevr
  31500. #: guix-git/doc/guix.texi:21052
  31501. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  31502. msgstr ""
  31503. #. type: deftypevr
  31504. #: guix-git/doc/guix.texi:21054
  31505. #, no-wrap
  31506. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  31507. msgstr ""
  31508. #. type: deftypevr
  31509. #: guix-git/doc/guix.texi:21058
  31510. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  31511. msgstr ""
  31512. #. type: deftypevr
  31513. #: guix-git/doc/guix.texi:21060
  31514. #, no-wrap
  31515. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  31516. msgstr ""
  31517. #. type: deftypevr
  31518. #: guix-git/doc/guix.texi:21064
  31519. 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."
  31520. msgstr ""
  31521. #. type: deftypevr
  31522. #: guix-git/doc/guix.texi:21066
  31523. #, no-wrap
  31524. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  31525. msgstr ""
  31526. #. type: deftypevr
  31527. #: guix-git/doc/guix.texi:21070
  31528. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  31529. msgstr ""
  31530. #. type: deftypevr
  31531. #: guix-git/doc/guix.texi:21072
  31532. #, no-wrap
  31533. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  31534. msgstr ""
  31535. #. type: deftypevr
  31536. #: guix-git/doc/guix.texi:21076
  31537. 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@}>: \\\"\"}."
  31538. msgstr ""
  31539. #. type: deftypevr
  31540. #: guix-git/doc/guix.texi:21078
  31541. #, no-wrap
  31542. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  31543. msgstr ""
  31544. #. type: deftypevr
  31545. #: guix-git/doc/guix.texi:21080
  31546. msgid "Format to use for logging mail deliveries. You can use variables:"
  31547. msgstr ""
  31548. #. type: item
  31549. #: guix-git/doc/guix.texi:21081
  31550. #, no-wrap
  31551. msgid "%$"
  31552. msgstr ""
  31553. #. type: table
  31554. #: guix-git/doc/guix.texi:21083
  31555. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  31556. msgstr ""
  31557. #. type: item
  31558. #: guix-git/doc/guix.texi:21083
  31559. #, no-wrap
  31560. msgid "%m"
  31561. msgstr ""
  31562. #. type: table
  31563. #: guix-git/doc/guix.texi:21085
  31564. msgid "Message-ID"
  31565. msgstr ""
  31566. #. type: item
  31567. #: guix-git/doc/guix.texi:21085 guix-git/doc/guix.texi:21628
  31568. #, no-wrap
  31569. msgid "%s"
  31570. msgstr ""
  31571. #. type: table
  31572. #: guix-git/doc/guix.texi:21087
  31573. msgid "Subject"
  31574. msgstr ""
  31575. #. type: item
  31576. #: guix-git/doc/guix.texi:21087
  31577. #, no-wrap
  31578. msgid "%f"
  31579. msgstr ""
  31580. #. type: table
  31581. #: guix-git/doc/guix.texi:21089
  31582. msgid "From address"
  31583. msgstr ""
  31584. #. type: table
  31585. #: guix-git/doc/guix.texi:21091
  31586. msgid "Physical size"
  31587. msgstr ""
  31588. #. type: item
  31589. #: guix-git/doc/guix.texi:21091
  31590. #, no-wrap
  31591. msgid "%w"
  31592. msgstr ""
  31593. #. type: table
  31594. #: guix-git/doc/guix.texi:21093
  31595. msgid "Virtual size."
  31596. msgstr ""
  31597. #. type: deftypevr
  31598. #: guix-git/doc/guix.texi:21095
  31599. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  31600. msgstr ""
  31601. #. type: deftypevr
  31602. #: guix-git/doc/guix.texi:21097
  31603. #, no-wrap
  31604. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  31605. msgstr ""
  31606. #. type: deftypevr
  31607. #: guix-git/doc/guix.texi:21102
  31608. 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."
  31609. msgstr ""
  31610. #. type: deftypevr
  31611. #: guix-git/doc/guix.texi:21108
  31612. 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."
  31613. msgstr ""
  31614. #. type: deftypevr
  31615. #: guix-git/doc/guix.texi:21110
  31616. msgid "There are a few special variables you can use, e.g.:"
  31617. msgstr ""
  31618. #. type: table
  31619. #: guix-git/doc/guix.texi:21114
  31620. msgid "username"
  31621. msgstr ""
  31622. #. type: item
  31623. #: guix-git/doc/guix.texi:21114 guix-git/doc/guix.texi:21624
  31624. #, no-wrap
  31625. msgid "%n"
  31626. msgstr ""
  31627. #. type: table
  31628. #: guix-git/doc/guix.texi:21116
  31629. msgid "user part in user@@domain, same as %u if there's no domain"
  31630. msgstr ""
  31631. #. type: item
  31632. #: guix-git/doc/guix.texi:21116
  31633. #, no-wrap
  31634. msgid "%d"
  31635. msgstr ""
  31636. #. type: table
  31637. #: guix-git/doc/guix.texi:21118
  31638. msgid "domain part in user@@domain, empty if there's no domain"
  31639. msgstr ""
  31640. #. type: item
  31641. #: guix-git/doc/guix.texi:21118
  31642. #, no-wrap
  31643. msgid "%h"
  31644. msgstr ""
  31645. #. type: table
  31646. #: guix-git/doc/guix.texi:21120
  31647. msgid "home director"
  31648. msgstr ""
  31649. #. type: deftypevr
  31650. #: guix-git/doc/guix.texi:21123
  31651. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  31652. msgstr ""
  31653. #. type: item
  31654. #: guix-git/doc/guix.texi:21124
  31655. #, no-wrap
  31656. msgid "maildir:~/Maildir"
  31657. msgstr ""
  31658. #. type: item
  31659. #: guix-git/doc/guix.texi:21125
  31660. #, no-wrap
  31661. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  31662. msgstr ""
  31663. #. type: item
  31664. #: guix-git/doc/guix.texi:21126
  31665. #, no-wrap
  31666. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  31667. msgstr ""
  31668. #. type: deftypevr
  31669. #: guix-git/doc/guix.texi:21131
  31670. #, no-wrap
  31671. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  31672. msgstr ""
  31673. #. type: deftypevr
  31674. #: guix-git/doc/guix.texi:21136
  31675. 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{\"\"}."
  31676. msgstr ""
  31677. #. type: deftypevr
  31678. #: guix-git/doc/guix.texi:21138
  31679. #, no-wrap
  31680. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  31681. msgstr ""
  31682. #. type: deftypevr
  31683. #: guix-git/doc/guix.texi:21143
  31684. #, no-wrap
  31685. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  31686. msgstr ""
  31687. #. type: deftypevr
  31688. #: guix-git/doc/guix.texi:21149
  31689. 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{\"\"}."
  31690. msgstr ""
  31691. #. type: deftypevr
  31692. #: guix-git/doc/guix.texi:21151
  31693. #, no-wrap
  31694. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  31695. msgstr ""
  31696. #. type: deftypevr
  31697. #: guix-git/doc/guix.texi:21159
  31698. 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{\"\"}."
  31699. msgstr ""
  31700. #. type: deftypevr
  31701. #: guix-git/doc/guix.texi:21161
  31702. #, no-wrap
  31703. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  31704. msgstr ""
  31705. #. type: deftypevr
  31706. #: guix-git/doc/guix.texi:21164
  31707. 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}."
  31708. msgstr ""
  31709. #. type: deftypevr
  31710. #: guix-git/doc/guix.texi:21167
  31711. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  31712. msgstr ""
  31713. #. type: deftypevr
  31714. #: guix-git/doc/guix.texi:21172
  31715. #, no-wrap
  31716. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  31717. msgstr ""
  31718. #. type: deftypevr
  31719. #: guix-git/doc/guix.texi:21178
  31720. 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}."
  31721. msgstr ""
  31722. #. type: deftypevr
  31723. #: guix-git/doc/guix.texi:21180
  31724. #, no-wrap
  31725. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  31726. msgstr ""
  31727. #. type: deftypevr
  31728. #: guix-git/doc/guix.texi:21184
  31729. 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}."
  31730. msgstr ""
  31731. #. type: deftypevr
  31732. #: guix-git/doc/guix.texi:21186
  31733. #, no-wrap
  31734. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  31735. msgstr ""
  31736. #. type: deftypevr
  31737. #: guix-git/doc/guix.texi:21191
  31738. 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}."
  31739. msgstr ""
  31740. #. type: deftypevr
  31741. #: guix-git/doc/guix.texi:21193
  31742. #, no-wrap
  31743. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  31744. msgstr ""
  31745. #. type: deftypevr
  31746. #: guix-git/doc/guix.texi:21195
  31747. msgid "When to use fsync() or fdatasync() calls:"
  31748. msgstr ""
  31749. #. type: item
  31750. #: guix-git/doc/guix.texi:21196
  31751. #, no-wrap
  31752. msgid "optimized"
  31753. msgstr ""
  31754. #. type: table
  31755. #: guix-git/doc/guix.texi:21198
  31756. msgid "Whenever necessary to avoid losing important data"
  31757. msgstr ""
  31758. #. type: table
  31759. #: guix-git/doc/guix.texi:21200
  31760. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  31761. msgstr ""
  31762. #. type: table
  31763. #: guix-git/doc/guix.texi:21202
  31764. msgid "Never use it (best performance, but crashes can lose data)."
  31765. msgstr ""
  31766. #. type: deftypevr
  31767. #: guix-git/doc/guix.texi:21204
  31768. msgid "Defaults to @samp{\"optimized\"}."
  31769. msgstr ""
  31770. #. type: deftypevr
  31771. #: guix-git/doc/guix.texi:21206
  31772. #, no-wrap
  31773. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  31774. msgstr ""
  31775. #. type: deftypevr
  31776. #: guix-git/doc/guix.texi:21211
  31777. 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}."
  31778. msgstr ""
  31779. #. type: deftypevr
  31780. #: guix-git/doc/guix.texi:21213
  31781. #, no-wrap
  31782. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  31783. msgstr ""
  31784. #. type: deftypevr
  31785. #: guix-git/doc/guix.texi:21217
  31786. 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}."
  31787. msgstr ""
  31788. #. type: deftypevr
  31789. #: guix-git/doc/guix.texi:21219
  31790. #, no-wrap
  31791. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  31792. msgstr ""
  31793. #. type: deftypevr
  31794. #: guix-git/doc/guix.texi:21225
  31795. 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\"}."
  31796. msgstr ""
  31797. #. type: deftypevr
  31798. #: guix-git/doc/guix.texi:21227
  31799. #, no-wrap
  31800. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  31801. msgstr ""
  31802. #. type: deftypevr
  31803. #: guix-git/doc/guix.texi:21231
  31804. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  31805. msgstr ""
  31806. #. type: deftypevr
  31807. #: guix-git/doc/guix.texi:21233
  31808. #, no-wrap
  31809. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  31810. msgstr ""
  31811. #. type: deftypevr
  31812. #: guix-git/doc/guix.texi:21239
  31813. 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}."
  31814. msgstr ""
  31815. #. type: deftypevr
  31816. #: guix-git/doc/guix.texi:21241
  31817. #, no-wrap
  31818. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  31819. msgstr ""
  31820. #. type: deftypevr
  31821. #: guix-git/doc/guix.texi:21246
  31822. #, no-wrap
  31823. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  31824. msgstr ""
  31825. #. type: deftypevr
  31826. #: guix-git/doc/guix.texi:21251
  31827. 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}."
  31828. msgstr ""
  31829. #. type: deftypevr
  31830. #: guix-git/doc/guix.texi:21253
  31831. #, no-wrap
  31832. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  31833. msgstr ""
  31834. #. type: deftypevr
  31835. #: guix-git/doc/guix.texi:21258
  31836. #, no-wrap
  31837. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  31838. msgstr ""
  31839. #. type: deftypevr
  31840. #: guix-git/doc/guix.texi:21262
  31841. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  31842. msgstr ""
  31843. #. type: deftypevr
  31844. #: guix-git/doc/guix.texi:21264
  31845. #, no-wrap
  31846. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  31847. msgstr ""
  31848. #. type: deftypevr
  31849. #: guix-git/doc/guix.texi:21274
  31850. 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{()}."
  31851. msgstr ""
  31852. #. type: deftypevr
  31853. #: guix-git/doc/guix.texi:21276
  31854. #, no-wrap
  31855. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  31856. msgstr ""
  31857. #. type: deftypevr
  31858. #: guix-git/doc/guix.texi:21285
  31859. 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{\"\"}."
  31860. msgstr ""
  31861. #. type: deftypevr
  31862. #: guix-git/doc/guix.texi:21287
  31863. #, no-wrap
  31864. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  31865. msgstr ""
  31866. #. type: deftypevr
  31867. #: guix-git/doc/guix.texi:21291
  31868. 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\"}."
  31869. msgstr ""
  31870. #. type: deftypevr
  31871. #: guix-git/doc/guix.texi:21293
  31872. #, no-wrap
  31873. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  31874. msgstr ""
  31875. #. type: deftypevr
  31876. #: guix-git/doc/guix.texi:21296
  31877. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  31878. msgstr ""
  31879. #. type: deftypevr
  31880. #: guix-git/doc/guix.texi:21298
  31881. #, no-wrap
  31882. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  31883. msgstr ""
  31884. #. type: deftypevr
  31885. #: guix-git/doc/guix.texi:21302
  31886. 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{()}."
  31887. msgstr ""
  31888. #. type: deftypevr
  31889. #: guix-git/doc/guix.texi:21304
  31890. #, no-wrap
  31891. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  31892. msgstr ""
  31893. #. type: deftypevr
  31894. #: guix-git/doc/guix.texi:21309
  31895. 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}."
  31896. msgstr ""
  31897. #. type: deftypevr
  31898. #: guix-git/doc/guix.texi:21311
  31899. #, no-wrap
  31900. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  31901. msgstr ""
  31902. #. type: deftypevr
  31903. #: guix-git/doc/guix.texi:21318
  31904. 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\"}."
  31905. msgstr ""
  31906. #. type: deftypevr
  31907. #: guix-git/doc/guix.texi:21320
  31908. #, no-wrap
  31909. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  31910. msgstr ""
  31911. #. type: deftypevr
  31912. #: guix-git/doc/guix.texi:21327
  31913. 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}."
  31914. msgstr ""
  31915. #. type: deftypevr
  31916. #: guix-git/doc/guix.texi:21329
  31917. #, no-wrap
  31918. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  31919. msgstr ""
  31920. #. type: deftypevr
  31921. #: guix-git/doc/guix.texi:21337
  31922. 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}."
  31923. msgstr ""
  31924. #. type: deftypevr
  31925. #: guix-git/doc/guix.texi:21339
  31926. #, no-wrap
  31927. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  31928. msgstr ""
  31929. #. type: deftypevr
  31930. #: guix-git/doc/guix.texi:21344
  31931. 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}."
  31932. msgstr ""
  31933. #. type: deftypevr
  31934. #: guix-git/doc/guix.texi:21346
  31935. #, no-wrap
  31936. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  31937. msgstr ""
  31938. #. type: deftypevr
  31939. #: guix-git/doc/guix.texi:21351
  31940. 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}."
  31941. msgstr ""
  31942. #. type: deftypevr
  31943. #: guix-git/doc/guix.texi:21353
  31944. #, no-wrap
  31945. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  31946. msgstr ""
  31947. #. type: deftypevr
  31948. #: guix-git/doc/guix.texi:21356
  31949. msgid "Which locking methods to use for locking mbox. There are four available:"
  31950. msgstr ""
  31951. #. type: item
  31952. #: guix-git/doc/guix.texi:21358
  31953. #, no-wrap
  31954. msgid "dotlock"
  31955. msgstr ""
  31956. #. type: table
  31957. #: guix-git/doc/guix.texi:21362
  31958. 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."
  31959. msgstr ""
  31960. #. type: item
  31961. #: guix-git/doc/guix.texi:21362
  31962. #, no-wrap
  31963. msgid "dotlock-try"
  31964. msgstr ""
  31965. #. type: table
  31966. #: guix-git/doc/guix.texi:21365
  31967. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  31968. msgstr ""
  31969. #. type: item
  31970. #: guix-git/doc/guix.texi:21365
  31971. #, no-wrap
  31972. msgid "fcntl"
  31973. msgstr ""
  31974. #. type: table
  31975. #: guix-git/doc/guix.texi:21367
  31976. msgid "Use this if possible. Works with NFS too if lockd is used."
  31977. msgstr ""
  31978. #. type: item
  31979. #: guix-git/doc/guix.texi:21367
  31980. #, no-wrap
  31981. msgid "flock"
  31982. msgstr ""
  31983. #. type: table
  31984. #: guix-git/doc/guix.texi:21369 guix-git/doc/guix.texi:21371
  31985. msgid "May not exist in all systems. Doesn't work with NFS."
  31986. msgstr ""
  31987. #. type: item
  31988. #: guix-git/doc/guix.texi:21369
  31989. #, no-wrap
  31990. msgid "lockf"
  31991. msgstr ""
  31992. #. type: deftypevr
  31993. #: guix-git/doc/guix.texi:21377
  31994. 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."
  31995. msgstr ""
  31996. #. type: deftypevr
  31997. #: guix-git/doc/guix.texi:21379
  31998. #, no-wrap
  31999. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  32000. msgstr ""
  32001. #. type: deftypevr
  32002. #: guix-git/doc/guix.texi:21383
  32003. #, no-wrap
  32004. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  32005. msgstr ""
  32006. #. type: deftypevr
  32007. #: guix-git/doc/guix.texi:21386
  32008. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  32009. msgstr ""
  32010. #. type: deftypevr
  32011. #: guix-git/doc/guix.texi:21388
  32012. #, no-wrap
  32013. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  32014. msgstr ""
  32015. #. type: deftypevr
  32016. #: guix-git/doc/guix.texi:21392
  32017. 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\"}."
  32018. msgstr ""
  32019. #. type: deftypevr
  32020. #: guix-git/doc/guix.texi:21394
  32021. #, no-wrap
  32022. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  32023. msgstr ""
  32024. #. type: deftypevr
  32025. #: guix-git/doc/guix.texi:21405
  32026. 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}."
  32027. msgstr ""
  32028. #. type: deftypevr
  32029. #: guix-git/doc/guix.texi:21407
  32030. #, no-wrap
  32031. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  32032. msgstr ""
  32033. #. type: deftypevr
  32034. #: guix-git/doc/guix.texi:21412
  32035. 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}."
  32036. msgstr ""
  32037. #. type: deftypevr
  32038. #: guix-git/doc/guix.texi:21414
  32039. #, no-wrap
  32040. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  32041. msgstr ""
  32042. #. type: deftypevr
  32043. #: guix-git/doc/guix.texi:21420
  32044. 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}."
  32045. msgstr ""
  32046. #. type: deftypevr
  32047. #: guix-git/doc/guix.texi:21422
  32048. #, no-wrap
  32049. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  32050. msgstr ""
  32051. #. type: deftypevr
  32052. #: guix-git/doc/guix.texi:21427
  32053. 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}."
  32054. msgstr ""
  32055. #. type: deftypevr
  32056. #: guix-git/doc/guix.texi:21429
  32057. #, no-wrap
  32058. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  32059. msgstr ""
  32060. #. type: deftypevr
  32061. #: guix-git/doc/guix.texi:21432
  32062. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  32063. msgstr ""
  32064. #. type: deftypevr
  32065. #: guix-git/doc/guix.texi:21434
  32066. #, no-wrap
  32067. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  32068. msgstr ""
  32069. #. type: deftypevr
  32070. #: guix-git/doc/guix.texi:21439
  32071. 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\"}."
  32072. msgstr ""
  32073. #. type: deftypevr
  32074. #: guix-git/doc/guix.texi:21441
  32075. #, no-wrap
  32076. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  32077. msgstr ""
  32078. #. type: deftypevr
  32079. #: guix-git/doc/guix.texi:21446
  32080. 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}."
  32081. msgstr ""
  32082. #. type: deftypevr
  32083. #: guix-git/doc/guix.texi:21448
  32084. #, no-wrap
  32085. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  32086. msgstr ""
  32087. #. type: deftypevr
  32088. #: guix-git/doc/guix.texi:21452
  32089. 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."
  32090. msgstr ""
  32091. #. type: deftypevr
  32092. #: guix-git/doc/guix.texi:21454
  32093. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  32094. msgstr ""
  32095. #. type: deftypevr
  32096. #: guix-git/doc/guix.texi:21457
  32097. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  32098. msgstr ""
  32099. #. type: deftypevr
  32100. #: guix-git/doc/guix.texi:21459
  32101. #, no-wrap
  32102. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  32103. msgstr ""
  32104. #. type: deftypevr
  32105. #: guix-git/doc/guix.texi:21464
  32106. 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}."
  32107. msgstr ""
  32108. #. type: deftypevr
  32109. #: guix-git/doc/guix.texi:21466
  32110. #, no-wrap
  32111. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  32112. msgstr ""
  32113. #. type: deftypevr
  32114. #: guix-git/doc/guix.texi:21468
  32115. msgid "File system backend to use for saving attachments:"
  32116. msgstr ""
  32117. #. type: item
  32118. #: guix-git/doc/guix.texi:21469
  32119. #, no-wrap
  32120. msgid "posix"
  32121. msgstr ""
  32122. #. type: table
  32123. #: guix-git/doc/guix.texi:21471
  32124. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  32125. msgstr ""
  32126. #. type: item
  32127. #: guix-git/doc/guix.texi:21471
  32128. #, no-wrap
  32129. msgid "sis posix"
  32130. msgstr ""
  32131. #. type: table
  32132. #: guix-git/doc/guix.texi:21473
  32133. msgid "SiS with immediate byte-by-byte comparison during saving"
  32134. msgstr ""
  32135. #. type: item
  32136. #: guix-git/doc/guix.texi:21473
  32137. #, no-wrap
  32138. msgid "sis-queue posix"
  32139. msgstr ""
  32140. #. type: table
  32141. #: guix-git/doc/guix.texi:21475
  32142. msgid "SiS with delayed comparison and deduplication."
  32143. msgstr ""
  32144. #. type: deftypevr
  32145. #: guix-git/doc/guix.texi:21477
  32146. msgid "Defaults to @samp{\"sis posix\"}."
  32147. msgstr ""
  32148. #. type: deftypevr
  32149. #: guix-git/doc/guix.texi:21479
  32150. #, no-wrap
  32151. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  32152. msgstr ""
  32153. #. type: deftypevr
  32154. #: guix-git/doc/guix.texi:21485
  32155. 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@}\"}."
  32156. msgstr ""
  32157. #. type: deftypevr
  32158. #: guix-git/doc/guix.texi:21487
  32159. #, no-wrap
  32160. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  32161. msgstr ""
  32162. #. type: deftypevr
  32163. #: guix-git/doc/guix.texi:21492
  32164. #, no-wrap
  32165. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  32166. msgstr ""
  32167. #. type: deftypevr
  32168. #: guix-git/doc/guix.texi:21495 guix-git/doc/guix.texi:29111
  32169. msgid "Defaults to @samp{1000}."
  32170. msgstr ""
  32171. #. type: deftypevr
  32172. #: guix-git/doc/guix.texi:21497
  32173. #, no-wrap
  32174. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  32175. msgstr ""
  32176. #. type: deftypevr
  32177. #: guix-git/doc/guix.texi:21502
  32178. 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}."
  32179. msgstr ""
  32180. #. type: deftypevr
  32181. #: guix-git/doc/guix.texi:21504
  32182. #, no-wrap
  32183. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  32184. msgstr ""
  32185. #. type: deftypevr
  32186. #: guix-git/doc/guix.texi:21509
  32187. 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\"}."
  32188. msgstr ""
  32189. #. type: deftypevr
  32190. #: guix-git/doc/guix.texi:21511
  32191. #, no-wrap
  32192. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  32193. msgstr ""
  32194. #. type: deftypevr
  32195. #: guix-git/doc/guix.texi:21516
  32196. 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\"}."
  32197. msgstr ""
  32198. #. type: deftypevr
  32199. #: guix-git/doc/guix.texi:21518
  32200. #, no-wrap
  32201. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  32202. msgstr ""
  32203. #. type: deftypevr
  32204. #: guix-git/doc/guix.texi:21521
  32205. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  32206. msgstr ""
  32207. #. type: deftypevr
  32208. #: guix-git/doc/guix.texi:21523
  32209. #, no-wrap
  32210. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  32211. msgstr ""
  32212. #. type: deftypevr
  32213. #: guix-git/doc/guix.texi:21526
  32214. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  32215. msgstr ""
  32216. #. type: deftypevr
  32217. #: guix-git/doc/guix.texi:21528
  32218. #, no-wrap
  32219. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  32220. msgstr ""
  32221. #. type: deftypevr
  32222. #: guix-git/doc/guix.texi:21533
  32223. 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\"}."
  32224. msgstr ""
  32225. #. type: deftypevr
  32226. #: guix-git/doc/guix.texi:21535
  32227. #, no-wrap
  32228. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  32229. msgstr ""
  32230. #. type: deftypevr
  32231. #: guix-git/doc/guix.texi:21541
  32232. 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{\"\"}."
  32233. msgstr ""
  32234. #. type: deftypevr
  32235. #: guix-git/doc/guix.texi:21543
  32236. #, no-wrap
  32237. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  32238. msgstr ""
  32239. #. type: deftypevr
  32240. #: guix-git/doc/guix.texi:21549
  32241. 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{\"\"}."
  32242. msgstr ""
  32243. #. type: deftypevr
  32244. #: guix-git/doc/guix.texi:21551
  32245. #, no-wrap
  32246. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  32247. msgstr ""
  32248. #. type: deftypevr
  32249. #: guix-git/doc/guix.texi:21554
  32250. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  32251. msgstr ""
  32252. #. type: deftypevr
  32253. #: guix-git/doc/guix.texi:21556
  32254. #, no-wrap
  32255. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  32256. msgstr ""
  32257. #. type: deftypevr
  32258. #: guix-git/doc/guix.texi:21560
  32259. 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}."
  32260. msgstr ""
  32261. #. type: deftypevr
  32262. #: guix-git/doc/guix.texi:21562
  32263. #, no-wrap
  32264. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  32265. msgstr ""
  32266. #. type: deftypevr
  32267. #: guix-git/doc/guix.texi:21567
  32268. 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\"}."
  32269. msgstr ""
  32270. #. type: deftypevr
  32271. #: guix-git/doc/guix.texi:21569
  32272. #, no-wrap
  32273. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  32274. msgstr ""
  32275. #. type: deftypevr
  32276. #: guix-git/doc/guix.texi:21572
  32277. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  32278. msgstr ""
  32279. #. type: deftypevr
  32280. #: guix-git/doc/guix.texi:21574
  32281. #, no-wrap
  32282. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  32283. msgstr ""
  32284. #. type: deftypevr
  32285. #: guix-git/doc/guix.texi:21577
  32286. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  32287. msgstr ""
  32288. #. type: deftypevr
  32289. #: guix-git/doc/guix.texi:21579
  32290. #, no-wrap
  32291. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  32292. msgstr ""
  32293. #. type: deftypevr
  32294. #: guix-git/doc/guix.texi:21582
  32295. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  32296. msgstr ""
  32297. #. type: deftypevr
  32298. #: guix-git/doc/guix.texi:21584
  32299. #, no-wrap
  32300. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  32301. msgstr ""
  32302. #. type: deftypevr
  32303. #: guix-git/doc/guix.texi:21588
  32304. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  32305. msgstr ""
  32306. #. type: deftypevr
  32307. #: guix-git/doc/guix.texi:21590
  32308. #, no-wrap
  32309. msgid "{@code{dovecot-configuration} parameter} string hostname"
  32310. msgstr ""
  32311. #. type: deftypevr
  32312. #: guix-git/doc/guix.texi:21594
  32313. 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{\"\"}."
  32314. msgstr ""
  32315. #. type: deftypevr
  32316. #: guix-git/doc/guix.texi:21596
  32317. #, no-wrap
  32318. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  32319. msgstr ""
  32320. #. type: deftypevr
  32321. #: guix-git/doc/guix.texi:21600
  32322. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  32323. msgstr ""
  32324. #. type: deftypevr
  32325. #: guix-git/doc/guix.texi:21602
  32326. #, no-wrap
  32327. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  32328. msgstr ""
  32329. #. type: deftypevr
  32330. #: guix-git/doc/guix.texi:21605
  32331. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  32332. msgstr ""
  32333. #. type: deftypevr
  32334. #: guix-git/doc/guix.texi:21607
  32335. #, no-wrap
  32336. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  32337. msgstr ""
  32338. #. type: deftypevr
  32339. #: guix-git/doc/guix.texi:21611
  32340. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  32341. msgstr ""
  32342. #. type: deftypevr
  32343. #: guix-git/doc/guix.texi:21613
  32344. #, no-wrap
  32345. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  32346. msgstr ""
  32347. #. type: deftypevr
  32348. #: guix-git/doc/guix.texi:21617
  32349. 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\"}."
  32350. msgstr ""
  32351. #. type: deftypevr
  32352. #: guix-git/doc/guix.texi:21619
  32353. #, no-wrap
  32354. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  32355. msgstr ""
  32356. #. type: deftypevr
  32357. #: guix-git/doc/guix.texi:21622
  32358. msgid "Human readable error message for rejection mails. You can use variables:"
  32359. msgstr ""
  32360. #. type: table
  32361. #: guix-git/doc/guix.texi:21626
  32362. msgid "CRLF"
  32363. msgstr ""
  32364. #. type: item
  32365. #: guix-git/doc/guix.texi:21626
  32366. #, no-wrap
  32367. msgid "%r"
  32368. msgstr ""
  32369. #. type: table
  32370. #: guix-git/doc/guix.texi:21628
  32371. msgid "reason"
  32372. msgstr ""
  32373. #. type: table
  32374. #: guix-git/doc/guix.texi:21630
  32375. msgid "original subject"
  32376. msgstr ""
  32377. #. type: item
  32378. #: guix-git/doc/guix.texi:21630
  32379. #, no-wrap
  32380. msgid "%t"
  32381. msgstr ""
  32382. #. type: table
  32383. #: guix-git/doc/guix.texi:21632
  32384. msgid "recipient"
  32385. msgstr ""
  32386. #. type: deftypevr
  32387. #: guix-git/doc/guix.texi:21634
  32388. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  32389. msgstr ""
  32390. #. type: deftypevr
  32391. #: guix-git/doc/guix.texi:21636
  32392. #, no-wrap
  32393. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  32394. msgstr ""
  32395. #. type: deftypevr
  32396. #: guix-git/doc/guix.texi:21640
  32397. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  32398. msgstr ""
  32399. #. type: deftypevr
  32400. #: guix-git/doc/guix.texi:21642
  32401. #, no-wrap
  32402. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  32403. msgstr ""
  32404. #. type: deftypevr
  32405. #: guix-git/doc/guix.texi:21648
  32406. 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{\"\"}."
  32407. msgstr ""
  32408. #. type: deftypevr
  32409. #: guix-git/doc/guix.texi:21650
  32410. #, no-wrap
  32411. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  32412. msgstr ""
  32413. #. type: deftypevr
  32414. #: guix-git/doc/guix.texi:21654
  32415. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  32416. msgstr ""
  32417. #. type: deftypevr
  32418. #: guix-git/doc/guix.texi:21656
  32419. #, no-wrap
  32420. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  32421. msgstr ""
  32422. #. type: deftypevr
  32423. #: guix-git/doc/guix.texi:21660
  32424. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  32425. msgstr ""
  32426. #. type: deftypevr
  32427. #: guix-git/doc/guix.texi:21662
  32428. #, no-wrap
  32429. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  32430. msgstr ""
  32431. #. type: deftypevr
  32432. #: guix-git/doc/guix.texi:21668
  32433. 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}."
  32434. msgstr ""
  32435. #. type: deftypevr
  32436. #: guix-git/doc/guix.texi:21670
  32437. #, no-wrap
  32438. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  32439. msgstr ""
  32440. #. type: deftypevr
  32441. #: guix-git/doc/guix.texi:21672
  32442. msgid "IMAP logout format string:"
  32443. msgstr ""
  32444. #. type: item
  32445. #: guix-git/doc/guix.texi:21673
  32446. #, no-wrap
  32447. msgid "%i"
  32448. msgstr ""
  32449. #. type: table
  32450. #: guix-git/doc/guix.texi:21675
  32451. msgid "total number of bytes read from client"
  32452. msgstr ""
  32453. #. type: item
  32454. #: guix-git/doc/guix.texi:21675
  32455. #, no-wrap
  32456. msgid "%o"
  32457. msgstr ""
  32458. #. type: table
  32459. #: guix-git/doc/guix.texi:21677
  32460. msgid "total number of bytes sent to client."
  32461. msgstr ""
  32462. #. type: deftypevr
  32463. #: guix-git/doc/guix.texi:21680
  32464. 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@}\"}."
  32465. msgstr ""
  32466. #. type: deftypevr
  32467. #: guix-git/doc/guix.texi:21682
  32468. #, no-wrap
  32469. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  32470. msgstr ""
  32471. #. type: deftypevr
  32472. #: guix-git/doc/guix.texi:21686
  32473. 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{\"\"}."
  32474. msgstr ""
  32475. #. type: deftypevr
  32476. #: guix-git/doc/guix.texi:21688
  32477. #, no-wrap
  32478. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  32479. msgstr ""
  32480. #. type: deftypevr
  32481. #: guix-git/doc/guix.texi:21692
  32482. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  32483. msgstr ""
  32484. #. type: deftypevr
  32485. #: guix-git/doc/guix.texi:21694
  32486. #, no-wrap
  32487. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  32488. msgstr ""
  32489. #. type: deftypevr
  32490. #: guix-git/doc/guix.texi:21700
  32491. 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{\"\"}."
  32492. msgstr ""
  32493. #. type: deftypevr
  32494. #: guix-git/doc/guix.texi:21702
  32495. #, no-wrap
  32496. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  32497. msgstr ""
  32498. #. type: deftypevr
  32499. #: guix-git/doc/guix.texi:21705
  32500. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  32501. msgstr ""
  32502. #. type: deftypevr
  32503. #: guix-git/doc/guix.texi:21707
  32504. #, no-wrap
  32505. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  32506. msgstr ""
  32507. #. type: deftypevr
  32508. #: guix-git/doc/guix.texi:21709
  32509. msgid "Workarounds for various client bugs:"
  32510. msgstr ""
  32511. #. type: item
  32512. #: guix-git/doc/guix.texi:21711
  32513. #, no-wrap
  32514. msgid "delay-newmail"
  32515. msgstr ""
  32516. #. type: table
  32517. #: guix-git/doc/guix.texi:21718
  32518. 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\"."
  32519. msgstr ""
  32520. #. type: item
  32521. #: guix-git/doc/guix.texi:21719
  32522. #, no-wrap
  32523. msgid "tb-extra-mailbox-sep"
  32524. msgstr ""
  32525. #. type: table
  32526. #: guix-git/doc/guix.texi:21723
  32527. 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."
  32528. msgstr ""
  32529. #. type: item
  32530. #: guix-git/doc/guix.texi:21724
  32531. #, no-wrap
  32532. msgid "tb-lsub-flags"
  32533. msgstr ""
  32534. #. type: table
  32535. #: guix-git/doc/guix.texi:21728
  32536. 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."
  32537. msgstr ""
  32538. #. type: deftypevr
  32539. #: guix-git/doc/guix.texi:21732
  32540. #, no-wrap
  32541. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  32542. msgstr ""
  32543. #. type: deftypevr
  32544. #: guix-git/doc/guix.texi:21735
  32545. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  32546. msgstr ""
  32547. #. type: Plain text
  32548. #: guix-git/doc/guix.texi:21743
  32549. 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."
  32550. msgstr ""
  32551. #. type: Plain text
  32552. #: guix-git/doc/guix.texi:21749
  32553. 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."
  32554. msgstr ""
  32555. #. type: Plain text
  32556. #: guix-git/doc/guix.texi:21751
  32557. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  32558. msgstr ""
  32559. #. type: deftypevr
  32560. #: guix-git/doc/guix.texi:21752
  32561. #, no-wrap
  32562. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  32563. msgstr ""
  32564. #. type: deftypevr
  32565. #: guix-git/doc/guix.texi:21756
  32566. #, no-wrap
  32567. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  32568. msgstr ""
  32569. #. type: deftypevr
  32570. #: guix-git/doc/guix.texi:21758
  32571. msgid "The contents of the @code{dovecot.conf}, as a string."
  32572. msgstr ""
  32573. #. type: Plain text
  32574. #: guix-git/doc/guix.texi:21762
  32575. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  32576. msgstr ""
  32577. #. type: lisp
  32578. #: guix-git/doc/guix.texi:21767
  32579. #, no-wrap
  32580. msgid ""
  32581. "(dovecot-service #:config\n"
  32582. " (opaque-dovecot-configuration\n"
  32583. " (string \"\")))\n"
  32584. msgstr ""
  32585. #. type: subsubheading
  32586. #: guix-git/doc/guix.texi:21769
  32587. #, no-wrap
  32588. msgid "OpenSMTPD Service"
  32589. msgstr ""
  32590. #. type: deffn
  32591. #: guix-git/doc/guix.texi:21771
  32592. #, no-wrap
  32593. msgid "{Scheme Variable} opensmtpd-service-type"
  32594. msgstr ""
  32595. #. type: deffn
  32596. #: guix-git/doc/guix.texi:21775
  32597. 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:"
  32598. msgstr ""
  32599. #. type: lisp
  32600. #: guix-git/doc/guix.texi:21780
  32601. #, no-wrap
  32602. msgid ""
  32603. "(service opensmtpd-service-type\n"
  32604. " (opensmtpd-configuration\n"
  32605. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  32606. msgstr ""
  32607. #. type: deftp
  32608. #: guix-git/doc/guix.texi:21783
  32609. #, no-wrap
  32610. msgid "{Data Type} opensmtpd-configuration"
  32611. msgstr ""
  32612. #. type: deftp
  32613. #: guix-git/doc/guix.texi:21785
  32614. msgid "Data type representing the configuration of opensmtpd."
  32615. msgstr ""
  32616. #. type: item
  32617. #: guix-git/doc/guix.texi:21787
  32618. #, no-wrap
  32619. msgid "@code{package} (default: @var{opensmtpd})"
  32620. msgstr ""
  32621. #. type: table
  32622. #: guix-git/doc/guix.texi:21789
  32623. msgid "Package object of the OpenSMTPD SMTP server."
  32624. msgstr ""
  32625. #. type: item
  32626. #: guix-git/doc/guix.texi:21790
  32627. #, no-wrap
  32628. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  32629. msgstr ""
  32630. #. type: table
  32631. #: guix-git/doc/guix.texi:21795
  32632. 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."
  32633. msgstr ""
  32634. #. type: subsubheading
  32635. #: guix-git/doc/guix.texi:21799
  32636. #, no-wrap
  32637. msgid "Exim Service"
  32638. msgstr ""
  32639. #. type: cindex
  32640. #: guix-git/doc/guix.texi:21801
  32641. #, no-wrap
  32642. msgid "mail transfer agent (MTA)"
  32643. msgstr ""
  32644. #. type: cindex
  32645. #: guix-git/doc/guix.texi:21802
  32646. #, no-wrap
  32647. msgid "MTA (mail transfer agent)"
  32648. msgstr ""
  32649. #. type: cindex
  32650. #: guix-git/doc/guix.texi:21803
  32651. #, no-wrap
  32652. msgid "SMTP"
  32653. msgstr ""
  32654. #. type: deffn
  32655. #: guix-git/doc/guix.texi:21805
  32656. #, no-wrap
  32657. msgid "{Scheme Variable} exim-service-type"
  32658. msgstr ""
  32659. #. type: deffn
  32660. #: guix-git/doc/guix.texi:21809
  32661. 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:"
  32662. msgstr ""
  32663. #. type: lisp
  32664. #: guix-git/doc/guix.texi:21814
  32665. #, no-wrap
  32666. msgid ""
  32667. "(service exim-service-type\n"
  32668. " (exim-configuration\n"
  32669. " (config-file (local-file \"./my-exim.conf\"))))\n"
  32670. msgstr ""
  32671. #. type: Plain text
  32672. #: guix-git/doc/guix.texi:21820
  32673. 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)."
  32674. msgstr ""
  32675. #. type: deftp
  32676. #: guix-git/doc/guix.texi:21821
  32677. #, no-wrap
  32678. msgid "{Data Type} exim-configuration"
  32679. msgstr ""
  32680. #. type: deftp
  32681. #: guix-git/doc/guix.texi:21823
  32682. msgid "Data type representing the configuration of exim."
  32683. msgstr ""
  32684. #. type: item
  32685. #: guix-git/doc/guix.texi:21825
  32686. #, no-wrap
  32687. msgid "@code{package} (default: @var{exim})"
  32688. msgstr ""
  32689. #. type: table
  32690. #: guix-git/doc/guix.texi:21827
  32691. msgid "Package object of the Exim server."
  32692. msgstr ""
  32693. #. type: table
  32694. #: guix-git/doc/guix.texi:21834
  32695. 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."
  32696. msgstr ""
  32697. #. type: subsubheading
  32698. #: guix-git/doc/guix.texi:21838
  32699. #, no-wrap
  32700. msgid "Getmail service"
  32701. msgstr ""
  32702. #. type: cindex
  32703. #: guix-git/doc/guix.texi:21840
  32704. #, no-wrap
  32705. msgid "IMAP"
  32706. msgstr ""
  32707. #. type: cindex
  32708. #: guix-git/doc/guix.texi:21841
  32709. #, no-wrap
  32710. msgid "POP"
  32711. msgstr ""
  32712. #. type: deffn
  32713. #: guix-git/doc/guix.texi:21843
  32714. #, no-wrap
  32715. msgid "{Scheme Variable} getmail-service-type"
  32716. msgstr ""
  32717. #. type: deffn
  32718. #: guix-git/doc/guix.texi:21846
  32719. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  32720. msgstr ""
  32721. #. type: Plain text
  32722. #: guix-git/doc/guix.texi:21849
  32723. msgid "Available @code{getmail-configuration} fields are:"
  32724. msgstr ""
  32725. #. type: deftypevr
  32726. #: guix-git/doc/guix.texi:21850
  32727. #, no-wrap
  32728. msgid "{@code{getmail-configuration} parameter} symbol name"
  32729. msgstr ""
  32730. #. type: deftypevr
  32731. #: guix-git/doc/guix.texi:21852
  32732. msgid "A symbol to identify the getmail service."
  32733. msgstr ""
  32734. #. type: deftypevr
  32735. #: guix-git/doc/guix.texi:21854
  32736. msgid "Defaults to @samp{\"unset\"}."
  32737. msgstr ""
  32738. #. type: deftypevr
  32739. #: guix-git/doc/guix.texi:21857
  32740. #, no-wrap
  32741. msgid "{@code{getmail-configuration} parameter} package package"
  32742. msgstr ""
  32743. #. type: deftypevr
  32744. #: guix-git/doc/guix.texi:21859
  32745. msgid "The getmail package to use."
  32746. msgstr ""
  32747. #. type: deftypevr
  32748. #: guix-git/doc/guix.texi:21862
  32749. #, no-wrap
  32750. msgid "{@code{getmail-configuration} parameter} string user"
  32751. msgstr ""
  32752. #. type: deftypevr
  32753. #: guix-git/doc/guix.texi:21864
  32754. msgid "The user to run getmail as."
  32755. msgstr ""
  32756. #. type: deftypevr
  32757. #: guix-git/doc/guix.texi:21866 guix-git/doc/guix.texi:21873
  32758. msgid "Defaults to @samp{\"getmail\"}."
  32759. msgstr ""
  32760. #. type: deftypevr
  32761. #: guix-git/doc/guix.texi:21869
  32762. #, no-wrap
  32763. msgid "{@code{getmail-configuration} parameter} string group"
  32764. msgstr ""
  32765. #. type: deftypevr
  32766. #: guix-git/doc/guix.texi:21871
  32767. msgid "The group to run getmail as."
  32768. msgstr ""
  32769. #. type: deftypevr
  32770. #: guix-git/doc/guix.texi:21876
  32771. #, no-wrap
  32772. msgid "{@code{getmail-configuration} parameter} string directory"
  32773. msgstr ""
  32774. #. type: deftypevr
  32775. #: guix-git/doc/guix.texi:21878
  32776. msgid "The getmail directory to use."
  32777. msgstr ""
  32778. #. type: deftypevr
  32779. #: guix-git/doc/guix.texi:21880
  32780. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  32781. msgstr ""
  32782. #. type: deftypevr
  32783. #: guix-git/doc/guix.texi:21883
  32784. #, no-wrap
  32785. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  32786. msgstr ""
  32787. #. type: deftypevr
  32788. #: guix-git/doc/guix.texi:21885
  32789. msgid "The getmail configuration file to use."
  32790. msgstr ""
  32791. #. type: deftypevr
  32792. #: guix-git/doc/guix.texi:21887
  32793. msgid "Available @code{getmail-configuration-file} fields are:"
  32794. msgstr ""
  32795. #. type: deftypevr
  32796. #: guix-git/doc/guix.texi:21888
  32797. #, no-wrap
  32798. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  32799. msgstr ""
  32800. #. type: deftypevr
  32801. #: guix-git/doc/guix.texi:21890
  32802. msgid "What mail account to retrieve mail from, and how to access that account."
  32803. msgstr ""
  32804. #. type: deftypevr
  32805. #: guix-git/doc/guix.texi:21892
  32806. msgid "Available @code{getmail-retriever-configuration} fields are:"
  32807. msgstr ""
  32808. #. type: deftypevr
  32809. #: guix-git/doc/guix.texi:21893
  32810. #, no-wrap
  32811. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  32812. msgstr ""
  32813. #. type: deftypevr
  32814. #: guix-git/doc/guix.texi:21896
  32815. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  32816. msgstr ""
  32817. #. type: deftypevr
  32818. #: guix-git/doc/guix.texi:21898
  32819. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  32820. msgstr ""
  32821. #. type: deftypevr
  32822. #: guix-git/doc/guix.texi:21901
  32823. #, no-wrap
  32824. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  32825. msgstr ""
  32826. #. type: deftypevr
  32827. #: guix-git/doc/guix.texi:21903 guix-git/doc/guix.texi:21910
  32828. msgid "Username to login to the mail server with."
  32829. msgstr ""
  32830. #. type: deftypevr
  32831. #: guix-git/doc/guix.texi:21905 guix-git/doc/guix.texi:21912
  32832. #: guix-git/doc/guix.texi:21976
  32833. msgid "Defaults to @samp{unset}."
  32834. msgstr ""
  32835. #. type: deftypevr
  32836. #: guix-git/doc/guix.texi:21908
  32837. #, no-wrap
  32838. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  32839. msgstr ""
  32840. #. type: deftypevr
  32841. #: guix-git/doc/guix.texi:21915
  32842. #, no-wrap
  32843. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  32844. msgstr ""
  32845. #. type: deftypevr
  32846. #: guix-git/doc/guix.texi:21917
  32847. msgid "Port number to connect to."
  32848. msgstr ""
  32849. #. type: deftypevr
  32850. #: guix-git/doc/guix.texi:21922
  32851. #, no-wrap
  32852. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  32853. msgstr ""
  32854. #. type: deftypevr
  32855. #: guix-git/doc/guix.texi:21924 guix-git/doc/guix.texi:21931
  32856. msgid "Override fields from passwd."
  32857. msgstr ""
  32858. #. type: deftypevr
  32859. #: guix-git/doc/guix.texi:21929
  32860. #, no-wrap
  32861. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  32862. msgstr ""
  32863. #. type: deftypevr
  32864. #: guix-git/doc/guix.texi:21936
  32865. #, no-wrap
  32866. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  32867. msgstr ""
  32868. #. type: deftypevr
  32869. #: guix-git/doc/guix.texi:21938
  32870. msgid "PEM-formatted key file to use for the TLS negotiation."
  32871. msgstr ""
  32872. #. type: deftypevr
  32873. #: guix-git/doc/guix.texi:21943
  32874. #, no-wrap
  32875. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  32876. msgstr ""
  32877. #. type: deftypevr
  32878. #: guix-git/doc/guix.texi:21945
  32879. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  32880. msgstr ""
  32881. #. type: deftypevr
  32882. #: guix-git/doc/guix.texi:21950
  32883. #, no-wrap
  32884. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  32885. msgstr ""
  32886. #. type: deftypevr
  32887. #: guix-git/doc/guix.texi:21952
  32888. msgid "CA certificates to use."
  32889. msgstr ""
  32890. #. type: deftypevr
  32891. #: guix-git/doc/guix.texi:21957
  32892. #, no-wrap
  32893. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  32894. msgstr ""
  32895. #. type: deftypevr
  32896. #: guix-git/doc/guix.texi:21959
  32897. msgid "Extra retriever parameters."
  32898. msgstr ""
  32899. #. type: deftypevr
  32900. #: guix-git/doc/guix.texi:21966
  32901. #, no-wrap
  32902. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  32903. msgstr ""
  32904. #. type: deftypevr
  32905. #: guix-git/doc/guix.texi:21968
  32906. msgid "What to do with retrieved messages."
  32907. msgstr ""
  32908. #. type: deftypevr
  32909. #: guix-git/doc/guix.texi:21970
  32910. msgid "Available @code{getmail-destination-configuration} fields are:"
  32911. msgstr ""
  32912. #. type: deftypevr
  32913. #: guix-git/doc/guix.texi:21971
  32914. #, no-wrap
  32915. msgid "{@code{getmail-destination-configuration} parameter} string type"
  32916. msgstr ""
  32917. #. type: deftypevr
  32918. #: guix-git/doc/guix.texi:21974
  32919. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  32920. msgstr ""
  32921. #. type: deftypevr
  32922. #: guix-git/doc/guix.texi:21979
  32923. #, no-wrap
  32924. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  32925. msgstr ""
  32926. #. type: deftypevr
  32927. #: guix-git/doc/guix.texi:21982
  32928. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  32929. msgstr ""
  32930. #. type: deftypevr
  32931. #: guix-git/doc/guix.texi:21987
  32932. #, no-wrap
  32933. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  32934. msgstr ""
  32935. #. type: deftypevr
  32936. #: guix-git/doc/guix.texi:21989
  32937. msgid "Extra destination parameters"
  32938. msgstr ""
  32939. #. type: deftypevr
  32940. #: guix-git/doc/guix.texi:21996
  32941. #, no-wrap
  32942. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  32943. msgstr ""
  32944. #. type: deftypevr
  32945. #: guix-git/doc/guix.texi:21998
  32946. msgid "Configure getmail."
  32947. msgstr ""
  32948. #. type: deftypevr
  32949. #: guix-git/doc/guix.texi:22000
  32950. msgid "Available @code{getmail-options-configuration} fields are:"
  32951. msgstr ""
  32952. #. type: deftypevr
  32953. #: guix-git/doc/guix.texi:22001
  32954. #, no-wrap
  32955. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  32956. msgstr ""
  32957. #. type: deftypevr
  32958. #: guix-git/doc/guix.texi:22006
  32959. 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."
  32960. msgstr ""
  32961. #. type: deftypevr
  32962. #: guix-git/doc/guix.texi:22008 guix-git/doc/guix.texi:28581
  32963. #: guix-git/doc/guix.texi:29169 guix-git/doc/guix.texi:29314
  32964. msgid "Defaults to @samp{1}."
  32965. msgstr ""
  32966. #. type: deftypevr
  32967. #: guix-git/doc/guix.texi:22011
  32968. #, no-wrap
  32969. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  32970. msgstr ""
  32971. #. type: deftypevr
  32972. #: guix-git/doc/guix.texi:22014
  32973. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  32974. msgstr ""
  32975. #. type: deftypevr
  32976. #: guix-git/doc/guix.texi:22019
  32977. #, no-wrap
  32978. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  32979. msgstr ""
  32980. #. type: deftypevr
  32981. #: guix-git/doc/guix.texi:22023
  32982. 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."
  32983. msgstr ""
  32984. #. type: deftypevr
  32985. #: guix-git/doc/guix.texi:22028
  32986. #, no-wrap
  32987. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  32988. msgstr ""
  32989. #. type: deftypevr
  32990. #: guix-git/doc/guix.texi:22033
  32991. 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."
  32992. msgstr ""
  32993. #. type: deftypevr
  32994. #: guix-git/doc/guix.texi:22038
  32995. #, no-wrap
  32996. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  32997. msgstr ""
  32998. #. type: deftypevr
  32999. #: guix-git/doc/guix.texi:22042
  33000. 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."
  33001. msgstr ""
  33002. #. type: deftypevr
  33003. #: guix-git/doc/guix.texi:22047
  33004. #, no-wrap
  33005. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  33006. msgstr ""
  33007. #. type: deftypevr
  33008. #: guix-git/doc/guix.texi:22050
  33009. 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."
  33010. msgstr ""
  33011. #. type: deftypevr
  33012. #: guix-git/doc/guix.texi:22055
  33013. #, no-wrap
  33014. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  33015. msgstr ""
  33016. #. type: deftypevr
  33017. #: guix-git/doc/guix.texi:22058
  33018. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  33019. msgstr ""
  33020. #. type: deftypevr
  33021. #: guix-git/doc/guix.texi:22063
  33022. #, no-wrap
  33023. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  33024. msgstr ""
  33025. #. type: deftypevr
  33026. #: guix-git/doc/guix.texi:22065
  33027. msgid "If true, getmail will add a Delivered-To header to messages."
  33028. msgstr ""
  33029. #. type: deftypevr
  33030. #: guix-git/doc/guix.texi:22070
  33031. #, no-wrap
  33032. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  33033. msgstr ""
  33034. #. type: deftypevr
  33035. #: guix-git/doc/guix.texi:22072
  33036. msgid "If set, getmail adds a Received header to the messages."
  33037. msgstr ""
  33038. #. type: deftypevr
  33039. #: guix-git/doc/guix.texi:22077
  33040. #, no-wrap
  33041. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  33042. msgstr ""
  33043. #. type: deftypevr
  33044. #: guix-git/doc/guix.texi:22080
  33045. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  33046. msgstr ""
  33047. #. type: deftypevr
  33048. #: guix-git/doc/guix.texi:22085
  33049. #, no-wrap
  33050. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  33051. msgstr ""
  33052. #. type: deftypevr
  33053. #: guix-git/doc/guix.texi:22088
  33054. msgid "If true, getmail will record a log of its actions using the system logger."
  33055. msgstr ""
  33056. #. type: deftypevr
  33057. #: guix-git/doc/guix.texi:22093
  33058. #, no-wrap
  33059. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  33060. msgstr ""
  33061. #. type: deftypevr
  33062. #: guix-git/doc/guix.texi:22097
  33063. 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."
  33064. msgstr ""
  33065. #. type: deftypevr
  33066. #: guix-git/doc/guix.texi:22102
  33067. #, no-wrap
  33068. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  33069. msgstr ""
  33070. #. type: deftypevr
  33071. #: guix-git/doc/guix.texi:22104
  33072. msgid "Extra options to include."
  33073. msgstr ""
  33074. #. type: deftypevr
  33075. #: guix-git/doc/guix.texi:22113
  33076. #, no-wrap
  33077. msgid "{@code{getmail-configuration} parameter} list idle"
  33078. msgstr ""
  33079. #. type: deftypevr
  33080. #: guix-git/doc/guix.texi:22117
  33081. 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."
  33082. msgstr ""
  33083. #. type: deftypevr
  33084. #: guix-git/doc/guix.texi:22122
  33085. #, no-wrap
  33086. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  33087. msgstr ""
  33088. #. type: deftypevr
  33089. #: guix-git/doc/guix.texi:22124
  33090. msgid "Environment variables to set for getmail."
  33091. msgstr ""
  33092. #. type: subsubheading
  33093. #: guix-git/doc/guix.texi:22129
  33094. #, no-wrap
  33095. msgid "Mail Aliases Service"
  33096. msgstr ""
  33097. #. type: cindex
  33098. #: guix-git/doc/guix.texi:22131
  33099. #, no-wrap
  33100. msgid "email aliases"
  33101. msgstr ""
  33102. #. type: cindex
  33103. #: guix-git/doc/guix.texi:22132
  33104. #, no-wrap
  33105. msgid "aliases, for email addresses"
  33106. msgstr ""
  33107. #. type: deffn
  33108. #: guix-git/doc/guix.texi:22134
  33109. #, no-wrap
  33110. msgid "{Scheme Variable} mail-aliases-service-type"
  33111. msgstr ""
  33112. #. type: deffn
  33113. #: guix-git/doc/guix.texi:22137
  33114. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  33115. msgstr ""
  33116. #. type: lisp
  33117. #: guix-git/doc/guix.texi:22142
  33118. #, no-wrap
  33119. msgid ""
  33120. "(service mail-aliases-service-type\n"
  33121. " '((\"postmaster\" \"bob\")\n"
  33122. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  33123. msgstr ""
  33124. #. type: Plain text
  33125. #: guix-git/doc/guix.texi:22150
  33126. 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."
  33127. msgstr ""
  33128. #. type: Plain text
  33129. #: guix-git/doc/guix.texi:22156
  33130. 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})."
  33131. msgstr ""
  33132. #. type: cindex
  33133. #: guix-git/doc/guix.texi:22157 guix-git/doc/guix.texi:22158
  33134. #, no-wrap
  33135. msgid "GNU Mailutils IMAP4 Daemon"
  33136. msgstr ""
  33137. #. type: deffn
  33138. #: guix-git/doc/guix.texi:22160
  33139. #, no-wrap
  33140. msgid "{Scheme Variable} imap4d-service-type"
  33141. msgstr ""
  33142. #. type: deffn
  33143. #: guix-git/doc/guix.texi:22164
  33144. 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:"
  33145. msgstr ""
  33146. #. type: lisp
  33147. #: guix-git/doc/guix.texi:22169
  33148. #, no-wrap
  33149. msgid ""
  33150. "(service imap4d-service-type\n"
  33151. " (imap4d-configuration\n"
  33152. " (config-file (local-file \"imap4d.conf\"))))\n"
  33153. msgstr ""
  33154. #. type: deftp
  33155. #: guix-git/doc/guix.texi:22172
  33156. #, no-wrap
  33157. msgid "{Data Type} imap4d-configuration"
  33158. msgstr ""
  33159. #. type: deftp
  33160. #: guix-git/doc/guix.texi:22174
  33161. msgid "Data type representing the configuration of @command{imap4d}."
  33162. msgstr ""
  33163. #. type: item
  33164. #: guix-git/doc/guix.texi:22176
  33165. #, no-wrap
  33166. msgid "@code{package} (default: @code{mailutils})"
  33167. msgstr ""
  33168. #. type: table
  33169. #: guix-git/doc/guix.texi:22178
  33170. msgid "The package that provides @command{imap4d}."
  33171. msgstr ""
  33172. #. type: item
  33173. #: guix-git/doc/guix.texi:22179
  33174. #, no-wrap
  33175. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  33176. msgstr ""
  33177. #. type: table
  33178. #: guix-git/doc/guix.texi:22183
  33179. 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."
  33180. msgstr ""
  33181. #. type: subsubheading
  33182. #: guix-git/doc/guix.texi:22187
  33183. #, no-wrap
  33184. msgid "Radicale Service"
  33185. msgstr ""
  33186. #. type: cindex
  33187. #: guix-git/doc/guix.texi:22188
  33188. #, no-wrap
  33189. msgid "CalDAV"
  33190. msgstr ""
  33191. #. type: cindex
  33192. #: guix-git/doc/guix.texi:22189
  33193. #, no-wrap
  33194. msgid "CardDAV"
  33195. msgstr ""
  33196. #. type: deffn
  33197. #: guix-git/doc/guix.texi:22191
  33198. #, no-wrap
  33199. msgid "{Scheme Variable} radicale-service-type"
  33200. msgstr ""
  33201. #. type: deffn
  33202. #: guix-git/doc/guix.texi:22194
  33203. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  33204. msgstr ""
  33205. #. type: deftp
  33206. #: guix-git/doc/guix.texi:22196
  33207. #, no-wrap
  33208. msgid "{Data Type} radicale-configuration"
  33209. msgstr ""
  33210. #. type: deftp
  33211. #: guix-git/doc/guix.texi:22198
  33212. msgid "Data type representing the configuration of @command{radicale}."
  33213. msgstr ""
  33214. #. type: item
  33215. #: guix-git/doc/guix.texi:22200
  33216. #, no-wrap
  33217. msgid "@code{package} (default: @code{radicale})"
  33218. msgstr ""
  33219. #. type: table
  33220. #: guix-git/doc/guix.texi:22202
  33221. msgid "The package that provides @command{radicale}."
  33222. msgstr ""
  33223. #. type: item
  33224. #: guix-git/doc/guix.texi:22203
  33225. #, no-wrap
  33226. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  33227. msgstr ""
  33228. #. type: table
  33229. #: guix-git/doc/guix.texi:22207
  33230. 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."
  33231. msgstr ""
  33232. #. type: cindex
  33233. #: guix-git/doc/guix.texi:22214
  33234. #, no-wrap
  33235. msgid "messaging"
  33236. msgstr ""
  33237. #. type: cindex
  33238. #: guix-git/doc/guix.texi:22215
  33239. #, no-wrap
  33240. msgid "jabber"
  33241. msgstr ""
  33242. #. type: cindex
  33243. #: guix-git/doc/guix.texi:22216
  33244. #, no-wrap
  33245. msgid "XMPP"
  33246. msgstr ""
  33247. #. type: Plain text
  33248. #: guix-git/doc/guix.texi:22220
  33249. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  33250. msgstr ""
  33251. #. type: subsubheading
  33252. #: guix-git/doc/guix.texi:22221
  33253. #, no-wrap
  33254. msgid "Prosody Service"
  33255. msgstr ""
  33256. #. type: deffn
  33257. #: guix-git/doc/guix.texi:22223
  33258. #, no-wrap
  33259. msgid "{Scheme Variable} prosody-service-type"
  33260. msgstr ""
  33261. #. type: deffn
  33262. #: guix-git/doc/guix.texi:22227
  33263. 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:"
  33264. msgstr ""
  33265. #. type: lisp
  33266. #: guix-git/doc/guix.texi:22242
  33267. #, no-wrap
  33268. msgid ""
  33269. "(service prosody-service-type\n"
  33270. " (prosody-configuration\n"
  33271. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  33272. " (int-components\n"
  33273. " (list\n"
  33274. " (int-component-configuration\n"
  33275. " (hostname \"conference.example.net\")\n"
  33276. " (plugin \"muc\")\n"
  33277. " (mod-muc (mod-muc-configuration)))))\n"
  33278. " (virtualhosts\n"
  33279. " (list\n"
  33280. " (virtualhost-configuration\n"
  33281. " (domain \"example.net\"))))))\n"
  33282. msgstr ""
  33283. #. type: deffn
  33284. #: guix-git/doc/guix.texi:22245
  33285. msgid "See below for details about @code{prosody-configuration}."
  33286. msgstr ""
  33287. #. type: Plain text
  33288. #: guix-git/doc/guix.texi:22251
  33289. 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."
  33290. msgstr ""
  33291. #. type: Plain text
  33292. #: guix-git/doc/guix.texi:22254
  33293. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  33294. msgstr ""
  33295. #. type: Plain text
  33296. #: guix-git/doc/guix.texi:22258
  33297. 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}."
  33298. msgstr ""
  33299. #. type: example
  33300. #: guix-git/doc/guix.texi:22261
  33301. #, no-wrap
  33302. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  33303. msgstr ""
  33304. #. type: Plain text
  33305. #: guix-git/doc/guix.texi:22268
  33306. 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}."
  33307. msgstr ""
  33308. #. type: Plain text
  33309. #: guix-git/doc/guix.texi:22272
  33310. 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."
  33311. msgstr ""
  33312. #. type: Plain text
  33313. #: guix-git/doc/guix.texi:22275
  33314. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  33315. msgstr ""
  33316. #. type: Plain text
  33317. #: guix-git/doc/guix.texi:22285
  33318. msgid "Available @code{prosody-configuration} fields are:"
  33319. msgstr ""
  33320. #. type: deftypevr
  33321. #: guix-git/doc/guix.texi:22286
  33322. #, no-wrap
  33323. msgid "{@code{prosody-configuration} parameter} package prosody"
  33324. msgstr ""
  33325. #. type: deftypevr
  33326. #: guix-git/doc/guix.texi:22288
  33327. msgid "The Prosody package."
  33328. msgstr ""
  33329. #. type: deftypevr
  33330. #: guix-git/doc/guix.texi:22290
  33331. #, no-wrap
  33332. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  33333. msgstr ""
  33334. #. type: deftypevr
  33335. #: guix-git/doc/guix.texi:22294
  33336. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  33337. msgstr ""
  33338. #. type: deftypevr
  33339. #: guix-git/doc/guix.texi:22296
  33340. #, no-wrap
  33341. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  33342. msgstr ""
  33343. #. type: deftypevr
  33344. #: guix-git/doc/guix.texi:22300
  33345. 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{()}."
  33346. msgstr ""
  33347. #. type: deftypevr
  33348. #: guix-git/doc/guix.texi:22302
  33349. #, no-wrap
  33350. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  33351. msgstr ""
  33352. #. type: deftypevr
  33353. #: guix-git/doc/guix.texi:22307
  33354. 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\"}."
  33355. msgstr ""
  33356. #. type: deftypevr
  33357. #: guix-git/doc/guix.texi:22309
  33358. #, no-wrap
  33359. msgid "{@code{prosody-configuration} parameter} string-list admins"
  33360. msgstr ""
  33361. #. type: deftypevr
  33362. #: guix-git/doc/guix.texi:22315
  33363. 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{()}."
  33364. msgstr ""
  33365. #. type: deftypevr
  33366. #: guix-git/doc/guix.texi:22317
  33367. #, no-wrap
  33368. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  33369. msgstr ""
  33370. #. type: deftypevr
  33371. #: guix-git/doc/guix.texi:22321
  33372. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  33373. msgstr ""
  33374. #. type: deftypevr
  33375. #: guix-git/doc/guix.texi:22323
  33376. #, no-wrap
  33377. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  33378. msgstr ""
  33379. #. type: deftypevr
  33380. #: guix-git/doc/guix.texi:22329
  33381. 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\")}."
  33382. msgstr ""
  33383. #. type: deftypevr
  33384. #: guix-git/doc/guix.texi:22331
  33385. #, no-wrap
  33386. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  33387. msgstr ""
  33388. #. type: deftypevr
  33389. #: guix-git/doc/guix.texi:22335
  33390. 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{()}."
  33391. msgstr ""
  33392. #. type: deftypevr
  33393. #: guix-git/doc/guix.texi:22337
  33394. #, no-wrap
  33395. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  33396. msgstr ""
  33397. #. type: deftypevr
  33398. #: guix-git/doc/guix.texi:22342
  33399. 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\"}."
  33400. msgstr ""
  33401. #. type: deftypevr
  33402. #: guix-git/doc/guix.texi:22344
  33403. #, no-wrap
  33404. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  33405. msgstr ""
  33406. #. type: deftypevr
  33407. #: guix-git/doc/guix.texi:22348
  33408. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  33409. msgstr ""
  33410. #. type: deftypevr
  33411. #: guix-git/doc/guix.texi:22350
  33412. #, no-wrap
  33413. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  33414. msgstr ""
  33415. #. type: deftypevr
  33416. #: guix-git/doc/guix.texi:22355
  33417. 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}."
  33418. msgstr ""
  33419. #. type: deftypevr
  33420. #: guix-git/doc/guix.texi:22357
  33421. msgid "Available @code{ssl-configuration} fields are:"
  33422. msgstr ""
  33423. #. type: deftypevr
  33424. #: guix-git/doc/guix.texi:22358
  33425. #, no-wrap
  33426. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  33427. msgstr ""
  33428. #. type: deftypevr
  33429. #: guix-git/doc/guix.texi:22360
  33430. msgid "This determines what handshake to use."
  33431. msgstr ""
  33432. #. type: deftypevr
  33433. #: guix-git/doc/guix.texi:22362
  33434. #, no-wrap
  33435. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  33436. msgstr ""
  33437. #. type: deftypevr
  33438. #: guix-git/doc/guix.texi:22364
  33439. msgid "Path to your private key file."
  33440. msgstr ""
  33441. #. type: deftypevr
  33442. #: guix-git/doc/guix.texi:22366
  33443. #, no-wrap
  33444. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  33445. msgstr ""
  33446. #. type: deftypevr
  33447. #: guix-git/doc/guix.texi:22368
  33448. msgid "Path to your certificate file."
  33449. msgstr ""
  33450. #. type: deftypevr
  33451. #: guix-git/doc/guix.texi:22370
  33452. #, no-wrap
  33453. msgid "{@code{ssl-configuration} parameter} file-object capath"
  33454. msgstr ""
  33455. #. type: deftypevr
  33456. #: guix-git/doc/guix.texi:22374
  33457. 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\"}."
  33458. msgstr ""
  33459. #. type: deftypevr
  33460. #: guix-git/doc/guix.texi:22376
  33461. #, no-wrap
  33462. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  33463. msgstr ""
  33464. #. type: deftypevr
  33465. #: guix-git/doc/guix.texi:22379
  33466. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  33467. msgstr ""
  33468. #. type: deftypevr
  33469. #: guix-git/doc/guix.texi:22381
  33470. #, no-wrap
  33471. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  33472. msgstr ""
  33473. #. type: deftypevr
  33474. #: guix-git/doc/guix.texi:22384
  33475. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  33476. msgstr ""
  33477. #. type: deftypevr
  33478. #: guix-git/doc/guix.texi:22386
  33479. #, no-wrap
  33480. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  33481. msgstr ""
  33482. #. type: deftypevr
  33483. #: guix-git/doc/guix.texi:22390
  33484. 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."
  33485. msgstr ""
  33486. #. type: deftypevr
  33487. #: guix-git/doc/guix.texi:22392
  33488. #, no-wrap
  33489. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  33490. msgstr ""
  33491. #. type: deftypevr
  33492. #: guix-git/doc/guix.texi:22395
  33493. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  33494. msgstr ""
  33495. #. type: deftypevr
  33496. #: guix-git/doc/guix.texi:22397
  33497. #, no-wrap
  33498. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  33499. msgstr ""
  33500. #. type: deftypevr
  33501. #: guix-git/doc/guix.texi:22400
  33502. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  33503. msgstr ""
  33504. #. type: deftypevr
  33505. #: guix-git/doc/guix.texi:22402
  33506. #, no-wrap
  33507. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  33508. msgstr ""
  33509. #. type: deftypevr
  33510. #: guix-git/doc/guix.texi:22406
  33511. 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}"
  33512. msgstr ""
  33513. #. type: deftypevr
  33514. #: guix-git/doc/guix.texi:22408
  33515. #, no-wrap
  33516. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  33517. msgstr ""
  33518. #. type: deftypevr
  33519. #: guix-git/doc/guix.texi:22411
  33520. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  33521. msgstr ""
  33522. #. type: deftypevr
  33523. #: guix-git/doc/guix.texi:22413
  33524. #, no-wrap
  33525. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  33526. msgstr ""
  33527. #. type: deftypevr
  33528. #: guix-git/doc/guix.texi:22415
  33529. msgid "A list of ``extra'' verification options."
  33530. msgstr ""
  33531. #. type: deftypevr
  33532. #: guix-git/doc/guix.texi:22417
  33533. #, no-wrap
  33534. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  33535. msgstr ""
  33536. #. type: deftypevr
  33537. #: guix-git/doc/guix.texi:22419
  33538. msgid "Password for encrypted private keys."
  33539. msgstr ""
  33540. #. type: deftypevr
  33541. #: guix-git/doc/guix.texi:22423
  33542. #, no-wrap
  33543. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  33544. msgstr ""
  33545. #. type: deftypevr
  33546. #: guix-git/doc/guix.texi:22427
  33547. 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}."
  33548. msgstr ""
  33549. #. type: deftypevr
  33550. #: guix-git/doc/guix.texi:22429
  33551. #, no-wrap
  33552. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  33553. msgstr ""
  33554. #. type: deftypevr
  33555. #: guix-git/doc/guix.texi:22433
  33556. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  33557. msgstr ""
  33558. #. type: deftypevr
  33559. #: guix-git/doc/guix.texi:22435
  33560. #, no-wrap
  33561. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  33562. msgstr ""
  33563. #. type: deftypevr
  33564. #: guix-git/doc/guix.texi:22439
  33565. 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}."
  33566. msgstr ""
  33567. #. type: deftypevr
  33568. #: guix-git/doc/guix.texi:22441
  33569. #, no-wrap
  33570. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  33571. msgstr ""
  33572. #. type: deftypevr
  33573. #: guix-git/doc/guix.texi:22447
  33574. 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}."
  33575. msgstr ""
  33576. #. type: deftypevr
  33577. #: guix-git/doc/guix.texi:22449
  33578. #, no-wrap
  33579. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  33580. msgstr ""
  33581. #. type: deftypevr
  33582. #: guix-git/doc/guix.texi:22455
  33583. 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{()}."
  33584. msgstr ""
  33585. #. type: deftypevr
  33586. #: guix-git/doc/guix.texi:22457
  33587. #, no-wrap
  33588. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  33589. msgstr ""
  33590. #. type: deftypevr
  33591. #: guix-git/doc/guix.texi:22462
  33592. 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{()}."
  33593. msgstr ""
  33594. #. type: deftypevr
  33595. #: guix-git/doc/guix.texi:22464
  33596. #, no-wrap
  33597. msgid "{@code{prosody-configuration} parameter} string authentication"
  33598. msgstr ""
  33599. #. type: deftypevr
  33600. #: guix-git/doc/guix.texi:22472
  33601. 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\"}."
  33602. msgstr ""
  33603. #. type: deftypevr
  33604. #: guix-git/doc/guix.texi:22474
  33605. #, no-wrap
  33606. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  33607. msgstr ""
  33608. #. type: deftypevr
  33609. #: guix-git/doc/guix.texi:22478
  33610. 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\"}."
  33611. msgstr ""
  33612. #. type: deftypevr
  33613. #: guix-git/doc/guix.texi:22480
  33614. #, no-wrap
  33615. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  33616. msgstr ""
  33617. #. type: deftypevr
  33618. #: guix-git/doc/guix.texi:22483
  33619. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  33620. msgstr ""
  33621. #. type: deftypevr
  33622. #: guix-git/doc/guix.texi:22485
  33623. #, no-wrap
  33624. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  33625. msgstr ""
  33626. #. type: deftypevr
  33627. #: guix-git/doc/guix.texi:22487
  33628. msgid "Maximum allowed size of the HTTP body (in bytes)."
  33629. msgstr ""
  33630. #. type: deftypevr
  33631. #: guix-git/doc/guix.texi:22489
  33632. #, no-wrap
  33633. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  33634. msgstr ""
  33635. #. type: deftypevr
  33636. #: guix-git/doc/guix.texi:22494
  33637. 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}."
  33638. msgstr ""
  33639. #. type: deftypevr
  33640. #: guix-git/doc/guix.texi:22496
  33641. #, no-wrap
  33642. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  33643. msgstr ""
  33644. #. type: deftypevr
  33645. #: guix-git/doc/guix.texi:22501
  33646. 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."
  33647. msgstr ""
  33648. #. type: deftypevr
  33649. #: guix-git/doc/guix.texi:22507
  33650. 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."
  33651. msgstr ""
  33652. #. type: deftypevr
  33653. #: guix-git/doc/guix.texi:22509
  33654. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  33655. msgstr ""
  33656. #. type: deftypevr
  33657. #: guix-git/doc/guix.texi:22511
  33658. msgid "Available @code{virtualhost-configuration} fields are:"
  33659. msgstr ""
  33660. #. type: deftypevr
  33661. #: guix-git/doc/guix.texi:22513 guix-git/doc/guix.texi:22535
  33662. #: guix-git/doc/guix.texi:22588
  33663. 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:"
  33664. msgstr ""
  33665. #. type: deftypevr
  33666. #: guix-git/doc/guix.texi:22513
  33667. #, no-wrap
  33668. msgid "{@code{virtualhost-configuration} parameter} string domain"
  33669. msgstr ""
  33670. #. type: deftypevr
  33671. #: guix-git/doc/guix.texi:22515
  33672. msgid "Domain you wish Prosody to serve."
  33673. msgstr ""
  33674. #. type: deftypevr
  33675. #: guix-git/doc/guix.texi:22519
  33676. #, no-wrap
  33677. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  33678. msgstr ""
  33679. #. type: deftypevr
  33680. #: guix-git/doc/guix.texi:22524
  33681. 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."
  33682. msgstr ""
  33683. #. type: deftypevr
  33684. #: guix-git/doc/guix.texi:22528
  33685. 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."
  33686. msgstr ""
  33687. #. type: deftypevr
  33688. #: guix-git/doc/guix.texi:22531
  33689. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  33690. msgstr ""
  33691. #. type: deftypevr
  33692. #: guix-git/doc/guix.texi:22533
  33693. msgid "Available @code{int-component-configuration} fields are:"
  33694. msgstr ""
  33695. #. type: deftypevr
  33696. #: guix-git/doc/guix.texi:22535
  33697. #, no-wrap
  33698. msgid "{@code{int-component-configuration} parameter} string hostname"
  33699. msgstr ""
  33700. #. type: deftypevr
  33701. #: guix-git/doc/guix.texi:22537 guix-git/doc/guix.texi:22594
  33702. msgid "Hostname of the component."
  33703. msgstr ""
  33704. #. type: deftypevr
  33705. #: guix-git/doc/guix.texi:22539
  33706. #, no-wrap
  33707. msgid "{@code{int-component-configuration} parameter} string plugin"
  33708. msgstr ""
  33709. #. type: deftypevr
  33710. #: guix-git/doc/guix.texi:22541
  33711. msgid "Plugin you wish to use for the component."
  33712. msgstr ""
  33713. #. type: deftypevr
  33714. #: guix-git/doc/guix.texi:22543
  33715. #, no-wrap
  33716. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  33717. msgstr ""
  33718. #. type: deftypevr
  33719. #: guix-git/doc/guix.texi:22546
  33720. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  33721. msgstr ""
  33722. #. type: deftypevr
  33723. #: guix-git/doc/guix.texi:22550
  33724. 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."
  33725. msgstr ""
  33726. #. type: deftypevr
  33727. #: guix-git/doc/guix.texi:22552
  33728. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  33729. msgstr ""
  33730. #. type: deftypevr
  33731. #: guix-git/doc/guix.texi:22554
  33732. msgid "Available @code{mod-muc-configuration} fields are:"
  33733. msgstr ""
  33734. #. type: deftypevr
  33735. #: guix-git/doc/guix.texi:22555
  33736. #, no-wrap
  33737. msgid "{@code{mod-muc-configuration} parameter} string name"
  33738. msgstr ""
  33739. #. type: deftypevr
  33740. #: guix-git/doc/guix.texi:22558
  33741. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  33742. msgstr ""
  33743. #. type: deftypevr
  33744. #: guix-git/doc/guix.texi:22560
  33745. #, no-wrap
  33746. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  33747. msgstr ""
  33748. #. type: deftypevr
  33749. #: guix-git/doc/guix.texi:22567
  33750. 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}."
  33751. msgstr ""
  33752. #. type: deftypevr
  33753. #: guix-git/doc/guix.texi:22569
  33754. #, no-wrap
  33755. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  33756. msgstr ""
  33757. #. type: deftypevr
  33758. #: guix-git/doc/guix.texi:22573
  33759. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  33760. msgstr ""
  33761. #. type: deftypevr
  33762. #: guix-git/doc/guix.texi:22579
  33763. #, no-wrap
  33764. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  33765. msgstr ""
  33766. #. type: deftypevr
  33767. #: guix-git/doc/guix.texi:22584
  33768. 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{()}."
  33769. msgstr ""
  33770. #. type: deftypevr
  33771. #: guix-git/doc/guix.texi:22586
  33772. msgid "Available @code{ext-component-configuration} fields are:"
  33773. msgstr ""
  33774. #. type: deftypevr
  33775. #: guix-git/doc/guix.texi:22588
  33776. #, no-wrap
  33777. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  33778. msgstr ""
  33779. #. type: deftypevr
  33780. #: guix-git/doc/guix.texi:22590
  33781. msgid "Password which the component will use to log in."
  33782. msgstr ""
  33783. #. type: deftypevr
  33784. #: guix-git/doc/guix.texi:22592
  33785. #, no-wrap
  33786. msgid "{@code{ext-component-configuration} parameter} string hostname"
  33787. msgstr ""
  33788. #. type: deftypevr
  33789. #: guix-git/doc/guix.texi:22598
  33790. #, no-wrap
  33791. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  33792. msgstr ""
  33793. #. type: deftypevr
  33794. #: guix-git/doc/guix.texi:22601
  33795. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  33796. msgstr ""
  33797. #. type: deftypevr
  33798. #: guix-git/doc/guix.texi:22603
  33799. #, no-wrap
  33800. msgid "{@code{prosody-configuration} parameter} string component-interface"
  33801. msgstr ""
  33802. #. type: deftypevr
  33803. #: guix-git/doc/guix.texi:22606
  33804. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  33805. msgstr ""
  33806. #. type: deftypevr
  33807. #: guix-git/doc/guix.texi:22608
  33808. #, no-wrap
  33809. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  33810. msgstr ""
  33811. #. type: deftypevr
  33812. #: guix-git/doc/guix.texi:22610
  33813. msgid "Raw content that will be added to the configuration file."
  33814. msgstr ""
  33815. #. type: Plain text
  33816. #: guix-git/doc/guix.texi:22618
  33817. 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:"
  33818. msgstr ""
  33819. #. type: deftypevr
  33820. #: guix-git/doc/guix.texi:22619
  33821. #, no-wrap
  33822. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  33823. msgstr ""
  33824. #. type: deftypevr
  33825. #: guix-git/doc/guix.texi:22621
  33826. msgid "The prosody package."
  33827. msgstr ""
  33828. #. type: deftypevr
  33829. #: guix-git/doc/guix.texi:22623
  33830. #, no-wrap
  33831. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  33832. msgstr ""
  33833. #. type: deftypevr
  33834. #: guix-git/doc/guix.texi:22625
  33835. msgid "The contents of the @code{prosody.cfg.lua} to use."
  33836. msgstr ""
  33837. #. type: Plain text
  33838. #: guix-git/doc/guix.texi:22629
  33839. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  33840. msgstr ""
  33841. #. type: lisp
  33842. #: guix-git/doc/guix.texi:22634
  33843. #, no-wrap
  33844. msgid ""
  33845. "(service prosody-service-type\n"
  33846. " (opaque-prosody-configuration\n"
  33847. " (prosody.cfg.lua \"\")))\n"
  33848. msgstr ""
  33849. #. type: subsubheading
  33850. #: guix-git/doc/guix.texi:22638
  33851. #, no-wrap
  33852. msgid "BitlBee Service"
  33853. msgstr ""
  33854. #. type: cindex
  33855. #: guix-git/doc/guix.texi:22640 guix-git/doc/guix.texi:22684
  33856. #, no-wrap
  33857. msgid "IRC (Internet Relay Chat)"
  33858. msgstr ""
  33859. #. type: cindex
  33860. #: guix-git/doc/guix.texi:22641
  33861. #, no-wrap
  33862. msgid "IRC gateway"
  33863. msgstr ""
  33864. #. type: Plain text
  33865. #: guix-git/doc/guix.texi:22644
  33866. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  33867. msgstr ""
  33868. #. type: defvr
  33869. #: guix-git/doc/guix.texi:22645
  33870. #, no-wrap
  33871. msgid "{Scheme Variable} bitlbee-service-type"
  33872. msgstr ""
  33873. #. type: defvr
  33874. #: guix-git/doc/guix.texi:22649
  33875. 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)."
  33876. msgstr ""
  33877. #. type: defvr
  33878. #: guix-git/doc/guix.texi:22652
  33879. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  33880. msgstr ""
  33881. #. type: lisp
  33882. #: guix-git/doc/guix.texi:22655
  33883. #, no-wrap
  33884. msgid "(service bitlbee-service-type)\n"
  33885. msgstr ""
  33886. #. type: deftp
  33887. #: guix-git/doc/guix.texi:22658
  33888. #, no-wrap
  33889. msgid "{Data Type} bitlbee-configuration"
  33890. msgstr ""
  33891. #. type: deftp
  33892. #: guix-git/doc/guix.texi:22660
  33893. msgid "This is the configuration for BitlBee, with the following fields:"
  33894. msgstr ""
  33895. #. type: item
  33896. #: guix-git/doc/guix.texi:22662
  33897. #, no-wrap
  33898. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  33899. msgstr ""
  33900. #. type: itemx
  33901. #: guix-git/doc/guix.texi:22663
  33902. #, no-wrap
  33903. msgid "@code{port} (default: @code{6667})"
  33904. msgstr ""
  33905. #. type: table
  33906. #: guix-git/doc/guix.texi:22666
  33907. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  33908. msgstr ""
  33909. #. type: table
  33910. #: guix-git/doc/guix.texi:22670
  33911. 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."
  33912. msgstr ""
  33913. #. type: item
  33914. #: guix-git/doc/guix.texi:22671
  33915. #, no-wrap
  33916. msgid "@code{bitlbee} (default: @code{bitlbee})"
  33917. msgstr ""
  33918. #. type: table
  33919. #: guix-git/doc/guix.texi:22673
  33920. msgid "The BitlBee package to use."
  33921. msgstr ""
  33922. #. type: item
  33923. #: guix-git/doc/guix.texi:22674
  33924. #, no-wrap
  33925. msgid "@code{plugins} (default: @code{'()})"
  33926. msgstr ""
  33927. #. type: table
  33928. #: guix-git/doc/guix.texi:22676
  33929. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  33930. msgstr ""
  33931. #. type: table
  33932. #: guix-git/doc/guix.texi:22679
  33933. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  33934. msgstr ""
  33935. #. type: subsubheading
  33936. #: guix-git/doc/guix.texi:22682
  33937. #, no-wrap
  33938. msgid "Quassel Service"
  33939. msgstr ""
  33940. #. type: Plain text
  33941. #: guix-git/doc/guix.texi:22688
  33942. 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."
  33943. msgstr ""
  33944. #. type: defvr
  33945. #: guix-git/doc/guix.texi:22689
  33946. #, no-wrap
  33947. msgid "{Scheme Variable} quassel-service-type"
  33948. msgstr ""
  33949. #. type: defvr
  33950. #: guix-git/doc/guix.texi:22693
  33951. 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)."
  33952. msgstr ""
  33953. #. type: deftp
  33954. #: guix-git/doc/guix.texi:22695
  33955. #, no-wrap
  33956. msgid "{Data Type} quassel-configuration"
  33957. msgstr ""
  33958. #. type: deftp
  33959. #: guix-git/doc/guix.texi:22697
  33960. msgid "This is the configuration for Quassel, with the following fields:"
  33961. msgstr ""
  33962. #. type: item
  33963. #: guix-git/doc/guix.texi:22699
  33964. #, no-wrap
  33965. msgid "@code{quassel} (default: @code{quassel})"
  33966. msgstr ""
  33967. #. type: table
  33968. #: guix-git/doc/guix.texi:22701
  33969. msgid "The Quassel package to use."
  33970. msgstr ""
  33971. #. type: item
  33972. #: guix-git/doc/guix.texi:22702
  33973. #, no-wrap
  33974. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  33975. msgstr ""
  33976. #. type: item
  33977. #: guix-git/doc/guix.texi:22703
  33978. #, no-wrap
  33979. msgid "@code{port} (default: @code{4242})"
  33980. msgstr ""
  33981. #. type: table
  33982. #: guix-git/doc/guix.texi:22707
  33983. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  33984. msgstr ""
  33985. #. type: item
  33986. #: guix-git/doc/guix.texi:22708
  33987. #, no-wrap
  33988. msgid "@code{loglevel} (default: @code{\"Info\"})"
  33989. msgstr ""
  33990. #. type: table
  33991. #: guix-git/doc/guix.texi:22711
  33992. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  33993. msgstr ""
  33994. #. type: cindex
  33995. #: guix-git/doc/guix.texi:22717
  33996. #, no-wrap
  33997. msgid "telephony, services"
  33998. msgstr ""
  33999. #. type: Plain text
  34000. #: guix-git/doc/guix.texi:22721
  34001. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  34002. msgstr ""
  34003. #. type: subsubheading
  34004. #: guix-git/doc/guix.texi:22722
  34005. #, no-wrap
  34006. msgid "Jami"
  34007. msgstr ""
  34008. #. type: cindex
  34009. #: guix-git/doc/guix.texi:22724
  34010. #, no-wrap
  34011. msgid "jami, service"
  34012. msgstr ""
  34013. #. type: Plain text
  34014. #: guix-git/doc/guix.texi:22730
  34015. 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:"
  34016. msgstr ""
  34017. #. type: lisp
  34018. #: guix-git/doc/guix.texi:22739
  34019. #, no-wrap
  34020. msgid ""
  34021. "(service jami-service-type\n"
  34022. " (jami-configuration\n"
  34023. " (accounts\n"
  34024. " (list (jami-account\n"
  34025. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  34026. " (jami-account\n"
  34027. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  34028. msgstr ""
  34029. #. type: Plain text
  34030. #: guix-git/doc/guix.texi:22744
  34031. 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."
  34032. msgstr ""
  34033. #. type: Plain text
  34034. #: guix-git/doc/guix.texi:22749
  34035. 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}."
  34036. msgstr ""
  34037. #. type: Plain text
  34038. #: guix-git/doc/guix.texi:22752
  34039. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  34040. msgstr ""
  34041. #. type: lisp
  34042. #: guix-git/doc/guix.texi:22764
  34043. #, no-wrap
  34044. msgid ""
  34045. "(service jami-service-type\n"
  34046. " (jami-configuration\n"
  34047. " (accounts\n"
  34048. " (list (jami-account\n"
  34049. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  34050. " (peer-discovery? #t)\n"
  34051. " (rendezvous-point? #t)\n"
  34052. " (allowed-contacts\n"
  34053. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  34054. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  34055. msgstr ""
  34056. #. type: Plain text
  34057. #: guix-git/doc/guix.texi:22770
  34058. 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."
  34059. msgstr ""
  34060. #. type: Plain text
  34061. #: guix-git/doc/guix.texi:22773
  34062. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  34063. msgstr ""
  34064. #. type: example
  34065. #: guix-git/doc/guix.texi:22785
  34066. #, no-wrap
  34067. msgid ""
  34068. "# herd doc jami list-actions\n"
  34069. "(list-accounts\n"
  34070. " list-account-details\n"
  34071. " list-banned-contacts\n"
  34072. " list-contacts\n"
  34073. " list-moderators\n"
  34074. " add-moderator\n"
  34075. " ban-contact\n"
  34076. " enable-account\n"
  34077. " disable-account)\n"
  34078. msgstr ""
  34079. #. type: Plain text
  34080. #: guix-git/doc/guix.texi:22792
  34081. 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."
  34082. msgstr ""
  34083. #. type: Plain text
  34084. #: guix-git/doc/guix.texi:22798
  34085. 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:"
  34086. msgstr ""
  34087. #. type: example
  34088. #: guix-git/doc/guix.texi:22802
  34089. #, no-wrap
  34090. msgid ""
  34091. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  34092. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  34093. "\n"
  34094. msgstr ""
  34095. #. type: example
  34096. #: guix-git/doc/guix.texi:22806
  34097. #, no-wrap
  34098. msgid ""
  34099. "# herd list-moderators jami\n"
  34100. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  34101. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  34102. "\n"
  34103. msgstr ""
  34104. #. type: Plain text
  34105. #: guix-git/doc/guix.texi:22811
  34106. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  34107. msgstr ""
  34108. #. type: example
  34109. #: guix-git/doc/guix.texi:22814
  34110. #, no-wrap
  34111. msgid ""
  34112. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  34113. "\n"
  34114. msgstr ""
  34115. #. type: example
  34116. #: guix-git/doc/guix.texi:22818
  34117. #, no-wrap
  34118. msgid ""
  34119. "# herd list-banned-contacts jami\n"
  34120. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  34121. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  34122. "\n"
  34123. msgstr ""
  34124. #. type: Plain text
  34125. #: guix-git/doc/guix.texi:22822
  34126. msgid "Banned contacts are also stripped from their moderation privileges."
  34127. msgstr ""
  34128. #. type: Plain text
  34129. #: guix-git/doc/guix.texi:22827
  34130. 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:"
  34131. msgstr ""
  34132. #. type: example
  34133. #: guix-git/doc/guix.texi:22830
  34134. #, no-wrap
  34135. msgid ""
  34136. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  34137. "\n"
  34138. msgstr ""
  34139. #. type: example
  34140. #: guix-git/doc/guix.texi:22834
  34141. #, no-wrap
  34142. msgid ""
  34143. "# herd list-accounts jami\n"
  34144. "The following Jami accounts are available:\n"
  34145. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  34146. "\n"
  34147. msgstr ""
  34148. #. type: Plain text
  34149. #: guix-git/doc/guix.texi:22845
  34150. 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:"
  34151. msgstr ""
  34152. #. type: example
  34153. #: guix-git/doc/guix.texi:22850
  34154. #, no-wrap
  34155. msgid ""
  34156. "# herd list-account-details jami | \\\n"
  34157. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  34158. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  34159. msgstr ""
  34160. #. type: Plain text
  34161. #: guix-git/doc/guix.texi:22853
  34162. msgid "The remaining actions should be self-explanatory."
  34163. msgstr ""
  34164. #. type: Plain text
  34165. #: guix-git/doc/guix.texi:22855
  34166. msgid "The complete set of available configuration options is detailed below."
  34167. msgstr ""
  34168. #. type: deftp
  34169. #: guix-git/doc/guix.texi:22859
  34170. #, no-wrap
  34171. msgid "{Data Type} jami-configuration"
  34172. msgstr ""
  34173. #. type: deftp
  34174. #: guix-git/doc/guix.texi:22861
  34175. msgid "Available @code{jami-configuration} fields are:"
  34176. msgstr ""
  34177. #. type: item
  34178. #: guix-git/doc/guix.texi:22863
  34179. #, no-wrap
  34180. msgid "@code{jamid} (default: @code{libring}) (type: package)"
  34181. msgstr ""
  34182. #. type: table
  34183. #: guix-git/doc/guix.texi:22865
  34184. msgid "The Jami daemon package to use."
  34185. msgstr ""
  34186. #. type: item
  34187. #: guix-git/doc/guix.texi:22866
  34188. #, no-wrap
  34189. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  34190. msgstr ""
  34191. #. type: table
  34192. #: guix-git/doc/guix.texi:22868
  34193. msgid "The D-Bus package to use to start the required D-Bus session."
  34194. msgstr ""
  34195. #. type: item
  34196. #: guix-git/doc/guix.texi:22869
  34197. #, no-wrap
  34198. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  34199. msgstr ""
  34200. #. type: table
  34201. #: guix-git/doc/guix.texi:22871
  34202. msgid "The nss-certs package to use to provide TLS certificates."
  34203. msgstr ""
  34204. #. type: item
  34205. #: guix-git/doc/guix.texi:22872
  34206. #, no-wrap
  34207. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  34208. msgstr ""
  34209. #. type: table
  34210. #: guix-git/doc/guix.texi:22874
  34211. msgid "Whether to enable logging to syslog."
  34212. msgstr ""
  34213. #. type: item
  34214. #: guix-git/doc/guix.texi:22875
  34215. #, no-wrap
  34216. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  34217. msgstr ""
  34218. #. type: table
  34219. #: guix-git/doc/guix.texi:22877
  34220. msgid "Whether to enable debug level messages."
  34221. msgstr ""
  34222. #. type: item
  34223. #: guix-git/doc/guix.texi:22878
  34224. #, no-wrap
  34225. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  34226. msgstr ""
  34227. #. type: table
  34228. #: guix-git/doc/guix.texi:22880
  34229. msgid "Whether to force automatic answer to incoming calls."
  34230. msgstr ""
  34231. #. type: item
  34232. #: guix-git/doc/guix.texi:22881
  34233. #, no-wrap
  34234. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  34235. msgstr ""
  34236. #. type: table
  34237. #: guix-git/doc/guix.texi:22886
  34238. 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."
  34239. msgstr ""
  34240. #. type: deftp
  34241. #: guix-git/doc/guix.texi:22892
  34242. #, no-wrap
  34243. msgid "{Data Type} jami-account"
  34244. msgstr ""
  34245. #. type: deftp
  34246. #: guix-git/doc/guix.texi:22894
  34247. msgid "Available @code{jami-account} fields are:"
  34248. msgstr ""
  34249. #. type: item
  34250. #: guix-git/doc/guix.texi:22896
  34251. #, no-wrap
  34252. msgid "@code{archive} (type: string-or-computed-file)"
  34253. msgstr ""
  34254. #. type: table
  34255. #: guix-git/doc/guix.texi:22902
  34256. 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."
  34257. msgstr ""
  34258. #. type: item
  34259. #: guix-git/doc/guix.texi:22903
  34260. #, no-wrap
  34261. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  34262. msgstr ""
  34263. #. type: table
  34264. #: guix-git/doc/guix.texi:22910
  34265. 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."
  34266. msgstr ""
  34267. #. type: item
  34268. #: guix-git/doc/guix.texi:22911
  34269. #, no-wrap
  34270. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  34271. msgstr ""
  34272. #. type: table
  34273. #: guix-git/doc/guix.texi:22917
  34274. 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."
  34275. msgstr ""
  34276. #. type: item
  34277. #: guix-git/doc/guix.texi:22918
  34278. #, no-wrap
  34279. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  34280. msgstr ""
  34281. #. type: table
  34282. #: guix-git/doc/guix.texi:22922
  34283. 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."
  34284. msgstr ""
  34285. #. type: item
  34286. #: guix-git/doc/guix.texi:22923
  34287. #, no-wrap
  34288. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  34289. msgstr ""
  34290. #. type: table
  34291. #: guix-git/doc/guix.texi:22929
  34292. 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."
  34293. msgstr ""
  34294. #. type: item
  34295. #: guix-git/doc/guix.texi:22930
  34296. #, no-wrap
  34297. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  34298. msgstr ""
  34299. #. type: table
  34300. #: guix-git/doc/guix.texi:22934
  34301. 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."
  34302. msgstr ""
  34303. #. type: item
  34304. #: guix-git/doc/guix.texi:22935
  34305. #, no-wrap
  34306. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  34307. msgstr ""
  34308. #. type: table
  34309. #: guix-git/doc/guix.texi:22938
  34310. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  34311. msgstr ""
  34312. #. type: cindex
  34313. #: guix-git/doc/guix.texi:22943 guix-git/doc/guix.texi:22945
  34314. #, no-wrap
  34315. msgid "Murmur (VoIP server)"
  34316. msgstr ""
  34317. #. type: cindex
  34318. #: guix-git/doc/guix.texi:22946
  34319. #, no-wrap
  34320. msgid "VoIP server"
  34321. msgstr ""
  34322. #. type: Plain text
  34323. #: guix-git/doc/guix.texi:22950
  34324. 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."
  34325. msgstr ""
  34326. #. type: deftp
  34327. #: guix-git/doc/guix.texi:22951
  34328. #, no-wrap
  34329. msgid "{Data Type} murmur-configuration"
  34330. msgstr ""
  34331. #. type: deftp
  34332. #: guix-git/doc/guix.texi:22954
  34333. msgid "The service type for the Murmur server. An example configuration can look like this:"
  34334. msgstr ""
  34335. #. type: lisp
  34336. #: guix-git/doc/guix.texi:22963
  34337. #, no-wrap
  34338. msgid ""
  34339. "(service murmur-service-type\n"
  34340. " (murmur-configuration\n"
  34341. " (welcome-text\n"
  34342. " \"Welcome to this Mumble server running on Guix!\")\n"
  34343. " (cert-required? #t) ;disallow text password logins\n"
  34344. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  34345. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  34346. msgstr ""
  34347. #. type: deftp
  34348. #: guix-git/doc/guix.texi:22967
  34349. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  34350. msgstr ""
  34351. #. type: deftp
  34352. #: guix-git/doc/guix.texi:22976
  34353. 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."
  34354. msgstr ""
  34355. #. type: deftp
  34356. #: guix-git/doc/guix.texi:22978
  34357. msgid "Available @code{murmur-configuration} fields are:"
  34358. msgstr ""
  34359. #. type: item
  34360. #: guix-git/doc/guix.texi:22980
  34361. #, no-wrap
  34362. msgid "@code{package} (default: @code{mumble})"
  34363. msgstr ""
  34364. #. type: table
  34365. #: guix-git/doc/guix.texi:22982
  34366. msgid "Package that contains @code{bin/murmurd}."
  34367. msgstr ""
  34368. #. type: item
  34369. #: guix-git/doc/guix.texi:22983
  34370. #, no-wrap
  34371. msgid "@code{user} (default: @code{\"murmur\"})"
  34372. msgstr ""
  34373. #. type: table
  34374. #: guix-git/doc/guix.texi:22985
  34375. msgid "User who will run the Murmur server."
  34376. msgstr ""
  34377. #. type: item
  34378. #: guix-git/doc/guix.texi:22986
  34379. #, no-wrap
  34380. msgid "@code{group} (default: @code{\"murmur\"})"
  34381. msgstr ""
  34382. #. type: table
  34383. #: guix-git/doc/guix.texi:22988
  34384. msgid "Group of the user who will run the murmur server."
  34385. msgstr ""
  34386. #. type: item
  34387. #: guix-git/doc/guix.texi:22989
  34388. #, no-wrap
  34389. msgid "@code{port} (default: @code{64738})"
  34390. msgstr ""
  34391. #. type: table
  34392. #: guix-git/doc/guix.texi:22991
  34393. msgid "Port on which the server will listen."
  34394. msgstr ""
  34395. #. type: item
  34396. #: guix-git/doc/guix.texi:22992
  34397. #, no-wrap
  34398. msgid "@code{welcome-text} (default: @code{\"\"})"
  34399. msgstr ""
  34400. #. type: table
  34401. #: guix-git/doc/guix.texi:22994
  34402. msgid "Welcome text sent to clients when they connect."
  34403. msgstr ""
  34404. #. type: item
  34405. #: guix-git/doc/guix.texi:22995
  34406. #, no-wrap
  34407. msgid "@code{server-password} (default: @code{\"\"})"
  34408. msgstr ""
  34409. #. type: table
  34410. #: guix-git/doc/guix.texi:22997
  34411. msgid "Password the clients have to enter in order to connect."
  34412. msgstr ""
  34413. #. type: item
  34414. #: guix-git/doc/guix.texi:22998
  34415. #, no-wrap
  34416. msgid "@code{max-users} (default: @code{100})"
  34417. msgstr ""
  34418. #. type: table
  34419. #: guix-git/doc/guix.texi:23000
  34420. msgid "Maximum of users that can be connected to the server at once."
  34421. msgstr ""
  34422. #. type: item
  34423. #: guix-git/doc/guix.texi:23001
  34424. #, no-wrap
  34425. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  34426. msgstr ""
  34427. #. type: table
  34428. #: guix-git/doc/guix.texi:23003
  34429. msgid "Maximum voice traffic a user can send per second."
  34430. msgstr ""
  34431. #. type: item
  34432. #: guix-git/doc/guix.texi:23004
  34433. #, no-wrap
  34434. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  34435. msgstr ""
  34436. #. type: table
  34437. #: guix-git/doc/guix.texi:23007
  34438. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  34439. msgstr ""
  34440. #. type: item
  34441. #: guix-git/doc/guix.texi:23008
  34442. #, no-wrap
  34443. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  34444. msgstr ""
  34445. #. type: table
  34446. #: guix-git/doc/guix.texi:23011
  34447. msgid "File name of the log file. The service's user will become the owner of the directory."
  34448. msgstr ""
  34449. #. type: item
  34450. #: guix-git/doc/guix.texi:23012
  34451. #, no-wrap
  34452. msgid "@code{autoban-attempts} (default: @code{10})"
  34453. msgstr ""
  34454. #. type: table
  34455. #: guix-git/doc/guix.texi:23015
  34456. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  34457. msgstr ""
  34458. #. type: item
  34459. #: guix-git/doc/guix.texi:23016
  34460. #, no-wrap
  34461. msgid "@code{autoban-timeframe} (default: @code{120})"
  34462. msgstr ""
  34463. #. type: table
  34464. #: guix-git/doc/guix.texi:23018
  34465. msgid "Timeframe for autoban in seconds."
  34466. msgstr ""
  34467. #. type: item
  34468. #: guix-git/doc/guix.texi:23019
  34469. #, no-wrap
  34470. msgid "@code{autoban-time} (default: @code{300})"
  34471. msgstr ""
  34472. #. type: table
  34473. #: guix-git/doc/guix.texi:23022
  34474. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  34475. msgstr ""
  34476. #. type: item
  34477. #: guix-git/doc/guix.texi:23023
  34478. #, no-wrap
  34479. msgid "@code{opus-threshold} (default: @code{100})"
  34480. msgstr ""
  34481. #. type: table
  34482. #: guix-git/doc/guix.texi:23026
  34483. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  34484. msgstr ""
  34485. #. type: item
  34486. #: guix-git/doc/guix.texi:23027
  34487. #, no-wrap
  34488. msgid "@code{channel-nesting-limit} (default: @code{10})"
  34489. msgstr ""
  34490. #. type: table
  34491. #: guix-git/doc/guix.texi:23029
  34492. msgid "How deep channels can be nested at maximum."
  34493. msgstr ""
  34494. #. type: item
  34495. #: guix-git/doc/guix.texi:23030
  34496. #, no-wrap
  34497. msgid "@code{channelname-regex} (default: @code{#f})"
  34498. msgstr ""
  34499. #. type: table
  34500. #: guix-git/doc/guix.texi:23032
  34501. msgid "A string in form of a Qt regular expression that channel names must conform to."
  34502. msgstr ""
  34503. #. type: item
  34504. #: guix-git/doc/guix.texi:23033
  34505. #, no-wrap
  34506. msgid "@code{username-regex} (default: @code{#f})"
  34507. msgstr ""
  34508. #. type: table
  34509. #: guix-git/doc/guix.texi:23035
  34510. msgid "A string in form of a Qt regular expression that user names must conform to."
  34511. msgstr ""
  34512. #. type: item
  34513. #: guix-git/doc/guix.texi:23036
  34514. #, no-wrap
  34515. msgid "@code{text-message-length} (default: @code{5000})"
  34516. msgstr ""
  34517. #. type: table
  34518. #: guix-git/doc/guix.texi:23038
  34519. msgid "Maximum size in bytes that a user can send in one text chat message."
  34520. msgstr ""
  34521. #. type: item
  34522. #: guix-git/doc/guix.texi:23039
  34523. #, no-wrap
  34524. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  34525. msgstr ""
  34526. #. type: table
  34527. #: guix-git/doc/guix.texi:23041
  34528. msgid "Maximum size in bytes that a user can send in one image message."
  34529. msgstr ""
  34530. #. type: item
  34531. #: guix-git/doc/guix.texi:23042
  34532. #, no-wrap
  34533. msgid "@code{cert-required?} (default: @code{#f})"
  34534. msgstr ""
  34535. #. type: table
  34536. #: guix-git/doc/guix.texi:23045
  34537. 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."
  34538. msgstr ""
  34539. #. type: item
  34540. #: guix-git/doc/guix.texi:23046
  34541. #, no-wrap
  34542. msgid "@code{remember-channel?} (default: @code{#f})"
  34543. msgstr ""
  34544. #. type: table
  34545. #: guix-git/doc/guix.texi:23049
  34546. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  34547. msgstr ""
  34548. #. type: item
  34549. #: guix-git/doc/guix.texi:23050
  34550. #, no-wrap
  34551. msgid "@code{allow-html?} (default: @code{#f})"
  34552. msgstr ""
  34553. #. type: table
  34554. #: guix-git/doc/guix.texi:23052
  34555. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  34556. msgstr ""
  34557. #. type: item
  34558. #: guix-git/doc/guix.texi:23053
  34559. #, no-wrap
  34560. msgid "@code{allow-ping?} (default: @code{#f})"
  34561. msgstr ""
  34562. #. type: table
  34563. #: guix-git/doc/guix.texi:23057
  34564. 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."
  34565. msgstr ""
  34566. #. type: table
  34567. #: guix-git/doc/guix.texi:23059
  34568. msgid "Disabling this setting will prevent public listing of the server."
  34569. msgstr ""
  34570. #. type: item
  34571. #: guix-git/doc/guix.texi:23060
  34572. #, no-wrap
  34573. msgid "@code{bonjour?} (default: @code{#f})"
  34574. msgstr ""
  34575. #. type: table
  34576. #: guix-git/doc/guix.texi:23062
  34577. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  34578. msgstr ""
  34579. #. type: item
  34580. #: guix-git/doc/guix.texi:23063
  34581. #, no-wrap
  34582. msgid "@code{send-version?} (default: @code{#f})"
  34583. msgstr ""
  34584. #. type: table
  34585. #: guix-git/doc/guix.texi:23065
  34586. msgid "Should the murmur server version be exposed in ping requests."
  34587. msgstr ""
  34588. #. type: item
  34589. #: guix-git/doc/guix.texi:23066
  34590. #, no-wrap
  34591. msgid "@code{log-days} (default: @code{31})"
  34592. msgstr ""
  34593. #. type: table
  34594. #: guix-git/doc/guix.texi:23070
  34595. 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."
  34596. msgstr ""
  34597. #. type: item
  34598. #: guix-git/doc/guix.texi:23071
  34599. #, no-wrap
  34600. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  34601. msgstr ""
  34602. #. type: table
  34603. #: guix-git/doc/guix.texi:23073
  34604. msgid "Should logged ips be obfuscated to protect the privacy of users."
  34605. msgstr ""
  34606. #. type: item
  34607. #: guix-git/doc/guix.texi:23074
  34608. #, no-wrap
  34609. msgid "@code{ssl-cert} (default: @code{#f})"
  34610. msgstr ""
  34611. #. type: table
  34612. #: guix-git/doc/guix.texi:23076
  34613. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  34614. msgstr ""
  34615. #. type: lisp
  34616. #: guix-git/doc/guix.texi:23079
  34617. #, no-wrap
  34618. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  34619. msgstr ""
  34620. #. type: item
  34621. #: guix-git/doc/guix.texi:23080
  34622. #, no-wrap
  34623. msgid "@code{ssl-key} (default: @code{#f})"
  34624. msgstr ""
  34625. #. type: table
  34626. #: guix-git/doc/guix.texi:23082
  34627. msgid "Filepath to the ssl private key used for encrypted connections."
  34628. msgstr ""
  34629. #. type: lisp
  34630. #: guix-git/doc/guix.texi:23084
  34631. #, no-wrap
  34632. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  34633. msgstr ""
  34634. #. type: item
  34635. #: guix-git/doc/guix.texi:23086
  34636. #, no-wrap
  34637. msgid "@code{ssl-dh-params} (default: @code{#f})"
  34638. msgstr ""
  34639. #. type: table
  34640. #: guix-git/doc/guix.texi:23091
  34641. 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."
  34642. msgstr ""
  34643. #. type: item
  34644. #: guix-git/doc/guix.texi:23092
  34645. #, no-wrap
  34646. msgid "@code{ssl-ciphers} (default: @code{#f})"
  34647. msgstr ""
  34648. #. type: table
  34649. #: guix-git/doc/guix.texi:23095
  34650. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  34651. msgstr ""
  34652. #. type: table
  34653. #: guix-git/doc/guix.texi:23099
  34654. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  34655. msgstr ""
  34656. #. type: table
  34657. #: guix-git/doc/guix.texi:23104
  34658. 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."
  34659. msgstr ""
  34660. #. type: table
  34661. #: guix-git/doc/guix.texi:23108
  34662. 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."
  34663. msgstr ""
  34664. #. type: item
  34665. #: guix-git/doc/guix.texi:23109
  34666. #, no-wrap
  34667. msgid "@code{public-registration} (default: @code{#f})"
  34668. msgstr ""
  34669. #. type: table
  34670. #: guix-git/doc/guix.texi:23111
  34671. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  34672. msgstr ""
  34673. #. type: table
  34674. #: guix-git/doc/guix.texi:23116
  34675. 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}."
  34676. msgstr ""
  34677. #. type: table
  34678. #: guix-git/doc/guix.texi:23118
  34679. msgid "It might take a few hours until it shows up in the public list."
  34680. msgstr ""
  34681. #. type: item
  34682. #: guix-git/doc/guix.texi:23119 guix-git/doc/guix.texi:25356
  34683. #, no-wrap
  34684. msgid "@code{file} (default: @code{#f})"
  34685. msgstr ""
  34686. #. type: table
  34687. #: guix-git/doc/guix.texi:23121
  34688. msgid "Optional alternative override for this configuration."
  34689. msgstr ""
  34690. #. type: deftp
  34691. #: guix-git/doc/guix.texi:23124
  34692. #, no-wrap
  34693. msgid "{Data Type} murmur-public-registration-configuration"
  34694. msgstr ""
  34695. #. type: deftp
  34696. #: guix-git/doc/guix.texi:23126
  34697. msgid "Configuration for public registration of a murmur service."
  34698. msgstr ""
  34699. #. type: table
  34700. #: guix-git/doc/guix.texi:23130
  34701. msgid "This is a display name for your server. Not to be confused with the hostname."
  34702. msgstr ""
  34703. #. type: itemx
  34704. #: guix-git/doc/guix.texi:23131 guix-git/doc/guix.texi:32028
  34705. #: guix-git/doc/guix.texi:33176
  34706. #, no-wrap
  34707. msgid "password"
  34708. msgstr ""
  34709. #. type: table
  34710. #: guix-git/doc/guix.texi:23134
  34711. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  34712. msgstr ""
  34713. #. type: table
  34714. #: guix-git/doc/guix.texi:23138
  34715. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  34716. msgstr ""
  34717. #. type: item
  34718. #: guix-git/doc/guix.texi:23139 guix-git/doc/guix.texi:26235
  34719. #, no-wrap
  34720. msgid "@code{hostname} (default: @code{#f})"
  34721. msgstr ""
  34722. #. type: table
  34723. #: guix-git/doc/guix.texi:23142
  34724. 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."
  34725. msgstr ""
  34726. #. type: Plain text
  34727. #: guix-git/doc/guix.texi:23152
  34728. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  34729. msgstr ""
  34730. #. type: subsubheading
  34731. #: guix-git/doc/guix.texi:23153
  34732. #, no-wrap
  34733. msgid "Transmission Daemon Service"
  34734. msgstr ""
  34735. #. type: Plain text
  34736. #: guix-git/doc/guix.texi:23161
  34737. 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."
  34738. msgstr ""
  34739. #. type: deffn
  34740. #: guix-git/doc/guix.texi:23162
  34741. #, no-wrap
  34742. msgid "{Scheme Variable} transmission-daemon-service-type"
  34743. msgstr ""
  34744. #. type: deffn
  34745. #: guix-git/doc/guix.texi:23166
  34746. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  34747. msgstr ""
  34748. #. type: lisp
  34749. #: guix-git/doc/guix.texi:23177
  34750. #, no-wrap
  34751. msgid ""
  34752. "(service transmission-daemon-service-type\n"
  34753. " (transmission-daemon-configuration\n"
  34754. " ;; Restrict access to the RPC (\"control\") interface\n"
  34755. " (rpc-authentication-required? #t)\n"
  34756. " (rpc-username \"transmission\")\n"
  34757. " (rpc-password\n"
  34758. " (transmission-password-hash\n"
  34759. " \"transmission\" ; desired password\n"
  34760. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  34761. "\n"
  34762. msgstr ""
  34763. #. type: lisp
  34764. #: guix-git/doc/guix.texi:23182
  34765. #, no-wrap
  34766. msgid ""
  34767. " ;; Accept requests from this and other hosts on the\n"
  34768. " ;; local network\n"
  34769. " (rpc-whitelist-enabled? #t)\n"
  34770. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  34771. "\n"
  34772. msgstr ""
  34773. #. type: lisp
  34774. #: guix-git/doc/guix.texi:23186
  34775. #, no-wrap
  34776. msgid ""
  34777. " ;; Limit bandwidth use during work hours\n"
  34778. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  34779. " (alt-speed-up 512) ; 512 kB/s\n"
  34780. "\n"
  34781. msgstr ""
  34782. #. type: lisp
  34783. #: guix-git/doc/guix.texi:23193
  34784. #, no-wrap
  34785. msgid ""
  34786. " (alt-speed-time-enabled? #t)\n"
  34787. " (alt-speed-time-day 'weekdays)\n"
  34788. " (alt-speed-time-begin\n"
  34789. " (+ (* 60 8) 30)) ; 8:30 am\n"
  34790. " (alt-speed-time-end\n"
  34791. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  34792. msgstr ""
  34793. #. type: Plain text
  34794. #: guix-git/doc/guix.texi:23206
  34795. 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."
  34796. msgstr ""
  34797. #. type: Plain text
  34798. #: guix-git/doc/guix.texi:23214
  34799. 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."
  34800. msgstr ""
  34801. #. type: deffn
  34802. #: guix-git/doc/guix.texi:23215
  34803. #, no-wrap
  34804. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  34805. msgstr ""
  34806. #. type: deffn
  34807. #: guix-git/doc/guix.texi:23219
  34808. 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."
  34809. msgstr ""
  34810. #. type: deffn
  34811. #: guix-git/doc/guix.texi:23223
  34812. 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."
  34813. msgstr ""
  34814. #. type: deffn
  34815. #: guix-git/doc/guix.texi:23225
  34816. #, no-wrap
  34817. msgid "{Scheme Procedure} transmission-random-salt"
  34818. msgstr ""
  34819. #. type: deffn
  34820. #: guix-git/doc/guix.texi:23229
  34821. 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."
  34822. msgstr ""
  34823. #. type: Plain text
  34824. #: guix-git/doc/guix.texi:23235
  34825. 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:"
  34826. msgstr ""
  34827. #. type: example
  34828. #: guix-git/doc/guix.texi:23241
  34829. #, no-wrap
  34830. msgid ""
  34831. "$ guix repl\n"
  34832. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  34833. "scheme@@(guix-user)> (transmission-random-salt)\n"
  34834. "$1 = \"uKd1uMs9\"\n"
  34835. msgstr ""
  34836. #. type: Plain text
  34837. #: guix-git/doc/guix.texi:23244
  34838. msgid "Alternatively, a complete password hash can generated in a single step:"
  34839. msgstr ""
  34840. #. type: example
  34841. #: guix-git/doc/guix.texi:23249
  34842. #, no-wrap
  34843. msgid ""
  34844. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  34845. "(transmission-random-salt))\n"
  34846. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  34847. msgstr ""
  34848. #. type: Plain text
  34849. #: guix-git/doc/guix.texi:23254
  34850. 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."
  34851. msgstr ""
  34852. #. type: Plain text
  34853. #: guix-git/doc/guix.texi:23263
  34854. 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."
  34855. msgstr ""
  34856. #. type: Plain text
  34857. #: guix-git/doc/guix.texi:23270
  34858. 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.)"
  34859. msgstr ""
  34860. #. type: Plain text
  34861. #: guix-git/doc/guix.texi:23275
  34862. 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:"
  34863. msgstr ""
  34864. #. type: example
  34865. #: guix-git/doc/guix.texi:23278
  34866. #, no-wrap
  34867. msgid "# herd reload transmission-daemon\n"
  34868. msgstr ""
  34869. #. type: Plain text
  34870. #: guix-git/doc/guix.texi:23282
  34871. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  34872. msgstr ""
  34873. #. type: deftp
  34874. #: guix-git/doc/guix.texi:23283
  34875. #, no-wrap
  34876. msgid "{Data Type} transmission-daemon-configuration"
  34877. msgstr ""
  34878. #. type: deftp
  34879. #: guix-git/doc/guix.texi:23287
  34880. 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."
  34881. msgstr ""
  34882. #. type: Plain text
  34883. #: guix-git/doc/guix.texi:23301
  34884. msgid "Available @code{transmission-daemon-configuration} fields are:"
  34885. msgstr ""
  34886. #. type: deftypevr
  34887. #: guix-git/doc/guix.texi:23302
  34888. #, no-wrap
  34889. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  34890. msgstr ""
  34891. #. type: deftypevr
  34892. #: guix-git/doc/guix.texi:23304
  34893. msgid "The Transmission package to use."
  34894. msgstr ""
  34895. #. type: deftypevr
  34896. #: guix-git/doc/guix.texi:23307
  34897. #, no-wrap
  34898. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  34899. msgstr ""
  34900. #. type: deftypevr
  34901. #: guix-git/doc/guix.texi:23313
  34902. 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."
  34903. msgstr ""
  34904. #. type: deftypevr
  34905. #: guix-git/doc/guix.texi:23315 guix-git/doc/guix.texi:23687
  34906. #: guix-git/doc/guix.texi:30988 guix-git/doc/guix.texi:31223
  34907. #: guix-git/doc/guix.texi:31231 guix-git/doc/guix.texi:31239
  34908. msgid "Defaults to @samp{10}."
  34909. msgstr ""
  34910. #. type: deftypevr
  34911. #: guix-git/doc/guix.texi:23318
  34912. #, no-wrap
  34913. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  34914. msgstr ""
  34915. #. type: deftypevr
  34916. #: guix-git/doc/guix.texi:23320
  34917. msgid "The directory to which torrent files are downloaded."
  34918. msgstr ""
  34919. #. type: deftypevr
  34920. #: guix-git/doc/guix.texi:23322
  34921. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  34922. msgstr ""
  34923. #. type: deftypevr
  34924. #: guix-git/doc/guix.texi:23325
  34925. #, no-wrap
  34926. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  34927. msgstr ""
  34928. #. type: deftypevr
  34929. #: guix-git/doc/guix.texi:23330
  34930. 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}."
  34931. msgstr ""
  34932. #. type: deftypevr
  34933. #: guix-git/doc/guix.texi:23335
  34934. #, no-wrap
  34935. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  34936. msgstr ""
  34937. #. type: deftypevr
  34938. #: guix-git/doc/guix.texi:23338
  34939. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  34940. msgstr ""
  34941. #. type: deftypevr
  34942. #: guix-git/doc/guix.texi:23343
  34943. #, no-wrap
  34944. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  34945. msgstr ""
  34946. #. type: deftypevr
  34947. #: guix-git/doc/guix.texi:23346
  34948. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  34949. msgstr ""
  34950. #. type: deftypevr
  34951. #: guix-git/doc/guix.texi:23348
  34952. msgid "Defaults to @samp{18}."
  34953. msgstr ""
  34954. #. type: deftypevr
  34955. #: guix-git/doc/guix.texi:23351
  34956. #, no-wrap
  34957. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  34958. msgstr ""
  34959. #. type: deftypevr
  34960. #: guix-git/doc/guix.texi:23354
  34961. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  34962. msgstr ""
  34963. #. type: deftypevr
  34964. #: guix-git/doc/guix.texi:23359
  34965. #, no-wrap
  34966. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  34967. msgstr ""
  34968. #. type: deftypevr
  34969. #: guix-git/doc/guix.texi:23364
  34970. 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."
  34971. msgstr ""
  34972. #. type: deftypevr
  34973. #: guix-git/doc/guix.texi:23366
  34974. msgid "Defaults to @samp{fast}."
  34975. msgstr ""
  34976. #. type: deftypevr
  34977. #: guix-git/doc/guix.texi:23369
  34978. #, no-wrap
  34979. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  34980. msgstr ""
  34981. #. type: deftypevr
  34982. #: guix-git/doc/guix.texi:23374
  34983. 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})."
  34984. msgstr ""
  34985. #. type: deftypevr
  34986. #: guix-git/doc/guix.texi:23379
  34987. #, no-wrap
  34988. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  34989. msgstr ""
  34990. #. type: deftypevr
  34991. #: guix-git/doc/guix.texi:23382
  34992. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  34993. msgstr ""
  34994. #. type: deftypevr
  34995. #: guix-git/doc/guix.texi:23387
  34996. #, no-wrap
  34997. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  34998. msgstr ""
  34999. #. type: deftypevr
  35000. #: guix-git/doc/guix.texi:23391
  35001. 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?})."
  35002. msgstr ""
  35003. #. type: deftypevr
  35004. #: guix-git/doc/guix.texi:23396
  35005. #, no-wrap
  35006. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  35007. msgstr ""
  35008. #. type: deftypevr
  35009. #: guix-git/doc/guix.texi:23399
  35010. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  35011. msgstr ""
  35012. #. type: deftypevr
  35013. #: guix-git/doc/guix.texi:23404
  35014. #, no-wrap
  35015. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  35016. msgstr ""
  35017. #. type: deftypevr
  35018. #: guix-git/doc/guix.texi:23406
  35019. msgid "The default global-maximum download speed, in kilobytes per second."
  35020. msgstr ""
  35021. #. type: deftypevr
  35022. #: guix-git/doc/guix.texi:23411
  35023. #, no-wrap
  35024. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  35025. msgstr ""
  35026. #. type: deftypevr
  35027. #: guix-git/doc/guix.texi:23414
  35028. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  35029. msgstr ""
  35030. #. type: deftypevr
  35031. #: guix-git/doc/guix.texi:23419
  35032. #, no-wrap
  35033. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  35034. msgstr ""
  35035. #. type: deftypevr
  35036. #: guix-git/doc/guix.texi:23421
  35037. msgid "The default global-maximum upload speed, in kilobytes per second."
  35038. msgstr ""
  35039. #. type: deftypevr
  35040. #: guix-git/doc/guix.texi:23426
  35041. #, no-wrap
  35042. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  35043. msgstr ""
  35044. #. type: deftypevr
  35045. #: guix-git/doc/guix.texi:23432
  35046. 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?}."
  35047. msgstr ""
  35048. #. type: deftypevr
  35049. #: guix-git/doc/guix.texi:23437
  35050. #, no-wrap
  35051. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  35052. msgstr ""
  35053. #. type: deftypevr
  35054. #: guix-git/doc/guix.texi:23439
  35055. msgid "The alternate global-maximum download speed, in kilobytes per second."
  35056. msgstr ""
  35057. #. type: deftypevr
  35058. #: guix-git/doc/guix.texi:23441 guix-git/doc/guix.texi:23448
  35059. #: guix-git/doc/guix.texi:23620 guix-git/doc/guix.texi:30995
  35060. #: guix-git/doc/guix.texi:31010
  35061. msgid "Defaults to @samp{50}."
  35062. msgstr ""
  35063. #. type: deftypevr
  35064. #: guix-git/doc/guix.texi:23444
  35065. #, no-wrap
  35066. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  35067. msgstr ""
  35068. #. type: deftypevr
  35069. #: guix-git/doc/guix.texi:23446
  35070. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  35071. msgstr ""
  35072. #. type: deftypevr
  35073. #: guix-git/doc/guix.texi:23451
  35074. #, no-wrap
  35075. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  35076. msgstr ""
  35077. #. type: deftypevr
  35078. #: guix-git/doc/guix.texi:23456
  35079. 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}."
  35080. msgstr ""
  35081. #. type: deftypevr
  35082. #: guix-git/doc/guix.texi:23461
  35083. #, no-wrap
  35084. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  35085. msgstr ""
  35086. #. type: deftypevr
  35087. #: guix-git/doc/guix.texi:23466
  35088. 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}."
  35089. msgstr ""
  35090. #. type: deftypevr
  35091. #: guix-git/doc/guix.texi:23468
  35092. msgid "Defaults to @samp{all}."
  35093. msgstr ""
  35094. #. type: deftypevr
  35095. #: guix-git/doc/guix.texi:23471
  35096. #, no-wrap
  35097. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  35098. msgstr ""
  35099. #. type: deftypevr
  35100. #: guix-git/doc/guix.texi:23474
  35101. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  35102. msgstr ""
  35103. #. type: deftypevr
  35104. #: guix-git/doc/guix.texi:23476
  35105. msgid "Defaults to @samp{540}."
  35106. msgstr ""
  35107. #. type: deftypevr
  35108. #: guix-git/doc/guix.texi:23479
  35109. #, no-wrap
  35110. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  35111. msgstr ""
  35112. #. type: deftypevr
  35113. #: guix-git/doc/guix.texi:23482
  35114. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  35115. msgstr ""
  35116. #. type: deftypevr
  35117. #: guix-git/doc/guix.texi:23484
  35118. msgid "Defaults to @samp{1020}."
  35119. msgstr ""
  35120. #. type: deftypevr
  35121. #: guix-git/doc/guix.texi:23487
  35122. #, no-wrap
  35123. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  35124. msgstr ""
  35125. #. type: deftypevr
  35126. #: guix-git/doc/guix.texi:23490
  35127. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  35128. msgstr ""
  35129. #. type: deftypevr
  35130. #: guix-git/doc/guix.texi:23492 guix-git/doc/guix.texi:23795
  35131. #: guix-git/doc/guix.texi:28909
  35132. msgid "Defaults to @samp{\"0.0.0.0\"}."
  35133. msgstr ""
  35134. #. type: deftypevr
  35135. #: guix-git/doc/guix.texi:23495
  35136. #, no-wrap
  35137. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  35138. msgstr ""
  35139. #. type: deftypevr
  35140. #: guix-git/doc/guix.texi:23498
  35141. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  35142. msgstr ""
  35143. #. type: deftypevr
  35144. #: guix-git/doc/guix.texi:23500
  35145. msgid "Defaults to @samp{\"::\"}."
  35146. msgstr ""
  35147. #. type: deftypevr
  35148. #: guix-git/doc/guix.texi:23503
  35149. #, no-wrap
  35150. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  35151. msgstr ""
  35152. #. type: deftypevr
  35153. #: guix-git/doc/guix.texi:23509
  35154. 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}."
  35155. msgstr ""
  35156. #. type: deftypevr
  35157. #: guix-git/doc/guix.texi:23514
  35158. #, no-wrap
  35159. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  35160. msgstr ""
  35161. #. type: deftypevr
  35162. #: guix-git/doc/guix.texi:23517
  35163. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  35164. msgstr ""
  35165. #. type: deftypevr
  35166. #: guix-git/doc/guix.texi:23519
  35167. msgid "Defaults to @samp{49152}."
  35168. msgstr ""
  35169. #. type: deftypevr
  35170. #: guix-git/doc/guix.texi:23522
  35171. #, no-wrap
  35172. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  35173. msgstr ""
  35174. #. type: deftypevr
  35175. #: guix-git/doc/guix.texi:23525
  35176. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  35177. msgstr ""
  35178. #. type: deftypevr
  35179. #: guix-git/doc/guix.texi:23527
  35180. msgid "Defaults to @samp{65535}."
  35181. msgstr ""
  35182. #. type: deftypevr
  35183. #: guix-git/doc/guix.texi:23530
  35184. #, no-wrap
  35185. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  35186. msgstr ""
  35187. #. type: deftypevr
  35188. #: guix-git/doc/guix.texi:23533
  35189. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  35190. msgstr ""
  35191. #. type: deftypevr
  35192. #: guix-git/doc/guix.texi:23535
  35193. msgid "Defaults to @samp{51413}."
  35194. msgstr ""
  35195. #. type: deftypevr
  35196. #: guix-git/doc/guix.texi:23538
  35197. #, no-wrap
  35198. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  35199. msgstr ""
  35200. #. type: deftypevr
  35201. #: guix-git/doc/guix.texi:23542
  35202. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  35203. msgstr ""
  35204. #. type: deftypevr
  35205. #: guix-git/doc/guix.texi:23547
  35206. #, no-wrap
  35207. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  35208. msgstr ""
  35209. #. type: deftypevr
  35210. #: guix-git/doc/guix.texi:23552
  35211. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  35212. msgstr ""
  35213. #. type: deftypevr
  35214. #: guix-git/doc/guix.texi:23554
  35215. msgid "Defaults to @samp{prefer-encrypted-connections}."
  35216. msgstr ""
  35217. #. type: deftypevr
  35218. #: guix-git/doc/guix.texi:23557
  35219. #, no-wrap
  35220. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  35221. msgstr ""
  35222. #. type: deftypevr
  35223. #: guix-git/doc/guix.texi:23562
  35224. 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)."
  35225. msgstr ""
  35226. #. type: deftypevr
  35227. #: guix-git/doc/guix.texi:23571
  35228. 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."
  35229. msgstr ""
  35230. #. type: deftypevr
  35231. #: guix-git/doc/guix.texi:23579
  35232. 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:"
  35233. msgstr ""
  35234. #. type: lisp
  35235. #: guix-git/doc/guix.texi:23586
  35236. #, no-wrap
  35237. msgid ""
  35238. "(service sysctl-service-type\n"
  35239. " (sysctl-configuration\n"
  35240. " (settings\n"
  35241. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  35242. " \"reno cubic lp\"))))\n"
  35243. msgstr ""
  35244. #. type: deftypevr
  35245. #: guix-git/doc/guix.texi:23589
  35246. msgid "The Transmission Daemon configuration can then be updated with"
  35247. msgstr ""
  35248. #. type: lisp
  35249. #: guix-git/doc/guix.texi:23592
  35250. #, no-wrap
  35251. msgid "(peer-congestion-algorithm \"lp\")\n"
  35252. msgstr ""
  35253. #. type: deftypevr
  35254. #: guix-git/doc/guix.texi:23595
  35255. msgid "and the system reconfigured to have the changes take effect."
  35256. msgstr ""
  35257. #. type: deftypevr
  35258. #: guix-git/doc/guix.texi:23600
  35259. #, no-wrap
  35260. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  35261. msgstr ""
  35262. #. type: deftypevr
  35263. #: guix-git/doc/guix.texi:23604
  35264. 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}."
  35265. msgstr ""
  35266. #. type: deftypevr
  35267. #: guix-git/doc/guix.texi:23606
  35268. msgid "Defaults to @samp{default}."
  35269. msgstr ""
  35270. #. type: deftypevr
  35271. #: guix-git/doc/guix.texi:23609
  35272. #, no-wrap
  35273. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  35274. msgstr ""
  35275. #. type: deftypevr
  35276. #: guix-git/doc/guix.texi:23611
  35277. msgid "The global limit on the number of connected peers."
  35278. msgstr ""
  35279. #. type: deftypevr
  35280. #: guix-git/doc/guix.texi:23613
  35281. msgid "Defaults to @samp{200}."
  35282. msgstr ""
  35283. #. type: deftypevr
  35284. #: guix-git/doc/guix.texi:23616
  35285. #, no-wrap
  35286. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  35287. msgstr ""
  35288. #. type: deftypevr
  35289. #: guix-git/doc/guix.texi:23618
  35290. msgid "The per-torrent limit on the number of connected peers."
  35291. msgstr ""
  35292. #. type: deftypevr
  35293. #: guix-git/doc/guix.texi:23623
  35294. #, no-wrap
  35295. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  35296. msgstr ""
  35297. #. type: deftypevr
  35298. #: guix-git/doc/guix.texi:23626
  35299. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  35300. msgstr ""
  35301. #. type: deftypevr
  35302. #: guix-git/doc/guix.texi:23628
  35303. msgid "Defaults to @samp{14}."
  35304. msgstr ""
  35305. #. type: deftypevr
  35306. #: guix-git/doc/guix.texi:23631
  35307. #, no-wrap
  35308. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  35309. msgstr ""
  35310. #. type: deftypevr
  35311. #: guix-git/doc/guix.texi:23634
  35312. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  35313. msgstr ""
  35314. #. type: deftypevr
  35315. #: guix-git/doc/guix.texi:23636
  35316. msgid "Defaults to @samp{6}."
  35317. msgstr ""
  35318. #. type: deftypevr
  35319. #: guix-git/doc/guix.texi:23639
  35320. #, no-wrap
  35321. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  35322. msgstr ""
  35323. #. type: deftypevr
  35324. #: guix-git/doc/guix.texi:23642
  35325. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  35326. msgstr ""
  35327. #. type: deftypevr
  35328. #: guix-git/doc/guix.texi:23647
  35329. #, no-wrap
  35330. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  35331. msgstr ""
  35332. #. type: deftypevr
  35333. #: guix-git/doc/guix.texi:23651
  35334. 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}."
  35335. msgstr ""
  35336. #. type: deftypevr
  35337. #: guix-git/doc/guix.texi:23656
  35338. #, no-wrap
  35339. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  35340. msgstr ""
  35341. #. type: deftypevr
  35342. #: guix-git/doc/guix.texi:23659
  35343. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  35344. msgstr ""
  35345. #. type: deftypevr
  35346. #: guix-git/doc/guix.texi:23664
  35347. #, no-wrap
  35348. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  35349. msgstr ""
  35350. #. type: deftypevr
  35351. #: guix-git/doc/guix.texi:23668
  35352. 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}."
  35353. msgstr ""
  35354. #. type: deftypevr
  35355. #: guix-git/doc/guix.texi:23673
  35356. #, no-wrap
  35357. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  35358. msgstr ""
  35359. #. type: deftypevr
  35360. #: guix-git/doc/guix.texi:23676
  35361. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  35362. msgstr ""
  35363. #. type: deftypevr
  35364. #: guix-git/doc/guix.texi:23681
  35365. #, no-wrap
  35366. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  35367. msgstr ""
  35368. #. type: deftypevr
  35369. #: guix-git/doc/guix.texi:23685
  35370. 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}."
  35371. msgstr ""
  35372. #. type: deftypevr
  35373. #: guix-git/doc/guix.texi:23690
  35374. #, no-wrap
  35375. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  35376. msgstr ""
  35377. #. type: deftypevr
  35378. #: guix-git/doc/guix.texi:23695
  35379. 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."
  35380. msgstr ""
  35381. #. type: deftypevr
  35382. #: guix-git/doc/guix.texi:23700
  35383. #, no-wrap
  35384. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  35385. msgstr ""
  35386. #. type: deftypevr
  35387. #: guix-git/doc/guix.texi:23704
  35388. 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}."
  35389. msgstr ""
  35390. #. type: deftypevr
  35391. #: guix-git/doc/guix.texi:23709
  35392. #, no-wrap
  35393. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  35394. msgstr ""
  35395. #. type: deftypevr
  35396. #: guix-git/doc/guix.texi:23712
  35397. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  35398. msgstr ""
  35399. #. type: deftypevr
  35400. #: guix-git/doc/guix.texi:23717
  35401. #, no-wrap
  35402. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  35403. msgstr ""
  35404. #. type: deftypevr
  35405. #: guix-git/doc/guix.texi:23720
  35406. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  35407. msgstr ""
  35408. #. type: deftypevr
  35409. #: guix-git/doc/guix.texi:23722
  35410. msgid "Defaults to @samp{2.0}."
  35411. msgstr ""
  35412. #. type: deftypevr
  35413. #: guix-git/doc/guix.texi:23725
  35414. #, no-wrap
  35415. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  35416. msgstr ""
  35417. #. type: deftypevr
  35418. #: guix-git/doc/guix.texi:23728
  35419. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  35420. msgstr ""
  35421. #. type: deftypevr
  35422. #: guix-git/doc/guix.texi:23733
  35423. #, no-wrap
  35424. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  35425. msgstr ""
  35426. #. type: deftypevr
  35427. #: guix-git/doc/guix.texi:23737
  35428. 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}."
  35429. msgstr ""
  35430. #. type: deftypevr
  35431. #: guix-git/doc/guix.texi:23742
  35432. #, no-wrap
  35433. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  35434. msgstr ""
  35435. #. type: deftypevr
  35436. #: guix-git/doc/guix.texi:23746
  35437. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  35438. msgstr ""
  35439. #. type: deftypevr
  35440. #: guix-git/doc/guix.texi:23751
  35441. #, no-wrap
  35442. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  35443. msgstr ""
  35444. #. type: deftypevr
  35445. #: guix-git/doc/guix.texi:23756
  35446. 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."
  35447. msgstr ""
  35448. #. type: deftypevr
  35449. #: guix-git/doc/guix.texi:23761
  35450. #, no-wrap
  35451. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  35452. msgstr ""
  35453. #. type: deftypevr
  35454. #: guix-git/doc/guix.texi:23765
  35455. 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."
  35456. msgstr ""
  35457. #. type: deftypevr
  35458. #: guix-git/doc/guix.texi:23770
  35459. #, no-wrap
  35460. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  35461. msgstr ""
  35462. #. type: deftypevr
  35463. #: guix-git/doc/guix.texi:23775
  35464. 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."
  35465. msgstr ""
  35466. #. type: deftypevr
  35467. #: guix-git/doc/guix.texi:23780
  35468. #, no-wrap
  35469. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  35470. msgstr ""
  35471. #. type: deftypevr
  35472. #: guix-git/doc/guix.texi:23785
  35473. 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."
  35474. msgstr ""
  35475. #. type: deftypevr
  35476. #: guix-git/doc/guix.texi:23790
  35477. #, no-wrap
  35478. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  35479. msgstr ""
  35480. #. type: deftypevr
  35481. #: guix-git/doc/guix.texi:23793
  35482. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  35483. msgstr ""
  35484. #. type: deftypevr
  35485. #: guix-git/doc/guix.texi:23798
  35486. #, no-wrap
  35487. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  35488. msgstr ""
  35489. #. type: deftypevr
  35490. #: guix-git/doc/guix.texi:23800
  35491. msgid "The port on which to listen for @acronym{RPC} connections."
  35492. msgstr ""
  35493. #. type: deftypevr
  35494. #: guix-git/doc/guix.texi:23802
  35495. msgid "Defaults to @samp{9091}."
  35496. msgstr ""
  35497. #. type: deftypevr
  35498. #: guix-git/doc/guix.texi:23805
  35499. #, no-wrap
  35500. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  35501. msgstr ""
  35502. #. type: deftypevr
  35503. #: guix-git/doc/guix.texi:23807
  35504. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  35505. msgstr ""
  35506. #. type: deftypevr
  35507. #: guix-git/doc/guix.texi:23809
  35508. msgid "Defaults to @samp{\"/transmission/\"}."
  35509. msgstr ""
  35510. #. type: deftypevr
  35511. #: guix-git/doc/guix.texi:23812
  35512. #, no-wrap
  35513. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  35514. msgstr ""
  35515. #. type: deftypevr
  35516. #: guix-git/doc/guix.texi:23817
  35517. 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?}."
  35518. msgstr ""
  35519. #. type: deftypevr
  35520. #: guix-git/doc/guix.texi:23822
  35521. #, no-wrap
  35522. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  35523. msgstr ""
  35524. #. type: deftypevr
  35525. #: guix-git/doc/guix.texi:23825
  35526. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  35527. msgstr ""
  35528. #. type: deftypevr
  35529. #: guix-git/doc/guix.texi:23830
  35530. #, no-wrap
  35531. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  35532. msgstr ""
  35533. #. type: deftypevr
  35534. #: guix-git/doc/guix.texi:23836
  35535. 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."
  35536. msgstr ""
  35537. #. type: deftypevr
  35538. #: guix-git/doc/guix.texi:23841
  35539. #, no-wrap
  35540. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  35541. msgstr ""
  35542. #. type: deftypevr
  35543. #: guix-git/doc/guix.texi:23844
  35544. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  35545. msgstr ""
  35546. #. type: deftypevr
  35547. #: guix-git/doc/guix.texi:23849
  35548. #, no-wrap
  35549. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  35550. msgstr ""
  35551. #. type: deftypevr
  35552. #: guix-git/doc/guix.texi:23853
  35553. 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{*}."
  35554. msgstr ""
  35555. #. type: deftypevr
  35556. #: guix-git/doc/guix.texi:23855
  35557. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  35558. msgstr ""
  35559. #. type: deftypevr
  35560. #: guix-git/doc/guix.texi:23858
  35561. #, no-wrap
  35562. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  35563. msgstr ""
  35564. #. type: deftypevr
  35565. #: guix-git/doc/guix.texi:23863
  35566. 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."
  35567. msgstr ""
  35568. #. type: deftypevr
  35569. #: guix-git/doc/guix.texi:23866
  35570. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  35571. msgstr ""
  35572. #. type: deftypevr
  35573. #: guix-git/doc/guix.texi:23871
  35574. #, no-wrap
  35575. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  35576. msgstr ""
  35577. #. type: deftypevr
  35578. #: guix-git/doc/guix.texi:23874
  35579. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  35580. msgstr ""
  35581. #. type: deftypevr
  35582. #: guix-git/doc/guix.texi:23879
  35583. #, no-wrap
  35584. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  35585. msgstr ""
  35586. #. type: deftypevr
  35587. #: guix-git/doc/guix.texi:23883
  35588. 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}."
  35589. msgstr ""
  35590. #. type: deftypevr
  35591. #: guix-git/doc/guix.texi:23888
  35592. #, no-wrap
  35593. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  35594. msgstr ""
  35595. #. type: deftypevr
  35596. #: guix-git/doc/guix.texi:23891
  35597. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  35598. msgstr ""
  35599. #. type: deftypevr
  35600. #: guix-git/doc/guix.texi:23896
  35601. #, no-wrap
  35602. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  35603. msgstr ""
  35604. #. type: deftypevr
  35605. #: guix-git/doc/guix.texi:23900
  35606. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  35607. msgstr ""
  35608. #. type: deftypevr
  35609. #: guix-git/doc/guix.texi:23905
  35610. #, no-wrap
  35611. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  35612. msgstr ""
  35613. #. type: deftypevr
  35614. #: guix-git/doc/guix.texi:23909
  35615. 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}."
  35616. msgstr ""
  35617. #. type: deftypevr
  35618. #: guix-git/doc/guix.texi:23914
  35619. #, no-wrap
  35620. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  35621. msgstr ""
  35622. #. type: deftypevr
  35623. #: guix-git/doc/guix.texi:23917
  35624. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  35625. msgstr ""
  35626. #. type: deftypevr
  35627. #: guix-git/doc/guix.texi:23922
  35628. #, no-wrap
  35629. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  35630. msgstr ""
  35631. #. type: deftypevr
  35632. #: guix-git/doc/guix.texi:23926
  35633. 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."
  35634. msgstr ""
  35635. #. type: deftypevr
  35636. #: guix-git/doc/guix.texi:23928
  35637. msgid "Defaults to @samp{4}."
  35638. msgstr ""
  35639. #. type: deftypevr
  35640. #: guix-git/doc/guix.texi:23931
  35641. #, no-wrap
  35642. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  35643. msgstr ""
  35644. #. type: deftypevr
  35645. #: guix-git/doc/guix.texi:23935
  35646. 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."
  35647. msgstr ""
  35648. #. type: subsubheading
  35649. #: guix-git/doc/guix.texi:23948
  35650. #, no-wrap
  35651. msgid "Tailon Service"
  35652. msgstr ""
  35653. #. type: Plain text
  35654. #: guix-git/doc/guix.texi:23952
  35655. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  35656. msgstr ""
  35657. #. type: Plain text
  35658. #: guix-git/doc/guix.texi:23955
  35659. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  35660. msgstr ""
  35661. #. type: lisp
  35662. #: guix-git/doc/guix.texi:23958
  35663. #, no-wrap
  35664. msgid "(service tailon-service-type)\n"
  35665. msgstr ""
  35666. #. type: Plain text
  35667. #: guix-git/doc/guix.texi:23962
  35668. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  35669. msgstr ""
  35670. #. type: lisp
  35671. #: guix-git/doc/guix.texi:23969
  35672. #, no-wrap
  35673. msgid ""
  35674. "(service tailon-service-type\n"
  35675. " (tailon-configuration\n"
  35676. " (config-file\n"
  35677. " (tailon-configuration-file\n"
  35678. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  35679. msgstr ""
  35680. #. type: deftp
  35681. #: guix-git/doc/guix.texi:23972
  35682. #, no-wrap
  35683. msgid "{Data Type} tailon-configuration"
  35684. msgstr ""
  35685. #. type: deftp
  35686. #: guix-git/doc/guix.texi:23975
  35687. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  35688. msgstr ""
  35689. #. type: item
  35690. #: guix-git/doc/guix.texi:23977
  35691. #, no-wrap
  35692. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  35693. msgstr ""
  35694. #. type: table
  35695. #: guix-git/doc/guix.texi:23981
  35696. 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})."
  35697. msgstr ""
  35698. #. type: table
  35699. #: guix-git/doc/guix.texi:23984
  35700. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  35701. msgstr ""
  35702. #. type: lisp
  35703. #: guix-git/doc/guix.texi:23989
  35704. #, no-wrap
  35705. msgid ""
  35706. "(service tailon-service-type\n"
  35707. " (tailon-configuration\n"
  35708. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  35709. msgstr ""
  35710. #. type: item
  35711. #: guix-git/doc/guix.texi:23991
  35712. #, no-wrap
  35713. msgid "@code{package} (default: @code{tailon})"
  35714. msgstr ""
  35715. #. type: table
  35716. #: guix-git/doc/guix.texi:23993
  35717. msgid "The tailon package to use."
  35718. msgstr ""
  35719. #. type: deftp
  35720. #: guix-git/doc/guix.texi:23997
  35721. #, no-wrap
  35722. msgid "{Data Type} tailon-configuration-file"
  35723. msgstr ""
  35724. #. type: deftp
  35725. #: guix-git/doc/guix.texi:24000
  35726. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  35727. msgstr ""
  35728. #. type: item
  35729. #: guix-git/doc/guix.texi:24002
  35730. #, no-wrap
  35731. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  35732. msgstr ""
  35733. #. type: table
  35734. #: guix-git/doc/guix.texi:24007
  35735. 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."
  35736. msgstr ""
  35737. #. type: item
  35738. #: guix-git/doc/guix.texi:24008
  35739. #, no-wrap
  35740. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  35741. msgstr ""
  35742. #. type: table
  35743. #: guix-git/doc/guix.texi:24010
  35744. msgid "Address and port to which Tailon should bind on."
  35745. msgstr ""
  35746. #. type: item
  35747. #: guix-git/doc/guix.texi:24011
  35748. #, no-wrap
  35749. msgid "@code{relative-root} (default: @code{#f})"
  35750. msgstr ""
  35751. #. type: table
  35752. #: guix-git/doc/guix.texi:24013
  35753. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  35754. msgstr ""
  35755. #. type: item
  35756. #: guix-git/doc/guix.texi:24014
  35757. #, no-wrap
  35758. msgid "@code{allow-transfers?} (default: @code{#t})"
  35759. msgstr ""
  35760. #. type: table
  35761. #: guix-git/doc/guix.texi:24016
  35762. msgid "Allow downloading the log files in the web interface."
  35763. msgstr ""
  35764. #. type: item
  35765. #: guix-git/doc/guix.texi:24017
  35766. #, no-wrap
  35767. msgid "@code{follow-names?} (default: @code{#t})"
  35768. msgstr ""
  35769. #. type: table
  35770. #: guix-git/doc/guix.texi:24019
  35771. msgid "Allow tailing of not-yet existent files."
  35772. msgstr ""
  35773. #. type: item
  35774. #: guix-git/doc/guix.texi:24020
  35775. #, no-wrap
  35776. msgid "@code{tail-lines} (default: @code{200})"
  35777. msgstr ""
  35778. #. type: table
  35779. #: guix-git/doc/guix.texi:24022
  35780. msgid "Number of lines to read initially from each file."
  35781. msgstr ""
  35782. #. type: item
  35783. #: guix-git/doc/guix.texi:24023
  35784. #, no-wrap
  35785. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  35786. msgstr ""
  35787. #. type: table
  35788. #: guix-git/doc/guix.texi:24025
  35789. msgid "Commands to allow running. By default, @code{sed} is disabled."
  35790. msgstr ""
  35791. #. type: table
  35792. #: guix-git/doc/guix.texi:24028
  35793. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  35794. msgstr ""
  35795. #. type: item
  35796. #: guix-git/doc/guix.texi:24029
  35797. #, no-wrap
  35798. msgid "@code{wrap-lines} (default: @code{#t})"
  35799. msgstr ""
  35800. #. type: table
  35801. #: guix-git/doc/guix.texi:24033
  35802. 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."
  35803. msgstr ""
  35804. #. type: item
  35805. #: guix-git/doc/guix.texi:24034
  35806. #, no-wrap
  35807. msgid "@code{http-auth} (default: @code{#f})"
  35808. msgstr ""
  35809. #. type: table
  35810. #: guix-git/doc/guix.texi:24038
  35811. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  35812. msgstr ""
  35813. #. type: item
  35814. #: guix-git/doc/guix.texi:24039
  35815. #, no-wrap
  35816. msgid "@code{users} (default: @code{#f})"
  35817. msgstr ""
  35818. #. type: table
  35819. #: guix-git/doc/guix.texi:24044
  35820. 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."
  35821. msgstr ""
  35822. #. type: lisp
  35823. #: guix-git/doc/guix.texi:24050
  35824. #, no-wrap
  35825. msgid ""
  35826. "(tailon-configuration-file\n"
  35827. " (http-auth \"basic\")\n"
  35828. " (users '((\"user1\" . \"password1\")\n"
  35829. " (\"user2\" . \"password2\"))))\n"
  35830. msgstr ""
  35831. #. type: subsubheading
  35832. #: guix-git/doc/guix.texi:24056
  35833. #, no-wrap
  35834. msgid "Darkstat Service"
  35835. msgstr ""
  35836. #. type: cindex
  35837. #: guix-git/doc/guix.texi:24057
  35838. #, no-wrap
  35839. msgid "darkstat"
  35840. msgstr ""
  35841. #. type: Plain text
  35842. #: guix-git/doc/guix.texi:24060
  35843. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  35844. msgstr ""
  35845. #. type: defvar
  35846. #: guix-git/doc/guix.texi:24061
  35847. #, no-wrap
  35848. msgid "{Scheme Variable} darkstat-service-type"
  35849. msgstr ""
  35850. #. type: defvar
  35851. #: guix-git/doc/guix.texi:24066
  35852. 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:"
  35853. msgstr ""
  35854. #. type: lisp
  35855. #: guix-git/doc/guix.texi:24071
  35856. #, no-wrap
  35857. msgid ""
  35858. "(service darkstat-service-type\n"
  35859. " (darkstat-configuration\n"
  35860. " (interface \"eno1\")))\n"
  35861. msgstr ""
  35862. #. type: deftp
  35863. #: guix-git/doc/guix.texi:24074
  35864. #, no-wrap
  35865. msgid "{Data Type} darkstat-configuration"
  35866. msgstr ""
  35867. #. type: deftp
  35868. #: guix-git/doc/guix.texi:24076
  35869. msgid "Data type representing the configuration of @command{darkstat}."
  35870. msgstr ""
  35871. #. type: item
  35872. #: guix-git/doc/guix.texi:24078
  35873. #, no-wrap
  35874. msgid "@code{package} (default: @code{darkstat})"
  35875. msgstr ""
  35876. #. type: table
  35877. #: guix-git/doc/guix.texi:24080
  35878. msgid "The darkstat package to use."
  35879. msgstr ""
  35880. #. type: code{#1}
  35881. #: guix-git/doc/guix.texi:24081
  35882. #, no-wrap
  35883. msgid "interface"
  35884. msgstr ""
  35885. #. type: table
  35886. #: guix-git/doc/guix.texi:24083
  35887. msgid "Capture traffic on the specified network interface."
  35888. msgstr ""
  35889. #. type: item
  35890. #: guix-git/doc/guix.texi:24084
  35891. #, no-wrap
  35892. msgid "@code{port} (default: @code{\"667\"})"
  35893. msgstr ""
  35894. #. type: table
  35895. #: guix-git/doc/guix.texi:24086
  35896. msgid "Bind the web interface to the specified port."
  35897. msgstr ""
  35898. #. type: table
  35899. #: guix-git/doc/guix.texi:24089 guix-git/doc/guix.texi:24124
  35900. msgid "Bind the web interface to the specified address."
  35901. msgstr ""
  35902. #. type: item
  35903. #: guix-git/doc/guix.texi:24090
  35904. #, no-wrap
  35905. msgid "@code{base} (default: @code{\"/\"})"
  35906. msgstr ""
  35907. #. type: table
  35908. #: guix-git/doc/guix.texi:24093
  35909. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  35910. msgstr ""
  35911. #. type: subsubheading
  35912. #: guix-git/doc/guix.texi:24097
  35913. #, no-wrap
  35914. msgid "Prometheus Node Exporter Service"
  35915. msgstr ""
  35916. #. type: cindex
  35917. #: guix-git/doc/guix.texi:24099
  35918. #, no-wrap
  35919. msgid "prometheus-node-exporter"
  35920. msgstr ""
  35921. #. type: Plain text
  35922. #: guix-git/doc/guix.texi:24104
  35923. 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."
  35924. msgstr ""
  35925. #. type: defvar
  35926. #: guix-git/doc/guix.texi:24105
  35927. #, no-wrap
  35928. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  35929. msgstr ""
  35930. #. type: defvar
  35931. #: guix-git/doc/guix.texi:24109
  35932. 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}."
  35933. msgstr ""
  35934. #. type: lisp
  35935. #: guix-git/doc/guix.texi:24112
  35936. #, no-wrap
  35937. msgid "(service prometheus-node-exporter-service-type)\n"
  35938. msgstr ""
  35939. #. type: deftp
  35940. #: guix-git/doc/guix.texi:24115
  35941. #, no-wrap
  35942. msgid "{Data Type} prometheus-node-exporter-configuration"
  35943. msgstr ""
  35944. #. type: deftp
  35945. #: guix-git/doc/guix.texi:24117
  35946. msgid "Data type representing the configuration of @command{node_exporter}."
  35947. msgstr ""
  35948. #. type: item
  35949. #: guix-git/doc/guix.texi:24119
  35950. #, no-wrap
  35951. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  35952. msgstr ""
  35953. #. type: table
  35954. #: guix-git/doc/guix.texi:24121
  35955. msgid "The prometheus-node-exporter package to use."
  35956. msgstr ""
  35957. #. type: item
  35958. #: guix-git/doc/guix.texi:24122
  35959. #, no-wrap
  35960. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  35961. msgstr ""
  35962. #. type: item
  35963. #: guix-git/doc/guix.texi:24125
  35964. #, no-wrap
  35965. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  35966. msgstr ""
  35967. #. type: table
  35968. #: guix-git/doc/guix.texi:24129
  35969. 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."
  35970. msgstr ""
  35971. #. type: table
  35972. #: guix-git/doc/guix.texi:24132
  35973. msgid "Extra options to pass to the Prometheus node exporter."
  35974. msgstr ""
  35975. #. type: subsubheading
  35976. #: guix-git/doc/guix.texi:24136
  35977. #, no-wrap
  35978. msgid "Zabbix server"
  35979. msgstr ""
  35980. #. type: cindex
  35981. #: guix-git/doc/guix.texi:24137
  35982. #, no-wrap
  35983. msgid "zabbix zabbix-server"
  35984. msgstr ""
  35985. #. type: Plain text
  35986. #: guix-git/doc/guix.texi:24140
  35987. msgid "Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption:"
  35988. msgstr ""
  35989. #. type: item
  35990. #: guix-git/doc/guix.texi:24142
  35991. #, no-wrap
  35992. msgid "High performance, high capacity (able to monitor hundreds of thousands of devices)."
  35993. msgstr ""
  35994. #. type: item
  35995. #: guix-git/doc/guix.texi:24143
  35996. #, no-wrap
  35997. msgid "Auto-discovery of servers and network devices and interfaces."
  35998. msgstr ""
  35999. #. type: item
  36000. #: guix-git/doc/guix.texi:24144
  36001. #, no-wrap
  36002. msgid "Low-level discovery, allows to automatically start monitoring new items, file systems or network interfaces among others."
  36003. msgstr ""
  36004. #. type: item
  36005. #: guix-git/doc/guix.texi:24145
  36006. #, no-wrap
  36007. msgid "Distributed monitoring with centralized web administration."
  36008. msgstr ""
  36009. #. type: item
  36010. #: guix-git/doc/guix.texi:24146
  36011. #, no-wrap
  36012. msgid "Native high performance agents."
  36013. msgstr ""
  36014. #. type: item
  36015. #: guix-git/doc/guix.texi:24147
  36016. #, no-wrap
  36017. msgid "SLA, and ITIL KPI metrics on reporting."
  36018. msgstr ""
  36019. #. type: item
  36020. #: guix-git/doc/guix.texi:24148
  36021. #, no-wrap
  36022. msgid "High-level (business) view of monitored resources through user-defined visual console screens and dashboards."
  36023. msgstr ""
  36024. #. type: item
  36025. #: guix-git/doc/guix.texi:24149
  36026. #, no-wrap
  36027. msgid "Remote command execution through Zabbix proxies."
  36028. msgstr ""
  36029. #. type: Plain text
  36030. #: guix-git/doc/guix.texi:24155
  36031. msgid "Available @code{zabbix-server-configuration} fields are:"
  36032. msgstr ""
  36033. #. type: deftypevr
  36034. #: guix-git/doc/guix.texi:24156
  36035. #, no-wrap
  36036. msgid "{@code{zabbix-server-configuration} parameter} package zabbix-server"
  36037. msgstr ""
  36038. #. type: deftypevr
  36039. #: guix-git/doc/guix.texi:24158
  36040. msgid "The zabbix-server package."
  36041. msgstr ""
  36042. #. type: deftypevr
  36043. #: guix-git/doc/guix.texi:24161
  36044. #, no-wrap
  36045. msgid "{@code{zabbix-server-configuration} parameter} string user"
  36046. msgstr ""
  36047. #. type: deftypevr
  36048. #: guix-git/doc/guix.texi:24163
  36049. msgid "User who will run the Zabbix server."
  36050. msgstr ""
  36051. #. type: deftypevr
  36052. #: guix-git/doc/guix.texi:24165 guix-git/doc/guix.texi:24172
  36053. #: guix-git/doc/guix.texi:24186 guix-git/doc/guix.texi:24193
  36054. #: guix-git/doc/guix.texi:24294 guix-git/doc/guix.texi:24301
  36055. #: guix-git/doc/guix.texi:24412 guix-git/doc/guix.texi:24419
  36056. msgid "Defaults to @samp{\"zabbix\"}."
  36057. msgstr ""
  36058. #. type: deftypevr
  36059. #: guix-git/doc/guix.texi:24168
  36060. #, no-wrap
  36061. msgid "{@code{zabbix-server-configuration} parameter} group group"
  36062. msgstr ""
  36063. #. type: deftypevr
  36064. #: guix-git/doc/guix.texi:24170
  36065. msgid "Group who will run the Zabbix server."
  36066. msgstr ""
  36067. #. type: deftypevr
  36068. #: guix-git/doc/guix.texi:24175
  36069. #, no-wrap
  36070. msgid "{@code{zabbix-server-configuration} parameter} string db-host"
  36071. msgstr ""
  36072. #. type: deftypevr
  36073. #: guix-git/doc/guix.texi:24177 guix-git/doc/guix.texi:24396
  36074. msgid "Database host name."
  36075. msgstr ""
  36076. #. type: deftypevr
  36077. #: guix-git/doc/guix.texi:24179
  36078. msgid "Defaults to @samp{\"127.0.0.1\"}."
  36079. msgstr ""
  36080. #. type: deftypevr
  36081. #: guix-git/doc/guix.texi:24182
  36082. #, no-wrap
  36083. msgid "{@code{zabbix-server-configuration} parameter} string db-name"
  36084. msgstr ""
  36085. #. type: deftypevr
  36086. #: guix-git/doc/guix.texi:24184 guix-git/doc/guix.texi:24410
  36087. msgid "Database name."
  36088. msgstr ""
  36089. #. type: deftypevr
  36090. #: guix-git/doc/guix.texi:24189
  36091. #, no-wrap
  36092. msgid "{@code{zabbix-server-configuration} parameter} string db-user"
  36093. msgstr ""
  36094. #. type: deftypevr
  36095. #: guix-git/doc/guix.texi:24191 guix-git/doc/guix.texi:24417
  36096. msgid "Database user."
  36097. msgstr ""
  36098. #. type: deftypevr
  36099. #: guix-git/doc/guix.texi:24196
  36100. #, no-wrap
  36101. msgid "{@code{zabbix-server-configuration} parameter} string db-password"
  36102. msgstr ""
  36103. #. type: deftypevr
  36104. #: guix-git/doc/guix.texi:24199
  36105. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  36106. msgstr ""
  36107. #. type: deftypevr
  36108. #: guix-git/doc/guix.texi:24204
  36109. #, no-wrap
  36110. msgid "{@code{zabbix-server-configuration} parameter} number db-port"
  36111. msgstr ""
  36112. #. type: deftypevr
  36113. #: guix-git/doc/guix.texi:24206 guix-git/doc/guix.texi:24403
  36114. msgid "Database port."
  36115. msgstr ""
  36116. #. type: deftypevr
  36117. #: guix-git/doc/guix.texi:24208 guix-git/doc/guix.texi:24405
  36118. msgid "Defaults to @samp{5432}."
  36119. msgstr ""
  36120. #. type: deftypevr
  36121. #: guix-git/doc/guix.texi:24211
  36122. #, no-wrap
  36123. msgid "{@code{zabbix-server-configuration} parameter} string log-type"
  36124. msgstr ""
  36125. #. type: deftypevr
  36126. #: guix-git/doc/guix.texi:24213 guix-git/doc/guix.texi:24314
  36127. msgid "Specifies where log messages are written to:"
  36128. msgstr ""
  36129. #. type: itemize
  36130. #: guix-git/doc/guix.texi:24217 guix-git/doc/guix.texi:24318
  36131. msgid "@code{system} - syslog."
  36132. msgstr ""
  36133. #. type: itemize
  36134. #: guix-git/doc/guix.texi:24220 guix-git/doc/guix.texi:24321
  36135. msgid "@code{file} - file specified with @code{log-file} parameter."
  36136. msgstr ""
  36137. #. type: itemize
  36138. #: guix-git/doc/guix.texi:24223 guix-git/doc/guix.texi:24324
  36139. msgid "@code{console} - standard output."
  36140. msgstr ""
  36141. #. type: deftypevr
  36142. #: guix-git/doc/guix.texi:24230
  36143. #, no-wrap
  36144. msgid "{@code{zabbix-server-configuration} parameter} string log-file"
  36145. msgstr ""
  36146. #. type: deftypevr
  36147. #: guix-git/doc/guix.texi:24232 guix-git/doc/guix.texi:24333
  36148. msgid "Log file name for @code{log-type} @code{file} parameter."
  36149. msgstr ""
  36150. #. type: deftypevr
  36151. #: guix-git/doc/guix.texi:24234
  36152. msgid "Defaults to @samp{\"/var/log/zabbix/server.log\"}."
  36153. msgstr ""
  36154. #. type: deftypevr
  36155. #: guix-git/doc/guix.texi:24237
  36156. #, no-wrap
  36157. msgid "{@code{zabbix-server-configuration} parameter} string pid-file"
  36158. msgstr ""
  36159. #. type: deftypevr
  36160. #: guix-git/doc/guix.texi:24239 guix-git/doc/guix.texi:24340
  36161. msgid "Name of PID file."
  36162. msgstr ""
  36163. #. type: deftypevr
  36164. #: guix-git/doc/guix.texi:24241
  36165. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_server.pid\"}."
  36166. msgstr ""
  36167. #. type: deftypevr
  36168. #: guix-git/doc/guix.texi:24244
  36169. #, no-wrap
  36170. msgid "{@code{zabbix-server-configuration} parameter} string ssl-ca-location"
  36171. msgstr ""
  36172. #. type: deftypevr
  36173. #: guix-git/doc/guix.texi:24247
  36174. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  36175. msgstr ""
  36176. #. type: deftypevr
  36177. #: guix-git/doc/guix.texi:24249
  36178. msgid "Defaults to @samp{\"/etc/ssl/certs/ca-certificates.crt\"}."
  36179. msgstr ""
  36180. #. type: deftypevr
  36181. #: guix-git/doc/guix.texi:24252
  36182. #, no-wrap
  36183. msgid "{@code{zabbix-server-configuration} parameter} string ssl-cert-location"
  36184. msgstr ""
  36185. #. type: deftypevr
  36186. #: guix-git/doc/guix.texi:24254
  36187. msgid "Location of SSL client certificates."
  36188. msgstr ""
  36189. #. type: deftypevr
  36190. #: guix-git/doc/guix.texi:24256
  36191. msgid "Defaults to @samp{\"/etc/ssl/certs\"}."
  36192. msgstr ""
  36193. #. type: deftypevr
  36194. #: guix-git/doc/guix.texi:24259
  36195. #, no-wrap
  36196. msgid "{@code{zabbix-server-configuration} parameter} string extra-options"
  36197. msgstr ""
  36198. #. type: deftypevr
  36199. #: guix-git/doc/guix.texi:24261 guix-git/doc/guix.texi:24365
  36200. msgid "Extra options will be appended to Zabbix server configuration file."
  36201. msgstr ""
  36202. #. type: deftypevr
  36203. #: guix-git/doc/guix.texi:24266
  36204. #, no-wrap
  36205. msgid "{@code{zabbix-server-configuration} parameter} include-files include-files"
  36206. msgstr ""
  36207. #. type: deftypevr
  36208. #: guix-git/doc/guix.texi:24269 guix-git/doc/guix.texi:24373
  36209. msgid "You may include individual files or all files in a directory in the configuration file."
  36210. msgstr ""
  36211. #. type: subsubheading
  36212. #: guix-git/doc/guix.texi:24276
  36213. #, no-wrap
  36214. msgid "Zabbix agent"
  36215. msgstr ""
  36216. #. type: cindex
  36217. #: guix-git/doc/guix.texi:24277
  36218. #, no-wrap
  36219. msgid "zabbix zabbix-agent"
  36220. msgstr ""
  36221. #. type: Plain text
  36222. #: guix-git/doc/guix.texi:24280
  36223. msgid "Zabbix agent gathers information for Zabbix server."
  36224. msgstr ""
  36225. #. type: Plain text
  36226. #: guix-git/doc/guix.texi:24284
  36227. msgid "Available @code{zabbix-agent-configuration} fields are:"
  36228. msgstr ""
  36229. #. type: deftypevr
  36230. #: guix-git/doc/guix.texi:24285
  36231. #, no-wrap
  36232. msgid "{@code{zabbix-agent-configuration} parameter} package zabbix-agent"
  36233. msgstr ""
  36234. #. type: deftypevr
  36235. #: guix-git/doc/guix.texi:24287
  36236. msgid "The zabbix-agent package."
  36237. msgstr ""
  36238. #. type: deftypevr
  36239. #: guix-git/doc/guix.texi:24290
  36240. #, no-wrap
  36241. msgid "{@code{zabbix-agent-configuration} parameter} string user"
  36242. msgstr ""
  36243. #. type: deftypevr
  36244. #: guix-git/doc/guix.texi:24292
  36245. msgid "User who will run the Zabbix agent."
  36246. msgstr ""
  36247. #. type: deftypevr
  36248. #: guix-git/doc/guix.texi:24297
  36249. #, no-wrap
  36250. msgid "{@code{zabbix-agent-configuration} parameter} group group"
  36251. msgstr ""
  36252. #. type: deftypevr
  36253. #: guix-git/doc/guix.texi:24299
  36254. msgid "Group who will run the Zabbix agent."
  36255. msgstr ""
  36256. #. type: deftypevr
  36257. #: guix-git/doc/guix.texi:24304
  36258. #, no-wrap
  36259. msgid "{@code{zabbix-agent-configuration} parameter} string hostname"
  36260. msgstr ""
  36261. #. type: deftypevr
  36262. #: guix-git/doc/guix.texi:24307
  36263. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  36264. msgstr ""
  36265. #. type: deftypevr
  36266. #: guix-git/doc/guix.texi:24312
  36267. #, no-wrap
  36268. msgid "{@code{zabbix-agent-configuration} parameter} string log-type"
  36269. msgstr ""
  36270. #. type: deftypevr
  36271. #: guix-git/doc/guix.texi:24331
  36272. #, no-wrap
  36273. msgid "{@code{zabbix-agent-configuration} parameter} string log-file"
  36274. msgstr ""
  36275. #. type: deftypevr
  36276. #: guix-git/doc/guix.texi:24335
  36277. msgid "Defaults to @samp{\"/var/log/zabbix/agent.log\"}."
  36278. msgstr ""
  36279. #. type: deftypevr
  36280. #: guix-git/doc/guix.texi:24338
  36281. #, no-wrap
  36282. msgid "{@code{zabbix-agent-configuration} parameter} string pid-file"
  36283. msgstr ""
  36284. #. type: deftypevr
  36285. #: guix-git/doc/guix.texi:24342
  36286. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_agent.pid\"}."
  36287. msgstr ""
  36288. #. type: deftypevr
  36289. #: guix-git/doc/guix.texi:24345
  36290. #, no-wrap
  36291. msgid "{@code{zabbix-agent-configuration} parameter} list server"
  36292. msgstr ""
  36293. #. type: deftypevr
  36294. #: guix-git/doc/guix.texi:24349
  36295. 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."
  36296. msgstr ""
  36297. #. type: deftypevr
  36298. #: guix-git/doc/guix.texi:24351 guix-git/doc/guix.texi:24360
  36299. msgid "Defaults to @samp{(\"127.0.0.1\")}."
  36300. msgstr ""
  36301. #. type: deftypevr
  36302. #: guix-git/doc/guix.texi:24354
  36303. #, no-wrap
  36304. msgid "{@code{zabbix-agent-configuration} parameter} list server-active"
  36305. msgstr ""
  36306. #. type: deftypevr
  36307. #: guix-git/doc/guix.texi:24358
  36308. 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."
  36309. msgstr ""
  36310. #. type: deftypevr
  36311. #: guix-git/doc/guix.texi:24363
  36312. #, no-wrap
  36313. msgid "{@code{zabbix-agent-configuration} parameter} string extra-options"
  36314. msgstr ""
  36315. #. type: deftypevr
  36316. #: guix-git/doc/guix.texi:24370
  36317. #, no-wrap
  36318. msgid "{@code{zabbix-agent-configuration} parameter} include-files include-files"
  36319. msgstr ""
  36320. #. type: subsubheading
  36321. #: guix-git/doc/guix.texi:24380
  36322. #, no-wrap
  36323. msgid "Zabbix front-end"
  36324. msgstr ""
  36325. #. type: cindex
  36326. #: guix-git/doc/guix.texi:24381
  36327. #, no-wrap
  36328. msgid "zabbix zabbix-front-end"
  36329. msgstr ""
  36330. #. type: Plain text
  36331. #: guix-git/doc/guix.texi:24384
  36332. msgid "This service provides a WEB interface to Zabbix server."
  36333. msgstr ""
  36334. #. type: Plain text
  36335. #: guix-git/doc/guix.texi:24388
  36336. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  36337. msgstr ""
  36338. #. type: deftypevr
  36339. #: guix-git/doc/guix.texi:24389
  36340. #, no-wrap
  36341. msgid "{@code{zabbix-front-end-configuration} parameter} nginx-server-configuration-list nginx"
  36342. msgstr ""
  36343. #. type: deftypevr
  36344. #: guix-git/doc/guix.texi:24391 guix-git/doc/guix.texi:30622
  36345. msgid "NGINX configuration."
  36346. msgstr ""
  36347. #. type: deftypevr
  36348. #: guix-git/doc/guix.texi:24394
  36349. #, no-wrap
  36350. msgid "{@code{zabbix-front-end-configuration} parameter} string db-host"
  36351. msgstr ""
  36352. #. type: deftypevr
  36353. #: guix-git/doc/guix.texi:24401
  36354. #, no-wrap
  36355. msgid "{@code{zabbix-front-end-configuration} parameter} number db-port"
  36356. msgstr ""
  36357. #. type: deftypevr
  36358. #: guix-git/doc/guix.texi:24408
  36359. #, no-wrap
  36360. msgid "{@code{zabbix-front-end-configuration} parameter} string db-name"
  36361. msgstr ""
  36362. #. type: deftypevr
  36363. #: guix-git/doc/guix.texi:24415
  36364. #, no-wrap
  36365. msgid "{@code{zabbix-front-end-configuration} parameter} string db-user"
  36366. msgstr ""
  36367. #. type: deftypevr
  36368. #: guix-git/doc/guix.texi:24422
  36369. #, no-wrap
  36370. msgid "{@code{zabbix-front-end-configuration} parameter} string db-password"
  36371. msgstr ""
  36372. #. type: deftypevr
  36373. #: guix-git/doc/guix.texi:24424
  36374. msgid "Database password. Please, use @code{db-secret-file} instead."
  36375. msgstr ""
  36376. #. type: deftypevr
  36377. #: guix-git/doc/guix.texi:24429
  36378. #, no-wrap
  36379. msgid "{@code{zabbix-front-end-configuration} parameter} string db-secret-file"
  36380. msgstr ""
  36381. #. type: deftypevr
  36382. #: guix-git/doc/guix.texi:24434
  36383. 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']}."
  36384. msgstr ""
  36385. #. type: deftypevr
  36386. #: guix-git/doc/guix.texi:24439
  36387. #, no-wrap
  36388. msgid "{@code{zabbix-front-end-configuration} parameter} string zabbix-host"
  36389. msgstr ""
  36390. #. type: deftypevr
  36391. #: guix-git/doc/guix.texi:24441
  36392. msgid "Zabbix server hostname."
  36393. msgstr ""
  36394. #. type: deftypevr
  36395. #: guix-git/doc/guix.texi:24446
  36396. #, no-wrap
  36397. msgid "{@code{zabbix-front-end-configuration} parameter} number zabbix-port"
  36398. msgstr ""
  36399. #. type: deftypevr
  36400. #: guix-git/doc/guix.texi:24448
  36401. msgid "Zabbix server port."
  36402. msgstr ""
  36403. #. type: deftypevr
  36404. #: guix-git/doc/guix.texi:24450
  36405. msgid "Defaults to @samp{10051}."
  36406. msgstr ""
  36407. #. type: cindex
  36408. #: guix-git/doc/guix.texi:24458
  36409. #, no-wrap
  36410. msgid "Kerberos"
  36411. msgstr ""
  36412. #. type: Plain text
  36413. #: guix-git/doc/guix.texi:24462
  36414. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  36415. msgstr ""
  36416. #. type: subsubheading
  36417. #: guix-git/doc/guix.texi:24463
  36418. #, no-wrap
  36419. msgid "Krb5 Service"
  36420. msgstr ""
  36421. #. type: Plain text
  36422. #: guix-git/doc/guix.texi:24470
  36423. 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."
  36424. msgstr ""
  36425. #. type: Plain text
  36426. #: guix-git/doc/guix.texi:24474
  36427. 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."
  36428. msgstr ""
  36429. #. type: defvr
  36430. #: guix-git/doc/guix.texi:24475
  36431. #, no-wrap
  36432. msgid "{Scheme Variable} krb5-service-type"
  36433. msgstr ""
  36434. #. type: defvr
  36435. #: guix-git/doc/guix.texi:24477
  36436. msgid "A service type for Kerberos 5 clients."
  36437. msgstr ""
  36438. #. type: Plain text
  36439. #: guix-git/doc/guix.texi:24481
  36440. msgid "Here is an example of its use:"
  36441. msgstr ""
  36442. #. type: lisp
  36443. #: guix-git/doc/guix.texi:24495
  36444. #, no-wrap
  36445. msgid ""
  36446. "(service krb5-service-type\n"
  36447. " (krb5-configuration\n"
  36448. " (default-realm \"EXAMPLE.COM\")\n"
  36449. " (allow-weak-crypto? #t)\n"
  36450. " (realms (list\n"
  36451. " (krb5-realm\n"
  36452. " (name \"EXAMPLE.COM\")\n"
  36453. " (admin-server \"groucho.example.com\")\n"
  36454. " (kdc \"karl.example.com\"))\n"
  36455. " (krb5-realm\n"
  36456. " (name \"ARGRX.EDU\")\n"
  36457. " (admin-server \"kerb-admin.argrx.edu\")\n"
  36458. " (kdc \"keys.argrx.edu\"))))))\n"
  36459. msgstr ""
  36460. #. type: Plain text
  36461. #: guix-git/doc/guix.texi:24499
  36462. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  36463. msgstr ""
  36464. #. type: item
  36465. #: guix-git/doc/guix.texi:24500
  36466. #, no-wrap
  36467. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  36468. msgstr ""
  36469. #. type: itemize
  36470. #: guix-git/doc/guix.texi:24502
  36471. msgid "of which have distinct administration servers and key distribution centers;"
  36472. msgstr ""
  36473. #. type: item
  36474. #: guix-git/doc/guix.texi:24502
  36475. #, no-wrap
  36476. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  36477. msgstr ""
  36478. #. type: itemize
  36479. #: guix-git/doc/guix.texi:24504
  36480. msgid "specified by clients;"
  36481. msgstr ""
  36482. #. type: item
  36483. #: guix-git/doc/guix.texi:24504
  36484. #, no-wrap
  36485. msgid "Accepts services which only support encryption types known to be weak."
  36486. msgstr ""
  36487. #. type: Plain text
  36488. #: guix-git/doc/guix.texi:24512
  36489. 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."
  36490. msgstr ""
  36491. #. type: deftp
  36492. #: guix-git/doc/guix.texi:24514
  36493. #, no-wrap
  36494. msgid "{Data Type} krb5-realm"
  36495. msgstr ""
  36496. #. type: cindex
  36497. #: guix-git/doc/guix.texi:24515
  36498. #, no-wrap
  36499. msgid "realm, kerberos"
  36500. msgstr ""
  36501. #. type: table
  36502. #: guix-git/doc/guix.texi:24521
  36503. 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."
  36504. msgstr ""
  36505. #. type: code{#1}
  36506. #: guix-git/doc/guix.texi:24522
  36507. #, no-wrap
  36508. msgid "admin-server"
  36509. msgstr ""
  36510. #. type: table
  36511. #: guix-git/doc/guix.texi:24525
  36512. msgid "This field is a string identifying the host where the administration server is running."
  36513. msgstr ""
  36514. #. type: code{#1}
  36515. #: guix-git/doc/guix.texi:24526
  36516. #, no-wrap
  36517. msgid "kdc"
  36518. msgstr ""
  36519. #. type: table
  36520. #: guix-git/doc/guix.texi:24529
  36521. msgid "This field is a string identifying the key distribution center for the realm."
  36522. msgstr ""
  36523. #. type: deftp
  36524. #: guix-git/doc/guix.texi:24532
  36525. #, no-wrap
  36526. msgid "{Data Type} krb5-configuration"
  36527. msgstr ""
  36528. #. type: item
  36529. #: guix-git/doc/guix.texi:24535
  36530. #, no-wrap
  36531. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  36532. msgstr ""
  36533. #. type: table
  36534. #: guix-git/doc/guix.texi:24538
  36535. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  36536. msgstr ""
  36537. #. type: item
  36538. #: guix-git/doc/guix.texi:24539
  36539. #, no-wrap
  36540. msgid "@code{default-realm} (default: @code{#f})"
  36541. msgstr ""
  36542. #. type: table
  36543. #: guix-git/doc/guix.texi:24546
  36544. 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}."
  36545. msgstr ""
  36546. #. type: code{#1}
  36547. #: guix-git/doc/guix.texi:24547
  36548. #, no-wrap
  36549. msgid "realms"
  36550. msgstr ""
  36551. #. type: table
  36552. #: guix-git/doc/guix.texi:24552
  36553. 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."
  36554. msgstr ""
  36555. #. type: subsubheading
  36556. #: guix-git/doc/guix.texi:24556
  36557. #, no-wrap
  36558. msgid "PAM krb5 Service"
  36559. msgstr ""
  36560. #. type: cindex
  36561. #: guix-git/doc/guix.texi:24557
  36562. #, no-wrap
  36563. msgid "pam-krb5"
  36564. msgstr ""
  36565. #. type: Plain text
  36566. #: guix-git/doc/guix.texi:24563
  36567. 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."
  36568. msgstr ""
  36569. #. type: defvr
  36570. #: guix-git/doc/guix.texi:24564
  36571. #, no-wrap
  36572. msgid "{Scheme Variable} pam-krb5-service-type"
  36573. msgstr ""
  36574. #. type: defvr
  36575. #: guix-git/doc/guix.texi:24566
  36576. msgid "A service type for the Kerberos 5 PAM module."
  36577. msgstr ""
  36578. #. type: deftp
  36579. #: guix-git/doc/guix.texi:24568
  36580. #, no-wrap
  36581. msgid "{Data Type} pam-krb5-configuration"
  36582. msgstr ""
  36583. #. type: deftp
  36584. #: guix-git/doc/guix.texi:24571
  36585. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  36586. msgstr ""
  36587. #. type: item
  36588. #: guix-git/doc/guix.texi:24572
  36589. #, no-wrap
  36590. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  36591. msgstr ""
  36592. #. type: table
  36593. #: guix-git/doc/guix.texi:24574
  36594. msgid "The pam-krb5 package to use."
  36595. msgstr ""
  36596. #. type: item
  36597. #: guix-git/doc/guix.texi:24575
  36598. #, no-wrap
  36599. msgid "@code{minimum-uid} (default: @code{1000})"
  36600. msgstr ""
  36601. #. type: table
  36602. #: guix-git/doc/guix.texi:24578
  36603. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  36604. msgstr ""
  36605. #. type: cindex
  36606. #: guix-git/doc/guix.texi:24584
  36607. #, no-wrap
  36608. msgid "LDAP"
  36609. msgstr ""
  36610. #. type: cindex
  36611. #: guix-git/doc/guix.texi:24585
  36612. #, no-wrap
  36613. msgid "nslcd, LDAP service"
  36614. msgstr ""
  36615. #. type: Plain text
  36616. #: guix-git/doc/guix.texi:24592
  36617. 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."
  36618. msgstr ""
  36619. #. type: Plain text
  36620. #: guix-git/doc/guix.texi:24596
  36621. 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:"
  36622. msgstr ""
  36623. #. type: lisp
  36624. #: guix-git/doc/guix.texi:24619
  36625. #, no-wrap
  36626. msgid ""
  36627. "(use-service-modules authentication)\n"
  36628. "(use-modules (gnu system nss))\n"
  36629. "...\n"
  36630. "(operating-system\n"
  36631. " ...\n"
  36632. " (services\n"
  36633. " (cons*\n"
  36634. " (service nslcd-service-type)\n"
  36635. " (service dhcp-client-service-type)\n"
  36636. " %base-services))\n"
  36637. " (name-service-switch\n"
  36638. " (let ((services (list (name-service (name \"db\"))\n"
  36639. " (name-service (name \"files\"))\n"
  36640. " (name-service (name \"ldap\")))))\n"
  36641. " (name-service-switch\n"
  36642. " (inherit %mdns-host-lookup-nss)\n"
  36643. " (password services)\n"
  36644. " (shadow services)\n"
  36645. " (group services)\n"
  36646. " (netgroup services)\n"
  36647. " (gshadow services)))))\n"
  36648. msgstr ""
  36649. #. type: Plain text
  36650. #: guix-git/doc/guix.texi:24624
  36651. msgid "Available @code{nslcd-configuration} fields are:"
  36652. msgstr ""
  36653. #. type: deftypevr
  36654. #: guix-git/doc/guix.texi:24625
  36655. #, no-wrap
  36656. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  36657. msgstr ""
  36658. #. type: deftypevr
  36659. #: guix-git/doc/guix.texi:24627
  36660. msgid "The @code{nss-pam-ldapd} package to use."
  36661. msgstr ""
  36662. #. type: deftypevr
  36663. #: guix-git/doc/guix.texi:24630
  36664. #, no-wrap
  36665. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  36666. msgstr ""
  36667. #. type: deftypevr
  36668. #: guix-git/doc/guix.texi:24634
  36669. 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."
  36670. msgstr ""
  36671. #. type: deftypevr
  36672. #: guix-git/doc/guix.texi:24639
  36673. #, no-wrap
  36674. msgid "{@code{nslcd-configuration} parameter} string uid"
  36675. msgstr ""
  36676. #. type: deftypevr
  36677. #: guix-git/doc/guix.texi:24641
  36678. msgid "This specifies the user id with which the daemon should be run."
  36679. msgstr ""
  36680. #. type: deftypevr
  36681. #: guix-git/doc/guix.texi:24643 guix-git/doc/guix.texi:24650
  36682. msgid "Defaults to @samp{\"nslcd\"}."
  36683. msgstr ""
  36684. #. type: deftypevr
  36685. #: guix-git/doc/guix.texi:24646
  36686. #, no-wrap
  36687. msgid "{@code{nslcd-configuration} parameter} string gid"
  36688. msgstr ""
  36689. #. type: deftypevr
  36690. #: guix-git/doc/guix.texi:24648
  36691. msgid "This specifies the group id with which the daemon should be run."
  36692. msgstr ""
  36693. #. type: deftypevr
  36694. #: guix-git/doc/guix.texi:24653
  36695. #, no-wrap
  36696. msgid "{@code{nslcd-configuration} parameter} log-option log"
  36697. msgstr ""
  36698. #. type: deftypevr
  36699. #: guix-git/doc/guix.texi:24661
  36700. 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."
  36701. msgstr ""
  36702. #. type: deftypevr
  36703. #: guix-git/doc/guix.texi:24663
  36704. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  36705. msgstr ""
  36706. #. type: deftypevr
  36707. #: guix-git/doc/guix.texi:24666
  36708. #, no-wrap
  36709. msgid "{@code{nslcd-configuration} parameter} list uri"
  36710. msgstr ""
  36711. #. type: deftypevr
  36712. #: guix-git/doc/guix.texi:24669
  36713. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  36714. msgstr ""
  36715. #. type: deftypevr
  36716. #: guix-git/doc/guix.texi:24671
  36717. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  36718. msgstr ""
  36719. #. type: deftypevr
  36720. #: guix-git/doc/guix.texi:24674
  36721. #, no-wrap
  36722. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  36723. msgstr ""
  36724. #. type: deftypevr
  36725. #: guix-git/doc/guix.texi:24677
  36726. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  36727. msgstr ""
  36728. #. type: deftypevr
  36729. #: guix-git/doc/guix.texi:24682
  36730. #, no-wrap
  36731. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  36732. msgstr ""
  36733. #. type: deftypevr
  36734. #: guix-git/doc/guix.texi:24685
  36735. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  36736. msgstr ""
  36737. #. type: deftypevr
  36738. #: guix-git/doc/guix.texi:24690
  36739. #, no-wrap
  36740. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  36741. msgstr ""
  36742. #. type: deftypevr
  36743. #: guix-git/doc/guix.texi:24693
  36744. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  36745. msgstr ""
  36746. #. type: deftypevr
  36747. #: guix-git/doc/guix.texi:24698
  36748. #, no-wrap
  36749. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  36750. msgstr ""
  36751. #. type: deftypevr
  36752. #: guix-git/doc/guix.texi:24701
  36753. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  36754. msgstr ""
  36755. #. type: deftypevr
  36756. #: guix-git/doc/guix.texi:24706
  36757. #, no-wrap
  36758. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  36759. msgstr ""
  36760. #. type: deftypevr
  36761. #: guix-git/doc/guix.texi:24710
  36762. 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"
  36763. msgstr ""
  36764. #. type: deftypevr
  36765. #: guix-git/doc/guix.texi:24715
  36766. #, no-wrap
  36767. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  36768. msgstr ""
  36769. #. type: deftypevr
  36770. #: guix-git/doc/guix.texi:24718
  36771. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  36772. msgstr ""
  36773. #. type: deftypevr
  36774. #: guix-git/doc/guix.texi:24723
  36775. #, no-wrap
  36776. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  36777. msgstr ""
  36778. #. type: deftypevr
  36779. #: guix-git/doc/guix.texi:24725
  36780. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  36781. msgstr ""
  36782. #. type: deftypevr
  36783. #: guix-git/doc/guix.texi:24730
  36784. #, no-wrap
  36785. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  36786. msgstr ""
  36787. #. type: deftypevr
  36788. #: guix-git/doc/guix.texi:24733
  36789. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  36790. msgstr ""
  36791. #. type: deftypevr
  36792. #: guix-git/doc/guix.texi:24738
  36793. #, no-wrap
  36794. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  36795. msgstr ""
  36796. #. type: deftypevr
  36797. #: guix-git/doc/guix.texi:24741
  36798. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  36799. msgstr ""
  36800. #. type: deftypevr
  36801. #: guix-git/doc/guix.texi:24746
  36802. #, no-wrap
  36803. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  36804. msgstr ""
  36805. #. type: deftypevr
  36806. #: guix-git/doc/guix.texi:24751
  36807. 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."
  36808. msgstr ""
  36809. #. type: deftypevr
  36810. #: guix-git/doc/guix.texi:24756
  36811. #, no-wrap
  36812. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  36813. msgstr ""
  36814. #. type: deftypevr
  36815. #: guix-git/doc/guix.texi:24758
  36816. msgid "Set the name for the GSS-API Kerberos credentials cache."
  36817. msgstr ""
  36818. #. type: deftypevr
  36819. #: guix-git/doc/guix.texi:24763
  36820. #, no-wrap
  36821. msgid "{@code{nslcd-configuration} parameter} string base"
  36822. msgstr ""
  36823. #. type: deftypevr
  36824. #: guix-git/doc/guix.texi:24765
  36825. msgid "The directory search base."
  36826. msgstr ""
  36827. #. type: deftypevr
  36828. #: guix-git/doc/guix.texi:24767
  36829. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  36830. msgstr ""
  36831. #. type: deftypevr
  36832. #: guix-git/doc/guix.texi:24770
  36833. #, no-wrap
  36834. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  36835. msgstr ""
  36836. #. type: deftypevr
  36837. #: guix-git/doc/guix.texi:24774
  36838. 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."
  36839. msgstr ""
  36840. #. type: deftypevr
  36841. #: guix-git/doc/guix.texi:24776
  36842. msgid "Defaults to @samp{(subtree)}."
  36843. msgstr ""
  36844. #. type: deftypevr
  36845. #: guix-git/doc/guix.texi:24779
  36846. #, no-wrap
  36847. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  36848. msgstr ""
  36849. #. type: deftypevr
  36850. #: guix-git/doc/guix.texi:24782
  36851. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  36852. msgstr ""
  36853. #. type: deftypevr
  36854. #: guix-git/doc/guix.texi:24787
  36855. #, no-wrap
  36856. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  36857. msgstr ""
  36858. #. type: deftypevr
  36859. #: guix-git/doc/guix.texi:24790
  36860. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  36861. msgstr ""
  36862. #. type: deftypevr
  36863. #: guix-git/doc/guix.texi:24795
  36864. #, no-wrap
  36865. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  36866. msgstr ""
  36867. #. type: deftypevr
  36868. #: guix-git/doc/guix.texi:24800
  36869. 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."
  36870. msgstr ""
  36871. #. type: deftypevr
  36872. #: guix-git/doc/guix.texi:24805
  36873. #, no-wrap
  36874. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  36875. msgstr ""
  36876. #. type: deftypevr
  36877. #: guix-git/doc/guix.texi:24808
  36878. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  36879. msgstr ""
  36880. #. type: deftypevr
  36881. #: guix-git/doc/guix.texi:24813
  36882. #, no-wrap
  36883. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  36884. msgstr ""
  36885. #. type: deftypevr
  36886. #: guix-git/doc/guix.texi:24816
  36887. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  36888. msgstr ""
  36889. #. type: deftypevr
  36890. #: guix-git/doc/guix.texi:24821
  36891. #, no-wrap
  36892. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  36893. msgstr ""
  36894. #. type: deftypevr
  36895. #: guix-git/doc/guix.texi:24825
  36896. 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."
  36897. msgstr ""
  36898. #. type: deftypevr
  36899. #: guix-git/doc/guix.texi:24830
  36900. #, no-wrap
  36901. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  36902. msgstr ""
  36903. #. type: deftypevr
  36904. #: guix-git/doc/guix.texi:24834
  36905. 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."
  36906. msgstr ""
  36907. #. type: deftypevr
  36908. #: guix-git/doc/guix.texi:24839
  36909. #, no-wrap
  36910. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  36911. msgstr ""
  36912. #. type: deftypevr
  36913. #: guix-git/doc/guix.texi:24843
  36914. 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."
  36915. msgstr ""
  36916. #. type: deftypevr
  36917. #: guix-git/doc/guix.texi:24848
  36918. #, no-wrap
  36919. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  36920. msgstr ""
  36921. #. type: deftypevr
  36922. #: guix-git/doc/guix.texi:24852
  36923. 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."
  36924. msgstr ""
  36925. #. type: deftypevr
  36926. #: guix-git/doc/guix.texi:24857
  36927. #, no-wrap
  36928. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  36929. msgstr ""
  36930. #. type: deftypevr
  36931. #: guix-git/doc/guix.texi:24861
  36932. 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."
  36933. msgstr ""
  36934. #. type: deftypevr
  36935. #: guix-git/doc/guix.texi:24866
  36936. #, no-wrap
  36937. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  36938. msgstr ""
  36939. #. type: deftypevr
  36940. #: guix-git/doc/guix.texi:24869
  36941. 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."
  36942. msgstr ""
  36943. #. type: deftypevr
  36944. #: guix-git/doc/guix.texi:24874
  36945. #, no-wrap
  36946. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  36947. msgstr ""
  36948. #. type: deftypevr
  36949. #: guix-git/doc/guix.texi:24877
  36950. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  36951. msgstr ""
  36952. #. type: deftypevr
  36953. #: guix-git/doc/guix.texi:24882
  36954. #, no-wrap
  36955. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  36956. msgstr ""
  36957. #. type: deftypevr
  36958. #: guix-git/doc/guix.texi:24884
  36959. msgid "Specifies the path to the X.509 certificate for peer authentication."
  36960. msgstr ""
  36961. #. type: deftypevr
  36962. #: guix-git/doc/guix.texi:24889
  36963. #, no-wrap
  36964. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  36965. msgstr ""
  36966. #. type: deftypevr
  36967. #: guix-git/doc/guix.texi:24892
  36968. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  36969. msgstr ""
  36970. #. type: deftypevr
  36971. #: guix-git/doc/guix.texi:24897
  36972. #, no-wrap
  36973. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  36974. msgstr ""
  36975. #. type: deftypevr
  36976. #: guix-git/doc/guix.texi:24899
  36977. msgid "Specifies the ciphers to use for TLS as a string."
  36978. msgstr ""
  36979. #. type: deftypevr
  36980. #: guix-git/doc/guix.texi:24904
  36981. #, no-wrap
  36982. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  36983. msgstr ""
  36984. #. type: deftypevr
  36985. #: guix-git/doc/guix.texi:24907
  36986. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  36987. msgstr ""
  36988. #. type: deftypevr
  36989. #: guix-git/doc/guix.texi:24912
  36990. #, no-wrap
  36991. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  36992. msgstr ""
  36993. #. type: deftypevr
  36994. #: guix-git/doc/guix.texi:24915
  36995. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  36996. msgstr ""
  36997. #. type: deftypevr
  36998. #: guix-git/doc/guix.texi:24920
  36999. #, no-wrap
  37000. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  37001. msgstr ""
  37002. #. type: deftypevr
  37003. #: guix-git/doc/guix.texi:24924
  37004. 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."
  37005. msgstr ""
  37006. #. type: deftypevr
  37007. #: guix-git/doc/guix.texi:24929
  37008. #, no-wrap
  37009. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  37010. msgstr ""
  37011. #. type: deftypevr
  37012. #: guix-git/doc/guix.texi:24933
  37013. 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."
  37014. msgstr ""
  37015. #. type: deftypevr
  37016. #: guix-git/doc/guix.texi:24938
  37017. #, no-wrap
  37018. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  37019. msgstr ""
  37020. #. type: deftypevr
  37021. #: guix-git/doc/guix.texi:24941
  37022. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  37023. msgstr ""
  37024. #. type: deftypevr
  37025. #: guix-git/doc/guix.texi:24946
  37026. #, no-wrap
  37027. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  37028. msgstr ""
  37029. #. type: deftypevr
  37030. #: guix-git/doc/guix.texi:24949
  37031. 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."
  37032. msgstr ""
  37033. #. type: deftypevr
  37034. #: guix-git/doc/guix.texi:24954
  37035. #, no-wrap
  37036. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  37037. msgstr ""
  37038. #. type: deftypevr
  37039. #: guix-git/doc/guix.texi:24957
  37040. 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."
  37041. msgstr ""
  37042. #. type: deftypevr
  37043. #: guix-git/doc/guix.texi:24962
  37044. #, no-wrap
  37045. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  37046. msgstr ""
  37047. #. type: deftypevr
  37048. #: guix-git/doc/guix.texi:24968
  37049. 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."
  37050. msgstr ""
  37051. #. type: deftypevr
  37052. #: guix-git/doc/guix.texi:24973
  37053. #, no-wrap
  37054. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  37055. msgstr ""
  37056. #. type: deftypevr
  37057. #: guix-git/doc/guix.texi:24978
  37058. 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."
  37059. msgstr ""
  37060. #. type: deftypevr
  37061. #: guix-git/doc/guix.texi:24983
  37062. #, no-wrap
  37063. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  37064. msgstr ""
  37065. #. type: deftypevr
  37066. #: guix-git/doc/guix.texi:24989
  37067. 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."
  37068. msgstr ""
  37069. #. type: deftypevr
  37070. #: guix-git/doc/guix.texi:24994
  37071. #, no-wrap
  37072. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  37073. msgstr ""
  37074. #. type: deftypevr
  37075. #: guix-git/doc/guix.texi:24998
  37076. 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."
  37077. msgstr ""
  37078. #. type: deftypevr
  37079. #: guix-git/doc/guix.texi:25003
  37080. #, no-wrap
  37081. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  37082. msgstr ""
  37083. #. type: deftypevr
  37084. #: guix-git/doc/guix.texi:25008
  37085. 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."
  37086. msgstr ""
  37087. #. type: deftypevr
  37088. #: guix-git/doc/guix.texi:25013
  37089. #, no-wrap
  37090. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  37091. msgstr ""
  37092. #. type: deftypevr
  37093. #: guix-git/doc/guix.texi:25016
  37094. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  37095. msgstr ""
  37096. #. type: deftypevr
  37097. #: guix-git/doc/guix.texi:25021
  37098. #, no-wrap
  37099. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  37100. msgstr ""
  37101. #. type: deftypevr
  37102. #: guix-git/doc/guix.texi:25027
  37103. 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."
  37104. msgstr ""
  37105. #. type: deftypevr
  37106. #: guix-git/doc/guix.texi:25032
  37107. #, no-wrap
  37108. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  37109. msgstr ""
  37110. #. type: deftypevr
  37111. #: guix-git/doc/guix.texi:25036
  37112. 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."
  37113. msgstr ""
  37114. #. type: deftypevr
  37115. #: guix-git/doc/guix.texi:25041
  37116. #, no-wrap
  37117. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  37118. msgstr ""
  37119. #. type: deftypevr
  37120. #: guix-git/doc/guix.texi:25046
  37121. 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."
  37122. msgstr ""
  37123. #. type: deftypevr
  37124. #: guix-git/doc/guix.texi:25051
  37125. #, no-wrap
  37126. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  37127. msgstr ""
  37128. #. type: deftypevr
  37129. #: guix-git/doc/guix.texi:25053
  37130. msgid "List of pam service names for which LDAP authentication should suffice."
  37131. msgstr ""
  37132. #. type: cindex
  37133. #: guix-git/doc/guix.texi:25064
  37134. #, no-wrap
  37135. msgid "web"
  37136. msgstr ""
  37137. #. type: cindex
  37138. #: guix-git/doc/guix.texi:25065
  37139. #, no-wrap
  37140. msgid "www"
  37141. msgstr ""
  37142. #. type: cindex
  37143. #: guix-git/doc/guix.texi:25066
  37144. #, no-wrap
  37145. msgid "HTTP"
  37146. msgstr ""
  37147. #. type: Plain text
  37148. #: guix-git/doc/guix.texi:25069
  37149. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  37150. msgstr ""
  37151. #. type: subsubheading
  37152. #: guix-git/doc/guix.texi:25070
  37153. #, no-wrap
  37154. msgid "Apache HTTP Server"
  37155. msgstr ""
  37156. #. type: deffn
  37157. #: guix-git/doc/guix.texi:25072
  37158. #, no-wrap
  37159. msgid "{Scheme Variable} httpd-service-type"
  37160. msgstr ""
  37161. #. type: deffn
  37162. #: guix-git/doc/guix.texi:25076
  37163. 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."
  37164. msgstr ""
  37165. #. type: deffn
  37166. #: guix-git/doc/guix.texi:25078 guix-git/doc/guix.texi:25260
  37167. msgid "A simple example configuration is given below."
  37168. msgstr ""
  37169. #. type: lisp
  37170. #: guix-git/doc/guix.texi:25086
  37171. #, no-wrap
  37172. msgid ""
  37173. "(service httpd-service-type\n"
  37174. " (httpd-configuration\n"
  37175. " (config\n"
  37176. " (httpd-config-file\n"
  37177. " (server-name \"www.example.com\")\n"
  37178. " (document-root \"/srv/http/www.example.com\")))))\n"
  37179. msgstr ""
  37180. #. type: deffn
  37181. #: guix-git/doc/guix.texi:25090
  37182. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  37183. msgstr ""
  37184. #. type: lisp
  37185. #: guix-git/doc/guix.texi:25099 guix-git/doc/guix.texi:25239
  37186. #, no-wrap
  37187. msgid ""
  37188. "(simple-service 'www.example.com-server httpd-service-type\n"
  37189. " (list\n"
  37190. " (httpd-virtualhost\n"
  37191. " \"*:80\"\n"
  37192. " (list (string-join '(\"ServerName www.example.com\"\n"
  37193. " \"DocumentRoot /srv/http/www.example.com\")\n"
  37194. " \"\\n\")))))\n"
  37195. msgstr ""
  37196. #. type: Plain text
  37197. #: guix-git/doc/guix.texi:25105
  37198. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  37199. msgstr ""
  37200. #. type: deffn
  37201. #: guix-git/doc/guix.texi:25106
  37202. #, no-wrap
  37203. msgid "{Data Type} httpd-configuration"
  37204. msgstr ""
  37205. #. type: deffn
  37206. #: guix-git/doc/guix.texi:25108
  37207. msgid "This data type represents the configuration for the httpd service."
  37208. msgstr ""
  37209. #. type: item
  37210. #: guix-git/doc/guix.texi:25110
  37211. #, no-wrap
  37212. msgid "@code{package} (default: @code{httpd})"
  37213. msgstr ""
  37214. #. type: table
  37215. #: guix-git/doc/guix.texi:25112
  37216. msgid "The httpd package to use."
  37217. msgstr ""
  37218. #. type: item
  37219. #: guix-git/doc/guix.texi:25113 guix-git/doc/guix.texi:25202
  37220. #, no-wrap
  37221. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  37222. msgstr ""
  37223. #. type: table
  37224. #: guix-git/doc/guix.texi:25115
  37225. msgid "The pid file used by the shepherd-service."
  37226. msgstr ""
  37227. #. type: item
  37228. #: guix-git/doc/guix.texi:25116
  37229. #, no-wrap
  37230. msgid "@code{config} (default: @code{(httpd-config-file)})"
  37231. msgstr ""
  37232. #. type: table
  37233. #: guix-git/doc/guix.texi:25121
  37234. 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."
  37235. msgstr ""
  37236. #. type: deffn
  37237. #: guix-git/doc/guix.texi:25125
  37238. #, no-wrap
  37239. msgid "{Data Type} httpd-module"
  37240. msgstr ""
  37241. #. type: deffn
  37242. #: guix-git/doc/guix.texi:25127
  37243. msgid "This data type represents a module for the httpd service."
  37244. msgstr ""
  37245. #. type: table
  37246. #: guix-git/doc/guix.texi:25131
  37247. msgid "The name of the module."
  37248. msgstr ""
  37249. #. type: table
  37250. #: guix-git/doc/guix.texi:25137
  37251. 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\")}."
  37252. msgstr ""
  37253. #. type: defvr
  37254. #: guix-git/doc/guix.texi:25141
  37255. #, no-wrap
  37256. msgid "{Scheme Variable} %default-httpd-modules"
  37257. msgstr ""
  37258. #. type: defvr
  37259. #: guix-git/doc/guix.texi:25143
  37260. msgid "A default list of @code{httpd-module} objects."
  37261. msgstr ""
  37262. #. type: deffn
  37263. #: guix-git/doc/guix.texi:25145
  37264. #, no-wrap
  37265. msgid "{Data Type} httpd-config-file"
  37266. msgstr ""
  37267. #. type: deffn
  37268. #: guix-git/doc/guix.texi:25147
  37269. msgid "This data type represents a configuration file for the httpd service."
  37270. msgstr ""
  37271. #. type: item
  37272. #: guix-git/doc/guix.texi:25149
  37273. #, no-wrap
  37274. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  37275. msgstr ""
  37276. #. type: table
  37277. #: guix-git/doc/guix.texi:25152
  37278. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  37279. msgstr ""
  37280. #. type: table
  37281. #: guix-git/doc/guix.texi:25155
  37282. 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}:"
  37283. msgstr ""
  37284. #. type: lisp
  37285. #: guix-git/doc/guix.texi:25177
  37286. #, no-wrap
  37287. msgid ""
  37288. "(service httpd-service-type\n"
  37289. " (httpd-configuration\n"
  37290. " (config\n"
  37291. " (httpd-config-file\n"
  37292. " (modules (cons*\n"
  37293. " (httpd-module\n"
  37294. " (name \"proxy_module\")\n"
  37295. " (file \"modules/mod_proxy.so\"))\n"
  37296. " (httpd-module\n"
  37297. " (name \"proxy_fcgi_module\")\n"
  37298. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  37299. " %default-httpd-modules))\n"
  37300. " (extra-config (list \"\\\n"
  37301. "<FilesMatch \\\\.php$>\n"
  37302. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  37303. "</FilesMatch>\"))))))\n"
  37304. "(service php-fpm-service-type\n"
  37305. " (php-fpm-configuration\n"
  37306. " (socket \"/var/run/php-fpm.sock\")\n"
  37307. " (socket-group \"httpd\")))\n"
  37308. msgstr ""
  37309. #. type: item
  37310. #: guix-git/doc/guix.texi:25179
  37311. #, no-wrap
  37312. msgid "@code{server-root} (default: @code{httpd})"
  37313. msgstr ""
  37314. #. type: table
  37315. #: guix-git/doc/guix.texi:25183
  37316. 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."
  37317. msgstr ""
  37318. #. type: item
  37319. #: guix-git/doc/guix.texi:25184
  37320. #, no-wrap
  37321. msgid "@code{server-name} (default: @code{#f})"
  37322. msgstr ""
  37323. #. type: table
  37324. #: guix-git/doc/guix.texi:25188
  37325. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  37326. msgstr ""
  37327. #. type: table
  37328. #: guix-git/doc/guix.texi:25192
  37329. 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}."
  37330. msgstr ""
  37331. #. type: item
  37332. #: guix-git/doc/guix.texi:25193
  37333. #, no-wrap
  37334. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  37335. msgstr ""
  37336. #. type: table
  37337. #: guix-git/doc/guix.texi:25195
  37338. msgid "The @code{DocumentRoot} from which files will be served."
  37339. msgstr ""
  37340. #. type: item
  37341. #: guix-git/doc/guix.texi:25196
  37342. #, no-wrap
  37343. msgid "@code{listen} (default: @code{'(\"80\")})"
  37344. msgstr ""
  37345. #. type: table
  37346. #: guix-git/doc/guix.texi:25201
  37347. 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."
  37348. msgstr ""
  37349. #. type: table
  37350. #: guix-git/doc/guix.texi:25206
  37351. 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."
  37352. msgstr ""
  37353. #. type: item
  37354. #: guix-git/doc/guix.texi:25207
  37355. #, no-wrap
  37356. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  37357. msgstr ""
  37358. #. type: table
  37359. #: guix-git/doc/guix.texi:25209
  37360. msgid "The @code{ErrorLog} to which the server will log errors."
  37361. msgstr ""
  37362. #. type: item
  37363. #: guix-git/doc/guix.texi:25210 guix-git/doc/guix.texi:25772
  37364. #, no-wrap
  37365. msgid "@code{user} (default: @code{\"httpd\"})"
  37366. msgstr ""
  37367. #. type: table
  37368. #: guix-git/doc/guix.texi:25212
  37369. msgid "The @code{User} which the server will answer requests as."
  37370. msgstr ""
  37371. #. type: item
  37372. #: guix-git/doc/guix.texi:25213
  37373. #, no-wrap
  37374. msgid "@code{group} (default: @code{\"httpd\"})"
  37375. msgstr ""
  37376. #. type: table
  37377. #: guix-git/doc/guix.texi:25215
  37378. msgid "The @code{Group} which the server will answer requests as."
  37379. msgstr ""
  37380. #. type: item
  37381. #: guix-git/doc/guix.texi:25216
  37382. #, no-wrap
  37383. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  37384. msgstr ""
  37385. #. type: table
  37386. #: guix-git/doc/guix.texi:25219
  37387. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  37388. msgstr ""
  37389. #. type: table
  37390. #: guix-git/doc/guix.texi:25222
  37391. msgid "Any values which the service is extended with will be appended to this list."
  37392. msgstr ""
  37393. #. type: deffn
  37394. #: guix-git/doc/guix.texi:25226
  37395. #, no-wrap
  37396. msgid "{Data Type} httpd-virtualhost"
  37397. msgstr ""
  37398. #. type: deffn
  37399. #: guix-git/doc/guix.texi:25228
  37400. msgid "This data type represents a virtualhost configuration block for the httpd service."
  37401. msgstr ""
  37402. #. type: deffn
  37403. #: guix-git/doc/guix.texi:25230
  37404. msgid "These should be added to the extra-config for the httpd-service."
  37405. msgstr ""
  37406. #. type: code{#1}
  37407. #: guix-git/doc/guix.texi:25242
  37408. #, no-wrap
  37409. msgid "addresses-and-ports"
  37410. msgstr ""
  37411. #. type: table
  37412. #: guix-git/doc/guix.texi:25244
  37413. msgid "The addresses and ports for the @code{VirtualHost} directive."
  37414. msgstr ""
  37415. #. type: code{#1}
  37416. #: guix-git/doc/guix.texi:25245
  37417. #, no-wrap
  37418. msgid "contents"
  37419. msgstr ""
  37420. #. type: table
  37421. #: guix-git/doc/guix.texi:25248
  37422. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  37423. msgstr ""
  37424. #. type: subsubheading
  37425. #: guix-git/doc/guix.texi:25253
  37426. #, no-wrap
  37427. msgid "NGINX"
  37428. msgstr ""
  37429. #. type: deffn
  37430. #: guix-git/doc/guix.texi:25255
  37431. #, no-wrap
  37432. msgid "{Scheme Variable} nginx-service-type"
  37433. msgstr ""
  37434. #. type: deffn
  37435. #: guix-git/doc/guix.texi:25258
  37436. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  37437. msgstr ""
  37438. #. type: lisp
  37439. #: guix-git/doc/guix.texi:25268 guix-git/doc/guix.texi:25322
  37440. #, no-wrap
  37441. msgid ""
  37442. "(service nginx-service-type\n"
  37443. " (nginx-configuration\n"
  37444. " (server-blocks\n"
  37445. " (list (nginx-server-configuration\n"
  37446. " (server-name '(\"www.example.com\"))\n"
  37447. " (root \"/srv/http/www.example.com\"))))))\n"
  37448. msgstr ""
  37449. #. type: deffn
  37450. #: guix-git/doc/guix.texi:25273
  37451. 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:"
  37452. msgstr ""
  37453. #. type: lisp
  37454. #: guix-git/doc/guix.texi:25279
  37455. #, no-wrap
  37456. msgid ""
  37457. "(simple-service 'my-extra-server nginx-service-type\n"
  37458. " (list (nginx-server-configuration\n"
  37459. " (root \"/srv/http/extra-website\")\n"
  37460. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  37461. msgstr ""
  37462. #. type: Plain text
  37463. #: guix-git/doc/guix.texi:25290
  37464. 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."
  37465. msgstr ""
  37466. #. type: deffn
  37467. #: guix-git/doc/guix.texi:25291
  37468. #, no-wrap
  37469. msgid "{Data Type} nginx-configuration"
  37470. msgstr ""
  37471. #. type: deffn
  37472. #: guix-git/doc/guix.texi:25295
  37473. 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."
  37474. msgstr ""
  37475. #. type: item
  37476. #: guix-git/doc/guix.texi:25297
  37477. #, no-wrap
  37478. msgid "@code{nginx} (default: @code{nginx})"
  37479. msgstr ""
  37480. #. type: table
  37481. #: guix-git/doc/guix.texi:25299
  37482. msgid "The nginx package to use."
  37483. msgstr ""
  37484. #. type: item
  37485. #: guix-git/doc/guix.texi:25300
  37486. #, no-wrap
  37487. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  37488. msgstr ""
  37489. #. type: table
  37490. #: guix-git/doc/guix.texi:25302
  37491. msgid "The directory to which NGinx will write log files."
  37492. msgstr ""
  37493. #. type: item
  37494. #: guix-git/doc/guix.texi:25303
  37495. #, no-wrap
  37496. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  37497. msgstr ""
  37498. #. type: table
  37499. #: guix-git/doc/guix.texi:25306
  37500. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  37501. msgstr ""
  37502. #. type: item
  37503. #: guix-git/doc/guix.texi:25307
  37504. #, no-wrap
  37505. msgid "@code{server-blocks} (default: @code{'()})"
  37506. msgstr ""
  37507. #. type: table
  37508. #: guix-git/doc/guix.texi:25311
  37509. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  37510. msgstr ""
  37511. #. type: table
  37512. #: guix-git/doc/guix.texi:25315
  37513. 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."
  37514. msgstr ""
  37515. #. type: item
  37516. #: guix-git/doc/guix.texi:25324
  37517. #, no-wrap
  37518. msgid "@code{upstream-blocks} (default: @code{'()})"
  37519. msgstr ""
  37520. #. type: table
  37521. #: guix-git/doc/guix.texi:25328
  37522. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  37523. msgstr ""
  37524. #. type: table
  37525. #: guix-git/doc/guix.texi:25335
  37526. 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."
  37527. msgstr ""
  37528. #. type: lisp
  37529. #: guix-git/doc/guix.texi:25354
  37530. #, no-wrap
  37531. msgid ""
  37532. "(service\n"
  37533. " nginx-service-type\n"
  37534. " (nginx-configuration\n"
  37535. " (server-blocks\n"
  37536. " (list (nginx-server-configuration\n"
  37537. " (server-name '(\"www.example.com\"))\n"
  37538. " (root \"/srv/http/www.example.com\")\n"
  37539. " (locations\n"
  37540. " (list\n"
  37541. " (nginx-location-configuration\n"
  37542. " (uri \"/path1\")\n"
  37543. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  37544. " (upstream-blocks\n"
  37545. " (list (nginx-upstream-configuration\n"
  37546. " (name \"server-proxy\")\n"
  37547. " (servers (list \"server1.example.com\"\n"
  37548. " \"server2.example.com\")))))))\n"
  37549. msgstr ""
  37550. #. type: table
  37551. #: guix-git/doc/guix.texi:25362
  37552. 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."
  37553. msgstr ""
  37554. #. type: table
  37555. #: guix-git/doc/guix.texi:25366
  37556. 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."
  37557. msgstr ""
  37558. #. type: item
  37559. #: guix-git/doc/guix.texi:25367
  37560. #, no-wrap
  37561. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  37562. msgstr ""
  37563. #. type: table
  37564. #: guix-git/doc/guix.texi:25370
  37565. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  37566. msgstr ""
  37567. #. type: item
  37568. #: guix-git/doc/guix.texi:25371
  37569. #, no-wrap
  37570. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  37571. msgstr ""
  37572. #. type: table
  37573. #: guix-git/doc/guix.texi:25373
  37574. msgid "Maximum bucket size for the server names hash tables."
  37575. msgstr ""
  37576. #. type: table
  37577. #: guix-git/doc/guix.texi:25377
  37578. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  37579. msgstr ""
  37580. #. type: lisp
  37581. #: guix-git/doc/guix.texi:25385
  37582. #, no-wrap
  37583. msgid ""
  37584. "(modules\n"
  37585. " (list\n"
  37586. " (file-append nginx-accept-language-module \"\\\n"
  37587. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  37588. " (file-append nginx-lua-module \"\\\n"
  37589. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  37590. msgstr ""
  37591. #. type: item
  37592. #: guix-git/doc/guix.texi:25387
  37593. #, no-wrap
  37594. msgid "@code{lua-package-path} (default: @code{'()})"
  37595. msgstr ""
  37596. #. type: table
  37597. #: guix-git/doc/guix.texi:25390
  37598. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  37599. msgstr ""
  37600. #. type: lisp
  37601. #: guix-git/doc/guix.texi:25397
  37602. #, no-wrap
  37603. msgid ""
  37604. "(lua-package-path (list lua-resty-core\n"
  37605. " lua-resty-lrucache\n"
  37606. " lua-resty-signal\n"
  37607. " lua-tablepool\n"
  37608. " lua-resty-shell))\n"
  37609. msgstr ""
  37610. #. type: item
  37611. #: guix-git/doc/guix.texi:25399
  37612. #, no-wrap
  37613. msgid "@code{lua-package-cpath} (default: @code{'()})"
  37614. msgstr ""
  37615. #. type: table
  37616. #: guix-git/doc/guix.texi:25402
  37617. 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:"
  37618. msgstr ""
  37619. #. type: lisp
  37620. #: guix-git/doc/guix.texi:25405
  37621. #, no-wrap
  37622. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  37623. msgstr ""
  37624. #. type: item
  37625. #: guix-git/doc/guix.texi:25407
  37626. #, no-wrap
  37627. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  37628. msgstr ""
  37629. #. type: table
  37630. #: guix-git/doc/guix.texi:25410
  37631. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  37632. msgstr ""
  37633. #. type: lisp
  37634. #: guix-git/doc/guix.texi:25416
  37635. #, no-wrap
  37636. msgid ""
  37637. "(global-directives\n"
  37638. " `((worker_processes . 16)\n"
  37639. " (pcre_jit . on)\n"
  37640. " (events . ((worker_connections . 1024)))))\n"
  37641. msgstr ""
  37642. #. type: table
  37643. #: guix-git/doc/guix.texi:25421
  37644. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  37645. msgstr ""
  37646. #. type: deftp
  37647. #: guix-git/doc/guix.texi:25425
  37648. #, no-wrap
  37649. msgid "{Data Type} nginx-server-configuration"
  37650. msgstr ""
  37651. #. type: deftp
  37652. #: guix-git/doc/guix.texi:25428
  37653. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  37654. msgstr ""
  37655. #. type: item
  37656. #: guix-git/doc/guix.texi:25430
  37657. #, no-wrap
  37658. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  37659. msgstr ""
  37660. #. type: table
  37661. #: guix-git/doc/guix.texi:25435
  37662. 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:"
  37663. msgstr ""
  37664. #. type: lisp
  37665. #: guix-git/doc/guix.texi:25438
  37666. #, no-wrap
  37667. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  37668. msgstr ""
  37669. #. type: item
  37670. #: guix-git/doc/guix.texi:25440
  37671. #, no-wrap
  37672. msgid "@code{server-name} (default: @code{(list 'default)})"
  37673. msgstr ""
  37674. #. type: table
  37675. #: guix-git/doc/guix.texi:25443
  37676. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  37677. msgstr ""
  37678. #. type: item
  37679. #: guix-git/doc/guix.texi:25444
  37680. #, no-wrap
  37681. msgid "@code{root} (default: @code{\"/srv/http\"})"
  37682. msgstr ""
  37683. #. type: table
  37684. #: guix-git/doc/guix.texi:25446
  37685. msgid "Root of the website nginx will serve."
  37686. msgstr ""
  37687. #. type: item
  37688. #: guix-git/doc/guix.texi:25447
  37689. #, no-wrap
  37690. msgid "@code{locations} (default: @code{'()})"
  37691. msgstr ""
  37692. #. type: table
  37693. #: guix-git/doc/guix.texi:25451
  37694. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  37695. msgstr ""
  37696. #. type: item
  37697. #: guix-git/doc/guix.texi:25452
  37698. #, no-wrap
  37699. msgid "@code{index} (default: @code{(list \"index.html\")})"
  37700. msgstr ""
  37701. #. type: table
  37702. #: guix-git/doc/guix.texi:25455
  37703. 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."
  37704. msgstr ""
  37705. #. type: item
  37706. #: guix-git/doc/guix.texi:25456
  37707. #, no-wrap
  37708. msgid "@code{try-files} (default: @code{'()})"
  37709. msgstr ""
  37710. #. type: table
  37711. #: guix-git/doc/guix.texi:25459
  37712. 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."
  37713. msgstr ""
  37714. #. type: item
  37715. #: guix-git/doc/guix.texi:25460
  37716. #, no-wrap
  37717. msgid "@code{ssl-certificate} (default: @code{#f})"
  37718. msgstr ""
  37719. #. type: table
  37720. #: guix-git/doc/guix.texi:25463
  37721. 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."
  37722. msgstr ""
  37723. #. type: item
  37724. #: guix-git/doc/guix.texi:25464
  37725. #, no-wrap
  37726. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  37727. msgstr ""
  37728. #. type: table
  37729. #: guix-git/doc/guix.texi:25467
  37730. 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."
  37731. msgstr ""
  37732. #. type: item
  37733. #: guix-git/doc/guix.texi:25468
  37734. #, no-wrap
  37735. msgid "@code{server-tokens?} (default: @code{#f})"
  37736. msgstr ""
  37737. #. type: table
  37738. #: guix-git/doc/guix.texi:25470
  37739. msgid "Whether the server should add its configuration to response."
  37740. msgstr ""
  37741. #. type: item
  37742. #: guix-git/doc/guix.texi:25471
  37743. #, no-wrap
  37744. msgid "@code{raw-content} (default: @code{'()})"
  37745. msgstr ""
  37746. #. type: table
  37747. #: guix-git/doc/guix.texi:25473
  37748. msgid "A list of raw lines added to the server block."
  37749. msgstr ""
  37750. #. type: deftp
  37751. #: guix-git/doc/guix.texi:25477
  37752. #, no-wrap
  37753. msgid "{Data Type} nginx-upstream-configuration"
  37754. msgstr ""
  37755. #. type: deftp
  37756. #: guix-git/doc/guix.texi:25480
  37757. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  37758. msgstr ""
  37759. #. type: table
  37760. #: guix-git/doc/guix.texi:25484
  37761. msgid "Name for this group of servers."
  37762. msgstr ""
  37763. #. type: code{#1}
  37764. #: guix-git/doc/guix.texi:25485
  37765. #, no-wrap
  37766. msgid "servers"
  37767. msgstr ""
  37768. #. type: table
  37769. #: guix-git/doc/guix.texi:25492
  37770. 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."
  37771. msgstr ""
  37772. #. type: deftp
  37773. #: guix-git/doc/guix.texi:25496
  37774. #, no-wrap
  37775. msgid "{Data Type} nginx-location-configuration"
  37776. msgstr ""
  37777. #. type: deftp
  37778. #: guix-git/doc/guix.texi:25499
  37779. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  37780. msgstr ""
  37781. #. type: table
  37782. #: guix-git/doc/guix.texi:25503
  37783. msgid "URI which this location block matches."
  37784. msgstr ""
  37785. #. type: anchor{#1}
  37786. #: guix-git/doc/guix.texi:25505
  37787. msgid "nginx-location-configuration body"
  37788. msgstr ""
  37789. #. type: code{#1}
  37790. #: guix-git/doc/guix.texi:25505 guix-git/doc/guix.texi:25526
  37791. #, no-wrap
  37792. msgid "body"
  37793. msgstr ""
  37794. #. type: table
  37795. #: guix-git/doc/guix.texi:25512
  37796. 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;\")}."
  37797. msgstr ""
  37798. #. type: deftp
  37799. #: guix-git/doc/guix.texi:25516
  37800. #, no-wrap
  37801. msgid "{Data Type} nginx-named-location-configuration"
  37802. msgstr ""
  37803. #. type: deftp
  37804. #: guix-git/doc/guix.texi:25521
  37805. 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:"
  37806. msgstr ""
  37807. #. type: table
  37808. #: guix-git/doc/guix.texi:25525
  37809. msgid "Name to identify this location block."
  37810. msgstr ""
  37811. #. type: table
  37812. #: guix-git/doc/guix.texi:25531
  37813. 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."
  37814. msgstr ""
  37815. #. type: subsubheading
  37816. #: guix-git/doc/guix.texi:25535
  37817. #, no-wrap
  37818. msgid "Varnish Cache"
  37819. msgstr ""
  37820. #. type: cindex
  37821. #: guix-git/doc/guix.texi:25536
  37822. #, no-wrap
  37823. msgid "Varnish"
  37824. msgstr ""
  37825. #. type: Plain text
  37826. #: guix-git/doc/guix.texi:25541
  37827. 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."
  37828. msgstr ""
  37829. #. type: defvr
  37830. #: guix-git/doc/guix.texi:25542
  37831. #, no-wrap
  37832. msgid "{Scheme Variable} varnish-service-type"
  37833. msgstr ""
  37834. #. type: defvr
  37835. #: guix-git/doc/guix.texi:25544
  37836. msgid "Service type for the Varnish daemon."
  37837. msgstr ""
  37838. #. type: deftp
  37839. #: guix-git/doc/guix.texi:25546
  37840. #, no-wrap
  37841. msgid "{Data Type} varnish-configuration"
  37842. msgstr ""
  37843. #. type: deftp
  37844. #: guix-git/doc/guix.texi:25549
  37845. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  37846. msgstr ""
  37847. #. type: item
  37848. #: guix-git/doc/guix.texi:25551
  37849. #, no-wrap
  37850. msgid "@code{package} (default: @code{varnish})"
  37851. msgstr ""
  37852. #. type: table
  37853. #: guix-git/doc/guix.texi:25553
  37854. msgid "The Varnish package to use."
  37855. msgstr ""
  37856. #. type: item
  37857. #: guix-git/doc/guix.texi:25554
  37858. #, no-wrap
  37859. msgid "@code{name} (default: @code{\"default\"})"
  37860. msgstr ""
  37861. #. type: table
  37862. #: guix-git/doc/guix.texi:25559
  37863. 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."
  37864. msgstr ""
  37865. #. type: table
  37866. #: guix-git/doc/guix.texi:25562
  37867. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  37868. msgstr ""
  37869. #. type: item
  37870. #: guix-git/doc/guix.texi:25563
  37871. #, no-wrap
  37872. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  37873. msgstr ""
  37874. #. type: table
  37875. #: guix-git/doc/guix.texi:25565
  37876. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  37877. msgstr ""
  37878. #. type: item
  37879. #: guix-git/doc/guix.texi:25566
  37880. #, no-wrap
  37881. msgid "@code{vcl} (default: #f)"
  37882. msgstr ""
  37883. #. type: table
  37884. #: guix-git/doc/guix.texi:25571
  37885. 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."
  37886. msgstr ""
  37887. #. type: table
  37888. #: guix-git/doc/guix.texi:25575
  37889. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  37890. msgstr ""
  37891. #. type: lisp
  37892. #: guix-git/doc/guix.texi:25581
  37893. #, no-wrap
  37894. msgid ""
  37895. "(define %gnu-mirror\n"
  37896. " (plain-file \"gnu.vcl\"\n"
  37897. " \"vcl 4.1;\n"
  37898. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  37899. "\n"
  37900. msgstr ""
  37901. #. type: lisp
  37902. #: guix-git/doc/guix.texi:25589
  37903. #, no-wrap
  37904. msgid ""
  37905. "(operating-system\n"
  37906. " ;; @dots{}\n"
  37907. " (services (cons (service varnish-service-type\n"
  37908. " (varnish-configuration\n"
  37909. " (listen '(\":80\"))\n"
  37910. " (vcl %gnu-mirror)))\n"
  37911. " %base-services)))\n"
  37912. msgstr ""
  37913. #. type: table
  37914. #: guix-git/doc/guix.texi:25593
  37915. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  37916. msgstr ""
  37917. #. type: table
  37918. #: guix-git/doc/guix.texi:25597
  37919. 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."
  37920. msgstr ""
  37921. #. type: item
  37922. #: guix-git/doc/guix.texi:25598
  37923. #, no-wrap
  37924. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  37925. msgstr ""
  37926. #. type: table
  37927. #: guix-git/doc/guix.texi:25600
  37928. msgid "List of addresses Varnish will listen on."
  37929. msgstr ""
  37930. #. type: item
  37931. #: guix-git/doc/guix.texi:25601
  37932. #, no-wrap
  37933. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  37934. msgstr ""
  37935. #. type: table
  37936. #: guix-git/doc/guix.texi:25603
  37937. msgid "List of storage backends that will be available in VCL."
  37938. msgstr ""
  37939. #. type: item
  37940. #: guix-git/doc/guix.texi:25604
  37941. #, no-wrap
  37942. msgid "@code{parameters} (default: @code{'()})"
  37943. msgstr ""
  37944. #. type: table
  37945. #: guix-git/doc/guix.texi:25606
  37946. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  37947. msgstr ""
  37948. #. type: table
  37949. #: guix-git/doc/guix.texi:25609
  37950. msgid "Additional arguments to pass to the @command{varnishd} process."
  37951. msgstr ""
  37952. #. type: cindex
  37953. #: guix-git/doc/guix.texi:25613 guix-git/doc/guix.texi:25614
  37954. #, no-wrap
  37955. msgid "Patchwork"
  37956. msgstr ""
  37957. #. type: Plain text
  37958. #: guix-git/doc/guix.texi:25617
  37959. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  37960. msgstr ""
  37961. #. type: defvr
  37962. #: guix-git/doc/guix.texi:25618
  37963. #, no-wrap
  37964. msgid "{Scheme Variable} patchwork-service-type"
  37965. msgstr ""
  37966. #. type: defvr
  37967. #: guix-git/doc/guix.texi:25620
  37968. msgid "Service type for Patchwork."
  37969. msgstr ""
  37970. #. type: Plain text
  37971. #: guix-git/doc/guix.texi:25624
  37972. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  37973. msgstr ""
  37974. #. type: lisp
  37975. #: guix-git/doc/guix.texi:25644
  37976. #, no-wrap
  37977. msgid ""
  37978. "(service patchwork-service-type\n"
  37979. " (patchwork-configuration\n"
  37980. " (domain \"patchwork.example.com\")\n"
  37981. " (settings-module\n"
  37982. " (patchwork-settings-module\n"
  37983. " (allowed-hosts (list domain))\n"
  37984. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  37985. " (getmail-retriever-config\n"
  37986. " (getmail-retriever-configuration\n"
  37987. " (type \"SimpleIMAPSSLRetriever\")\n"
  37988. " (server \"imap.example.com\")\n"
  37989. " (port 993)\n"
  37990. " (username \"patchwork\")\n"
  37991. " (password-command\n"
  37992. " (list (file-append coreutils \"/bin/cat\")\n"
  37993. " \"/etc/getmail-patchwork-imap-password\"))\n"
  37994. " (extra-parameters\n"
  37995. " '((mailboxes . (\"Patches\"))))))))\n"
  37996. "\n"
  37997. msgstr ""
  37998. #. type: Plain text
  37999. #: guix-git/doc/guix.texi:25650
  38000. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  38001. msgstr ""
  38002. #. type: Plain text
  38003. #: guix-git/doc/guix.texi:25654
  38004. 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."
  38005. msgstr ""
  38006. #. type: Plain text
  38007. #: guix-git/doc/guix.texi:25658
  38008. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  38009. msgstr ""
  38010. #. type: deftp
  38011. #: guix-git/doc/guix.texi:25659
  38012. #, no-wrap
  38013. msgid "{Data Type} patchwork-configuration"
  38014. msgstr ""
  38015. #. type: deftp
  38016. #: guix-git/doc/guix.texi:25662
  38017. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  38018. msgstr ""
  38019. #. type: item
  38020. #: guix-git/doc/guix.texi:25664
  38021. #, no-wrap
  38022. msgid "@code{patchwork} (default: @code{patchwork})"
  38023. msgstr ""
  38024. #. type: table
  38025. #: guix-git/doc/guix.texi:25666
  38026. msgid "The Patchwork package to use."
  38027. msgstr ""
  38028. #. type: code{#1}
  38029. #: guix-git/doc/guix.texi:25667
  38030. #, no-wrap
  38031. msgid "domain"
  38032. msgstr ""
  38033. #. type: table
  38034. #: guix-git/doc/guix.texi:25670
  38035. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  38036. msgstr ""
  38037. #. type: code{#1}
  38038. #: guix-git/doc/guix.texi:25671
  38039. #, no-wrap
  38040. msgid "settings-module"
  38041. msgstr ""
  38042. #. type: table
  38043. #: guix-git/doc/guix.texi:25677
  38044. 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."
  38045. msgstr ""
  38046. #. type: item
  38047. #: guix-git/doc/guix.texi:25678
  38048. #, no-wrap
  38049. msgid "@code{static-path} (default: @code{\"/static/\"})"
  38050. msgstr ""
  38051. #. type: table
  38052. #: guix-git/doc/guix.texi:25680
  38053. msgid "The path under which the HTTPD service should serve the static files."
  38054. msgstr ""
  38055. #. type: code{#1}
  38056. #: guix-git/doc/guix.texi:25681
  38057. #, no-wrap
  38058. msgid "getmail-retriever-config"
  38059. msgstr ""
  38060. #. type: table
  38061. #: guix-git/doc/guix.texi:25685
  38062. 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."
  38063. msgstr ""
  38064. #. type: deftp
  38065. #: guix-git/doc/guix.texi:25689
  38066. #, no-wrap
  38067. msgid "{Data Type} patchwork-settings-module"
  38068. msgstr ""
  38069. #. type: deftp
  38070. #: guix-git/doc/guix.texi:25694
  38071. 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:"
  38072. msgstr ""
  38073. #. type: item
  38074. #: guix-git/doc/guix.texi:25696
  38075. #, no-wrap
  38076. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  38077. msgstr ""
  38078. #. type: table
  38079. #: guix-git/doc/guix.texi:25699
  38080. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  38081. msgstr ""
  38082. #. type: item
  38083. #: guix-git/doc/guix.texi:25700
  38084. #, no-wrap
  38085. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  38086. msgstr ""
  38087. #. type: table
  38088. #: guix-git/doc/guix.texi:25703
  38089. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  38090. msgstr ""
  38091. #. type: table
  38092. #: guix-git/doc/guix.texi:25706
  38093. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  38094. msgstr ""
  38095. #. type: table
  38096. #: guix-git/doc/guix.texi:25708
  38097. msgid "This setting relates to Django."
  38098. msgstr ""
  38099. #. type: code{#1}
  38100. #: guix-git/doc/guix.texi:25709
  38101. #, no-wrap
  38102. msgid "allowed-hosts"
  38103. msgstr ""
  38104. #. type: table
  38105. #: guix-git/doc/guix.texi:25712
  38106. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  38107. msgstr ""
  38108. #. type: table
  38109. #: guix-git/doc/guix.texi:25714 guix-git/doc/guix.texi:25728
  38110. #: guix-git/doc/guix.texi:25734 guix-git/doc/guix.texi:25740
  38111. msgid "This is a Django setting."
  38112. msgstr ""
  38113. #. type: code{#1}
  38114. #: guix-git/doc/guix.texi:25715
  38115. #, no-wrap
  38116. msgid "default-from-email"
  38117. msgstr ""
  38118. #. type: table
  38119. #: guix-git/doc/guix.texi:25717
  38120. msgid "The email address from which Patchwork should send email by default."
  38121. msgstr ""
  38122. #. type: table
  38123. #: guix-git/doc/guix.texi:25719 guix-git/doc/guix.texi:25745
  38124. #: guix-git/doc/guix.texi:25750 guix-git/doc/guix.texi:25755
  38125. msgid "This is a Patchwork setting."
  38126. msgstr ""
  38127. #. type: item
  38128. #: guix-git/doc/guix.texi:25720
  38129. #, no-wrap
  38130. msgid "@code{static-url} (default: @code{#f})"
  38131. msgstr ""
  38132. #. type: table
  38133. #: guix-git/doc/guix.texi:25723
  38134. 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{/}."
  38135. msgstr ""
  38136. #. type: table
  38137. #: guix-git/doc/guix.texi:25726
  38138. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  38139. msgstr ""
  38140. #. type: item
  38141. #: guix-git/doc/guix.texi:25729
  38142. #, no-wrap
  38143. msgid "@code{admins} (default: @code{'()})"
  38144. msgstr ""
  38145. #. type: table
  38146. #: guix-git/doc/guix.texi:25732
  38147. 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."
  38148. msgstr ""
  38149. #. type: table
  38150. #: guix-git/doc/guix.texi:25738
  38151. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  38152. msgstr ""
  38153. #. type: item
  38154. #: guix-git/doc/guix.texi:25741
  38155. #, no-wrap
  38156. msgid "@code{enable-rest-api?} (default: @code{#t})"
  38157. msgstr ""
  38158. #. type: table
  38159. #: guix-git/doc/guix.texi:25743
  38160. msgid "Whether to enable the Patchwork REST API."
  38161. msgstr ""
  38162. #. type: item
  38163. #: guix-git/doc/guix.texi:25746
  38164. #, no-wrap
  38165. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  38166. msgstr ""
  38167. #. type: table
  38168. #: guix-git/doc/guix.texi:25748
  38169. msgid "Whether to enable the XML RPC API."
  38170. msgstr ""
  38171. #. type: item
  38172. #: guix-git/doc/guix.texi:25751
  38173. #, no-wrap
  38174. msgid "@code{force-https-links?} (default: @code{#t})"
  38175. msgstr ""
  38176. #. type: table
  38177. #: guix-git/doc/guix.texi:25753
  38178. msgid "Whether to use HTTPS links on Patchwork pages."
  38179. msgstr ""
  38180. #. type: table
  38181. #: guix-git/doc/guix.texi:25758
  38182. msgid "Extra code to place at the end of the Patchwork settings module."
  38183. msgstr ""
  38184. #. type: deftp
  38185. #: guix-git/doc/guix.texi:25762
  38186. #, no-wrap
  38187. msgid "{Data Type} patchwork-database-configuration"
  38188. msgstr ""
  38189. #. type: deftp
  38190. #: guix-git/doc/guix.texi:25764
  38191. msgid "Data type representing the database configuration for Patchwork."
  38192. msgstr ""
  38193. #. type: item
  38194. #: guix-git/doc/guix.texi:25766
  38195. #, no-wrap
  38196. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  38197. msgstr ""
  38198. #. type: table
  38199. #: guix-git/doc/guix.texi:25768
  38200. msgid "The database engine to use."
  38201. msgstr ""
  38202. #. type: item
  38203. #: guix-git/doc/guix.texi:25769
  38204. #, no-wrap
  38205. msgid "@code{name} (default: @code{\"patchwork\"})"
  38206. msgstr ""
  38207. #. type: table
  38208. #: guix-git/doc/guix.texi:25771
  38209. msgid "The name of the database to use."
  38210. msgstr ""
  38211. #. type: table
  38212. #: guix-git/doc/guix.texi:25774
  38213. msgid "The user to connect to the database as."
  38214. msgstr ""
  38215. #. type: item
  38216. #: guix-git/doc/guix.texi:25775
  38217. #, no-wrap
  38218. msgid "@code{password} (default: @code{\"\"})"
  38219. msgstr ""
  38220. #. type: table
  38221. #: guix-git/doc/guix.texi:25777
  38222. msgid "The password to use when connecting to the database."
  38223. msgstr ""
  38224. #. type: item
  38225. #: guix-git/doc/guix.texi:25778
  38226. #, no-wrap
  38227. msgid "@code{host} (default: @code{\"\"})"
  38228. msgstr ""
  38229. #. type: table
  38230. #: guix-git/doc/guix.texi:25780
  38231. msgid "The host to make the database connection to."
  38232. msgstr ""
  38233. #. type: item
  38234. #: guix-git/doc/guix.texi:25781
  38235. #, no-wrap
  38236. msgid "@code{port} (default: @code{\"\"})"
  38237. msgstr ""
  38238. #. type: table
  38239. #: guix-git/doc/guix.texi:25783
  38240. msgid "The port on which to connect to the database."
  38241. msgstr ""
  38242. #. type: subsubheading
  38243. #: guix-git/doc/guix.texi:25787
  38244. #, no-wrap
  38245. msgid "Mumi"
  38246. msgstr ""
  38247. #. type: cindex
  38248. #: guix-git/doc/guix.texi:25789
  38249. #, no-wrap
  38250. msgid "Mumi, Debbugs Web interface"
  38251. msgstr ""
  38252. #. type: cindex
  38253. #: guix-git/doc/guix.texi:25790
  38254. #, no-wrap
  38255. msgid "Debbugs, Mumi Web interface"
  38256. msgstr ""
  38257. #. type: Plain text
  38258. #: guix-git/doc/guix.texi:25795
  38259. 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."
  38260. msgstr ""
  38261. #. type: defvr
  38262. #: guix-git/doc/guix.texi:25796
  38263. #, no-wrap
  38264. msgid "{Scheme Variable} mumi-service-type"
  38265. msgstr ""
  38266. #. type: defvr
  38267. #: guix-git/doc/guix.texi:25798
  38268. msgid "This is the service type for Mumi."
  38269. msgstr ""
  38270. #. type: deftp
  38271. #: guix-git/doc/guix.texi:25800
  38272. #, no-wrap
  38273. msgid "{Data Type} mumi-configuration"
  38274. msgstr ""
  38275. #. type: deftp
  38276. #: guix-git/doc/guix.texi:25803
  38277. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  38278. msgstr ""
  38279. #. type: item
  38280. #: guix-git/doc/guix.texi:25805
  38281. #, no-wrap
  38282. msgid "@code{mumi} (default: @code{mumi})"
  38283. msgstr ""
  38284. #. type: table
  38285. #: guix-git/doc/guix.texi:25807
  38286. msgid "The Mumi package to use."
  38287. msgstr ""
  38288. #. type: item
  38289. #: guix-git/doc/guix.texi:25808
  38290. #, no-wrap
  38291. msgid "@code{mailer?} (default: @code{#true})"
  38292. msgstr ""
  38293. #. type: table
  38294. #: guix-git/doc/guix.texi:25810
  38295. msgid "Whether to enable or disable the mailer component."
  38296. msgstr ""
  38297. #. type: code{#1}
  38298. #: guix-git/doc/guix.texi:25811
  38299. #, no-wrap
  38300. msgid "mumi-configuration-sender"
  38301. msgstr ""
  38302. #. type: table
  38303. #: guix-git/doc/guix.texi:25813
  38304. msgid "The email address used as the sender for comments."
  38305. msgstr ""
  38306. #. type: code{#1}
  38307. #: guix-git/doc/guix.texi:25814
  38308. #, no-wrap
  38309. msgid "mumi-configuration-smtp"
  38310. msgstr ""
  38311. #. type: table
  38312. #: guix-git/doc/guix.texi:25819
  38313. 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}."
  38314. msgstr ""
  38315. #. type: subsubheading
  38316. #: guix-git/doc/guix.texi:25824
  38317. #, no-wrap
  38318. msgid "FastCGI"
  38319. msgstr ""
  38320. #. type: cindex
  38321. #: guix-git/doc/guix.texi:25825
  38322. #, no-wrap
  38323. msgid "fastcgi"
  38324. msgstr ""
  38325. #. type: cindex
  38326. #: guix-git/doc/guix.texi:25826
  38327. #, no-wrap
  38328. msgid "fcgiwrap"
  38329. msgstr ""
  38330. #. type: Plain text
  38331. #: guix-git/doc/guix.texi:25833
  38332. 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."
  38333. msgstr ""
  38334. #. type: Plain text
  38335. #: guix-git/doc/guix.texi:25840
  38336. 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."
  38337. msgstr ""
  38338. #. type: defvr
  38339. #: guix-git/doc/guix.texi:25841
  38340. #, no-wrap
  38341. msgid "{Scheme Variable} fcgiwrap-service-type"
  38342. msgstr ""
  38343. #. type: defvr
  38344. #: guix-git/doc/guix.texi:25843
  38345. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  38346. msgstr ""
  38347. #. type: deftp
  38348. #: guix-git/doc/guix.texi:25845
  38349. #, no-wrap
  38350. msgid "{Data Type} fcgiwrap-configuration"
  38351. msgstr ""
  38352. #. type: deftp
  38353. #: guix-git/doc/guix.texi:25848
  38354. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  38355. msgstr ""
  38356. #. type: item
  38357. #: guix-git/doc/guix.texi:25849
  38358. #, no-wrap
  38359. msgid "@code{package} (default: @code{fcgiwrap})"
  38360. msgstr ""
  38361. #. type: table
  38362. #: guix-git/doc/guix.texi:25851
  38363. msgid "The fcgiwrap package to use."
  38364. msgstr ""
  38365. #. type: item
  38366. #: guix-git/doc/guix.texi:25852
  38367. #, no-wrap
  38368. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  38369. msgstr ""
  38370. #. type: table
  38371. #: guix-git/doc/guix.texi:25858
  38372. 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}."
  38373. msgstr ""
  38374. #. type: item
  38375. #: guix-git/doc/guix.texi:25859
  38376. #, no-wrap
  38377. msgid "@code{user} (default: @code{fcgiwrap})"
  38378. msgstr ""
  38379. #. type: itemx
  38380. #: guix-git/doc/guix.texi:25860
  38381. #, no-wrap
  38382. msgid "@code{group} (default: @code{fcgiwrap})"
  38383. msgstr ""
  38384. #. type: table
  38385. #: guix-git/doc/guix.texi:25865
  38386. 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."
  38387. msgstr ""
  38388. #. type: table
  38389. #: guix-git/doc/guix.texi:25872
  38390. 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."
  38391. msgstr ""
  38392. #. type: cindex
  38393. #: guix-git/doc/guix.texi:25875
  38394. #, no-wrap
  38395. msgid "php-fpm"
  38396. msgstr ""
  38397. #. type: Plain text
  38398. #: guix-git/doc/guix.texi:25878
  38399. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  38400. msgstr ""
  38401. #. type: Plain text
  38402. #: guix-git/doc/guix.texi:25880
  38403. msgid "These features include:"
  38404. msgstr ""
  38405. #. type: item
  38406. #: guix-git/doc/guix.texi:25881
  38407. #, no-wrap
  38408. msgid "Adaptive process spawning"
  38409. msgstr ""
  38410. #. type: item
  38411. #: guix-git/doc/guix.texi:25882
  38412. #, no-wrap
  38413. msgid "Basic statistics (similar to Apache's mod_status)"
  38414. msgstr ""
  38415. #. type: item
  38416. #: guix-git/doc/guix.texi:25883
  38417. #, no-wrap
  38418. msgid "Advanced process management with graceful stop/start"
  38419. msgstr ""
  38420. #. type: item
  38421. #: guix-git/doc/guix.texi:25884
  38422. #, no-wrap
  38423. msgid "Ability to start workers with different uid/gid/chroot/environment"
  38424. msgstr ""
  38425. #. type: itemize
  38426. #: guix-git/doc/guix.texi:25886
  38427. msgid "and different php.ini (replaces safe_mode)"
  38428. msgstr ""
  38429. #. type: item
  38430. #: guix-git/doc/guix.texi:25886
  38431. #, no-wrap
  38432. msgid "Stdout & stderr logging"
  38433. msgstr ""
  38434. #. type: item
  38435. #: guix-git/doc/guix.texi:25887
  38436. #, no-wrap
  38437. msgid "Emergency restart in case of accidental opcode cache destruction"
  38438. msgstr ""
  38439. #. type: item
  38440. #: guix-git/doc/guix.texi:25888
  38441. #, no-wrap
  38442. msgid "Accelerated upload support"
  38443. msgstr ""
  38444. #. type: item
  38445. #: guix-git/doc/guix.texi:25889
  38446. #, no-wrap
  38447. msgid "Support for a \"slowlog\""
  38448. msgstr ""
  38449. #. type: item
  38450. #: guix-git/doc/guix.texi:25890
  38451. #, no-wrap
  38452. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  38453. msgstr ""
  38454. #. type: itemize
  38455. #: guix-git/doc/guix.texi:25893
  38456. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  38457. msgstr ""
  38458. #. type: Plain text
  38459. #: guix-git/doc/guix.texi:25895
  38460. msgid "...@: and much more."
  38461. msgstr ""
  38462. #. type: defvr
  38463. #: guix-git/doc/guix.texi:25896
  38464. #, no-wrap
  38465. msgid "{Scheme Variable} php-fpm-service-type"
  38466. msgstr ""
  38467. #. type: defvr
  38468. #: guix-git/doc/guix.texi:25898
  38469. msgid "A Service type for @code{php-fpm}."
  38470. msgstr ""
  38471. #. type: deftp
  38472. #: guix-git/doc/guix.texi:25900
  38473. #, no-wrap
  38474. msgid "{Data Type} php-fpm-configuration"
  38475. msgstr ""
  38476. #. type: deftp
  38477. #: guix-git/doc/guix.texi:25902
  38478. msgid "Data Type for php-fpm service configuration."
  38479. msgstr ""
  38480. #. type: item
  38481. #: guix-git/doc/guix.texi:25903
  38482. #, no-wrap
  38483. msgid "@code{php} (default: @code{php})"
  38484. msgstr ""
  38485. #. type: table
  38486. #: guix-git/doc/guix.texi:25905
  38487. msgid "The php package to use."
  38488. msgstr ""
  38489. #. type: item
  38490. #: guix-git/doc/guix.texi:25905
  38491. #, no-wrap
  38492. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  38493. msgstr ""
  38494. #. type: table
  38495. #: guix-git/doc/guix.texi:25907
  38496. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  38497. msgstr ""
  38498. #. type: code{#1}
  38499. #: guix-git/doc/guix.texi:25908
  38500. #, no-wrap
  38501. msgid "\"ip.add.re.ss:port\""
  38502. msgstr ""
  38503. #. type: table
  38504. #: guix-git/doc/guix.texi:25910
  38505. msgid "Listen on a TCP socket to a specific address on a specific port."
  38506. msgstr ""
  38507. #. type: code{#1}
  38508. #: guix-git/doc/guix.texi:25910
  38509. #, no-wrap
  38510. msgid "\"port\""
  38511. msgstr ""
  38512. #. type: table
  38513. #: guix-git/doc/guix.texi:25912
  38514. msgid "Listen on a TCP socket to all addresses on a specific port."
  38515. msgstr ""
  38516. #. type: code{#1}
  38517. #: guix-git/doc/guix.texi:25912
  38518. #, no-wrap
  38519. msgid "\"/path/to/unix/socket\""
  38520. msgstr ""
  38521. #. type: table
  38522. #: guix-git/doc/guix.texi:25914
  38523. msgid "Listen on a unix socket."
  38524. msgstr ""
  38525. #. type: item
  38526. #: guix-git/doc/guix.texi:25916
  38527. #, no-wrap
  38528. msgid "@code{user} (default: @code{php-fpm})"
  38529. msgstr ""
  38530. #. type: table
  38531. #: guix-git/doc/guix.texi:25918
  38532. msgid "User who will own the php worker processes."
  38533. msgstr ""
  38534. #. type: item
  38535. #: guix-git/doc/guix.texi:25918
  38536. #, no-wrap
  38537. msgid "@code{group} (default: @code{php-fpm})"
  38538. msgstr ""
  38539. #. type: table
  38540. #: guix-git/doc/guix.texi:25920
  38541. msgid "Group of the worker processes."
  38542. msgstr ""
  38543. #. type: item
  38544. #: guix-git/doc/guix.texi:25920
  38545. #, no-wrap
  38546. msgid "@code{socket-user} (default: @code{php-fpm})"
  38547. msgstr ""
  38548. #. type: table
  38549. #: guix-git/doc/guix.texi:25922
  38550. msgid "User who can speak to the php-fpm socket."
  38551. msgstr ""
  38552. #. type: item
  38553. #: guix-git/doc/guix.texi:25922
  38554. #, no-wrap
  38555. msgid "@code{socket-group} (default: @code{nginx})"
  38556. msgstr ""
  38557. #. type: table
  38558. #: guix-git/doc/guix.texi:25924
  38559. msgid "Group that can speak to the php-fpm socket."
  38560. msgstr ""
  38561. #. type: item
  38562. #: guix-git/doc/guix.texi:25924
  38563. #, no-wrap
  38564. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  38565. msgstr ""
  38566. #. type: table
  38567. #: guix-git/doc/guix.texi:25927
  38568. msgid "The process id of the php-fpm process is written to this file once the service has started."
  38569. msgstr ""
  38570. #. type: item
  38571. #: guix-git/doc/guix.texi:25927
  38572. #, no-wrap
  38573. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  38574. msgstr ""
  38575. #. type: table
  38576. #: guix-git/doc/guix.texi:25929
  38577. msgid "Log for the php-fpm master process."
  38578. msgstr ""
  38579. #. type: item
  38580. #: guix-git/doc/guix.texi:25929
  38581. #, no-wrap
  38582. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  38583. msgstr ""
  38584. #. type: table
  38585. #: guix-git/doc/guix.texi:25932
  38586. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  38587. msgstr ""
  38588. #. type: code{#1}
  38589. #: guix-git/doc/guix.texi:25933
  38590. #, no-wrap
  38591. msgid "<php-fpm-dynamic-process-manager-configuration>"
  38592. msgstr ""
  38593. #. type: code{#1}
  38594. #: guix-git/doc/guix.texi:25934
  38595. #, no-wrap
  38596. msgid "<php-fpm-static-process-manager-configuration>"
  38597. msgstr ""
  38598. #. type: code{#1}
  38599. #: guix-git/doc/guix.texi:25935
  38600. #, no-wrap
  38601. msgid "<php-fpm-on-demand-process-manager-configuration>"
  38602. msgstr ""
  38603. #. type: item
  38604. #: guix-git/doc/guix.texi:25937
  38605. #, no-wrap
  38606. msgid "@code{display-errors} (default @code{#f})"
  38607. msgstr ""
  38608. #. type: table
  38609. #: guix-git/doc/guix.texi:25942
  38610. 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."
  38611. msgstr ""
  38612. #. type: item
  38613. #: guix-git/doc/guix.texi:25942
  38614. #, no-wrap
  38615. msgid "@code{timezone} (default @code{#f})"
  38616. msgstr ""
  38617. #. type: table
  38618. #: guix-git/doc/guix.texi:25944
  38619. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  38620. msgstr ""
  38621. #. type: item
  38622. #: guix-git/doc/guix.texi:25944
  38623. #, no-wrap
  38624. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  38625. msgstr ""
  38626. #. type: table
  38627. #: guix-git/doc/guix.texi:25947
  38628. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  38629. msgstr ""
  38630. #. type: item
  38631. #: guix-git/doc/guix.texi:25947
  38632. #, no-wrap
  38633. msgid "@code{file} (default @code{#f})"
  38634. msgstr ""
  38635. #. type: table
  38636. #: guix-git/doc/guix.texi:25950
  38637. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  38638. msgstr ""
  38639. #. type: item
  38640. #: guix-git/doc/guix.texi:25950
  38641. #, no-wrap
  38642. msgid "@code{php-ini-file} (default @code{#f})"
  38643. msgstr ""
  38644. #. type: table
  38645. #: guix-git/doc/guix.texi:25954
  38646. 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."
  38647. msgstr ""
  38648. #. type: table
  38649. #: guix-git/doc/guix.texi:25958
  38650. 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:"
  38651. msgstr ""
  38652. #. type: lisp
  38653. #: guix-git/doc/guix.texi:25963
  38654. #, no-wrap
  38655. msgid ""
  38656. "(define %local-php-ini\n"
  38657. " (plain-file \"php.ini\"\n"
  38658. " \"memory_limit = 2G\n"
  38659. "max_execution_time = 1800\"))\n"
  38660. "\n"
  38661. msgstr ""
  38662. #. type: lisp
  38663. #: guix-git/doc/guix.texi:25970
  38664. #, no-wrap
  38665. msgid ""
  38666. "(operating-system\n"
  38667. " ;; @dots{}\n"
  38668. " (services (cons (service php-fpm-service-type\n"
  38669. " (php-fpm-configuration\n"
  38670. " (php-ini-file %local-php-ini)))\n"
  38671. " %base-services)))\n"
  38672. msgstr ""
  38673. #. type: table
  38674. #: guix-git/doc/guix.texi:25975
  38675. 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."
  38676. msgstr ""
  38677. #. type: deftp
  38678. #: guix-git/doc/guix.texi:25978
  38679. #, no-wrap
  38680. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  38681. msgstr ""
  38682. #. type: deftp
  38683. #: guix-git/doc/guix.texi:25982
  38684. 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."
  38685. msgstr ""
  38686. #. type: item
  38687. #: guix-git/doc/guix.texi:25983 guix-git/doc/guix.texi:25999
  38688. #: guix-git/doc/guix.texi:26009
  38689. #, no-wrap
  38690. msgid "@code{max-children} (default: @code{5})"
  38691. msgstr ""
  38692. #. type: table
  38693. #: guix-git/doc/guix.texi:25985 guix-git/doc/guix.texi:26001
  38694. #: guix-git/doc/guix.texi:26011
  38695. msgid "Maximum of worker processes."
  38696. msgstr ""
  38697. #. type: item
  38698. #: guix-git/doc/guix.texi:25985
  38699. #, no-wrap
  38700. msgid "@code{start-servers} (default: @code{2})"
  38701. msgstr ""
  38702. #. type: table
  38703. #: guix-git/doc/guix.texi:25987
  38704. msgid "How many worker processes should be started on start-up."
  38705. msgstr ""
  38706. #. type: item
  38707. #: guix-git/doc/guix.texi:25987
  38708. #, no-wrap
  38709. msgid "@code{min-spare-servers} (default: @code{1})"
  38710. msgstr ""
  38711. #. type: table
  38712. #: guix-git/doc/guix.texi:25989
  38713. msgid "How many spare worker processes should be kept around at minimum."
  38714. msgstr ""
  38715. #. type: item
  38716. #: guix-git/doc/guix.texi:25989
  38717. #, no-wrap
  38718. msgid "@code{max-spare-servers} (default: @code{3})"
  38719. msgstr ""
  38720. #. type: table
  38721. #: guix-git/doc/guix.texi:25991
  38722. msgid "How many spare worker processes should be kept around at maximum."
  38723. msgstr ""
  38724. #. type: deftp
  38725. #: guix-git/doc/guix.texi:25994
  38726. #, no-wrap
  38727. msgid "{Data type} php-fpm-static-process-manager-configuration"
  38728. msgstr ""
  38729. #. type: deftp
  38730. #: guix-git/doc/guix.texi:25998
  38731. 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."
  38732. msgstr ""
  38733. #. type: deftp
  38734. #: guix-git/doc/guix.texi:26004
  38735. #, no-wrap
  38736. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  38737. msgstr ""
  38738. #. type: deftp
  38739. #: guix-git/doc/guix.texi:26008
  38740. 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."
  38741. msgstr ""
  38742. #. type: item
  38743. #: guix-git/doc/guix.texi:26011
  38744. #, no-wrap
  38745. msgid "@code{process-idle-timeout} (default: @code{10})"
  38746. msgstr ""
  38747. #. type: table
  38748. #: guix-git/doc/guix.texi:26013
  38749. msgid "The time in seconds after which a process with no requests is killed."
  38750. msgstr ""
  38751. #. type: deffn
  38752. #: guix-git/doc/guix.texi:26017
  38753. #, no-wrap
  38754. msgid "{Scheme Procedure} nginx-php-location @"
  38755. msgstr ""
  38756. #. type: deffn
  38757. #: guix-git/doc/guix.texi:26023
  38758. 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}."
  38759. msgstr ""
  38760. #. type: Plain text
  38761. #: guix-git/doc/guix.texi:26026
  38762. msgid "A simple services setup for nginx with php can look like this:"
  38763. msgstr ""
  38764. #. type: lisp
  38765. #: guix-git/doc/guix.texi:26039
  38766. #, no-wrap
  38767. msgid ""
  38768. "(services (cons* (service dhcp-client-service-type)\n"
  38769. " (service php-fpm-service-type)\n"
  38770. " (service nginx-service-type\n"
  38771. " (nginx-server-configuration\n"
  38772. " (server-name '(\"example.com\"))\n"
  38773. " (root \"/srv/http/\")\n"
  38774. " (locations\n"
  38775. " (list (nginx-php-location)))\n"
  38776. " (listen '(\"80\"))\n"
  38777. " (ssl-certificate #f)\n"
  38778. " (ssl-certificate-key #f)))\n"
  38779. " %base-services))\n"
  38780. msgstr ""
  38781. #. type: cindex
  38782. #: guix-git/doc/guix.texi:26041
  38783. #, no-wrap
  38784. msgid "cat-avatar-generator"
  38785. msgstr ""
  38786. #. type: Plain text
  38787. #: guix-git/doc/guix.texi:26045
  38788. 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."
  38789. msgstr ""
  38790. #. type: deffn
  38791. #: guix-git/doc/guix.texi:26046
  38792. #, no-wrap
  38793. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  38794. msgstr ""
  38795. #. type: deffn
  38796. #: guix-git/doc/guix.texi:26054
  38797. 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."
  38798. msgstr ""
  38799. #. type: Plain text
  38800. #: guix-git/doc/guix.texi:26057
  38801. msgid "A simple setup for cat-avatar-generator can look like this:"
  38802. msgstr ""
  38803. #. type: lisp
  38804. #: guix-git/doc/guix.texi:26064
  38805. #, no-wrap
  38806. msgid ""
  38807. "(services (cons* (cat-avatar-generator-service\n"
  38808. " #:configuration\n"
  38809. " (nginx-server-configuration\n"
  38810. " (server-name '(\"example.com\"))))\n"
  38811. " ...\n"
  38812. " %base-services))\n"
  38813. msgstr ""
  38814. #. type: subsubheading
  38815. #: guix-git/doc/guix.texi:26066
  38816. #, no-wrap
  38817. msgid "Hpcguix-web"
  38818. msgstr ""
  38819. #. type: cindex
  38820. #: guix-git/doc/guix.texi:26068
  38821. #, no-wrap
  38822. msgid "hpcguix-web"
  38823. msgstr ""
  38824. #. type: Plain text
  38825. #: guix-git/doc/guix.texi:26073
  38826. 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."
  38827. msgstr ""
  38828. #. type: defvr
  38829. #: guix-git/doc/guix.texi:26074
  38830. #, no-wrap
  38831. msgid "{Scheme Variable} hpcguix-web-service-type"
  38832. msgstr ""
  38833. #. type: defvr
  38834. #: guix-git/doc/guix.texi:26076
  38835. msgid "The service type for @code{hpcguix-web}."
  38836. msgstr ""
  38837. #. type: deftp
  38838. #: guix-git/doc/guix.texi:26078
  38839. #, no-wrap
  38840. msgid "{Data Type} hpcguix-web-configuration"
  38841. msgstr ""
  38842. #. type: deftp
  38843. #: guix-git/doc/guix.texi:26080
  38844. msgid "Data type for the hpcguix-web service configuration."
  38845. msgstr ""
  38846. #. type: code{#1}
  38847. #: guix-git/doc/guix.texi:26082
  38848. #, no-wrap
  38849. msgid "specs"
  38850. msgstr ""
  38851. #. type: table
  38852. #: guix-git/doc/guix.texi:26085
  38853. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  38854. msgstr ""
  38855. #. type: item
  38856. #: guix-git/doc/guix.texi:26087
  38857. #, no-wrap
  38858. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  38859. msgstr ""
  38860. #. type: table
  38861. #: guix-git/doc/guix.texi:26089
  38862. msgid "The page title prefix."
  38863. msgstr ""
  38864. #. type: item
  38865. #: guix-git/doc/guix.texi:26090
  38866. #, no-wrap
  38867. msgid "@code{guix-command} (default: @code{\"guix\"})"
  38868. msgstr ""
  38869. #. type: table
  38870. #: guix-git/doc/guix.texi:26092
  38871. msgid "The @command{guix} command."
  38872. msgstr ""
  38873. #. type: item
  38874. #: guix-git/doc/guix.texi:26093
  38875. #, no-wrap
  38876. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  38877. msgstr ""
  38878. #. type: table
  38879. #: guix-git/doc/guix.texi:26095
  38880. msgid "A procedure specifying how to filter packages that are displayed."
  38881. msgstr ""
  38882. #. type: item
  38883. #: guix-git/doc/guix.texi:26096
  38884. #, no-wrap
  38885. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  38886. msgstr ""
  38887. #. type: table
  38888. #: guix-git/doc/guix.texi:26098
  38889. msgid "Extension package for @code{hpcguix-web}."
  38890. msgstr ""
  38891. #. type: item
  38892. #: guix-git/doc/guix.texi:26099
  38893. #, no-wrap
  38894. msgid "@code{menu} (default: @code{'()})"
  38895. msgstr ""
  38896. #. type: table
  38897. #: guix-git/doc/guix.texi:26101
  38898. msgid "Additional entry in page @code{menu}."
  38899. msgstr ""
  38900. #. type: item
  38901. #: guix-git/doc/guix.texi:26102
  38902. #, no-wrap
  38903. msgid "@code{channels} (default: @code{%default-channels})"
  38904. msgstr ""
  38905. #. type: table
  38906. #: guix-git/doc/guix.texi:26104
  38907. msgid "List of channels from which the package list is built (@pxref{Channels})."
  38908. msgstr ""
  38909. #. type: item
  38910. #: guix-git/doc/guix.texi:26105
  38911. #, no-wrap
  38912. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  38913. msgstr ""
  38914. #. type: table
  38915. #: guix-git/doc/guix.texi:26108
  38916. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  38917. msgstr ""
  38918. #. type: table
  38919. #: guix-git/doc/guix.texi:26113
  38920. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  38921. msgstr ""
  38922. #. type: item
  38923. #: guix-git/doc/guix.texi:26114
  38924. #, no-wrap
  38925. msgid "@code{package} (default: @code{hpcguix-web})"
  38926. msgstr ""
  38927. #. type: table
  38928. #: guix-git/doc/guix.texi:26116
  38929. msgid "The hpcguix-web package to use."
  38930. msgstr ""
  38931. #. type: Plain text
  38932. #: guix-git/doc/guix.texi:26120
  38933. msgid "A typical hpcguix-web service declaration looks like this:"
  38934. msgstr ""
  38935. #. type: lisp
  38936. #: guix-git/doc/guix.texi:26129
  38937. #, no-wrap
  38938. msgid ""
  38939. "(service hpcguix-web-service-type\n"
  38940. " (hpcguix-web-configuration\n"
  38941. " (specs\n"
  38942. " #~(define site-config\n"
  38943. " (hpcweb-configuration\n"
  38944. " (title-prefix \"Guix-HPC - \")\n"
  38945. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  38946. msgstr ""
  38947. #. type: quotation
  38948. #: guix-git/doc/guix.texi:26136
  38949. 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."
  38950. msgstr ""
  38951. #. type: quotation
  38952. #: guix-git/doc/guix.texi:26140
  38953. 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."
  38954. msgstr ""
  38955. #. type: cindex
  38956. #: guix-git/doc/guix.texi:26142 guix-git/doc/guix.texi:26144
  38957. #, no-wrap
  38958. msgid "gmnisrv"
  38959. msgstr ""
  38960. #. type: Plain text
  38961. #: guix-git/doc/guix.texi:26147
  38962. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  38963. msgstr ""
  38964. #. type: deffn
  38965. #: guix-git/doc/guix.texi:26148
  38966. #, no-wrap
  38967. msgid "{Scheme Variable} gmnisrv-service-type"
  38968. msgstr ""
  38969. #. type: deffn
  38970. #: guix-git/doc/guix.texi:26151
  38971. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  38972. msgstr ""
  38973. #. type: lisp
  38974. #: guix-git/doc/guix.texi:26156
  38975. #, no-wrap
  38976. msgid ""
  38977. "(service gmnisrv-service-type\n"
  38978. " (gmnisrv-configuration\n"
  38979. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  38980. msgstr ""
  38981. #. type: deftp
  38982. #: guix-git/doc/guix.texi:26159
  38983. #, no-wrap
  38984. msgid "{Data Type} gmnisrv-configuration"
  38985. msgstr ""
  38986. #. type: deftp
  38987. #: guix-git/doc/guix.texi:26161
  38988. msgid "Data type representing the configuration of gmnisrv."
  38989. msgstr ""
  38990. #. type: item
  38991. #: guix-git/doc/guix.texi:26163
  38992. #, no-wrap
  38993. msgid "@code{package} (default: @var{gmnisrv})"
  38994. msgstr ""
  38995. #. type: table
  38996. #: guix-git/doc/guix.texi:26165
  38997. msgid "Package object of the gmnisrv server."
  38998. msgstr ""
  38999. #. type: item
  39000. #: guix-git/doc/guix.texi:26166
  39001. #, no-wrap
  39002. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  39003. msgstr ""
  39004. #. type: table
  39005. #: guix-git/doc/guix.texi:26172
  39006. 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}."
  39007. msgstr ""
  39008. #. type: subsubheading
  39009. #: guix-git/doc/guix.texi:26176
  39010. #, no-wrap
  39011. msgid "Agate"
  39012. msgstr ""
  39013. #. type: cindex
  39014. #: guix-git/doc/guix.texi:26178
  39015. #, no-wrap
  39016. msgid "agate"
  39017. msgstr ""
  39018. #. type: Plain text
  39019. #: guix-git/doc/guix.texi:26183
  39020. 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."
  39021. msgstr ""
  39022. #. type: deffn
  39023. #: guix-git/doc/guix.texi:26184
  39024. #, no-wrap
  39025. msgid "{Scheme Variable} agate-service-type"
  39026. msgstr ""
  39027. #. type: deffn
  39028. #: guix-git/doc/guix.texi:26187
  39029. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  39030. msgstr ""
  39031. #. type: lisp
  39032. #: guix-git/doc/guix.texi:26194
  39033. #, no-wrap
  39034. msgid ""
  39035. "(service agate-service-type\n"
  39036. "\t (agate-configuration\n"
  39037. "\t (content \"/srv/gemini\")\n"
  39038. "\t (cert \"/srv/cert.pem\")\n"
  39039. "\t (key \"/srv/key.rsa\")))\n"
  39040. msgstr ""
  39041. #. type: deffn
  39042. #: guix-git/doc/guix.texi:26199
  39043. 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."
  39044. msgstr ""
  39045. #. type: deffn
  39046. #: guix-git/doc/guix.texi:26202
  39047. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  39048. msgstr ""
  39049. #. type: example
  39050. #: guix-git/doc/guix.texi:26206
  39051. #, no-wrap
  39052. msgid ""
  39053. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  39054. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  39055. msgstr ""
  39056. #. type: deffn
  39057. #: guix-git/doc/guix.texi:26211
  39058. 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."
  39059. msgstr ""
  39060. #. type: deftp
  39061. #: guix-git/doc/guix.texi:26214
  39062. #, no-wrap
  39063. msgid "{Data Type} agate-configuration"
  39064. msgstr ""
  39065. #. type: deftp
  39066. #: guix-git/doc/guix.texi:26216
  39067. msgid "Data type representing the configuration of Agate."
  39068. msgstr ""
  39069. #. type: item
  39070. #: guix-git/doc/guix.texi:26218
  39071. #, no-wrap
  39072. msgid "@code{package} (default: @code{agate})"
  39073. msgstr ""
  39074. #. type: table
  39075. #: guix-git/doc/guix.texi:26220
  39076. msgid "The package object of the Agate server."
  39077. msgstr ""
  39078. #. type: item
  39079. #: guix-git/doc/guix.texi:26221
  39080. #, no-wrap
  39081. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  39082. msgstr ""
  39083. #. type: table
  39084. #: guix-git/doc/guix.texi:26223
  39085. msgid "The directory from which Agate will serve files."
  39086. msgstr ""
  39087. #. type: item
  39088. #: guix-git/doc/guix.texi:26224
  39089. #, no-wrap
  39090. msgid "@code{cert} (default: @code{#f})"
  39091. msgstr ""
  39092. #. type: table
  39093. #: guix-git/doc/guix.texi:26227
  39094. 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."
  39095. msgstr ""
  39096. #. type: item
  39097. #: guix-git/doc/guix.texi:26228 guix-git/doc/guix.texi:26664
  39098. #, no-wrap
  39099. msgid "@code{key} (default: @code{#f})"
  39100. msgstr ""
  39101. #. type: table
  39102. #: guix-git/doc/guix.texi:26231
  39103. 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."
  39104. msgstr ""
  39105. #. type: item
  39106. #: guix-git/doc/guix.texi:26232
  39107. #, no-wrap
  39108. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  39109. msgstr ""
  39110. #. type: table
  39111. #: guix-git/doc/guix.texi:26234
  39112. msgid "A list of the addresses to listen on."
  39113. msgstr ""
  39114. #. type: table
  39115. #: guix-git/doc/guix.texi:26237
  39116. msgid "The domain name of this Gemini server. Optional."
  39117. msgstr ""
  39118. #. type: item
  39119. #: guix-git/doc/guix.texi:26238
  39120. #, no-wrap
  39121. msgid "@code{lang} (default: @code{#f})"
  39122. msgstr ""
  39123. #. type: table
  39124. #: guix-git/doc/guix.texi:26240
  39125. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  39126. msgstr ""
  39127. #. type: item
  39128. #: guix-git/doc/guix.texi:26241
  39129. #, no-wrap
  39130. msgid "@code{silent?} (default: @code{#f})"
  39131. msgstr ""
  39132. #. type: table
  39133. #: guix-git/doc/guix.texi:26243
  39134. msgid "Set to @code{#t} to disable logging output."
  39135. msgstr ""
  39136. #. type: item
  39137. #: guix-git/doc/guix.texi:26244
  39138. #, no-wrap
  39139. msgid "@code{serve-secret?} (default: @code{#f})"
  39140. msgstr ""
  39141. #. type: table
  39142. #: guix-git/doc/guix.texi:26247
  39143. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  39144. msgstr ""
  39145. #. type: item
  39146. #: guix-git/doc/guix.texi:26248
  39147. #, no-wrap
  39148. msgid "@code{log-ip?} (default: @code{#t})"
  39149. msgstr ""
  39150. #. type: table
  39151. #: guix-git/doc/guix.texi:26250
  39152. msgid "Whether or not to output IP addresses when logging."
  39153. msgstr ""
  39154. #. type: item
  39155. #: guix-git/doc/guix.texi:26251
  39156. #, no-wrap
  39157. msgid "@code{user} (default: @code{\"agate\"})"
  39158. msgstr ""
  39159. #. type: table
  39160. #: guix-git/doc/guix.texi:26253
  39161. msgid "Owner of the @code{agate} process."
  39162. msgstr ""
  39163. #. type: item
  39164. #: guix-git/doc/guix.texi:26254
  39165. #, no-wrap
  39166. msgid "@code{group} (default: @code{\"agate\"})"
  39167. msgstr ""
  39168. #. type: table
  39169. #: guix-git/doc/guix.texi:26256
  39170. msgid "Owner's group of the @code{agate} process."
  39171. msgstr ""
  39172. #. type: item
  39173. #: guix-git/doc/guix.texi:26257
  39174. #, no-wrap
  39175. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  39176. msgstr ""
  39177. #. type: table
  39178. #: guix-git/doc/guix.texi:26259
  39179. msgid "The file which should store the logging output of Agate."
  39180. msgstr ""
  39181. #. type: cindex
  39182. #: guix-git/doc/guix.texi:26266
  39183. #, no-wrap
  39184. msgid "Web"
  39185. msgstr ""
  39186. #. type: cindex
  39187. #: guix-git/doc/guix.texi:26267
  39188. #, no-wrap
  39189. msgid "HTTP, HTTPS"
  39190. msgstr ""
  39191. #. type: cindex
  39192. #: guix-git/doc/guix.texi:26268
  39193. #, no-wrap
  39194. msgid "Let's Encrypt"
  39195. msgstr ""
  39196. #. type: cindex
  39197. #: guix-git/doc/guix.texi:26269
  39198. #, no-wrap
  39199. msgid "TLS certificates"
  39200. msgstr ""
  39201. #. type: Plain text
  39202. #: guix-git/doc/guix.texi:26276
  39203. 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."
  39204. msgstr ""
  39205. #. type: Plain text
  39206. #: guix-git/doc/guix.texi:26288
  39207. 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."
  39208. msgstr ""
  39209. #. type: Plain text
  39210. #: guix-git/doc/guix.texi:26295
  39211. 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)."
  39212. msgstr ""
  39213. #. type: Plain text
  39214. #: guix-git/doc/guix.texi:26301
  39215. 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."
  39216. msgstr ""
  39217. #. type: Plain text
  39218. #: guix-git/doc/guix.texi:26305
  39219. 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}."
  39220. msgstr ""
  39221. #. type: defvr
  39222. #: guix-git/doc/guix.texi:26306
  39223. #, no-wrap
  39224. msgid "{Scheme Variable} certbot-service-type"
  39225. msgstr ""
  39226. #. type: defvr
  39227. #: guix-git/doc/guix.texi:26309
  39228. 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:"
  39229. msgstr ""
  39230. #. type: lisp
  39231. #: guix-git/doc/guix.texi:26316
  39232. #, no-wrap
  39233. msgid ""
  39234. "(define %nginx-deploy-hook\n"
  39235. " (program-file\n"
  39236. " \"nginx-deploy-hook\"\n"
  39237. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  39238. " (kill pid SIGHUP))))\n"
  39239. "\n"
  39240. msgstr ""
  39241. #. type: lisp
  39242. #: guix-git/doc/guix.texi:26327
  39243. #, no-wrap
  39244. msgid ""
  39245. "(service certbot-service-type\n"
  39246. " (certbot-configuration\n"
  39247. " (email \"foo@@example.net\")\n"
  39248. " (certificates\n"
  39249. " (list\n"
  39250. " (certificate-configuration\n"
  39251. " (domains '(\"example.net\" \"www.example.net\"))\n"
  39252. " (deploy-hook %nginx-deploy-hook))\n"
  39253. " (certificate-configuration\n"
  39254. " (domains '(\"bar.example.net\")))))))\n"
  39255. msgstr ""
  39256. #. type: defvr
  39257. #: guix-git/doc/guix.texi:26330
  39258. msgid "See below for details about @code{certbot-configuration}."
  39259. msgstr ""
  39260. #. type: deftp
  39261. #: guix-git/doc/guix.texi:26332
  39262. #, no-wrap
  39263. msgid "{Data Type} certbot-configuration"
  39264. msgstr ""
  39265. #. type: deftp
  39266. #: guix-git/doc/guix.texi:26335
  39267. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  39268. msgstr ""
  39269. #. type: item
  39270. #: guix-git/doc/guix.texi:26337
  39271. #, no-wrap
  39272. msgid "@code{package} (default: @code{certbot})"
  39273. msgstr ""
  39274. #. type: table
  39275. #: guix-git/doc/guix.texi:26339
  39276. msgid "The certbot package to use."
  39277. msgstr ""
  39278. #. type: item
  39279. #: guix-git/doc/guix.texi:26340
  39280. #, no-wrap
  39281. msgid "@code{webroot} (default: @code{/var/www})"
  39282. msgstr ""
  39283. #. type: table
  39284. #: guix-git/doc/guix.texi:26343
  39285. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  39286. msgstr ""
  39287. #. type: item
  39288. #: guix-git/doc/guix.texi:26344
  39289. #, no-wrap
  39290. msgid "@code{certificates} (default: @code{()})"
  39291. msgstr ""
  39292. #. type: table
  39293. #: guix-git/doc/guix.texi:26348
  39294. 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}."
  39295. msgstr ""
  39296. #. type: item
  39297. #: guix-git/doc/guix.texi:26349
  39298. #, no-wrap
  39299. msgid "@code{email} (default: @code{#f})"
  39300. msgstr ""
  39301. #. type: table
  39302. #: guix-git/doc/guix.texi:26353
  39303. 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."
  39304. msgstr ""
  39305. #. type: item
  39306. #: guix-git/doc/guix.texi:26354 guix-git/doc/guix.texi:28098
  39307. #, no-wrap
  39308. msgid "@code{server} (default: @code{#f})"
  39309. msgstr ""
  39310. #. type: table
  39311. #: guix-git/doc/guix.texi:26357
  39312. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  39313. msgstr ""
  39314. #. type: item
  39315. #: guix-git/doc/guix.texi:26358
  39316. #, no-wrap
  39317. msgid "@code{rsa-key-size} (default: @code{2048})"
  39318. msgstr ""
  39319. #. type: table
  39320. #: guix-git/doc/guix.texi:26360
  39321. msgid "Size of the RSA key."
  39322. msgstr ""
  39323. #. type: item
  39324. #: guix-git/doc/guix.texi:26361
  39325. #, no-wrap
  39326. msgid "@code{default-location} (default: @i{see below})"
  39327. msgstr ""
  39328. #. type: table
  39329. #: guix-git/doc/guix.texi:26370
  39330. 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."
  39331. msgstr ""
  39332. #. type: table
  39333. #: guix-git/doc/guix.texi:26374
  39334. 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."
  39335. msgstr ""
  39336. #. type: table
  39337. #: guix-git/doc/guix.texi:26378
  39338. 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}."
  39339. msgstr ""
  39340. #. type: table
  39341. #: guix-git/doc/guix.texi:26380
  39342. msgid "Pass @code{#f} to not issue a default location."
  39343. msgstr ""
  39344. #. type: deftp
  39345. #: guix-git/doc/guix.texi:26383
  39346. #, no-wrap
  39347. msgid "{Data Type} certificate-configuration"
  39348. msgstr ""
  39349. #. type: deftp
  39350. #: guix-git/doc/guix.texi:26386
  39351. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  39352. msgstr ""
  39353. #. type: item
  39354. #: guix-git/doc/guix.texi:26388
  39355. #, no-wrap
  39356. msgid "@code{name} (default: @i{see below})"
  39357. msgstr ""
  39358. #. type: table
  39359. #: guix-git/doc/guix.texi:26392
  39360. 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}."
  39361. msgstr ""
  39362. #. type: table
  39363. #: guix-git/doc/guix.texi:26394
  39364. msgid "Its default is the first provided domain."
  39365. msgstr ""
  39366. #. type: item
  39367. #: guix-git/doc/guix.texi:26395
  39368. #, no-wrap
  39369. msgid "@code{domains} (default: @code{()})"
  39370. msgstr ""
  39371. #. type: table
  39372. #: guix-git/doc/guix.texi:26398
  39373. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  39374. msgstr ""
  39375. #. type: item
  39376. #: guix-git/doc/guix.texi:26399
  39377. #, no-wrap
  39378. msgid "@code{challenge} (default: @code{#f})"
  39379. msgstr ""
  39380. #. type: table
  39381. #: guix-git/doc/guix.texi:26406
  39382. 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."
  39383. msgstr ""
  39384. #. type: item
  39385. #: guix-git/doc/guix.texi:26407
  39386. #, no-wrap
  39387. msgid "@code{csr} (default: @code{#f})"
  39388. msgstr ""
  39389. #. type: table
  39390. #: guix-git/doc/guix.texi:26414
  39391. 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."
  39392. msgstr ""
  39393. #. type: item
  39394. #: guix-git/doc/guix.texi:26415
  39395. #, no-wrap
  39396. msgid "@code{authentication-hook} (default: @code{#f})"
  39397. msgstr ""
  39398. #. type: table
  39399. #: guix-git/doc/guix.texi:26421
  39400. 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."
  39401. msgstr ""
  39402. #. type: item
  39403. #: guix-git/doc/guix.texi:26422
  39404. #, no-wrap
  39405. msgid "@code{cleanup-hook} (default: @code{#f})"
  39406. msgstr ""
  39407. #. type: table
  39408. #: guix-git/doc/guix.texi:26428
  39409. 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."
  39410. msgstr ""
  39411. #. type: item
  39412. #: guix-git/doc/guix.texi:26429
  39413. #, no-wrap
  39414. msgid "@code{deploy-hook} (default: @code{#f})"
  39415. msgstr ""
  39416. #. type: table
  39417. #: guix-git/doc/guix.texi:26437
  39418. 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\"}."
  39419. msgstr ""
  39420. #. type: Plain text
  39421. #: guix-git/doc/guix.texi:26444
  39422. 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}."
  39423. msgstr ""
  39424. #. type: cindex
  39425. #: guix-git/doc/guix.texi:26446
  39426. #, no-wrap
  39427. msgid "DNS (domain name system)"
  39428. msgstr ""
  39429. #. type: cindex
  39430. #: guix-git/doc/guix.texi:26447
  39431. #, no-wrap
  39432. msgid "domain name system (DNS)"
  39433. msgstr ""
  39434. #. type: Plain text
  39435. #: guix-git/doc/guix.texi:26455
  39436. 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}."
  39437. msgstr ""
  39438. #. type: subsubheading
  39439. #: guix-git/doc/guix.texi:26456
  39440. #, no-wrap
  39441. msgid "Knot Service"
  39442. msgstr ""
  39443. #. type: Plain text
  39444. #: guix-git/doc/guix.texi:26460
  39445. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  39446. msgstr ""
  39447. #. type: lisp
  39448. #: guix-git/doc/guix.texi:26467
  39449. #, no-wrap
  39450. msgid ""
  39451. "(define-zone-entries example.org.zone\n"
  39452. ";; Name TTL Class Type Data\n"
  39453. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  39454. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  39455. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  39456. "\n"
  39457. msgstr ""
  39458. #. type: lisp
  39459. #: guix-git/doc/guix.texi:26474
  39460. #, no-wrap
  39461. msgid ""
  39462. "(define master-zone\n"
  39463. " (knot-zone-configuration\n"
  39464. " (domain \"example.org\")\n"
  39465. " (zone (zone-file\n"
  39466. " (origin \"example.org\")\n"
  39467. " (entries example.org.zone)))))\n"
  39468. "\n"
  39469. msgstr ""
  39470. #. type: lisp
  39471. #: guix-git/doc/guix.texi:26480
  39472. #, no-wrap
  39473. msgid ""
  39474. "(define slave-zone\n"
  39475. " (knot-zone-configuration\n"
  39476. " (domain \"plop.org\")\n"
  39477. " (dnssec-policy \"default\")\n"
  39478. " (master (list \"plop-master\"))))\n"
  39479. "\n"
  39480. msgstr ""
  39481. #. type: lisp
  39482. #: guix-git/doc/guix.texi:26485
  39483. #, no-wrap
  39484. msgid ""
  39485. "(define plop-master\n"
  39486. " (knot-remote-configuration\n"
  39487. " (id \"plop-master\")\n"
  39488. " (address (list \"208.76.58.171\"))))\n"
  39489. "\n"
  39490. msgstr ""
  39491. #. type: lisp
  39492. #: guix-git/doc/guix.texi:26494
  39493. #, no-wrap
  39494. msgid ""
  39495. "(operating-system\n"
  39496. " ;; ...\n"
  39497. " (services (cons* (service knot-service-type\n"
  39498. " (knot-configuration\n"
  39499. " (remotes (list plop-master))\n"
  39500. " (zones (list master-zone slave-zone))))\n"
  39501. " ;; ...\n"
  39502. " %base-services)))\n"
  39503. msgstr ""
  39504. #. type: deffn
  39505. #: guix-git/doc/guix.texi:26496
  39506. #, no-wrap
  39507. msgid "{Scheme Variable} knot-service-type"
  39508. msgstr ""
  39509. #. type: deffn
  39510. #: guix-git/doc/guix.texi:26498
  39511. msgid "This is the type for the Knot DNS server."
  39512. msgstr ""
  39513. #. type: deffn
  39514. #: guix-git/doc/guix.texi:26506
  39515. 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."
  39516. msgstr ""
  39517. #. type: deffn
  39518. #: guix-git/doc/guix.texi:26508
  39519. msgid "The following data types are used to configure the Knot DNS server:"
  39520. msgstr ""
  39521. #. type: deftp
  39522. #: guix-git/doc/guix.texi:26510
  39523. #, no-wrap
  39524. msgid "{Data Type} knot-key-configuration"
  39525. msgstr ""
  39526. #. type: deftp
  39527. #: guix-git/doc/guix.texi:26513
  39528. msgid "Data type representing a key. This type has the following parameters:"
  39529. msgstr ""
  39530. #. type: item
  39531. #: guix-git/doc/guix.texi:26515 guix-git/doc/guix.texi:26535
  39532. #: guix-git/doc/guix.texi:26650 guix-git/doc/guix.texi:26676
  39533. #: guix-git/doc/guix.texi:26711
  39534. #, no-wrap
  39535. msgid "@code{id} (default: @code{\"\"})"
  39536. msgstr ""
  39537. #. type: table
  39538. #: guix-git/doc/guix.texi:26518 guix-git/doc/guix.texi:26538
  39539. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  39540. msgstr ""
  39541. #. type: item
  39542. #: guix-git/doc/guix.texi:26519
  39543. #, no-wrap
  39544. msgid "@code{algorithm} (default: @code{#f})"
  39545. msgstr ""
  39546. #. type: table
  39547. #: guix-git/doc/guix.texi:26523
  39548. 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}."
  39549. msgstr ""
  39550. #. type: item
  39551. #: guix-git/doc/guix.texi:26524
  39552. #, no-wrap
  39553. msgid "@code{secret} (default: @code{\"\"})"
  39554. msgstr ""
  39555. #. type: table
  39556. #: guix-git/doc/guix.texi:26526
  39557. msgid "The secret key itself."
  39558. msgstr ""
  39559. #. type: deftp
  39560. #: guix-git/doc/guix.texi:26530
  39561. #, no-wrap
  39562. msgid "{Data Type} knot-acl-configuration"
  39563. msgstr ""
  39564. #. type: deftp
  39565. #: guix-git/doc/guix.texi:26533
  39566. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  39567. msgstr ""
  39568. #. type: item
  39569. #: guix-git/doc/guix.texi:26539 guix-git/doc/guix.texi:26654
  39570. #, no-wrap
  39571. msgid "@code{address} (default: @code{'()})"
  39572. msgstr ""
  39573. #. type: table
  39574. #: guix-git/doc/guix.texi:26543
  39575. 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."
  39576. msgstr ""
  39577. #. type: item
  39578. #: guix-git/doc/guix.texi:26544
  39579. #, no-wrap
  39580. msgid "@code{key} (default: @code{'()})"
  39581. msgstr ""
  39582. #. type: table
  39583. #: guix-git/doc/guix.texi:26548
  39584. 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."
  39585. msgstr ""
  39586. #. type: item
  39587. #: guix-git/doc/guix.texi:26549
  39588. #, no-wrap
  39589. msgid "@code{action} (default: @code{'()})"
  39590. msgstr ""
  39591. #. type: table
  39592. #: guix-git/doc/guix.texi:26553
  39593. 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}."
  39594. msgstr ""
  39595. #. type: item
  39596. #: guix-git/doc/guix.texi:26554
  39597. #, no-wrap
  39598. msgid "@code{deny?} (default: @code{#f})"
  39599. msgstr ""
  39600. #. type: table
  39601. #: guix-git/doc/guix.texi:26557
  39602. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  39603. msgstr ""
  39604. #. type: deftp
  39605. #: guix-git/doc/guix.texi:26561
  39606. #, no-wrap
  39607. msgid "{Data Type} zone-entry"
  39608. msgstr ""
  39609. #. type: deftp
  39610. #: guix-git/doc/guix.texi:26564
  39611. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  39612. msgstr ""
  39613. #. type: item
  39614. #: guix-git/doc/guix.texi:26566
  39615. #, no-wrap
  39616. msgid "@code{name} (default: @code{\"@@\"})"
  39617. msgstr ""
  39618. #. type: table
  39619. #: guix-git/doc/guix.texi:26572
  39620. 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}."
  39621. msgstr ""
  39622. #. type: item
  39623. #: guix-git/doc/guix.texi:26573
  39624. #, no-wrap
  39625. msgid "@code{ttl} (default: @code{\"\"})"
  39626. msgstr ""
  39627. #. type: table
  39628. #: guix-git/doc/guix.texi:26575
  39629. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  39630. msgstr ""
  39631. #. type: item
  39632. #: guix-git/doc/guix.texi:26576
  39633. #, no-wrap
  39634. msgid "@code{class} (default: @code{\"IN\"})"
  39635. msgstr ""
  39636. #. type: table
  39637. #: guix-git/doc/guix.texi:26579
  39638. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  39639. msgstr ""
  39640. #. type: item
  39641. #: guix-git/doc/guix.texi:26580
  39642. #, no-wrap
  39643. msgid "@code{type} (default: @code{\"A\"})"
  39644. msgstr ""
  39645. #. type: table
  39646. #: guix-git/doc/guix.texi:26584
  39647. 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."
  39648. msgstr ""
  39649. #. type: item
  39650. #: guix-git/doc/guix.texi:26585
  39651. #, no-wrap
  39652. msgid "@code{data} (default: @code{\"\"})"
  39653. msgstr ""
  39654. #. type: table
  39655. #: guix-git/doc/guix.texi:26589
  39656. 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."
  39657. msgstr ""
  39658. #. type: deftp
  39659. #: guix-git/doc/guix.texi:26593
  39660. #, no-wrap
  39661. msgid "{Data Type} zone-file"
  39662. msgstr ""
  39663. #. type: deftp
  39664. #: guix-git/doc/guix.texi:26596
  39665. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  39666. msgstr ""
  39667. #. type: table
  39668. #: guix-git/doc/guix.texi:26605
  39669. 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}."
  39670. msgstr ""
  39671. #. type: item
  39672. #: guix-git/doc/guix.texi:26606
  39673. #, no-wrap
  39674. msgid "@code{origin} (default: @code{\"\"})"
  39675. msgstr ""
  39676. #. type: table
  39677. #: guix-git/doc/guix.texi:26608
  39678. msgid "The name of your zone. This parameter cannot be empty."
  39679. msgstr ""
  39680. #. type: item
  39681. #: guix-git/doc/guix.texi:26609
  39682. #, no-wrap
  39683. msgid "@code{ns} (default: @code{\"ns\"})"
  39684. msgstr ""
  39685. #. type: table
  39686. #: guix-git/doc/guix.texi:26614
  39687. 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."
  39688. msgstr ""
  39689. #. type: item
  39690. #: guix-git/doc/guix.texi:26615
  39691. #, no-wrap
  39692. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  39693. msgstr ""
  39694. #. type: table
  39695. #: guix-git/doc/guix.texi:26618
  39696. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  39697. msgstr ""
  39698. #. type: item
  39699. #: guix-git/doc/guix.texi:26619
  39700. #, no-wrap
  39701. msgid "@code{serial} (default: @code{1})"
  39702. msgstr ""
  39703. #. type: table
  39704. #: guix-git/doc/guix.texi:26623
  39705. 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."
  39706. msgstr ""
  39707. #. type: item
  39708. #: guix-git/doc/guix.texi:26624
  39709. #, no-wrap
  39710. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  39711. msgstr ""
  39712. #. type: table
  39713. #: guix-git/doc/guix.texi:26628
  39714. 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)}."
  39715. msgstr ""
  39716. #. type: item
  39717. #: guix-git/doc/guix.texi:26629
  39718. #, no-wrap
  39719. msgid "@code{retry} (default: @code{(* 15 60)})"
  39720. msgstr ""
  39721. #. type: table
  39722. #: guix-git/doc/guix.texi:26632
  39723. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  39724. msgstr ""
  39725. #. type: item
  39726. #: guix-git/doc/guix.texi:26633
  39727. #, no-wrap
  39728. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  39729. msgstr ""
  39730. #. type: table
  39731. #: guix-git/doc/guix.texi:26637
  39732. 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."
  39733. msgstr ""
  39734. #. type: item
  39735. #: guix-git/doc/guix.texi:26638
  39736. #, no-wrap
  39737. msgid "@code{nx} (default: @code{3600})"
  39738. msgstr ""
  39739. #. type: table
  39740. #: guix-git/doc/guix.texi:26641
  39741. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  39742. msgstr ""
  39743. #. type: deftp
  39744. #: guix-git/doc/guix.texi:26645
  39745. #, no-wrap
  39746. msgid "{Data Type} knot-remote-configuration"
  39747. msgstr ""
  39748. #. type: deftp
  39749. #: guix-git/doc/guix.texi:26648
  39750. msgid "Data type representing a remote configuration. This type has the following parameters:"
  39751. msgstr ""
  39752. #. type: table
  39753. #: guix-git/doc/guix.texi:26653
  39754. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  39755. msgstr ""
  39756. #. type: table
  39757. #: guix-git/doc/guix.texi:26658
  39758. 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."
  39759. msgstr ""
  39760. #. type: item
  39761. #: guix-git/doc/guix.texi:26659
  39762. #, no-wrap
  39763. msgid "@code{via} (default: @code{'()})"
  39764. msgstr ""
  39765. #. type: table
  39766. #: guix-git/doc/guix.texi:26663
  39767. 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."
  39768. msgstr ""
  39769. #. type: table
  39770. #: guix-git/doc/guix.texi:26667
  39771. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  39772. msgstr ""
  39773. #. type: deftp
  39774. #: guix-git/doc/guix.texi:26671
  39775. #, no-wrap
  39776. msgid "{Data Type} knot-keystore-configuration"
  39777. msgstr ""
  39778. #. type: deftp
  39779. #: guix-git/doc/guix.texi:26674
  39780. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  39781. msgstr ""
  39782. #. type: table
  39783. #: guix-git/doc/guix.texi:26678
  39784. msgid "The id of the keystore. It must not be empty."
  39785. msgstr ""
  39786. #. type: item
  39787. #: guix-git/doc/guix.texi:26679
  39788. #, no-wrap
  39789. msgid "@code{backend} (default: @code{'pem})"
  39790. msgstr ""
  39791. #. type: table
  39792. #: guix-git/doc/guix.texi:26681
  39793. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  39794. msgstr ""
  39795. #. type: item
  39796. #: guix-git/doc/guix.texi:26682
  39797. #, no-wrap
  39798. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  39799. msgstr ""
  39800. #. type: table
  39801. #: guix-git/doc/guix.texi:26686
  39802. 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."
  39803. msgstr ""
  39804. #. type: deftp
  39805. #: guix-git/doc/guix.texi:26690
  39806. #, no-wrap
  39807. msgid "{Data Type} knot-policy-configuration"
  39808. msgstr ""
  39809. #. type: deftp
  39810. #: guix-git/doc/guix.texi:26694
  39811. 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."
  39812. msgstr ""
  39813. #. type: deftp
  39814. #: guix-git/doc/guix.texi:26701
  39815. 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."
  39816. msgstr ""
  39817. #. type: deftp
  39818. #: guix-git/doc/guix.texi:26707
  39819. 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."
  39820. msgstr ""
  39821. #. type: deftp
  39822. #: guix-git/doc/guix.texi:26709
  39823. msgid "This type has the following parameters:"
  39824. msgstr ""
  39825. #. type: table
  39826. #: guix-git/doc/guix.texi:26713
  39827. msgid "The id of the policy. It must not be empty."
  39828. msgstr ""
  39829. #. type: item
  39830. #: guix-git/doc/guix.texi:26714
  39831. #, no-wrap
  39832. msgid "@code{keystore} (default: @code{\"default\"})"
  39833. msgstr ""
  39834. #. type: table
  39835. #: guix-git/doc/guix.texi:26719
  39836. 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)."
  39837. msgstr ""
  39838. #. type: item
  39839. #: guix-git/doc/guix.texi:26720
  39840. #, no-wrap
  39841. msgid "@code{manual?} (default: @code{#f})"
  39842. msgstr ""
  39843. #. type: table
  39844. #: guix-git/doc/guix.texi:26722
  39845. msgid "Whether the key management is manual or automatic."
  39846. msgstr ""
  39847. #. type: item
  39848. #: guix-git/doc/guix.texi:26723
  39849. #, no-wrap
  39850. msgid "@code{single-type-signing?} (default: @code{#f})"
  39851. msgstr ""
  39852. #. type: table
  39853. #: guix-git/doc/guix.texi:26725
  39854. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  39855. msgstr ""
  39856. #. type: item
  39857. #: guix-git/doc/guix.texi:26726
  39858. #, no-wrap
  39859. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  39860. msgstr ""
  39861. #. type: table
  39862. #: guix-git/doc/guix.texi:26728
  39863. msgid "An algorithm of signing keys and issued signatures."
  39864. msgstr ""
  39865. #. type: item
  39866. #: guix-git/doc/guix.texi:26729
  39867. #, no-wrap
  39868. msgid "@code{ksk-size} (default: @code{256})"
  39869. msgstr ""
  39870. #. type: table
  39871. #: guix-git/doc/guix.texi:26732
  39872. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  39873. msgstr ""
  39874. #. type: item
  39875. #: guix-git/doc/guix.texi:26733
  39876. #, no-wrap
  39877. msgid "@code{zsk-size} (default: @code{256})"
  39878. msgstr ""
  39879. #. type: table
  39880. #: guix-git/doc/guix.texi:26736
  39881. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  39882. msgstr ""
  39883. #. type: item
  39884. #: guix-git/doc/guix.texi:26737
  39885. #, no-wrap
  39886. msgid "@code{dnskey-ttl} (default: @code{'default})"
  39887. msgstr ""
  39888. #. type: table
  39889. #: guix-git/doc/guix.texi:26740
  39890. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  39891. msgstr ""
  39892. #. type: item
  39893. #: guix-git/doc/guix.texi:26741
  39894. #, no-wrap
  39895. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  39896. msgstr ""
  39897. #. type: table
  39898. #: guix-git/doc/guix.texi:26743
  39899. msgid "The period between ZSK publication and the next rollover initiation."
  39900. msgstr ""
  39901. #. type: item
  39902. #: guix-git/doc/guix.texi:26744
  39903. #, no-wrap
  39904. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  39905. msgstr ""
  39906. #. type: table
  39907. #: guix-git/doc/guix.texi:26747
  39908. 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."
  39909. msgstr ""
  39910. #. type: item
  39911. #: guix-git/doc/guix.texi:26748
  39912. #, no-wrap
  39913. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  39914. msgstr ""
  39915. #. type: table
  39916. #: guix-git/doc/guix.texi:26750
  39917. msgid "A validity period of newly issued signatures."
  39918. msgstr ""
  39919. #. type: item
  39920. #: guix-git/doc/guix.texi:26751
  39921. #, no-wrap
  39922. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  39923. msgstr ""
  39924. #. type: table
  39925. #: guix-git/doc/guix.texi:26753
  39926. msgid "A period how long before a signature expiration the signature will be refreshed."
  39927. msgstr ""
  39928. #. type: item
  39929. #: guix-git/doc/guix.texi:26754
  39930. #, no-wrap
  39931. msgid "@code{nsec3?} (default: @code{#f})"
  39932. msgstr ""
  39933. #. type: table
  39934. #: guix-git/doc/guix.texi:26756
  39935. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  39936. msgstr ""
  39937. #. type: item
  39938. #: guix-git/doc/guix.texi:26757
  39939. #, no-wrap
  39940. msgid "@code{nsec3-iterations} (default: @code{5})"
  39941. msgstr ""
  39942. #. type: table
  39943. #: guix-git/doc/guix.texi:26759
  39944. msgid "The number of additional times the hashing is performed."
  39945. msgstr ""
  39946. #. type: item
  39947. #: guix-git/doc/guix.texi:26760
  39948. #, no-wrap
  39949. msgid "@code{nsec3-salt-length} (default: @code{8})"
  39950. msgstr ""
  39951. #. type: table
  39952. #: guix-git/doc/guix.texi:26763
  39953. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  39954. msgstr ""
  39955. #. type: item
  39956. #: guix-git/doc/guix.texi:26764
  39957. #, no-wrap
  39958. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  39959. msgstr ""
  39960. #. type: table
  39961. #: guix-git/doc/guix.texi:26766
  39962. msgid "The validity period of newly issued salt field."
  39963. msgstr ""
  39964. #. type: deftp
  39965. #: guix-git/doc/guix.texi:26770
  39966. #, no-wrap
  39967. msgid "{Data Type} knot-zone-configuration"
  39968. msgstr ""
  39969. #. type: deftp
  39970. #: guix-git/doc/guix.texi:26773
  39971. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  39972. msgstr ""
  39973. #. type: item
  39974. #: guix-git/doc/guix.texi:26775
  39975. #, no-wrap
  39976. msgid "@code{domain} (default: @code{\"\"})"
  39977. msgstr ""
  39978. #. type: table
  39979. #: guix-git/doc/guix.texi:26777
  39980. msgid "The domain served by this configuration. It must not be empty."
  39981. msgstr ""
  39982. #. type: item
  39983. #: guix-git/doc/guix.texi:26778
  39984. #, no-wrap
  39985. msgid "@code{file} (default: @code{\"\"})"
  39986. msgstr ""
  39987. #. type: table
  39988. #: guix-git/doc/guix.texi:26781
  39989. 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."
  39990. msgstr ""
  39991. #. type: item
  39992. #: guix-git/doc/guix.texi:26782
  39993. #, no-wrap
  39994. msgid "@code{zone} (default: @code{(zone-file)})"
  39995. msgstr ""
  39996. #. type: table
  39997. #: guix-git/doc/guix.texi:26785
  39998. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  39999. msgstr ""
  40000. #. type: item
  40001. #: guix-git/doc/guix.texi:26786
  40002. #, no-wrap
  40003. msgid "@code{master} (default: @code{'()})"
  40004. msgstr ""
  40005. #. type: table
  40006. #: guix-git/doc/guix.texi:26789
  40007. 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."
  40008. msgstr ""
  40009. #. type: item
  40010. #: guix-git/doc/guix.texi:26790
  40011. #, no-wrap
  40012. msgid "@code{ddns-master} (default: @code{#f})"
  40013. msgstr ""
  40014. #. type: table
  40015. #: guix-git/doc/guix.texi:26793
  40016. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  40017. msgstr ""
  40018. #. type: item
  40019. #: guix-git/doc/guix.texi:26794
  40020. #, no-wrap
  40021. msgid "@code{notify} (default: @code{'()})"
  40022. msgstr ""
  40023. #. type: table
  40024. #: guix-git/doc/guix.texi:26796
  40025. msgid "A list of slave remote identifiers."
  40026. msgstr ""
  40027. #. type: item
  40028. #: guix-git/doc/guix.texi:26797
  40029. #, no-wrap
  40030. msgid "@code{acl} (default: @code{'()})"
  40031. msgstr ""
  40032. #. type: table
  40033. #: guix-git/doc/guix.texi:26799
  40034. msgid "A list of acl identifiers."
  40035. msgstr ""
  40036. #. type: item
  40037. #: guix-git/doc/guix.texi:26800
  40038. #, no-wrap
  40039. msgid "@code{semantic-checks?} (default: @code{#f})"
  40040. msgstr ""
  40041. #. type: table
  40042. #: guix-git/doc/guix.texi:26802
  40043. msgid "When set, this adds more semantic checks to the zone."
  40044. msgstr ""
  40045. #. type: item
  40046. #: guix-git/doc/guix.texi:26803
  40047. #, no-wrap
  40048. msgid "@code{zonefile-sync} (default: @code{0})"
  40049. msgstr ""
  40050. #. type: table
  40051. #: guix-git/doc/guix.texi:26806
  40052. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  40053. msgstr ""
  40054. #. type: item
  40055. #: guix-git/doc/guix.texi:26807
  40056. #, no-wrap
  40057. msgid "@code{zonefile-load} (default: @code{#f})"
  40058. msgstr ""
  40059. #. type: table
  40060. #: guix-git/doc/guix.texi:26810
  40061. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  40062. msgstr ""
  40063. #. type: item
  40064. #: guix-git/doc/guix.texi:26812
  40065. #, no-wrap
  40066. msgid "@code{#f} for using the default value from Knot,"
  40067. msgstr ""
  40068. #. type: item
  40069. #: guix-git/doc/guix.texi:26813
  40070. #, no-wrap
  40071. msgid "@code{'none} for not using the zone file at all,"
  40072. msgstr ""
  40073. #. type: item
  40074. #: guix-git/doc/guix.texi:26814
  40075. #, no-wrap
  40076. msgid "@code{'difference} for computing the difference between already available"
  40077. msgstr ""
  40078. #. type: itemize
  40079. #: guix-git/doc/guix.texi:26816
  40080. msgid "contents and zone contents and applying it to the current zone contents,"
  40081. msgstr ""
  40082. #. type: item
  40083. #: guix-git/doc/guix.texi:26816
  40084. #, no-wrap
  40085. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  40086. msgstr ""
  40087. #. type: itemize
  40088. #: guix-git/doc/guix.texi:26819
  40089. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  40090. msgstr ""
  40091. #. type: item
  40092. #: guix-git/doc/guix.texi:26819
  40093. #, no-wrap
  40094. msgid "@code{'whole} for loading zone contents from the zone file."
  40095. msgstr ""
  40096. #. type: item
  40097. #: guix-git/doc/guix.texi:26822
  40098. #, no-wrap
  40099. msgid "@code{journal-content} (default: @code{#f})"
  40100. msgstr ""
  40101. #. type: table
  40102. #: guix-git/doc/guix.texi:26827
  40103. 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."
  40104. msgstr ""
  40105. #. type: item
  40106. #: guix-git/doc/guix.texi:26828
  40107. #, no-wrap
  40108. msgid "@code{max-journal-usage} (default: @code{#f})"
  40109. msgstr ""
  40110. #. type: table
  40111. #: guix-git/doc/guix.texi:26831
  40112. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  40113. msgstr ""
  40114. #. type: item
  40115. #: guix-git/doc/guix.texi:26832
  40116. #, no-wrap
  40117. msgid "@code{max-journal-depth} (default: @code{#f})"
  40118. msgstr ""
  40119. #. type: table
  40120. #: guix-git/doc/guix.texi:26835
  40121. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  40122. msgstr ""
  40123. #. type: item
  40124. #: guix-git/doc/guix.texi:26836
  40125. #, no-wrap
  40126. msgid "@code{max-zone-size} (default: @code{#f})"
  40127. msgstr ""
  40128. #. type: table
  40129. #: guix-git/doc/guix.texi:26840
  40130. 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."
  40131. msgstr ""
  40132. #. type: item
  40133. #: guix-git/doc/guix.texi:26841
  40134. #, no-wrap
  40135. msgid "@code{dnssec-policy} (default: @code{#f})"
  40136. msgstr ""
  40137. #. type: table
  40138. #: guix-git/doc/guix.texi:26845
  40139. 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."
  40140. msgstr ""
  40141. #. type: item
  40142. #: guix-git/doc/guix.texi:26846
  40143. #, no-wrap
  40144. msgid "@code{serial-policy} (default: @code{'increment})"
  40145. msgstr ""
  40146. #. type: table
  40147. #: guix-git/doc/guix.texi:26848
  40148. msgid "A policy between @code{'increment} and @code{'unixtime}."
  40149. msgstr ""
  40150. #. type: deftp
  40151. #: guix-git/doc/guix.texi:26852
  40152. #, no-wrap
  40153. msgid "{Data Type} knot-configuration"
  40154. msgstr ""
  40155. #. type: deftp
  40156. #: guix-git/doc/guix.texi:26855
  40157. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  40158. msgstr ""
  40159. #. type: item
  40160. #: guix-git/doc/guix.texi:26857
  40161. #, no-wrap
  40162. msgid "@code{knot} (default: @code{knot})"
  40163. msgstr ""
  40164. #. type: table
  40165. #: guix-git/doc/guix.texi:26859
  40166. msgid "The Knot package."
  40167. msgstr ""
  40168. #. type: item
  40169. #: guix-git/doc/guix.texi:26860
  40170. #, no-wrap
  40171. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  40172. msgstr ""
  40173. #. type: table
  40174. #: guix-git/doc/guix.texi:26862
  40175. msgid "The run directory. This directory will be used for pid file and sockets."
  40176. msgstr ""
  40177. #. type: item
  40178. #: guix-git/doc/guix.texi:26863
  40179. #, no-wrap
  40180. msgid "@code{includes} (default: @code{'()})"
  40181. msgstr ""
  40182. #. type: table
  40183. #: guix-git/doc/guix.texi:26866
  40184. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  40185. msgstr ""
  40186. #. type: cindex
  40187. #: guix-git/doc/guix.texi:26867
  40188. #, no-wrap
  40189. msgid "secrets, Knot service"
  40190. msgstr ""
  40191. #. type: table
  40192. #: guix-git/doc/guix.texi:26873
  40193. 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."
  40194. msgstr ""
  40195. #. type: table
  40196. #: guix-git/doc/guix.texi:26878
  40197. 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:"
  40198. msgstr ""
  40199. #. type: example
  40200. #: guix-git/doc/guix.texi:26882
  40201. #, no-wrap
  40202. msgid ""
  40203. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  40204. "chmod 600 /etc/knot/secrets.conf\n"
  40205. msgstr ""
  40206. #. type: table
  40207. #: guix-git/doc/guix.texi:26888
  40208. 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."
  40209. msgstr ""
  40210. #. type: table
  40211. #: guix-git/doc/guix.texi:26890
  40212. msgid "It can also be used to add configuration not supported by this interface."
  40213. msgstr ""
  40214. #. type: item
  40215. #: guix-git/doc/guix.texi:26891
  40216. #, no-wrap
  40217. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  40218. msgstr ""
  40219. #. type: table
  40220. #: guix-git/doc/guix.texi:26893 guix-git/doc/guix.texi:26896
  40221. msgid "An ip address on which to listen."
  40222. msgstr ""
  40223. #. type: item
  40224. #: guix-git/doc/guix.texi:26894
  40225. #, no-wrap
  40226. msgid "@code{listen-v6} (default: @code{\"::\"})"
  40227. msgstr ""
  40228. #. type: item
  40229. #: guix-git/doc/guix.texi:26897
  40230. #, no-wrap
  40231. msgid "@code{listen-port} (default: @code{53})"
  40232. msgstr ""
  40233. #. type: table
  40234. #: guix-git/doc/guix.texi:26899
  40235. msgid "A port on which to listen."
  40236. msgstr ""
  40237. #. type: item
  40238. #: guix-git/doc/guix.texi:26900
  40239. #, no-wrap
  40240. msgid "@code{keys} (default: @code{'()})"
  40241. msgstr ""
  40242. #. type: table
  40243. #: guix-git/doc/guix.texi:26902
  40244. msgid "The list of knot-key-configuration used by this configuration."
  40245. msgstr ""
  40246. #. type: item
  40247. #: guix-git/doc/guix.texi:26903
  40248. #, no-wrap
  40249. msgid "@code{acls} (default: @code{'()})"
  40250. msgstr ""
  40251. #. type: table
  40252. #: guix-git/doc/guix.texi:26905
  40253. msgid "The list of knot-acl-configuration used by this configuration."
  40254. msgstr ""
  40255. #. type: item
  40256. #: guix-git/doc/guix.texi:26906
  40257. #, no-wrap
  40258. msgid "@code{remotes} (default: @code{'()})"
  40259. msgstr ""
  40260. #. type: table
  40261. #: guix-git/doc/guix.texi:26908
  40262. msgid "The list of knot-remote-configuration used by this configuration."
  40263. msgstr ""
  40264. #. type: item
  40265. #: guix-git/doc/guix.texi:26909
  40266. #, no-wrap
  40267. msgid "@code{zones} (default: @code{'()})"
  40268. msgstr ""
  40269. #. type: table
  40270. #: guix-git/doc/guix.texi:26911
  40271. msgid "The list of knot-zone-configuration used by this configuration."
  40272. msgstr ""
  40273. #. type: subsubheading
  40274. #: guix-git/doc/guix.texi:26915
  40275. #, no-wrap
  40276. msgid "Knot Resolver Service"
  40277. msgstr ""
  40278. #. type: deffn
  40279. #: guix-git/doc/guix.texi:26917
  40280. #, no-wrap
  40281. msgid "{Scheme Variable} knot-resolver-service-type"
  40282. msgstr ""
  40283. #. type: deffn
  40284. #: guix-git/doc/guix.texi:26920
  40285. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  40286. msgstr ""
  40287. #. type: lisp
  40288. #: guix-git/doc/guix.texi:26930
  40289. #, no-wrap
  40290. msgid ""
  40291. "(service knot-resolver-service-type\n"
  40292. " (knot-resolver-configuration\n"
  40293. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  40294. "net.listen('192.168.0.1', 5353)\n"
  40295. "user('knot-resolver', 'knot-resolver')\n"
  40296. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  40297. "cache.size = 100 * MB\n"
  40298. "\"))))\n"
  40299. msgstr ""
  40300. #. type: deffn
  40301. #: guix-git/doc/guix.texi:26933
  40302. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  40303. msgstr ""
  40304. #. type: deftp
  40305. #: guix-git/doc/guix.texi:26935
  40306. #, no-wrap
  40307. msgid "{Data Type} knot-resolver-configuration"
  40308. msgstr ""
  40309. #. type: deftp
  40310. #: guix-git/doc/guix.texi:26937
  40311. msgid "Data type representing the configuration of knot-resolver."
  40312. msgstr ""
  40313. #. type: item
  40314. #: guix-git/doc/guix.texi:26939
  40315. #, no-wrap
  40316. msgid "@code{package} (default: @var{knot-resolver})"
  40317. msgstr ""
  40318. #. type: table
  40319. #: guix-git/doc/guix.texi:26941
  40320. msgid "Package object of the knot DNS resolver."
  40321. msgstr ""
  40322. #. type: item
  40323. #: guix-git/doc/guix.texi:26942
  40324. #, no-wrap
  40325. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  40326. msgstr ""
  40327. #. type: table
  40328. #: guix-git/doc/guix.texi:26945
  40329. 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}."
  40330. msgstr ""
  40331. #. type: item
  40332. #: guix-git/doc/guix.texi:26946
  40333. #, no-wrap
  40334. msgid "@code{garbage-collection-interval} (default: 1000)"
  40335. msgstr ""
  40336. #. type: table
  40337. #: guix-git/doc/guix.texi:26948
  40338. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  40339. msgstr ""
  40340. #. type: subsubheading
  40341. #: guix-git/doc/guix.texi:26953
  40342. #, no-wrap
  40343. msgid "Dnsmasq Service"
  40344. msgstr ""
  40345. #. type: deffn
  40346. #: guix-git/doc/guix.texi:26955
  40347. #, no-wrap
  40348. msgid "{Scheme Variable} dnsmasq-service-type"
  40349. msgstr ""
  40350. #. type: deffn
  40351. #: guix-git/doc/guix.texi:26958
  40352. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  40353. msgstr ""
  40354. #. type: lisp
  40355. #: guix-git/doc/guix.texi:26964
  40356. #, no-wrap
  40357. msgid ""
  40358. "(service dnsmasq-service-type\n"
  40359. " (dnsmasq-configuration\n"
  40360. " (no-resolv? #t)\n"
  40361. " (servers '(\"192.168.1.1\"))))\n"
  40362. msgstr ""
  40363. #. type: deftp
  40364. #: guix-git/doc/guix.texi:26967
  40365. #, no-wrap
  40366. msgid "{Data Type} dnsmasq-configuration"
  40367. msgstr ""
  40368. #. type: deftp
  40369. #: guix-git/doc/guix.texi:26969
  40370. msgid "Data type representing the configuration of dnsmasq."
  40371. msgstr ""
  40372. #. type: item
  40373. #: guix-git/doc/guix.texi:26971
  40374. #, no-wrap
  40375. msgid "@code{package} (default: @var{dnsmasq})"
  40376. msgstr ""
  40377. #. type: table
  40378. #: guix-git/doc/guix.texi:26973
  40379. msgid "Package object of the dnsmasq server."
  40380. msgstr ""
  40381. #. type: item
  40382. #: guix-git/doc/guix.texi:26974
  40383. #, no-wrap
  40384. msgid "@code{no-hosts?} (default: @code{#f})"
  40385. msgstr ""
  40386. #. type: table
  40387. #: guix-git/doc/guix.texi:26976
  40388. msgid "When true, don't read the hostnames in /etc/hosts."
  40389. msgstr ""
  40390. #. type: item
  40391. #: guix-git/doc/guix.texi:26977
  40392. #, no-wrap
  40393. msgid "@code{port} (default: @code{53})"
  40394. msgstr ""
  40395. #. type: table
  40396. #: guix-git/doc/guix.texi:26980
  40397. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  40398. msgstr ""
  40399. #. type: item
  40400. #: guix-git/doc/guix.texi:26981
  40401. #, no-wrap
  40402. msgid "@code{local-service?} (default: @code{#t})"
  40403. msgstr ""
  40404. #. type: table
  40405. #: guix-git/doc/guix.texi:26984
  40406. 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."
  40407. msgstr ""
  40408. #. type: item
  40409. #: guix-git/doc/guix.texi:26985
  40410. #, no-wrap
  40411. msgid "@code{listen-addresses} (default: @code{'()})"
  40412. msgstr ""
  40413. #. type: table
  40414. #: guix-git/doc/guix.texi:26987
  40415. msgid "Listen on the given IP addresses."
  40416. msgstr ""
  40417. #. type: item
  40418. #: guix-git/doc/guix.texi:26988
  40419. #, no-wrap
  40420. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  40421. msgstr ""
  40422. #. type: table
  40423. #: guix-git/doc/guix.texi:26990
  40424. msgid "The file to read the IP address of the upstream nameservers from."
  40425. msgstr ""
  40426. #. type: item
  40427. #: guix-git/doc/guix.texi:26991
  40428. #, no-wrap
  40429. msgid "@code{no-resolv?} (default: @code{#f})"
  40430. msgstr ""
  40431. #. type: table
  40432. #: guix-git/doc/guix.texi:26993
  40433. msgid "When true, don't read @var{resolv-file}."
  40434. msgstr ""
  40435. #. type: item
  40436. #: guix-git/doc/guix.texi:26994
  40437. #, no-wrap
  40438. msgid "@code{servers} (default: @code{'()})"
  40439. msgstr ""
  40440. #. type: table
  40441. #: guix-git/doc/guix.texi:26996
  40442. msgid "Specify IP address of upstream servers directly."
  40443. msgstr ""
  40444. #. type: item
  40445. #: guix-git/doc/guix.texi:26997
  40446. #, no-wrap
  40447. msgid "@code{addresses} (default: @code{'()})"
  40448. msgstr ""
  40449. #. type: table
  40450. #: guix-git/doc/guix.texi:27001
  40451. 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."
  40452. msgstr ""
  40453. #. type: table
  40454. #: guix-git/doc/guix.texi:27003
  40455. msgid "This is useful for redirecting hosts locally, for example:"
  40456. msgstr ""
  40457. #. type: lisp
  40458. #: guix-git/doc/guix.texi:27012
  40459. #, no-wrap
  40460. msgid ""
  40461. "(service dnsmasq-service-type\n"
  40462. " (dnsmasq-configuration\n"
  40463. " (addresses\n"
  40464. " '(; Redirect to a local web-server.\n"
  40465. " \"/example.org/127.0.0.1\"\n"
  40466. " ; Redirect subdomain to a specific IP.\n"
  40467. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  40468. msgstr ""
  40469. #. type: table
  40470. #: guix-git/doc/guix.texi:27015
  40471. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  40472. msgstr ""
  40473. #. type: item
  40474. #: guix-git/doc/guix.texi:27016
  40475. #, no-wrap
  40476. msgid "@code{cache-size} (default: @code{150})"
  40477. msgstr ""
  40478. #. type: table
  40479. #: guix-git/doc/guix.texi:27019
  40480. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  40481. msgstr ""
  40482. #. type: item
  40483. #: guix-git/doc/guix.texi:27020
  40484. #, no-wrap
  40485. msgid "@code{negative-cache?} (default: @code{#t})"
  40486. msgstr ""
  40487. #. type: table
  40488. #: guix-git/doc/guix.texi:27022
  40489. msgid "When false, disable negative caching."
  40490. msgstr ""
  40491. #. type: item
  40492. #: guix-git/doc/guix.texi:27023
  40493. #, no-wrap
  40494. msgid "@code{tftp-enable?} (default: @code{#f})"
  40495. msgstr ""
  40496. #. type: table
  40497. #: guix-git/doc/guix.texi:27025
  40498. msgid "Whether to enable the built-in TFTP server."
  40499. msgstr ""
  40500. #. type: item
  40501. #: guix-git/doc/guix.texi:27026
  40502. #, no-wrap
  40503. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  40504. msgstr ""
  40505. #. type: table
  40506. #: guix-git/doc/guix.texi:27028
  40507. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  40508. msgstr ""
  40509. #. type: item
  40510. #: guix-git/doc/guix.texi:27029
  40511. #, no-wrap
  40512. msgid "@code{tftp-single-port?} (default: @code{#f})"
  40513. msgstr ""
  40514. #. type: table
  40515. #: guix-git/doc/guix.texi:27031
  40516. msgid "Whether to use only one single port for TFTP."
  40517. msgstr ""
  40518. #. type: item
  40519. #: guix-git/doc/guix.texi:27032
  40520. #, no-wrap
  40521. msgid "@code{tftp-secure?} (default: @code{#f})"
  40522. msgstr ""
  40523. #. type: table
  40524. #: guix-git/doc/guix.texi:27034
  40525. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  40526. msgstr ""
  40527. #. type: table
  40528. #: guix-git/doc/guix.texi:27038
  40529. 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."
  40530. msgstr ""
  40531. #. type: item
  40532. #: guix-git/doc/guix.texi:27039
  40533. #, no-wrap
  40534. msgid "@code{tftp-max} (default: @code{#f})"
  40535. msgstr ""
  40536. #. type: table
  40537. #: guix-git/doc/guix.texi:27041
  40538. msgid "If set, sets the maximal number of concurrent connections allowed."
  40539. msgstr ""
  40540. #. type: item
  40541. #: guix-git/doc/guix.texi:27042
  40542. #, no-wrap
  40543. msgid "@code{tftp-mtu} (default: @code{#f})"
  40544. msgstr ""
  40545. #. type: table
  40546. #: guix-git/doc/guix.texi:27044
  40547. msgid "If set, sets the MTU for TFTP packets to that value."
  40548. msgstr ""
  40549. #. type: item
  40550. #: guix-git/doc/guix.texi:27045
  40551. #, no-wrap
  40552. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  40553. msgstr ""
  40554. #. type: table
  40555. #: guix-git/doc/guix.texi:27047
  40556. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  40557. msgstr ""
  40558. #. type: item
  40559. #: guix-git/doc/guix.texi:27048
  40560. #, no-wrap
  40561. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  40562. msgstr ""
  40563. #. type: table
  40564. #: guix-git/doc/guix.texi:27050
  40565. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  40566. msgstr ""
  40567. #. type: item
  40568. #: guix-git/doc/guix.texi:27051
  40569. #, no-wrap
  40570. msgid "@code{tftp-port-range} (default: @code{#f})"
  40571. msgstr ""
  40572. #. type: table
  40573. #: guix-git/doc/guix.texi:27054
  40574. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  40575. msgstr ""
  40576. #. type: item
  40577. #: guix-git/doc/guix.texi:27055
  40578. #, no-wrap
  40579. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  40580. msgstr ""
  40581. #. type: table
  40582. #: guix-git/doc/guix.texi:27062
  40583. 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."
  40584. msgstr ""
  40585. #. type: item
  40586. #: guix-git/doc/guix.texi:27063
  40587. #, no-wrap
  40588. msgid "@code{tftp-unique-root} (default: @code{#f})"
  40589. msgstr ""
  40590. #. type: table
  40591. #: guix-git/doc/guix.texi:27068
  40592. 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)."
  40593. msgstr ""
  40594. #. type: table
  40595. #: guix-git/doc/guix.texi:27077
  40596. 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."
  40597. msgstr ""
  40598. #. type: subsubheading
  40599. #: guix-git/doc/guix.texi:27081
  40600. #, no-wrap
  40601. msgid "ddclient Service"
  40602. msgstr ""
  40603. #. type: cindex
  40604. #: guix-git/doc/guix.texi:27083
  40605. #, no-wrap
  40606. msgid "ddclient"
  40607. msgstr ""
  40608. #. type: Plain text
  40609. #: guix-git/doc/guix.texi:27087
  40610. 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}."
  40611. msgstr ""
  40612. #. type: Plain text
  40613. #: guix-git/doc/guix.texi:27090
  40614. msgid "The following example show instantiates the service with its default configuration:"
  40615. msgstr ""
  40616. #. type: lisp
  40617. #: guix-git/doc/guix.texi:27093
  40618. #, no-wrap
  40619. msgid "(service ddclient-service-type)\n"
  40620. msgstr ""
  40621. #. type: Plain text
  40622. #: guix-git/doc/guix.texi:27102
  40623. 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."
  40624. msgstr ""
  40625. #. type: Plain text
  40626. #: guix-git/doc/guix.texi:27106
  40627. msgid "Available @code{ddclient-configuration} fields are:"
  40628. msgstr ""
  40629. #. type: deftypevr
  40630. #: guix-git/doc/guix.texi:27107
  40631. #, no-wrap
  40632. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  40633. msgstr ""
  40634. #. type: deftypevr
  40635. #: guix-git/doc/guix.texi:27109
  40636. msgid "The ddclient package."
  40637. msgstr ""
  40638. #. type: deftypevr
  40639. #: guix-git/doc/guix.texi:27112
  40640. #, no-wrap
  40641. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  40642. msgstr ""
  40643. #. type: deftypevr
  40644. #: guix-git/doc/guix.texi:27114
  40645. msgid "The period after which ddclient will retry to check IP and domain name."
  40646. msgstr ""
  40647. #. type: deftypevr
  40648. #: guix-git/doc/guix.texi:27119
  40649. #, no-wrap
  40650. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  40651. msgstr ""
  40652. #. type: deftypevr
  40653. #: guix-git/doc/guix.texi:27121
  40654. msgid "Use syslog for the output."
  40655. msgstr ""
  40656. #. type: deftypevr
  40657. #: guix-git/doc/guix.texi:27126
  40658. #, no-wrap
  40659. msgid "{@code{ddclient-configuration} parameter} string mail"
  40660. msgstr ""
  40661. #. type: deftypevr
  40662. #: guix-git/doc/guix.texi:27128
  40663. msgid "Mail to user."
  40664. msgstr ""
  40665. #. type: deftypevr
  40666. #: guix-git/doc/guix.texi:27130 guix-git/doc/guix.texi:27137
  40667. #: guix-git/doc/guix.texi:28936
  40668. msgid "Defaults to @samp{\"root\"}."
  40669. msgstr ""
  40670. #. type: deftypevr
  40671. #: guix-git/doc/guix.texi:27133
  40672. #, no-wrap
  40673. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  40674. msgstr ""
  40675. #. type: deftypevr
  40676. #: guix-git/doc/guix.texi:27135
  40677. msgid "Mail failed update to user."
  40678. msgstr ""
  40679. #. type: deftypevr
  40680. #: guix-git/doc/guix.texi:27140
  40681. #, no-wrap
  40682. msgid "{@code{ddclient-configuration} parameter} string pid"
  40683. msgstr ""
  40684. #. type: deftypevr
  40685. #: guix-git/doc/guix.texi:27142
  40686. msgid "The ddclient PID file."
  40687. msgstr ""
  40688. #. type: deftypevr
  40689. #: guix-git/doc/guix.texi:27144
  40690. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  40691. msgstr ""
  40692. #. type: deftypevr
  40693. #: guix-git/doc/guix.texi:27147
  40694. #, no-wrap
  40695. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  40696. msgstr ""
  40697. #. type: deftypevr
  40698. #: guix-git/doc/guix.texi:27149
  40699. msgid "Enable SSL support."
  40700. msgstr ""
  40701. #. type: deftypevr
  40702. #: guix-git/doc/guix.texi:27154
  40703. #, no-wrap
  40704. msgid "{@code{ddclient-configuration} parameter} string user"
  40705. msgstr ""
  40706. #. type: deftypevr
  40707. #: guix-git/doc/guix.texi:27157
  40708. msgid "Specifies the user name or ID that is used when running ddclient program."
  40709. msgstr ""
  40710. #. type: deftypevr
  40711. #: guix-git/doc/guix.texi:27159 guix-git/doc/guix.texi:27166
  40712. msgid "Defaults to @samp{\"ddclient\"}."
  40713. msgstr ""
  40714. #. type: deftypevr
  40715. #: guix-git/doc/guix.texi:27162
  40716. #, no-wrap
  40717. msgid "{@code{ddclient-configuration} parameter} string group"
  40718. msgstr ""
  40719. #. type: deftypevr
  40720. #: guix-git/doc/guix.texi:27164
  40721. msgid "Group of the user who will run the ddclient program."
  40722. msgstr ""
  40723. #. type: deftypevr
  40724. #: guix-git/doc/guix.texi:27169
  40725. #, no-wrap
  40726. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  40727. msgstr ""
  40728. #. type: deftypevr
  40729. #: guix-git/doc/guix.texi:27173
  40730. 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."
  40731. msgstr ""
  40732. #. type: deftypevr
  40733. #: guix-git/doc/guix.texi:27175
  40734. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  40735. msgstr ""
  40736. #. type: deftypevr
  40737. #: guix-git/doc/guix.texi:27178
  40738. #, no-wrap
  40739. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  40740. msgstr ""
  40741. #. type: deftypevr
  40742. #: guix-git/doc/guix.texi:27180
  40743. msgid "Extra options will be appended to @file{ddclient.conf} file."
  40744. msgstr ""
  40745. #. type: cindex
  40746. #: guix-git/doc/guix.texi:27191
  40747. #, no-wrap
  40748. msgid "VPN (virtual private network)"
  40749. msgstr ""
  40750. #. type: cindex
  40751. #: guix-git/doc/guix.texi:27192
  40752. #, no-wrap
  40753. msgid "virtual private network (VPN)"
  40754. msgstr ""
  40755. #. type: Plain text
  40756. #: guix-git/doc/guix.texi:27196
  40757. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  40758. msgstr ""
  40759. #. type: subsubheading
  40760. #: guix-git/doc/guix.texi:27197
  40761. #, no-wrap
  40762. msgid "Bitmask"
  40763. msgstr ""
  40764. #. type: defvr
  40765. #: guix-git/doc/guix.texi:27199
  40766. #, no-wrap
  40767. msgid "{Scheme Variable} bitmask-service-type"
  40768. msgstr ""
  40769. #. type: defvr
  40770. #: guix-git/doc/guix.texi:27204
  40771. 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."
  40772. msgstr ""
  40773. #. type: subsubheading
  40774. #: guix-git/doc/guix.texi:27206
  40775. #, no-wrap
  40776. msgid "OpenVPN"
  40777. msgstr ""
  40778. #. type: Plain text
  40779. #: guix-git/doc/guix.texi:27210
  40780. 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@."
  40781. msgstr ""
  40782. #. type: deffn
  40783. #: guix-git/doc/guix.texi:27211
  40784. #, no-wrap
  40785. msgid "{Scheme Procedure} openvpn-client-service @"
  40786. msgstr ""
  40787. #. type: deffn
  40788. #: guix-git/doc/guix.texi:27213
  40789. msgid "[#:config (openvpn-client-configuration)]"
  40790. msgstr ""
  40791. #. type: deffn
  40792. #: guix-git/doc/guix.texi:27215
  40793. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  40794. msgstr ""
  40795. #. type: deffn
  40796. #: guix-git/doc/guix.texi:27217
  40797. #, no-wrap
  40798. msgid "{Scheme Procedure} openvpn-server-service @"
  40799. msgstr ""
  40800. #. type: deffn
  40801. #: guix-git/doc/guix.texi:27219
  40802. msgid "[#:config (openvpn-server-configuration)]"
  40803. msgstr ""
  40804. #. type: deffn
  40805. #: guix-git/doc/guix.texi:27221
  40806. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  40807. msgstr ""
  40808. #. type: deffn
  40809. #: guix-git/doc/guix.texi:27223
  40810. msgid "Both can be run simultaneously."
  40811. msgstr ""
  40812. #. type: Plain text
  40813. #: guix-git/doc/guix.texi:27228
  40814. msgid "Available @code{openvpn-client-configuration} fields are:"
  40815. msgstr ""
  40816. #. type: deftypevr
  40817. #: guix-git/doc/guix.texi:27229
  40818. #, no-wrap
  40819. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  40820. msgstr ""
  40821. #. type: deftypevr
  40822. #: guix-git/doc/guix.texi:27231 guix-git/doc/guix.texi:27386
  40823. msgid "The OpenVPN package."
  40824. msgstr ""
  40825. #. type: deftypevr
  40826. #: guix-git/doc/guix.texi:27234
  40827. #, no-wrap
  40828. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  40829. msgstr ""
  40830. #. type: deftypevr
  40831. #: guix-git/doc/guix.texi:27236 guix-git/doc/guix.texi:27391
  40832. msgid "The OpenVPN pid file."
  40833. msgstr ""
  40834. #. type: deftypevr
  40835. #: guix-git/doc/guix.texi:27238 guix-git/doc/guix.texi:27393
  40836. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  40837. msgstr ""
  40838. #. type: deftypevr
  40839. #: guix-git/doc/guix.texi:27241
  40840. #, no-wrap
  40841. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  40842. msgstr ""
  40843. #. type: deftypevr
  40844. #: guix-git/doc/guix.texi:27244 guix-git/doc/guix.texi:27399
  40845. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  40846. msgstr ""
  40847. #. type: deftypevr
  40848. #: guix-git/doc/guix.texi:27246 guix-git/doc/guix.texi:27401
  40849. msgid "Defaults to @samp{udp}."
  40850. msgstr ""
  40851. #. type: deftypevr
  40852. #: guix-git/doc/guix.texi:27249
  40853. #, no-wrap
  40854. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  40855. msgstr ""
  40856. #. type: deftypevr
  40857. #: guix-git/doc/guix.texi:27251 guix-git/doc/guix.texi:27406
  40858. msgid "The device type used to represent the VPN connection."
  40859. msgstr ""
  40860. #. type: deftypevr
  40861. #: guix-git/doc/guix.texi:27253 guix-git/doc/guix.texi:27408
  40862. msgid "Defaults to @samp{tun}."
  40863. msgstr ""
  40864. #. type: Plain text
  40865. #: guix-git/doc/guix.texi:27259 guix-git/doc/guix.texi:27414
  40866. 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}."
  40867. msgstr ""
  40868. #. type: deftypevr
  40869. #: guix-git/doc/guix.texi:27260
  40870. #, no-wrap
  40871. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  40872. msgstr ""
  40873. #. type: deftypevr
  40874. #: guix-git/doc/guix.texi:27262 guix-git/doc/guix.texi:27417
  40875. msgid "The certificate authority to check connections against."
  40876. msgstr ""
  40877. #. type: deftypevr
  40878. #: guix-git/doc/guix.texi:27264 guix-git/doc/guix.texi:27419
  40879. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  40880. msgstr ""
  40881. #. type: deftypevr
  40882. #: guix-git/doc/guix.texi:27267
  40883. #, no-wrap
  40884. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  40885. msgstr ""
  40886. #. type: deftypevr
  40887. #: guix-git/doc/guix.texi:27270 guix-git/doc/guix.texi:27425
  40888. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  40889. msgstr ""
  40890. #. type: deftypevr
  40891. #: guix-git/doc/guix.texi:27272 guix-git/doc/guix.texi:27427
  40892. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  40893. msgstr ""
  40894. #. type: deftypevr
  40895. #: guix-git/doc/guix.texi:27275
  40896. #, no-wrap
  40897. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  40898. msgstr ""
  40899. #. type: deftypevr
  40900. #: guix-git/doc/guix.texi:27278 guix-git/doc/guix.texi:27433
  40901. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  40902. msgstr ""
  40903. #. type: deftypevr
  40904. #: guix-git/doc/guix.texi:27280 guix-git/doc/guix.texi:27435
  40905. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  40906. msgstr ""
  40907. #. type: deftypevr
  40908. #: guix-git/doc/guix.texi:27283
  40909. #, no-wrap
  40910. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  40911. msgstr ""
  40912. #. type: deftypevr
  40913. #: guix-git/doc/guix.texi:27285 guix-git/doc/guix.texi:27440
  40914. msgid "Whether to use the lzo compression algorithm."
  40915. msgstr ""
  40916. #. type: deftypevr
  40917. #: guix-git/doc/guix.texi:27290
  40918. #, no-wrap
  40919. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  40920. msgstr ""
  40921. #. type: deftypevr
  40922. #: guix-git/doc/guix.texi:27292 guix-git/doc/guix.texi:27447
  40923. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  40924. msgstr ""
  40925. #. type: deftypevr
  40926. #: guix-git/doc/guix.texi:27297
  40927. #, no-wrap
  40928. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  40929. msgstr ""
  40930. #. type: deftypevr
  40931. #: guix-git/doc/guix.texi:27300 guix-git/doc/guix.texi:27455
  40932. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  40933. msgstr ""
  40934. #. type: deftypevr
  40935. #: guix-git/doc/guix.texi:27305
  40936. #, no-wrap
  40937. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  40938. msgstr ""
  40939. #. type: deftypevr
  40940. #: guix-git/doc/guix.texi:27308 guix-git/doc/guix.texi:27463
  40941. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  40942. msgstr ""
  40943. #. type: deftypevr
  40944. #: guix-git/doc/guix.texi:27312
  40945. #, no-wrap
  40946. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  40947. msgstr ""
  40948. #. type: deftypevr
  40949. #: guix-git/doc/guix.texi:27314 guix-git/doc/guix.texi:27469
  40950. msgid "Verbosity level."
  40951. msgstr ""
  40952. #. type: deftypevr
  40953. #: guix-git/doc/guix.texi:27316 guix-git/doc/guix.texi:27471
  40954. #: guix-git/doc/guix.texi:29204 guix-git/doc/guix.texi:29428
  40955. msgid "Defaults to @samp{3}."
  40956. msgstr ""
  40957. #. type: deftypevr
  40958. #: guix-git/doc/guix.texi:27319
  40959. #, no-wrap
  40960. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  40961. msgstr ""
  40962. #. type: deftypevr
  40963. #: guix-git/doc/guix.texi:27322 guix-git/doc/guix.texi:27477
  40964. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  40965. msgstr ""
  40966. #. type: deftypevr
  40967. #: guix-git/doc/guix.texi:27327
  40968. #, no-wrap
  40969. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  40970. msgstr ""
  40971. #. type: deftypevr
  40972. #: guix-git/doc/guix.texi:27331
  40973. 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."
  40974. msgstr ""
  40975. #. type: deftypevr
  40976. #: guix-git/doc/guix.texi:27333
  40977. msgid "Defaults to @samp{'disabled}."
  40978. msgstr ""
  40979. #. type: deftypevr
  40980. #: guix-git/doc/guix.texi:27335
  40981. #, no-wrap
  40982. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  40983. msgstr ""
  40984. #. type: deftypevr
  40985. #: guix-git/doc/guix.texi:27337
  40986. msgid "Whether to check the server certificate has server usage extension."
  40987. msgstr ""
  40988. #. type: deftypevr
  40989. #: guix-git/doc/guix.texi:27342
  40990. #, no-wrap
  40991. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  40992. msgstr ""
  40993. #. type: deftypevr
  40994. #: guix-git/doc/guix.texi:27344
  40995. msgid "Bind to a specific local port number."
  40996. msgstr ""
  40997. #. type: deftypevr
  40998. #: guix-git/doc/guix.texi:27349
  40999. #, no-wrap
  41000. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  41001. msgstr ""
  41002. #. type: deftypevr
  41003. #: guix-git/doc/guix.texi:27351
  41004. msgid "Retry resolving server address."
  41005. msgstr ""
  41006. #. type: deftypevr
  41007. #: guix-git/doc/guix.texi:27356
  41008. #, no-wrap
  41009. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  41010. msgstr ""
  41011. #. type: deftypevr
  41012. #: guix-git/doc/guix.texi:27358
  41013. msgid "A list of remote servers to connect to."
  41014. msgstr ""
  41015. #. type: deftypevr
  41016. #: guix-git/doc/guix.texi:27362
  41017. msgid "Available @code{openvpn-remote-configuration} fields are:"
  41018. msgstr ""
  41019. #. type: deftypevr
  41020. #: guix-git/doc/guix.texi:27363
  41021. #, no-wrap
  41022. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  41023. msgstr ""
  41024. #. type: deftypevr
  41025. #: guix-git/doc/guix.texi:27365
  41026. msgid "Server name."
  41027. msgstr ""
  41028. #. type: deftypevr
  41029. #: guix-git/doc/guix.texi:27367
  41030. msgid "Defaults to @samp{\"my-server\"}."
  41031. msgstr ""
  41032. #. type: deftypevr
  41033. #: guix-git/doc/guix.texi:27370
  41034. #, no-wrap
  41035. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  41036. msgstr ""
  41037. #. type: deftypevr
  41038. #: guix-git/doc/guix.texi:27372
  41039. msgid "Port number the server listens to."
  41040. msgstr ""
  41041. #. type: deftypevr
  41042. #: guix-git/doc/guix.texi:27374 guix-git/doc/guix.texi:27486
  41043. msgid "Defaults to @samp{1194}."
  41044. msgstr ""
  41045. #. type: Plain text
  41046. #: guix-git/doc/guix.texi:27383
  41047. msgid "Available @code{openvpn-server-configuration} fields are:"
  41048. msgstr ""
  41049. #. type: deftypevr
  41050. #: guix-git/doc/guix.texi:27384
  41051. #, no-wrap
  41052. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  41053. msgstr ""
  41054. #. type: deftypevr
  41055. #: guix-git/doc/guix.texi:27389
  41056. #, no-wrap
  41057. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  41058. msgstr ""
  41059. #. type: deftypevr
  41060. #: guix-git/doc/guix.texi:27396
  41061. #, no-wrap
  41062. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  41063. msgstr ""
  41064. #. type: deftypevr
  41065. #: guix-git/doc/guix.texi:27404
  41066. #, no-wrap
  41067. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  41068. msgstr ""
  41069. #. type: deftypevr
  41070. #: guix-git/doc/guix.texi:27415
  41071. #, no-wrap
  41072. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  41073. msgstr ""
  41074. #. type: deftypevr
  41075. #: guix-git/doc/guix.texi:27422
  41076. #, no-wrap
  41077. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  41078. msgstr ""
  41079. #. type: deftypevr
  41080. #: guix-git/doc/guix.texi:27430
  41081. #, no-wrap
  41082. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  41083. msgstr ""
  41084. #. type: deftypevr
  41085. #: guix-git/doc/guix.texi:27438
  41086. #, no-wrap
  41087. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  41088. msgstr ""
  41089. #. type: deftypevr
  41090. #: guix-git/doc/guix.texi:27445
  41091. #, no-wrap
  41092. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  41093. msgstr ""
  41094. #. type: deftypevr
  41095. #: guix-git/doc/guix.texi:27452
  41096. #, no-wrap
  41097. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  41098. msgstr ""
  41099. #. type: deftypevr
  41100. #: guix-git/doc/guix.texi:27460
  41101. #, no-wrap
  41102. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  41103. msgstr ""
  41104. #. type: deftypevr
  41105. #: guix-git/doc/guix.texi:27467
  41106. #, no-wrap
  41107. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  41108. msgstr ""
  41109. #. type: deftypevr
  41110. #: guix-git/doc/guix.texi:27474
  41111. #, no-wrap
  41112. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  41113. msgstr ""
  41114. #. type: deftypevr
  41115. #: guix-git/doc/guix.texi:27482
  41116. #, no-wrap
  41117. msgid "{@code{openvpn-server-configuration} parameter} number port"
  41118. msgstr ""
  41119. #. type: deftypevr
  41120. #: guix-git/doc/guix.texi:27484
  41121. msgid "Specifies the port number on which the server listens."
  41122. msgstr ""
  41123. #. type: deftypevr
  41124. #: guix-git/doc/guix.texi:27489
  41125. #, no-wrap
  41126. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  41127. msgstr ""
  41128. #. type: deftypevr
  41129. #: guix-git/doc/guix.texi:27491
  41130. msgid "An ip and mask specifying the subnet inside the virtual network."
  41131. msgstr ""
  41132. #. type: deftypevr
  41133. #: guix-git/doc/guix.texi:27493
  41134. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  41135. msgstr ""
  41136. #. type: deftypevr
  41137. #: guix-git/doc/guix.texi:27496
  41138. #, no-wrap
  41139. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  41140. msgstr ""
  41141. #. type: deftypevr
  41142. #: guix-git/doc/guix.texi:27498
  41143. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  41144. msgstr ""
  41145. #. type: deftypevr
  41146. #: guix-git/doc/guix.texi:27503
  41147. #, no-wrap
  41148. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  41149. msgstr ""
  41150. #. type: deftypevr
  41151. #: guix-git/doc/guix.texi:27505
  41152. msgid "The Diffie-Hellman parameters file."
  41153. msgstr ""
  41154. #. type: deftypevr
  41155. #: guix-git/doc/guix.texi:27507
  41156. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  41157. msgstr ""
  41158. #. type: deftypevr
  41159. #: guix-git/doc/guix.texi:27510
  41160. #, no-wrap
  41161. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  41162. msgstr ""
  41163. #. type: deftypevr
  41164. #: guix-git/doc/guix.texi:27512
  41165. msgid "The file that records client IPs."
  41166. msgstr ""
  41167. #. type: deftypevr
  41168. #: guix-git/doc/guix.texi:27514
  41169. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  41170. msgstr ""
  41171. #. type: deftypevr
  41172. #: guix-git/doc/guix.texi:27517
  41173. #, no-wrap
  41174. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  41175. msgstr ""
  41176. #. type: deftypevr
  41177. #: guix-git/doc/guix.texi:27519
  41178. msgid "When true, the server will act as a gateway for its clients."
  41179. msgstr ""
  41180. #. type: deftypevr
  41181. #: guix-git/doc/guix.texi:27524
  41182. #, no-wrap
  41183. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  41184. msgstr ""
  41185. #. type: deftypevr
  41186. #: guix-git/doc/guix.texi:27526
  41187. msgid "When true, clients are allowed to talk to each other inside the VPN."
  41188. msgstr ""
  41189. #. type: deftypevr
  41190. #: guix-git/doc/guix.texi:27531
  41191. #, no-wrap
  41192. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  41193. msgstr ""
  41194. #. type: deftypevr
  41195. #: guix-git/doc/guix.texi:27537
  41196. 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."
  41197. msgstr ""
  41198. #. type: deftypevr
  41199. #: guix-git/doc/guix.texi:27540
  41200. #, no-wrap
  41201. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  41202. msgstr ""
  41203. #. type: deftypevr
  41204. #: guix-git/doc/guix.texi:27542
  41205. msgid "The maximum number of clients."
  41206. msgstr ""
  41207. #. type: deftypevr
  41208. #: guix-git/doc/guix.texi:27547
  41209. #, no-wrap
  41210. msgid "{@code{openvpn-server-configuration} parameter} string status"
  41211. msgstr ""
  41212. #. type: deftypevr
  41213. #: guix-git/doc/guix.texi:27550
  41214. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  41215. msgstr ""
  41216. #. type: deftypevr
  41217. #: guix-git/doc/guix.texi:27552
  41218. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  41219. msgstr ""
  41220. #. type: deftypevr
  41221. #: guix-git/doc/guix.texi:27555
  41222. #, no-wrap
  41223. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  41224. msgstr ""
  41225. #. type: deftypevr
  41226. #: guix-git/doc/guix.texi:27557
  41227. msgid "The list of configuration for some clients."
  41228. msgstr ""
  41229. #. type: deftypevr
  41230. #: guix-git/doc/guix.texi:27561
  41231. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  41232. msgstr ""
  41233. #. type: deftypevr
  41234. #: guix-git/doc/guix.texi:27562
  41235. #, no-wrap
  41236. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  41237. msgstr ""
  41238. #. type: deftypevr
  41239. #: guix-git/doc/guix.texi:27564
  41240. msgid "Client name."
  41241. msgstr ""
  41242. #. type: deftypevr
  41243. #: guix-git/doc/guix.texi:27566
  41244. msgid "Defaults to @samp{\"client\"}."
  41245. msgstr ""
  41246. #. type: deftypevr
  41247. #: guix-git/doc/guix.texi:27569
  41248. #, no-wrap
  41249. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  41250. msgstr ""
  41251. #. type: deftypevr
  41252. #: guix-git/doc/guix.texi:27571
  41253. msgid "Client own network"
  41254. msgstr ""
  41255. #. type: deftypevr
  41256. #: guix-git/doc/guix.texi:27576
  41257. #, no-wrap
  41258. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  41259. msgstr ""
  41260. #. type: deftypevr
  41261. #: guix-git/doc/guix.texi:27578
  41262. msgid "Client VPN IP."
  41263. msgstr ""
  41264. #. type: subheading
  41265. #: guix-git/doc/guix.texi:27587
  41266. #, no-wrap
  41267. msgid "strongSwan"
  41268. msgstr ""
  41269. #. type: Plain text
  41270. #: guix-git/doc/guix.texi:27591
  41271. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  41272. msgstr ""
  41273. #. type: defvr
  41274. #: guix-git/doc/guix.texi:27592
  41275. #, no-wrap
  41276. msgid "{Scheme Variable} strongswan-service-type"
  41277. msgstr ""
  41278. #. type: defvr
  41279. #: guix-git/doc/guix.texi:27596
  41280. 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:"
  41281. msgstr ""
  41282. #. type: lisp
  41283. #: guix-git/doc/guix.texi:27602
  41284. #, no-wrap
  41285. msgid ""
  41286. "(service strongswan-service-type\n"
  41287. " (strongswan-configuration\n"
  41288. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  41289. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  41290. msgstr ""
  41291. #. type: deftp
  41292. #: guix-git/doc/guix.texi:27606
  41293. #, no-wrap
  41294. msgid "{Data Type} strongswan-configuration"
  41295. msgstr ""
  41296. #. type: deftp
  41297. #: guix-git/doc/guix.texi:27608
  41298. msgid "Data type representing the configuration of the StrongSwan service."
  41299. msgstr ""
  41300. #. type: code{#1}
  41301. #: guix-git/doc/guix.texi:27610
  41302. #, no-wrap
  41303. msgid "strongswan"
  41304. msgstr ""
  41305. #. type: table
  41306. #: guix-git/doc/guix.texi:27612
  41307. msgid "The strongSwan package to use for this service."
  41308. msgstr ""
  41309. #. type: item
  41310. #: guix-git/doc/guix.texi:27613
  41311. #, no-wrap
  41312. msgid "@code{ipsec-conf} (default: @code{#f})"
  41313. msgstr ""
  41314. #. type: table
  41315. #: guix-git/doc/guix.texi:27616
  41316. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  41317. msgstr ""
  41318. #. type: item
  41319. #: guix-git/doc/guix.texi:27617
  41320. #, no-wrap
  41321. msgid "@code{ipsec-secrets} (default @code{#f})"
  41322. msgstr ""
  41323. #. type: table
  41324. #: guix-git/doc/guix.texi:27620
  41325. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  41326. msgstr ""
  41327. #. type: subsubheading
  41328. #: guix-git/doc/guix.texi:27624
  41329. #, no-wrap
  41330. msgid "Wireguard"
  41331. msgstr ""
  41332. #. type: defvr
  41333. #: guix-git/doc/guix.texi:27626
  41334. #, no-wrap
  41335. msgid "{Scheme Variable} wireguard-service-type"
  41336. msgstr ""
  41337. #. type: defvr
  41338. #: guix-git/doc/guix.texi:27629
  41339. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  41340. msgstr ""
  41341. #. type: lisp
  41342. #: guix-git/doc/guix.texi:27640
  41343. #, no-wrap
  41344. msgid ""
  41345. "(service wireguard-service-type\n"
  41346. " (wireguard-configuration\n"
  41347. " (peers\n"
  41348. " (list\n"
  41349. " (wireguard-peer\n"
  41350. " (name \"my-peer\")\n"
  41351. " (endpoint \"my.wireguard.com:51820\")\n"
  41352. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  41353. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  41354. msgstr ""
  41355. #. type: deftp
  41356. #: guix-git/doc/guix.texi:27644
  41357. #, no-wrap
  41358. msgid "{Data Type} wireguard-configuration"
  41359. msgstr ""
  41360. #. type: deftp
  41361. #: guix-git/doc/guix.texi:27646
  41362. msgid "Data type representing the configuration of the Wireguard service."
  41363. msgstr ""
  41364. #. type: code{#1}
  41365. #: guix-git/doc/guix.texi:27648
  41366. #, no-wrap
  41367. msgid "wireguard"
  41368. msgstr ""
  41369. #. type: table
  41370. #: guix-git/doc/guix.texi:27650
  41371. msgid "The wireguard package to use for this service."
  41372. msgstr ""
  41373. #. type: item
  41374. #: guix-git/doc/guix.texi:27651
  41375. #, no-wrap
  41376. msgid "@code{interface} (default: @code{\"wg0\"})"
  41377. msgstr ""
  41378. #. type: table
  41379. #: guix-git/doc/guix.texi:27653
  41380. msgid "The interface name for the VPN."
  41381. msgstr ""
  41382. #. type: item
  41383. #: guix-git/doc/guix.texi:27654
  41384. #, no-wrap
  41385. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  41386. msgstr ""
  41387. #. type: table
  41388. #: guix-git/doc/guix.texi:27656
  41389. msgid "The IP addresses to be assigned to the above interface."
  41390. msgstr ""
  41391. #. type: item
  41392. #: guix-git/doc/guix.texi:27657
  41393. #, no-wrap
  41394. msgid "@code{port} (default: @code{51820})"
  41395. msgstr ""
  41396. #. type: table
  41397. #: guix-git/doc/guix.texi:27659
  41398. msgid "The port on which to listen for incoming connections."
  41399. msgstr ""
  41400. #. type: item
  41401. #: guix-git/doc/guix.texi:27660
  41402. #, no-wrap
  41403. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  41404. msgstr ""
  41405. #. type: table
  41406. #: guix-git/doc/guix.texi:27663
  41407. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  41408. msgstr ""
  41409. #. type: item
  41410. #: guix-git/doc/guix.texi:27664
  41411. #, no-wrap
  41412. msgid "@code{peers} (default: @code{'()})"
  41413. msgstr ""
  41414. #. type: table
  41415. #: guix-git/doc/guix.texi:27667
  41416. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  41417. msgstr ""
  41418. #. type: deftp
  41419. #: guix-git/doc/guix.texi:27671
  41420. #, no-wrap
  41421. msgid "{Data Type} wireguard-peer"
  41422. msgstr ""
  41423. #. type: deftp
  41424. #: guix-git/doc/guix.texi:27673
  41425. msgid "Data type representing a Wireguard peer attached to a given interface."
  41426. msgstr ""
  41427. #. type: table
  41428. #: guix-git/doc/guix.texi:27677
  41429. msgid "The peer name."
  41430. msgstr ""
  41431. #. type: item
  41432. #: guix-git/doc/guix.texi:27678
  41433. #, no-wrap
  41434. msgid "@code{endpoint} (default: @code{#f})"
  41435. msgstr ""
  41436. #. type: table
  41437. #: guix-git/doc/guix.texi:27681
  41438. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  41439. msgstr ""
  41440. #. type: itemx
  41441. #: guix-git/doc/guix.texi:27682 guix-git/doc/guix.texi:28077
  41442. #: guix-git/doc/guix.texi:28114 guix-git/doc/guix.texi:33177
  41443. #, no-wrap
  41444. msgid "public-key"
  41445. msgstr ""
  41446. #. type: table
  41447. #: guix-git/doc/guix.texi:27684
  41448. msgid "The peer public-key represented as a base64 string."
  41449. msgstr ""
  41450. #. type: code{#1}
  41451. #: guix-git/doc/guix.texi:27685
  41452. #, no-wrap
  41453. msgid "allowed-ips"
  41454. msgstr ""
  41455. #. type: table
  41456. #: guix-git/doc/guix.texi:27688
  41457. 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."
  41458. msgstr ""
  41459. #. type: item
  41460. #: guix-git/doc/guix.texi:27689
  41461. #, no-wrap
  41462. msgid "@code{keep-alive} (default: @code{#f})"
  41463. msgstr ""
  41464. #. type: table
  41465. #: guix-git/doc/guix.texi:27694
  41466. 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."
  41467. msgstr ""
  41468. #. type: cindex
  41469. #: guix-git/doc/guix.texi:27700
  41470. #, no-wrap
  41471. msgid "NFS"
  41472. msgstr ""
  41473. #. type: Plain text
  41474. #: guix-git/doc/guix.texi:27705
  41475. 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)."
  41476. msgstr ""
  41477. #. type: Plain text
  41478. #: guix-git/doc/guix.texi:27709
  41479. 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}."
  41480. msgstr ""
  41481. #. type: subsubheading
  41482. #: guix-git/doc/guix.texi:27710
  41483. #, no-wrap
  41484. msgid "NFS Service"
  41485. msgstr ""
  41486. #. type: cindex
  41487. #: guix-git/doc/guix.texi:27711
  41488. #, no-wrap
  41489. msgid "NFS, server"
  41490. msgstr ""
  41491. #. type: Plain text
  41492. #: guix-git/doc/guix.texi:27716
  41493. 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."
  41494. msgstr ""
  41495. #. type: defvr
  41496. #: guix-git/doc/guix.texi:27717
  41497. #, no-wrap
  41498. msgid "{Scheme Variable} nfs-service-type"
  41499. msgstr ""
  41500. #. type: defvr
  41501. #: guix-git/doc/guix.texi:27719
  41502. msgid "A service type for a complete NFS server."
  41503. msgstr ""
  41504. #. type: deftp
  41505. #: guix-git/doc/guix.texi:27721
  41506. #, no-wrap
  41507. msgid "{Data Type} nfs-configuration"
  41508. msgstr ""
  41509. #. type: deftp
  41510. #: guix-git/doc/guix.texi:27724
  41511. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  41512. msgstr ""
  41513. #. type: deftp
  41514. #: guix-git/doc/guix.texi:27726
  41515. msgid "It has the following parameters:"
  41516. msgstr ""
  41517. #. type: item
  41518. #: guix-git/doc/guix.texi:27727 guix-git/doc/guix.texi:27852
  41519. #: guix-git/doc/guix.texi:27877
  41520. #, no-wrap
  41521. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  41522. msgstr ""
  41523. #. type: table
  41524. #: guix-git/doc/guix.texi:27729
  41525. msgid "The nfs-utils package to use."
  41526. msgstr ""
  41527. #. type: item
  41528. #: guix-git/doc/guix.texi:27730
  41529. #, no-wrap
  41530. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  41531. msgstr ""
  41532. #. type: table
  41533. #: guix-git/doc/guix.texi:27733
  41534. 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."
  41535. msgstr ""
  41536. #. type: item
  41537. #: guix-git/doc/guix.texi:27734
  41538. #, no-wrap
  41539. msgid "@code{exports} (default: @code{'()})"
  41540. msgstr ""
  41541. #. type: table
  41542. #: guix-git/doc/guix.texi:27739
  41543. 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:"
  41544. msgstr ""
  41545. #. type: lisp
  41546. #: guix-git/doc/guix.texi:27745
  41547. #, no-wrap
  41548. msgid ""
  41549. "(nfs-configuration\n"
  41550. " (exports\n"
  41551. " '((\"/export\"\n"
  41552. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  41553. msgstr ""
  41554. #. type: item
  41555. #: guix-git/doc/guix.texi:27747
  41556. #, no-wrap
  41557. msgid "@code{rpcmountd-port} (default: @code{#f})"
  41558. msgstr ""
  41559. #. type: table
  41560. #: guix-git/doc/guix.texi:27749
  41561. msgid "The network port that the @command{rpc.mountd} daemon should use."
  41562. msgstr ""
  41563. #. type: item
  41564. #: guix-git/doc/guix.texi:27750
  41565. #, no-wrap
  41566. msgid "@code{rpcstatd-port} (default: @code{#f})"
  41567. msgstr ""
  41568. #. type: table
  41569. #: guix-git/doc/guix.texi:27752
  41570. msgid "The network port that the @command{rpc.statd} daemon should use."
  41571. msgstr ""
  41572. #. type: item
  41573. #: guix-git/doc/guix.texi:27753 guix-git/doc/guix.texi:27801
  41574. #, no-wrap
  41575. msgid "@code{rpcbind} (default: @code{rpcbind})"
  41576. msgstr ""
  41577. #. type: table
  41578. #: guix-git/doc/guix.texi:27755 guix-git/doc/guix.texi:27803
  41579. msgid "The rpcbind package to use."
  41580. msgstr ""
  41581. #. type: item
  41582. #: guix-git/doc/guix.texi:27756
  41583. #, no-wrap
  41584. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  41585. msgstr ""
  41586. #. type: table
  41587. #: guix-git/doc/guix.texi:27758
  41588. msgid "The local NFSv4 domain name."
  41589. msgstr ""
  41590. #. type: item
  41591. #: guix-git/doc/guix.texi:27759
  41592. #, no-wrap
  41593. msgid "@code{nfsd-port} (default: @code{2049})"
  41594. msgstr ""
  41595. #. type: table
  41596. #: guix-git/doc/guix.texi:27761
  41597. msgid "The network port that the @command{nfsd} daemon should use."
  41598. msgstr ""
  41599. #. type: item
  41600. #: guix-git/doc/guix.texi:27762
  41601. #, no-wrap
  41602. msgid "@code{nfsd-threads} (default: @code{8})"
  41603. msgstr ""
  41604. #. type: table
  41605. #: guix-git/doc/guix.texi:27764
  41606. msgid "The number of threads used by the @command{nfsd} daemon."
  41607. msgstr ""
  41608. #. type: item
  41609. #: guix-git/doc/guix.texi:27765
  41610. #, no-wrap
  41611. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  41612. msgstr ""
  41613. #. type: table
  41614. #: guix-git/doc/guix.texi:27767
  41615. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  41616. msgstr ""
  41617. #. type: item
  41618. #: guix-git/doc/guix.texi:27768
  41619. #, no-wrap
  41620. msgid "@code{nfsd-udp?} (default: @code{#f})"
  41621. msgstr ""
  41622. #. type: table
  41623. #: guix-git/doc/guix.texi:27770
  41624. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  41625. msgstr ""
  41626. #. type: item
  41627. #: guix-git/doc/guix.texi:27771 guix-git/doc/guix.texi:27855
  41628. #: guix-git/doc/guix.texi:27880
  41629. #, no-wrap
  41630. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  41631. msgstr ""
  41632. #. type: table
  41633. #: guix-git/doc/guix.texi:27773 guix-git/doc/guix.texi:27857
  41634. #: guix-git/doc/guix.texi:27882
  41635. msgid "The directory where the pipefs file system is mounted."
  41636. msgstr ""
  41637. #. type: item
  41638. #: guix-git/doc/guix.texi:27774
  41639. #, no-wrap
  41640. msgid "@code{debug} (default: @code{'()\"})"
  41641. msgstr ""
  41642. #. type: table
  41643. #: guix-git/doc/guix.texi:27778
  41644. 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}."
  41645. msgstr ""
  41646. #. type: Plain text
  41647. #: guix-git/doc/guix.texi:27783
  41648. 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."
  41649. msgstr ""
  41650. #. type: subsubheading
  41651. #: guix-git/doc/guix.texi:27784
  41652. #, no-wrap
  41653. msgid "RPC Bind Service"
  41654. msgstr ""
  41655. #. type: cindex
  41656. #: guix-git/doc/guix.texi:27785
  41657. #, no-wrap
  41658. msgid "rpcbind"
  41659. msgstr ""
  41660. #. type: Plain text
  41661. #: guix-git/doc/guix.texi:27791
  41662. 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."
  41663. msgstr ""
  41664. #. type: defvr
  41665. #: guix-git/doc/guix.texi:27792
  41666. #, no-wrap
  41667. msgid "{Scheme Variable} rpcbind-service-type"
  41668. msgstr ""
  41669. #. type: defvr
  41670. #: guix-git/doc/guix.texi:27794
  41671. msgid "A service type for the RPC portmapper daemon."
  41672. msgstr ""
  41673. #. type: deftp
  41674. #: guix-git/doc/guix.texi:27797
  41675. #, no-wrap
  41676. msgid "{Data Type} rpcbind-configuration"
  41677. msgstr ""
  41678. #. type: deftp
  41679. #: guix-git/doc/guix.texi:27800
  41680. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  41681. msgstr ""
  41682. #. type: item
  41683. #: guix-git/doc/guix.texi:27804
  41684. #, no-wrap
  41685. msgid "@code{warm-start?} (default: @code{#t})"
  41686. msgstr ""
  41687. #. type: table
  41688. #: guix-git/doc/guix.texi:27808
  41689. 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."
  41690. msgstr ""
  41691. #. type: subsubheading
  41692. #: guix-git/doc/guix.texi:27812
  41693. #, no-wrap
  41694. msgid "Pipefs Pseudo File System"
  41695. msgstr ""
  41696. #. type: cindex
  41697. #: guix-git/doc/guix.texi:27813
  41698. #, no-wrap
  41699. msgid "pipefs"
  41700. msgstr ""
  41701. #. type: cindex
  41702. #: guix-git/doc/guix.texi:27814
  41703. #, no-wrap
  41704. msgid "rpc_pipefs"
  41705. msgstr ""
  41706. #. type: Plain text
  41707. #: guix-git/doc/guix.texi:27818
  41708. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  41709. msgstr ""
  41710. #. type: defvr
  41711. #: guix-git/doc/guix.texi:27819
  41712. #, no-wrap
  41713. msgid "{Scheme Variable} pipefs-service-type"
  41714. msgstr ""
  41715. #. type: defvr
  41716. #: guix-git/doc/guix.texi:27821
  41717. msgid "A service type for the pipefs pseudo file system."
  41718. msgstr ""
  41719. #. type: deftp
  41720. #: guix-git/doc/guix.texi:27823
  41721. #, no-wrap
  41722. msgid "{Data Type} pipefs-configuration"
  41723. msgstr ""
  41724. #. type: deftp
  41725. #: guix-git/doc/guix.texi:27826
  41726. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  41727. msgstr ""
  41728. #. type: item
  41729. #: guix-git/doc/guix.texi:27827
  41730. #, no-wrap
  41731. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  41732. msgstr ""
  41733. #. type: table
  41734. #: guix-git/doc/guix.texi:27829
  41735. msgid "The directory to which the file system is to be attached."
  41736. msgstr ""
  41737. #. type: subsubheading
  41738. #: guix-git/doc/guix.texi:27833
  41739. #, no-wrap
  41740. msgid "GSS Daemon Service"
  41741. msgstr ""
  41742. #. type: cindex
  41743. #: guix-git/doc/guix.texi:27834
  41744. #, no-wrap
  41745. msgid "GSSD"
  41746. msgstr ""
  41747. #. type: cindex
  41748. #: guix-git/doc/guix.texi:27835
  41749. #, no-wrap
  41750. msgid "GSS"
  41751. msgstr ""
  41752. #. type: cindex
  41753. #: guix-git/doc/guix.texi:27836
  41754. #, no-wrap
  41755. msgid "global security system"
  41756. msgstr ""
  41757. #. type: Plain text
  41758. #: guix-git/doc/guix.texi:27843
  41759. 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})."
  41760. msgstr ""
  41761. #. type: defvr
  41762. #: guix-git/doc/guix.texi:27844
  41763. #, no-wrap
  41764. msgid "{Scheme Variable} gss-service-type"
  41765. msgstr ""
  41766. #. type: defvr
  41767. #: guix-git/doc/guix.texi:27846
  41768. msgid "A service type for the Global Security System (GSS) daemon."
  41769. msgstr ""
  41770. #. type: deftp
  41771. #: guix-git/doc/guix.texi:27848
  41772. #, no-wrap
  41773. msgid "{Data Type} gss-configuration"
  41774. msgstr ""
  41775. #. type: deftp
  41776. #: guix-git/doc/guix.texi:27851
  41777. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  41778. msgstr ""
  41779. #. type: table
  41780. #: guix-git/doc/guix.texi:27854
  41781. msgid "The package in which the @command{rpc.gssd} command is to be found."
  41782. msgstr ""
  41783. #. type: subsubheading
  41784. #: guix-git/doc/guix.texi:27862
  41785. #, no-wrap
  41786. msgid "IDMAP Daemon Service"
  41787. msgstr ""
  41788. #. type: cindex
  41789. #: guix-git/doc/guix.texi:27863
  41790. #, no-wrap
  41791. msgid "idmapd"
  41792. msgstr ""
  41793. #. type: cindex
  41794. #: guix-git/doc/guix.texi:27864
  41795. #, no-wrap
  41796. msgid "name mapper"
  41797. msgstr ""
  41798. #. type: Plain text
  41799. #: guix-git/doc/guix.texi:27868
  41800. 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."
  41801. msgstr ""
  41802. #. type: defvr
  41803. #: guix-git/doc/guix.texi:27869
  41804. #, no-wrap
  41805. msgid "{Scheme Variable} idmap-service-type"
  41806. msgstr ""
  41807. #. type: defvr
  41808. #: guix-git/doc/guix.texi:27871
  41809. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  41810. msgstr ""
  41811. #. type: deftp
  41812. #: guix-git/doc/guix.texi:27873
  41813. #, no-wrap
  41814. msgid "{Data Type} idmap-configuration"
  41815. msgstr ""
  41816. #. type: deftp
  41817. #: guix-git/doc/guix.texi:27876
  41818. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  41819. msgstr ""
  41820. #. type: table
  41821. #: guix-git/doc/guix.texi:27879
  41822. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  41823. msgstr ""
  41824. #. type: item
  41825. #: guix-git/doc/guix.texi:27883
  41826. #, no-wrap
  41827. msgid "@code{domain} (default: @code{#f})"
  41828. msgstr ""
  41829. #. type: table
  41830. #: guix-git/doc/guix.texi:27887
  41831. 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."
  41832. msgstr ""
  41833. #. type: item
  41834. #: guix-git/doc/guix.texi:27888
  41835. #, no-wrap
  41836. msgid "@code{verbosity} (default: @code{0})"
  41837. msgstr ""
  41838. #. type: table
  41839. #: guix-git/doc/guix.texi:27890
  41840. msgid "The verbosity level of the daemon."
  41841. msgstr ""
  41842. #. type: Plain text
  41843. #: guix-git/doc/guix.texi:27901
  41844. 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})."
  41845. msgstr ""
  41846. #. type: Plain text
  41847. #: guix-git/doc/guix.texi:27903
  41848. msgid "The @code{(gnu services cuirass)} module provides the following service."
  41849. msgstr ""
  41850. #. type: defvr
  41851. #: guix-git/doc/guix.texi:27904
  41852. #, no-wrap
  41853. msgid "{Scheme Procedure} cuirass-service-type"
  41854. msgstr ""
  41855. #. type: defvr
  41856. #: guix-git/doc/guix.texi:27907
  41857. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  41858. msgstr ""
  41859. #. type: Plain text
  41860. #: guix-git/doc/guix.texi:27912
  41861. 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."
  41862. msgstr ""
  41863. #. type: lisp
  41864. #: guix-git/doc/guix.texi:27923
  41865. #, no-wrap
  41866. msgid ""
  41867. "(define %cuirass-specs\n"
  41868. " #~(list (specification\n"
  41869. " (name \"my-channel\")\n"
  41870. " (build '(channels my-channel))\n"
  41871. " (channels\n"
  41872. " (cons (channel\n"
  41873. " (name 'my-channel)\n"
  41874. " (url \"https://my-channel.git\"))\n"
  41875. " %default-channels)))))\n"
  41876. "\n"
  41877. msgstr ""
  41878. #. type: lisp
  41879. #: guix-git/doc/guix.texi:27927 guix-git/doc/guix.texi:27941
  41880. #, no-wrap
  41881. msgid ""
  41882. "(service cuirass-service-type\n"
  41883. " (cuirass-configuration\n"
  41884. " (specifications %cuirass-specs)))\n"
  41885. msgstr ""
  41886. #. type: Plain text
  41887. #: guix-git/doc/guix.texi:27931
  41888. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  41889. msgstr ""
  41890. #. type: lisp
  41891. #: guix-git/doc/guix.texi:27937
  41892. #, no-wrap
  41893. msgid ""
  41894. "(define %cuirass-specs\n"
  41895. " #~(list (specification\n"
  41896. " (name \"my-linux\")\n"
  41897. " (build '(packages \"linux-libre\")))))\n"
  41898. "\n"
  41899. msgstr ""
  41900. #. type: Plain text
  41901. #: guix-git/doc/guix.texi:27946
  41902. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  41903. msgstr ""
  41904. #. type: Plain text
  41905. #: guix-git/doc/guix.texi:27950
  41906. 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."
  41907. msgstr ""
  41908. #. type: deftp
  41909. #: guix-git/doc/guix.texi:27951
  41910. #, no-wrap
  41911. msgid "{Data Type} cuirass-configuration"
  41912. msgstr ""
  41913. #. type: deftp
  41914. #: guix-git/doc/guix.texi:27953
  41915. msgid "Data type representing the configuration of Cuirass."
  41916. msgstr ""
  41917. #. type: item
  41918. #: guix-git/doc/guix.texi:27955 guix-git/doc/guix.texi:28092
  41919. #, no-wrap
  41920. msgid "@code{cuirass} (default: @code{cuirass})"
  41921. msgstr ""
  41922. #. type: table
  41923. #: guix-git/doc/guix.texi:27957 guix-git/doc/guix.texi:28094
  41924. msgid "The Cuirass package to use."
  41925. msgstr ""
  41926. #. type: item
  41927. #: guix-git/doc/guix.texi:27958
  41928. #, no-wrap
  41929. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  41930. msgstr ""
  41931. #. type: table
  41932. #: guix-git/doc/guix.texi:27960 guix-git/doc/guix.texi:28064
  41933. #: guix-git/doc/guix.texi:28107
  41934. msgid "Location of the log file."
  41935. msgstr ""
  41936. #. type: item
  41937. #: guix-git/doc/guix.texi:27961
  41938. #, no-wrap
  41939. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  41940. msgstr ""
  41941. #. type: table
  41942. #: guix-git/doc/guix.texi:27963
  41943. msgid "Location of the log file used by the web interface."
  41944. msgstr ""
  41945. #. type: item
  41946. #: guix-git/doc/guix.texi:27964
  41947. #, no-wrap
  41948. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  41949. msgstr ""
  41950. #. type: table
  41951. #: guix-git/doc/guix.texi:27966
  41952. msgid "Location of the repository cache."
  41953. msgstr ""
  41954. #. type: item
  41955. #: guix-git/doc/guix.texi:27967
  41956. #, no-wrap
  41957. msgid "@code{user} (default: @code{\"cuirass\"})"
  41958. msgstr ""
  41959. #. type: table
  41960. #: guix-git/doc/guix.texi:27969
  41961. msgid "Owner of the @code{cuirass} process."
  41962. msgstr ""
  41963. #. type: item
  41964. #: guix-git/doc/guix.texi:27970
  41965. #, no-wrap
  41966. msgid "@code{group} (default: @code{\"cuirass\"})"
  41967. msgstr ""
  41968. #. type: table
  41969. #: guix-git/doc/guix.texi:27972
  41970. msgid "Owner's group of the @code{cuirass} process."
  41971. msgstr ""
  41972. #. type: item
  41973. #: guix-git/doc/guix.texi:27973
  41974. #, no-wrap
  41975. msgid "@code{interval} (default: @code{60})"
  41976. msgstr ""
  41977. #. type: table
  41978. #: guix-git/doc/guix.texi:27976
  41979. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  41980. msgstr ""
  41981. #. type: item
  41982. #: guix-git/doc/guix.texi:27977
  41983. #, no-wrap
  41984. msgid "@code{parameters} (default: @code{#f})"
  41985. msgstr ""
  41986. #. type: table
  41987. #: guix-git/doc/guix.texi:27980
  41988. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  41989. msgstr ""
  41990. #. type: item
  41991. #: guix-git/doc/guix.texi:27981
  41992. #, no-wrap
  41993. msgid "@code{remote-server} (default: @code{#f})"
  41994. msgstr ""
  41995. #. type: table
  41996. #: guix-git/doc/guix.texi:27984
  41997. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  41998. msgstr ""
  41999. #. type: item
  42000. #: guix-git/doc/guix.texi:27985
  42001. #, no-wrap
  42002. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  42003. msgstr ""
  42004. #. type: table
  42005. #: guix-git/doc/guix.texi:27990
  42006. 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\"}."
  42007. msgstr ""
  42008. #. type: item
  42009. #: guix-git/doc/guix.texi:27991
  42010. #, no-wrap
  42011. msgid "@code{port} (default: @code{8081})"
  42012. msgstr ""
  42013. #. type: table
  42014. #: guix-git/doc/guix.texi:27993
  42015. msgid "Port number used by the HTTP server."
  42016. msgstr ""
  42017. #. type: table
  42018. #: guix-git/doc/guix.texi:27997
  42019. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  42020. msgstr ""
  42021. #. type: item
  42022. #: guix-git/doc/guix.texi:27998
  42023. #, no-wrap
  42024. msgid "@code{specifications} (default: @code{#~'()})"
  42025. msgstr ""
  42026. #. type: table
  42027. #: guix-git/doc/guix.texi:28002
  42028. 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})."
  42029. msgstr ""
  42030. #. type: item
  42031. #: guix-git/doc/guix.texi:28003
  42032. #, no-wrap
  42033. msgid "@code{use-substitutes?} (default: @code{#f})"
  42034. msgstr ""
  42035. #. type: table
  42036. #: guix-git/doc/guix.texi:28006
  42037. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  42038. msgstr ""
  42039. #. type: item
  42040. #: guix-git/doc/guix.texi:28007 guix-git/doc/guix.texi:35192
  42041. #, no-wrap
  42042. msgid "@code{one-shot?} (default: @code{#f})"
  42043. msgstr ""
  42044. #. type: table
  42045. #: guix-git/doc/guix.texi:28009
  42046. msgid "Only evaluate specifications and build derivations once."
  42047. msgstr ""
  42048. #. type: item
  42049. #: guix-git/doc/guix.texi:28010
  42050. #, no-wrap
  42051. msgid "@code{fallback?} (default: @code{#f})"
  42052. msgstr ""
  42053. #. type: table
  42054. #: guix-git/doc/guix.texi:28013
  42055. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  42056. msgstr ""
  42057. #. type: table
  42058. #: guix-git/doc/guix.texi:28016
  42059. msgid "Extra options to pass when running the Cuirass processes."
  42060. msgstr ""
  42061. #. type: cindex
  42062. #: guix-git/doc/guix.texi:28020
  42063. #, no-wrap
  42064. msgid "remote build"
  42065. msgstr ""
  42066. #. type: subsubheading
  42067. #: guix-git/doc/guix.texi:28021
  42068. #, no-wrap
  42069. msgid "Cuirass remote building"
  42070. msgstr ""
  42071. #. type: Plain text
  42072. #: guix-git/doc/guix.texi:28024
  42073. msgid "Cuirass supports two mechanisms to build derivations."
  42074. msgstr ""
  42075. #. type: item
  42076. #: guix-git/doc/guix.texi:28026
  42077. #, no-wrap
  42078. msgid "Using the local Guix daemon."
  42079. msgstr ""
  42080. #. type: itemize
  42081. #: guix-git/doc/guix.texi:28030
  42082. 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."
  42083. msgstr ""
  42084. #. type: item
  42085. #: guix-git/doc/guix.texi:28031
  42086. #, no-wrap
  42087. msgid "Using the remote build mechanism."
  42088. msgstr ""
  42089. #. type: itemize
  42090. #: guix-git/doc/guix.texi:28035
  42091. 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."
  42092. msgstr ""
  42093. #. type: Plain text
  42094. #: guix-git/doc/guix.texi:28042
  42095. 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."
  42096. msgstr ""
  42097. #. type: Plain text
  42098. #: guix-git/doc/guix.texi:28047
  42099. 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."
  42100. msgstr ""
  42101. #. type: deftp
  42102. #: guix-git/doc/guix.texi:28048
  42103. #, no-wrap
  42104. msgid "{Data Type} cuirass-remote-server-configuration"
  42105. msgstr ""
  42106. #. type: deftp
  42107. #: guix-git/doc/guix.texi:28050
  42108. msgid "Data type representing the configuration of the Cuirass remote-server."
  42109. msgstr ""
  42110. #. type: item
  42111. #: guix-git/doc/guix.texi:28052
  42112. #, no-wrap
  42113. msgid "@code{backend-port} (default: @code{5555})"
  42114. msgstr ""
  42115. #. type: table
  42116. #: guix-git/doc/guix.texi:28055
  42117. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  42118. msgstr ""
  42119. #. type: item
  42120. #: guix-git/doc/guix.texi:28056
  42121. #, no-wrap
  42122. msgid "@code{log-port} (default: @code{5556})"
  42123. msgstr ""
  42124. #. type: table
  42125. #: guix-git/doc/guix.texi:28058
  42126. msgid "The TCP port of the log server. It defaults to @code{5556}."
  42127. msgstr ""
  42128. #. type: item
  42129. #: guix-git/doc/guix.texi:28059
  42130. #, no-wrap
  42131. msgid "@code{publish-port} (default: @code{5557})"
  42132. msgstr ""
  42133. #. type: table
  42134. #: guix-git/doc/guix.texi:28061
  42135. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  42136. msgstr ""
  42137. #. type: item
  42138. #: guix-git/doc/guix.texi:28062
  42139. #, no-wrap
  42140. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  42141. msgstr ""
  42142. #. type: item
  42143. #: guix-git/doc/guix.texi:28065
  42144. #, no-wrap
  42145. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  42146. msgstr ""
  42147. #. type: table
  42148. #: guix-git/doc/guix.texi:28067
  42149. msgid "Use @var{cache} directory to cache build log files."
  42150. msgstr ""
  42151. #. type: item
  42152. #: guix-git/doc/guix.texi:28068
  42153. #, no-wrap
  42154. msgid "@code{trigger-url} (default: @code{#f})"
  42155. msgstr ""
  42156. #. type: table
  42157. #: guix-git/doc/guix.texi:28071
  42158. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  42159. msgstr ""
  42160. #. type: table
  42161. #: guix-git/doc/guix.texi:28076
  42162. 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."
  42163. msgstr ""
  42164. #. type: code{#1}
  42165. #: guix-git/doc/guix.texi:28078 guix-git/doc/guix.texi:28115
  42166. #, no-wrap
  42167. msgid "private-key"
  42168. msgstr ""
  42169. #. type: Plain text
  42170. #: guix-git/doc/guix.texi:28087
  42171. 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."
  42172. msgstr ""
  42173. #. type: deftp
  42174. #: guix-git/doc/guix.texi:28088
  42175. #, no-wrap
  42176. msgid "{Data Type} cuirass-remote-worker-configuration"
  42177. msgstr ""
  42178. #. type: deftp
  42179. #: guix-git/doc/guix.texi:28090
  42180. msgid "Data type representing the configuration of the Cuirass remote-worker."
  42181. msgstr ""
  42182. #. type: item
  42183. #: guix-git/doc/guix.texi:28095
  42184. #, no-wrap
  42185. msgid "@code{workers} (default: @code{1})"
  42186. msgstr ""
  42187. #. type: table
  42188. #: guix-git/doc/guix.texi:28097
  42189. msgid "Start @var{workers} parallel workers."
  42190. msgstr ""
  42191. #. type: table
  42192. #: guix-git/doc/guix.texi:28101
  42193. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  42194. msgstr ""
  42195. #. type: item
  42196. #: guix-git/doc/guix.texi:28102
  42197. #, no-wrap
  42198. msgid "@code{systems} (default: @code{(list (%current-system))})"
  42199. msgstr ""
  42200. #. type: table
  42201. #: guix-git/doc/guix.texi:28104
  42202. msgid "Only request builds for the given @var{systems}."
  42203. msgstr ""
  42204. #. type: item
  42205. #: guix-git/doc/guix.texi:28105
  42206. #, no-wrap
  42207. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  42208. msgstr ""
  42209. #. type: item
  42210. #: guix-git/doc/guix.texi:28108
  42211. #, no-wrap
  42212. msgid "@code{publish-port} (default: @code{5558})"
  42213. msgstr ""
  42214. #. type: table
  42215. #: guix-git/doc/guix.texi:28110
  42216. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  42217. msgstr ""
  42218. #. type: subsubheading
  42219. #: guix-git/doc/guix.texi:28122
  42220. #, no-wrap
  42221. msgid "Laminar"
  42222. msgstr ""
  42223. #. type: Plain text
  42224. #: guix-git/doc/guix.texi:28127
  42225. 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."
  42226. msgstr ""
  42227. #. type: Plain text
  42228. #: guix-git/doc/guix.texi:28130
  42229. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  42230. msgstr ""
  42231. #. type: defvr
  42232. #: guix-git/doc/guix.texi:28131
  42233. #, no-wrap
  42234. msgid "{Scheme Procedure} laminar-service-type"
  42235. msgstr ""
  42236. #. type: defvr
  42237. #: guix-git/doc/guix.texi:28134
  42238. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  42239. msgstr ""
  42240. #. type: defvr
  42241. #: guix-git/doc/guix.texi:28138
  42242. 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."
  42243. msgstr ""
  42244. #. type: lisp
  42245. #: guix-git/doc/guix.texi:28141
  42246. #, no-wrap
  42247. msgid "(service laminar-service-type)\n"
  42248. msgstr ""
  42249. #. type: deftp
  42250. #: guix-git/doc/guix.texi:28144
  42251. #, no-wrap
  42252. msgid "{Data Type} laminar-configuration"
  42253. msgstr ""
  42254. #. type: deftp
  42255. #: guix-git/doc/guix.texi:28146
  42256. msgid "Data type representing the configuration of Laminar."
  42257. msgstr ""
  42258. #. type: item
  42259. #: guix-git/doc/guix.texi:28148
  42260. #, no-wrap
  42261. msgid "@code{laminar} (default: @code{laminar})"
  42262. msgstr ""
  42263. #. type: table
  42264. #: guix-git/doc/guix.texi:28150
  42265. msgid "The Laminar package to use."
  42266. msgstr ""
  42267. #. type: item
  42268. #: guix-git/doc/guix.texi:28151
  42269. #, no-wrap
  42270. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  42271. msgstr ""
  42272. #. type: table
  42273. #: guix-git/doc/guix.texi:28153
  42274. msgid "The directory for job configurations and run directories."
  42275. msgstr ""
  42276. #. type: item
  42277. #: guix-git/doc/guix.texi:28154
  42278. #, no-wrap
  42279. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  42280. msgstr ""
  42281. #. type: table
  42282. #: guix-git/doc/guix.texi:28157
  42283. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  42284. msgstr ""
  42285. #. type: item
  42286. #: guix-git/doc/guix.texi:28158
  42287. #, no-wrap
  42288. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  42289. msgstr ""
  42290. #. type: table
  42291. #: guix-git/doc/guix.texi:28161
  42292. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  42293. msgstr ""
  42294. #. type: item
  42295. #: guix-git/doc/guix.texi:28162
  42296. #, no-wrap
  42297. msgid "@code{title} (default: @code{\"Laminar\"})"
  42298. msgstr ""
  42299. #. type: table
  42300. #: guix-git/doc/guix.texi:28164
  42301. msgid "The page title to show in the web frontend."
  42302. msgstr ""
  42303. #. type: item
  42304. #: guix-git/doc/guix.texi:28165
  42305. #, no-wrap
  42306. msgid "@code{keep-rundirs} (default: @code{0})"
  42307. msgstr ""
  42308. #. type: table
  42309. #: guix-git/doc/guix.texi:28169
  42310. 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."
  42311. msgstr ""
  42312. #. type: item
  42313. #: guix-git/doc/guix.texi:28170
  42314. #, no-wrap
  42315. msgid "@code{archive-url} (default: @code{#f})"
  42316. msgstr ""
  42317. #. type: table
  42318. #: guix-git/doc/guix.texi:28173
  42319. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  42320. msgstr ""
  42321. #. type: item
  42322. #: guix-git/doc/guix.texi:28174
  42323. #, no-wrap
  42324. msgid "@code{base-url} (default: @code{#f})"
  42325. msgstr ""
  42326. #. type: table
  42327. #: guix-git/doc/guix.texi:28176
  42328. msgid "Base URL to use for links to laminar itself."
  42329. msgstr ""
  42330. #. type: cindex
  42331. #: guix-git/doc/guix.texi:28183
  42332. #, no-wrap
  42333. msgid "tlp"
  42334. msgstr ""
  42335. #. type: cindex
  42336. #: guix-git/doc/guix.texi:28184
  42337. #, no-wrap
  42338. msgid "power management with TLP"
  42339. msgstr ""
  42340. #. type: subsubheading
  42341. #: guix-git/doc/guix.texi:28185
  42342. #, no-wrap
  42343. msgid "TLP daemon"
  42344. msgstr ""
  42345. #. type: Plain text
  42346. #: guix-git/doc/guix.texi:28189
  42347. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  42348. msgstr ""
  42349. #. type: Plain text
  42350. #: guix-git/doc/guix.texi:28195
  42351. 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}."
  42352. msgstr ""
  42353. #. type: deffn
  42354. #: guix-git/doc/guix.texi:28196
  42355. #, no-wrap
  42356. msgid "{Scheme Variable} tlp-service-type"
  42357. msgstr ""
  42358. #. type: deffn
  42359. #: guix-git/doc/guix.texi:28200
  42360. 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}:"
  42361. msgstr ""
  42362. #. type: lisp
  42363. #: guix-git/doc/guix.texi:28205
  42364. #, no-wrap
  42365. msgid ""
  42366. "(service tlp-service-type\n"
  42367. " (tlp-configuration\n"
  42368. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  42369. " (sched-powersave-on-bat? #t)))\n"
  42370. msgstr ""
  42371. #. type: Plain text
  42372. #: guix-git/doc/guix.texi:28213
  42373. 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}."
  42374. msgstr ""
  42375. #. type: Plain text
  42376. #: guix-git/doc/guix.texi:28223
  42377. msgid "Available @code{tlp-configuration} fields are:"
  42378. msgstr ""
  42379. #. type: deftypevr
  42380. #: guix-git/doc/guix.texi:28224
  42381. #, no-wrap
  42382. msgid "{@code{tlp-configuration} parameter} package tlp"
  42383. msgstr ""
  42384. #. type: deftypevr
  42385. #: guix-git/doc/guix.texi:28226
  42386. msgid "The TLP package."
  42387. msgstr ""
  42388. #. type: deftypevr
  42389. #: guix-git/doc/guix.texi:28229
  42390. #, no-wrap
  42391. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  42392. msgstr ""
  42393. #. type: deftypevr
  42394. #: guix-git/doc/guix.texi:28231
  42395. msgid "Set to true if you wish to enable TLP."
  42396. msgstr ""
  42397. #. type: deftypevr
  42398. #: guix-git/doc/guix.texi:28236
  42399. #, no-wrap
  42400. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  42401. msgstr ""
  42402. #. type: deftypevr
  42403. #: guix-git/doc/guix.texi:28239
  42404. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  42405. msgstr ""
  42406. #. type: deftypevr
  42407. #: guix-git/doc/guix.texi:28241
  42408. msgid "Defaults to @samp{\"AC\"}."
  42409. msgstr ""
  42410. #. type: deftypevr
  42411. #: guix-git/doc/guix.texi:28244
  42412. #, no-wrap
  42413. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  42414. msgstr ""
  42415. #. type: deftypevr
  42416. #: guix-git/doc/guix.texi:28247
  42417. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  42418. msgstr ""
  42419. #. type: deftypevr
  42420. #: guix-git/doc/guix.texi:28252
  42421. #, no-wrap
  42422. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  42423. msgstr ""
  42424. #. type: deftypevr
  42425. #: guix-git/doc/guix.texi:28254
  42426. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  42427. msgstr ""
  42428. #. type: deftypevr
  42429. #: guix-git/doc/guix.texi:28256
  42430. msgid "Defaults to @samp{2}."
  42431. msgstr ""
  42432. #. type: deftypevr
  42433. #: guix-git/doc/guix.texi:28259
  42434. #, no-wrap
  42435. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  42436. msgstr ""
  42437. #. type: deftypevr
  42438. #: guix-git/doc/guix.texi:28261
  42439. msgid "Dirty pages flushing periodicity, expressed in seconds."
  42440. msgstr ""
  42441. #. type: deftypevr
  42442. #: guix-git/doc/guix.texi:28263 guix-git/doc/guix.texi:28486
  42443. #: guix-git/doc/guix.texi:30701 guix-git/doc/guix.texi:30709
  42444. msgid "Defaults to @samp{15}."
  42445. msgstr ""
  42446. #. type: deftypevr
  42447. #: guix-git/doc/guix.texi:28266
  42448. #, no-wrap
  42449. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  42450. msgstr ""
  42451. #. type: deftypevr
  42452. #: guix-git/doc/guix.texi:28268
  42453. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  42454. msgstr ""
  42455. #. type: deftypevr
  42456. #: guix-git/doc/guix.texi:28270
  42457. msgid "Defaults to @samp{60}."
  42458. msgstr ""
  42459. #. type: deftypevr
  42460. #: guix-git/doc/guix.texi:28273
  42461. #, no-wrap
  42462. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  42463. msgstr ""
  42464. #. type: deftypevr
  42465. #: guix-git/doc/guix.texi:28277
  42466. 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."
  42467. msgstr ""
  42468. #. type: deftypevr
  42469. #: guix-git/doc/guix.texi:28282
  42470. #, no-wrap
  42471. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  42472. msgstr ""
  42473. #. type: deftypevr
  42474. #: guix-git/doc/guix.texi:28284
  42475. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  42476. msgstr ""
  42477. #. type: deftypevr
  42478. #: guix-git/doc/guix.texi:28289
  42479. #, no-wrap
  42480. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  42481. msgstr ""
  42482. #. type: deftypevr
  42483. #: guix-git/doc/guix.texi:28291
  42484. msgid "Set the min available frequency for the scaling governor on AC."
  42485. msgstr ""
  42486. #. type: deftypevr
  42487. #: guix-git/doc/guix.texi:28296
  42488. #, no-wrap
  42489. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  42490. msgstr ""
  42491. #. type: deftypevr
  42492. #: guix-git/doc/guix.texi:28298
  42493. msgid "Set the max available frequency for the scaling governor on AC."
  42494. msgstr ""
  42495. #. type: deftypevr
  42496. #: guix-git/doc/guix.texi:28303
  42497. #, no-wrap
  42498. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  42499. msgstr ""
  42500. #. type: deftypevr
  42501. #: guix-git/doc/guix.texi:28305
  42502. msgid "Set the min available frequency for the scaling governor on BAT."
  42503. msgstr ""
  42504. #. type: deftypevr
  42505. #: guix-git/doc/guix.texi:28310
  42506. #, no-wrap
  42507. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  42508. msgstr ""
  42509. #. type: deftypevr
  42510. #: guix-git/doc/guix.texi:28312
  42511. msgid "Set the max available frequency for the scaling governor on BAT."
  42512. msgstr ""
  42513. #. type: deftypevr
  42514. #: guix-git/doc/guix.texi:28317
  42515. #, no-wrap
  42516. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  42517. msgstr ""
  42518. #. type: deftypevr
  42519. #: guix-git/doc/guix.texi:28320
  42520. 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."
  42521. msgstr ""
  42522. #. type: deftypevr
  42523. #: guix-git/doc/guix.texi:28325
  42524. #, no-wrap
  42525. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  42526. msgstr ""
  42527. #. type: deftypevr
  42528. #: guix-git/doc/guix.texi:28328
  42529. 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."
  42530. msgstr ""
  42531. #. type: deftypevr
  42532. #: guix-git/doc/guix.texi:28333
  42533. #, no-wrap
  42534. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  42535. msgstr ""
  42536. #. type: deftypevr
  42537. #: guix-git/doc/guix.texi:28335
  42538. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  42539. msgstr ""
  42540. #. type: deftypevr
  42541. #: guix-git/doc/guix.texi:28340
  42542. #, no-wrap
  42543. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  42544. msgstr ""
  42545. #. type: deftypevr
  42546. #: guix-git/doc/guix.texi:28342
  42547. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  42548. msgstr ""
  42549. #. type: deftypevr
  42550. #: guix-git/doc/guix.texi:28347
  42551. #, no-wrap
  42552. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  42553. msgstr ""
  42554. #. type: deftypevr
  42555. #: guix-git/doc/guix.texi:28349
  42556. msgid "Enable CPU turbo boost feature on AC mode."
  42557. msgstr ""
  42558. #. type: deftypevr
  42559. #: guix-git/doc/guix.texi:28354
  42560. #, no-wrap
  42561. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  42562. msgstr ""
  42563. #. type: deftypevr
  42564. #: guix-git/doc/guix.texi:28356
  42565. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  42566. msgstr ""
  42567. #. type: deftypevr
  42568. #: guix-git/doc/guix.texi:28361
  42569. #, no-wrap
  42570. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  42571. msgstr ""
  42572. #. type: deftypevr
  42573. #: guix-git/doc/guix.texi:28364
  42574. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  42575. msgstr ""
  42576. #. type: deftypevr
  42577. #: guix-git/doc/guix.texi:28369
  42578. #, no-wrap
  42579. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  42580. msgstr ""
  42581. #. type: deftypevr
  42582. #: guix-git/doc/guix.texi:28371
  42583. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  42584. msgstr ""
  42585. #. type: deftypevr
  42586. #: guix-git/doc/guix.texi:28376
  42587. #, no-wrap
  42588. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  42589. msgstr ""
  42590. #. type: deftypevr
  42591. #: guix-git/doc/guix.texi:28378
  42592. msgid "Enable Linux kernel NMI watchdog."
  42593. msgstr ""
  42594. #. type: deftypevr
  42595. #: guix-git/doc/guix.texi:28383
  42596. #, no-wrap
  42597. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  42598. msgstr ""
  42599. #. type: deftypevr
  42600. #: guix-git/doc/guix.texi:28386
  42601. 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\"}."
  42602. msgstr ""
  42603. #. type: deftypevr
  42604. #: guix-git/doc/guix.texi:28391
  42605. #, no-wrap
  42606. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  42607. msgstr ""
  42608. #. type: deftypevr
  42609. #: guix-git/doc/guix.texi:28394
  42610. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  42611. msgstr ""
  42612. #. type: deftypevr
  42613. #: guix-git/doc/guix.texi:28396 guix-git/doc/guix.texi:28494
  42614. #: guix-git/doc/guix.texi:28524
  42615. msgid "Defaults to @samp{\"performance\"}."
  42616. msgstr ""
  42617. #. type: deftypevr
  42618. #: guix-git/doc/guix.texi:28399
  42619. #, no-wrap
  42620. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  42621. msgstr ""
  42622. #. type: deftypevr
  42623. #: guix-git/doc/guix.texi:28401
  42624. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  42625. msgstr ""
  42626. #. type: deftypevr
  42627. #: guix-git/doc/guix.texi:28403 guix-git/doc/guix.texi:28501
  42628. msgid "Defaults to @samp{\"powersave\"}."
  42629. msgstr ""
  42630. #. type: deftypevr
  42631. #: guix-git/doc/guix.texi:28406
  42632. #, no-wrap
  42633. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  42634. msgstr ""
  42635. #. type: deftypevr
  42636. #: guix-git/doc/guix.texi:28408
  42637. msgid "Hard disk devices."
  42638. msgstr ""
  42639. #. type: deftypevr
  42640. #: guix-git/doc/guix.texi:28411
  42641. #, no-wrap
  42642. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  42643. msgstr ""
  42644. #. type: deftypevr
  42645. #: guix-git/doc/guix.texi:28413
  42646. msgid "Hard disk advanced power management level."
  42647. msgstr ""
  42648. #. type: deftypevr
  42649. #: guix-git/doc/guix.texi:28416
  42650. #, no-wrap
  42651. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  42652. msgstr ""
  42653. #. type: deftypevr
  42654. #: guix-git/doc/guix.texi:28418
  42655. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  42656. msgstr ""
  42657. #. type: deftypevr
  42658. #: guix-git/doc/guix.texi:28421
  42659. #, no-wrap
  42660. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  42661. msgstr ""
  42662. #. type: deftypevr
  42663. #: guix-git/doc/guix.texi:28424
  42664. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  42665. msgstr ""
  42666. #. type: deftypevr
  42667. #: guix-git/doc/guix.texi:28429
  42668. #, no-wrap
  42669. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  42670. msgstr ""
  42671. #. type: deftypevr
  42672. #: guix-git/doc/guix.texi:28431
  42673. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  42674. msgstr ""
  42675. #. type: deftypevr
  42676. #: guix-git/doc/guix.texi:28436
  42677. #, no-wrap
  42678. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  42679. msgstr ""
  42680. #. type: deftypevr
  42681. #: guix-git/doc/guix.texi:28440
  42682. 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."
  42683. msgstr ""
  42684. #. type: deftypevr
  42685. #: guix-git/doc/guix.texi:28445
  42686. #, no-wrap
  42687. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  42688. msgstr ""
  42689. #. type: deftypevr
  42690. #: guix-git/doc/guix.texi:28448
  42691. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  42692. msgstr ""
  42693. #. type: deftypevr
  42694. #: guix-git/doc/guix.texi:28450
  42695. msgid "Defaults to @samp{\"max_performance\"}."
  42696. msgstr ""
  42697. #. type: deftypevr
  42698. #: guix-git/doc/guix.texi:28453
  42699. #, no-wrap
  42700. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  42701. msgstr ""
  42702. #. type: deftypevr
  42703. #: guix-git/doc/guix.texi:28455
  42704. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  42705. msgstr ""
  42706. #. type: deftypevr
  42707. #: guix-git/doc/guix.texi:28457
  42708. msgid "Defaults to @samp{\"min_power\"}."
  42709. msgstr ""
  42710. #. type: deftypevr
  42711. #: guix-git/doc/guix.texi:28460
  42712. #, no-wrap
  42713. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  42714. msgstr ""
  42715. #. type: deftypevr
  42716. #: guix-git/doc/guix.texi:28462
  42717. msgid "Exclude specified SATA host devices for link power management."
  42718. msgstr ""
  42719. #. type: deftypevr
  42720. #: guix-git/doc/guix.texi:28467
  42721. #, no-wrap
  42722. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  42723. msgstr ""
  42724. #. type: deftypevr
  42725. #: guix-git/doc/guix.texi:28470
  42726. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  42727. msgstr ""
  42728. #. type: deftypevr
  42729. #: guix-git/doc/guix.texi:28475
  42730. #, no-wrap
  42731. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  42732. msgstr ""
  42733. #. type: deftypevr
  42734. #: guix-git/doc/guix.texi:28477
  42735. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  42736. msgstr ""
  42737. #. type: deftypevr
  42738. #: guix-git/doc/guix.texi:28482
  42739. #, no-wrap
  42740. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  42741. msgstr ""
  42742. #. type: deftypevr
  42743. #: guix-git/doc/guix.texi:28484
  42744. msgid "Seconds of inactivity before disk is suspended."
  42745. msgstr ""
  42746. #. type: deftypevr
  42747. #: guix-git/doc/guix.texi:28489
  42748. #, no-wrap
  42749. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  42750. msgstr ""
  42751. #. type: deftypevr
  42752. #: guix-git/doc/guix.texi:28492
  42753. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  42754. msgstr ""
  42755. #. type: deftypevr
  42756. #: guix-git/doc/guix.texi:28497
  42757. #, no-wrap
  42758. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  42759. msgstr ""
  42760. #. type: deftypevr
  42761. #: guix-git/doc/guix.texi:28499
  42762. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  42763. msgstr ""
  42764. #. type: deftypevr
  42765. #: guix-git/doc/guix.texi:28504
  42766. #, no-wrap
  42767. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  42768. msgstr ""
  42769. #. type: deftypevr
  42770. #: guix-git/doc/guix.texi:28507
  42771. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  42772. msgstr ""
  42773. #. type: deftypevr
  42774. #: guix-git/doc/guix.texi:28509
  42775. msgid "Defaults to @samp{\"high\"}."
  42776. msgstr ""
  42777. #. type: deftypevr
  42778. #: guix-git/doc/guix.texi:28512
  42779. #, no-wrap
  42780. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  42781. msgstr ""
  42782. #. type: deftypevr
  42783. #: guix-git/doc/guix.texi:28514
  42784. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  42785. msgstr ""
  42786. #. type: deftypevr
  42787. #: guix-git/doc/guix.texi:28516
  42788. msgid "Defaults to @samp{\"low\"}."
  42789. msgstr ""
  42790. #. type: deftypevr
  42791. #: guix-git/doc/guix.texi:28519
  42792. #, no-wrap
  42793. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  42794. msgstr ""
  42795. #. type: deftypevr
  42796. #: guix-git/doc/guix.texi:28522
  42797. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  42798. msgstr ""
  42799. #. type: deftypevr
  42800. #: guix-git/doc/guix.texi:28527
  42801. #, no-wrap
  42802. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  42803. msgstr ""
  42804. #. type: deftypevr
  42805. #: guix-git/doc/guix.texi:28529
  42806. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  42807. msgstr ""
  42808. #. type: deftypevr
  42809. #: guix-git/doc/guix.texi:28531
  42810. msgid "Defaults to @samp{\"battery\"}."
  42811. msgstr ""
  42812. #. type: deftypevr
  42813. #: guix-git/doc/guix.texi:28534
  42814. #, no-wrap
  42815. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  42816. msgstr ""
  42817. #. type: deftypevr
  42818. #: guix-git/doc/guix.texi:28536
  42819. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  42820. msgstr ""
  42821. #. type: deftypevr
  42822. #: guix-git/doc/guix.texi:28538 guix-git/doc/guix.texi:28545
  42823. #: guix-git/doc/guix.texi:28619
  42824. msgid "Defaults to @samp{\"auto\"}."
  42825. msgstr ""
  42826. #. type: deftypevr
  42827. #: guix-git/doc/guix.texi:28541
  42828. #, no-wrap
  42829. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  42830. msgstr ""
  42831. #. type: deftypevr
  42832. #: guix-git/doc/guix.texi:28543
  42833. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  42834. msgstr ""
  42835. #. type: deftypevr
  42836. #: guix-git/doc/guix.texi:28548
  42837. #, no-wrap
  42838. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  42839. msgstr ""
  42840. #. type: deftypevr
  42841. #: guix-git/doc/guix.texi:28550
  42842. msgid "Wifi power saving mode."
  42843. msgstr ""
  42844. #. type: deftypevr
  42845. #: guix-git/doc/guix.texi:28555
  42846. #, no-wrap
  42847. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  42848. msgstr ""
  42849. #. type: deftypevr
  42850. #: guix-git/doc/guix.texi:28557
  42851. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  42852. msgstr ""
  42853. #. type: deftypevr
  42854. #: guix-git/doc/guix.texi:28562
  42855. #, no-wrap
  42856. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  42857. msgstr ""
  42858. #. type: deftypevr
  42859. #: guix-git/doc/guix.texi:28564
  42860. msgid "Disable wake on LAN."
  42861. msgstr ""
  42862. #. type: deftypevr
  42863. #: guix-git/doc/guix.texi:28569
  42864. #, no-wrap
  42865. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  42866. msgstr ""
  42867. #. type: deftypevr
  42868. #: guix-git/doc/guix.texi:28572
  42869. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  42870. msgstr ""
  42871. #. type: deftypevr
  42872. #: guix-git/doc/guix.texi:28577
  42873. #, no-wrap
  42874. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  42875. msgstr ""
  42876. #. type: deftypevr
  42877. #: guix-git/doc/guix.texi:28579
  42878. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  42879. msgstr ""
  42880. #. type: deftypevr
  42881. #: guix-git/doc/guix.texi:28584
  42882. #, no-wrap
  42883. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  42884. msgstr ""
  42885. #. type: deftypevr
  42886. #: guix-git/doc/guix.texi:28586
  42887. msgid "Disable controller in powersaving mode on Intel HDA devices."
  42888. msgstr ""
  42889. #. type: deftypevr
  42890. #: guix-git/doc/guix.texi:28591
  42891. #, no-wrap
  42892. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  42893. msgstr ""
  42894. #. type: deftypevr
  42895. #: guix-git/doc/guix.texi:28595
  42896. 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."
  42897. msgstr ""
  42898. #. type: deftypevr
  42899. #: guix-git/doc/guix.texi:28600
  42900. #, no-wrap
  42901. msgid "{@code{tlp-configuration} parameter} string bay-device"
  42902. msgstr ""
  42903. #. type: deftypevr
  42904. #: guix-git/doc/guix.texi:28602
  42905. msgid "Name of the optical drive device to power off."
  42906. msgstr ""
  42907. #. type: deftypevr
  42908. #: guix-git/doc/guix.texi:28604
  42909. msgid "Defaults to @samp{\"sr0\"}."
  42910. msgstr ""
  42911. #. type: deftypevr
  42912. #: guix-git/doc/guix.texi:28607
  42913. #, no-wrap
  42914. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  42915. msgstr ""
  42916. #. type: deftypevr
  42917. #: guix-git/doc/guix.texi:28610
  42918. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  42919. msgstr ""
  42920. #. type: deftypevr
  42921. #: guix-git/doc/guix.texi:28612
  42922. msgid "Defaults to @samp{\"on\"}."
  42923. msgstr ""
  42924. #. type: deftypevr
  42925. #: guix-git/doc/guix.texi:28615
  42926. #, no-wrap
  42927. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  42928. msgstr ""
  42929. #. type: deftypevr
  42930. #: guix-git/doc/guix.texi:28617
  42931. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  42932. msgstr ""
  42933. #. type: deftypevr
  42934. #: guix-git/doc/guix.texi:28622
  42935. #, no-wrap
  42936. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  42937. msgstr ""
  42938. #. type: deftypevr
  42939. #: guix-git/doc/guix.texi:28625
  42940. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  42941. msgstr ""
  42942. #. type: deftypevr
  42943. #: guix-git/doc/guix.texi:28630
  42944. #, no-wrap
  42945. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  42946. msgstr ""
  42947. #. type: deftypevr
  42948. #: guix-git/doc/guix.texi:28632
  42949. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  42950. msgstr ""
  42951. #. type: deftypevr
  42952. #: guix-git/doc/guix.texi:28637
  42953. #, no-wrap
  42954. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  42955. msgstr ""
  42956. #. type: deftypevr
  42957. #: guix-git/doc/guix.texi:28640
  42958. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  42959. msgstr ""
  42960. #. type: deftypevr
  42961. #: guix-git/doc/guix.texi:28643
  42962. #, no-wrap
  42963. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  42964. msgstr ""
  42965. #. type: deftypevr
  42966. #: guix-git/doc/guix.texi:28645
  42967. msgid "Enable USB autosuspend feature."
  42968. msgstr ""
  42969. #. type: deftypevr
  42970. #: guix-git/doc/guix.texi:28650
  42971. #, no-wrap
  42972. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  42973. msgstr ""
  42974. #. type: deftypevr
  42975. #: guix-git/doc/guix.texi:28652
  42976. msgid "Exclude specified devices from USB autosuspend."
  42977. msgstr ""
  42978. #. type: deftypevr
  42979. #: guix-git/doc/guix.texi:28657
  42980. #, no-wrap
  42981. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  42982. msgstr ""
  42983. #. type: deftypevr
  42984. #: guix-git/doc/guix.texi:28659
  42985. msgid "Exclude WWAN devices from USB autosuspend."
  42986. msgstr ""
  42987. #. type: deftypevr
  42988. #: guix-git/doc/guix.texi:28664
  42989. #, no-wrap
  42990. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  42991. msgstr ""
  42992. #. type: deftypevr
  42993. #: guix-git/doc/guix.texi:28667
  42994. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  42995. msgstr ""
  42996. #. type: deftypevr
  42997. #: guix-git/doc/guix.texi:28672
  42998. #, no-wrap
  42999. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  43000. msgstr ""
  43001. #. type: deftypevr
  43002. #: guix-git/doc/guix.texi:28674
  43003. msgid "Enable USB autosuspend before shutdown."
  43004. msgstr ""
  43005. #. type: deftypevr
  43006. #: guix-git/doc/guix.texi:28679
  43007. #, no-wrap
  43008. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  43009. msgstr ""
  43010. #. type: deftypevr
  43011. #: guix-git/doc/guix.texi:28682
  43012. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  43013. msgstr ""
  43014. #. type: cindex
  43015. #: guix-git/doc/guix.texi:28687
  43016. #, no-wrap
  43017. msgid "thermald"
  43018. msgstr ""
  43019. #. type: cindex
  43020. #: guix-git/doc/guix.texi:28688
  43021. #, no-wrap
  43022. msgid "CPU frequency scaling with thermald"
  43023. msgstr ""
  43024. #. type: subsubheading
  43025. #: guix-git/doc/guix.texi:28689
  43026. #, no-wrap
  43027. msgid "Thermald daemon"
  43028. msgstr ""
  43029. #. type: Plain text
  43030. #: guix-git/doc/guix.texi:28693
  43031. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  43032. msgstr ""
  43033. #. type: defvr
  43034. #: guix-git/doc/guix.texi:28694
  43035. #, no-wrap
  43036. msgid "{Scheme Variable} thermald-service-type"
  43037. msgstr ""
  43038. #. type: defvr
  43039. #: guix-git/doc/guix.texi:28699
  43040. 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."
  43041. msgstr ""
  43042. #. type: deftp
  43043. #: guix-git/doc/guix.texi:28701
  43044. #, no-wrap
  43045. msgid "{Data Type} thermald-configuration"
  43046. msgstr ""
  43047. #. type: deftp
  43048. #: guix-git/doc/guix.texi:28703
  43049. msgid "Data type representing the configuration of @code{thermald-service-type}."
  43050. msgstr ""
  43051. #. type: item
  43052. #: guix-git/doc/guix.texi:28705
  43053. #, no-wrap
  43054. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  43055. msgstr ""
  43056. #. type: table
  43057. #: guix-git/doc/guix.texi:28707
  43058. msgid "Ignore cpuid check for supported CPU models."
  43059. msgstr ""
  43060. #. type: item
  43061. #: guix-git/doc/guix.texi:28708
  43062. #, no-wrap
  43063. msgid "@code{thermald} (default: @var{thermald})"
  43064. msgstr ""
  43065. #. type: table
  43066. #: guix-git/doc/guix.texi:28710
  43067. msgid "Package object of thermald."
  43068. msgstr ""
  43069. #. type: Plain text
  43070. #: guix-git/doc/guix.texi:28719
  43071. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  43072. msgstr ""
  43073. #. type: cindex
  43074. #: guix-git/doc/guix.texi:28720
  43075. #, no-wrap
  43076. msgid "mpd"
  43077. msgstr ""
  43078. #. type: subsubheading
  43079. #: guix-git/doc/guix.texi:28721
  43080. #, no-wrap
  43081. msgid "Music Player Daemon"
  43082. msgstr ""
  43083. #. type: Plain text
  43084. #: guix-git/doc/guix.texi:28726
  43085. 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."
  43086. msgstr ""
  43087. #. type: Plain text
  43088. #: guix-git/doc/guix.texi:28729
  43089. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  43090. msgstr ""
  43091. #. type: lisp
  43092. #: guix-git/doc/guix.texi:28735
  43093. #, no-wrap
  43094. msgid ""
  43095. "(service mpd-service-type\n"
  43096. " (mpd-configuration\n"
  43097. " (user \"bob\")\n"
  43098. " (port \"6666\")))\n"
  43099. msgstr ""
  43100. #. type: defvr
  43101. #: guix-git/doc/guix.texi:28737
  43102. #, no-wrap
  43103. msgid "{Scheme Variable} mpd-service-type"
  43104. msgstr ""
  43105. #. type: defvr
  43106. #: guix-git/doc/guix.texi:28739
  43107. msgid "The service type for @command{mpd}"
  43108. msgstr ""
  43109. #. type: deftp
  43110. #: guix-git/doc/guix.texi:28741
  43111. #, no-wrap
  43112. msgid "{Data Type} mpd-configuration"
  43113. msgstr ""
  43114. #. type: deftp
  43115. #: guix-git/doc/guix.texi:28743
  43116. msgid "Data type representing the configuration of @command{mpd}."
  43117. msgstr ""
  43118. #. type: item
  43119. #: guix-git/doc/guix.texi:28745
  43120. #, no-wrap
  43121. msgid "@code{user} (default: @code{\"mpd\"})"
  43122. msgstr ""
  43123. #. type: table
  43124. #: guix-git/doc/guix.texi:28747
  43125. msgid "The user to run mpd as."
  43126. msgstr ""
  43127. #. type: item
  43128. #: guix-git/doc/guix.texi:28748
  43129. #, no-wrap
  43130. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  43131. msgstr ""
  43132. #. type: table
  43133. #: guix-git/doc/guix.texi:28750
  43134. msgid "The directory to scan for music files."
  43135. msgstr ""
  43136. #. type: item
  43137. #: guix-git/doc/guix.texi:28751
  43138. #, no-wrap
  43139. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  43140. msgstr ""
  43141. #. type: table
  43142. #: guix-git/doc/guix.texi:28753
  43143. msgid "The directory to store playlists."
  43144. msgstr ""
  43145. #. type: item
  43146. #: guix-git/doc/guix.texi:28754
  43147. #, no-wrap
  43148. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  43149. msgstr ""
  43150. #. type: table
  43151. #: guix-git/doc/guix.texi:28756
  43152. msgid "The location of the music database."
  43153. msgstr ""
  43154. #. type: item
  43155. #: guix-git/doc/guix.texi:28757
  43156. #, no-wrap
  43157. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  43158. msgstr ""
  43159. #. type: table
  43160. #: guix-git/doc/guix.texi:28759
  43161. msgid "The location of the file that stores current MPD's state."
  43162. msgstr ""
  43163. #. type: item
  43164. #: guix-git/doc/guix.texi:28760
  43165. #, no-wrap
  43166. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  43167. msgstr ""
  43168. #. type: table
  43169. #: guix-git/doc/guix.texi:28762
  43170. msgid "The location of the sticker database."
  43171. msgstr ""
  43172. #. type: item
  43173. #: guix-git/doc/guix.texi:28763
  43174. #, no-wrap
  43175. msgid "@code{port} (default: @code{\"6600\"})"
  43176. msgstr ""
  43177. #. type: table
  43178. #: guix-git/doc/guix.texi:28765
  43179. msgid "The port to run mpd on."
  43180. msgstr ""
  43181. #. type: item
  43182. #: guix-git/doc/guix.texi:28766
  43183. #, no-wrap
  43184. msgid "@code{address} (default: @code{\"any\"})"
  43185. msgstr ""
  43186. #. type: table
  43187. #: guix-git/doc/guix.texi:28769
  43188. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  43189. msgstr ""
  43190. #. type: item
  43191. #: guix-git/doc/guix.texi:28770
  43192. #, no-wrap
  43193. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  43194. msgstr ""
  43195. #. type: table
  43196. #: guix-git/doc/guix.texi:28772
  43197. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  43198. msgstr ""
  43199. #. type: deftp
  43200. #: guix-git/doc/guix.texi:28776
  43201. #, no-wrap
  43202. msgid "{Data Type} mpd-output"
  43203. msgstr ""
  43204. #. type: deftp
  43205. #: guix-git/doc/guix.texi:28778
  43206. msgid "Data type representing an @command{mpd} audio output."
  43207. msgstr ""
  43208. #. type: item
  43209. #: guix-git/doc/guix.texi:28780
  43210. #, no-wrap
  43211. msgid "@code{name} (default: @code{\"MPD\"})"
  43212. msgstr ""
  43213. #. type: table
  43214. #: guix-git/doc/guix.texi:28782
  43215. msgid "The name of the audio output."
  43216. msgstr ""
  43217. #. type: item
  43218. #: guix-git/doc/guix.texi:28783
  43219. #, no-wrap
  43220. msgid "@code{type} (default: @code{\"pulse\"})"
  43221. msgstr ""
  43222. #. type: table
  43223. #: guix-git/doc/guix.texi:28785
  43224. msgid "The type of audio output."
  43225. msgstr ""
  43226. #. type: item
  43227. #: guix-git/doc/guix.texi:28786
  43228. #, no-wrap
  43229. msgid "@code{enabled?} (default: @code{#t})"
  43230. msgstr ""
  43231. #. type: table
  43232. #: guix-git/doc/guix.texi:28791
  43233. 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."
  43234. msgstr ""
  43235. #. type: item
  43236. #: guix-git/doc/guix.texi:28792
  43237. #, no-wrap
  43238. msgid "@code{tags?} (default: @code{#t})"
  43239. msgstr ""
  43240. #. type: table
  43241. #: guix-git/doc/guix.texi:28796
  43242. 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."
  43243. msgstr ""
  43244. #. type: item
  43245. #: guix-git/doc/guix.texi:28797
  43246. #, no-wrap
  43247. msgid "@code{always-on?} (default: @code{#f})"
  43248. msgstr ""
  43249. #. type: table
  43250. #: guix-git/doc/guix.texi:28801
  43251. 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."
  43252. msgstr ""
  43253. #. type: code{#1}
  43254. #: guix-git/doc/guix.texi:28802
  43255. #, no-wrap
  43256. msgid "mixer-type"
  43257. msgstr ""
  43258. #. type: table
  43259. #: guix-git/doc/guix.texi:28808
  43260. 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})."
  43261. msgstr ""
  43262. #. type: table
  43263. #: guix-git/doc/guix.texi:28812
  43264. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  43265. msgstr ""
  43266. #. type: Plain text
  43267. #: guix-git/doc/guix.texi:28818
  43268. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  43269. msgstr ""
  43270. #. type: lisp
  43271. #: guix-git/doc/guix.texi:28830
  43272. #, no-wrap
  43273. msgid ""
  43274. "(service mpd-service-type\n"
  43275. " (mpd-configuration\n"
  43276. " (outputs\n"
  43277. " (list (mpd-output\n"
  43278. " (name \"streaming\")\n"
  43279. " (type \"httpd\")\n"
  43280. " (mixer-type 'null)\n"
  43281. " (extra-options\n"
  43282. " `((encoder . \"vorbis\")\n"
  43283. " (port . \"8080\"))))))))\n"
  43284. msgstr ""
  43285. #. type: Plain text
  43286. #: guix-git/doc/guix.texi:28839
  43287. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  43288. msgstr ""
  43289. #. type: subsubheading
  43290. #: guix-git/doc/guix.texi:28840
  43291. #, no-wrap
  43292. msgid "Libvirt daemon"
  43293. msgstr ""
  43294. #. type: Plain text
  43295. #: guix-git/doc/guix.texi:28845
  43296. 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."
  43297. msgstr ""
  43298. #. type: deffn
  43299. #: guix-git/doc/guix.texi:28846
  43300. #, no-wrap
  43301. msgid "{Scheme Variable} libvirt-service-type"
  43302. msgstr ""
  43303. #. type: deffn
  43304. #: guix-git/doc/guix.texi:28849
  43305. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  43306. msgstr ""
  43307. #. type: lisp
  43308. #: guix-git/doc/guix.texi:28855
  43309. #, no-wrap
  43310. msgid ""
  43311. "(service libvirt-service-type\n"
  43312. " (libvirt-configuration\n"
  43313. " (unix-sock-group \"libvirt\")\n"
  43314. " (tls-port \"16555\")))\n"
  43315. msgstr ""
  43316. #. type: Plain text
  43317. #: guix-git/doc/guix.texi:28860
  43318. msgid "Available @code{libvirt-configuration} fields are:"
  43319. msgstr ""
  43320. #. type: deftypevr
  43321. #: guix-git/doc/guix.texi:28861
  43322. #, no-wrap
  43323. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  43324. msgstr ""
  43325. #. type: deftypevr
  43326. #: guix-git/doc/guix.texi:28863
  43327. msgid "Libvirt package."
  43328. msgstr ""
  43329. #. type: deftypevr
  43330. #: guix-git/doc/guix.texi:28866
  43331. #, no-wrap
  43332. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  43333. msgstr ""
  43334. #. type: deftypevr
  43335. #: guix-git/doc/guix.texi:28869
  43336. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  43337. msgstr ""
  43338. #. type: deftypevr
  43339. #: guix-git/doc/guix.texi:28872
  43340. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  43341. msgstr ""
  43342. #. type: deftypevr
  43343. #: guix-git/doc/guix.texi:28877
  43344. #, no-wrap
  43345. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  43346. msgstr ""
  43347. #. type: deftypevr
  43348. #: guix-git/doc/guix.texi:28880
  43349. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  43350. msgstr ""
  43351. #. type: deftypevr
  43352. #: guix-git/doc/guix.texi:28884
  43353. 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)."
  43354. msgstr ""
  43355. #. type: deftypevr
  43356. #: guix-git/doc/guix.texi:28889
  43357. #, no-wrap
  43358. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  43359. msgstr ""
  43360. #. type: deftypevr
  43361. #: guix-git/doc/guix.texi:28892
  43362. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  43363. msgstr ""
  43364. #. type: deftypevr
  43365. #: guix-git/doc/guix.texi:28894
  43366. msgid "Defaults to @samp{\"16514\"}."
  43367. msgstr ""
  43368. #. type: deftypevr
  43369. #: guix-git/doc/guix.texi:28897
  43370. #, no-wrap
  43371. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  43372. msgstr ""
  43373. #. type: deftypevr
  43374. #: guix-git/doc/guix.texi:28900
  43375. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  43376. msgstr ""
  43377. #. type: deftypevr
  43378. #: guix-git/doc/guix.texi:28902
  43379. msgid "Defaults to @samp{\"16509\"}."
  43380. msgstr ""
  43381. #. type: deftypevr
  43382. #: guix-git/doc/guix.texi:28905
  43383. #, no-wrap
  43384. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  43385. msgstr ""
  43386. #. type: deftypevr
  43387. #: guix-git/doc/guix.texi:28907
  43388. msgid "IP address or hostname used for client connections."
  43389. msgstr ""
  43390. #. type: deftypevr
  43391. #: guix-git/doc/guix.texi:28912
  43392. #, no-wrap
  43393. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  43394. msgstr ""
  43395. #. type: deftypevr
  43396. #: guix-git/doc/guix.texi:28914
  43397. msgid "Flag toggling mDNS advertisement of the libvirt service."
  43398. msgstr ""
  43399. #. type: deftypevr
  43400. #: guix-git/doc/guix.texi:28917
  43401. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  43402. msgstr ""
  43403. #. type: deftypevr
  43404. #: guix-git/doc/guix.texi:28922
  43405. #, no-wrap
  43406. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  43407. msgstr ""
  43408. #. type: deftypevr
  43409. #: guix-git/doc/guix.texi:28925
  43410. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  43411. msgstr ""
  43412. #. type: deftypevr
  43413. #: guix-git/doc/guix.texi:28927
  43414. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  43415. msgstr ""
  43416. #. type: deftypevr
  43417. #: guix-git/doc/guix.texi:28930
  43418. #, no-wrap
  43419. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  43420. msgstr ""
  43421. #. type: deftypevr
  43422. #: guix-git/doc/guix.texi:28934
  43423. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  43424. msgstr ""
  43425. #. type: deftypevr
  43426. #: guix-git/doc/guix.texi:28939
  43427. #, no-wrap
  43428. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  43429. msgstr ""
  43430. #. type: deftypevr
  43431. #: guix-git/doc/guix.texi:28942
  43432. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  43433. msgstr ""
  43434. #. type: deftypevr
  43435. #: guix-git/doc/guix.texi:28944 guix-git/doc/guix.texi:28962
  43436. msgid "Defaults to @samp{\"0777\"}."
  43437. msgstr ""
  43438. #. type: deftypevr
  43439. #: guix-git/doc/guix.texi:28947
  43440. #, no-wrap
  43441. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  43442. msgstr ""
  43443. #. type: deftypevr
  43444. #: guix-git/doc/guix.texi:28951
  43445. 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)"
  43446. msgstr ""
  43447. #. type: deftypevr
  43448. #: guix-git/doc/guix.texi:28953
  43449. msgid "Defaults to @samp{\"0770\"}."
  43450. msgstr ""
  43451. #. type: deftypevr
  43452. #: guix-git/doc/guix.texi:28956
  43453. #, no-wrap
  43454. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  43455. msgstr ""
  43456. #. type: deftypevr
  43457. #: guix-git/doc/guix.texi:28960
  43458. 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."
  43459. msgstr ""
  43460. #. type: deftypevr
  43461. #: guix-git/doc/guix.texi:28965
  43462. #, no-wrap
  43463. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  43464. msgstr ""
  43465. #. type: deftypevr
  43466. #: guix-git/doc/guix.texi:28967
  43467. msgid "The directory in which sockets will be found/created."
  43468. msgstr ""
  43469. #. type: deftypevr
  43470. #: guix-git/doc/guix.texi:28969
  43471. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  43472. msgstr ""
  43473. #. type: deftypevr
  43474. #: guix-git/doc/guix.texi:28972
  43475. #, no-wrap
  43476. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  43477. msgstr ""
  43478. #. type: deftypevr
  43479. #: guix-git/doc/guix.texi:28975
  43480. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  43481. msgstr ""
  43482. #. type: deftypevr
  43483. #: guix-git/doc/guix.texi:28977 guix-git/doc/guix.texi:28986
  43484. msgid "Defaults to @samp{\"polkit\"}."
  43485. msgstr ""
  43486. #. type: deftypevr
  43487. #: guix-git/doc/guix.texi:28980
  43488. #, no-wrap
  43489. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  43490. msgstr ""
  43491. #. type: deftypevr
  43492. #: guix-git/doc/guix.texi:28984
  43493. 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."
  43494. msgstr ""
  43495. #. type: deftypevr
  43496. #: guix-git/doc/guix.texi:28989
  43497. #, no-wrap
  43498. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  43499. msgstr ""
  43500. #. type: deftypevr
  43501. #: guix-git/doc/guix.texi:28993
  43502. 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."
  43503. msgstr ""
  43504. #. type: deftypevr
  43505. #: guix-git/doc/guix.texi:28995
  43506. msgid "Defaults to @samp{\"sasl\"}."
  43507. msgstr ""
  43508. #. type: deftypevr
  43509. #: guix-git/doc/guix.texi:28998
  43510. #, no-wrap
  43511. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  43512. msgstr ""
  43513. #. type: deftypevr
  43514. #: guix-git/doc/guix.texi:29002
  43515. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  43516. msgstr ""
  43517. #. type: deftypevr
  43518. #: guix-git/doc/guix.texi:29005
  43519. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  43520. msgstr ""
  43521. #. type: deftypevr
  43522. #: guix-git/doc/guix.texi:29007
  43523. msgid "Defaults to @samp{\"none\"}."
  43524. msgstr ""
  43525. #. type: deftypevr
  43526. #: guix-git/doc/guix.texi:29010
  43527. #, no-wrap
  43528. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  43529. msgstr ""
  43530. #. type: deftypevr
  43531. #: guix-git/doc/guix.texi:29012
  43532. msgid "API access control scheme."
  43533. msgstr ""
  43534. #. type: deftypevr
  43535. #: guix-git/doc/guix.texi:29015
  43536. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  43537. msgstr ""
  43538. #. type: deftypevr
  43539. #: guix-git/doc/guix.texi:29020
  43540. #, no-wrap
  43541. msgid "{@code{libvirt-configuration} parameter} string key-file"
  43542. msgstr ""
  43543. #. type: deftypevr
  43544. #: guix-git/doc/guix.texi:29023
  43545. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  43546. msgstr ""
  43547. #. type: deftypevr
  43548. #: guix-git/doc/guix.texi:29028
  43549. #, no-wrap
  43550. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  43551. msgstr ""
  43552. #. type: deftypevr
  43553. #: guix-git/doc/guix.texi:29031
  43554. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  43555. msgstr ""
  43556. #. type: deftypevr
  43557. #: guix-git/doc/guix.texi:29036
  43558. #, no-wrap
  43559. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  43560. msgstr ""
  43561. #. type: deftypevr
  43562. #: guix-git/doc/guix.texi:29039
  43563. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  43564. msgstr ""
  43565. #. type: deftypevr
  43566. #: guix-git/doc/guix.texi:29044
  43567. #, no-wrap
  43568. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  43569. msgstr ""
  43570. #. type: deftypevr
  43571. #: guix-git/doc/guix.texi:29047
  43572. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  43573. msgstr ""
  43574. #. type: deftypevr
  43575. #: guix-git/doc/guix.texi:29052
  43576. #, no-wrap
  43577. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  43578. msgstr ""
  43579. #. type: deftypevr
  43580. #: guix-git/doc/guix.texi:29054
  43581. msgid "Disable verification of our own server certificates."
  43582. msgstr ""
  43583. #. type: deftypevr
  43584. #: guix-git/doc/guix.texi:29057
  43585. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  43586. msgstr ""
  43587. #. type: deftypevr
  43588. #: guix-git/doc/guix.texi:29062
  43589. #, no-wrap
  43590. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  43591. msgstr ""
  43592. #. type: deftypevr
  43593. #: guix-git/doc/guix.texi:29064
  43594. msgid "Disable verification of client certificates."
  43595. msgstr ""
  43596. #. type: deftypevr
  43597. #: guix-git/doc/guix.texi:29068
  43598. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  43599. msgstr ""
  43600. #. type: deftypevr
  43601. #: guix-git/doc/guix.texi:29073
  43602. #, no-wrap
  43603. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  43604. msgstr ""
  43605. #. type: deftypevr
  43606. #: guix-git/doc/guix.texi:29075
  43607. msgid "Whitelist of allowed x509 Distinguished Name."
  43608. msgstr ""
  43609. #. type: deftypevr
  43610. #: guix-git/doc/guix.texi:29080
  43611. #, no-wrap
  43612. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  43613. msgstr ""
  43614. #. type: deftypevr
  43615. #: guix-git/doc/guix.texi:29083
  43616. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  43617. msgstr ""
  43618. #. type: deftypevr
  43619. #: guix-git/doc/guix.texi:29088
  43620. #, no-wrap
  43621. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  43622. msgstr ""
  43623. #. type: deftypevr
  43624. #: guix-git/doc/guix.texi:29092
  43625. 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."
  43626. msgstr ""
  43627. #. type: deftypevr
  43628. #: guix-git/doc/guix.texi:29094
  43629. msgid "Defaults to @samp{\"NORMAL\"}."
  43630. msgstr ""
  43631. #. type: deftypevr
  43632. #: guix-git/doc/guix.texi:29097
  43633. #, no-wrap
  43634. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  43635. msgstr ""
  43636. #. type: deftypevr
  43637. #: guix-git/doc/guix.texi:29100 guix-git/doc/guix.texi:29524
  43638. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  43639. msgstr ""
  43640. #. type: deftypevr
  43641. #: guix-git/doc/guix.texi:29102
  43642. msgid "Defaults to @samp{5000}."
  43643. msgstr ""
  43644. #. type: deftypevr
  43645. #: guix-git/doc/guix.texi:29105
  43646. #, no-wrap
  43647. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  43648. msgstr ""
  43649. #. type: deftypevr
  43650. #: guix-git/doc/guix.texi:29109
  43651. 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."
  43652. msgstr ""
  43653. #. type: deftypevr
  43654. #: guix-git/doc/guix.texi:29114
  43655. #, no-wrap
  43656. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  43657. msgstr ""
  43658. #. type: deftypevr
  43659. #: guix-git/doc/guix.texi:29117
  43660. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  43661. msgstr ""
  43662. #. type: deftypevr
  43663. #: guix-git/doc/guix.texi:29119 guix-git/doc/guix.texi:29137
  43664. #: guix-git/doc/guix.texi:29153
  43665. msgid "Defaults to @samp{20}."
  43666. msgstr ""
  43667. #. type: deftypevr
  43668. #: guix-git/doc/guix.texi:29122
  43669. #, no-wrap
  43670. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  43671. msgstr ""
  43672. #. type: deftypevr
  43673. #: guix-git/doc/guix.texi:29124
  43674. msgid "Number of workers to start up initially."
  43675. msgstr ""
  43676. #. type: deftypevr
  43677. #: guix-git/doc/guix.texi:29129
  43678. #, no-wrap
  43679. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  43680. msgstr ""
  43681. #. type: deftypevr
  43682. #: guix-git/doc/guix.texi:29131
  43683. msgid "Maximum number of worker threads."
  43684. msgstr ""
  43685. #. type: deftypevr
  43686. #: guix-git/doc/guix.texi:29135
  43687. 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."
  43688. msgstr ""
  43689. #. type: deftypevr
  43690. #: guix-git/doc/guix.texi:29140
  43691. #, no-wrap
  43692. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  43693. msgstr ""
  43694. #. type: deftypevr
  43695. #: guix-git/doc/guix.texi:29144
  43696. 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."
  43697. msgstr ""
  43698. #. type: deftypevr
  43699. #: guix-git/doc/guix.texi:29149
  43700. #, no-wrap
  43701. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  43702. msgstr ""
  43703. #. type: deftypevr
  43704. #: guix-git/doc/guix.texi:29151
  43705. msgid "Total global limit on concurrent RPC calls."
  43706. msgstr ""
  43707. #. type: deftypevr
  43708. #: guix-git/doc/guix.texi:29156
  43709. #, no-wrap
  43710. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  43711. msgstr ""
  43712. #. type: deftypevr
  43713. #: guix-git/doc/guix.texi:29160
  43714. 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."
  43715. msgstr ""
  43716. #. type: deftypevr
  43717. #: guix-git/doc/guix.texi:29165
  43718. #, no-wrap
  43719. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  43720. msgstr ""
  43721. #. type: deftypevr
  43722. #: guix-git/doc/guix.texi:29167
  43723. msgid "Same as @code{min-workers} but for the admin interface."
  43724. msgstr ""
  43725. #. type: deftypevr
  43726. #: guix-git/doc/guix.texi:29172
  43727. #, no-wrap
  43728. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  43729. msgstr ""
  43730. #. type: deftypevr
  43731. #: guix-git/doc/guix.texi:29174
  43732. msgid "Same as @code{max-workers} but for the admin interface."
  43733. msgstr ""
  43734. #. type: deftypevr
  43735. #: guix-git/doc/guix.texi:29179
  43736. #, no-wrap
  43737. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  43738. msgstr ""
  43739. #. type: deftypevr
  43740. #: guix-git/doc/guix.texi:29181
  43741. msgid "Same as @code{max-clients} but for the admin interface."
  43742. msgstr ""
  43743. #. type: deftypevr
  43744. #: guix-git/doc/guix.texi:29186
  43745. #, no-wrap
  43746. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  43747. msgstr ""
  43748. #. type: deftypevr
  43749. #: guix-git/doc/guix.texi:29188
  43750. msgid "Same as @code{max-queued-clients} but for the admin interface."
  43751. msgstr ""
  43752. #. type: deftypevr
  43753. #: guix-git/doc/guix.texi:29193
  43754. #, no-wrap
  43755. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  43756. msgstr ""
  43757. #. type: deftypevr
  43758. #: guix-git/doc/guix.texi:29195
  43759. msgid "Same as @code{max-client-requests} but for the admin interface."
  43760. msgstr ""
  43761. #. type: deftypevr
  43762. #: guix-git/doc/guix.texi:29200
  43763. #, no-wrap
  43764. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  43765. msgstr ""
  43766. #. type: deftypevr
  43767. #: guix-git/doc/guix.texi:29202 guix-git/doc/guix.texi:29426
  43768. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  43769. msgstr ""
  43770. #. type: deftypevr
  43771. #: guix-git/doc/guix.texi:29207
  43772. #, no-wrap
  43773. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  43774. msgstr ""
  43775. #. type: deftypevr
  43776. #: guix-git/doc/guix.texi:29209 guix-git/doc/guix.texi:29433
  43777. msgid "Logging filters."
  43778. msgstr ""
  43779. #. type: deftypevr
  43780. #: guix-git/doc/guix.texi:29212
  43781. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  43782. msgstr ""
  43783. #. type: itemize
  43784. #: guix-git/doc/guix.texi:29216 guix-git/doc/guix.texi:29440
  43785. msgid "x:name"
  43786. msgstr ""
  43787. #. type: itemize
  43788. #: guix-git/doc/guix.texi:29219 guix-git/doc/guix.texi:29443
  43789. msgid "x:+name"
  43790. msgstr ""
  43791. #. type: deftypevr
  43792. #: guix-git/doc/guix.texi:29230
  43793. 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:"
  43794. msgstr ""
  43795. #. type: itemize
  43796. #: guix-git/doc/guix.texi:29234 guix-git/doc/guix.texi:29279
  43797. #: guix-git/doc/guix.texi:29457 guix-git/doc/guix.texi:29502
  43798. msgid "1: DEBUG"
  43799. msgstr ""
  43800. #. type: itemize
  43801. #: guix-git/doc/guix.texi:29237 guix-git/doc/guix.texi:29282
  43802. #: guix-git/doc/guix.texi:29460 guix-git/doc/guix.texi:29505
  43803. msgid "2: INFO"
  43804. msgstr ""
  43805. #. type: itemize
  43806. #: guix-git/doc/guix.texi:29240 guix-git/doc/guix.texi:29285
  43807. #: guix-git/doc/guix.texi:29463 guix-git/doc/guix.texi:29508
  43808. msgid "3: WARNING"
  43809. msgstr ""
  43810. #. type: itemize
  43811. #: guix-git/doc/guix.texi:29243 guix-git/doc/guix.texi:29288
  43812. #: guix-git/doc/guix.texi:29466 guix-git/doc/guix.texi:29511
  43813. msgid "4: ERROR"
  43814. msgstr ""
  43815. #. type: deftypevr
  43816. #: guix-git/doc/guix.texi:29248 guix-git/doc/guix.texi:29471
  43817. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  43818. msgstr ""
  43819. #. type: deftypevr
  43820. #: guix-git/doc/guix.texi:29250 guix-git/doc/guix.texi:29473
  43821. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  43822. msgstr ""
  43823. #. type: deftypevr
  43824. #: guix-git/doc/guix.texi:29253
  43825. #, no-wrap
  43826. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  43827. msgstr ""
  43828. #. type: deftypevr
  43829. #: guix-git/doc/guix.texi:29255 guix-git/doc/guix.texi:29478
  43830. msgid "Logging outputs."
  43831. msgstr ""
  43832. #. type: deftypevr
  43833. #: guix-git/doc/guix.texi:29258
  43834. msgid "An output is one of the places to save logging information. The format for an output can be:"
  43835. msgstr ""
  43836. #. type: item
  43837. #: guix-git/doc/guix.texi:29260 guix-git/doc/guix.texi:29483
  43838. #, no-wrap
  43839. msgid "x:stderr"
  43840. msgstr ""
  43841. #. type: table
  43842. #: guix-git/doc/guix.texi:29262 guix-git/doc/guix.texi:29485
  43843. msgid "output goes to stderr"
  43844. msgstr ""
  43845. #. type: item
  43846. #: guix-git/doc/guix.texi:29263 guix-git/doc/guix.texi:29486
  43847. #, no-wrap
  43848. msgid "x:syslog:name"
  43849. msgstr ""
  43850. #. type: table
  43851. #: guix-git/doc/guix.texi:29265 guix-git/doc/guix.texi:29488
  43852. msgid "use syslog for the output and use the given name as the ident"
  43853. msgstr ""
  43854. #. type: item
  43855. #: guix-git/doc/guix.texi:29266 guix-git/doc/guix.texi:29489
  43856. #, no-wrap
  43857. msgid "x:file:file_path"
  43858. msgstr ""
  43859. #. type: table
  43860. #: guix-git/doc/guix.texi:29268 guix-git/doc/guix.texi:29491
  43861. msgid "output to a file, with the given filepath"
  43862. msgstr ""
  43863. #. type: item
  43864. #: guix-git/doc/guix.texi:29269 guix-git/doc/guix.texi:29492
  43865. #, no-wrap
  43866. msgid "x:journald"
  43867. msgstr ""
  43868. #. type: table
  43869. #: guix-git/doc/guix.texi:29271 guix-git/doc/guix.texi:29494
  43870. msgid "output to journald logging system"
  43871. msgstr ""
  43872. #. type: deftypevr
  43873. #: guix-git/doc/guix.texi:29275 guix-git/doc/guix.texi:29498
  43874. msgid "In all case the x prefix is the minimal level, acting as a filter"
  43875. msgstr ""
  43876. #. type: deftypevr
  43877. #: guix-git/doc/guix.texi:29293 guix-git/doc/guix.texi:29516
  43878. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  43879. msgstr ""
  43880. #. type: deftypevr
  43881. #: guix-git/doc/guix.texi:29295 guix-git/doc/guix.texi:29518
  43882. msgid "Defaults to @samp{\"3:stderr\"}."
  43883. msgstr ""
  43884. #. type: deftypevr
  43885. #: guix-git/doc/guix.texi:29298
  43886. #, no-wrap
  43887. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  43888. msgstr ""
  43889. #. type: deftypevr
  43890. #: guix-git/doc/guix.texi:29300
  43891. msgid "Allows usage of the auditing subsystem to be altered"
  43892. msgstr ""
  43893. #. type: itemize
  43894. #: guix-git/doc/guix.texi:29304
  43895. msgid "0: disable all auditing"
  43896. msgstr ""
  43897. #. type: itemize
  43898. #: guix-git/doc/guix.texi:29307
  43899. msgid "1: enable auditing, only if enabled on host"
  43900. msgstr ""
  43901. #. type: itemize
  43902. #: guix-git/doc/guix.texi:29310
  43903. msgid "2: enable auditing, and exit if disabled on host."
  43904. msgstr ""
  43905. #. type: deftypevr
  43906. #: guix-git/doc/guix.texi:29317
  43907. #, no-wrap
  43908. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  43909. msgstr ""
  43910. #. type: deftypevr
  43911. #: guix-git/doc/guix.texi:29319
  43912. msgid "Send audit messages via libvirt logging infrastructure."
  43913. msgstr ""
  43914. #. type: deftypevr
  43915. #: guix-git/doc/guix.texi:29324
  43916. #, no-wrap
  43917. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  43918. msgstr ""
  43919. #. type: deftypevr
  43920. #: guix-git/doc/guix.texi:29326
  43921. msgid "Host UUID@. UUID must not have all digits be the same."
  43922. msgstr ""
  43923. #. type: deftypevr
  43924. #: guix-git/doc/guix.texi:29331
  43925. #, no-wrap
  43926. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  43927. msgstr ""
  43928. #. type: deftypevr
  43929. #: guix-git/doc/guix.texi:29333
  43930. msgid "Source to read host UUID."
  43931. msgstr ""
  43932. #. type: itemize
  43933. #: guix-git/doc/guix.texi:29337
  43934. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  43935. msgstr ""
  43936. #. type: itemize
  43937. #: guix-git/doc/guix.texi:29340
  43938. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  43939. msgstr ""
  43940. #. type: deftypevr
  43941. #: guix-git/doc/guix.texi:29345
  43942. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  43943. msgstr ""
  43944. #. type: deftypevr
  43945. #: guix-git/doc/guix.texi:29347
  43946. msgid "Defaults to @samp{\"smbios\"}."
  43947. msgstr ""
  43948. #. type: deftypevr
  43949. #: guix-git/doc/guix.texi:29350
  43950. #, no-wrap
  43951. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  43952. msgstr ""
  43953. #. type: deftypevr
  43954. #: guix-git/doc/guix.texi:29355
  43955. 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."
  43956. msgstr ""
  43957. #. type: deftypevr
  43958. #: guix-git/doc/guix.texi:29360
  43959. #, no-wrap
  43960. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  43961. msgstr ""
  43962. #. type: deftypevr
  43963. #: guix-git/doc/guix.texi:29364
  43964. 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."
  43965. msgstr ""
  43966. #. type: deftypevr
  43967. #: guix-git/doc/guix.texi:29371
  43968. 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."
  43969. msgstr ""
  43970. #. type: deftypevr
  43971. #: guix-git/doc/guix.texi:29376
  43972. #, no-wrap
  43973. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  43974. msgstr ""
  43975. #. type: deftypevr
  43976. #: guix-git/doc/guix.texi:29378 guix-git/doc/guix.texi:29385
  43977. msgid "Same as above but for admin interface."
  43978. msgstr ""
  43979. #. type: deftypevr
  43980. #: guix-git/doc/guix.texi:29383
  43981. #, no-wrap
  43982. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  43983. msgstr ""
  43984. #. type: deftypevr
  43985. #: guix-git/doc/guix.texi:29390
  43986. #, no-wrap
  43987. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  43988. msgstr ""
  43989. #. type: deftypevr
  43990. #: guix-git/doc/guix.texi:29392
  43991. msgid "Timeout for Open vSwitch calls."
  43992. msgstr ""
  43993. #. type: deftypevr
  43994. #: guix-git/doc/guix.texi:29396
  43995. 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."
  43996. msgstr ""
  43997. #. type: subsubheading
  43998. #: guix-git/doc/guix.texi:29403
  43999. #, no-wrap
  44000. msgid "Virtlog daemon"
  44001. msgstr ""
  44002. #. type: Plain text
  44003. #: guix-git/doc/guix.texi:29406
  44004. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  44005. msgstr ""
  44006. #. type: Plain text
  44007. #: guix-git/doc/guix.texi:29412
  44008. 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."
  44009. msgstr ""
  44010. #. type: deffn
  44011. #: guix-git/doc/guix.texi:29413
  44012. #, no-wrap
  44013. msgid "{Scheme Variable} virtlog-service-type"
  44014. msgstr ""
  44015. #. type: deffn
  44016. #: guix-git/doc/guix.texi:29416
  44017. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  44018. msgstr ""
  44019. #. type: lisp
  44020. #: guix-git/doc/guix.texi:29421
  44021. #, no-wrap
  44022. msgid ""
  44023. "(service virtlog-service-type\n"
  44024. " (virtlog-configuration\n"
  44025. " (max-clients 1000)))\n"
  44026. msgstr ""
  44027. #. type: deftypevr
  44028. #: guix-git/doc/guix.texi:29424
  44029. #, no-wrap
  44030. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  44031. msgstr ""
  44032. #. type: deftypevr
  44033. #: guix-git/doc/guix.texi:29431
  44034. #, no-wrap
  44035. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  44036. msgstr ""
  44037. #. type: deftypevr
  44038. #: guix-git/doc/guix.texi:29436
  44039. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  44040. msgstr ""
  44041. #. type: deftypevr
  44042. #: guix-git/doc/guix.texi:29453
  44043. 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:"
  44044. msgstr ""
  44045. #. type: deftypevr
  44046. #: guix-git/doc/guix.texi:29476
  44047. #, no-wrap
  44048. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  44049. msgstr ""
  44050. #. type: deftypevr
  44051. #: guix-git/doc/guix.texi:29481
  44052. msgid "An output is one of the places to save logging information The format for an output can be:"
  44053. msgstr ""
  44054. #. type: deftypevr
  44055. #: guix-git/doc/guix.texi:29521
  44056. #, no-wrap
  44057. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  44058. msgstr ""
  44059. #. type: deftypevr
  44060. #: guix-git/doc/guix.texi:29526
  44061. msgid "Defaults to @samp{1024}."
  44062. msgstr ""
  44063. #. type: deftypevr
  44064. #: guix-git/doc/guix.texi:29529
  44065. #, no-wrap
  44066. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  44067. msgstr ""
  44068. #. type: deftypevr
  44069. #: guix-git/doc/guix.texi:29531
  44070. msgid "Maximum file size before rolling over."
  44071. msgstr ""
  44072. #. type: deftypevr
  44073. #: guix-git/doc/guix.texi:29533
  44074. msgid "Defaults to @samp{2MB}"
  44075. msgstr ""
  44076. #. type: deftypevr
  44077. #: guix-git/doc/guix.texi:29536
  44078. #, no-wrap
  44079. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  44080. msgstr ""
  44081. #. type: deftypevr
  44082. #: guix-git/doc/guix.texi:29538
  44083. msgid "Maximum number of backup files to keep."
  44084. msgstr ""
  44085. #. type: deftypevr
  44086. #: guix-git/doc/guix.texi:29540
  44087. msgid "Defaults to @samp{3}"
  44088. msgstr ""
  44089. #. type: anchor{#1}
  44090. #: guix-git/doc/guix.texi:29544
  44091. msgid "transparent-emulation-qemu"
  44092. msgstr ""
  44093. #. type: subsubheading
  44094. #: guix-git/doc/guix.texi:29544
  44095. #, no-wrap
  44096. msgid "Transparent Emulation with QEMU"
  44097. msgstr ""
  44098. #. type: cindex
  44099. #: guix-git/doc/guix.texi:29546
  44100. #, no-wrap
  44101. msgid "emulation"
  44102. msgstr ""
  44103. #. type: code{#1}
  44104. #: guix-git/doc/guix.texi:29547
  44105. #, no-wrap
  44106. msgid "binfmt_misc"
  44107. msgstr ""
  44108. #. type: Plain text
  44109. #: guix-git/doc/guix.texi:29555
  44110. 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."
  44111. msgstr ""
  44112. #. type: defvr
  44113. #: guix-git/doc/guix.texi:29556
  44114. #, no-wrap
  44115. msgid "{Scheme Variable} qemu-binfmt-service-type"
  44116. msgstr ""
  44117. #. type: defvr
  44118. #: guix-git/doc/guix.texi:29561
  44119. 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:"
  44120. msgstr ""
  44121. #. type: lisp
  44122. #: guix-git/doc/guix.texi:29566
  44123. #, no-wrap
  44124. msgid ""
  44125. "(service qemu-binfmt-service-type\n"
  44126. " (qemu-binfmt-configuration\n"
  44127. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  44128. msgstr ""
  44129. #. type: defvr
  44130. #: guix-git/doc/guix.texi:29572
  44131. 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})."
  44132. msgstr ""
  44133. #. type: deftp
  44134. #: guix-git/doc/guix.texi:29574
  44135. #, no-wrap
  44136. msgid "{Data Type} qemu-binfmt-configuration"
  44137. msgstr ""
  44138. #. type: deftp
  44139. #: guix-git/doc/guix.texi:29576
  44140. msgid "This is the configuration for the @code{qemu-binfmt} service."
  44141. msgstr ""
  44142. #. type: item
  44143. #: guix-git/doc/guix.texi:29578
  44144. #, no-wrap
  44145. msgid "@code{platforms} (default: @code{'()})"
  44146. msgstr ""
  44147. #. type: table
  44148. #: guix-git/doc/guix.texi:29581
  44149. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  44150. msgstr ""
  44151. #. type: table
  44152. #: guix-git/doc/guix.texi:29584
  44153. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  44154. msgstr ""
  44155. #. type: lisp
  44156. #: guix-git/doc/guix.texi:29589
  44157. #, no-wrap
  44158. msgid ""
  44159. "(service qemu-binfmt-service-type\n"
  44160. " (qemu-binfmt-configuration\n"
  44161. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  44162. msgstr ""
  44163. #. type: table
  44164. #: guix-git/doc/guix.texi:29592
  44165. msgid "You can run:"
  44166. msgstr ""
  44167. #. type: example
  44168. #: guix-git/doc/guix.texi:29595
  44169. #, no-wrap
  44170. msgid "guix build -s armhf-linux inkscape\n"
  44171. msgstr ""
  44172. #. type: table
  44173. #: guix-git/doc/guix.texi:29602
  44174. 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!"
  44175. msgstr ""
  44176. #. type: item
  44177. #: guix-git/doc/guix.texi:29603
  44178. #, no-wrap
  44179. msgid "@code{qemu} (default: @code{qemu})"
  44180. msgstr ""
  44181. #. type: table
  44182. #: guix-git/doc/guix.texi:29605 guix-git/doc/guix.texi:29699
  44183. msgid "The QEMU package to use."
  44184. msgstr ""
  44185. #. type: deffn
  44186. #: guix-git/doc/guix.texi:29608
  44187. #, no-wrap
  44188. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  44189. msgstr ""
  44190. #. type: deffn
  44191. #: guix-git/doc/guix.texi:29613
  44192. 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."
  44193. msgstr ""
  44194. #. type: deffn
  44195. #: guix-git/doc/guix.texi:29615
  44196. #, no-wrap
  44197. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  44198. msgstr ""
  44199. #. type: deffn
  44200. #: guix-git/doc/guix.texi:29617
  44201. msgid "Return true if @var{obj} is a platform object."
  44202. msgstr ""
  44203. #. type: deffn
  44204. #: guix-git/doc/guix.texi:29619
  44205. #, no-wrap
  44206. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  44207. msgstr ""
  44208. #. type: deffn
  44209. #: guix-git/doc/guix.texi:29621
  44210. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  44211. msgstr ""
  44212. #. type: subsubheading
  44213. #: guix-git/doc/guix.texi:29624
  44214. #, no-wrap
  44215. msgid "The Hurd in a Virtual Machine"
  44216. msgstr ""
  44217. #. type: cindex
  44218. #: guix-git/doc/guix.texi:29627
  44219. #, no-wrap
  44220. msgid "the Hurd"
  44221. msgstr ""
  44222. #. type: cindex
  44223. #: guix-git/doc/guix.texi:29628
  44224. #, no-wrap
  44225. msgid "childhurd"
  44226. msgstr ""
  44227. #. type: Plain text
  44228. #: guix-git/doc/guix.texi:29636
  44229. 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:"
  44230. msgstr ""
  44231. #. type: example
  44232. #: guix-git/doc/guix.texi:29640
  44233. #, no-wrap
  44234. msgid ""
  44235. "herd start hurd-vm\n"
  44236. "herd stop childhurd\n"
  44237. msgstr ""
  44238. #. type: Plain text
  44239. #: guix-git/doc/guix.texi:29644
  44240. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  44241. msgstr ""
  44242. #. type: example
  44243. #: guix-git/doc/guix.texi:29648
  44244. #, no-wrap
  44245. msgid ""
  44246. "guix environment --ad-hoc tigervnc-client -- \\\n"
  44247. " vncviewer localhost:5900\n"
  44248. msgstr ""
  44249. #. type: Plain text
  44250. #: guix-git/doc/guix.texi:29654
  44251. 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:"
  44252. msgstr ""
  44253. #. type: example
  44254. #: guix-git/doc/guix.texi:29657
  44255. #, no-wrap
  44256. msgid "ssh root@@localhost -p 10022\n"
  44257. msgstr ""
  44258. #. type: Plain text
  44259. #: guix-git/doc/guix.texi:29666
  44260. 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."
  44261. msgstr ""
  44262. #. type: defvr
  44263. #: guix-git/doc/guix.texi:29667
  44264. #, no-wrap
  44265. msgid "{Scheme Variable} hurd-vm-service-type"
  44266. msgstr ""
  44267. #. type: defvr
  44268. #: guix-git/doc/guix.texi:29673
  44269. 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."
  44270. msgstr ""
  44271. #. type: lisp
  44272. #: guix-git/doc/guix.texi:29681
  44273. #, no-wrap
  44274. msgid ""
  44275. "(service hurd-vm-service-type\n"
  44276. " (hurd-vm-configuration\n"
  44277. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  44278. " (memory-size 1024))) ;1024MiB\n"
  44279. msgstr ""
  44280. #. type: defvr
  44281. #: guix-git/doc/guix.texi:29685
  44282. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  44283. msgstr ""
  44284. #. type: deftp
  44285. #: guix-git/doc/guix.texi:29687
  44286. #, no-wrap
  44287. msgid "{Data Type} hurd-vm-configuration"
  44288. msgstr ""
  44289. #. type: deftp
  44290. #: guix-git/doc/guix.texi:29690
  44291. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  44292. msgstr ""
  44293. #. type: item
  44294. #: guix-git/doc/guix.texi:29692
  44295. #, no-wrap
  44296. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  44297. msgstr ""
  44298. #. type: table
  44299. #: guix-git/doc/guix.texi:29696
  44300. 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}})."
  44301. msgstr ""
  44302. #. type: item
  44303. #: guix-git/doc/guix.texi:29697
  44304. #, no-wrap
  44305. msgid "@code{qemu} (default: @code{qemu-minimal})"
  44306. msgstr ""
  44307. #. type: item
  44308. #: guix-git/doc/guix.texi:29700
  44309. #, no-wrap
  44310. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  44311. msgstr ""
  44312. #. type: table
  44313. #: guix-git/doc/guix.texi:29703
  44314. msgid "The procedure used to build the disk-image built from this configuration."
  44315. msgstr ""
  44316. #. type: item
  44317. #: guix-git/doc/guix.texi:29704
  44318. #, no-wrap
  44319. msgid "@code{disk-size} (default: @code{'guess})"
  44320. msgstr ""
  44321. #. type: table
  44322. #: guix-git/doc/guix.texi:29706
  44323. msgid "The size of the disk image."
  44324. msgstr ""
  44325. #. type: item
  44326. #: guix-git/doc/guix.texi:29707
  44327. #, no-wrap
  44328. msgid "@code{memory-size} (default: @code{512})"
  44329. msgstr ""
  44330. #. type: table
  44331. #: guix-git/doc/guix.texi:29709
  44332. msgid "The memory size of the Virtual Machine in mebibytes."
  44333. msgstr ""
  44334. #. type: item
  44335. #: guix-git/doc/guix.texi:29710
  44336. #, no-wrap
  44337. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  44338. msgstr ""
  44339. #. type: table
  44340. #: guix-git/doc/guix.texi:29712
  44341. msgid "The extra options for running QEMU."
  44342. msgstr ""
  44343. #. type: table
  44344. #: guix-git/doc/guix.texi:29717
  44345. 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}."
  44346. msgstr ""
  44347. #. type: item
  44348. #: guix-git/doc/guix.texi:29718
  44349. #, no-wrap
  44350. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  44351. msgstr ""
  44352. #. type: table
  44353. #: guix-git/doc/guix.texi:29720
  44354. msgid "The procedure used to produce the list of QEMU networking options."
  44355. msgstr ""
  44356. #. type: table
  44357. #: guix-git/doc/guix.texi:29722
  44358. msgid "By default, it produces"
  44359. msgstr ""
  44360. #. type: lisp
  44361. #: guix-git/doc/guix.texi:29730
  44362. #, no-wrap
  44363. msgid ""
  44364. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  44365. " \"--netdev\" (string-append\n"
  44366. " \"user,id=net0,\"\n"
  44367. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  44368. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  44369. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  44370. msgstr ""
  44371. #. type: table
  44372. #: guix-git/doc/guix.texi:29733
  44373. msgid "with forwarded ports:"
  44374. msgstr ""
  44375. #. type: example
  44376. #: guix-git/doc/guix.texi:29738
  44377. #, no-wrap
  44378. msgid ""
  44379. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  44380. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  44381. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  44382. msgstr ""
  44383. #. type: item
  44384. #: guix-git/doc/guix.texi:29740
  44385. #, no-wrap
  44386. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  44387. msgstr ""
  44388. #. type: table
  44389. #: guix-git/doc/guix.texi:29745
  44390. 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."
  44391. msgstr ""
  44392. #. type: table
  44393. #: guix-git/doc/guix.texi:29749
  44394. 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."
  44395. msgstr ""
  44396. #. type: table
  44397. #: guix-git/doc/guix.texi:29752
  44398. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  44399. msgstr ""
  44400. #. type: example
  44401. #: guix-git/doc/guix.texi:29761
  44402. #, no-wrap
  44403. msgid ""
  44404. "/etc/childhurd/etc/guix/acl\n"
  44405. "/etc/childhurd/etc/guix/signing-key.pub\n"
  44406. "/etc/childhurd/etc/guix/signing-key.sec\n"
  44407. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  44408. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  44409. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  44410. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  44411. msgstr ""
  44412. #. type: table
  44413. #: guix-git/doc/guix.texi:29765
  44414. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  44415. msgstr ""
  44416. #. type: cindex
  44417. #: guix-git/doc/guix.texi:29766
  44418. #, no-wrap
  44419. msgid "childhurd, offloading"
  44420. msgstr ""
  44421. #. type: cindex
  44422. #: guix-git/doc/guix.texi:29767
  44423. #, no-wrap
  44424. msgid "Hurd, offloading"
  44425. msgstr ""
  44426. #. type: table
  44427. #: guix-git/doc/guix.texi:29771
  44428. 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:"
  44429. msgstr ""
  44430. #. type: enumerate
  44431. #: guix-git/doc/guix.texi:29776
  44432. 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:"
  44433. msgstr ""
  44434. #. type: example
  44435. #: guix-git/doc/guix.texi:29780
  44436. #, no-wrap
  44437. msgid ""
  44438. "guix archive --authorize < \\\n"
  44439. " /etc/childhurd/etc/guix/signing-key.pub\n"
  44440. msgstr ""
  44441. #. type: enumerate
  44442. #: guix-git/doc/guix.texi:29785
  44443. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  44444. msgstr ""
  44445. #. type: table
  44446. #: guix-git/doc/guix.texi:29789
  44447. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  44448. msgstr ""
  44449. #. type: Plain text
  44450. #: guix-git/doc/guix.texi:29796
  44451. 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:"
  44452. msgstr ""
  44453. #. type: lisp
  44454. #: guix-git/doc/guix.texi:29802
  44455. #, no-wrap
  44456. msgid ""
  44457. "(service hurd-vm-service-type\n"
  44458. " (hurd-vm-configuration\n"
  44459. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  44460. " (options '())))\n"
  44461. msgstr ""
  44462. #. type: subsubheading
  44463. #: guix-git/doc/guix.texi:29804
  44464. #, no-wrap
  44465. msgid "Ganeti"
  44466. msgstr ""
  44467. #. type: cindex
  44468. #: guix-git/doc/guix.texi:29806
  44469. #, no-wrap
  44470. msgid "ganeti"
  44471. msgstr ""
  44472. #. type: quotation
  44473. #: guix-git/doc/guix.texi:29813
  44474. 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}."
  44475. msgstr ""
  44476. #. type: Plain text
  44477. #: guix-git/doc/guix.texi:29823
  44478. 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)."
  44479. msgstr ""
  44480. #. type: Plain text
  44481. #: guix-git/doc/guix.texi:29828
  44482. 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}:"
  44483. msgstr ""
  44484. #. type: lisp
  44485. #: guix-git/doc/guix.texi:29838
  44486. #, no-wrap
  44487. msgid ""
  44488. "(use-package-modules virtualization)\n"
  44489. "(use-service-modules base ganeti networking ssh)\n"
  44490. "(operating-system\n"
  44491. " ;; @dots{}\n"
  44492. " (host-name \"node1\")\n"
  44493. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  44494. "127.0.0.1 localhost\n"
  44495. "::1 localhost\n"
  44496. "\n"
  44497. msgstr ""
  44498. #. type: lisp
  44499. #: guix-git/doc/guix.texi:29843
  44500. #, no-wrap
  44501. msgid ""
  44502. "192.168.1.200 ganeti.example.com\n"
  44503. "192.168.1.201 node1.example.com node1\n"
  44504. "192.168.1.202 node2.example.com node2\n"
  44505. "\")))\n"
  44506. "\n"
  44507. msgstr ""
  44508. #. type: lisp
  44509. #: guix-git/doc/guix.texi:29857
  44510. #, no-wrap
  44511. msgid ""
  44512. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  44513. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  44514. " (packages (append (map specification->package\n"
  44515. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  44516. " ;; Add the debootstrap and guix OS providers.\n"
  44517. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  44518. " %base-packages))\n"
  44519. " (services\n"
  44520. " (append (list (static-networking-service \"eth0\" \"192.168.1.201\"\n"
  44521. " #:netmask \"255.255.255.0\"\n"
  44522. " #:gateway \"192.168.1.254\"\n"
  44523. " #:name-servers '(\"192.168.1.252\"\n"
  44524. " \"192.168.1.253\"))\n"
  44525. "\n"
  44526. msgstr ""
  44527. #. type: lisp
  44528. #: guix-git/doc/guix.texi:29862
  44529. #, no-wrap
  44530. msgid ""
  44531. " ;; Ganeti uses SSH to communicate between nodes.\n"
  44532. " (service openssh-service-type\n"
  44533. " (openssh-configuration\n"
  44534. " (permit-root-login 'prohibit-password)))\n"
  44535. "\n"
  44536. msgstr ""
  44537. #. type: lisp
  44538. #: guix-git/doc/guix.texi:29872
  44539. #, no-wrap
  44540. msgid ""
  44541. " (service ganeti-service-type\n"
  44542. " (ganeti-configuration\n"
  44543. " ;; This list specifies allowed file system paths\n"
  44544. " ;; for storing virtual machine images.\n"
  44545. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  44546. " ;; This variable configures a single \"variant\" for\n"
  44547. " ;; both Debootstrap and Guix that works with KVM.\n"
  44548. " (os %default-ganeti-os))))\n"
  44549. " %base-services)))\n"
  44550. msgstr ""
  44551. #. type: Plain text
  44552. #: guix-git/doc/guix.texi:29880
  44553. 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."
  44554. msgstr ""
  44555. #. type: defvr
  44556. #: guix-git/doc/guix.texi:29881
  44557. #, no-wrap
  44558. msgid "{Scheme Variable} ganeti-service-type"
  44559. msgstr ""
  44560. #. type: defvr
  44561. #: guix-git/doc/guix.texi:29884
  44562. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  44563. msgstr ""
  44564. #. type: defvr
  44565. #: guix-git/doc/guix.texi:29889
  44566. 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."
  44567. msgstr ""
  44568. #. type: deftp
  44569. #: guix-git/doc/guix.texi:29891
  44570. #, no-wrap
  44571. msgid "{Data Type} ganeti-configuration"
  44572. msgstr ""
  44573. #. type: deftp
  44574. #: guix-git/doc/guix.texi:29893
  44575. msgid "The @code{ganeti} service takes the following configuration options:"
  44576. msgstr ""
  44577. #. type: item
  44578. #: guix-git/doc/guix.texi:29895 guix-git/doc/guix.texi:30123
  44579. #: guix-git/doc/guix.texi:30173 guix-git/doc/guix.texi:30203
  44580. #: guix-git/doc/guix.texi:30230 guix-git/doc/guix.texi:30262
  44581. #: guix-git/doc/guix.texi:30315 guix-git/doc/guix.texi:30335
  44582. #: guix-git/doc/guix.texi:30361 guix-git/doc/guix.texi:30394
  44583. #: guix-git/doc/guix.texi:30434
  44584. #, no-wrap
  44585. msgid "@code{ganeti} (default: @code{ganeti})"
  44586. msgstr ""
  44587. #. type: table
  44588. #: guix-git/doc/guix.texi:29900
  44589. 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)."
  44590. msgstr ""
  44591. #. type: item
  44592. #: guix-git/doc/guix.texi:29901
  44593. #, no-wrap
  44594. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  44595. msgstr ""
  44596. #. type: itemx
  44597. #: guix-git/doc/guix.texi:29902
  44598. #, no-wrap
  44599. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  44600. msgstr ""
  44601. #. type: itemx
  44602. #: guix-git/doc/guix.texi:29903
  44603. #, no-wrap
  44604. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  44605. msgstr ""
  44606. #. type: itemx
  44607. #: guix-git/doc/guix.texi:29904
  44608. #, no-wrap
  44609. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  44610. msgstr ""
  44611. #. type: itemx
  44612. #: guix-git/doc/guix.texi:29905
  44613. #, no-wrap
  44614. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  44615. msgstr ""
  44616. #. type: itemx
  44617. #: guix-git/doc/guix.texi:29906
  44618. #, no-wrap
  44619. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  44620. msgstr ""
  44621. #. type: itemx
  44622. #: guix-git/doc/guix.texi:29907
  44623. #, no-wrap
  44624. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  44625. msgstr ""
  44626. #. type: itemx
  44627. #: guix-git/doc/guix.texi:29908
  44628. #, no-wrap
  44629. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  44630. msgstr ""
  44631. #. type: itemx
  44632. #: guix-git/doc/guix.texi:29909
  44633. #, no-wrap
  44634. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  44635. msgstr ""
  44636. #. type: itemx
  44637. #: guix-git/doc/guix.texi:29910
  44638. #, no-wrap
  44639. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  44640. msgstr ""
  44641. #. type: table
  44642. #: guix-git/doc/guix.texi:29915
  44643. 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:"
  44644. msgstr ""
  44645. #. type: lisp
  44646. #: guix-git/doc/guix.texi:29925
  44647. #, no-wrap
  44648. msgid ""
  44649. "(service ganeti-service-type\n"
  44650. " (ganeti-configuration\n"
  44651. " (rapi-configuration\n"
  44652. " (ganeti-rapi-configuration\n"
  44653. " (interface \"eth1\"))))\n"
  44654. " (watcher-configuration\n"
  44655. " (ganeti-watcher-configuration\n"
  44656. " (rapi-ip \"10.0.0.1\"))))\n"
  44657. msgstr ""
  44658. #. type: item
  44659. #: guix-git/doc/guix.texi:29927
  44660. #, no-wrap
  44661. msgid "@code{file-storage-paths} (default: @code{'()})"
  44662. msgstr ""
  44663. #. type: table
  44664. #: guix-git/doc/guix.texi:29929
  44665. msgid "List of allowed directories for file storage backend."
  44666. msgstr ""
  44667. #. type: item
  44668. #: guix-git/doc/guix.texi:29930
  44669. #, no-wrap
  44670. msgid "@code{os} (default: @code{%default-ganeti-os})"
  44671. msgstr ""
  44672. #. type: table
  44673. #: guix-git/doc/guix.texi:29932
  44674. msgid "List of @code{<ganeti-os>} records."
  44675. msgstr ""
  44676. #. type: deftp
  44677. #: guix-git/doc/guix.texi:29936
  44678. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  44679. msgstr ""
  44680. #. type: lisp
  44681. #: guix-git/doc/guix.texi:29947
  44682. #, no-wrap
  44683. msgid ""
  44684. "(service ganeti-noded-service-type)\n"
  44685. "(service ganeti-confd-service-type)\n"
  44686. "(service ganeti-wconfd-service-type)\n"
  44687. "(service ganeti-luxid-service-type)\n"
  44688. "(service ganeti-kvmd-service-type)\n"
  44689. "(service ganeti-mond-service-type)\n"
  44690. "(service ganeti-metad-service-type)\n"
  44691. "(service ganeti-watcher-service-type)\n"
  44692. "(service ganeti-cleaner-service-type)\n"
  44693. msgstr ""
  44694. #. type: deftp
  44695. #: guix-git/doc/guix.texi:29951
  44696. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  44697. msgstr ""
  44698. #. type: deftp
  44699. #: guix-git/doc/guix.texi:29954
  44700. #, no-wrap
  44701. msgid "{Data Type} ganeti-os"
  44702. msgstr ""
  44703. #. type: deftp
  44704. #: guix-git/doc/guix.texi:29957
  44705. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  44706. msgstr ""
  44707. #. type: table
  44708. #: guix-git/doc/guix.texi:29963
  44709. 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}."
  44710. msgstr ""
  44711. #. type: code{#1}
  44712. #: guix-git/doc/guix.texi:29964
  44713. #, no-wrap
  44714. msgid "extension"
  44715. msgstr ""
  44716. #. type: table
  44717. #: guix-git/doc/guix.texi:29967
  44718. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  44719. msgstr ""
  44720. #. type: item
  44721. #: guix-git/doc/guix.texi:29968
  44722. #, no-wrap
  44723. msgid "@code{variants} (default: @code{'()})"
  44724. msgstr ""
  44725. #. type: table
  44726. #: guix-git/doc/guix.texi:29970
  44727. msgid "List of @code{ganeti-os-variant} objects for this OS."
  44728. msgstr ""
  44729. #. type: deftp
  44730. #: guix-git/doc/guix.texi:29974
  44731. #, no-wrap
  44732. msgid "{Data Type} ganeti-os-variant"
  44733. msgstr ""
  44734. #. type: deftp
  44735. #: guix-git/doc/guix.texi:29977
  44736. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  44737. msgstr ""
  44738. #. type: table
  44739. #: guix-git/doc/guix.texi:29981
  44740. msgid "The name of this variant."
  44741. msgstr ""
  44742. #. type: code{#1}
  44743. #: guix-git/doc/guix.texi:29982
  44744. #, no-wrap
  44745. msgid "configuration"
  44746. msgstr ""
  44747. #. type: table
  44748. #: guix-git/doc/guix.texi:29984
  44749. msgid "A configuration file for this variant."
  44750. msgstr ""
  44751. #. type: defvr
  44752. #: guix-git/doc/guix.texi:29987
  44753. #, no-wrap
  44754. msgid "{Scheme Variable} %default-debootstrap-hooks"
  44755. msgstr ""
  44756. #. type: defvr
  44757. #: guix-git/doc/guix.texi:29989
  44758. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  44759. msgstr ""
  44760. #. type: defvr
  44761. #: guix-git/doc/guix.texi:29991
  44762. #, no-wrap
  44763. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  44764. msgstr ""
  44765. #. type: defvr
  44766. #: guix-git/doc/guix.texi:29993
  44767. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  44768. msgstr ""
  44769. #. type: deftp
  44770. #: guix-git/doc/guix.texi:29995
  44771. #, no-wrap
  44772. msgid "{Data Type} debootstrap-configuration"
  44773. msgstr ""
  44774. #. type: deftp
  44775. #: guix-git/doc/guix.texi:29998
  44776. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  44777. msgstr ""
  44778. #. type: item
  44779. #: guix-git/doc/guix.texi:30000
  44780. #, no-wrap
  44781. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  44782. msgstr ""
  44783. #. type: table
  44784. #: guix-git/doc/guix.texi:30004
  44785. 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:"
  44786. msgstr ""
  44787. #. type: lisp
  44788. #: guix-git/doc/guix.texi:30007
  44789. #, no-wrap
  44790. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  44791. msgstr ""
  44792. #. type: table
  44793. #: guix-git/doc/guix.texi:30012
  44794. 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."
  44795. msgstr ""
  44796. #. type: item
  44797. #: guix-git/doc/guix.texi:30012
  44798. #, no-wrap
  44799. msgid "@code{proxy} (default: @code{#f})"
  44800. msgstr ""
  44801. #. type: table
  44802. #: guix-git/doc/guix.texi:30014
  44803. msgid "Optional HTTP proxy to use."
  44804. msgstr ""
  44805. #. type: item
  44806. #: guix-git/doc/guix.texi:30014
  44807. #, no-wrap
  44808. msgid "@code{mirror} (default: @code{#f})"
  44809. msgstr ""
  44810. #. type: table
  44811. #: guix-git/doc/guix.texi:30017
  44812. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  44813. msgstr ""
  44814. #. type: item
  44815. #: guix-git/doc/guix.texi:30017
  44816. #, no-wrap
  44817. msgid "@code{arch} (default: @code{#f})"
  44818. msgstr ""
  44819. #. type: table
  44820. #: guix-git/doc/guix.texi:30020
  44821. 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."
  44822. msgstr ""
  44823. #. type: item
  44824. #: guix-git/doc/guix.texi:30020
  44825. #, no-wrap
  44826. msgid "@code{suite} (default: @code{\"stable\"})"
  44827. msgstr ""
  44828. #. type: table
  44829. #: guix-git/doc/guix.texi:30023
  44830. 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."
  44831. msgstr ""
  44832. #. type: item
  44833. #: guix-git/doc/guix.texi:30023
  44834. #, no-wrap
  44835. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  44836. msgstr ""
  44837. #. type: table
  44838. #: guix-git/doc/guix.texi:30026
  44839. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  44840. msgstr ""
  44841. #. type: item
  44842. #: guix-git/doc/guix.texi:30026
  44843. #, no-wrap
  44844. msgid "@code{components} (default: @code{#f})"
  44845. msgstr ""
  44846. #. type: table
  44847. #: guix-git/doc/guix.texi:30029
  44848. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  44849. msgstr ""
  44850. #. type: item
  44851. #: guix-git/doc/guix.texi:30029
  44852. #, no-wrap
  44853. msgid "@code{generate-cache?} (default: @code{#t})"
  44854. msgstr ""
  44855. #. type: table
  44856. #: guix-git/doc/guix.texi:30031
  44857. msgid "Whether to automatically cache the generated debootstrap archive."
  44858. msgstr ""
  44859. #. type: item
  44860. #: guix-git/doc/guix.texi:30031
  44861. #, no-wrap
  44862. msgid "@code{clean-cache} (default: @code{14})"
  44863. msgstr ""
  44864. #. type: table
  44865. #: guix-git/doc/guix.texi:30034
  44866. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  44867. msgstr ""
  44868. #. type: item
  44869. #: guix-git/doc/guix.texi:30034
  44870. #, no-wrap
  44871. msgid "@code{partition-style} (default: @code{'msdos})"
  44872. msgstr ""
  44873. #. type: table
  44874. #: guix-git/doc/guix.texi:30037
  44875. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  44876. msgstr ""
  44877. #. type: item
  44878. #: guix-git/doc/guix.texi:30037
  44879. #, no-wrap
  44880. msgid "@code{partition-alignment} (default: @code{2048})"
  44881. msgstr ""
  44882. #. type: table
  44883. #: guix-git/doc/guix.texi:30039
  44884. msgid "Alignment of the partition in sectors."
  44885. msgstr ""
  44886. #. type: deffn
  44887. #: guix-git/doc/guix.texi:30042
  44888. #, no-wrap
  44889. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  44890. msgstr ""
  44891. #. type: deffn
  44892. #: guix-git/doc/guix.texi:30045
  44893. 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."
  44894. msgstr ""
  44895. #. type: deffn
  44896. #: guix-git/doc/guix.texi:30047
  44897. #, no-wrap
  44898. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  44899. msgstr ""
  44900. #. type: deffn
  44901. #: guix-git/doc/guix.texi:30050
  44902. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  44903. msgstr ""
  44904. #. type: deffn
  44905. #: guix-git/doc/guix.texi:30052
  44906. #, no-wrap
  44907. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  44908. msgstr ""
  44909. #. type: deffn
  44910. #: guix-git/doc/guix.texi:30057
  44911. 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."
  44912. msgstr ""
  44913. #. type: deffn
  44914. #: guix-git/doc/guix.texi:30059
  44915. #, no-wrap
  44916. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  44917. msgstr ""
  44918. #. type: deffn
  44919. #: guix-git/doc/guix.texi:30062
  44920. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  44921. msgstr ""
  44922. #. type: defvr
  44923. #: guix-git/doc/guix.texi:30064
  44924. #, no-wrap
  44925. msgid "{Scheme Variable} %default-debootstrap-variants"
  44926. msgstr ""
  44927. #. type: defvr
  44928. #: guix-git/doc/guix.texi:30068
  44929. 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:"
  44930. msgstr ""
  44931. #. type: lisp
  44932. #: guix-git/doc/guix.texi:30073
  44933. #, no-wrap
  44934. msgid ""
  44935. "(list (debootstrap-variant\n"
  44936. " \"default\"\n"
  44937. " (debootstrap-configuration)))\n"
  44938. msgstr ""
  44939. #. type: defvr
  44940. #: guix-git/doc/guix.texi:30076
  44941. #, no-wrap
  44942. msgid "{Scheme Variable} %default-guix-variants"
  44943. msgstr ""
  44944. #. type: defvr
  44945. #: guix-git/doc/guix.texi:30080
  44946. 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."
  44947. msgstr ""
  44948. #. type: lisp
  44949. #: guix-git/doc/guix.texi:30086
  44950. #, no-wrap
  44951. msgid ""
  44952. "(list (guix-variant\n"
  44953. " \"default\"\n"
  44954. " (file-append ganeti-instance-guix\n"
  44955. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  44956. msgstr ""
  44957. #. type: Plain text
  44958. #: guix-git/doc/guix.texi:30092
  44959. 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:"
  44960. msgstr ""
  44961. #. type: lisp
  44962. #: guix-git/doc/guix.texi:30101
  44963. #, no-wrap
  44964. msgid ""
  44965. "(ganeti-os\n"
  44966. " (name \"custom\")\n"
  44967. " (extension \".conf\")\n"
  44968. " (variants\n"
  44969. " (list (ganeti-os-variant\n"
  44970. " (name \"foo\")\n"
  44971. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  44972. msgstr ""
  44973. #. type: Plain text
  44974. #: guix-git/doc/guix.texi:30106
  44975. 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}."
  44976. msgstr ""
  44977. #. type: Plain text
  44978. #: guix-git/doc/guix.texi:30109
  44979. 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}."
  44980. msgstr ""
  44981. #. type: Plain text
  44982. #: guix-git/doc/guix.texi:30112
  44983. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  44984. msgstr ""
  44985. #. type: defvr
  44986. #: guix-git/doc/guix.texi:30113
  44987. #, no-wrap
  44988. msgid "{Scheme Variable} ganeti-noded-service-type"
  44989. msgstr ""
  44990. #. type: defvr
  44991. #: guix-git/doc/guix.texi:30117
  44992. 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."
  44993. msgstr ""
  44994. #. type: deftp
  44995. #: guix-git/doc/guix.texi:30119
  44996. #, no-wrap
  44997. msgid "{Data Type} ganeti-noded-configuration"
  44998. msgstr ""
  44999. #. type: deftp
  45000. #: guix-git/doc/guix.texi:30121
  45001. msgid "This is the configuration for the @code{ganeti-noded} service."
  45002. msgstr ""
  45003. #. type: table
  45004. #: guix-git/doc/guix.texi:30125 guix-git/doc/guix.texi:30175
  45005. #: guix-git/doc/guix.texi:30205 guix-git/doc/guix.texi:30232
  45006. #: guix-git/doc/guix.texi:30264 guix-git/doc/guix.texi:30317
  45007. #: guix-git/doc/guix.texi:30337 guix-git/doc/guix.texi:30363
  45008. #: guix-git/doc/guix.texi:30396
  45009. msgid "The @code{ganeti} package to use for this service."
  45010. msgstr ""
  45011. #. type: item
  45012. #: guix-git/doc/guix.texi:30126
  45013. #, no-wrap
  45014. msgid "@code{port} (default: @code{1811})"
  45015. msgstr ""
  45016. #. type: table
  45017. #: guix-git/doc/guix.texi:30128
  45018. msgid "The TCP port on which the node daemon listens for network requests."
  45019. msgstr ""
  45020. #. type: item
  45021. #: guix-git/doc/guix.texi:30129 guix-git/doc/guix.texi:30179
  45022. #: guix-git/doc/guix.texi:30271 guix-git/doc/guix.texi:30341
  45023. #, no-wrap
  45024. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  45025. msgstr ""
  45026. #. type: table
  45027. #: guix-git/doc/guix.texi:30132
  45028. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  45029. msgstr ""
  45030. #. type: table
  45031. #: guix-git/doc/guix.texi:30136
  45032. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  45033. msgstr ""
  45034. #. type: item
  45035. #: guix-git/doc/guix.texi:30137 guix-git/doc/guix.texi:30279
  45036. #, no-wrap
  45037. msgid "@code{max-clients} (default: @code{20})"
  45038. msgstr ""
  45039. #. type: table
  45040. #: guix-git/doc/guix.texi:30141
  45041. 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."
  45042. msgstr ""
  45043. #. type: item
  45044. #: guix-git/doc/guix.texi:30142 guix-git/doc/guix.texi:30284
  45045. #, no-wrap
  45046. msgid "@code{ssl?} (default: @code{#t})"
  45047. msgstr ""
  45048. #. type: table
  45049. #: guix-git/doc/guix.texi:30146
  45050. 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}."
  45051. msgstr ""
  45052. #. type: item
  45053. #: guix-git/doc/guix.texi:30147 guix-git/doc/guix.texi:30287
  45054. #, no-wrap
  45055. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  45056. msgstr ""
  45057. #. type: table
  45058. #: guix-git/doc/guix.texi:30149 guix-git/doc/guix.texi:30289
  45059. msgid "This can be used to provide a specific encryption key for TLS communications."
  45060. msgstr ""
  45061. #. type: item
  45062. #: guix-git/doc/guix.texi:30150 guix-git/doc/guix.texi:30290
  45063. #, no-wrap
  45064. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  45065. msgstr ""
  45066. #. type: table
  45067. #: guix-git/doc/guix.texi:30152 guix-git/doc/guix.texi:30292
  45068. msgid "This can be used to provide a specific certificate for TLS communications."
  45069. msgstr ""
  45070. #. type: table
  45071. #: guix-git/doc/guix.texi:30156 guix-git/doc/guix.texi:30296
  45072. 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."
  45073. msgstr ""
  45074. #. type: defvr
  45075. #: guix-git/doc/guix.texi:30160
  45076. #, no-wrap
  45077. msgid "{Scheme Variable} ganeti-confd-service-type"
  45078. msgstr ""
  45079. #. type: defvr
  45080. #: guix-git/doc/guix.texi:30166
  45081. 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."
  45082. msgstr ""
  45083. #. type: deftp
  45084. #: guix-git/doc/guix.texi:30169
  45085. #, no-wrap
  45086. msgid "{Data Type} ganeti-confd-configuration"
  45087. msgstr ""
  45088. #. type: deftp
  45089. #: guix-git/doc/guix.texi:30171
  45090. msgid "This is the configuration for the @code{ganeti-confd} service."
  45091. msgstr ""
  45092. #. type: item
  45093. #: guix-git/doc/guix.texi:30176
  45094. #, no-wrap
  45095. msgid "@code{port} (default: @code{1814})"
  45096. msgstr ""
  45097. #. type: table
  45098. #: guix-git/doc/guix.texi:30178
  45099. msgid "The UDP port on which to listen for network requests."
  45100. msgstr ""
  45101. #. type: table
  45102. #: guix-git/doc/guix.texi:30181
  45103. msgid "Network address that the daemon will bind to."
  45104. msgstr ""
  45105. #. type: table
  45106. #: guix-git/doc/guix.texi:30184 guix-git/doc/guix.texi:30213
  45107. #: guix-git/doc/guix.texi:30240 guix-git/doc/guix.texi:30320
  45108. #: guix-git/doc/guix.texi:30347 guix-git/doc/guix.texi:30373
  45109. msgid "When true, the daemon performs additional logging for debugging purposes."
  45110. msgstr ""
  45111. #. type: defvr
  45112. #: guix-git/doc/guix.texi:30188
  45113. #, no-wrap
  45114. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  45115. msgstr ""
  45116. #. type: defvr
  45117. #: guix-git/doc/guix.texi:30194
  45118. 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."
  45119. msgstr ""
  45120. #. type: defvr
  45121. #: guix-git/doc/guix.texi:30197
  45122. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  45123. msgstr ""
  45124. #. type: deftp
  45125. #: guix-git/doc/guix.texi:30199
  45126. #, no-wrap
  45127. msgid "{Data Type} ganeti-wconfd-configuration"
  45128. msgstr ""
  45129. #. type: deftp
  45130. #: guix-git/doc/guix.texi:30201
  45131. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  45132. msgstr ""
  45133. #. type: item
  45134. #: guix-git/doc/guix.texi:30206 guix-git/doc/guix.texi:30233
  45135. #, no-wrap
  45136. msgid "@code{no-voting?} (default: @code{#f})"
  45137. msgstr ""
  45138. #. type: table
  45139. #: guix-git/doc/guix.texi:30210
  45140. 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)."
  45141. msgstr ""
  45142. #. type: defvr
  45143. #: guix-git/doc/guix.texi:30217
  45144. #, no-wrap
  45145. msgid "{Scheme Variable} ganeti-luxid-service-type"
  45146. msgstr ""
  45147. #. type: defvr
  45148. #: guix-git/doc/guix.texi:30222
  45149. 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."
  45150. msgstr ""
  45151. #. type: defvr
  45152. #: guix-git/doc/guix.texi:30224
  45153. msgid "It takes a @code{ganeti-luxid-configuration} object."
  45154. msgstr ""
  45155. #. type: deftp
  45156. #: guix-git/doc/guix.texi:30226
  45157. #, no-wrap
  45158. msgid "{Data Type} ganeti-luxid-configuration"
  45159. msgstr ""
  45160. #. type: deftp
  45161. #: guix-git/doc/guix.texi:30228
  45162. msgid "This is the configuration for the @code{ganeti-luxid} service."
  45163. msgstr ""
  45164. #. type: table
  45165. #: guix-git/doc/guix.texi:30237
  45166. 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)."
  45167. msgstr ""
  45168. #. type: defvr
  45169. #: guix-git/doc/guix.texi:30244
  45170. #, no-wrap
  45171. msgid "{Scheme Variable} ganeti-rapi-service-type"
  45172. msgstr ""
  45173. #. type: defvr
  45174. #: guix-git/doc/guix.texi:30248
  45175. 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."
  45176. msgstr ""
  45177. #. type: defvr
  45178. #: guix-git/doc/guix.texi:30254
  45179. 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."
  45180. msgstr ""
  45181. #. type: defvr
  45182. #: guix-git/doc/guix.texi:30256
  45183. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  45184. msgstr ""
  45185. #. type: deftp
  45186. #: guix-git/doc/guix.texi:30258
  45187. #, no-wrap
  45188. msgid "{Data Type} ganeti-rapi-configuration"
  45189. msgstr ""
  45190. #. type: deftp
  45191. #: guix-git/doc/guix.texi:30260
  45192. msgid "This is the configuration for the @code{ganeti-rapi} service."
  45193. msgstr ""
  45194. #. type: item
  45195. #: guix-git/doc/guix.texi:30265
  45196. #, no-wrap
  45197. msgid "@code{require-authentication?} (default: @code{#f})"
  45198. msgstr ""
  45199. #. type: table
  45200. #: guix-git/doc/guix.texi:30267
  45201. msgid "Whether to require authentication even for read-only operations."
  45202. msgstr ""
  45203. #. type: item
  45204. #: guix-git/doc/guix.texi:30268
  45205. #, no-wrap
  45206. msgid "@code{port} (default: @code{5080})"
  45207. msgstr ""
  45208. #. type: table
  45209. #: guix-git/doc/guix.texi:30270
  45210. msgid "The TCP port on which to listen to API requests."
  45211. msgstr ""
  45212. #. type: table
  45213. #: guix-git/doc/guix.texi:30274
  45214. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  45215. msgstr ""
  45216. #. type: table
  45217. #: guix-git/doc/guix.texi:30278
  45218. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  45219. msgstr ""
  45220. #. type: table
  45221. #: guix-git/doc/guix.texi:30283
  45222. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  45223. msgstr ""
  45224. #. type: table
  45225. #: guix-git/doc/guix.texi:30286
  45226. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  45227. msgstr ""
  45228. #. type: defvr
  45229. #: guix-git/doc/guix.texi:30300
  45230. #, no-wrap
  45231. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  45232. msgstr ""
  45233. #. type: defvr
  45234. #: guix-git/doc/guix.texi:30308
  45235. 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."
  45236. msgstr ""
  45237. #. type: defvr
  45238. #: guix-git/doc/guix.texi:30310
  45239. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  45240. msgstr ""
  45241. #. type: deftp
  45242. #: guix-git/doc/guix.texi:30312
  45243. #, no-wrap
  45244. msgid "{Data Type} ganeti-kvmd-configuration"
  45245. msgstr ""
  45246. #. type: defvr
  45247. #: guix-git/doc/guix.texi:30324
  45248. #, no-wrap
  45249. msgid "{Scheme Variable} ganeti-mond-service-type"
  45250. msgstr ""
  45251. #. type: defvr
  45252. #: guix-git/doc/guix.texi:30328
  45253. 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."
  45254. msgstr ""
  45255. #. type: defvr
  45256. #: guix-git/doc/guix.texi:30330
  45257. msgid "It takes a @code{ganeti-mond-configuration} object."
  45258. msgstr ""
  45259. #. type: deftp
  45260. #: guix-git/doc/guix.texi:30332
  45261. #, no-wrap
  45262. msgid "{Data Type} ganeti-mond-configuration"
  45263. msgstr ""
  45264. #. type: item
  45265. #: guix-git/doc/guix.texi:30338
  45266. #, no-wrap
  45267. msgid "@code{port} (default: @code{1815})"
  45268. msgstr ""
  45269. #. type: table
  45270. #: guix-git/doc/guix.texi:30340 guix-git/doc/guix.texi:30366
  45271. msgid "The port on which the daemon will listen."
  45272. msgstr ""
  45273. #. type: table
  45274. #: guix-git/doc/guix.texi:30344
  45275. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  45276. msgstr ""
  45277. #. type: defvr
  45278. #: guix-git/doc/guix.texi:30351
  45279. #, no-wrap
  45280. msgid "{Scheme Variable} ganeti-metad-service-type"
  45281. msgstr ""
  45282. #. type: defvr
  45283. #: guix-git/doc/guix.texi:30354
  45284. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  45285. msgstr ""
  45286. #. type: defvr
  45287. #: guix-git/doc/guix.texi:30356
  45288. msgid "It takes a @code{ganeti-metad-configuration} object."
  45289. msgstr ""
  45290. #. type: deftp
  45291. #: guix-git/doc/guix.texi:30358
  45292. #, no-wrap
  45293. msgid "{Data Type} ganeti-metad-configuration"
  45294. msgstr ""
  45295. #. type: item
  45296. #: guix-git/doc/guix.texi:30367
  45297. #, no-wrap
  45298. msgid "@code{address} (default: @code{#f})"
  45299. msgstr ""
  45300. #. type: table
  45301. #: guix-git/doc/guix.texi:30370
  45302. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  45303. msgstr ""
  45304. #. type: defvr
  45305. #: guix-git/doc/guix.texi:30377
  45306. #, no-wrap
  45307. msgid "{Scheme Variable} ganeti-watcher-service-type"
  45308. msgstr ""
  45309. #. type: defvr
  45310. #: guix-git/doc/guix.texi:30385
  45311. 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."
  45312. msgstr ""
  45313. #. type: defvr
  45314. #: guix-git/doc/guix.texi:30387
  45315. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  45316. msgstr ""
  45317. #. type: defvr
  45318. #: guix-git/doc/guix.texi:30389
  45319. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  45320. msgstr ""
  45321. #. type: deftp
  45322. #: guix-git/doc/guix.texi:30391
  45323. #, no-wrap
  45324. msgid "{Data Type} ganeti-watcher-configuration"
  45325. msgstr ""
  45326. #. type: item
  45327. #: guix-git/doc/guix.texi:30397
  45328. #, no-wrap
  45329. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  45330. msgstr ""
  45331. #. type: table
  45332. #: guix-git/doc/guix.texi:30399
  45333. msgid "How often to run the script. The default is every five minutes."
  45334. msgstr ""
  45335. #. type: item
  45336. #: guix-git/doc/guix.texi:30400
  45337. #, no-wrap
  45338. msgid "@code{rapi-ip} (default: @code{#f})"
  45339. msgstr ""
  45340. #. type: table
  45341. #: guix-git/doc/guix.texi:30403
  45342. 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."
  45343. msgstr ""
  45344. #. type: item
  45345. #: guix-git/doc/guix.texi:30404
  45346. #, no-wrap
  45347. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  45348. msgstr ""
  45349. #. type: table
  45350. #: guix-git/doc/guix.texi:30407
  45351. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  45352. msgstr ""
  45353. #. type: item
  45354. #: guix-git/doc/guix.texi:30408
  45355. #, no-wrap
  45356. msgid "@code{verify-disks?} (default: @code{#t})"
  45357. msgstr ""
  45358. #. type: table
  45359. #: guix-git/doc/guix.texi:30412
  45360. 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."
  45361. msgstr ""
  45362. #. type: table
  45363. #: guix-git/doc/guix.texi:30415
  45364. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  45365. msgstr ""
  45366. #. type: defvr
  45367. #: guix-git/doc/guix.texi:30419
  45368. #, no-wrap
  45369. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  45370. msgstr ""
  45371. #. type: defvr
  45372. #: guix-git/doc/guix.texi:30427
  45373. 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."
  45374. msgstr ""
  45375. #. type: defvr
  45376. #: guix-git/doc/guix.texi:30429
  45377. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  45378. msgstr ""
  45379. #. type: deftp
  45380. #: guix-git/doc/guix.texi:30431
  45381. #, no-wrap
  45382. msgid "{Data Type} ganeti-cleaner-configuration"
  45383. msgstr ""
  45384. #. type: table
  45385. #: guix-git/doc/guix.texi:30436
  45386. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  45387. msgstr ""
  45388. #. type: item
  45389. #: guix-git/doc/guix.texi:30437
  45390. #, no-wrap
  45391. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  45392. msgstr ""
  45393. #. type: table
  45394. #: guix-git/doc/guix.texi:30440
  45395. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  45396. msgstr ""
  45397. #. type: item
  45398. #: guix-git/doc/guix.texi:30441
  45399. #, no-wrap
  45400. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  45401. msgstr ""
  45402. #. type: table
  45403. #: guix-git/doc/guix.texi:30444
  45404. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  45405. msgstr ""
  45406. #. type: Plain text
  45407. #: guix-git/doc/guix.texi:30458
  45408. 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}."
  45409. msgstr ""
  45410. #. type: deffn
  45411. #: guix-git/doc/guix.texi:30459
  45412. #, no-wrap
  45413. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  45414. msgstr ""
  45415. #. type: deffn
  45416. #: guix-git/doc/guix.texi:30463
  45417. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  45418. msgstr ""
  45419. #. type: deffn
  45420. #: guix-git/doc/guix.texi:30469
  45421. 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}."
  45422. msgstr ""
  45423. #. type: deftp
  45424. #: guix-git/doc/guix.texi:30472
  45425. #, no-wrap
  45426. msgid "{Data Type} git-daemon-configuration"
  45427. msgstr ""
  45428. #. type: deftp
  45429. #: guix-git/doc/guix.texi:30474
  45430. msgid "Data type representing the configuration for @code{git-daemon-service}."
  45431. msgstr ""
  45432. #. type: item
  45433. #: guix-git/doc/guix.texi:30476
  45434. #, no-wrap
  45435. msgid "@code{package} (default: @code{git})"
  45436. msgstr ""
  45437. #. type: table
  45438. #: guix-git/doc/guix.texi:30478 guix-git/doc/guix.texi:30538
  45439. msgid "Package object of the Git distributed version control system."
  45440. msgstr ""
  45441. #. type: item
  45442. #: guix-git/doc/guix.texi:30479 guix-git/doc/guix.texi:30542
  45443. #, no-wrap
  45444. msgid "@code{export-all?} (default: @code{#f})"
  45445. msgstr ""
  45446. #. type: table
  45447. #: guix-git/doc/guix.texi:30482
  45448. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  45449. msgstr ""
  45450. #. type: item
  45451. #: guix-git/doc/guix.texi:30483
  45452. #, no-wrap
  45453. msgid "@code{base-path} (default: @file{/srv/git})"
  45454. msgstr ""
  45455. #. type: table
  45456. #: guix-git/doc/guix.texi:30489
  45457. 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}."
  45458. msgstr ""
  45459. #. type: item
  45460. #: guix-git/doc/guix.texi:30490
  45461. #, no-wrap
  45462. msgid "@code{user-path} (default: @code{#f})"
  45463. msgstr ""
  45464. #. type: table
  45465. #: guix-git/doc/guix.texi:30498
  45466. 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}."
  45467. msgstr ""
  45468. #. type: item
  45469. #: guix-git/doc/guix.texi:30499
  45470. #, no-wrap
  45471. msgid "@code{listen} (default: @code{'()})"
  45472. msgstr ""
  45473. #. type: table
  45474. #: guix-git/doc/guix.texi:30502
  45475. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  45476. msgstr ""
  45477. #. type: item
  45478. #: guix-git/doc/guix.texi:30503
  45479. #, no-wrap
  45480. msgid "@code{port} (default: @code{#f})"
  45481. msgstr ""
  45482. #. type: table
  45483. #: guix-git/doc/guix.texi:30505
  45484. msgid "Whether to listen on an alternative port, which defaults to 9418."
  45485. msgstr ""
  45486. #. type: item
  45487. #: guix-git/doc/guix.texi:30506
  45488. #, no-wrap
  45489. msgid "@code{whitelist} (default: @code{'()})"
  45490. msgstr ""
  45491. #. type: table
  45492. #: guix-git/doc/guix.texi:30508
  45493. msgid "If not empty, only allow access to this list of directories."
  45494. msgstr ""
  45495. #. type: table
  45496. #: guix-git/doc/guix.texi:30512
  45497. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  45498. msgstr ""
  45499. #. type: Plain text
  45500. #: guix-git/doc/guix.texi:30526
  45501. 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."
  45502. msgstr ""
  45503. #. type: Plain text
  45504. #: guix-git/doc/guix.texi:30529
  45505. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  45506. msgstr ""
  45507. #. type: deftp
  45508. #: guix-git/doc/guix.texi:30530
  45509. #, no-wrap
  45510. msgid "{Data Type} git-http-configuration"
  45511. msgstr ""
  45512. #. type: deftp
  45513. #: guix-git/doc/guix.texi:30534
  45514. 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}."
  45515. msgstr ""
  45516. #. type: item
  45517. #: guix-git/doc/guix.texi:30536
  45518. #, no-wrap
  45519. msgid "@code{package} (default: @var{git})"
  45520. msgstr ""
  45521. #. type: item
  45522. #: guix-git/doc/guix.texi:30539
  45523. #, no-wrap
  45524. msgid "@code{git-root} (default: @file{/srv/git})"
  45525. msgstr ""
  45526. #. type: table
  45527. #: guix-git/doc/guix.texi:30541
  45528. msgid "Directory containing the Git repositories to expose to the world."
  45529. msgstr ""
  45530. #. type: table
  45531. #: guix-git/doc/guix.texi:30545
  45532. 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."
  45533. msgstr ""
  45534. #. type: item
  45535. #: guix-git/doc/guix.texi:30546
  45536. #, no-wrap
  45537. msgid "@code{uri-path} (default: @samp{/git/})"
  45538. msgstr ""
  45539. #. type: table
  45540. #: guix-git/doc/guix.texi:30551
  45541. 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."
  45542. msgstr ""
  45543. #. type: item
  45544. #: guix-git/doc/guix.texi:30552
  45545. #, no-wrap
  45546. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  45547. msgstr ""
  45548. #. type: table
  45549. #: guix-git/doc/guix.texi:30555
  45550. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  45551. msgstr ""
  45552. #. type: Plain text
  45553. #: guix-git/doc/guix.texi:30562
  45554. 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."
  45555. msgstr ""
  45556. #. type: deffn
  45557. #: guix-git/doc/guix.texi:30563
  45558. #, no-wrap
  45559. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  45560. msgstr ""
  45561. #. type: deffn
  45562. #: guix-git/doc/guix.texi:30568
  45563. 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:"
  45564. msgstr ""
  45565. #. type: lisp
  45566. #: guix-git/doc/guix.texi:30585
  45567. #, no-wrap
  45568. msgid ""
  45569. "(service nginx-service-type\n"
  45570. " (nginx-configuration\n"
  45571. " (server-blocks\n"
  45572. " (list\n"
  45573. " (nginx-server-configuration\n"
  45574. " (listen '(\"443 ssl\"))\n"
  45575. " (server-name \"git.my-host.org\")\n"
  45576. " (ssl-certificate\n"
  45577. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  45578. " (ssl-certificate-key\n"
  45579. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  45580. " (locations\n"
  45581. " (list\n"
  45582. " (git-http-nginx-location-configuration\n"
  45583. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  45584. msgstr ""
  45585. #. type: deffn
  45586. #: guix-git/doc/guix.texi:30592
  45587. 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}."
  45588. msgstr ""
  45589. #. type: subsubheading
  45590. #: guix-git/doc/guix.texi:30594
  45591. #, no-wrap
  45592. msgid "Cgit Service"
  45593. msgstr ""
  45594. #. type: cindex
  45595. #: guix-git/doc/guix.texi:30596
  45596. #, no-wrap
  45597. msgid "Cgit service"
  45598. msgstr ""
  45599. #. type: cindex
  45600. #: guix-git/doc/guix.texi:30597
  45601. #, no-wrap
  45602. msgid "Git, web interface"
  45603. msgstr ""
  45604. #. type: Plain text
  45605. #: guix-git/doc/guix.texi:30600
  45606. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  45607. msgstr ""
  45608. #. type: Plain text
  45609. #: guix-git/doc/guix.texi:30603
  45610. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  45611. msgstr ""
  45612. #. type: lisp
  45613. #: guix-git/doc/guix.texi:30606
  45614. #, no-wrap
  45615. msgid "(service cgit-service-type)\n"
  45616. msgstr ""
  45617. #. type: Plain text
  45618. #: guix-git/doc/guix.texi:30610
  45619. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  45620. msgstr ""
  45621. #. type: Plain text
  45622. #: guix-git/doc/guix.texi:30614
  45623. msgid "Available @code{cgit-configuration} fields are:"
  45624. msgstr ""
  45625. #. type: deftypevr
  45626. #: guix-git/doc/guix.texi:30615
  45627. #, no-wrap
  45628. msgid "{@code{cgit-configuration} parameter} package package"
  45629. msgstr ""
  45630. #. type: deftypevr
  45631. #: guix-git/doc/guix.texi:30617
  45632. msgid "The CGIT package."
  45633. msgstr ""
  45634. #. type: deftypevr
  45635. #: guix-git/doc/guix.texi:30620
  45636. #, no-wrap
  45637. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  45638. msgstr ""
  45639. #. type: deftypevr
  45640. #: guix-git/doc/guix.texi:30625
  45641. #, no-wrap
  45642. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  45643. msgstr ""
  45644. #. type: deftypevr
  45645. #: guix-git/doc/guix.texi:30628
  45646. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  45647. msgstr ""
  45648. #. type: deftypevr
  45649. #: guix-git/doc/guix.texi:30633
  45650. #, no-wrap
  45651. msgid "{@code{cgit-configuration} parameter} string agefile"
  45652. msgstr ""
  45653. #. type: deftypevr
  45654. #: guix-git/doc/guix.texi:30636
  45655. 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."
  45656. msgstr ""
  45657. #. type: deftypevr
  45658. #: guix-git/doc/guix.texi:30641
  45659. #, no-wrap
  45660. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  45661. msgstr ""
  45662. #. type: deftypevr
  45663. #: guix-git/doc/guix.texi:30644
  45664. msgid "Specifies a command that will be invoked for authenticating repository access."
  45665. msgstr ""
  45666. #. type: deftypevr
  45667. #: guix-git/doc/guix.texi:30649
  45668. #, no-wrap
  45669. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  45670. msgstr ""
  45671. #. type: deftypevr
  45672. #: guix-git/doc/guix.texi:30652
  45673. 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."
  45674. msgstr ""
  45675. #. type: deftypevr
  45676. #: guix-git/doc/guix.texi:30654
  45677. msgid "Defaults to @samp{\"name\"}."
  45678. msgstr ""
  45679. #. type: deftypevr
  45680. #: guix-git/doc/guix.texi:30657
  45681. #, no-wrap
  45682. msgid "{@code{cgit-configuration} parameter} string cache-root"
  45683. msgstr ""
  45684. #. type: deftypevr
  45685. #: guix-git/doc/guix.texi:30659
  45686. msgid "Path used to store the cgit cache entries."
  45687. msgstr ""
  45688. #. type: deftypevr
  45689. #: guix-git/doc/guix.texi:30661
  45690. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  45691. msgstr ""
  45692. #. type: deftypevr
  45693. #: guix-git/doc/guix.texi:30664
  45694. #, no-wrap
  45695. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  45696. msgstr ""
  45697. #. type: deftypevr
  45698. #: guix-git/doc/guix.texi:30667
  45699. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  45700. msgstr ""
  45701. #. type: deftypevr
  45702. #: guix-git/doc/guix.texi:30669 guix-git/doc/guix.texi:31112
  45703. msgid "Defaults to @samp{-1}."
  45704. msgstr ""
  45705. #. type: deftypevr
  45706. #: guix-git/doc/guix.texi:30672
  45707. #, no-wrap
  45708. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  45709. msgstr ""
  45710. #. type: deftypevr
  45711. #: guix-git/doc/guix.texi:30675
  45712. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  45713. msgstr ""
  45714. #. type: deftypevr
  45715. #: guix-git/doc/guix.texi:30680
  45716. #, no-wrap
  45717. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  45718. msgstr ""
  45719. #. type: deftypevr
  45720. #: guix-git/doc/guix.texi:30683
  45721. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  45722. msgstr ""
  45723. #. type: deftypevr
  45724. #: guix-git/doc/guix.texi:30688
  45725. #, no-wrap
  45726. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  45727. msgstr ""
  45728. #. type: deftypevr
  45729. #: guix-git/doc/guix.texi:30691
  45730. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  45731. msgstr ""
  45732. #. type: deftypevr
  45733. #: guix-git/doc/guix.texi:30696
  45734. #, no-wrap
  45735. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  45736. msgstr ""
  45737. #. type: deftypevr
  45738. #: guix-git/doc/guix.texi:30699
  45739. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  45740. msgstr ""
  45741. #. type: deftypevr
  45742. #: guix-git/doc/guix.texi:30704
  45743. #, no-wrap
  45744. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  45745. msgstr ""
  45746. #. type: deftypevr
  45747. #: guix-git/doc/guix.texi:30707
  45748. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  45749. msgstr ""
  45750. #. type: deftypevr
  45751. #: guix-git/doc/guix.texi:30712
  45752. #, no-wrap
  45753. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  45754. msgstr ""
  45755. #. type: deftypevr
  45756. #: guix-git/doc/guix.texi:30715
  45757. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  45758. msgstr ""
  45759. #. type: deftypevr
  45760. #: guix-git/doc/guix.texi:30720
  45761. #, no-wrap
  45762. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  45763. msgstr ""
  45764. #. type: deftypevr
  45765. #: guix-git/doc/guix.texi:30723
  45766. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  45767. msgstr ""
  45768. #. type: deftypevr
  45769. #: guix-git/doc/guix.texi:30728
  45770. #, no-wrap
  45771. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  45772. msgstr ""
  45773. #. type: deftypevr
  45774. #: guix-git/doc/guix.texi:30730
  45775. msgid "Sort items in the repo list case sensitively."
  45776. msgstr ""
  45777. #. type: deftypevr
  45778. #: guix-git/doc/guix.texi:30735
  45779. #, no-wrap
  45780. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  45781. msgstr ""
  45782. #. type: deftypevr
  45783. #: guix-git/doc/guix.texi:30738
  45784. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  45785. msgstr ""
  45786. #. type: deftypevr
  45787. #: guix-git/doc/guix.texi:30743
  45788. #, no-wrap
  45789. msgid "{@code{cgit-configuration} parameter} list clone-url"
  45790. msgstr ""
  45791. #. type: deftypevr
  45792. #: guix-git/doc/guix.texi:30745
  45793. msgid "List of @code{clone-url} templates."
  45794. msgstr ""
  45795. #. type: deftypevr
  45796. #: guix-git/doc/guix.texi:30750
  45797. #, no-wrap
  45798. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  45799. msgstr ""
  45800. #. type: deftypevr
  45801. #: guix-git/doc/guix.texi:30752
  45802. msgid "Command which will be invoked to format commit messages."
  45803. msgstr ""
  45804. #. type: deftypevr
  45805. #: guix-git/doc/guix.texi:30757
  45806. #, no-wrap
  45807. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  45808. msgstr ""
  45809. #. type: deftypevr
  45810. #: guix-git/doc/guix.texi:30761 guix-git/doc/guix.texi:31319
  45811. 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."
  45812. msgstr ""
  45813. #. type: deftypevr
  45814. #: guix-git/doc/guix.texi:30763
  45815. msgid "Defaults to @samp{\"git log\"}."
  45816. msgstr ""
  45817. #. type: deftypevr
  45818. #: guix-git/doc/guix.texi:30766
  45819. #, no-wrap
  45820. msgid "{@code{cgit-configuration} parameter} file-object css"
  45821. msgstr ""
  45822. #. type: deftypevr
  45823. #: guix-git/doc/guix.texi:30768
  45824. msgid "URL which specifies the css document to include in all cgit pages."
  45825. msgstr ""
  45826. #. type: deftypevr
  45827. #: guix-git/doc/guix.texi:30770
  45828. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  45829. msgstr ""
  45830. #. type: deftypevr
  45831. #: guix-git/doc/guix.texi:30773
  45832. #, no-wrap
  45833. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  45834. msgstr ""
  45835. #. type: deftypevr
  45836. #: guix-git/doc/guix.texi:30777
  45837. 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."
  45838. msgstr ""
  45839. #. type: deftypevr
  45840. #: guix-git/doc/guix.texi:30782
  45841. #, no-wrap
  45842. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  45843. msgstr ""
  45844. #. type: deftypevr
  45845. #: guix-git/doc/guix.texi:30785
  45846. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  45847. msgstr ""
  45848. #. type: deftypevr
  45849. #: guix-git/doc/guix.texi:30790
  45850. #, no-wrap
  45851. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  45852. msgstr ""
  45853. #. type: deftypevr
  45854. #: guix-git/doc/guix.texi:30794
  45855. 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."
  45856. msgstr ""
  45857. #. type: deftypevr
  45858. #: guix-git/doc/guix.texi:30799
  45859. #, no-wrap
  45860. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  45861. msgstr ""
  45862. #. type: deftypevr
  45863. #: guix-git/doc/guix.texi:30802
  45864. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  45865. msgstr ""
  45866. #. type: deftypevr
  45867. #: guix-git/doc/guix.texi:30807
  45868. #, no-wrap
  45869. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  45870. msgstr ""
  45871. #. type: deftypevr
  45872. #: guix-git/doc/guix.texi:30810
  45873. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  45874. msgstr ""
  45875. #. type: deftypevr
  45876. #: guix-git/doc/guix.texi:30815
  45877. #, no-wrap
  45878. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  45879. msgstr ""
  45880. #. type: deftypevr
  45881. #: guix-git/doc/guix.texi:30818
  45882. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  45883. msgstr ""
  45884. #. type: deftypevr
  45885. #: guix-git/doc/guix.texi:30823
  45886. #, no-wrap
  45887. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  45888. msgstr ""
  45889. #. type: deftypevr
  45890. #: guix-git/doc/guix.texi:30826
  45891. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  45892. msgstr ""
  45893. #. type: deftypevr
  45894. #: guix-git/doc/guix.texi:30831
  45895. #, no-wrap
  45896. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  45897. msgstr ""
  45898. #. type: deftypevr
  45899. #: guix-git/doc/guix.texi:30834
  45900. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  45901. msgstr ""
  45902. #. type: deftypevr
  45903. #: guix-git/doc/guix.texi:30839
  45904. #, no-wrap
  45905. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  45906. msgstr ""
  45907. #. type: deftypevr
  45908. #: guix-git/doc/guix.texi:30842
  45909. 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."
  45910. msgstr ""
  45911. #. type: deftypevr
  45912. #: guix-git/doc/guix.texi:30847
  45913. #, no-wrap
  45914. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  45915. msgstr ""
  45916. #. type: deftypevr
  45917. #: guix-git/doc/guix.texi:30850
  45918. 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."
  45919. msgstr ""
  45920. #. type: deftypevr
  45921. #: guix-git/doc/guix.texi:30855
  45922. #, no-wrap
  45923. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  45924. msgstr ""
  45925. #. type: deftypevr
  45926. #: guix-git/doc/guix.texi:30858 guix-git/doc/guix.texi:31382
  45927. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  45928. msgstr ""
  45929. #. type: deftypevr
  45930. #: guix-git/doc/guix.texi:30863
  45931. #, no-wrap
  45932. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  45933. msgstr ""
  45934. #. type: deftypevr
  45935. #: guix-git/doc/guix.texi:30867
  45936. 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."
  45937. msgstr ""
  45938. #. type: deftypevr
  45939. #: guix-git/doc/guix.texi:30872
  45940. #, no-wrap
  45941. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  45942. msgstr ""
  45943. #. type: deftypevr
  45944. #: guix-git/doc/guix.texi:30876
  45945. 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."
  45946. msgstr ""
  45947. #. type: deftypevr
  45948. #: guix-git/doc/guix.texi:30881
  45949. #, no-wrap
  45950. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  45951. msgstr ""
  45952. #. type: deftypevr
  45953. #: guix-git/doc/guix.texi:30884
  45954. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  45955. msgstr ""
  45956. #. type: deftypevr
  45957. #: guix-git/doc/guix.texi:30889
  45958. #, no-wrap
  45959. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  45960. msgstr ""
  45961. #. type: deftypevr
  45962. #: guix-git/doc/guix.texi:30892
  45963. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  45964. msgstr ""
  45965. #. type: deftypevr
  45966. #: guix-git/doc/guix.texi:30897
  45967. #, no-wrap
  45968. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  45969. msgstr ""
  45970. #. type: deftypevr
  45971. #: guix-git/doc/guix.texi:30899
  45972. msgid "URL used as link to a shortcut icon for cgit."
  45973. msgstr ""
  45974. #. type: deftypevr
  45975. #: guix-git/doc/guix.texi:30901
  45976. msgid "Defaults to @samp{\"/favicon.ico\"}."
  45977. msgstr ""
  45978. #. type: deftypevr
  45979. #: guix-git/doc/guix.texi:30904
  45980. #, no-wrap
  45981. msgid "{@code{cgit-configuration} parameter} string footer"
  45982. msgstr ""
  45983. #. type: deftypevr
  45984. #: guix-git/doc/guix.texi:30908
  45985. 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)."
  45986. msgstr ""
  45987. #. type: deftypevr
  45988. #: guix-git/doc/guix.texi:30913
  45989. #, no-wrap
  45990. msgid "{@code{cgit-configuration} parameter} string head-include"
  45991. msgstr ""
  45992. #. type: deftypevr
  45993. #: guix-git/doc/guix.texi:30916
  45994. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  45995. msgstr ""
  45996. #. type: deftypevr
  45997. #: guix-git/doc/guix.texi:30921
  45998. #, no-wrap
  45999. msgid "{@code{cgit-configuration} parameter} string header"
  46000. msgstr ""
  46001. #. type: deftypevr
  46002. #: guix-git/doc/guix.texi:30924
  46003. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  46004. msgstr ""
  46005. #. type: deftypevr
  46006. #: guix-git/doc/guix.texi:30929
  46007. #, no-wrap
  46008. msgid "{@code{cgit-configuration} parameter} file-object include"
  46009. msgstr ""
  46010. #. type: deftypevr
  46011. #: guix-git/doc/guix.texi:30932
  46012. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  46013. msgstr ""
  46014. #. type: deftypevr
  46015. #: guix-git/doc/guix.texi:30937
  46016. #, no-wrap
  46017. msgid "{@code{cgit-configuration} parameter} string index-header"
  46018. msgstr ""
  46019. #. type: deftypevr
  46020. #: guix-git/doc/guix.texi:30940
  46021. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  46022. msgstr ""
  46023. #. type: deftypevr
  46024. #: guix-git/doc/guix.texi:30945
  46025. #, no-wrap
  46026. msgid "{@code{cgit-configuration} parameter} string index-info"
  46027. msgstr ""
  46028. #. type: deftypevr
  46029. #: guix-git/doc/guix.texi:30948
  46030. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  46031. msgstr ""
  46032. #. type: deftypevr
  46033. #: guix-git/doc/guix.texi:30953
  46034. #, no-wrap
  46035. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  46036. msgstr ""
  46037. #. type: deftypevr
  46038. #: guix-git/doc/guix.texi:30956
  46039. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  46040. msgstr ""
  46041. #. type: deftypevr
  46042. #: guix-git/doc/guix.texi:30961
  46043. #, no-wrap
  46044. msgid "{@code{cgit-configuration} parameter} file-object logo"
  46045. msgstr ""
  46046. #. type: deftypevr
  46047. #: guix-git/doc/guix.texi:30964
  46048. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  46049. msgstr ""
  46050. #. type: deftypevr
  46051. #: guix-git/doc/guix.texi:30966
  46052. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  46053. msgstr ""
  46054. #. type: deftypevr
  46055. #: guix-git/doc/guix.texi:30969
  46056. #, no-wrap
  46057. msgid "{@code{cgit-configuration} parameter} string logo-link"
  46058. msgstr ""
  46059. #. type: deftypevr
  46060. #: guix-git/doc/guix.texi:30971 guix-git/doc/guix.texi:31428
  46061. msgid "URL loaded when clicking on the cgit logo image."
  46062. msgstr ""
  46063. #. type: deftypevr
  46064. #: guix-git/doc/guix.texi:30976
  46065. #, no-wrap
  46066. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  46067. msgstr ""
  46068. #. type: deftypevr
  46069. #: guix-git/doc/guix.texi:30979
  46070. msgid "Command which will be invoked to format the Owner column of the main page."
  46071. msgstr ""
  46072. #. type: deftypevr
  46073. #: guix-git/doc/guix.texi:30984
  46074. #, no-wrap
  46075. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  46076. msgstr ""
  46077. #. type: deftypevr
  46078. #: guix-git/doc/guix.texi:30986
  46079. msgid "Number of items to display in atom feeds view."
  46080. msgstr ""
  46081. #. type: deftypevr
  46082. #: guix-git/doc/guix.texi:30991
  46083. #, no-wrap
  46084. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  46085. msgstr ""
  46086. #. type: deftypevr
  46087. #: guix-git/doc/guix.texi:30993
  46088. msgid "Number of entries to list per page in \"log\" view."
  46089. msgstr ""
  46090. #. type: deftypevr
  46091. #: guix-git/doc/guix.texi:30998
  46092. #, no-wrap
  46093. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  46094. msgstr ""
  46095. #. type: deftypevr
  46096. #: guix-git/doc/guix.texi:31000
  46097. msgid "Number of commit message characters to display in \"log\" view."
  46098. msgstr ""
  46099. #. type: deftypevr
  46100. #: guix-git/doc/guix.texi:31002 guix-git/doc/guix.texi:31018
  46101. msgid "Defaults to @samp{80}."
  46102. msgstr ""
  46103. #. type: deftypevr
  46104. #: guix-git/doc/guix.texi:31005
  46105. #, no-wrap
  46106. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  46107. msgstr ""
  46108. #. type: deftypevr
  46109. #: guix-git/doc/guix.texi:31008
  46110. msgid "Specifies the number of entries to list per page on the repository index page."
  46111. msgstr ""
  46112. #. type: deftypevr
  46113. #: guix-git/doc/guix.texi:31013
  46114. #, no-wrap
  46115. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  46116. msgstr ""
  46117. #. type: deftypevr
  46118. #: guix-git/doc/guix.texi:31016
  46119. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  46120. msgstr ""
  46121. #. type: deftypevr
  46122. #: guix-git/doc/guix.texi:31021
  46123. #, no-wrap
  46124. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  46125. msgstr ""
  46126. #. type: deftypevr
  46127. #: guix-git/doc/guix.texi:31023
  46128. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  46129. msgstr ""
  46130. #. type: deftypevr
  46131. #: guix-git/doc/guix.texi:31028
  46132. #, no-wrap
  46133. msgid "{@code{cgit-configuration} parameter} string max-stats"
  46134. msgstr ""
  46135. #. type: deftypevr
  46136. #: guix-git/doc/guix.texi:31031
  46137. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  46138. msgstr ""
  46139. #. type: deftypevr
  46140. #: guix-git/doc/guix.texi:31036
  46141. #, no-wrap
  46142. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  46143. msgstr ""
  46144. #. type: deftypevr
  46145. #: guix-git/doc/guix.texi:31038
  46146. msgid "Mimetype for the specified filename extension."
  46147. msgstr ""
  46148. #. type: deftypevr
  46149. #: guix-git/doc/guix.texi:31042
  46150. 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\"))}."
  46151. msgstr ""
  46152. #. type: deftypevr
  46153. #: guix-git/doc/guix.texi:31045
  46154. #, no-wrap
  46155. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  46156. msgstr ""
  46157. #. type: deftypevr
  46158. #: guix-git/doc/guix.texi:31047
  46159. msgid "Specifies the file to use for automatic mimetype lookup."
  46160. msgstr ""
  46161. #. type: deftypevr
  46162. #: guix-git/doc/guix.texi:31052
  46163. #, no-wrap
  46164. msgid "{@code{cgit-configuration} parameter} string module-link"
  46165. msgstr ""
  46166. #. type: deftypevr
  46167. #: guix-git/doc/guix.texi:31055
  46168. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  46169. msgstr ""
  46170. #. type: deftypevr
  46171. #: guix-git/doc/guix.texi:31060
  46172. #, no-wrap
  46173. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  46174. msgstr ""
  46175. #. type: deftypevr
  46176. #: guix-git/doc/guix.texi:31062
  46177. msgid "If set to the value @samp{#t} caching will be disabled."
  46178. msgstr ""
  46179. #. type: deftypevr
  46180. #: guix-git/doc/guix.texi:31067
  46181. #, no-wrap
  46182. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  46183. msgstr ""
  46184. #. type: deftypevr
  46185. #: guix-git/doc/guix.texi:31070
  46186. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  46187. msgstr ""
  46188. #. type: deftypevr
  46189. #: guix-git/doc/guix.texi:31075
  46190. #, no-wrap
  46191. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  46192. msgstr ""
  46193. #. type: deftypevr
  46194. #: guix-git/doc/guix.texi:31078
  46195. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  46196. msgstr ""
  46197. #. type: deftypevr
  46198. #: guix-git/doc/guix.texi:31083
  46199. #, no-wrap
  46200. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  46201. msgstr ""
  46202. #. type: deftypevr
  46203. #: guix-git/doc/guix.texi:31087
  46204. 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."
  46205. msgstr ""
  46206. #. type: deftypevr
  46207. #: guix-git/doc/guix.texi:31092
  46208. #, no-wrap
  46209. msgid "{@code{cgit-configuration} parameter} file-object readme"
  46210. msgstr ""
  46211. #. type: deftypevr
  46212. #: guix-git/doc/guix.texi:31094
  46213. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  46214. msgstr ""
  46215. #. type: deftypevr
  46216. #: guix-git/doc/guix.texi:31099
  46217. #, no-wrap
  46218. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  46219. msgstr ""
  46220. #. type: deftypevr
  46221. #: guix-git/doc/guix.texi:31103
  46222. 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."
  46223. msgstr ""
  46224. #. type: deftypevr
  46225. #: guix-git/doc/guix.texi:31108
  46226. #, no-wrap
  46227. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  46228. msgstr ""
  46229. #. type: deftypevr
  46230. #: guix-git/doc/guix.texi:31110
  46231. msgid "Maximum number of files to consider when detecting renames."
  46232. msgstr ""
  46233. #. type: deftypevr
  46234. #: guix-git/doc/guix.texi:31115
  46235. #, no-wrap
  46236. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  46237. msgstr ""
  46238. #. type: deftypevr
  46239. #: guix-git/doc/guix.texi:31117
  46240. msgid "The way in which repositories in each section are sorted."
  46241. msgstr ""
  46242. #. type: deftypevr
  46243. #: guix-git/doc/guix.texi:31122
  46244. #, no-wrap
  46245. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  46246. msgstr ""
  46247. #. type: deftypevr
  46248. #: guix-git/doc/guix.texi:31124
  46249. msgid "Text used as content for the @code{robots} meta-tag."
  46250. msgstr ""
  46251. #. type: deftypevr
  46252. #: guix-git/doc/guix.texi:31126
  46253. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  46254. msgstr ""
  46255. #. type: deftypevr
  46256. #: guix-git/doc/guix.texi:31129
  46257. #, no-wrap
  46258. msgid "{@code{cgit-configuration} parameter} string root-desc"
  46259. msgstr ""
  46260. #. type: deftypevr
  46261. #: guix-git/doc/guix.texi:31131
  46262. msgid "Text printed below the heading on the repository index page."
  46263. msgstr ""
  46264. #. type: deftypevr
  46265. #: guix-git/doc/guix.texi:31133
  46266. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  46267. msgstr ""
  46268. #. type: deftypevr
  46269. #: guix-git/doc/guix.texi:31136
  46270. #, no-wrap
  46271. msgid "{@code{cgit-configuration} parameter} string root-readme"
  46272. msgstr ""
  46273. #. type: deftypevr
  46274. #: guix-git/doc/guix.texi:31139
  46275. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  46276. msgstr ""
  46277. #. type: deftypevr
  46278. #: guix-git/doc/guix.texi:31144
  46279. #, no-wrap
  46280. msgid "{@code{cgit-configuration} parameter} string root-title"
  46281. msgstr ""
  46282. #. type: deftypevr
  46283. #: guix-git/doc/guix.texi:31146
  46284. msgid "Text printed as heading on the repository index page."
  46285. msgstr ""
  46286. #. type: deftypevr
  46287. #: guix-git/doc/guix.texi:31151
  46288. #, no-wrap
  46289. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  46290. msgstr ""
  46291. #. type: deftypevr
  46292. #: guix-git/doc/guix.texi:31157
  46293. 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."
  46294. msgstr ""
  46295. #. type: deftypevr
  46296. #: guix-git/doc/guix.texi:31162
  46297. #, no-wrap
  46298. msgid "{@code{cgit-configuration} parameter} list snapshots"
  46299. msgstr ""
  46300. #. type: deftypevr
  46301. #: guix-git/doc/guix.texi:31165
  46302. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  46303. msgstr ""
  46304. #. type: deftypevr
  46305. #: guix-git/doc/guix.texi:31170
  46306. #, no-wrap
  46307. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  46308. msgstr ""
  46309. #. type: deftypevr
  46310. #: guix-git/doc/guix.texi:31173
  46311. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  46312. msgstr ""
  46313. #. type: deftypevr
  46314. #: guix-git/doc/guix.texi:31175
  46315. msgid "Defaults to @samp{\"/srv/git\"}."
  46316. msgstr ""
  46317. #. type: deftypevr
  46318. #: guix-git/doc/guix.texi:31178
  46319. #, no-wrap
  46320. msgid "{@code{cgit-configuration} parameter} string section"
  46321. msgstr ""
  46322. #. type: deftypevr
  46323. #: guix-git/doc/guix.texi:31181 guix-git/doc/guix.texi:31497
  46324. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  46325. msgstr ""
  46326. #. type: deftypevr
  46327. #: guix-git/doc/guix.texi:31186
  46328. #, no-wrap
  46329. msgid "{@code{cgit-configuration} parameter} string section-sort"
  46330. msgstr ""
  46331. #. type: deftypevr
  46332. #: guix-git/doc/guix.texi:31189
  46333. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  46334. msgstr ""
  46335. #. type: deftypevr
  46336. #: guix-git/doc/guix.texi:31194
  46337. #, no-wrap
  46338. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  46339. msgstr ""
  46340. #. type: deftypevr
  46341. #: guix-git/doc/guix.texi:31197
  46342. 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."
  46343. msgstr ""
  46344. #. type: deftypevr
  46345. #: guix-git/doc/guix.texi:31202
  46346. #, no-wrap
  46347. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  46348. msgstr ""
  46349. #. type: deftypevr
  46350. #: guix-git/doc/guix.texi:31205
  46351. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  46352. msgstr ""
  46353. #. type: deftypevr
  46354. #: guix-git/doc/guix.texi:31210
  46355. #, no-wrap
  46356. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  46357. msgstr ""
  46358. #. type: deftypevr
  46359. #: guix-git/doc/guix.texi:31213
  46360. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  46361. msgstr ""
  46362. #. type: deftypevr
  46363. #: guix-git/doc/guix.texi:31218
  46364. #, no-wrap
  46365. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  46366. msgstr ""
  46367. #. type: deftypevr
  46368. #: guix-git/doc/guix.texi:31221
  46369. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  46370. msgstr ""
  46371. #. type: deftypevr
  46372. #: guix-git/doc/guix.texi:31226
  46373. #, no-wrap
  46374. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  46375. msgstr ""
  46376. #. type: deftypevr
  46377. #: guix-git/doc/guix.texi:31229
  46378. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  46379. msgstr ""
  46380. #. type: deftypevr
  46381. #: guix-git/doc/guix.texi:31234
  46382. #, no-wrap
  46383. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  46384. msgstr ""
  46385. #. type: deftypevr
  46386. #: guix-git/doc/guix.texi:31237
  46387. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  46388. msgstr ""
  46389. #. type: deftypevr
  46390. #: guix-git/doc/guix.texi:31242
  46391. #, no-wrap
  46392. msgid "{@code{cgit-configuration} parameter} string strict-export"
  46393. msgstr ""
  46394. #. type: deftypevr
  46395. #: guix-git/doc/guix.texi:31245
  46396. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  46397. msgstr ""
  46398. #. type: deftypevr
  46399. #: guix-git/doc/guix.texi:31250
  46400. #, no-wrap
  46401. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  46402. msgstr ""
  46403. #. type: deftypevr
  46404. #: guix-git/doc/guix.texi:31252
  46405. msgid "URL which, if specified, will be used as root for all cgit links."
  46406. msgstr ""
  46407. #. type: deftypevr
  46408. #: guix-git/doc/guix.texi:31254
  46409. msgid "Defaults to @samp{\"/\"}."
  46410. msgstr ""
  46411. #. type: deftypevr
  46412. #: guix-git/doc/guix.texi:31257
  46413. #, no-wrap
  46414. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  46415. msgstr ""
  46416. #. type: deftypevr
  46417. #: guix-git/doc/guix.texi:31259
  46418. msgid "A list of @dfn{cgit-repo} records to use with config."
  46419. msgstr ""
  46420. #. type: deftypevr
  46421. #: guix-git/doc/guix.texi:31263
  46422. msgid "Available @code{repository-cgit-configuration} fields are:"
  46423. msgstr ""
  46424. #. type: deftypevr
  46425. #: guix-git/doc/guix.texi:31264
  46426. #, no-wrap
  46427. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  46428. msgstr ""
  46429. #. type: deftypevr
  46430. #: guix-git/doc/guix.texi:31267
  46431. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  46432. msgstr ""
  46433. #. type: deftypevr
  46434. #: guix-git/doc/guix.texi:31272
  46435. #, no-wrap
  46436. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  46437. msgstr ""
  46438. #. type: deftypevr
  46439. #: guix-git/doc/guix.texi:31274
  46440. msgid "Override the default @code{source-filter}."
  46441. msgstr ""
  46442. #. type: deftypevr
  46443. #: guix-git/doc/guix.texi:31279
  46444. #, no-wrap
  46445. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  46446. msgstr ""
  46447. #. type: deftypevr
  46448. #: guix-git/doc/guix.texi:31281
  46449. msgid "The relative URL used to access the repository."
  46450. msgstr ""
  46451. #. type: deftypevr
  46452. #: guix-git/doc/guix.texi:31286
  46453. #, no-wrap
  46454. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  46455. msgstr ""
  46456. #. type: deftypevr
  46457. #: guix-git/doc/guix.texi:31288
  46458. msgid "Override the default @code{about-filter}."
  46459. msgstr ""
  46460. #. type: deftypevr
  46461. #: guix-git/doc/guix.texi:31293
  46462. #, no-wrap
  46463. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  46464. msgstr ""
  46465. #. type: deftypevr
  46466. #: guix-git/doc/guix.texi:31296
  46467. 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."
  46468. msgstr ""
  46469. #. type: deftypevr
  46470. #: guix-git/doc/guix.texi:31301
  46471. #, no-wrap
  46472. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  46473. msgstr ""
  46474. #. type: deftypevr
  46475. #: guix-git/doc/guix.texi:31303
  46476. msgid "A list of URLs which can be used to clone repo."
  46477. msgstr ""
  46478. #. type: deftypevr
  46479. #: guix-git/doc/guix.texi:31308
  46480. #, no-wrap
  46481. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  46482. msgstr ""
  46483. #. type: deftypevr
  46484. #: guix-git/doc/guix.texi:31310
  46485. msgid "Override the default @code{commit-filter}."
  46486. msgstr ""
  46487. #. type: deftypevr
  46488. #: guix-git/doc/guix.texi:31315
  46489. #, no-wrap
  46490. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  46491. msgstr ""
  46492. #. type: deftypevr
  46493. #: guix-git/doc/guix.texi:31324
  46494. #, no-wrap
  46495. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  46496. msgstr ""
  46497. #. type: deftypevr
  46498. #: guix-git/doc/guix.texi:31329
  46499. 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."
  46500. msgstr ""
  46501. #. type: deftypevr
  46502. #: guix-git/doc/guix.texi:31334
  46503. #, no-wrap
  46504. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  46505. msgstr ""
  46506. #. type: deftypevr
  46507. #: guix-git/doc/guix.texi:31336
  46508. msgid "The value to show as repository description."
  46509. msgstr ""
  46510. #. type: deftypevr
  46511. #: guix-git/doc/guix.texi:31341
  46512. #, no-wrap
  46513. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  46514. msgstr ""
  46515. #. type: deftypevr
  46516. #: guix-git/doc/guix.texi:31343
  46517. msgid "The value to show as repository homepage."
  46518. msgstr ""
  46519. #. type: deftypevr
  46520. #: guix-git/doc/guix.texi:31348
  46521. #, no-wrap
  46522. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  46523. msgstr ""
  46524. #. type: deftypevr
  46525. #: guix-git/doc/guix.texi:31350
  46526. msgid "Override the default @code{email-filter}."
  46527. msgstr ""
  46528. #. type: deftypevr
  46529. #: guix-git/doc/guix.texi:31355
  46530. #, no-wrap
  46531. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  46532. msgstr ""
  46533. #. type: deftypevr
  46534. #: guix-git/doc/guix.texi:31358
  46535. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  46536. msgstr ""
  46537. #. type: deftypevr
  46538. #: guix-git/doc/guix.texi:31363
  46539. #, no-wrap
  46540. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  46541. msgstr ""
  46542. #. type: deftypevr
  46543. #: guix-git/doc/guix.texi:31366
  46544. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  46545. msgstr ""
  46546. #. type: deftypevr
  46547. #: guix-git/doc/guix.texi:31371
  46548. #, no-wrap
  46549. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  46550. msgstr ""
  46551. #. type: deftypevr
  46552. #: guix-git/doc/guix.texi:31374
  46553. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  46554. msgstr ""
  46555. #. type: deftypevr
  46556. #: guix-git/doc/guix.texi:31379
  46557. #, no-wrap
  46558. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  46559. msgstr ""
  46560. #. type: deftypevr
  46561. #: guix-git/doc/guix.texi:31387
  46562. #, no-wrap
  46563. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  46564. msgstr ""
  46565. #. type: deftypevr
  46566. #: guix-git/doc/guix.texi:31390
  46567. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  46568. msgstr ""
  46569. #. type: deftypevr
  46570. #: guix-git/doc/guix.texi:31395
  46571. #, no-wrap
  46572. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  46573. msgstr ""
  46574. #. type: deftypevr
  46575. #: guix-git/doc/guix.texi:31398
  46576. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  46577. msgstr ""
  46578. #. type: deftypevr
  46579. #: guix-git/doc/guix.texi:31403
  46580. #, no-wrap
  46581. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  46582. msgstr ""
  46583. #. type: deftypevr
  46584. #: guix-git/doc/guix.texi:31406
  46585. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  46586. msgstr ""
  46587. #. type: deftypevr
  46588. #: guix-git/doc/guix.texi:31411
  46589. #, no-wrap
  46590. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  46591. msgstr ""
  46592. #. type: deftypevr
  46593. #: guix-git/doc/guix.texi:31413
  46594. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  46595. msgstr ""
  46596. #. type: deftypevr
  46597. #: guix-git/doc/guix.texi:31418
  46598. #, no-wrap
  46599. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  46600. msgstr ""
  46601. #. type: deftypevr
  46602. #: guix-git/doc/guix.texi:31421
  46603. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  46604. msgstr ""
  46605. #. type: deftypevr
  46606. #: guix-git/doc/guix.texi:31426
  46607. #, no-wrap
  46608. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  46609. msgstr ""
  46610. #. type: deftypevr
  46611. #: guix-git/doc/guix.texi:31433
  46612. #, no-wrap
  46613. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  46614. msgstr ""
  46615. #. type: deftypevr
  46616. #: guix-git/doc/guix.texi:31435
  46617. msgid "Override the default @code{owner-filter}."
  46618. msgstr ""
  46619. #. type: deftypevr
  46620. #: guix-git/doc/guix.texi:31440
  46621. #, no-wrap
  46622. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  46623. msgstr ""
  46624. #. type: deftypevr
  46625. #: guix-git/doc/guix.texi:31444
  46626. 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."
  46627. msgstr ""
  46628. #. type: deftypevr
  46629. #: guix-git/doc/guix.texi:31449
  46630. #, no-wrap
  46631. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  46632. msgstr ""
  46633. #. type: deftypevr
  46634. #: guix-git/doc/guix.texi:31453
  46635. 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."
  46636. msgstr ""
  46637. #. type: deftypevr
  46638. #: guix-git/doc/guix.texi:31458
  46639. #, no-wrap
  46640. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  46641. msgstr ""
  46642. #. type: deftypevr
  46643. #: guix-git/doc/guix.texi:31460
  46644. msgid "Override the default maximum statistics period."
  46645. msgstr ""
  46646. #. type: deftypevr
  46647. #: guix-git/doc/guix.texi:31465
  46648. #, no-wrap
  46649. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  46650. msgstr ""
  46651. #. type: deftypevr
  46652. #: guix-git/doc/guix.texi:31467
  46653. msgid "The value to show as repository name."
  46654. msgstr ""
  46655. #. type: deftypevr
  46656. #: guix-git/doc/guix.texi:31472
  46657. #, no-wrap
  46658. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  46659. msgstr ""
  46660. #. type: deftypevr
  46661. #: guix-git/doc/guix.texi:31474
  46662. msgid "A value used to identify the owner of the repository."
  46663. msgstr ""
  46664. #. type: deftypevr
  46665. #: guix-git/doc/guix.texi:31479
  46666. #, no-wrap
  46667. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  46668. msgstr ""
  46669. #. type: deftypevr
  46670. #: guix-git/doc/guix.texi:31481
  46671. msgid "An absolute path to the repository directory."
  46672. msgstr ""
  46673. #. type: deftypevr
  46674. #: guix-git/doc/guix.texi:31486
  46675. #, no-wrap
  46676. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  46677. msgstr ""
  46678. #. type: deftypevr
  46679. #: guix-git/doc/guix.texi:31489
  46680. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  46681. msgstr ""
  46682. #. type: deftypevr
  46683. #: guix-git/doc/guix.texi:31494
  46684. #, no-wrap
  46685. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  46686. msgstr ""
  46687. #. type: deftypevr
  46688. #: guix-git/doc/guix.texi:31502
  46689. #, no-wrap
  46690. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  46691. msgstr ""
  46692. #. type: deftypevr
  46693. #: guix-git/doc/guix.texi:31504 guix-git/doc/guix.texi:31513
  46694. msgid "Extra options will be appended to cgitrc file."
  46695. msgstr ""
  46696. #. type: deftypevr
  46697. #: guix-git/doc/guix.texi:31511
  46698. #, no-wrap
  46699. msgid "{@code{cgit-configuration} parameter} list extra-options"
  46700. msgstr ""
  46701. #. type: Plain text
  46702. #: guix-git/doc/guix.texi:31525
  46703. 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."
  46704. msgstr ""
  46705. #. type: Plain text
  46706. #: guix-git/doc/guix.texi:31527
  46707. msgid "Available @code{opaque-cgit-configuration} fields are:"
  46708. msgstr ""
  46709. #. type: deftypevr
  46710. #: guix-git/doc/guix.texi:31528
  46711. #, no-wrap
  46712. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  46713. msgstr ""
  46714. #. type: deftypevr
  46715. #: guix-git/doc/guix.texi:31530
  46716. msgid "The cgit package."
  46717. msgstr ""
  46718. #. type: deftypevr
  46719. #: guix-git/doc/guix.texi:31532
  46720. #, no-wrap
  46721. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  46722. msgstr ""
  46723. #. type: deftypevr
  46724. #: guix-git/doc/guix.texi:31534
  46725. msgid "The contents of the @code{cgitrc}, as a string."
  46726. msgstr ""
  46727. #. type: Plain text
  46728. #: guix-git/doc/guix.texi:31538
  46729. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  46730. msgstr ""
  46731. #. type: lisp
  46732. #: guix-git/doc/guix.texi:31543
  46733. #, no-wrap
  46734. msgid ""
  46735. "(service cgit-service-type\n"
  46736. " (opaque-cgit-configuration\n"
  46737. " (cgitrc \"\")))\n"
  46738. msgstr ""
  46739. #. type: subsubheading
  46740. #: guix-git/doc/guix.texi:31545
  46741. #, no-wrap
  46742. msgid "Gitolite Service"
  46743. msgstr ""
  46744. #. type: cindex
  46745. #: guix-git/doc/guix.texi:31547
  46746. #, no-wrap
  46747. msgid "Gitolite service"
  46748. msgstr ""
  46749. #. type: cindex
  46750. #: guix-git/doc/guix.texi:31548
  46751. #, no-wrap
  46752. msgid "Git, hosting"
  46753. msgstr ""
  46754. #. type: Plain text
  46755. #: guix-git/doc/guix.texi:31551
  46756. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  46757. msgstr ""
  46758. #. type: Plain text
  46759. #: guix-git/doc/guix.texi:31554
  46760. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  46761. msgstr ""
  46762. #. type: Plain text
  46763. #: guix-git/doc/guix.texi:31557
  46764. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  46765. msgstr ""
  46766. #. type: lisp
  46767. #: guix-git/doc/guix.texi:31564
  46768. #, no-wrap
  46769. msgid ""
  46770. "(service gitolite-service-type\n"
  46771. " (gitolite-configuration\n"
  46772. " (admin-pubkey (plain-file\n"
  46773. " \"yourname.pub\"\n"
  46774. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  46775. msgstr ""
  46776. #. type: Plain text
  46777. #: guix-git/doc/guix.texi:31569
  46778. 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."
  46779. msgstr ""
  46780. #. type: example
  46781. #: guix-git/doc/guix.texi:31572
  46782. #, no-wrap
  46783. msgid "git clone git@@example.com:gitolite-admin\n"
  46784. msgstr ""
  46785. #. type: Plain text
  46786. #: guix-git/doc/guix.texi:31578
  46787. 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''."
  46788. msgstr ""
  46789. #. type: deftp
  46790. #: guix-git/doc/guix.texi:31579
  46791. #, no-wrap
  46792. msgid "{Data Type} gitolite-configuration"
  46793. msgstr ""
  46794. #. type: deftp
  46795. #: guix-git/doc/guix.texi:31581
  46796. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  46797. msgstr ""
  46798. #. type: item
  46799. #: guix-git/doc/guix.texi:31583
  46800. #, no-wrap
  46801. msgid "@code{package} (default: @var{gitolite})"
  46802. msgstr ""
  46803. #. type: table
  46804. #: guix-git/doc/guix.texi:31585
  46805. msgid "Gitolite package to use."
  46806. msgstr ""
  46807. #. type: item
  46808. #: guix-git/doc/guix.texi:31586
  46809. #, no-wrap
  46810. msgid "@code{user} (default: @var{git})"
  46811. msgstr ""
  46812. #. type: table
  46813. #: guix-git/doc/guix.texi:31589
  46814. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  46815. msgstr ""
  46816. #. type: item
  46817. #: guix-git/doc/guix.texi:31590
  46818. #, no-wrap
  46819. msgid "@code{group} (default: @var{git})"
  46820. msgstr ""
  46821. #. type: table
  46822. #: guix-git/doc/guix.texi:31592
  46823. msgid "Group to use for Gitolite."
  46824. msgstr ""
  46825. #. type: item
  46826. #: guix-git/doc/guix.texi:31593
  46827. #, no-wrap
  46828. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  46829. msgstr ""
  46830. #. type: table
  46831. #: guix-git/doc/guix.texi:31595
  46832. msgid "Directory in which to store the Gitolite configuration and repositories."
  46833. msgstr ""
  46834. #. type: item
  46835. #: guix-git/doc/guix.texi:31596
  46836. #, no-wrap
  46837. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  46838. msgstr ""
  46839. #. type: table
  46840. #: guix-git/doc/guix.texi:31599
  46841. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  46842. msgstr ""
  46843. #. type: item
  46844. #: guix-git/doc/guix.texi:31600
  46845. #, no-wrap
  46846. msgid "@code{admin-pubkey} (default: @var{#f})"
  46847. msgstr ""
  46848. #. type: table
  46849. #: guix-git/doc/guix.texi:31604
  46850. 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."
  46851. msgstr ""
  46852. #. type: table
  46853. #: guix-git/doc/guix.texi:31606
  46854. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  46855. msgstr ""
  46856. #. type: lisp
  46857. #: guix-git/doc/guix.texi:31609
  46858. #, no-wrap
  46859. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  46860. msgstr ""
  46861. #. type: deftp
  46862. #: guix-git/doc/guix.texi:31614
  46863. #, no-wrap
  46864. msgid "{Data Type} gitolite-rc-file"
  46865. msgstr ""
  46866. #. type: deftp
  46867. #: guix-git/doc/guix.texi:31616
  46868. msgid "Data type representing the Gitolite RC file."
  46869. msgstr ""
  46870. #. type: item
  46871. #: guix-git/doc/guix.texi:31618
  46872. #, no-wrap
  46873. msgid "@code{umask} (default: @code{#o0077})"
  46874. msgstr ""
  46875. #. type: table
  46876. #: guix-git/doc/guix.texi:31621
  46877. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  46878. msgstr ""
  46879. #. type: table
  46880. #: guix-git/doc/guix.texi:31625
  46881. 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."
  46882. msgstr ""
  46883. #. type: item
  46884. #: guix-git/doc/guix.texi:31626
  46885. #, no-wrap
  46886. msgid "@code{unsafe-pattern} (default: @code{#f})"
  46887. msgstr ""
  46888. #. type: table
  46889. #: guix-git/doc/guix.texi:31631
  46890. 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."
  46891. msgstr ""
  46892. #. type: table
  46893. #: guix-git/doc/guix.texi:31638
  46894. 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."
  46895. msgstr ""
  46896. #. type: item
  46897. #: guix-git/doc/guix.texi:31639
  46898. #, no-wrap
  46899. msgid "@code{git-config-keys} (default: @code{\"\"})"
  46900. msgstr ""
  46901. #. type: table
  46902. #: guix-git/doc/guix.texi:31642
  46903. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  46904. msgstr ""
  46905. #. type: item
  46906. #: guix-git/doc/guix.texi:31643
  46907. #, no-wrap
  46908. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  46909. msgstr ""
  46910. #. type: table
  46911. #: guix-git/doc/guix.texi:31645
  46912. msgid "Set the role names allowed to be used by users running the perms command."
  46913. msgstr ""
  46914. #. type: item
  46915. #: guix-git/doc/guix.texi:31646
  46916. #, no-wrap
  46917. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  46918. msgstr ""
  46919. #. type: table
  46920. #: guix-git/doc/guix.texi:31648
  46921. msgid "This setting controls the commands and features to enable within Gitolite."
  46922. msgstr ""
  46923. #. type: subsubheading
  46924. #: guix-git/doc/guix.texi:31653
  46925. #, no-wrap
  46926. msgid "Gitile Service"
  46927. msgstr ""
  46928. #. type: cindex
  46929. #: guix-git/doc/guix.texi:31655
  46930. #, no-wrap
  46931. msgid "Gitile service"
  46932. msgstr ""
  46933. #. type: cindex
  46934. #: guix-git/doc/guix.texi:31656
  46935. #, no-wrap
  46936. msgid "Git, forge"
  46937. msgstr ""
  46938. #. type: Plain text
  46939. #: guix-git/doc/guix.texi:31659
  46940. msgid "@uref{https://git.lepiller.eu/gitile, Gitile} is a Git forge for viewing public git repository contents from a web browser."
  46941. msgstr ""
  46942. #. type: Plain text
  46943. #: guix-git/doc/guix.texi:31665
  46944. 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})."
  46945. msgstr ""
  46946. #. type: Plain text
  46947. #: guix-git/doc/guix.texi:31669
  46948. 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."
  46949. msgstr ""
  46950. #. type: lisp
  46951. #: guix-git/doc/guix.texi:31692
  46952. #, no-wrap
  46953. msgid ""
  46954. "(service gitile-service-type\n"
  46955. " (gitile-configuration\n"
  46956. " (repositories \"/srv/git\")\n"
  46957. " (base-git-url \"https://myweb.site/git\")\n"
  46958. " (index-title \"My git repositories\")\n"
  46959. " (intro '((p \"This is all my public work!\")))\n"
  46960. " (footer '((p \"This is the end\")))\n"
  46961. " (nginx-server-block\n"
  46962. " (nginx-server-configuration\n"
  46963. " (ssl-certificate\n"
  46964. " \"/etc/letsencrypt/live/myweb.site/fullchain.pem\")\n"
  46965. " (ssl-certificate-key\n"
  46966. " \"/etc/letsencrypt/live/myweb.site/privkey.pem\")\n"
  46967. " (listen '(\"443 ssl http2\" \"[::]:443 ssl http2\"))\n"
  46968. " (locations\n"
  46969. " (list\n"
  46970. " ;; Allow for https anonymous fetch on /git/ urls.\n"
  46971. " (git-http-nginx-location-configuration\n"
  46972. " (git-http-configuration\n"
  46973. " (uri-path \"/git/\")\n"
  46974. " (git-root \"/var/lib/gitolite/repositories\")))))))))\n"
  46975. msgstr ""
  46976. #. type: Plain text
  46977. #: guix-git/doc/guix.texi:31701
  46978. 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:"
  46979. msgstr ""
  46980. #. type: example
  46981. #: guix-git/doc/guix.texi:31705
  46982. #, no-wrap
  46983. msgid ""
  46984. "repo foo\n"
  46985. " R = daemon\n"
  46986. msgstr ""
  46987. #. type: Plain text
  46988. #: guix-git/doc/guix.texi:31711
  46989. 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}:"
  46990. msgstr ""
  46991. #. type: example
  46992. #: guix-git/doc/guix.texi:31718
  46993. #, no-wrap
  46994. msgid ""
  46995. "repo foo\n"
  46996. " R = daemon\n"
  46997. " desc = A long description, optionally with <i>HTML</i>, shown on the index page\n"
  46998. " config gitweb.name = The Foo Project\n"
  46999. " config gitweb.synopsis = A short description, shown on the main page of the project\n"
  47000. msgstr ""
  47001. #. type: Plain text
  47002. #: guix-git/doc/guix.texi:31724
  47003. 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:"
  47004. msgstr ""
  47005. #. type: lisp
  47006. #: guix-git/doc/guix.texi:31736
  47007. #, no-wrap
  47008. msgid ""
  47009. "(service gitolite-service-type\n"
  47010. " (gitolite-configuration\n"
  47011. " (admin-pubkey (local-file \"key.pub\"))\n"
  47012. " (rc-file\n"
  47013. " (gitolite-rc-file\n"
  47014. " (umask #o0027)\n"
  47015. " ;; Allow to set any configuration key\n"
  47016. " (git-config-keys \".*\")\n"
  47017. " ;; Allow any text as a valid configuration value\n"
  47018. " (unsafe-patt \"^$\")))))\n"
  47019. msgstr ""
  47020. #. type: deftp
  47021. #: guix-git/doc/guix.texi:31738
  47022. #, no-wrap
  47023. msgid "{Data Type} gitile-configuration"
  47024. msgstr ""
  47025. #. type: deftp
  47026. #: guix-git/doc/guix.texi:31740
  47027. msgid "Data type representing the configuration for @code{gitile-service-type}."
  47028. msgstr ""
  47029. #. type: item
  47030. #: guix-git/doc/guix.texi:31742
  47031. #, no-wrap
  47032. msgid "@code{package} (default: @var{gitile})"
  47033. msgstr ""
  47034. #. type: table
  47035. #: guix-git/doc/guix.texi:31744
  47036. msgid "Gitile package to use."
  47037. msgstr ""
  47038. #. type: table
  47039. #: guix-git/doc/guix.texi:31747
  47040. msgid "The host on which gitile is listening."
  47041. msgstr ""
  47042. #. type: item
  47043. #: guix-git/doc/guix.texi:31748
  47044. #, no-wrap
  47045. msgid "@code{port} (default: @code{8080})"
  47046. msgstr ""
  47047. #. type: table
  47048. #: guix-git/doc/guix.texi:31750
  47049. msgid "The port on which gitile is listening."
  47050. msgstr ""
  47051. #. type: item
  47052. #: guix-git/doc/guix.texi:31751
  47053. #, no-wrap
  47054. msgid "@code{database} (default: @code{\"/var/lib/gitile/gitile-db.sql\"})"
  47055. msgstr ""
  47056. #. type: table
  47057. #: guix-git/doc/guix.texi:31753
  47058. msgid "The location of the database."
  47059. msgstr ""
  47060. #. type: item
  47061. #: guix-git/doc/guix.texi:31754
  47062. #, no-wrap
  47063. msgid "@code{repositories} (default: @code{\"/var/lib/gitolite/repositories\"})"
  47064. msgstr ""
  47065. #. type: table
  47066. #: guix-git/doc/guix.texi:31758
  47067. 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."
  47068. msgstr ""
  47069. #. type: code{#1}
  47070. #: guix-git/doc/guix.texi:31759
  47071. #, no-wrap
  47072. msgid "base-git-url"
  47073. msgstr ""
  47074. #. type: table
  47075. #: guix-git/doc/guix.texi:31761
  47076. msgid "The base git url that will be used to show clone commands."
  47077. msgstr ""
  47078. #. type: item
  47079. #: guix-git/doc/guix.texi:31762
  47080. #, no-wrap
  47081. msgid "@code{index-title} (default: @code{\"Index\"})"
  47082. msgstr ""
  47083. #. type: table
  47084. #: guix-git/doc/guix.texi:31764
  47085. msgid "The page title for the index page that lists all the available repositories."
  47086. msgstr ""
  47087. #. type: item
  47088. #: guix-git/doc/guix.texi:31765
  47089. #, no-wrap
  47090. msgid "@code{intro} (default: @code{'()})"
  47091. msgstr ""
  47092. #. type: table
  47093. #: guix-git/doc/guix.texi:31768
  47094. msgid "The intro content, as a list of sxml expressions. This is shown above the list of repositories, on the index page."
  47095. msgstr ""
  47096. #. type: item
  47097. #: guix-git/doc/guix.texi:31769
  47098. #, no-wrap
  47099. msgid "@code{footer} (default: @code{'()})"
  47100. msgstr ""
  47101. #. type: table
  47102. #: guix-git/doc/guix.texi:31772
  47103. msgid "The footer content, as a list of sxml expressions. This is shown on every page served by Gitile."
  47104. msgstr ""
  47105. #. type: code{#1}
  47106. #: guix-git/doc/guix.texi:31773
  47107. #, no-wrap
  47108. msgid "nginx-server-block"
  47109. msgstr ""
  47110. #. type: table
  47111. #: guix-git/doc/guix.texi:31776
  47112. 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."
  47113. msgstr ""
  47114. #. type: table
  47115. #: guix-git/doc/guix.texi:31780
  47116. 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."
  47117. msgstr ""
  47118. #. type: subsubheading
  47119. #: guix-git/doc/guix.texi:31787
  47120. #, no-wrap
  47121. msgid "The Battle for Wesnoth Service"
  47122. msgstr ""
  47123. #. type: cindex
  47124. #: guix-git/doc/guix.texi:31788
  47125. #, no-wrap
  47126. msgid "wesnothd"
  47127. msgstr ""
  47128. #. type: Plain text
  47129. #: guix-git/doc/guix.texi:31792
  47130. 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)."
  47131. msgstr ""
  47132. #. type: defvar
  47133. #: guix-git/doc/guix.texi:31793
  47134. #, no-wrap
  47135. msgid "{Scheme Variable} wesnothd-service-type"
  47136. msgstr ""
  47137. #. type: defvar
  47138. #: guix-git/doc/guix.texi:31797
  47139. 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:"
  47140. msgstr ""
  47141. #. type: lisp
  47142. #: guix-git/doc/guix.texi:31800
  47143. #, no-wrap
  47144. msgid "(service wesnothd-service-type)\n"
  47145. msgstr ""
  47146. #. type: deftp
  47147. #: guix-git/doc/guix.texi:31803
  47148. #, no-wrap
  47149. msgid "{Data Type} wesnothd-configuration"
  47150. msgstr ""
  47151. #. type: deftp
  47152. #: guix-git/doc/guix.texi:31805
  47153. msgid "Data type representing the configuration of @command{wesnothd}."
  47154. msgstr ""
  47155. #. type: item
  47156. #: guix-git/doc/guix.texi:31807
  47157. #, no-wrap
  47158. msgid "@code{package} (default: @code{wesnoth-server})"
  47159. msgstr ""
  47160. #. type: table
  47161. #: guix-git/doc/guix.texi:31809
  47162. msgid "The wesnoth server package to use."
  47163. msgstr ""
  47164. #. type: item
  47165. #: guix-git/doc/guix.texi:31810
  47166. #, no-wrap
  47167. msgid "@code{port} (default: @code{15000})"
  47168. msgstr ""
  47169. #. type: table
  47170. #: guix-git/doc/guix.texi:31812
  47171. msgid "The port to bind the server to."
  47172. msgstr ""
  47173. #. type: cindex
  47174. #: guix-git/doc/guix.texi:31818
  47175. #, no-wrap
  47176. msgid "pam-mount"
  47177. msgstr ""
  47178. #. type: Plain text
  47179. #: guix-git/doc/guix.texi:31823
  47180. 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."
  47181. msgstr ""
  47182. #. type: defvar
  47183. #: guix-git/doc/guix.texi:31824
  47184. #, no-wrap
  47185. msgid "{Scheme Variable} pam-mount-service-type"
  47186. msgstr ""
  47187. #. type: defvar
  47188. #: guix-git/doc/guix.texi:31826
  47189. msgid "Service type for PAM Mount support."
  47190. msgstr ""
  47191. #. type: deftp
  47192. #: guix-git/doc/guix.texi:31828
  47193. #, no-wrap
  47194. msgid "{Data Type} pam-mount-configuration"
  47195. msgstr ""
  47196. #. type: deftp
  47197. #: guix-git/doc/guix.texi:31830
  47198. msgid "Data type representing the configuration of PAM Mount."
  47199. msgstr ""
  47200. #. type: code{#1}
  47201. #: guix-git/doc/guix.texi:31834
  47202. #, no-wrap
  47203. msgid "rules"
  47204. msgstr ""
  47205. #. type: table
  47206. #: guix-git/doc/guix.texi:31837
  47207. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  47208. msgstr ""
  47209. #. type: table
  47210. #: guix-git/doc/guix.texi:31841
  47211. 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:"
  47212. msgstr ""
  47213. #. type: lisp
  47214. #: guix-git/doc/guix.texi:31856
  47215. #, no-wrap
  47216. msgid ""
  47217. "`((debug (@@ (enable \"0\")))\n"
  47218. " (mntoptions (@@ (allow ,(string-join\n"
  47219. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  47220. " \"encryption\" \"fsck\" \"nonempty\"\n"
  47221. " \"allow_root\" \"allow_other\")\n"
  47222. " \",\"))))\n"
  47223. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  47224. " (logout (@@ (wait \"0\")\n"
  47225. " (hup \"0\")\n"
  47226. " (term \"no\")\n"
  47227. " (kill \"no\")))\n"
  47228. " (mkmountpoint (@@ (enable \"1\")\n"
  47229. " (remove \"true\"))))\n"
  47230. msgstr ""
  47231. #. type: table
  47232. #: guix-git/doc/guix.texi:31862
  47233. 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:"
  47234. msgstr ""
  47235. #. type: lisp
  47236. #: guix-git/doc/guix.texi:31887
  47237. #, no-wrap
  47238. msgid ""
  47239. "(define pam-mount-rules\n"
  47240. "`((debug (@@ (enable \"0\")))\n"
  47241. " (volume (@@ (user \"alice\")\n"
  47242. " (fstype \"crypt\")\n"
  47243. " (path \"/dev/sda2\")\n"
  47244. " (mountpoint \"/home/alice\")))\n"
  47245. " (volume (@@ (user \"bob\")\n"
  47246. " (fstype \"auto\")\n"
  47247. " (path \"/dev/sdb3\")\n"
  47248. " (mountpoint \"/home/bob/data\")\n"
  47249. " (options \"defaults,autodefrag,compress\")))\n"
  47250. " (mntoptions (@@ (allow ,(string-join\n"
  47251. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  47252. " \"encryption\" \"fsck\" \"nonempty\"\n"
  47253. " \"allow_root\" \"allow_other\")\n"
  47254. " \",\"))))\n"
  47255. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  47256. " (logout (@@ (wait \"0\")\n"
  47257. " (hup \"0\")\n"
  47258. " (term \"no\")\n"
  47259. " (kill \"no\")))\n"
  47260. " (mkmountpoint (@@ (enable \"1\")\n"
  47261. " (remove \"true\")))))\n"
  47262. "\n"
  47263. msgstr ""
  47264. #. type: lisp
  47265. #: guix-git/doc/guix.texi:31891
  47266. #, no-wrap
  47267. msgid ""
  47268. "(service pam-mount-service-type\n"
  47269. " (pam-mount-configuration\n"
  47270. " (rules pam-mount-rules)))\n"
  47271. msgstr ""
  47272. #. type: table
  47273. #: guix-git/doc/guix.texi:31895
  47274. 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}."
  47275. msgstr ""
  47276. #. type: subsubheading
  47277. #: guix-git/doc/guix.texi:31902
  47278. #, no-wrap
  47279. msgid "Guix Build Coordinator"
  47280. msgstr ""
  47281. #. type: Plain text
  47282. #: guix-git/doc/guix.texi:31908
  47283. 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."
  47284. msgstr ""
  47285. #. type: quotation
  47286. #: guix-git/doc/guix.texi:31913
  47287. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested."
  47288. msgstr ""
  47289. #. type: Plain text
  47290. #: guix-git/doc/guix.texi:31920
  47291. 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."
  47292. msgstr ""
  47293. #. type: Plain text
  47294. #: guix-git/doc/guix.texi:31924
  47295. 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."
  47296. msgstr ""
  47297. #. type: defvar
  47298. #: guix-git/doc/guix.texi:31925
  47299. #, no-wrap
  47300. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  47301. msgstr ""
  47302. #. type: defvar
  47303. #: guix-git/doc/guix.texi:31928
  47304. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  47305. msgstr ""
  47306. #. type: deftp
  47307. #: guix-git/doc/guix.texi:31930
  47308. #, no-wrap
  47309. msgid "{Data Type} guix-build-coordinator-configuration"
  47310. msgstr ""
  47311. #. type: deftp
  47312. #: guix-git/doc/guix.texi:31932
  47313. msgid "Data type representing the configuration of the Guix Build Coordinator."
  47314. msgstr ""
  47315. #. type: item
  47316. #: guix-git/doc/guix.texi:31934 guix-git/doc/guix.texi:31978
  47317. #: guix-git/doc/guix.texi:32104
  47318. #, no-wrap
  47319. msgid "@code{package} (default: @code{guix-build-coordinator})"
  47320. msgstr ""
  47321. #. type: table
  47322. #: guix-git/doc/guix.texi:31936 guix-git/doc/guix.texi:31980
  47323. #: guix-git/doc/guix.texi:32106
  47324. msgid "The Guix Build Coordinator package to use."
  47325. msgstr ""
  47326. #. type: item
  47327. #: guix-git/doc/guix.texi:31937
  47328. #, no-wrap
  47329. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  47330. msgstr ""
  47331. #. type: table
  47332. #: guix-git/doc/guix.texi:31939 guix-git/doc/guix.texi:31983
  47333. #: guix-git/doc/guix.texi:32109 guix-git/doc/guix.texi:32155
  47334. msgid "The system user to run the service as."
  47335. msgstr ""
  47336. #. type: item
  47337. #: guix-git/doc/guix.texi:31940
  47338. #, no-wrap
  47339. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  47340. msgstr ""
  47341. #. type: table
  47342. #: guix-git/doc/guix.texi:31942 guix-git/doc/guix.texi:32158
  47343. msgid "The system group to run the service as."
  47344. msgstr ""
  47345. #. type: item
  47346. #: guix-git/doc/guix.texi:31943
  47347. #, no-wrap
  47348. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  47349. msgstr ""
  47350. #. type: table
  47351. #: guix-git/doc/guix.texi:31945
  47352. msgid "The URI to use for the database."
  47353. msgstr ""
  47354. #. type: item
  47355. #: guix-git/doc/guix.texi:31946
  47356. #, no-wrap
  47357. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  47358. msgstr ""
  47359. #. type: table
  47360. #: guix-git/doc/guix.texi:31948
  47361. msgid "The URI describing how to listen to requests from agent processes."
  47362. msgstr ""
  47363. #. type: item
  47364. #: guix-git/doc/guix.texi:31949
  47365. #, no-wrap
  47366. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  47367. msgstr ""
  47368. #. type: table
  47369. #: guix-git/doc/guix.texi:31953
  47370. 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."
  47371. msgstr ""
  47372. #. type: item
  47373. #: guix-git/doc/guix.texi:31954
  47374. #, no-wrap
  47375. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  47376. msgstr ""
  47377. #. type: table
  47378. #: guix-git/doc/guix.texi:31958
  47379. 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."
  47380. msgstr ""
  47381. #. type: item
  47382. #: guix-git/doc/guix.texi:31959
  47383. #, no-wrap
  47384. msgid "@code{hooks} (default: @var{'()})"
  47385. msgstr ""
  47386. #. type: table
  47387. #: guix-git/doc/guix.texi:31962
  47388. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  47389. msgstr ""
  47390. #. type: item
  47391. #: guix-git/doc/guix.texi:31963
  47392. #, no-wrap
  47393. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  47394. msgstr ""
  47395. #. type: table
  47396. #: guix-git/doc/guix.texi:31965
  47397. msgid "The Guile package with which to run the Guix Build Coordinator."
  47398. msgstr ""
  47399. #. type: defvar
  47400. #: guix-git/doc/guix.texi:31969
  47401. #, no-wrap
  47402. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  47403. msgstr ""
  47404. #. type: defvar
  47405. #: guix-git/doc/guix.texi:31972
  47406. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  47407. msgstr ""
  47408. #. type: deftp
  47409. #: guix-git/doc/guix.texi:31974
  47410. #, no-wrap
  47411. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  47412. msgstr ""
  47413. #. type: deftp
  47414. #: guix-git/doc/guix.texi:31976
  47415. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  47416. msgstr ""
  47417. #. type: item
  47418. #: guix-git/doc/guix.texi:31981
  47419. #, no-wrap
  47420. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  47421. msgstr ""
  47422. #. type: item
  47423. #: guix-git/doc/guix.texi:31984
  47424. #, no-wrap
  47425. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  47426. msgstr ""
  47427. #. type: table
  47428. #: guix-git/doc/guix.texi:31986 guix-git/doc/guix.texi:32112
  47429. msgid "The URI to use when connecting to the coordinator."
  47430. msgstr ""
  47431. #. type: code{#1}
  47432. #: guix-git/doc/guix.texi:31987
  47433. #, no-wrap
  47434. msgid "authentication"
  47435. msgstr ""
  47436. #. type: table
  47437. #: guix-git/doc/guix.texi:31990
  47438. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  47439. msgstr ""
  47440. #. type: item
  47441. #: guix-git/doc/guix.texi:31991 guix-git/doc/guix.texi:32113
  47442. #, no-wrap
  47443. msgid "@code{systems} (default: @code{#f})"
  47444. msgstr ""
  47445. #. type: table
  47446. #: guix-git/doc/guix.texi:31994
  47447. 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."
  47448. msgstr ""
  47449. #. type: item
  47450. #: guix-git/doc/guix.texi:31995
  47451. #, no-wrap
  47452. msgid "@code{max-parallel-builds} (default: @code{1})"
  47453. msgstr ""
  47454. #. type: table
  47455. #: guix-git/doc/guix.texi:31997
  47456. msgid "The number of builds to perform in parallel."
  47457. msgstr ""
  47458. #. type: item
  47459. #: guix-git/doc/guix.texi:31998
  47460. #, no-wrap
  47461. msgid "@code{max-1min-load-average} (default: @code{#f})"
  47462. msgstr ""
  47463. #. type: table
  47464. #: guix-git/doc/guix.texi:32002
  47465. 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."
  47466. msgstr ""
  47467. #. type: table
  47468. #: guix-git/doc/guix.texi:32006
  47469. 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."
  47470. msgstr ""
  47471. #. type: item
  47472. #: guix-git/doc/guix.texi:32007
  47473. #, no-wrap
  47474. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  47475. msgstr ""
  47476. #. type: table
  47477. #: guix-git/doc/guix.texi:32010
  47478. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  47479. msgstr ""
  47480. #. type: item
  47481. #: guix-git/doc/guix.texi:32011
  47482. #, no-wrap
  47483. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  47484. msgstr ""
  47485. #. type: table
  47486. #: guix-git/doc/guix.texi:32014
  47487. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  47488. msgstr ""
  47489. #. type: deftp
  47490. #: guix-git/doc/guix.texi:32018
  47491. #, no-wrap
  47492. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  47493. msgstr ""
  47494. #. type: deftp
  47495. #: guix-git/doc/guix.texi:32021
  47496. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  47497. msgstr ""
  47498. #. type: table
  47499. #: guix-git/doc/guix.texi:32027 guix-git/doc/guix.texi:32043
  47500. 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."
  47501. msgstr ""
  47502. #. type: table
  47503. #: guix-git/doc/guix.texi:32030
  47504. msgid "The password to use when connecting to the coordinator."
  47505. msgstr ""
  47506. #. type: deftp
  47507. #: guix-git/doc/guix.texi:32034
  47508. #, no-wrap
  47509. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  47510. msgstr ""
  47511. #. type: deftp
  47512. #: guix-git/doc/guix.texi:32037
  47513. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  47514. msgstr ""
  47515. #. type: code{#1}
  47516. #: guix-git/doc/guix.texi:32044
  47517. #, no-wrap
  47518. msgid "password-file"
  47519. msgstr ""
  47520. #. type: table
  47521. #: guix-git/doc/guix.texi:32047
  47522. msgid "A file containing the password to use when connecting to the coordinator."
  47523. msgstr ""
  47524. #. type: deftp
  47525. #: guix-git/doc/guix.texi:32051
  47526. #, no-wrap
  47527. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  47528. msgstr ""
  47529. #. type: deftp
  47530. #: guix-git/doc/guix.texi:32054
  47531. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  47532. msgstr ""
  47533. #. type: code{#1}
  47534. #: guix-git/doc/guix.texi:32056 guix-git/doc/guix.texi:32073
  47535. #, fuzzy, no-wrap
  47536. msgid "agent-name"
  47537. msgstr "نام بسته"
  47538. #. type: table
  47539. #: guix-git/doc/guix.texi:32060 guix-git/doc/guix.texi:32077
  47540. 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."
  47541. msgstr ""
  47542. #. type: code{#1}
  47543. #: guix-git/doc/guix.texi:32061
  47544. #, no-wrap
  47545. msgid "token"
  47546. msgstr ""
  47547. #. type: table
  47548. #: guix-git/doc/guix.texi:32064
  47549. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  47550. msgstr ""
  47551. #. type: deftp
  47552. #: guix-git/doc/guix.texi:32068
  47553. #, no-wrap
  47554. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  47555. msgstr ""
  47556. #. type: deftp
  47557. #: guix-git/doc/guix.texi:32071
  47558. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  47559. msgstr ""
  47560. #. type: code{#1}
  47561. #: guix-git/doc/guix.texi:32078
  47562. #, no-wrap
  47563. msgid "token-file"
  47564. msgstr ""
  47565. #. type: table
  47566. #: guix-git/doc/guix.texi:32081
  47567. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  47568. msgstr ""
  47569. #. type: Plain text
  47570. #: guix-git/doc/guix.texi:32091
  47571. 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."
  47572. msgstr ""
  47573. #. type: defvar
  47574. #: guix-git/doc/guix.texi:32092
  47575. #, no-wrap
  47576. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  47577. msgstr ""
  47578. #. type: defvar
  47579. #: guix-git/doc/guix.texi:32097
  47580. 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."
  47581. msgstr ""
  47582. #. type: deftp
  47583. #: guix-git/doc/guix.texi:32099
  47584. #, no-wrap
  47585. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  47586. msgstr ""
  47587. #. type: deftp
  47588. #: guix-git/doc/guix.texi:32102
  47589. msgid "Data type representing the options to the queue builds from guix data service script."
  47590. msgstr ""
  47591. #. type: item
  47592. #: guix-git/doc/guix.texi:32107
  47593. #, no-wrap
  47594. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  47595. msgstr ""
  47596. #. type: item
  47597. #: guix-git/doc/guix.texi:32110
  47598. #, no-wrap
  47599. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  47600. msgstr ""
  47601. #. type: table
  47602. #: guix-git/doc/guix.texi:32115
  47603. msgid "The systems for which to fetch derivations to build."
  47604. msgstr ""
  47605. #. type: item
  47606. #: guix-git/doc/guix.texi:32116
  47607. #, no-wrap
  47608. msgid "@code{systems-and-targets} (default: @code{#f})"
  47609. msgstr ""
  47610. #. type: table
  47611. #: guix-git/doc/guix.texi:32119
  47612. msgid "An association list of system and target pairs for which to fetch derivations to build."
  47613. msgstr ""
  47614. #. type: item
  47615. #: guix-git/doc/guix.texi:32120
  47616. #, no-wrap
  47617. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  47618. msgstr ""
  47619. #. type: table
  47620. #: guix-git/doc/guix.texi:32123
  47621. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  47622. msgstr ""
  47623. #. type: item
  47624. #: guix-git/doc/guix.texi:32124
  47625. #, no-wrap
  47626. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  47627. msgstr ""
  47628. #. type: table
  47629. #: guix-git/doc/guix.texi:32127
  47630. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  47631. msgstr ""
  47632. #. type: subsubheading
  47633. #: guix-git/doc/guix.texi:32131
  47634. #, no-wrap
  47635. msgid "Guix Data Service"
  47636. msgstr ""
  47637. #. type: Plain text
  47638. #: guix-git/doc/guix.texi:32135
  47639. 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."
  47640. msgstr ""
  47641. #. type: Plain text
  47642. #: guix-git/doc/guix.texi:32138
  47643. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  47644. msgstr ""
  47645. #. type: defvar
  47646. #: guix-git/doc/guix.texi:32139
  47647. #, no-wrap
  47648. msgid "{Scheme Variable} guix-data-service-type"
  47649. msgstr ""
  47650. #. type: defvar
  47651. #: guix-git/doc/guix.texi:32144
  47652. 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."
  47653. msgstr ""
  47654. #. type: deftp
  47655. #: guix-git/doc/guix.texi:32146
  47656. #, no-wrap
  47657. msgid "{Data Type} guix-data-service-configuration"
  47658. msgstr ""
  47659. #. type: deftp
  47660. #: guix-git/doc/guix.texi:32148
  47661. msgid "Data type representing the configuration of the Guix Data Service."
  47662. msgstr ""
  47663. #. type: item
  47664. #: guix-git/doc/guix.texi:32150
  47665. #, no-wrap
  47666. msgid "@code{package} (default: @code{guix-data-service})"
  47667. msgstr ""
  47668. #. type: table
  47669. #: guix-git/doc/guix.texi:32152
  47670. msgid "The Guix Data Service package to use."
  47671. msgstr ""
  47672. #. type: item
  47673. #: guix-git/doc/guix.texi:32153
  47674. #, no-wrap
  47675. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  47676. msgstr ""
  47677. #. type: item
  47678. #: guix-git/doc/guix.texi:32156
  47679. #, no-wrap
  47680. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  47681. msgstr ""
  47682. #. type: item
  47683. #: guix-git/doc/guix.texi:32159
  47684. #, no-wrap
  47685. msgid "@code{port} (default: @code{8765})"
  47686. msgstr ""
  47687. #. type: table
  47688. #: guix-git/doc/guix.texi:32161
  47689. msgid "The port to bind the web service to."
  47690. msgstr ""
  47691. #. type: item
  47692. #: guix-git/doc/guix.texi:32162
  47693. #, no-wrap
  47694. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  47695. msgstr ""
  47696. #. type: table
  47697. #: guix-git/doc/guix.texi:32164
  47698. msgid "The host to bind the web service to."
  47699. msgstr ""
  47700. #. type: item
  47701. #: guix-git/doc/guix.texi:32165
  47702. #, no-wrap
  47703. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  47704. msgstr ""
  47705. #. type: table
  47706. #: guix-git/doc/guix.texi:32168
  47707. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  47708. msgstr ""
  47709. #. type: item
  47710. #: guix-git/doc/guix.texi:32169
  47711. #, no-wrap
  47712. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  47713. msgstr ""
  47714. #. type: table
  47715. #: guix-git/doc/guix.texi:32173
  47716. 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."
  47717. msgstr ""
  47718. #. type: item
  47719. #: guix-git/doc/guix.texi:32174
  47720. #, no-wrap
  47721. msgid "@code{extra-options} (default: @var{'()})"
  47722. msgstr ""
  47723. #. type: table
  47724. #: guix-git/doc/guix.texi:32176
  47725. msgid "Extra command line options for @code{guix-data-service}."
  47726. msgstr ""
  47727. #. type: item
  47728. #: guix-git/doc/guix.texi:32177
  47729. #, no-wrap
  47730. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  47731. msgstr ""
  47732. #. type: table
  47733. #: guix-git/doc/guix.texi:32179
  47734. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  47735. msgstr ""
  47736. #. type: cindex
  47737. #: guix-git/doc/guix.texi:32186
  47738. #, no-wrap
  47739. msgid "oom"
  47740. msgstr ""
  47741. #. type: cindex
  47742. #: guix-git/doc/guix.texi:32187
  47743. #, no-wrap
  47744. msgid "out of memory killer"
  47745. msgstr ""
  47746. #. type: cindex
  47747. #: guix-git/doc/guix.texi:32188
  47748. #, no-wrap
  47749. msgid "earlyoom"
  47750. msgstr ""
  47751. #. type: cindex
  47752. #: guix-git/doc/guix.texi:32189
  47753. #, no-wrap
  47754. msgid "early out of memory daemon"
  47755. msgstr ""
  47756. #. type: subsubheading
  47757. #: guix-git/doc/guix.texi:32190
  47758. #, no-wrap
  47759. msgid "Early OOM Service"
  47760. msgstr ""
  47761. #. type: Plain text
  47762. #: guix-git/doc/guix.texi:32197
  47763. 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."
  47764. msgstr ""
  47765. #. type: deffn
  47766. #: guix-git/doc/guix.texi:32198
  47767. #, no-wrap
  47768. msgid "{Scheme Variable} earlyoom-service-type"
  47769. msgstr ""
  47770. #. type: deffn
  47771. #: guix-git/doc/guix.texi:32203
  47772. 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:"
  47773. msgstr ""
  47774. #. type: lisp
  47775. #: guix-git/doc/guix.texi:32206
  47776. #, no-wrap
  47777. msgid "(service earlyoom-service-type)\n"
  47778. msgstr ""
  47779. #. type: deftp
  47780. #: guix-git/doc/guix.texi:32209
  47781. #, no-wrap
  47782. msgid "{Data Type} earlyoom-configuration"
  47783. msgstr ""
  47784. #. type: deftp
  47785. #: guix-git/doc/guix.texi:32211
  47786. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  47787. msgstr ""
  47788. #. type: item
  47789. #: guix-git/doc/guix.texi:32213
  47790. #, no-wrap
  47791. msgid "@code{earlyoom} (default: @var{earlyoom})"
  47792. msgstr ""
  47793. #. type: table
  47794. #: guix-git/doc/guix.texi:32215
  47795. msgid "The Earlyoom package to use."
  47796. msgstr ""
  47797. #. type: item
  47798. #: guix-git/doc/guix.texi:32216
  47799. #, no-wrap
  47800. msgid "@code{minimum-available-memory} (default: @code{10})"
  47801. msgstr ""
  47802. #. type: table
  47803. #: guix-git/doc/guix.texi:32218
  47804. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  47805. msgstr ""
  47806. #. type: item
  47807. #: guix-git/doc/guix.texi:32219
  47808. #, no-wrap
  47809. msgid "@code{minimum-free-swap} (default: @code{10})"
  47810. msgstr ""
  47811. #. type: table
  47812. #: guix-git/doc/guix.texi:32221
  47813. msgid "The threshold for the minimum free swap memory, in percentages."
  47814. msgstr ""
  47815. #. type: item
  47816. #: guix-git/doc/guix.texi:32222
  47817. #, no-wrap
  47818. msgid "@code{prefer-regexp} (default: @code{#f})"
  47819. msgstr ""
  47820. #. type: table
  47821. #: guix-git/doc/guix.texi:32225
  47822. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  47823. msgstr ""
  47824. #. type: item
  47825. #: guix-git/doc/guix.texi:32226
  47826. #, no-wrap
  47827. msgid "@code{avoid-regexp} (default: @code{#f})"
  47828. msgstr ""
  47829. #. type: table
  47830. #: guix-git/doc/guix.texi:32229
  47831. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  47832. msgstr ""
  47833. #. type: item
  47834. #: guix-git/doc/guix.texi:32230
  47835. #, no-wrap
  47836. msgid "@code{memory-report-interval} (default: @code{0})"
  47837. msgstr ""
  47838. #. type: table
  47839. #: guix-git/doc/guix.texi:32233
  47840. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  47841. msgstr ""
  47842. #. type: item
  47843. #: guix-git/doc/guix.texi:32234
  47844. #, no-wrap
  47845. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  47846. msgstr ""
  47847. #. type: table
  47848. #: guix-git/doc/guix.texi:32237
  47849. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  47850. msgstr ""
  47851. #. type: item
  47852. #: guix-git/doc/guix.texi:32238
  47853. #, no-wrap
  47854. msgid "@code{show-debug-messages?} (default: @code{#f})"
  47855. msgstr ""
  47856. #. type: table
  47857. #: guix-git/doc/guix.texi:32241
  47858. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  47859. msgstr ""
  47860. #. type: item
  47861. #: guix-git/doc/guix.texi:32242
  47862. #, no-wrap
  47863. msgid "@code{send-notification-command} (default: @code{#f})"
  47864. msgstr ""
  47865. #. type: table
  47866. #: guix-git/doc/guix.texi:32245
  47867. msgid "This can be used to provide a custom command used for sending notifications."
  47868. msgstr ""
  47869. #. type: cindex
  47870. #: guix-git/doc/guix.texi:32248
  47871. #, no-wrap
  47872. msgid "modprobe"
  47873. msgstr ""
  47874. #. type: cindex
  47875. #: guix-git/doc/guix.texi:32249
  47876. #, no-wrap
  47877. msgid "kernel module loader"
  47878. msgstr ""
  47879. #. type: subsubheading
  47880. #: guix-git/doc/guix.texi:32250
  47881. #, no-wrap
  47882. msgid "Kernel Module Loader Service"
  47883. msgstr ""
  47884. #. type: Plain text
  47885. #: guix-git/doc/guix.texi:32256
  47886. 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}."
  47887. msgstr ""
  47888. #. type: deffn
  47889. #: guix-git/doc/guix.texi:32257
  47890. #, no-wrap
  47891. msgid "{Scheme Variable} kernel-module-loader-service-type"
  47892. msgstr ""
  47893. #. type: deffn
  47894. #: guix-git/doc/guix.texi:32263
  47895. 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:"
  47896. msgstr ""
  47897. #. type: lisp
  47898. #: guix-git/doc/guix.texi:32268
  47899. #, no-wrap
  47900. msgid ""
  47901. "(use-modules (gnu) (gnu services))\n"
  47902. "(use-package-modules linux)\n"
  47903. "(use-service-modules linux)\n"
  47904. "\n"
  47905. msgstr ""
  47906. #. type: lisp
  47907. #: guix-git/doc/guix.texi:32272
  47908. #, no-wrap
  47909. msgid ""
  47910. "(define ddcci-config\n"
  47911. " (plain-file \"ddcci.conf\"\n"
  47912. " \"options ddcci dyndbg delay=120\"))\n"
  47913. "\n"
  47914. msgstr ""
  47915. #. type: lisp
  47916. #: guix-git/doc/guix.texi:32282
  47917. #, no-wrap
  47918. msgid ""
  47919. "(operating-system\n"
  47920. " ...\n"
  47921. " (services (cons* (service kernel-module-loader-service-type\n"
  47922. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  47923. " (simple-service 'ddcci-config etc-service-type\n"
  47924. " (list `(\"modprobe.d/ddcci.conf\"\n"
  47925. " ,ddcci-config)))\n"
  47926. " %base-services))\n"
  47927. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  47928. msgstr ""
  47929. #. type: cindex
  47930. #: guix-git/doc/guix.texi:32285
  47931. #, no-wrap
  47932. msgid "rasdaemon"
  47933. msgstr ""
  47934. #. type: cindex
  47935. #: guix-git/doc/guix.texi:32286
  47936. #, no-wrap
  47937. msgid "Platform Reliability, Availability and Serviceability daemon"
  47938. msgstr ""
  47939. #. type: subsubheading
  47940. #: guix-git/doc/guix.texi:32287
  47941. #, no-wrap
  47942. msgid "Rasdaemon Service"
  47943. msgstr ""
  47944. #. type: Plain text
  47945. #: guix-git/doc/guix.texi:32292
  47946. 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."
  47947. msgstr ""
  47948. #. type: Plain text
  47949. #: guix-git/doc/guix.texi:32295
  47950. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  47951. msgstr ""
  47952. #. type: Plain text
  47953. #: guix-git/doc/guix.texi:32298
  47954. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  47955. msgstr ""
  47956. #. type: item
  47957. #: guix-git/doc/guix.texi:32300
  47958. #, no-wrap
  47959. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  47960. msgstr ""
  47961. #. type: item
  47962. #: guix-git/doc/guix.texi:32301
  47963. #, no-wrap
  47964. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  47965. msgstr ""
  47966. #. type: itemize
  47967. #: guix-git/doc/guix.texi:32303
  47968. msgid "faults"
  47969. msgstr ""
  47970. #. type: Plain text
  47971. #: guix-git/doc/guix.texi:32307
  47972. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  47973. msgstr ""
  47974. #. type: item
  47975. #: guix-git/doc/guix.texi:32309
  47976. #, no-wrap
  47977. msgid "Generally measured as a percentage of downtime per a period of time, and"
  47978. msgstr ""
  47979. #. type: item
  47980. #: guix-git/doc/guix.texi:32310
  47981. #, no-wrap
  47982. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  47983. msgstr ""
  47984. #. type: Plain text
  47985. #: guix-git/doc/guix.texi:32315
  47986. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  47987. msgstr ""
  47988. #. type: item
  47989. #: guix-git/doc/guix.texi:32317
  47990. #, no-wrap
  47991. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  47992. msgstr ""
  47993. #. type: Plain text
  47994. #: guix-git/doc/guix.texi:32322
  47995. msgid "Among the monitoring measures, the most usual ones include:"
  47996. msgstr ""
  47997. #. type: item
  47998. #: guix-git/doc/guix.texi:32324
  47999. #, no-wrap
  48000. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  48001. msgstr ""
  48002. #. type: item
  48003. #: guix-git/doc/guix.texi:32325
  48004. #, no-wrap
  48005. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  48006. msgstr ""
  48007. #. type: item
  48008. #: guix-git/doc/guix.texi:32326
  48009. #, no-wrap
  48010. msgid "I/O – add CRC checksums for transferred data;"
  48011. msgstr ""
  48012. #. type: item
  48013. #: guix-git/doc/guix.texi:32327
  48014. #, no-wrap
  48015. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  48016. msgstr ""
  48017. #. type: itemize
  48018. #: guix-git/doc/guix.texi:32329
  48019. msgid "Analysis and Reporting Technology (SMART)."
  48020. msgstr ""
  48021. #. type: Plain text
  48022. #: guix-git/doc/guix.texi:32335
  48023. 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."
  48024. msgstr ""
  48025. #. type: Plain text
  48026. #: guix-git/doc/guix.texi:32339
  48027. 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}."
  48028. msgstr ""
  48029. #. type: defvr
  48030. #: guix-git/doc/guix.texi:32340
  48031. #, no-wrap
  48032. msgid "{Scheme Variable} rasdaemon-service-type"
  48033. msgstr ""
  48034. #. type: defvr
  48035. #: guix-git/doc/guix.texi:32343
  48036. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  48037. msgstr ""
  48038. #. type: lisp
  48039. #: guix-git/doc/guix.texi:32346
  48040. #, no-wrap
  48041. msgid "(service rasdaemon-service-type)\n"
  48042. msgstr ""
  48043. #. type: defvr
  48044. #: guix-git/doc/guix.texi:32350
  48045. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  48046. msgstr ""
  48047. #. type: deftp
  48048. #: guix-git/doc/guix.texi:32352
  48049. #, no-wrap
  48050. msgid "{Data Type} rasdaemon-configuration"
  48051. msgstr ""
  48052. #. type: deftp
  48053. #: guix-git/doc/guix.texi:32354
  48054. msgid "The data type representing the configuration of @command{rasdaemon}."
  48055. msgstr ""
  48056. #. type: item
  48057. #: guix-git/doc/guix.texi:32356
  48058. #, no-wrap
  48059. msgid "@code{record?} (default: @code{#f})"
  48060. msgstr ""
  48061. #. type: table
  48062. #: guix-git/doc/guix.texi:32361
  48063. 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}."
  48064. msgstr ""
  48065. #. type: cindex
  48066. #: guix-git/doc/guix.texi:32365
  48067. #, no-wrap
  48068. msgid "zram"
  48069. msgstr ""
  48070. #. type: cindex
  48071. #: guix-git/doc/guix.texi:32366
  48072. #, no-wrap
  48073. msgid "compressed swap"
  48074. msgstr ""
  48075. #. type: cindex
  48076. #: guix-git/doc/guix.texi:32367
  48077. #, no-wrap
  48078. msgid "Compressed RAM-based block devices"
  48079. msgstr ""
  48080. #. type: subsubheading
  48081. #: guix-git/doc/guix.texi:32368
  48082. #, no-wrap
  48083. msgid "Zram Device Service"
  48084. msgstr ""
  48085. #. type: Plain text
  48086. #: guix-git/doc/guix.texi:32374
  48087. 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."
  48088. msgstr ""
  48089. #. type: deffn
  48090. #: guix-git/doc/guix.texi:32375
  48091. #, no-wrap
  48092. msgid "{Scheme Variable} zram-device-service-type"
  48093. msgstr ""
  48094. #. type: deffn
  48095. #: guix-git/doc/guix.texi:32379
  48096. 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."
  48097. msgstr ""
  48098. #. type: deftp
  48099. #: guix-git/doc/guix.texi:32380
  48100. #, no-wrap
  48101. msgid "{Data Type} zram-device-configuration"
  48102. msgstr ""
  48103. #. type: deftp
  48104. #: guix-git/doc/guix.texi:32383
  48105. msgid "This is the data type representing the configuration for the zram-device service."
  48106. msgstr ""
  48107. #. type: item
  48108. #: guix-git/doc/guix.texi:32385
  48109. #, no-wrap
  48110. msgid "@code{size} (default @code{\"1G\"})"
  48111. msgstr ""
  48112. #. type: table
  48113. #: guix-git/doc/guix.texi:32389
  48114. 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}."
  48115. msgstr ""
  48116. #. type: item
  48117. #: guix-git/doc/guix.texi:32389
  48118. #, no-wrap
  48119. msgid "@code{compression-algorithm} (default @code{'lzo})"
  48120. msgstr ""
  48121. #. type: table
  48122. #: guix-git/doc/guix.texi:32393
  48123. 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}."
  48124. msgstr ""
  48125. #. type: item
  48126. #: guix-git/doc/guix.texi:32393
  48127. #, no-wrap
  48128. msgid "@code{memory-limit} (default @code{0})"
  48129. msgstr ""
  48130. #. type: table
  48131. #: guix-git/doc/guix.texi:32400
  48132. 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\"}."
  48133. msgstr ""
  48134. #. type: item
  48135. #: guix-git/doc/guix.texi:32400
  48136. #, no-wrap
  48137. msgid "@code{priority} (default @code{-1})"
  48138. msgstr ""
  48139. #. type: table
  48140. #: guix-git/doc/guix.texi:32405
  48141. 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."
  48142. msgstr ""
  48143. #. type: defvr
  48144. #: guix-git/doc/guix.texi:32413
  48145. #, no-wrap
  48146. msgid "{Scheme Variable} hurd-console-service-type"
  48147. msgstr ""
  48148. #. type: defvr
  48149. #: guix-git/doc/guix.texi:32415
  48150. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  48151. msgstr ""
  48152. #. type: defvr
  48153. #: guix-git/doc/guix.texi:32417
  48154. msgid "The service's value is a @code{hurd-console-configuration} record."
  48155. msgstr ""
  48156. #. type: deftp
  48157. #: guix-git/doc/guix.texi:32419
  48158. #, no-wrap
  48159. msgid "{Data Type} hurd-console-configuration"
  48160. msgstr ""
  48161. #. type: deftp
  48162. #: guix-git/doc/guix.texi:32422
  48163. msgid "This is the data type representing the configuration for the hurd-console-service."
  48164. msgstr ""
  48165. #. type: item
  48166. #: guix-git/doc/guix.texi:32424 guix-git/doc/guix.texi:32440
  48167. #, no-wrap
  48168. msgid "@code{hurd} (default: @var{hurd})"
  48169. msgstr ""
  48170. #. type: table
  48171. #: guix-git/doc/guix.texi:32426 guix-git/doc/guix.texi:32442
  48172. msgid "The Hurd package to use."
  48173. msgstr ""
  48174. #. type: defvr
  48175. #: guix-git/doc/guix.texi:32429
  48176. #, no-wrap
  48177. msgid "{Scheme Variable} hurd-getty-service-type"
  48178. msgstr ""
  48179. #. type: defvr
  48180. #: guix-git/doc/guix.texi:32431
  48181. msgid "This service starts a tty using the Hurd @code{getty} program."
  48182. msgstr ""
  48183. #. type: defvr
  48184. #: guix-git/doc/guix.texi:32433
  48185. msgid "The service's value is a @code{hurd-getty-configuration} record."
  48186. msgstr ""
  48187. #. type: deftp
  48188. #: guix-git/doc/guix.texi:32435
  48189. #, no-wrap
  48190. msgid "{Data Type} hurd-getty-configuration"
  48191. msgstr ""
  48192. #. type: deftp
  48193. #: guix-git/doc/guix.texi:32438
  48194. msgid "This is the data type representing the configuration for the hurd-getty-service."
  48195. msgstr ""
  48196. #. type: table
  48197. #: guix-git/doc/guix.texi:32445
  48198. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  48199. msgstr ""
  48200. #. type: item
  48201. #: guix-git/doc/guix.texi:32446
  48202. #, no-wrap
  48203. msgid "@code{baud-rate} (default: @code{38400})"
  48204. msgstr ""
  48205. #. type: table
  48206. #: guix-git/doc/guix.texi:32448
  48207. msgid "An integer specifying the baud rate of the tty."
  48208. msgstr ""
  48209. #. type: cindex
  48210. #: guix-git/doc/guix.texi:32455
  48211. #, no-wrap
  48212. msgid "fingerprint"
  48213. msgstr ""
  48214. #. type: subsubheading
  48215. #: guix-git/doc/guix.texi:32456
  48216. #, no-wrap
  48217. msgid "Fingerprint Service"
  48218. msgstr ""
  48219. #. type: Plain text
  48220. #: guix-git/doc/guix.texi:32460
  48221. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  48222. msgstr ""
  48223. #. type: defvr
  48224. #: guix-git/doc/guix.texi:32461
  48225. #, no-wrap
  48226. msgid "{Scheme Variable} fprintd-service-type"
  48227. msgstr ""
  48228. #. type: defvr
  48229. #: guix-git/doc/guix.texi:32464
  48230. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  48231. msgstr ""
  48232. #. type: lisp
  48233. #: guix-git/doc/guix.texi:32467
  48234. #, no-wrap
  48235. msgid "(service fprintd-service-type)\n"
  48236. msgstr ""
  48237. #. type: cindex
  48238. #: guix-git/doc/guix.texi:32470
  48239. #, no-wrap
  48240. msgid "sysctl"
  48241. msgstr ""
  48242. #. type: subsubheading
  48243. #: guix-git/doc/guix.texi:32471
  48244. #, no-wrap
  48245. msgid "System Control Service"
  48246. msgstr ""
  48247. #. type: Plain text
  48248. #: guix-git/doc/guix.texi:32475
  48249. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  48250. msgstr ""
  48251. #. type: defvr
  48252. #: guix-git/doc/guix.texi:32476
  48253. #, no-wrap
  48254. msgid "{Scheme Variable} sysctl-service-type"
  48255. msgstr ""
  48256. #. type: defvr
  48257. #: guix-git/doc/guix.texi:32480
  48258. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  48259. msgstr ""
  48260. #. type: lisp
  48261. #: guix-git/doc/guix.texi:32485
  48262. #, no-wrap
  48263. msgid ""
  48264. "(service sysctl-service-type\n"
  48265. " (sysctl-configuration\n"
  48266. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  48267. msgstr ""
  48268. #. type: defvr
  48269. #: guix-git/doc/guix.texi:32492
  48270. 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}})."
  48271. msgstr ""
  48272. #. type: lisp
  48273. #: guix-git/doc/guix.texi:32499
  48274. #, no-wrap
  48275. msgid ""
  48276. "(modify-services %base-services\n"
  48277. " (sysctl-service-type config =>\n"
  48278. " (sysctl-configuration\n"
  48279. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  48280. " %default-sysctl-settings)))))\n"
  48281. msgstr ""
  48282. #. type: deftp
  48283. #: guix-git/doc/guix.texi:32503
  48284. #, no-wrap
  48285. msgid "{Data Type} sysctl-configuration"
  48286. msgstr ""
  48287. #. type: deftp
  48288. #: guix-git/doc/guix.texi:32505
  48289. msgid "The data type representing the configuration of @command{sysctl}."
  48290. msgstr ""
  48291. #. type: item
  48292. #: guix-git/doc/guix.texi:32507
  48293. #, no-wrap
  48294. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  48295. msgstr ""
  48296. #. type: table
  48297. #: guix-git/doc/guix.texi:32509
  48298. msgid "The @command{sysctl} executable to use."
  48299. msgstr ""
  48300. #. type: item
  48301. #: guix-git/doc/guix.texi:32510
  48302. #, no-wrap
  48303. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  48304. msgstr ""
  48305. #. type: table
  48306. #: guix-git/doc/guix.texi:32512
  48307. msgid "An association list specifies kernel parameters and their values."
  48308. msgstr ""
  48309. #. type: defvr
  48310. #: guix-git/doc/guix.texi:32515
  48311. #, no-wrap
  48312. msgid "{Scheme Variable} %default-sysctl-settings"
  48313. msgstr ""
  48314. #. type: defvr
  48315. #: guix-git/doc/guix.texi:32518
  48316. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  48317. msgstr ""
  48318. #. type: cindex
  48319. #: guix-git/doc/guix.texi:32520
  48320. #, no-wrap
  48321. msgid "pcscd"
  48322. msgstr ""
  48323. #. type: subsubheading
  48324. #: guix-git/doc/guix.texi:32521
  48325. #, no-wrap
  48326. msgid "PC/SC Smart Card Daemon Service"
  48327. msgstr ""
  48328. #. type: Plain text
  48329. #: guix-git/doc/guix.texi:32528
  48330. 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."
  48331. msgstr ""
  48332. #. type: defvr
  48333. #: guix-git/doc/guix.texi:32529
  48334. #, no-wrap
  48335. msgid "{Scheme Variable} pcscd-service-type"
  48336. msgstr ""
  48337. #. type: defvr
  48338. #: guix-git/doc/guix.texi:32533
  48339. 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:"
  48340. msgstr ""
  48341. #. type: lisp
  48342. #: guix-git/doc/guix.texi:32536
  48343. #, no-wrap
  48344. msgid "(service pcscd-service-type)\n"
  48345. msgstr ""
  48346. #. type: deftp
  48347. #: guix-git/doc/guix.texi:32539
  48348. #, no-wrap
  48349. msgid "{Data Type} pcscd-configuration"
  48350. msgstr ""
  48351. #. type: deftp
  48352. #: guix-git/doc/guix.texi:32541
  48353. msgid "The data type representing the configuration of @command{pcscd}."
  48354. msgstr ""
  48355. #. type: item
  48356. #: guix-git/doc/guix.texi:32543
  48357. #, no-wrap
  48358. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  48359. msgstr ""
  48360. #. type: table
  48361. #: guix-git/doc/guix.texi:32545
  48362. msgid "The pcsc-lite package that provides pcscd."
  48363. msgstr ""
  48364. #. type: item
  48365. #: guix-git/doc/guix.texi:32545
  48366. #, no-wrap
  48367. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  48368. msgstr ""
  48369. #. type: table
  48370. #: guix-git/doc/guix.texi:32548
  48371. 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."
  48372. msgstr ""
  48373. #. type: cindex
  48374. #: guix-git/doc/guix.texi:32551
  48375. #, no-wrap
  48376. msgid "lirc"
  48377. msgstr ""
  48378. #. type: subsubheading
  48379. #: guix-git/doc/guix.texi:32552
  48380. #, no-wrap
  48381. msgid "Lirc Service"
  48382. msgstr ""
  48383. #. type: Plain text
  48384. #: guix-git/doc/guix.texi:32555
  48385. msgid "The @code{(gnu services lirc)} module provides the following service."
  48386. msgstr ""
  48387. #. type: deffn
  48388. #: guix-git/doc/guix.texi:32556
  48389. #, no-wrap
  48390. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  48391. msgstr ""
  48392. #. type: deffn
  48393. #: guix-git/doc/guix.texi:32561
  48394. 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."
  48395. msgstr ""
  48396. #. type: deffn
  48397. #: guix-git/doc/guix.texi:32565
  48398. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  48399. msgstr ""
  48400. #. type: deffn
  48401. #: guix-git/doc/guix.texi:32568
  48402. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  48403. msgstr ""
  48404. #. type: cindex
  48405. #: guix-git/doc/guix.texi:32570
  48406. #, no-wrap
  48407. msgid "spice"
  48408. msgstr ""
  48409. #. type: subsubheading
  48410. #: guix-git/doc/guix.texi:32571
  48411. #, no-wrap
  48412. msgid "Spice Service"
  48413. msgstr ""
  48414. #. type: Plain text
  48415. #: guix-git/doc/guix.texi:32574
  48416. msgid "The @code{(gnu services spice)} module provides the following service."
  48417. msgstr ""
  48418. #. type: deffn
  48419. #: guix-git/doc/guix.texi:32575
  48420. #, no-wrap
  48421. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  48422. msgstr ""
  48423. #. type: deffn
  48424. #: guix-git/doc/guix.texi:32579
  48425. 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."
  48426. msgstr ""
  48427. #. type: cindex
  48428. #: guix-git/doc/guix.texi:32581
  48429. #, no-wrap
  48430. msgid "inputattach"
  48431. msgstr ""
  48432. #. type: subsubheading
  48433. #: guix-git/doc/guix.texi:32582
  48434. #, no-wrap
  48435. msgid "inputattach Service"
  48436. msgstr ""
  48437. #. type: cindex
  48438. #: guix-git/doc/guix.texi:32584
  48439. #, no-wrap
  48440. msgid "tablet input, for Xorg"
  48441. msgstr ""
  48442. #. type: cindex
  48443. #: guix-git/doc/guix.texi:32585
  48444. #, no-wrap
  48445. msgid "touchscreen input, for Xorg"
  48446. msgstr ""
  48447. #. type: Plain text
  48448. #: guix-git/doc/guix.texi:32589
  48449. 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."
  48450. msgstr ""
  48451. #. type: deffn
  48452. #: guix-git/doc/guix.texi:32590
  48453. #, no-wrap
  48454. msgid "{Scheme Variable} inputattach-service-type"
  48455. msgstr ""
  48456. #. type: deffn
  48457. #: guix-git/doc/guix.texi:32593
  48458. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  48459. msgstr ""
  48460. #. type: deftp
  48461. #: guix-git/doc/guix.texi:32595
  48462. #, no-wrap
  48463. msgid "{Data Type} inputattach-configuration"
  48464. msgstr ""
  48465. #. type: item
  48466. #: guix-git/doc/guix.texi:32597
  48467. #, no-wrap
  48468. msgid "@code{device-type} (default: @code{\"wacom\"})"
  48469. msgstr ""
  48470. #. type: table
  48471. #: guix-git/doc/guix.texi:32600
  48472. 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."
  48473. msgstr ""
  48474. #. type: item
  48475. #: guix-git/doc/guix.texi:32601
  48476. #, no-wrap
  48477. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  48478. msgstr ""
  48479. #. type: table
  48480. #: guix-git/doc/guix.texi:32603
  48481. msgid "The device file to connect to the device."
  48482. msgstr ""
  48483. #. type: table
  48484. #: guix-git/doc/guix.texi:32607
  48485. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  48486. msgstr ""
  48487. #. type: item
  48488. #: guix-git/doc/guix.texi:32608
  48489. #, no-wrap
  48490. msgid "@code{log-file} (default: @code{#f})"
  48491. msgstr ""
  48492. #. type: table
  48493. #: guix-git/doc/guix.texi:32610
  48494. msgid "If true, this must be the name of a file to log messages to."
  48495. msgstr ""
  48496. #. type: subsubheading
  48497. #: guix-git/doc/guix.texi:32613
  48498. #, no-wrap
  48499. msgid "Dictionary Service"
  48500. msgstr ""
  48501. #. type: cindex
  48502. #: guix-git/doc/guix.texi:32614
  48503. #, no-wrap
  48504. msgid "dictionary"
  48505. msgstr ""
  48506. #. type: Plain text
  48507. #: guix-git/doc/guix.texi:32616
  48508. msgid "The @code{(gnu services dict)} module provides the following service:"
  48509. msgstr ""
  48510. #. type: defvr
  48511. #: guix-git/doc/guix.texi:32617
  48512. #, no-wrap
  48513. msgid "{Scheme Variable} dicod-service-type"
  48514. msgstr ""
  48515. #. type: defvr
  48516. #: guix-git/doc/guix.texi:32620
  48517. 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})."
  48518. msgstr ""
  48519. #. type: deffn
  48520. #: guix-git/doc/guix.texi:32622
  48521. #, no-wrap
  48522. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  48523. msgstr ""
  48524. #. type: deffn
  48525. #: guix-git/doc/guix.texi:32625
  48526. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  48527. msgstr ""
  48528. #. type: deffn
  48529. #: guix-git/doc/guix.texi:32629
  48530. 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."
  48531. msgstr ""
  48532. #. type: deffn
  48533. #: guix-git/doc/guix.texi:32633
  48534. 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})."
  48535. msgstr ""
  48536. #. type: deftp
  48537. #: guix-git/doc/guix.texi:32635
  48538. #, no-wrap
  48539. msgid "{Data Type} dicod-configuration"
  48540. msgstr ""
  48541. #. type: deftp
  48542. #: guix-git/doc/guix.texi:32637
  48543. msgid "Data type representing the configuration of dicod."
  48544. msgstr ""
  48545. #. type: item
  48546. #: guix-git/doc/guix.texi:32639
  48547. #, no-wrap
  48548. msgid "@code{dico} (default: @var{dico})"
  48549. msgstr ""
  48550. #. type: table
  48551. #: guix-git/doc/guix.texi:32641
  48552. msgid "Package object of the GNU Dico dictionary server."
  48553. msgstr ""
  48554. #. type: item
  48555. #: guix-git/doc/guix.texi:32642
  48556. #, no-wrap
  48557. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  48558. msgstr ""
  48559. #. type: table
  48560. #: guix-git/doc/guix.texi:32646
  48561. 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})."
  48562. msgstr ""
  48563. #. type: item
  48564. #: guix-git/doc/guix.texi:32647
  48565. #, no-wrap
  48566. msgid "@code{handlers} (default: @var{'()})"
  48567. msgstr ""
  48568. #. type: table
  48569. #: guix-git/doc/guix.texi:32649
  48570. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  48571. msgstr ""
  48572. #. type: item
  48573. #: guix-git/doc/guix.texi:32650
  48574. #, no-wrap
  48575. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  48576. msgstr ""
  48577. #. type: table
  48578. #: guix-git/doc/guix.texi:32652
  48579. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  48580. msgstr ""
  48581. #. type: deftp
  48582. #: guix-git/doc/guix.texi:32655
  48583. #, no-wrap
  48584. msgid "{Data Type} dicod-handler"
  48585. msgstr ""
  48586. #. type: deftp
  48587. #: guix-git/doc/guix.texi:32657
  48588. msgid "Data type representing a dictionary handler (module instance)."
  48589. msgstr ""
  48590. #. type: table
  48591. #: guix-git/doc/guix.texi:32661
  48592. msgid "Name of the handler (module instance)."
  48593. msgstr ""
  48594. #. type: item
  48595. #: guix-git/doc/guix.texi:32662
  48596. #, no-wrap
  48597. msgid "@code{module} (default: @var{#f})"
  48598. msgstr ""
  48599. #. type: table
  48600. #: guix-git/doc/guix.texi:32666
  48601. 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})."
  48602. msgstr ""
  48603. #. type: table
  48604. #: guix-git/doc/guix.texi:32669
  48605. msgid "List of strings or gexps representing the arguments for the module handler"
  48606. msgstr ""
  48607. #. type: deftp
  48608. #: guix-git/doc/guix.texi:32672
  48609. #, no-wrap
  48610. msgid "{Data Type} dicod-database"
  48611. msgstr ""
  48612. #. type: deftp
  48613. #: guix-git/doc/guix.texi:32674
  48614. msgid "Data type representing a dictionary database."
  48615. msgstr ""
  48616. #. type: table
  48617. #: guix-git/doc/guix.texi:32678
  48618. msgid "Name of the database, will be used in DICT commands."
  48619. msgstr ""
  48620. #. type: code{#1}
  48621. #: guix-git/doc/guix.texi:32679
  48622. #, no-wrap
  48623. msgid "handler"
  48624. msgstr ""
  48625. #. type: table
  48626. #: guix-git/doc/guix.texi:32682
  48627. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  48628. msgstr ""
  48629. #. type: item
  48630. #: guix-git/doc/guix.texi:32683
  48631. #, no-wrap
  48632. msgid "@code{complex?} (default: @var{#f})"
  48633. msgstr ""
  48634. #. type: table
  48635. #: guix-git/doc/guix.texi:32686
  48636. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  48637. msgstr ""
  48638. #. type: table
  48639. #: guix-git/doc/guix.texi:32690
  48640. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  48641. msgstr ""
  48642. #. type: defvr
  48643. #: guix-git/doc/guix.texi:32693
  48644. #, no-wrap
  48645. msgid "{Scheme Variable} %dicod-database:gcide"
  48646. msgstr ""
  48647. #. type: defvr
  48648. #: guix-git/doc/guix.texi:32696
  48649. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  48650. msgstr ""
  48651. #. type: Plain text
  48652. #: guix-git/doc/guix.texi:32699
  48653. msgid "The following is an example @code{dicod-service} configuration."
  48654. msgstr ""
  48655. #. type: lisp
  48656. #: guix-git/doc/guix.texi:32714
  48657. #, no-wrap
  48658. msgid ""
  48659. "(dicod-service #:config\n"
  48660. " (dicod-configuration\n"
  48661. " (handlers (list (dicod-handler\n"
  48662. " (name \"wordnet\")\n"
  48663. " (module \"dictorg\")\n"
  48664. " (options\n"
  48665. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  48666. " (databases (list (dicod-database\n"
  48667. " (name \"wordnet\")\n"
  48668. " (complex? #t)\n"
  48669. " (handler \"wordnet\")\n"
  48670. " (options '(\"database=wn\")))\n"
  48671. " %dicod-database:gcide))))\n"
  48672. msgstr ""
  48673. #. type: cindex
  48674. #: guix-git/doc/guix.texi:32716
  48675. #, no-wrap
  48676. msgid "Docker"
  48677. msgstr ""
  48678. #. type: subsubheading
  48679. #: guix-git/doc/guix.texi:32717
  48680. #, no-wrap
  48681. msgid "Docker Service"
  48682. msgstr ""
  48683. #. type: Plain text
  48684. #: guix-git/doc/guix.texi:32720
  48685. msgid "The @code{(gnu services docker)} module provides the following services."
  48686. msgstr ""
  48687. #. type: defvr
  48688. #: guix-git/doc/guix.texi:32721
  48689. #, no-wrap
  48690. msgid "{Scheme Variable} docker-service-type"
  48691. msgstr ""
  48692. #. type: defvr
  48693. #: guix-git/doc/guix.texi:32726
  48694. 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."
  48695. msgstr ""
  48696. #. type: deftp
  48697. #: guix-git/doc/guix.texi:32729
  48698. #, no-wrap
  48699. msgid "{Data Type} docker-configuration"
  48700. msgstr ""
  48701. #. type: deftp
  48702. #: guix-git/doc/guix.texi:32731
  48703. msgid "This is the data type representing the configuration of Docker and Containerd."
  48704. msgstr ""
  48705. #. type: item
  48706. #: guix-git/doc/guix.texi:32734
  48707. #, no-wrap
  48708. msgid "@code{docker} (default: @code{docker})"
  48709. msgstr ""
  48710. #. type: table
  48711. #: guix-git/doc/guix.texi:32736
  48712. msgid "The Docker daemon package to use."
  48713. msgstr ""
  48714. #. type: item
  48715. #: guix-git/doc/guix.texi:32737
  48716. #, no-wrap
  48717. msgid "@code{docker-cli} (default: @code{docker-cli})"
  48718. msgstr ""
  48719. #. type: table
  48720. #: guix-git/doc/guix.texi:32739
  48721. msgid "The Docker client package to use."
  48722. msgstr ""
  48723. #. type: item
  48724. #: guix-git/doc/guix.texi:32740
  48725. #, no-wrap
  48726. msgid "@code{containerd} (default: @var{containerd})"
  48727. msgstr ""
  48728. #. type: table
  48729. #: guix-git/doc/guix.texi:32742
  48730. msgid "The Containerd package to use."
  48731. msgstr ""
  48732. #. type: item
  48733. #: guix-git/doc/guix.texi:32743
  48734. #, no-wrap
  48735. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  48736. msgstr ""
  48737. #. type: table
  48738. #: guix-git/doc/guix.texi:32745
  48739. msgid "The Docker user-land networking proxy package to use."
  48740. msgstr ""
  48741. #. type: item
  48742. #: guix-git/doc/guix.texi:32746
  48743. #, no-wrap
  48744. msgid "@code{enable-proxy?} (default @code{#t})"
  48745. msgstr ""
  48746. #. type: table
  48747. #: guix-git/doc/guix.texi:32748
  48748. msgid "Enable or disable the use of the Docker user-land networking proxy."
  48749. msgstr ""
  48750. #. type: item
  48751. #: guix-git/doc/guix.texi:32749
  48752. #, no-wrap
  48753. msgid "@code{debug?} (default @code{#f})"
  48754. msgstr ""
  48755. #. type: table
  48756. #: guix-git/doc/guix.texi:32751
  48757. msgid "Enable or disable debug output."
  48758. msgstr ""
  48759. #. type: item
  48760. #: guix-git/doc/guix.texi:32752
  48761. #, no-wrap
  48762. msgid "@code{enable-iptables?} (default @code{#t})"
  48763. msgstr ""
  48764. #. type: table
  48765. #: guix-git/doc/guix.texi:32754
  48766. msgid "Enable or disable the addition of iptables rules."
  48767. msgstr ""
  48768. #. type: cindex
  48769. #: guix-git/doc/guix.texi:32758
  48770. #, no-wrap
  48771. msgid "Singularity, container service"
  48772. msgstr ""
  48773. #. type: defvr
  48774. #: guix-git/doc/guix.texi:32759
  48775. #, no-wrap
  48776. msgid "{Scheme Variable} singularity-service-type"
  48777. msgstr ""
  48778. #. type: defvr
  48779. #: guix-git/doc/guix.texi:32764
  48780. 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."
  48781. msgstr ""
  48782. #. type: defvr
  48783. #: guix-git/doc/guix.texi:32768
  48784. 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."
  48785. msgstr ""
  48786. #. type: cindex
  48787. #: guix-git/doc/guix.texi:32770
  48788. #, no-wrap
  48789. msgid "Audit"
  48790. msgstr ""
  48791. #. type: subsubheading
  48792. #: guix-git/doc/guix.texi:32771
  48793. #, no-wrap
  48794. msgid "Auditd Service"
  48795. msgstr ""
  48796. #. type: Plain text
  48797. #: guix-git/doc/guix.texi:32774
  48798. msgid "The @code{(gnu services auditd)} module provides the following service."
  48799. msgstr ""
  48800. #. type: defvr
  48801. #: guix-git/doc/guix.texi:32775
  48802. #, no-wrap
  48803. msgid "{Scheme Variable} auditd-service-type"
  48804. msgstr ""
  48805. #. type: defvr
  48806. #: guix-git/doc/guix.texi:32780
  48807. 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."
  48808. msgstr ""
  48809. #. type: defvr
  48810. #: guix-git/doc/guix.texi:32782
  48811. msgid "Examples of things that can be tracked:"
  48812. msgstr ""
  48813. #. type: enumerate
  48814. #: guix-git/doc/guix.texi:32786
  48815. msgid "File accesses"
  48816. msgstr ""
  48817. #. type: enumerate
  48818. #: guix-git/doc/guix.texi:32788
  48819. msgid "System calls"
  48820. msgstr ""
  48821. #. type: enumerate
  48822. #: guix-git/doc/guix.texi:32790
  48823. msgid "Invoked commands"
  48824. msgstr ""
  48825. #. type: enumerate
  48826. #: guix-git/doc/guix.texi:32792
  48827. msgid "Failed login attempts"
  48828. msgstr ""
  48829. #. type: enumerate
  48830. #: guix-git/doc/guix.texi:32794
  48831. msgid "Firewall filtering"
  48832. msgstr ""
  48833. #. type: enumerate
  48834. #: guix-git/doc/guix.texi:32796
  48835. msgid "Network access"
  48836. msgstr ""
  48837. #. type: defvr
  48838. #: guix-git/doc/guix.texi:32807
  48839. 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}."
  48840. msgstr ""
  48841. #. type: deftp
  48842. #: guix-git/doc/guix.texi:32810
  48843. #, no-wrap
  48844. msgid "{Data Type} auditd-configuration"
  48845. msgstr ""
  48846. #. type: deftp
  48847. #: guix-git/doc/guix.texi:32812
  48848. msgid "This is the data type representing the configuration of auditd."
  48849. msgstr ""
  48850. #. type: item
  48851. #: guix-git/doc/guix.texi:32815
  48852. #, no-wrap
  48853. msgid "@code{audit} (default: @code{audit})"
  48854. msgstr ""
  48855. #. type: table
  48856. #: guix-git/doc/guix.texi:32817
  48857. msgid "The audit package to use."
  48858. msgstr ""
  48859. #. type: item
  48860. #: guix-git/doc/guix.texi:32818
  48861. #, no-wrap
  48862. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  48863. msgstr ""
  48864. #. type: table
  48865. #: guix-git/doc/guix.texi:32822
  48866. 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."
  48867. msgstr ""
  48868. #. type: cindex
  48869. #: guix-git/doc/guix.texi:32826
  48870. #, no-wrap
  48871. msgid "rshiny"
  48872. msgstr ""
  48873. #. type: subsubheading
  48874. #: guix-git/doc/guix.texi:32827
  48875. #, no-wrap
  48876. msgid "R-Shiny service"
  48877. msgstr ""
  48878. #. type: Plain text
  48879. #: guix-git/doc/guix.texi:32830
  48880. msgid "The @code{(gnu services science)} module provides the following service."
  48881. msgstr ""
  48882. #. type: defvr
  48883. #: guix-git/doc/guix.texi:32831
  48884. #, no-wrap
  48885. msgid "{Scheme Variable} rshiny-service-type"
  48886. msgstr ""
  48887. #. type: defvr
  48888. #: guix-git/doc/guix.texi:32836
  48889. 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}."
  48890. msgstr ""
  48891. #. type: deftp
  48892. #: guix-git/doc/guix.texi:32837
  48893. #, no-wrap
  48894. msgid "{Data Type} rshiny-configuration"
  48895. msgstr ""
  48896. #. type: deftp
  48897. #: guix-git/doc/guix.texi:32839
  48898. msgid "This is the data type representing the configuration of rshiny."
  48899. msgstr ""
  48900. #. type: item
  48901. #: guix-git/doc/guix.texi:32842
  48902. #, no-wrap
  48903. msgid "@code{package} (default: @code{r-shiny})"
  48904. msgstr ""
  48905. #. type: table
  48906. #: guix-git/doc/guix.texi:32844
  48907. msgid "The package to use."
  48908. msgstr ""
  48909. #. type: item
  48910. #: guix-git/doc/guix.texi:32845
  48911. #, no-wrap
  48912. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  48913. msgstr ""
  48914. #. type: table
  48915. #: guix-git/doc/guix.texi:32848
  48916. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  48917. msgstr ""
  48918. #. type: table
  48919. #: guix-git/doc/guix.texi:32850
  48920. msgid "The common way to create this file is as follows:"
  48921. msgstr ""
  48922. #. type: lisp
  48923. #: guix-git/doc/guix.texi:32868
  48924. #, no-wrap
  48925. msgid ""
  48926. "@dots{}\n"
  48927. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  48928. " (targetdir (string-append out \"/share/\" ,name))\n"
  48929. " (app (string-append out \"/bin/\" ,name))\n"
  48930. " (Rbin (string-append (assoc-ref %build-inputs \"r-min\")\n"
  48931. " \"/bin/Rscript\")))\n"
  48932. " ;; @dots{}\n"
  48933. " (mkdir-p (string-append out \"/bin\"))\n"
  48934. " (call-with-output-file app\n"
  48935. " (lambda (port)\n"
  48936. " (format port\n"
  48937. "\"#!~a\n"
  48938. "library(shiny)\n"
  48939. "setwd(\\\"~a\\\")\n"
  48940. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  48941. " Rbin targetdir))))\n"
  48942. msgstr ""
  48943. #. type: cindex
  48944. #: guix-git/doc/guix.texi:32874
  48945. #, no-wrap
  48946. msgid "Nix"
  48947. msgstr ""
  48948. #. type: subsubheading
  48949. #: guix-git/doc/guix.texi:32875
  48950. #, no-wrap
  48951. msgid "Nix service"
  48952. msgstr ""
  48953. #. type: Plain text
  48954. #: guix-git/doc/guix.texi:32878
  48955. msgid "The @code{(gnu services nix)} module provides the following service."
  48956. msgstr ""
  48957. #. type: defvr
  48958. #: guix-git/doc/guix.texi:32879
  48959. #, no-wrap
  48960. msgid "{Scheme Variable} nix-service-type"
  48961. msgstr ""
  48962. #. type: defvr
  48963. #: guix-git/doc/guix.texi:32884
  48964. 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:"
  48965. msgstr ""
  48966. #. type: lisp
  48967. #: guix-git/doc/guix.texi:32889
  48968. #, no-wrap
  48969. msgid ""
  48970. "(use-modules (gnu))\n"
  48971. "(use-service-modules nix)\n"
  48972. "(use-package-modules package-management)\n"
  48973. "\n"
  48974. msgstr ""
  48975. #. type: lisp
  48976. #: guix-git/doc/guix.texi:32894
  48977. #, no-wrap
  48978. msgid ""
  48979. "(operating-system\n"
  48980. " ;; @dots{}\n"
  48981. " (packages (append (list nix)\n"
  48982. " %base-packages))\n"
  48983. "\n"
  48984. msgstr ""
  48985. #. type: lisp
  48986. #: guix-git/doc/guix.texi:32897
  48987. #, no-wrap
  48988. msgid ""
  48989. " (services (append (list (service nix-service-type))\n"
  48990. " %base-services)))\n"
  48991. msgstr ""
  48992. #. type: defvr
  48993. #: guix-git/doc/guix.texi:32900
  48994. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  48995. msgstr ""
  48996. #. type: item
  48997. #: guix-git/doc/guix.texi:32902
  48998. #, no-wrap
  48999. msgid "Add a Nix channel and update it. See"
  49000. msgstr ""
  49001. #. type: itemize
  49002. #: guix-git/doc/guix.texi:32904
  49003. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  49004. msgstr ""
  49005. #. type: item
  49006. #: guix-git/doc/guix.texi:32905
  49007. #, no-wrap
  49008. msgid "Create a symlink to your profile and activate Nix profile:"
  49009. msgstr ""
  49010. #. type: example
  49011. #: guix-git/doc/guix.texi:32911
  49012. #, no-wrap
  49013. msgid ""
  49014. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  49015. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  49016. msgstr ""
  49017. #. type: deftp
  49018. #: guix-git/doc/guix.texi:32915
  49019. #, no-wrap
  49020. msgid "{Data Type} nix-configuration"
  49021. msgstr ""
  49022. #. type: deftp
  49023. #: guix-git/doc/guix.texi:32917
  49024. msgid "This data type represents the configuration of the Nix daemon."
  49025. msgstr ""
  49026. #. type: item
  49027. #: guix-git/doc/guix.texi:32919
  49028. #, no-wrap
  49029. msgid "@code{nix} (default: @code{nix})"
  49030. msgstr ""
  49031. #. type: table
  49032. #: guix-git/doc/guix.texi:32921
  49033. msgid "The Nix package to use."
  49034. msgstr ""
  49035. #. type: item
  49036. #: guix-git/doc/guix.texi:32922
  49037. #, no-wrap
  49038. msgid "@code{sandbox} (default: @code{#t})"
  49039. msgstr ""
  49040. #. type: table
  49041. #: guix-git/doc/guix.texi:32924
  49042. msgid "Specifies whether builds are sandboxed by default."
  49043. msgstr ""
  49044. #. type: item
  49045. #: guix-git/doc/guix.texi:32925
  49046. #, no-wrap
  49047. msgid "@code{build-sandbox-items} (default: @code{'()})"
  49048. msgstr ""
  49049. #. type: table
  49050. #: guix-git/doc/guix.texi:32928
  49051. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  49052. msgstr ""
  49053. #. type: table
  49054. #: guix-git/doc/guix.texi:32936
  49055. msgid "Extra command line options for @code{nix-service-type}."
  49056. msgstr ""
  49057. #. type: cindex
  49058. #: guix-git/doc/guix.texi:32942
  49059. #, no-wrap
  49060. msgid "setuid programs"
  49061. msgstr ""
  49062. #. type: Plain text
  49063. #: guix-git/doc/guix.texi:32952
  49064. 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)."
  49065. msgstr ""
  49066. #. type: Plain text
  49067. #: guix-git/doc/guix.texi:32959
  49068. 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."
  49069. msgstr ""
  49070. #. type: Plain text
  49071. #: guix-git/doc/guix.texi:32966
  49072. 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:"
  49073. msgstr ""
  49074. #. type: example
  49075. #: guix-git/doc/guix.texi:32970
  49076. #, no-wrap
  49077. msgid ""
  49078. "(setuid-program\n"
  49079. " (program (file-append shadow \"/bin/passwd\")))\n"
  49080. msgstr ""
  49081. #. type: deftp
  49082. #: guix-git/doc/guix.texi:32972
  49083. #, no-wrap
  49084. msgid "{Data Type} setuid-program"
  49085. msgstr ""
  49086. #. type: deftp
  49087. #: guix-git/doc/guix.texi:32974
  49088. msgid "This data type represents a program with a setuid or setgid bit set."
  49089. msgstr ""
  49090. #. type: code{#1}
  49091. #: guix-git/doc/guix.texi:32976
  49092. #, no-wrap
  49093. msgid "program"
  49094. msgstr ""
  49095. #. type: table
  49096. #: guix-git/doc/guix.texi:32978
  49097. msgid "A file-like object having its setuid and/or setgid bit set."
  49098. msgstr ""
  49099. #. type: item
  49100. #: guix-git/doc/guix.texi:32979
  49101. #, no-wrap
  49102. msgid "@code{setuid?} (default: @code{#t})"
  49103. msgstr ""
  49104. #. type: table
  49105. #: guix-git/doc/guix.texi:32981
  49106. msgid "Whether to set user setuid bit."
  49107. msgstr ""
  49108. #. type: item
  49109. #: guix-git/doc/guix.texi:32982
  49110. #, no-wrap
  49111. msgid "@code{setgid?} (default: @code{#f})"
  49112. msgstr ""
  49113. #. type: table
  49114. #: guix-git/doc/guix.texi:32984
  49115. msgid "Whether to set group setgid bit."
  49116. msgstr ""
  49117. #. type: item
  49118. #: guix-git/doc/guix.texi:32985
  49119. #, no-wrap
  49120. msgid "@code{user} (default: @code{0})"
  49121. msgstr ""
  49122. #. type: table
  49123. #: guix-git/doc/guix.texi:32988
  49124. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  49125. msgstr ""
  49126. #. type: item
  49127. #: guix-git/doc/guix.texi:32989
  49128. #, no-wrap
  49129. msgid "@code{group} (default: @code{0})"
  49130. msgstr ""
  49131. #. type: table
  49132. #: guix-git/doc/guix.texi:32992
  49133. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  49134. msgstr ""
  49135. #. type: Plain text
  49136. #: guix-git/doc/guix.texi:32998
  49137. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  49138. msgstr ""
  49139. #. type: defvr
  49140. #: guix-git/doc/guix.texi:32999
  49141. #, no-wrap
  49142. msgid "{Scheme Variable} %setuid-programs"
  49143. msgstr ""
  49144. #. type: defvr
  49145. #: guix-git/doc/guix.texi:33002
  49146. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  49147. msgstr ""
  49148. #. type: defvr
  49149. #: guix-git/doc/guix.texi:33005
  49150. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  49151. msgstr ""
  49152. #. type: Plain text
  49153. #: guix-git/doc/guix.texi:33011
  49154. 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."
  49155. msgstr ""
  49156. #. type: cindex
  49157. #: guix-git/doc/guix.texi:33015
  49158. #, no-wrap
  49159. msgid "HTTPS, certificates"
  49160. msgstr ""
  49161. #. type: cindex
  49162. #: guix-git/doc/guix.texi:33016
  49163. #, no-wrap
  49164. msgid "X.509 certificates"
  49165. msgstr ""
  49166. #. type: cindex
  49167. #: guix-git/doc/guix.texi:33017
  49168. #, no-wrap
  49169. msgid "TLS"
  49170. msgstr ""
  49171. #. type: Plain text
  49172. #: guix-git/doc/guix.texi:33024
  49173. 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."
  49174. msgstr ""
  49175. #. type: Plain text
  49176. #: guix-git/doc/guix.texi:33028
  49177. 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."
  49178. msgstr ""
  49179. #. type: Plain text
  49180. #: guix-git/doc/guix.texi:33032
  49181. 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."
  49182. msgstr ""
  49183. #. type: Plain text
  49184. #: guix-git/doc/guix.texi:33039
  49185. 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."
  49186. msgstr ""
  49187. #. type: Plain text
  49188. #: guix-git/doc/guix.texi:33044
  49189. 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."
  49190. msgstr ""
  49191. #. type: Plain text
  49192. #: guix-git/doc/guix.texi:33054
  49193. 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:"
  49194. msgstr ""
  49195. #. type: example
  49196. #: guix-git/doc/guix.texi:33060
  49197. #, no-wrap
  49198. msgid ""
  49199. "guix install nss-certs\n"
  49200. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  49201. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  49202. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  49203. msgstr ""
  49204. #. type: Plain text
  49205. #: guix-git/doc/guix.texi:33065
  49206. 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:"
  49207. msgstr ""
  49208. #. type: example
  49209. #: guix-git/doc/guix.texi:33069
  49210. #, no-wrap
  49211. msgid ""
  49212. "guix install nss-certs\n"
  49213. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  49214. msgstr ""
  49215. #. type: Plain text
  49216. #: guix-git/doc/guix.texi:33073
  49217. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  49218. msgstr ""
  49219. #. type: cindex
  49220. #: guix-git/doc/guix.texi:33078
  49221. #, no-wrap
  49222. msgid "name service switch"
  49223. msgstr ""
  49224. #. type: cindex
  49225. #: guix-git/doc/guix.texi:33079
  49226. #, no-wrap
  49227. msgid "NSS"
  49228. msgstr ""
  49229. #. type: Plain text
  49230. #: guix-git/doc/guix.texi:33088
  49231. 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})."
  49232. msgstr ""
  49233. #. type: Plain text
  49234. #: guix-git/doc/guix.texi:33095
  49235. 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}})."
  49236. msgstr ""
  49237. #. type: cindex
  49238. #: guix-git/doc/guix.texi:33096
  49239. #, no-wrap
  49240. msgid "nss-mdns"
  49241. msgstr ""
  49242. #. type: cindex
  49243. #: guix-git/doc/guix.texi:33097
  49244. #, no-wrap
  49245. msgid ".local, host name lookup"
  49246. msgstr ""
  49247. #. type: Plain text
  49248. #: guix-git/doc/guix.texi:33102
  49249. 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}:"
  49250. msgstr ""
  49251. #. type: lisp
  49252. #: guix-git/doc/guix.texi:33106
  49253. #, no-wrap
  49254. msgid ""
  49255. "(name-service-switch\n"
  49256. " (hosts (list %files ;first, check /etc/hosts\n"
  49257. "\n"
  49258. msgstr ""
  49259. #. type: lisp
  49260. #: guix-git/doc/guix.texi:33111
  49261. #, no-wrap
  49262. msgid ""
  49263. " ;; If the above did not succeed, try\n"
  49264. " ;; with 'mdns_minimal'.\n"
  49265. " (name-service\n"
  49266. " (name \"mdns_minimal\")\n"
  49267. "\n"
  49268. msgstr ""
  49269. #. type: lisp
  49270. #: guix-git/doc/guix.texi:33117
  49271. #, no-wrap
  49272. msgid ""
  49273. " ;; 'mdns_minimal' is authoritative for\n"
  49274. " ;; '.local'. When it returns \"not found\",\n"
  49275. " ;; no need to try the next methods.\n"
  49276. " (reaction (lookup-specification\n"
  49277. " (not-found => return))))\n"
  49278. "\n"
  49279. msgstr ""
  49280. #. type: lisp
  49281. #: guix-git/doc/guix.texi:33121
  49282. #, no-wrap
  49283. msgid ""
  49284. " ;; Then fall back to DNS.\n"
  49285. " (name-service\n"
  49286. " (name \"dns\"))\n"
  49287. "\n"
  49288. msgstr ""
  49289. #. type: lisp
  49290. #: guix-git/doc/guix.texi:33125
  49291. #, no-wrap
  49292. msgid ""
  49293. " ;; Finally, try with the \"full\" 'mdns'.\n"
  49294. " (name-service\n"
  49295. " (name \"mdns\")))))\n"
  49296. msgstr ""
  49297. #. type: Plain text
  49298. #: guix-git/doc/guix.texi:33130
  49299. 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."
  49300. msgstr ""
  49301. #. type: Plain text
  49302. #: guix-git/doc/guix.texi:33138
  49303. 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}})."
  49304. msgstr ""
  49305. #. type: Plain text
  49306. #: guix-git/doc/guix.texi:33141
  49307. msgid "For convenience, the following variables provide typical NSS configurations."
  49308. msgstr ""
  49309. #. type: defvr
  49310. #: guix-git/doc/guix.texi:33142
  49311. #, no-wrap
  49312. msgid "{Scheme Variable} %default-nss"
  49313. msgstr ""
  49314. #. type: defvr
  49315. #: guix-git/doc/guix.texi:33145
  49316. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  49317. msgstr ""
  49318. #. type: defvr
  49319. #: guix-git/doc/guix.texi:33147
  49320. #, no-wrap
  49321. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  49322. msgstr ""
  49323. #. type: defvr
  49324. #: guix-git/doc/guix.texi:33150
  49325. 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}."
  49326. msgstr ""
  49327. #. type: Plain text
  49328. #: guix-git/doc/guix.texi:33160
  49329. 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}."
  49330. msgstr ""
  49331. #. type: deftp
  49332. #: guix-git/doc/guix.texi:33161
  49333. #, no-wrap
  49334. msgid "{Data Type} name-service-switch"
  49335. msgstr ""
  49336. #. type: deftp
  49337. #: guix-git/doc/guix.texi:33166
  49338. 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."
  49339. msgstr ""
  49340. #. type: item
  49341. #: guix-git/doc/guix.texi:33168
  49342. #, no-wrap
  49343. msgid "aliases"
  49344. msgstr ""
  49345. #. type: itemx
  49346. #: guix-git/doc/guix.texi:33169
  49347. #, no-wrap
  49348. msgid "ethers"
  49349. msgstr ""
  49350. #. type: itemx
  49351. #: guix-git/doc/guix.texi:33171
  49352. #, no-wrap
  49353. msgid "gshadow"
  49354. msgstr ""
  49355. #. type: itemx
  49356. #: guix-git/doc/guix.texi:33172
  49357. #, no-wrap
  49358. msgid "hosts"
  49359. msgstr ""
  49360. #. type: itemx
  49361. #: guix-git/doc/guix.texi:33173
  49362. #, no-wrap
  49363. msgid "initgroups"
  49364. msgstr ""
  49365. #. type: itemx
  49366. #: guix-git/doc/guix.texi:33174
  49367. #, no-wrap
  49368. msgid "netgroup"
  49369. msgstr ""
  49370. #. type: itemx
  49371. #: guix-git/doc/guix.texi:33175
  49372. #, no-wrap
  49373. msgid "networks"
  49374. msgstr ""
  49375. #. type: itemx
  49376. #: guix-git/doc/guix.texi:33178
  49377. #, no-wrap
  49378. msgid "rpc"
  49379. msgstr ""
  49380. #. type: itemx
  49381. #: guix-git/doc/guix.texi:33180
  49382. #, no-wrap
  49383. msgid "shadow"
  49384. msgstr ""
  49385. #. type: table
  49386. #: guix-git/doc/guix.texi:33183
  49387. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  49388. msgstr ""
  49389. #. type: deftp
  49390. #: guix-git/doc/guix.texi:33186
  49391. #, no-wrap
  49392. msgid "{Data Type} name-service"
  49393. msgstr ""
  49394. #. type: deftp
  49395. #: guix-git/doc/guix.texi:33190
  49396. msgid "This is the data type representing an actual name service and the associated lookup action."
  49397. msgstr ""
  49398. #. type: table
  49399. #: guix-git/doc/guix.texi:33195
  49400. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  49401. msgstr ""
  49402. #. type: table
  49403. #: guix-git/doc/guix.texi:33200
  49404. 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}})."
  49405. msgstr ""
  49406. #. type: item
  49407. #: guix-git/doc/guix.texi:33201
  49408. #, no-wrap
  49409. msgid "reaction"
  49410. msgstr ""
  49411. #. type: table
  49412. #: guix-git/doc/guix.texi:33205
  49413. 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:"
  49414. msgstr ""
  49415. #. type: lisp
  49416. #: guix-git/doc/guix.texi:33209
  49417. #, no-wrap
  49418. msgid ""
  49419. "(lookup-specification (unavailable => continue)\n"
  49420. " (success => return))\n"
  49421. msgstr ""
  49422. #. type: Plain text
  49423. #: guix-git/doc/guix.texi:33223
  49424. 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."
  49425. msgstr ""
  49426. #. type: Plain text
  49427. #: guix-git/doc/guix.texi:33232
  49428. 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:"
  49429. msgstr ""
  49430. #. type: lisp
  49431. #: guix-git/doc/guix.texi:33237
  49432. #, no-wrap
  49433. msgid ""
  49434. "(operating-system\n"
  49435. " ;; @dots{}\n"
  49436. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  49437. msgstr ""
  49438. #. type: defvr
  49439. #: guix-git/doc/guix.texi:33239
  49440. #, no-wrap
  49441. msgid "{Scheme Variable} %base-initrd-modules"
  49442. msgstr ""
  49443. #. type: defvr
  49444. #: guix-git/doc/guix.texi:33241
  49445. msgid "This is the list of kernel modules included in the initrd by default."
  49446. msgstr ""
  49447. #. type: Plain text
  49448. #: guix-git/doc/guix.texi:33249
  49449. 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."
  49450. msgstr ""
  49451. #. type: Plain text
  49452. #: guix-git/doc/guix.texi:33254
  49453. 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:"
  49454. msgstr ""
  49455. #. type: lisp
  49456. #: guix-git/doc/guix.texi:33262
  49457. #, no-wrap
  49458. msgid ""
  49459. "(initrd (lambda (file-systems . rest)\n"
  49460. " ;; Create a standard initrd but set up networking\n"
  49461. " ;; with the parameters QEMU expects by default.\n"
  49462. " (apply base-initrd file-systems\n"
  49463. " #:qemu-networking? #t\n"
  49464. " rest)))\n"
  49465. msgstr ""
  49466. #. type: Plain text
  49467. #: guix-git/doc/guix.texi:33267
  49468. 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."
  49469. msgstr ""
  49470. #. type: Plain text
  49471. #: guix-git/doc/guix.texi:33274
  49472. 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."
  49473. msgstr ""
  49474. #. type: Plain text
  49475. #: guix-git/doc/guix.texi:33279
  49476. 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:"
  49477. msgstr ""
  49478. #. type: item
  49479. #: guix-git/doc/guix.texi:33281
  49480. #, no-wrap
  49481. msgid "--load=@var{boot}"
  49482. msgstr ""
  49483. #. type: table
  49484. #: guix-git/doc/guix.texi:33284
  49485. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  49486. msgstr ""
  49487. #. type: table
  49488. #: guix-git/doc/guix.texi:33288
  49489. 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."
  49490. msgstr ""
  49491. #. type: item
  49492. #: guix-git/doc/guix.texi:33289
  49493. #, no-wrap
  49494. msgid "--root=@var{root}"
  49495. msgstr ""
  49496. #. type: table
  49497. #: guix-git/doc/guix.texi:33294
  49498. 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."
  49499. msgstr ""
  49500. #. type: item
  49501. #: guix-git/doc/guix.texi:33295
  49502. #, no-wrap
  49503. msgid "fsck.mode=@var{mode}"
  49504. msgstr ""
  49505. #. type: table
  49506. #: guix-git/doc/guix.texi:33301
  49507. 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."
  49508. msgstr ""
  49509. #. type: table
  49510. #: guix-git/doc/guix.texi:33304
  49511. msgid "@code{auto} is the default if this option is not present or if @var{mode} is not one of the above."
  49512. msgstr ""
  49513. #. type: item
  49514. #: guix-git/doc/guix.texi:33305
  49515. #, no-wrap
  49516. msgid "fsck.repair=@var{level}"
  49517. msgstr ""
  49518. #. type: table
  49519. #: guix-git/doc/guix.texi:33310
  49520. 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."
  49521. msgstr ""
  49522. #. type: table
  49523. #: guix-git/doc/guix.texi:33313
  49524. msgid "@code{preen} is the default if this option is not present or if @var{level} is not one of the above."
  49525. msgstr ""
  49526. #. type: table
  49527. #: guix-git/doc/guix.texi:33317
  49528. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  49529. msgstr ""
  49530. #. type: item
  49531. #: guix-git/doc/guix.texi:33318
  49532. #, no-wrap
  49533. msgid "modprobe.blacklist=@var{modules}@dots{}"
  49534. msgstr ""
  49535. #. type: cindex
  49536. #: guix-git/doc/guix.texi:33319
  49537. #, no-wrap
  49538. msgid "module, black-listing"
  49539. msgstr ""
  49540. #. type: cindex
  49541. #: guix-git/doc/guix.texi:33320
  49542. #, no-wrap
  49543. msgid "black list, of kernel modules"
  49544. msgstr ""
  49545. #. type: table
  49546. #: guix-git/doc/guix.texi:33325
  49547. 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}."
  49548. msgstr ""
  49549. #. type: item
  49550. #: guix-git/doc/guix.texi:33326
  49551. #, no-wrap
  49552. msgid "--repl"
  49553. msgstr ""
  49554. #. type: table
  49555. #: guix-git/doc/guix.texi:33332
  49556. 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."
  49557. msgstr ""
  49558. #. type: Plain text
  49559. #: guix-git/doc/guix.texi:33338
  49560. 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."
  49561. msgstr ""
  49562. #. type: deffn
  49563. #: guix-git/doc/guix.texi:33341
  49564. #, no-wrap
  49565. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  49566. msgstr ""
  49567. #. type: deffn
  49568. #: guix-git/doc/guix.texi:33355
  49569. 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."
  49570. msgstr ""
  49571. #. type: deffn
  49572. #: guix-git/doc/guix.texi:33361 guix-git/doc/guix.texi:33385
  49573. 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."
  49574. msgstr ""
  49575. #. type: deffn
  49576. #: guix-git/doc/guix.texi:33365
  49577. 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."
  49578. msgstr ""
  49579. #. type: deffn
  49580. #: guix-git/doc/guix.texi:33368
  49581. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  49582. msgstr ""
  49583. #. type: deffn
  49584. #: guix-git/doc/guix.texi:33370
  49585. #, no-wrap
  49586. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  49587. msgstr ""
  49588. #. type: deffn
  49589. #: guix-git/doc/guix.texi:33379
  49590. 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."
  49591. msgstr ""
  49592. #. type: deffn
  49593. #: guix-git/doc/guix.texi:33387
  49594. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  49595. msgstr ""
  49596. #. type: deffn
  49597. #: guix-git/doc/guix.texi:33392
  49598. 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."
  49599. msgstr ""
  49600. #. type: Plain text
  49601. #: guix-git/doc/guix.texi:33399
  49602. 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."
  49603. msgstr ""
  49604. #. type: deffn
  49605. #: guix-git/doc/guix.texi:33400
  49606. #, no-wrap
  49607. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  49608. msgstr ""
  49609. #. type: deffn
  49610. #: guix-git/doc/guix.texi:33406
  49611. 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."
  49612. msgstr ""
  49613. #. type: cindex
  49614. #: guix-git/doc/guix.texi:33412
  49615. #, no-wrap
  49616. msgid "boot loader"
  49617. msgstr ""
  49618. #. type: Plain text
  49619. #: guix-git/doc/guix.texi:33419
  49620. 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."
  49621. msgstr ""
  49622. #. type: Plain text
  49623. #: guix-git/doc/guix.texi:33424
  49624. 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."
  49625. msgstr ""
  49626. #. type: deftp
  49627. #: guix-git/doc/guix.texi:33425
  49628. #, no-wrap
  49629. msgid "{Data Type} bootloader-configuration"
  49630. msgstr ""
  49631. #. type: deftp
  49632. #: guix-git/doc/guix.texi:33427
  49633. msgid "The type of a bootloader configuration declaration."
  49634. msgstr ""
  49635. #. type: cindex
  49636. #: guix-git/doc/guix.texi:33431
  49637. #, no-wrap
  49638. msgid "EFI, bootloader"
  49639. msgstr ""
  49640. #. type: cindex
  49641. #: guix-git/doc/guix.texi:33432
  49642. #, no-wrap
  49643. msgid "UEFI, bootloader"
  49644. msgstr ""
  49645. #. type: cindex
  49646. #: guix-git/doc/guix.texi:33433
  49647. #, no-wrap
  49648. msgid "BIOS, bootloader"
  49649. msgstr ""
  49650. #. type: table
  49651. #: guix-git/doc/guix.texi:33438
  49652. 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."
  49653. msgstr ""
  49654. #. type: cindex
  49655. #: guix-git/doc/guix.texi:33439
  49656. #, no-wrap
  49657. msgid "ARM, bootloaders"
  49658. msgstr ""
  49659. #. type: cindex
  49660. #: guix-git/doc/guix.texi:33440
  49661. #, no-wrap
  49662. msgid "AArch64, bootloaders"
  49663. msgstr ""
  49664. #. type: table
  49665. #: guix-git/doc/guix.texi:33445
  49666. 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}."
  49667. msgstr ""
  49668. #. type: table
  49669. #: guix-git/doc/guix.texi:33451
  49670. 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."
  49671. msgstr ""
  49672. #. type: table
  49673. #: guix-git/doc/guix.texi:33455
  49674. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  49675. msgstr ""
  49676. #. type: vindex
  49677. #: guix-git/doc/guix.texi:33456
  49678. #, no-wrap
  49679. msgid "grub-efi-netboot-bootloader"
  49680. msgstr ""
  49681. #. type: table
  49682. #: guix-git/doc/guix.texi:33460
  49683. 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."
  49684. msgstr ""
  49685. #. type: table
  49686. #: guix-git/doc/guix.texi:33466
  49687. 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."
  49688. msgstr ""
  49689. #. type: table
  49690. #: guix-git/doc/guix.texi:33475
  49691. 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}."
  49692. msgstr ""
  49693. #. type: table
  49694. #: guix-git/doc/guix.texi:33484
  49695. 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."
  49696. msgstr ""
  49697. #. type: table
  49698. #: guix-git/doc/guix.texi:33490
  49699. 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."
  49700. msgstr ""
  49701. #. type: table
  49702. #: guix-git/doc/guix.texi:33495
  49703. 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}."
  49704. msgstr ""
  49705. #. type: table
  49706. #: guix-git/doc/guix.texi:33500
  49707. 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."
  49708. msgstr ""
  49709. #. type: table
  49710. #: guix-git/doc/guix.texi:33505
  49711. 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}."
  49712. msgstr ""
  49713. #. type: table
  49714. #: guix-git/doc/guix.texi:33509
  49715. msgid "This is a list of strings denoting the targets onto which to install the bootloader."
  49716. msgstr ""
  49717. #. type: table
  49718. #: guix-git/doc/guix.texi:33519
  49719. 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."
  49720. msgstr ""
  49721. #. type: item
  49722. #: guix-git/doc/guix.texi:33520
  49723. #, no-wrap
  49724. msgid "@code{menu-entries} (default: @code{()})"
  49725. msgstr ""
  49726. #. type: table
  49727. #: guix-git/doc/guix.texi:33524
  49728. 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."
  49729. msgstr ""
  49730. #. type: item
  49731. #: guix-git/doc/guix.texi:33525
  49732. #, no-wrap
  49733. msgid "@code{default-entry} (default: @code{0})"
  49734. msgstr ""
  49735. #. type: table
  49736. #: guix-git/doc/guix.texi:33528
  49737. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  49738. msgstr ""
  49739. #. type: item
  49740. #: guix-git/doc/guix.texi:33529
  49741. #, no-wrap
  49742. msgid "@code{timeout} (default: @code{5})"
  49743. msgstr ""
  49744. #. type: table
  49745. #: guix-git/doc/guix.texi:33532
  49746. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  49747. msgstr ""
  49748. #. type: cindex
  49749. #: guix-git/doc/guix.texi:33533
  49750. #, no-wrap
  49751. msgid "keyboard layout, for the bootloader"
  49752. msgstr ""
  49753. #. type: table
  49754. #: guix-git/doc/guix.texi:33537
  49755. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  49756. msgstr ""
  49757. #. type: table
  49758. #: guix-git/doc/guix.texi:33540
  49759. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  49760. msgstr ""
  49761. #. type: quotation
  49762. #: guix-git/doc/guix.texi:33544
  49763. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  49764. msgstr ""
  49765. #. type: item
  49766. #: guix-git/doc/guix.texi:33546
  49767. #, no-wrap
  49768. msgid "@code{theme} (default: @var{#f})"
  49769. msgstr ""
  49770. #. type: table
  49771. #: guix-git/doc/guix.texi:33550
  49772. 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."
  49773. msgstr ""
  49774. #. type: item
  49775. #: guix-git/doc/guix.texi:33551
  49776. #, no-wrap
  49777. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  49778. msgstr ""
  49779. #. type: table
  49780. #: guix-git/doc/guix.texi:33558
  49781. 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})."
  49782. msgstr ""
  49783. #. type: item
  49784. #: guix-git/doc/guix.texi:33559
  49785. #, no-wrap
  49786. msgid "@code{terminal-inputs} (default: @code{'()})"
  49787. msgstr ""
  49788. #. type: table
  49789. #: guix-git/doc/guix.texi:33567
  49790. 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})."
  49791. msgstr ""
  49792. #. type: item
  49793. #: guix-git/doc/guix.texi:33568
  49794. #, no-wrap
  49795. msgid "@code{serial-unit} (default: @code{#f})"
  49796. msgstr ""
  49797. #. type: table
  49798. #: guix-git/doc/guix.texi:33572
  49799. 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})."
  49800. msgstr ""
  49801. #. type: item
  49802. #: guix-git/doc/guix.texi:33573
  49803. #, no-wrap
  49804. msgid "@code{serial-speed} (default: @code{#f})"
  49805. msgstr ""
  49806. #. type: table
  49807. #: guix-git/doc/guix.texi:33577
  49808. 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})."
  49809. msgstr ""
  49810. #. type: cindex
  49811. #: guix-git/doc/guix.texi:33581
  49812. #, no-wrap
  49813. msgid "dual boot"
  49814. msgstr ""
  49815. #. type: cindex
  49816. #: guix-git/doc/guix.texi:33582
  49817. #, no-wrap
  49818. msgid "boot menu"
  49819. msgstr ""
  49820. #. type: Plain text
  49821. #: guix-git/doc/guix.texi:33588
  49822. 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:"
  49823. msgstr ""
  49824. #. type: lisp
  49825. #: guix-git/doc/guix.texi:33595
  49826. #, no-wrap
  49827. msgid ""
  49828. "(menu-entry\n"
  49829. " (label \"The Other Distro\")\n"
  49830. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  49831. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  49832. " (initrd \"/boot/old/initrd\"))\n"
  49833. msgstr ""
  49834. #. type: Plain text
  49835. #: guix-git/doc/guix.texi:33598
  49836. msgid "Details below."
  49837. msgstr ""
  49838. #. type: deftp
  49839. #: guix-git/doc/guix.texi:33599
  49840. #, no-wrap
  49841. msgid "{Data Type} menu-entry"
  49842. msgstr ""
  49843. #. type: deftp
  49844. #: guix-git/doc/guix.texi:33601
  49845. msgid "The type of an entry in the bootloader menu."
  49846. msgstr ""
  49847. #. type: table
  49848. #: guix-git/doc/guix.texi:33606
  49849. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  49850. msgstr ""
  49851. #. type: item
  49852. #: guix-git/doc/guix.texi:33607
  49853. #, no-wrap
  49854. msgid "@code{linux} (default: @code{#f})"
  49855. msgstr ""
  49856. #. type: table
  49857. #: guix-git/doc/guix.texi:33609
  49858. msgid "The Linux kernel image to boot, for example:"
  49859. msgstr ""
  49860. #. type: lisp
  49861. #: guix-git/doc/guix.texi:33612
  49862. #, no-wrap
  49863. msgid "(file-append linux-libre \"/bzImage\")\n"
  49864. msgstr ""
  49865. #. type: table
  49866. #: guix-git/doc/guix.texi:33617
  49867. 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:"
  49868. msgstr ""
  49869. #. type: example
  49870. #: guix-git/doc/guix.texi:33620
  49871. #, no-wrap
  49872. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  49873. msgstr ""
  49874. #. type: table
  49875. #: guix-git/doc/guix.texi:33624
  49876. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  49877. msgstr ""
  49878. #. type: item
  49879. #: guix-git/doc/guix.texi:33625
  49880. #, no-wrap
  49881. msgid "@code{linux-arguments} (default: @code{()})"
  49882. msgstr ""
  49883. #. type: table
  49884. #: guix-git/doc/guix.texi:33628
  49885. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  49886. msgstr ""
  49887. #. type: item
  49888. #: guix-git/doc/guix.texi:33629
  49889. #, no-wrap
  49890. msgid "@code{initrd} (default: @code{#f})"
  49891. msgstr ""
  49892. #. type: table
  49893. #: guix-git/doc/guix.texi:33632
  49894. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  49895. msgstr ""
  49896. #. type: item
  49897. #: guix-git/doc/guix.texi:33633
  49898. #, no-wrap
  49899. msgid "@code{device} (default: @code{#f})"
  49900. msgstr ""
  49901. #. type: table
  49902. #: guix-git/doc/guix.texi:33636
  49903. 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})."
  49904. msgstr ""
  49905. #. type: table
  49906. #: guix-git/doc/guix.texi:33642
  49907. 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}."
  49908. msgstr ""
  49909. #. type: item
  49910. #: guix-git/doc/guix.texi:33643
  49911. #, no-wrap
  49912. msgid "@code{multiboot-kernel} (default: @code{#f})"
  49913. msgstr ""
  49914. #. type: table
  49915. #: guix-git/doc/guix.texi:33647
  49916. 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:"
  49917. msgstr ""
  49918. #. type: lisp
  49919. #: guix-git/doc/guix.texi:33650
  49920. #, no-wrap
  49921. msgid "(file-append mach \"/boot/gnumach\")\n"
  49922. msgstr ""
  49923. #. type: item
  49924. #: guix-git/doc/guix.texi:33652
  49925. #, no-wrap
  49926. msgid "@code{multiboot-arguments} (default: @code{()})"
  49927. msgstr ""
  49928. #. type: table
  49929. #: guix-git/doc/guix.texi:33654
  49930. msgid "The list of extra command-line arguments for the multiboot-kernel."
  49931. msgstr ""
  49932. #. type: item
  49933. #: guix-git/doc/guix.texi:33655
  49934. #, no-wrap
  49935. msgid "@code{multiboot-modules} (default: @code{()})"
  49936. msgstr ""
  49937. #. type: table
  49938. #: guix-git/doc/guix.texi:33657
  49939. msgid "The list of commands for loading Multiboot modules. For example:"
  49940. msgstr ""
  49941. #. type: lisp
  49942. #: guix-git/doc/guix.texi:33663
  49943. #, no-wrap
  49944. msgid ""
  49945. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  49946. " @dots{})\n"
  49947. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  49948. " @dots{}))\n"
  49949. msgstr ""
  49950. #. type: cindex
  49951. #: guix-git/doc/guix.texi:33668 guix-git/doc/guix.texi:33727
  49952. #, no-wrap
  49953. msgid "HDPI"
  49954. msgstr ""
  49955. #. type: cindex
  49956. #: guix-git/doc/guix.texi:33669 guix-git/doc/guix.texi:33728
  49957. #, no-wrap
  49958. msgid "HiDPI"
  49959. msgstr ""
  49960. #. type: cindex
  49961. #: guix-git/doc/guix.texi:33670 guix-git/doc/guix.texi:33729
  49962. #, no-wrap
  49963. msgid "resolution"
  49964. msgstr ""
  49965. #. type: Plain text
  49966. #: guix-git/doc/guix.texi:33674
  49967. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  49968. msgstr ""
  49969. #. type: deftp
  49970. #: guix-git/doc/guix.texi:33675
  49971. #, no-wrap
  49972. msgid "{Data Type} grub-theme"
  49973. msgstr ""
  49974. #. type: deftp
  49975. #: guix-git/doc/guix.texi:33677
  49976. msgid "Data type representing the configuration of the GRUB theme."
  49977. msgstr ""
  49978. #. type: item
  49979. #: guix-git/doc/guix.texi:33679
  49980. #, no-wrap
  49981. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  49982. msgstr ""
  49983. #. type: table
  49984. #: guix-git/doc/guix.texi:33682
  49985. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  49986. msgstr ""
  49987. #. type: deffn
  49988. #: guix-git/doc/guix.texi:33685
  49989. #, no-wrap
  49990. msgid "{Scheme Procedure} grub-theme"
  49991. msgstr ""
  49992. #. type: deffn
  49993. #: guix-git/doc/guix.texi:33689
  49994. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  49995. msgstr ""
  49996. #. type: deffn
  49997. #: guix-git/doc/guix.texi:33692
  49998. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  49999. msgstr ""
  50000. #. type: Plain text
  50001. #: guix-git/doc/guix.texi:33696
  50002. msgid "For example, to override the default resolution, you may use something like"
  50003. msgstr ""
  50004. #. type: lisp
  50005. #: guix-git/doc/guix.texi:33704
  50006. #, no-wrap
  50007. msgid ""
  50008. "(bootloader\n"
  50009. " (bootloader-configuration\n"
  50010. " ;; @dots{}\n"
  50011. " (theme (grub-theme\n"
  50012. " (inherit (grub-theme))\n"
  50013. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  50014. msgstr ""
  50015. #. type: section
  50016. #: guix-git/doc/guix.texi:33707
  50017. #, no-wrap
  50018. msgid "Invoking @code{guix system}"
  50019. msgstr ""
  50020. #. type: Plain text
  50021. #: guix-git/doc/guix.texi:33712
  50022. 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:"
  50023. msgstr ""
  50024. #. type: example
  50025. #: guix-git/doc/guix.texi:33715
  50026. #, no-wrap
  50027. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  50028. msgstr ""
  50029. #. type: Plain text
  50030. #: guix-git/doc/guix.texi:33721
  50031. 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:"
  50032. msgstr ""
  50033. #. type: item
  50034. #: guix-git/doc/guix.texi:33723 guix-git/doc/guix.texi:35896
  50035. #, no-wrap
  50036. msgid "search"
  50037. msgstr ""
  50038. #. type: table
  50039. #: guix-git/doc/guix.texi:33726
  50040. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  50041. msgstr ""
  50042. #. type: example
  50043. #: guix-git/doc/guix.texi:33748
  50044. #, no-wrap
  50045. msgid ""
  50046. "$ guix system search console\n"
  50047. "name: console-fonts\n"
  50048. "location: gnu/services/base.scm:806:2\n"
  50049. "extends: shepherd-root\n"
  50050. "description: Install the given fonts on the specified ttys (fonts are per\n"
  50051. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  50052. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  50053. "+ package or any valid argument to `setfont', as in this example:\n"
  50054. "+\n"
  50055. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  50056. "+ (\"tty2\" . (file-append\n"
  50057. "+ font-tamzen\n"
  50058. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  50059. "+ (\"tty3\" . (file-append\n"
  50060. "+ font-terminus\n"
  50061. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  50062. "relevance: 9\n"
  50063. "\n"
  50064. msgstr ""
  50065. #. type: example
  50066. #: guix-git/doc/guix.texi:33754
  50067. #, no-wrap
  50068. msgid ""
  50069. "name: mingetty\n"
  50070. "location: gnu/services/base.scm:1190:2\n"
  50071. "extends: shepherd-root\n"
  50072. "description: Provide console login using the `mingetty' program.\n"
  50073. "relevance: 2\n"
  50074. "\n"
  50075. msgstr ""
  50076. #. type: example
  50077. #: guix-git/doc/guix.texi:33761
  50078. #, no-wrap
  50079. msgid ""
  50080. "name: login\n"
  50081. "location: gnu/services/base.scm:860:2\n"
  50082. "extends: pam\n"
  50083. "description: Provide a console log-in service as specified by its\n"
  50084. "+ configuration value, a `login-configuration' object.\n"
  50085. "relevance: 2\n"
  50086. "\n"
  50087. msgstr ""
  50088. #. type: example
  50089. #: guix-git/doc/guix.texi:33763 guix-git/doc/guix.texi:35949
  50090. #, no-wrap
  50091. msgid "@dots{}\n"
  50092. msgstr ""
  50093. #. type: table
  50094. #: guix-git/doc/guix.texi:33768 guix-git/doc/guix.texi:35954
  50095. 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})."
  50096. msgstr ""
  50097. #. type: item
  50098. #: guix-git/doc/guix.texi:33769 guix-git/doc/guix.texi:35955
  50099. #, no-wrap
  50100. msgid "reconfigure"
  50101. msgstr ""
  50102. #. type: table
  50103. #: guix-git/doc/guix.texi:33774
  50104. 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.}."
  50105. msgstr ""
  50106. #. type: quotation
  50107. #: guix-git/doc/guix.texi:33782
  50108. 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."
  50109. msgstr ""
  50110. #. type: table
  50111. #: guix-git/doc/guix.texi:33790
  50112. 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})."
  50113. msgstr ""
  50114. #. type: table
  50115. #: guix-git/doc/guix.texi:33796
  50116. 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})."
  50117. msgstr ""
  50118. #. type: table
  50119. #: guix-git/doc/guix.texi:33801
  50120. 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."
  50121. msgstr ""
  50122. #. type: cindex
  50123. #: guix-git/doc/guix.texi:33802 guix-git/doc/guix.texi:34127
  50124. #: guix-git/doc/guix.texi:35079
  50125. #, no-wrap
  50126. msgid "provenance tracking, of the operating system"
  50127. msgstr ""
  50128. #. type: table
  50129. #: guix-git/doc/guix.texi:33807
  50130. 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:"
  50131. msgstr ""
  50132. #. type: example
  50133. #: guix-git/doc/guix.texi:33810
  50134. #, no-wrap
  50135. msgid "guix system describe\n"
  50136. msgstr ""
  50137. #. type: table
  50138. #: guix-git/doc/guix.texi:33816
  50139. 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:"
  50140. msgstr ""
  50141. #. type: example
  50142. #: guix-git/doc/guix.texi:33822
  50143. #, no-wrap
  50144. msgid ""
  50145. "guix time-machine \\\n"
  50146. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  50147. " system reconfigure \\\n"
  50148. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  50149. msgstr ""
  50150. #. type: table
  50151. #: guix-git/doc/guix.texi:33828
  50152. 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."
  50153. msgstr ""
  50154. #. type: table
  50155. #: guix-git/doc/guix.texi:33834
  50156. 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}."
  50157. msgstr ""
  50158. #. type: item
  50159. #: guix-git/doc/guix.texi:33835 guix-git/doc/guix.texi:36014
  50160. #, no-wrap
  50161. msgid "switch-generation"
  50162. msgstr ""
  50163. #. type: table
  50164. #: guix-git/doc/guix.texi:33844
  50165. 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."
  50166. msgstr ""
  50167. #. type: table
  50168. #: guix-git/doc/guix.texi:33848
  50169. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  50170. msgstr ""
  50171. #. type: table
  50172. #: guix-git/doc/guix.texi:33852
  50173. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  50174. msgstr ""
  50175. #. type: example
  50176. #: guix-git/doc/guix.texi:33855
  50177. #, no-wrap
  50178. msgid "guix system switch-generation 7\n"
  50179. msgstr ""
  50180. #. type: table
  50181. #: guix-git/doc/guix.texi:33863 guix-git/doc/guix.texi:36033
  50182. 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:"
  50183. msgstr ""
  50184. #. type: example
  50185. #: guix-git/doc/guix.texi:33866
  50186. #, no-wrap
  50187. msgid "guix system switch-generation -- -1\n"
  50188. msgstr ""
  50189. #. type: table
  50190. #: guix-git/doc/guix.texi:33874
  50191. 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."
  50192. msgstr ""
  50193. #. type: table
  50194. #: guix-git/doc/guix.texi:33876 guix-git/doc/guix.texi:36039
  50195. msgid "This action will fail if the specified generation does not exist."
  50196. msgstr ""
  50197. #. type: item
  50198. #: guix-git/doc/guix.texi:33877 guix-git/doc/guix.texi:36040
  50199. #, no-wrap
  50200. msgid "roll-back"
  50201. msgstr ""
  50202. #. type: table
  50203. #: guix-git/doc/guix.texi:33883
  50204. 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}."
  50205. msgstr ""
  50206. #. type: table
  50207. #: guix-git/doc/guix.texi:33887
  50208. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  50209. msgstr ""
  50210. #. type: item
  50211. #: guix-git/doc/guix.texi:33888 guix-git/doc/guix.texi:36046
  50212. #, no-wrap
  50213. msgid "delete-generations"
  50214. msgstr ""
  50215. #. type: cindex
  50216. #: guix-git/doc/guix.texi:33889
  50217. #, no-wrap
  50218. msgid "deleting system generations"
  50219. msgstr ""
  50220. #. type: cindex
  50221. #: guix-git/doc/guix.texi:33890 guix-git/doc/guix.texi:36048
  50222. #, no-wrap
  50223. msgid "saving space"
  50224. msgstr ""
  50225. #. type: table
  50226. #: guix-git/doc/guix.texi:33894
  50227. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  50228. msgstr ""
  50229. #. type: table
  50230. #: guix-git/doc/guix.texi:33898
  50231. 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:"
  50232. msgstr ""
  50233. #. type: example
  50234. #: guix-git/doc/guix.texi:33901
  50235. #, no-wrap
  50236. msgid "guix system delete-generations\n"
  50237. msgstr ""
  50238. #. type: table
  50239. #: guix-git/doc/guix.texi:33905
  50240. 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:"
  50241. msgstr ""
  50242. #. type: example
  50243. #: guix-git/doc/guix.texi:33908
  50244. #, no-wrap
  50245. msgid "guix system delete-generations 2m\n"
  50246. msgstr ""
  50247. #. type: table
  50248. #: guix-git/doc/guix.texi:33913
  50249. 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."
  50250. msgstr ""
  50251. #. type: table
  50252. #: guix-git/doc/guix.texi:33918
  50253. 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."
  50254. msgstr ""
  50255. #. type: item
  50256. #: guix-git/doc/guix.texi:33919
  50257. #, no-wrap
  50258. msgid "init"
  50259. msgstr ""
  50260. #. type: table
  50261. #: guix-git/doc/guix.texi:33923
  50262. 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:"
  50263. msgstr ""
  50264. #. type: example
  50265. #: guix-git/doc/guix.texi:33926
  50266. #, no-wrap
  50267. msgid "guix system init my-os-config.scm /mnt\n"
  50268. msgstr ""
  50269. #. type: table
  50270. #: guix-git/doc/guix.texi:33933
  50271. 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."
  50272. msgstr ""
  50273. #. type: table
  50274. #: guix-git/doc/guix.texi:33937
  50275. msgid "This command also installs bootloader on the targets specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  50276. msgstr ""
  50277. #. type: item
  50278. #: guix-git/doc/guix.texi:33938
  50279. #, no-wrap
  50280. msgid "vm"
  50281. msgstr ""
  50282. #. type: cindex
  50283. #: guix-git/doc/guix.texi:33939 guix-git/doc/guix.texi:34500
  50284. #, no-wrap
  50285. msgid "virtual machine"
  50286. msgstr ""
  50287. #. type: cindex
  50288. #: guix-git/doc/guix.texi:33940
  50289. #, no-wrap
  50290. msgid "VM"
  50291. msgstr ""
  50292. #. type: anchor{#1}
  50293. #: guix-git/doc/guix.texi:33944
  50294. msgid "guix system vm"
  50295. msgstr ""
  50296. #. type: table
  50297. #: guix-git/doc/guix.texi:33944
  50298. msgid "Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM)."
  50299. msgstr ""
  50300. #. type: quotation
  50301. #: guix-git/doc/guix.texi:33952
  50302. 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})."
  50303. msgstr ""
  50304. #. type: table
  50305. #: guix-git/doc/guix.texi:33957
  50306. 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:"
  50307. msgstr ""
  50308. #. type: example
  50309. #: guix-git/doc/guix.texi:33960
  50310. #, no-wrap
  50311. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  50312. msgstr ""
  50313. #. type: table
  50314. #: guix-git/doc/guix.texi:33963
  50315. msgid "The VM shares its store with the host system."
  50316. msgstr ""
  50317. #. type: table
  50318. #: guix-git/doc/guix.texi:33968
  50319. 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."
  50320. msgstr ""
  50321. #. type: table
  50322. #: guix-git/doc/guix.texi:33972
  50323. 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:"
  50324. msgstr ""
  50325. #. type: example
  50326. #: guix-git/doc/guix.texi:33976
  50327. #, no-wrap
  50328. msgid ""
  50329. "guix system vm my-config.scm \\\n"
  50330. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  50331. msgstr ""
  50332. #. type: table
  50333. #: guix-git/doc/guix.texi:33981
  50334. 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."
  50335. msgstr ""
  50336. #. type: table
  50337. #: guix-git/doc/guix.texi:33987
  50338. 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."
  50339. msgstr ""
  50340. #. type: cindex
  50341. #: guix-git/doc/guix.texi:33988
  50342. #, no-wrap
  50343. msgid "System images, creation in various formats"
  50344. msgstr ""
  50345. #. type: cindex
  50346. #: guix-git/doc/guix.texi:33989
  50347. #, no-wrap
  50348. msgid "Creating system images in various formats"
  50349. msgstr ""
  50350. #. type: item
  50351. #: guix-git/doc/guix.texi:33990
  50352. #, no-wrap
  50353. msgid "image"
  50354. msgstr ""
  50355. #. type: itemx
  50356. #: guix-git/doc/guix.texi:33991
  50357. #, no-wrap
  50358. msgid "docker-image"
  50359. msgstr ""
  50360. #. type: table
  50361. #: guix-git/doc/guix.texi:33999
  50362. 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}."
  50363. msgstr ""
  50364. #. type: cindex
  50365. #: guix-git/doc/guix.texi:34000
  50366. #, no-wrap
  50367. msgid "image, creating disk images"
  50368. msgstr ""
  50369. #. type: table
  50370. #: guix-git/doc/guix.texi:34012
  50371. 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:"
  50372. msgstr ""
  50373. #. type: example
  50374. #: guix-git/doc/guix.texi:34020
  50375. #, no-wrap
  50376. msgid ""
  50377. "image=$(guix system image --image-type=qcow2 \\\n"
  50378. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  50379. "cp $image /tmp/my-image.qcow2\n"
  50380. "chmod +w /tmp/my-image.qcow2\n"
  50381. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  50382. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  50383. msgstr ""
  50384. #. type: table
  50385. #: guix-git/doc/guix.texi:34026
  50386. 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:"
  50387. msgstr ""
  50388. #. type: example
  50389. #: guix-git/doc/guix.texi:34029
  50390. #, no-wrap
  50391. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  50392. msgstr ""
  50393. #. type: table
  50394. #: guix-git/doc/guix.texi:34033
  50395. msgid "The @code{--list-image-types} command lists all the available image types."
  50396. msgstr ""
  50397. #. type: cindex
  50398. #: guix-git/doc/guix.texi:34034
  50399. #, no-wrap
  50400. msgid "creating virtual machine images"
  50401. msgstr ""
  50402. #. type: table
  50403. #: guix-git/doc/guix.texi:34043
  50404. 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)."
  50405. msgstr ""
  50406. #. type: cindex
  50407. #: guix-git/doc/guix.texi:34044
  50408. #, no-wrap
  50409. msgid "docker-image, creating docker images"
  50410. msgstr ""
  50411. #. type: table
  50412. #: guix-git/doc/guix.texi:34050
  50413. 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:"
  50414. msgstr ""
  50415. #. type: example
  50416. #: guix-git/doc/guix.texi:34055
  50417. #, no-wrap
  50418. msgid ""
  50419. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  50420. "container_id=\"$(docker create $image_id)\"\n"
  50421. "docker start $container_id\n"
  50422. msgstr ""
  50423. #. type: table
  50424. #: guix-git/doc/guix.texi:34062
  50425. 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}:"
  50426. msgstr ""
  50427. #. type: example
  50428. #: guix-git/doc/guix.texi:34065
  50429. #, no-wrap
  50430. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  50431. msgstr ""
  50432. #. type: table
  50433. #: guix-git/doc/guix.texi:34072
  50434. 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}."
  50435. msgstr ""
  50436. #. type: table
  50437. #: guix-git/doc/guix.texi:34076
  50438. 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."
  50439. msgstr ""
  50440. #. type: table
  50441. #: guix-git/doc/guix.texi:34084
  50442. 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."
  50443. msgstr ""
  50444. #. type: table
  50445. #: guix-git/doc/guix.texi:34088
  50446. 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."
  50447. msgstr ""
  50448. #. type: table
  50449. #: guix-git/doc/guix.texi:34092
  50450. 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:"
  50451. msgstr ""
  50452. #. type: example
  50453. #: guix-git/doc/guix.texi:34096
  50454. #, no-wrap
  50455. msgid ""
  50456. "guix system container my-config.scm \\\n"
  50457. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  50458. msgstr ""
  50459. #. type: quotation
  50460. #: guix-git/doc/guix.texi:34100
  50461. msgid "This option requires Linux-libre 3.19 or newer."
  50462. msgstr ""
  50463. #. type: Plain text
  50464. #: guix-git/doc/guix.texi:34107 guix-git/doc/guix.texi:36097
  50465. 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:"
  50466. msgstr ""
  50467. #. type: table
  50468. #: guix-git/doc/guix.texi:34116
  50469. 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})."
  50470. msgstr ""
  50471. #. type: table
  50472. #: guix-git/doc/guix.texi:34121
  50473. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  50474. msgstr ""
  50475. #. type: table
  50476. #: guix-git/doc/guix.texi:34126
  50477. msgid "Return the derivation file name of the given operating system without building anything."
  50478. msgstr ""
  50479. #. type: table
  50480. #: guix-git/doc/guix.texi:34135
  50481. 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:"
  50482. msgstr ""
  50483. #. type: example
  50484. #: guix-git/doc/guix.texi:34138
  50485. #, no-wrap
  50486. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  50487. msgstr ""
  50488. #. type: table
  50489. #: guix-git/doc/guix.texi:34145
  50490. 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."
  50491. msgstr ""
  50492. #. type: item
  50493. #: guix-git/doc/guix.texi:34146
  50494. #, no-wrap
  50495. msgid "--image-type=@var{type}"
  50496. msgstr ""
  50497. #. type: table
  50498. #: guix-git/doc/guix.texi:34149
  50499. msgid "For the @code{image} action, create an image with given @var{type}."
  50500. msgstr ""
  50501. #. type: table
  50502. #: guix-git/doc/guix.texi:34152
  50503. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  50504. msgstr ""
  50505. #. type: cindex
  50506. #: guix-git/doc/guix.texi:34153
  50507. #, no-wrap
  50508. msgid "ISO-9660 format"
  50509. msgstr ""
  50510. #. type: cindex
  50511. #: guix-git/doc/guix.texi:34154
  50512. #, no-wrap
  50513. msgid "CD image format"
  50514. msgstr ""
  50515. #. type: cindex
  50516. #: guix-git/doc/guix.texi:34155
  50517. #, no-wrap
  50518. msgid "DVD image format"
  50519. msgstr ""
  50520. #. type: table
  50521. #: guix-git/doc/guix.texi:34158
  50522. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  50523. msgstr ""
  50524. #. type: item
  50525. #: guix-git/doc/guix.texi:34159
  50526. #, no-wrap
  50527. msgid "--image-size=@var{size}"
  50528. msgstr ""
  50529. #. type: table
  50530. #: guix-git/doc/guix.texi:34164
  50531. 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})."
  50532. msgstr ""
  50533. #. type: table
  50534. #: guix-git/doc/guix.texi:34168
  50535. 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}."
  50536. msgstr ""
  50537. #. type: table
  50538. #: guix-git/doc/guix.texi:34173
  50539. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  50540. msgstr ""
  50541. #. type: item
  50542. #: guix-git/doc/guix.texi:34179
  50543. #, no-wrap
  50544. msgid "--skip-checks"
  50545. msgstr ""
  50546. #. type: table
  50547. #: guix-git/doc/guix.texi:34181
  50548. msgid "Skip pre-installation safety checks."
  50549. msgstr ""
  50550. #. type: table
  50551. #: guix-git/doc/guix.texi:34188
  50552. 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."
  50553. msgstr ""
  50554. #. type: table
  50555. #: guix-git/doc/guix.texi:34191
  50556. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  50557. msgstr ""
  50558. #. type: table
  50559. #: guix-git/doc/guix.texi:34199
  50560. 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."
  50561. msgstr ""
  50562. #. type: cindex
  50563. #: guix-git/doc/guix.texi:34205
  50564. #, no-wrap
  50565. msgid "on-error"
  50566. msgstr ""
  50567. #. type: cindex
  50568. #: guix-git/doc/guix.texi:34206
  50569. #, no-wrap
  50570. msgid "on-error strategy"
  50571. msgstr ""
  50572. #. type: cindex
  50573. #: guix-git/doc/guix.texi:34207
  50574. #, no-wrap
  50575. msgid "error strategy"
  50576. msgstr ""
  50577. #. type: item
  50578. #: guix-git/doc/guix.texi:34208
  50579. #, no-wrap
  50580. msgid "--on-error=@var{strategy}"
  50581. msgstr ""
  50582. #. type: table
  50583. #: guix-git/doc/guix.texi:34211
  50584. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  50585. msgstr ""
  50586. #. type: item
  50587. #: guix-git/doc/guix.texi:34213
  50588. #, no-wrap
  50589. msgid "nothing-special"
  50590. msgstr ""
  50591. #. type: table
  50592. #: guix-git/doc/guix.texi:34215
  50593. msgid "Report the error concisely and exit. This is the default strategy."
  50594. msgstr ""
  50595. #. type: item
  50596. #: guix-git/doc/guix.texi:34216
  50597. #, no-wrap
  50598. msgid "backtrace"
  50599. msgstr ""
  50600. #. type: table
  50601. #: guix-git/doc/guix.texi:34218
  50602. msgid "Likewise, but also display a backtrace."
  50603. msgstr ""
  50604. #. type: item
  50605. #: guix-git/doc/guix.texi:34219
  50606. #, no-wrap
  50607. msgid "debug"
  50608. msgstr ""
  50609. #. type: table
  50610. #: guix-git/doc/guix.texi:34225
  50611. 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."
  50612. msgstr ""
  50613. #. type: Plain text
  50614. #: guix-git/doc/guix.texi:34232
  50615. 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:"
  50616. msgstr ""
  50617. #. type: item
  50618. #: guix-git/doc/guix.texi:34235 guix-git/doc/guix.texi:36073
  50619. #, no-wrap
  50620. msgid "describe"
  50621. msgstr ""
  50622. #. type: table
  50623. #: guix-git/doc/guix.texi:34238
  50624. msgid "Describe the current system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  50625. msgstr ""
  50626. #. type: item
  50627. #: guix-git/doc/guix.texi:34239 guix-git/doc/guix.texi:36077
  50628. #, no-wrap
  50629. msgid "list-generations"
  50630. msgstr ""
  50631. #. type: table
  50632. #: guix-git/doc/guix.texi:34244
  50633. 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})."
  50634. msgstr ""
  50635. #. type: table
  50636. #: guix-git/doc/guix.texi:34249 guix-git/doc/guix.texi:36087
  50637. 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:"
  50638. msgstr ""
  50639. #. type: example
  50640. #: guix-git/doc/guix.texi:34252
  50641. #, no-wrap
  50642. msgid "$ guix system list-generations 10d\n"
  50643. msgstr ""
  50644. #. type: Plain text
  50645. #: guix-git/doc/guix.texi:34259
  50646. 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:"
  50647. msgstr ""
  50648. #. type: anchor{#1}
  50649. #: guix-git/doc/guix.texi:34261
  50650. msgid "system-extension-graph"
  50651. msgstr ""
  50652. #. type: item
  50653. #: guix-git/doc/guix.texi:34263
  50654. #, no-wrap
  50655. msgid "extension-graph"
  50656. msgstr ""
  50657. #. type: table
  50658. #: guix-git/doc/guix.texi:34270
  50659. 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}}):"
  50660. msgstr ""
  50661. #. type: table
  50662. #: guix-git/doc/guix.texi:34272
  50663. msgid "The command:"
  50664. msgstr ""
  50665. #. type: example
  50666. #: guix-git/doc/guix.texi:34275
  50667. #, no-wrap
  50668. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  50669. msgstr ""
  50670. #. type: table
  50671. #: guix-git/doc/guix.texi:34278
  50672. msgid "shows the extension relations among services."
  50673. msgstr ""
  50674. #. type: anchor{#1}
  50675. #: guix-git/doc/guix.texi:34280
  50676. msgid "system-shepherd-graph"
  50677. msgstr ""
  50678. #. type: item
  50679. #: guix-git/doc/guix.texi:34280
  50680. #, no-wrap
  50681. msgid "shepherd-graph"
  50682. msgstr ""
  50683. #. type: table
  50684. #: guix-git/doc/guix.texi:34285
  50685. 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."
  50686. msgstr ""
  50687. #. type: table
  50688. #: guix-git/doc/guix.texi:34288
  50689. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  50690. msgstr ""
  50691. #. type: section
  50692. #: guix-git/doc/guix.texi:34292
  50693. #, no-wrap
  50694. msgid "Invoking @code{guix deploy}"
  50695. msgstr ""
  50696. #. type: Plain text
  50697. #: guix-git/doc/guix.texi:34300
  50698. 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''."
  50699. msgstr ""
  50700. #. type: quotation
  50701. #: guix-git/doc/guix.texi:34305 guix-git/doc/guix.texi:35386
  50702. 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}!"
  50703. msgstr ""
  50704. #. type: example
  50705. #: guix-git/doc/guix.texi:34309
  50706. #, no-wrap
  50707. msgid "guix deploy @var{file}\n"
  50708. msgstr ""
  50709. #. type: Plain text
  50710. #: guix-git/doc/guix.texi:34313
  50711. 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:"
  50712. msgstr ""
  50713. #. type: lisp
  50714. #: guix-git/doc/guix.texi:34320
  50715. #, no-wrap
  50716. msgid ""
  50717. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  50718. ";; no X11 display server, to a machine with an SSH daemon\n"
  50719. ";; listening on localhost:2222. A configuration such as this\n"
  50720. ";; may be appropriate for virtual machine with ports\n"
  50721. ";; forwarded to the host's loopback interface.\n"
  50722. "\n"
  50723. msgstr ""
  50724. #. type: lisp
  50725. #: guix-git/doc/guix.texi:34323
  50726. #, no-wrap
  50727. msgid ""
  50728. "(use-service-modules networking ssh)\n"
  50729. "(use-package-modules bootloaders)\n"
  50730. "\n"
  50731. msgstr ""
  50732. #. type: lisp
  50733. #: guix-git/doc/guix.texi:34344
  50734. #, no-wrap
  50735. msgid ""
  50736. "(define %system\n"
  50737. " (operating-system\n"
  50738. " (host-name \"gnu-deployed\")\n"
  50739. " (timezone \"Etc/UTC\")\n"
  50740. " (bootloader (bootloader-configuration\n"
  50741. " (bootloader grub-bootloader)\n"
  50742. " (targets '(\"/dev/vda\"))\n"
  50743. " (terminal-outputs '(console))))\n"
  50744. " (file-systems (cons (file-system\n"
  50745. " (mount-point \"/\")\n"
  50746. " (device \"/dev/vda1\")\n"
  50747. " (type \"ext4\"))\n"
  50748. " %base-file-systems))\n"
  50749. " (services\n"
  50750. " (append (list (service dhcp-client-service-type)\n"
  50751. " (service openssh-service-type\n"
  50752. " (openssh-configuration\n"
  50753. " (permit-root-login #t)\n"
  50754. " (allow-empty-passwords? #t))))\n"
  50755. " %base-services))))\n"
  50756. "\n"
  50757. msgstr ""
  50758. #. type: lisp
  50759. #: guix-git/doc/guix.texi:34354
  50760. #, no-wrap
  50761. msgid ""
  50762. "(list (machine\n"
  50763. " (operating-system %system)\n"
  50764. " (environment managed-host-environment-type)\n"
  50765. " (configuration (machine-ssh-configuration\n"
  50766. " (host-name \"localhost\")\n"
  50767. " (system \"x86_64-linux\")\n"
  50768. " (user \"alice\")\n"
  50769. " (identity \"./id_rsa\")\n"
  50770. " (port 2222)))))\n"
  50771. msgstr ""
  50772. #. type: Plain text
  50773. #: guix-git/doc/guix.texi:34367
  50774. 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."
  50775. msgstr ""
  50776. #. type: Plain text
  50777. #: guix-git/doc/guix.texi:34372
  50778. 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:"
  50779. msgstr ""
  50780. #. type: Plain text
  50781. #: guix-git/doc/guix.texi:34380
  50782. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  50783. msgstr ""
  50784. #. type: example
  50785. #: guix-git/doc/guix.texi:34383
  50786. #, no-wrap
  50787. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  50788. msgstr ""
  50789. #. type: Plain text
  50790. #: guix-git/doc/guix.texi:34394
  50791. 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:"
  50792. msgstr ""
  50793. #. type: lisp
  50794. #: guix-git/doc/guix.texi:34398
  50795. #, no-wrap
  50796. msgid ""
  50797. "(use-modules ...\n"
  50798. " (gnu system)) ;for %sudoers-specification\n"
  50799. "\n"
  50800. msgstr ""
  50801. #. type: lisp
  50802. #: guix-git/doc/guix.texi:34400
  50803. #, no-wrap
  50804. msgid ""
  50805. "(define %user \"username\")\n"
  50806. "\n"
  50807. msgstr ""
  50808. #. type: lisp
  50809. #: guix-git/doc/guix.texi:34408
  50810. #, no-wrap
  50811. msgid ""
  50812. "(operating-system\n"
  50813. " ...\n"
  50814. " (sudoers-file\n"
  50815. " (plain-file \"sudoers\"\n"
  50816. " (string-append (plain-file-content %sudoers-specification)\n"
  50817. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  50818. " %user)))))\n"
  50819. "\n"
  50820. msgstr ""
  50821. #. type: Plain text
  50822. #: guix-git/doc/guix.texi:34413
  50823. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  50824. msgstr ""
  50825. #. type: deftp
  50826. #: guix-git/doc/guix.texi:34414
  50827. #, no-wrap
  50828. msgid "{Data Type} machine"
  50829. msgstr ""
  50830. #. type: deftp
  50831. #: guix-git/doc/guix.texi:34417
  50832. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  50833. msgstr ""
  50834. #. type: table
  50835. #: guix-git/doc/guix.texi:34421
  50836. msgid "The object of the operating system configuration to deploy."
  50837. msgstr ""
  50838. #. type: code{#1}
  50839. #: guix-git/doc/guix.texi:34422
  50840. #, no-wrap
  50841. msgid "environment"
  50842. msgstr ""
  50843. #. type: table
  50844. #: guix-git/doc/guix.texi:34424
  50845. msgid "An @code{environment-type} describing how the machine should be provisioned."
  50846. msgstr ""
  50847. #. type: item
  50848. #: guix-git/doc/guix.texi:34425
  50849. #, no-wrap
  50850. msgid "@code{configuration} (default: @code{#f})"
  50851. msgstr ""
  50852. #. type: table
  50853. #: guix-git/doc/guix.texi:34430
  50854. 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."
  50855. msgstr ""
  50856. #. type: deftp
  50857. #: guix-git/doc/guix.texi:34433
  50858. #, no-wrap
  50859. msgid "{Data Type} machine-ssh-configuration"
  50860. msgstr ""
  50861. #. type: deftp
  50862. #: guix-git/doc/guix.texi:34436
  50863. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  50864. msgstr ""
  50865. #. type: item
  50866. #: guix-git/doc/guix.texi:34439
  50867. #, no-wrap
  50868. msgid "@code{build-locally?} (default: @code{#t})"
  50869. msgstr ""
  50870. #. type: table
  50871. #: guix-git/doc/guix.texi:34441
  50872. msgid "If false, system derivations will be built on the machine being deployed to."
  50873. msgstr ""
  50874. #. type: code{#1}
  50875. #: guix-git/doc/guix.texi:34441
  50876. #, no-wrap
  50877. msgid "system"
  50878. msgstr ""
  50879. #. type: table
  50880. #: guix-git/doc/guix.texi:34444
  50881. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  50882. msgstr ""
  50883. #. type: item
  50884. #: guix-git/doc/guix.texi:34444
  50885. #, no-wrap
  50886. msgid "@code{authorize?} (default: @code{#t})"
  50887. msgstr ""
  50888. #. type: table
  50889. #: guix-git/doc/guix.texi:34447
  50890. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  50891. msgstr ""
  50892. #. type: item
  50893. #: guix-git/doc/guix.texi:34448
  50894. #, no-wrap
  50895. msgid "@code{user} (default: @code{\"root\"})"
  50896. msgstr ""
  50897. #. type: item
  50898. #: guix-git/doc/guix.texi:34449
  50899. #, no-wrap
  50900. msgid "@code{identity} (default: @code{#f})"
  50901. msgstr ""
  50902. #. type: table
  50903. #: guix-git/doc/guix.texi:34452
  50904. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  50905. msgstr ""
  50906. #. type: item
  50907. #: guix-git/doc/guix.texi:34453
  50908. #, no-wrap
  50909. msgid "@code{host-key} (default: @code{#f})"
  50910. msgstr ""
  50911. #. type: table
  50912. #: guix-git/doc/guix.texi:34455
  50913. msgid "This should be the SSH host key of the machine, which looks like this:"
  50914. msgstr ""
  50915. #. type: example
  50916. #: guix-git/doc/guix.texi:34458
  50917. #, no-wrap
  50918. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  50919. msgstr ""
  50920. #. type: table
  50921. #: guix-git/doc/guix.texi:34463
  50922. 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."
  50923. msgstr ""
  50924. #. type: item
  50925. #: guix-git/doc/guix.texi:34464
  50926. #, no-wrap
  50927. msgid "@code{allow-downgrades?} (default: @code{#f})"
  50928. msgstr ""
  50929. #. type: table
  50930. #: guix-git/doc/guix.texi:34466
  50931. msgid "Whether to allow potential downgrades."
  50932. msgstr ""
  50933. #. type: table
  50934. #: guix-git/doc/guix.texi:34474
  50935. 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."
  50936. msgstr ""
  50937. #. type: deftp
  50938. #: guix-git/doc/guix.texi:34477
  50939. #, no-wrap
  50940. msgid "{Data Type} digital-ocean-configuration"
  50941. msgstr ""
  50942. #. type: deftp
  50943. #: guix-git/doc/guix.texi:34480
  50944. 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}."
  50945. msgstr ""
  50946. #. type: code{#1}
  50947. #: guix-git/doc/guix.texi:34482
  50948. #, no-wrap
  50949. msgid "ssh-key"
  50950. msgstr ""
  50951. #. type: table
  50952. #: guix-git/doc/guix.texi:34485
  50953. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  50954. msgstr ""
  50955. #. type: code{#1}
  50956. #: guix-git/doc/guix.texi:34485
  50957. #, no-wrap
  50958. msgid "tags"
  50959. msgstr ""
  50960. #. type: table
  50961. #: guix-git/doc/guix.texi:34488
  50962. 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."
  50963. msgstr ""
  50964. #. type: code{#1}
  50965. #: guix-git/doc/guix.texi:34488
  50966. #, no-wrap
  50967. msgid "region"
  50968. msgstr ""
  50969. #. type: table
  50970. #: guix-git/doc/guix.texi:34490
  50971. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  50972. msgstr ""
  50973. #. type: table
  50974. #: guix-git/doc/guix.texi:34492
  50975. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  50976. msgstr ""
  50977. #. type: code{#1}
  50978. #: guix-git/doc/guix.texi:34492
  50979. #, no-wrap
  50980. msgid "enable-ipv6?"
  50981. msgstr ""
  50982. #. type: table
  50983. #: guix-git/doc/guix.texi:34494
  50984. msgid "Whether or not the droplet should be created with IPv6 networking."
  50985. msgstr ""
  50986. #. type: section
  50987. #: guix-git/doc/guix.texi:34498
  50988. #, no-wrap
  50989. msgid "Running Guix in a Virtual Machine"
  50990. msgstr ""
  50991. #. type: Plain text
  50992. #: guix-git/doc/guix.texi:34506
  50993. 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)."
  50994. msgstr ""
  50995. #. type: Plain text
  50996. #: guix-git/doc/guix.texi:34513
  50997. 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})."
  50998. msgstr ""
  50999. #. type: Plain text
  51000. #: guix-git/doc/guix.texi:34516
  51001. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  51002. msgstr ""
  51003. #. type: cindex
  51004. #: guix-git/doc/guix.texi:34517
  51005. #, no-wrap
  51006. msgid "QEMU"
  51007. msgstr ""
  51008. #. type: Plain text
  51009. #: guix-git/doc/guix.texi:34524
  51010. 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:"
  51011. msgstr ""
  51012. #. type: example
  51013. #: guix-git/doc/guix.texi:34531
  51014. #, no-wrap
  51015. msgid ""
  51016. "$ qemu-system-x86_64 \\\n"
  51017. " -nic user,model=virtio-net-pci \\\n"
  51018. " -enable-kvm -m 1024 \\\n"
  51019. " -device virtio-blk,drive=myhd \\\n"
  51020. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  51021. msgstr ""
  51022. #. type: Plain text
  51023. #: guix-git/doc/guix.texi:34534
  51024. msgid "Here is what each of these options means:"
  51025. msgstr ""
  51026. #. type: item
  51027. #: guix-git/doc/guix.texi:34536
  51028. #, no-wrap
  51029. msgid "qemu-system-x86_64"
  51030. msgstr ""
  51031. #. type: table
  51032. #: guix-git/doc/guix.texi:34539
  51033. msgid "This specifies the hardware platform to emulate. This should match the host."
  51034. msgstr ""
  51035. #. type: item
  51036. #: guix-git/doc/guix.texi:34540
  51037. #, no-wrap
  51038. msgid "-nic user,model=virtio-net-pci"
  51039. msgstr ""
  51040. #. type: table
  51041. #: guix-git/doc/guix.texi:34548
  51042. 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}."
  51043. msgstr ""
  51044. #. type: item
  51045. #: guix-git/doc/guix.texi:34549
  51046. #, no-wrap
  51047. msgid "-enable-kvm"
  51048. msgstr ""
  51049. #. type: table
  51050. #: guix-git/doc/guix.texi:34553
  51051. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  51052. msgstr ""
  51053. #. type: item
  51054. #: guix-git/doc/guix.texi:34555
  51055. #, no-wrap
  51056. msgid "-m 1024"
  51057. msgstr ""
  51058. #. type: table
  51059. #: guix-git/doc/guix.texi:34558
  51060. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  51061. msgstr ""
  51062. #. type: item
  51063. #: guix-git/doc/guix.texi:34559
  51064. #, no-wrap
  51065. msgid "-device virtio-blk,drive=myhd"
  51066. msgstr ""
  51067. #. type: table
  51068. #: guix-git/doc/guix.texi:34564
  51069. 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."
  51070. msgstr ""
  51071. #. type: item
  51072. #: guix-git/doc/guix.texi:34565
  51073. #, no-wrap
  51074. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  51075. msgstr ""
  51076. #. type: table
  51077. #: guix-git/doc/guix.texi:34568
  51078. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  51079. msgstr ""
  51080. #. type: Plain text
  51081. #: guix-git/doc/guix.texi:34578
  51082. 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}."
  51083. msgstr ""
  51084. #. type: subsection
  51085. #: guix-git/doc/guix.texi:34579
  51086. #, no-wrap
  51087. msgid "Connecting Through SSH"
  51088. msgstr ""
  51089. #. type: Plain text
  51090. #: guix-git/doc/guix.texi:34587
  51091. 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"
  51092. msgstr ""
  51093. #. type: example
  51094. #: guix-git/doc/guix.texi:34590
  51095. #, no-wrap
  51096. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  51097. msgstr ""
  51098. #. type: Plain text
  51099. #: guix-git/doc/guix.texi:34593
  51100. msgid "To connect to the VM you can run"
  51101. msgstr ""
  51102. #. type: example
  51103. #: guix-git/doc/guix.texi:34596
  51104. #, no-wrap
  51105. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  51106. msgstr ""
  51107. #. type: Plain text
  51108. #: guix-git/doc/guix.texi:34603
  51109. 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."
  51110. msgstr ""
  51111. #. type: quotation
  51112. #: guix-git/doc/guix.texi:34609
  51113. 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."
  51114. msgstr ""
  51115. #. type: subsection
  51116. #: guix-git/doc/guix.texi:34611
  51117. #, no-wrap
  51118. msgid "Using @command{virt-viewer} with Spice"
  51119. msgstr ""
  51120. #. type: Plain text
  51121. #: guix-git/doc/guix.texi:34617
  51122. 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."
  51123. msgstr ""
  51124. #. type: Plain text
  51125. #: guix-git/doc/guix.texi:34620
  51126. 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}:"
  51127. msgstr ""
  51128. #. type: example
  51129. #: guix-git/doc/guix.texi:34626
  51130. #, no-wrap
  51131. msgid ""
  51132. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  51133. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  51134. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\n"
  51135. "name=com.redhat.spice.0\n"
  51136. msgstr ""
  51137. #. type: Plain text
  51138. #: guix-git/doc/guix.texi:34630
  51139. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  51140. msgstr ""
  51141. #. type: Plain text
  51142. #: guix-git/doc/guix.texi:34637
  51143. 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?"
  51144. msgstr ""
  51145. #. type: cindex
  51146. #: guix-git/doc/guix.texi:34649
  51147. #, no-wrap
  51148. msgid "daemons"
  51149. msgstr ""
  51150. #. type: Plain text
  51151. #: guix-git/doc/guix.texi:34662
  51152. 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."
  51153. msgstr ""
  51154. #. type: cindex
  51155. #: guix-git/doc/guix.texi:34663
  51156. #, no-wrap
  51157. msgid "service extensions"
  51158. msgstr ""
  51159. #. type: Plain text
  51160. #: guix-git/doc/guix.texi:34675
  51161. 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})."
  51162. msgstr ""
  51163. #. type: Plain text
  51164. #: guix-git/doc/guix.texi:34679
  51165. 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:"
  51166. msgstr ""
  51167. #. type: Plain text
  51168. #: guix-git/doc/guix.texi:34681
  51169. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  51170. msgstr ""
  51171. #. type: cindex
  51172. #: guix-git/doc/guix.texi:34682
  51173. #, no-wrap
  51174. msgid "system service"
  51175. msgstr ""
  51176. #. type: Plain text
  51177. #: guix-git/doc/guix.texi:34690
  51178. 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."
  51179. msgstr ""
  51180. #. type: cindex
  51181. #: guix-git/doc/guix.texi:34691
  51182. #, no-wrap
  51183. msgid "service types"
  51184. msgstr ""
  51185. #. type: Plain text
  51186. #: guix-git/doc/guix.texi:34697
  51187. 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."
  51188. msgstr ""
  51189. #. type: Plain text
  51190. #: guix-git/doc/guix.texi:34700
  51191. msgid "The following section describes the programming interface for service types and services."
  51192. msgstr ""
  51193. #. type: Plain text
  51194. #: guix-git/doc/guix.texi:34707
  51195. 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}):"
  51196. msgstr ""
  51197. #. type: lisp
  51198. #: guix-git/doc/guix.texi:34717
  51199. #, no-wrap
  51200. msgid ""
  51201. "(define guix-service-type\n"
  51202. " (service-type\n"
  51203. " (name 'guix)\n"
  51204. " (extensions\n"
  51205. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  51206. " (service-extension account-service-type guix-accounts)\n"
  51207. " (service-extension activation-service-type guix-activation)))\n"
  51208. " (default-value (guix-configuration))))\n"
  51209. msgstr ""
  51210. #. type: Plain text
  51211. #: guix-git/doc/guix.texi:34721
  51212. msgid "It defines three things:"
  51213. msgstr ""
  51214. #. type: enumerate
  51215. #: guix-git/doc/guix.texi:34725
  51216. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  51217. msgstr ""
  51218. #. type: enumerate
  51219. #: guix-git/doc/guix.texi:34730
  51220. 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."
  51221. msgstr ""
  51222. #. type: enumerate
  51223. #: guix-git/doc/guix.texi:34733
  51224. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  51225. msgstr ""
  51226. #. type: enumerate
  51227. #: guix-git/doc/guix.texi:34736
  51228. msgid "Optionally, a default value for instances of this type."
  51229. msgstr ""
  51230. #. type: Plain text
  51231. #: guix-git/doc/guix.texi:34739
  51232. msgid "In this example, @code{guix-service-type} extends three services:"
  51233. msgstr ""
  51234. #. type: item
  51235. #: guix-git/doc/guix.texi:34741
  51236. #, no-wrap
  51237. msgid "shepherd-root-service-type"
  51238. msgstr ""
  51239. #. type: table
  51240. #: guix-git/doc/guix.texi:34746
  51241. 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})."
  51242. msgstr ""
  51243. #. type: item
  51244. #: guix-git/doc/guix.texi:34747
  51245. #, no-wrap
  51246. msgid "account-service-type"
  51247. msgstr ""
  51248. #. type: table
  51249. #: guix-git/doc/guix.texi:34752
  51250. 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})."
  51251. msgstr ""
  51252. #. type: item
  51253. #: guix-git/doc/guix.texi:34753
  51254. #, no-wrap
  51255. msgid "activation-service-type"
  51256. msgstr ""
  51257. #. type: table
  51258. #: guix-git/doc/guix.texi:34757
  51259. 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."
  51260. msgstr ""
  51261. #. type: Plain text
  51262. #: guix-git/doc/guix.texi:34760
  51263. msgid "A service of this type is instantiated like this:"
  51264. msgstr ""
  51265. #. type: lisp
  51266. #: guix-git/doc/guix.texi:34766
  51267. #, no-wrap
  51268. msgid ""
  51269. "(service guix-service-type\n"
  51270. " (guix-configuration\n"
  51271. " (build-accounts 5)\n"
  51272. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  51273. msgstr ""
  51274. #. type: Plain text
  51275. #: guix-git/doc/guix.texi:34774
  51276. 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:"
  51277. msgstr ""
  51278. #. type: lisp
  51279. #: guix-git/doc/guix.texi:34777
  51280. #, no-wrap
  51281. msgid "(service guix-service-type)\n"
  51282. msgstr ""
  51283. #. type: Plain text
  51284. #: guix-git/doc/guix.texi:34781
  51285. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  51286. msgstr ""
  51287. #. type: Plain text
  51288. #: guix-git/doc/guix.texi:34785
  51289. msgid "The service type for an @emph{extensible} service looks like this:"
  51290. msgstr ""
  51291. #. type: lisp
  51292. #: guix-git/doc/guix.texi:34792
  51293. #, no-wrap
  51294. msgid ""
  51295. "(define udev-service-type\n"
  51296. " (service-type (name 'udev)\n"
  51297. " (extensions\n"
  51298. " (list (service-extension shepherd-root-service-type\n"
  51299. " udev-shepherd-service)))\n"
  51300. "\n"
  51301. msgstr ""
  51302. #. type: lisp
  51303. #: guix-git/doc/guix.texi:34800
  51304. #, no-wrap
  51305. msgid ""
  51306. " (compose concatenate) ;concatenate the list of rules\n"
  51307. " (extend (lambda (config rules)\n"
  51308. " (match config\n"
  51309. " (($ <udev-configuration> udev initial-rules)\n"
  51310. " (udev-configuration\n"
  51311. " (udev udev) ;the udev package to use\n"
  51312. " (rules (append initial-rules rules)))))))))\n"
  51313. msgstr ""
  51314. #. type: Plain text
  51315. #: guix-git/doc/guix.texi:34806
  51316. 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:"
  51317. msgstr ""
  51318. #. type: item
  51319. #: guix-git/doc/guix.texi:34808
  51320. #, no-wrap
  51321. msgid "compose"
  51322. msgstr ""
  51323. #. type: table
  51324. #: guix-git/doc/guix.texi:34811
  51325. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  51326. msgstr ""
  51327. #. type: table
  51328. #: guix-git/doc/guix.texi:34814
  51329. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  51330. msgstr ""
  51331. #. type: item
  51332. #: guix-git/doc/guix.texi:34815
  51333. #, no-wrap
  51334. msgid "extend"
  51335. msgstr ""
  51336. #. type: table
  51337. #: guix-git/doc/guix.texi:34818
  51338. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  51339. msgstr ""
  51340. #. type: table
  51341. #: guix-git/doc/guix.texi:34823
  51342. 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."
  51343. msgstr ""
  51344. #. type: table
  51345. #: guix-git/doc/guix.texi:34829
  51346. 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})."
  51347. msgstr ""
  51348. #. type: Plain text
  51349. #: guix-git/doc/guix.texi:34834
  51350. 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."
  51351. msgstr ""
  51352. #. type: Plain text
  51353. #: guix-git/doc/guix.texi:34837
  51354. msgid "Still here? The next section provides a reference of the programming interface for services."
  51355. msgstr ""
  51356. #. type: Plain text
  51357. #: guix-git/doc/guix.texi:34845
  51358. 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."
  51359. msgstr ""
  51360. #. type: deffn
  51361. #: guix-git/doc/guix.texi:34846
  51362. #, no-wrap
  51363. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  51364. msgstr ""
  51365. #. type: deffn
  51366. #: guix-git/doc/guix.texi:34850
  51367. 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."
  51368. msgstr ""
  51369. #. type: deffn
  51370. #: guix-git/doc/guix.texi:34854
  51371. 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."
  51372. msgstr ""
  51373. #. type: deffn
  51374. #: guix-git/doc/guix.texi:34856
  51375. msgid "For instance, this:"
  51376. msgstr ""
  51377. #. type: lisp
  51378. #: guix-git/doc/guix.texi:34859
  51379. #, no-wrap
  51380. msgid "(service openssh-service-type)\n"
  51381. msgstr ""
  51382. #. type: deffn
  51383. #: guix-git/doc/guix.texi:34863
  51384. msgid "is equivalent to this:"
  51385. msgstr ""
  51386. #. type: lisp
  51387. #: guix-git/doc/guix.texi:34867
  51388. #, no-wrap
  51389. msgid ""
  51390. "(service openssh-service-type\n"
  51391. " (openssh-configuration))\n"
  51392. msgstr ""
  51393. #. type: deffn
  51394. #: guix-git/doc/guix.texi:34871
  51395. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  51396. msgstr ""
  51397. #. type: deffn
  51398. #: guix-git/doc/guix.texi:34873
  51399. #, no-wrap
  51400. msgid "{Scheme Procedure} service? @var{obj}"
  51401. msgstr ""
  51402. #. type: deffn
  51403. #: guix-git/doc/guix.texi:34875
  51404. msgid "Return true if @var{obj} is a service."
  51405. msgstr ""
  51406. #. type: deffn
  51407. #: guix-git/doc/guix.texi:34877
  51408. #, no-wrap
  51409. msgid "{Scheme Procedure} service-kind @var{service}"
  51410. msgstr ""
  51411. #. type: deffn
  51412. #: guix-git/doc/guix.texi:34879
  51413. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  51414. msgstr ""
  51415. #. type: deffn
  51416. #: guix-git/doc/guix.texi:34881
  51417. #, no-wrap
  51418. msgid "{Scheme Procedure} service-value @var{service}"
  51419. msgstr ""
  51420. #. type: deffn
  51421. #: guix-git/doc/guix.texi:34884
  51422. msgid "Return the value associated with @var{service}. It represents its parameters."
  51423. msgstr ""
  51424. #. type: Plain text
  51425. #: guix-git/doc/guix.texi:34887
  51426. msgid "Here is an example of how a service is created and manipulated:"
  51427. msgstr ""
  51428. #. type: lisp
  51429. #: guix-git/doc/guix.texi:34896
  51430. #, no-wrap
  51431. msgid ""
  51432. "(define s\n"
  51433. " (service nginx-service-type\n"
  51434. " (nginx-configuration\n"
  51435. " (nginx nginx)\n"
  51436. " (log-directory log-directory)\n"
  51437. " (run-directory run-directory)\n"
  51438. " (file config-file))))\n"
  51439. "\n"
  51440. msgstr ""
  51441. #. type: lisp
  51442. #: guix-git/doc/guix.texi:34899
  51443. #, no-wrap
  51444. msgid ""
  51445. "(service? s)\n"
  51446. "@result{} #t\n"
  51447. "\n"
  51448. msgstr ""
  51449. #. type: lisp
  51450. #: guix-git/doc/guix.texi:34902
  51451. #, no-wrap
  51452. msgid ""
  51453. "(eq? (service-kind s) nginx-service-type)\n"
  51454. "@result{} #t\n"
  51455. msgstr ""
  51456. #. type: Plain text
  51457. #: guix-git/doc/guix.texi:34912
  51458. 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."
  51459. msgstr ""
  51460. #. type: deffn
  51461. #: guix-git/doc/guix.texi:34913
  51462. #, no-wrap
  51463. msgid "{Scheme Syntax} modify-services @var{services} @"
  51464. msgstr ""
  51465. #. type: deffn
  51466. #: guix-git/doc/guix.texi:34915
  51467. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  51468. msgstr ""
  51469. #. type: deffn
  51470. #: guix-git/doc/guix.texi:34918
  51471. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  51472. msgstr ""
  51473. #. type: example
  51474. #: guix-git/doc/guix.texi:34921
  51475. #, no-wrap
  51476. msgid "(@var{type} @var{variable} => @var{body})\n"
  51477. msgstr ""
  51478. #. type: deffn
  51479. #: guix-git/doc/guix.texi:34928
  51480. 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}."
  51481. msgstr ""
  51482. #. type: deffn
  51483. #: guix-git/doc/guix.texi:34935
  51484. 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."
  51485. msgstr ""
  51486. #. type: deffn
  51487. #: guix-git/doc/guix.texi:34937
  51488. msgid "@xref{Using the Configuration System}, for example usage."
  51489. msgstr ""
  51490. #. type: Plain text
  51491. #: guix-git/doc/guix.texi:34944
  51492. 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."
  51493. msgstr ""
  51494. #. type: deftp
  51495. #: guix-git/doc/guix.texi:34945
  51496. #, no-wrap
  51497. msgid "{Data Type} service-type"
  51498. msgstr ""
  51499. #. type: cindex
  51500. #: guix-git/doc/guix.texi:34946
  51501. #, no-wrap
  51502. msgid "service type"
  51503. msgstr ""
  51504. #. type: deftp
  51505. #: guix-git/doc/guix.texi:34949
  51506. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  51507. msgstr ""
  51508. #. type: table
  51509. #: guix-git/doc/guix.texi:34953
  51510. msgid "This is a symbol, used only to simplify inspection and debugging."
  51511. msgstr ""
  51512. #. type: code{#1}
  51513. #: guix-git/doc/guix.texi:34954
  51514. #, no-wrap
  51515. msgid "extensions"
  51516. msgstr ""
  51517. #. type: table
  51518. #: guix-git/doc/guix.texi:34956
  51519. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  51520. msgstr ""
  51521. #. type: item
  51522. #: guix-git/doc/guix.texi:34957
  51523. #, no-wrap
  51524. msgid "@code{compose} (default: @code{#f})"
  51525. msgstr ""
  51526. #. type: table
  51527. #: guix-git/doc/guix.texi:34961
  51528. 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."
  51529. msgstr ""
  51530. #. type: table
  51531. #: guix-git/doc/guix.texi:34965
  51532. 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."
  51533. msgstr ""
  51534. #. type: item
  51535. #: guix-git/doc/guix.texi:34966
  51536. #, no-wrap
  51537. msgid "@code{extend} (default: @code{#f})"
  51538. msgstr ""
  51539. #. type: table
  51540. #: guix-git/doc/guix.texi:34968
  51541. msgid "If this is @code{#f}, services of this type cannot be extended."
  51542. msgstr ""
  51543. #. type: table
  51544. #: guix-git/doc/guix.texi:34974
  51545. 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."
  51546. msgstr ""
  51547. #. type: table
  51548. #: guix-git/doc/guix.texi:34980
  51549. 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})."
  51550. msgstr ""
  51551. #. type: item
  51552. #: guix-git/doc/guix.texi:34981
  51553. #, no-wrap
  51554. msgid "@code{default-value} (default: @code{&no-default-value})"
  51555. msgstr ""
  51556. #. type: table
  51557. #: guix-git/doc/guix.texi:34984
  51558. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  51559. msgstr ""
  51560. #. type: lisp
  51561. #: guix-git/doc/guix.texi:34987
  51562. #, no-wrap
  51563. msgid "(service @var{type})\n"
  51564. msgstr ""
  51565. #. type: table
  51566. #: guix-git/doc/guix.texi:34991
  51567. msgid "The returned service in this case has the default value specified by @var{type}."
  51568. msgstr ""
  51569. #. type: deftp
  51570. #: guix-git/doc/guix.texi:34994
  51571. msgid "@xref{Service Types and Services}, for examples."
  51572. msgstr ""
  51573. #. type: deffn
  51574. #: guix-git/doc/guix.texi:34996
  51575. #, no-wrap
  51576. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  51577. msgstr ""
  51578. #. type: deffn
  51579. #: guix-git/doc/guix.texi:35002
  51580. 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."
  51581. msgstr ""
  51582. #. type: deffn
  51583. #: guix-git/doc/guix.texi:35004
  51584. #, no-wrap
  51585. msgid "{Scheme Procedure} service-extension? @var{obj}"
  51586. msgstr ""
  51587. #. type: deffn
  51588. #: guix-git/doc/guix.texi:35006
  51589. msgid "Return true if @var{obj} is a service extension."
  51590. msgstr ""
  51591. #. type: Plain text
  51592. #: guix-git/doc/guix.texi:35012
  51593. 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."
  51594. msgstr ""
  51595. #. type: deffn
  51596. #: guix-git/doc/guix.texi:35013
  51597. #, no-wrap
  51598. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  51599. msgstr ""
  51600. #. type: deffn
  51601. #: guix-git/doc/guix.texi:35017
  51602. 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."
  51603. msgstr ""
  51604. #. type: deffn
  51605. #: guix-git/doc/guix.texi:35020
  51606. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  51607. msgstr ""
  51608. #. type: lisp
  51609. #: guix-git/doc/guix.texi:35024
  51610. #, no-wrap
  51611. msgid ""
  51612. "(simple-service 'my-mcron-job mcron-service-type\n"
  51613. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  51614. msgstr ""
  51615. #. type: Plain text
  51616. #: guix-git/doc/guix.texi:35034
  51617. 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."
  51618. msgstr ""
  51619. #. type: deffn
  51620. #: guix-git/doc/guix.texi:35035
  51621. #, no-wrap
  51622. msgid "{Scheme Procedure} fold-services @var{services} @"
  51623. msgstr ""
  51624. #. type: deffn
  51625. #: guix-git/doc/guix.texi:35039
  51626. 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."
  51627. msgstr ""
  51628. #. type: Plain text
  51629. #: guix-git/doc/guix.texi:35043
  51630. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  51631. msgstr ""
  51632. #. type: defvr
  51633. #: guix-git/doc/guix.texi:35044
  51634. #, no-wrap
  51635. msgid "{Scheme Variable} system-service-type"
  51636. msgstr ""
  51637. #. type: defvr
  51638. #: guix-git/doc/guix.texi:35047
  51639. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  51640. msgstr ""
  51641. #. type: defvr
  51642. #: guix-git/doc/guix.texi:35049
  51643. #, no-wrap
  51644. msgid "{Scheme Variable} boot-service-type"
  51645. msgstr ""
  51646. #. type: defvr
  51647. #: guix-git/doc/guix.texi:35052
  51648. 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."
  51649. msgstr ""
  51650. #. type: defvr
  51651. #: guix-git/doc/guix.texi:35054
  51652. #, no-wrap
  51653. msgid "{Scheme Variable} etc-service-type"
  51654. msgstr ""
  51655. #. type: defvr
  51656. #: guix-git/doc/guix.texi:35058
  51657. 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:"
  51658. msgstr ""
  51659. #. type: lisp
  51660. #: guix-git/doc/guix.texi:35061
  51661. #, no-wrap
  51662. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  51663. msgstr ""
  51664. #. type: defvr
  51665. #: guix-git/doc/guix.texi:35065
  51666. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  51667. msgstr ""
  51668. #. type: defvr
  51669. #: guix-git/doc/guix.texi:35067
  51670. #, no-wrap
  51671. msgid "{Scheme Variable} setuid-program-service-type"
  51672. msgstr ""
  51673. #. type: defvr
  51674. #: guix-git/doc/guix.texi:35071
  51675. 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})."
  51676. msgstr ""
  51677. #. type: defvr
  51678. #: guix-git/doc/guix.texi:35073
  51679. #, no-wrap
  51680. msgid "{Scheme Variable} profile-service-type"
  51681. msgstr ""
  51682. #. type: defvr
  51683. #: guix-git/doc/guix.texi:35077
  51684. 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."
  51685. msgstr ""
  51686. #. type: anchor{#1}
  51687. #: guix-git/doc/guix.texi:35081
  51688. msgid "provenance-service-type"
  51689. msgstr ""
  51690. #. type: defvr
  51691. #: guix-git/doc/guix.texi:35081
  51692. #, no-wrap
  51693. msgid "{Scheme Variable} provenance-service-type"
  51694. msgstr ""
  51695. #. type: defvr
  51696. #: guix-git/doc/guix.texi:35085
  51697. 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}:"
  51698. msgstr ""
  51699. #. type: item
  51700. #: guix-git/doc/guix.texi:35087
  51701. #, no-wrap
  51702. msgid "channels.scm"
  51703. msgstr ""
  51704. #. type: table
  51705. #: guix-git/doc/guix.texi:35092
  51706. 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})."
  51707. msgstr ""
  51708. #. type: item
  51709. #: guix-git/doc/guix.texi:35093
  51710. #, no-wrap
  51711. msgid "configuration.scm"
  51712. msgstr ""
  51713. #. type: table
  51714. #: guix-git/doc/guix.texi:35098
  51715. 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."
  51716. msgstr ""
  51717. #. type: item
  51718. #: guix-git/doc/guix.texi:35099
  51719. #, no-wrap
  51720. msgid "provenance"
  51721. msgstr ""
  51722. #. type: table
  51723. #: guix-git/doc/guix.texi:35102
  51724. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  51725. msgstr ""
  51726. #. type: defvr
  51727. #: guix-git/doc/guix.texi:35106
  51728. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  51729. msgstr ""
  51730. #. type: quotation
  51731. #: guix-git/doc/guix.texi:35107
  51732. #, no-wrap
  51733. msgid "Caveats"
  51734. msgstr ""
  51735. #. type: quotation
  51736. #: guix-git/doc/guix.texi:35114
  51737. 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."
  51738. msgstr ""
  51739. #. type: quotation
  51740. #: guix-git/doc/guix.texi:35122
  51741. 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."
  51742. msgstr ""
  51743. #. type: defvr
  51744. #: guix-git/doc/guix.texi:35127
  51745. 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}."
  51746. msgstr ""
  51747. #. type: defvr
  51748. #: guix-git/doc/guix.texi:35129
  51749. #, no-wrap
  51750. msgid "{Scheme Variable} linux-loadable-module-service-type"
  51751. msgstr ""
  51752. #. type: defvr
  51753. #: guix-git/doc/guix.texi:35133
  51754. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  51755. msgstr ""
  51756. #. type: defvr
  51757. #: guix-git/doc/guix.texi:35136
  51758. msgid "This service type is intended to be extended by other service types, such as below:"
  51759. msgstr ""
  51760. #. type: lisp
  51761. #: guix-git/doc/guix.texi:35142
  51762. #, no-wrap
  51763. msgid ""
  51764. "(simple-service 'installing-module\n"
  51765. " linux-loadable-module-service-type\n"
  51766. " (list module-to-install-1\n"
  51767. " module-to-install-2))\n"
  51768. msgstr ""
  51769. #. type: defvr
  51770. #: guix-git/doc/guix.texi:35146
  51771. 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."
  51772. msgstr ""
  51773. #. type: cindex
  51774. #: guix-git/doc/guix.texi:35151 guix-git/doc/guix.texi:35847
  51775. #, no-wrap
  51776. msgid "shepherd services"
  51777. msgstr ""
  51778. #. type: cindex
  51779. #: guix-git/doc/guix.texi:35152
  51780. #, no-wrap
  51781. msgid "PID 1"
  51782. msgstr ""
  51783. #. type: cindex
  51784. #: guix-git/doc/guix.texi:35153
  51785. #, no-wrap
  51786. msgid "init system"
  51787. msgstr ""
  51788. #. type: Plain text
  51789. #: guix-git/doc/guix.texi:35159
  51790. 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})."
  51791. msgstr ""
  51792. #. type: Plain text
  51793. #: guix-git/doc/guix.texi:35165
  51794. 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:"
  51795. msgstr ""
  51796. #. type: Plain text
  51797. #: guix-git/doc/guix.texi:35167
  51798. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  51799. msgstr ""
  51800. #. type: Plain text
  51801. #: guix-git/doc/guix.texi:35171
  51802. 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}})."
  51803. msgstr ""
  51804. #. type: Plain text
  51805. #: guix-git/doc/guix.texi:35175
  51806. 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."
  51807. msgstr ""
  51808. #. type: deftp
  51809. #: guix-git/doc/guix.texi:35176
  51810. #, no-wrap
  51811. msgid "{Data Type} shepherd-service"
  51812. msgstr ""
  51813. #. type: deftp
  51814. #: guix-git/doc/guix.texi:35178
  51815. msgid "The data type representing a service managed by the Shepherd."
  51816. msgstr ""
  51817. #. type: code{#1}
  51818. #: guix-git/doc/guix.texi:35180
  51819. #, no-wrap
  51820. msgid "provision"
  51821. msgstr ""
  51822. #. type: table
  51823. #: guix-git/doc/guix.texi:35182
  51824. msgid "This is a list of symbols denoting what the service provides."
  51825. msgstr ""
  51826. #. type: table
  51827. #: guix-git/doc/guix.texi:35187
  51828. 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."
  51829. msgstr ""
  51830. #. type: item
  51831. #: guix-git/doc/guix.texi:35188
  51832. #, no-wrap
  51833. msgid "@code{requirement} (default: @code{'()})"
  51834. msgstr ""
  51835. #. type: table
  51836. #: guix-git/doc/guix.texi:35190
  51837. msgid "List of symbols denoting the Shepherd services this one depends on."
  51838. msgstr ""
  51839. #. type: cindex
  51840. #: guix-git/doc/guix.texi:35191
  51841. #, no-wrap
  51842. msgid "one-shot services, for the Shepherd"
  51843. msgstr ""
  51844. #. type: table
  51845. #: guix-git/doc/guix.texi:35196
  51846. 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."
  51847. msgstr ""
  51848. #. type: item
  51849. #: guix-git/doc/guix.texi:35197
  51850. #, no-wrap
  51851. msgid "@code{respawn?} (default: @code{#t})"
  51852. msgstr ""
  51853. #. type: table
  51854. #: guix-git/doc/guix.texi:35200
  51855. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  51856. msgstr ""
  51857. #. type: code{#1}
  51858. #: guix-git/doc/guix.texi:35201
  51859. #, no-wrap
  51860. msgid "start"
  51861. msgstr ""
  51862. #. type: itemx
  51863. #: guix-git/doc/guix.texi:35202
  51864. #, no-wrap
  51865. msgid "@code{stop} (default: @code{#~(const #f)})"
  51866. msgstr ""
  51867. #. type: table
  51868. #: guix-git/doc/guix.texi:35208
  51869. 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})."
  51870. msgstr ""
  51871. #. type: item
  51872. #: guix-git/doc/guix.texi:35209
  51873. #, no-wrap
  51874. msgid "@code{actions} (default: @code{'()})"
  51875. msgstr ""
  51876. #. type: cindex
  51877. #: guix-git/doc/guix.texi:35210
  51878. #, no-wrap
  51879. msgid "actions, of Shepherd services"
  51880. msgstr ""
  51881. #. type: table
  51882. #: guix-git/doc/guix.texi:35215
  51883. 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:"
  51884. msgstr ""
  51885. #. type: example
  51886. #: guix-git/doc/guix.texi:35218
  51887. #, no-wrap
  51888. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  51889. msgstr ""
  51890. #. type: item
  51891. #: guix-git/doc/guix.texi:35220
  51892. #, no-wrap
  51893. msgid "@code{auto-start?} (default: @code{#t})"
  51894. msgstr ""
  51895. #. type: table
  51896. #: guix-git/doc/guix.texi:35223
  51897. 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}."
  51898. msgstr ""
  51899. #. type: table
  51900. #: guix-git/doc/guix.texi:35226
  51901. msgid "A documentation string, as shown when running:"
  51902. msgstr ""
  51903. #. type: example
  51904. #: guix-git/doc/guix.texi:35229
  51905. #, no-wrap
  51906. msgid "herd doc @var{service-name}\n"
  51907. msgstr ""
  51908. #. type: table
  51909. #: guix-git/doc/guix.texi:35233
  51910. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  51911. msgstr ""
  51912. #. type: item
  51913. #: guix-git/doc/guix.texi:35234
  51914. #, no-wrap
  51915. msgid "@code{modules} (default: @code{%default-modules})"
  51916. msgstr ""
  51917. #. type: table
  51918. #: guix-git/doc/guix.texi:35237
  51919. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  51920. msgstr ""
  51921. #. type: Plain text
  51922. #: guix-git/doc/guix.texi:35245
  51923. 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}):"
  51924. msgstr ""
  51925. #. type: example
  51926. #: guix-git/doc/guix.texi:35257
  51927. #, no-wrap
  51928. msgid ""
  51929. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  51930. " (shepherd-service\n"
  51931. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  51932. " (provision '(syslogd))\n"
  51933. " (requirement '(user-processes))\n"
  51934. " (start #~(make-forkexec-constructor\n"
  51935. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  51936. " \"--rcfile\" #$config)\n"
  51937. " #:pid-file \"/var/run/syslog.pid\"))\n"
  51938. " (stop #~(make-kill-destructor))))\n"
  51939. msgstr ""
  51940. #. type: Plain text
  51941. #: guix-git/doc/guix.texi:35272
  51942. 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})."
  51943. msgstr ""
  51944. #. type: deftp
  51945. #: guix-git/doc/guix.texi:35273
  51946. #, no-wrap
  51947. msgid "{Data Type} shepherd-action"
  51948. msgstr ""
  51949. #. type: deftp
  51950. #: guix-git/doc/guix.texi:35276
  51951. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  51952. msgstr ""
  51953. #. type: table
  51954. #: guix-git/doc/guix.texi:35280
  51955. msgid "Symbol naming the action."
  51956. msgstr ""
  51957. #. type: table
  51958. #: guix-git/doc/guix.texi:35283
  51959. msgid "This is a documentation string for the action. It can be viewed by running:"
  51960. msgstr ""
  51961. #. type: example
  51962. #: guix-git/doc/guix.texi:35286
  51963. #, no-wrap
  51964. msgid "herd doc @var{service} action @var{action}\n"
  51965. msgstr ""
  51966. #. type: item
  51967. #: guix-git/doc/guix.texi:35288
  51968. #, no-wrap
  51969. msgid "procedure"
  51970. msgstr ""
  51971. #. type: table
  51972. #: guix-git/doc/guix.texi:35292
  51973. 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})."
  51974. msgstr ""
  51975. #. type: deftp
  51976. #: guix-git/doc/guix.texi:35296
  51977. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  51978. msgstr ""
  51979. #. type: lisp
  51980. #: guix-git/doc/guix.texi:35305
  51981. #, no-wrap
  51982. msgid ""
  51983. "(shepherd-action\n"
  51984. " (name 'say-hello)\n"
  51985. " (documentation \"Say hi!\")\n"
  51986. " (procedure #~(lambda (running . args)\n"
  51987. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  51988. " args)\n"
  51989. " #t)))\n"
  51990. msgstr ""
  51991. #. type: deftp
  51992. #: guix-git/doc/guix.texi:35308
  51993. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  51994. msgstr ""
  51995. #. type: example
  51996. #: guix-git/doc/guix.texi:35314
  51997. #, no-wrap
  51998. msgid ""
  51999. "# herd say-hello example\n"
  52000. "Hello, friend! arguments: ()\n"
  52001. "# herd say-hello example a b c\n"
  52002. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  52003. msgstr ""
  52004. #. type: deftp
  52005. #: guix-git/doc/guix.texi:35319
  52006. 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."
  52007. msgstr ""
  52008. #. type: defvr
  52009. #: guix-git/doc/guix.texi:35321
  52010. #, no-wrap
  52011. msgid "{Scheme Variable} shepherd-root-service-type"
  52012. msgstr ""
  52013. #. type: defvr
  52014. #: guix-git/doc/guix.texi:35323
  52015. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  52016. msgstr ""
  52017. #. type: defvr
  52018. #: guix-git/doc/guix.texi:35328 guix-git/doc/guix.texi:35859
  52019. 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."
  52020. msgstr ""
  52021. #. type: deftp
  52022. #: guix-git/doc/guix.texi:35330 guix-git/doc/guix.texi:35861
  52023. #, no-wrap
  52024. msgid "{Data Type} shepherd-configuration"
  52025. msgstr ""
  52026. #. type: deftp
  52027. #: guix-git/doc/guix.texi:35332 guix-git/doc/guix.texi:35863
  52028. msgid "This data type represents the Shepherd's configuration."
  52029. msgstr ""
  52030. #. type: item
  52031. #: guix-git/doc/guix.texi:35334 guix-git/doc/guix.texi:35865
  52032. #, no-wrap
  52033. msgid "shepherd (default: @code{shepherd})"
  52034. msgstr ""
  52035. #. type: table
  52036. #: guix-git/doc/guix.texi:35336 guix-git/doc/guix.texi:35867
  52037. msgid "The Shepherd package to use."
  52038. msgstr ""
  52039. #. type: item
  52040. #: guix-git/doc/guix.texi:35337 guix-git/doc/guix.texi:35871
  52041. #, no-wrap
  52042. msgid "services (default: @code{'()})"
  52043. msgstr ""
  52044. #. type: table
  52045. #: guix-git/doc/guix.texi:35341 guix-git/doc/guix.texi:35875
  52046. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  52047. msgstr ""
  52048. #. type: Plain text
  52049. #: guix-git/doc/guix.texi:35346
  52050. msgid "The following example specifies the Shepherd package for the operating system:"
  52051. msgstr ""
  52052. #. type: lisp
  52053. #: guix-git/doc/guix.texi:35361
  52054. #, no-wrap
  52055. msgid ""
  52056. "(operating-system\n"
  52057. " ;; ...\n"
  52058. " (services (append (list openssh-service-type))\n"
  52059. " ;; ...\n"
  52060. " %desktop-services)\n"
  52061. " ;; ...\n"
  52062. " ;; Use own Shepherd package.\n"
  52063. " (essential-services\n"
  52064. " (modify-services (operating-system-default-essential-services\n"
  52065. " this-operating-system)\n"
  52066. " (shepherd-root-service-type config => (shepherd-configuration\n"
  52067. " (inherit config)\n"
  52068. " (shepherd my-shepherd))))))\n"
  52069. msgstr ""
  52070. #. type: defvr
  52071. #: guix-git/doc/guix.texi:35363
  52072. #, no-wrap
  52073. msgid "{Scheme Variable} %shepherd-root-service"
  52074. msgstr ""
  52075. #. type: defvr
  52076. #: guix-git/doc/guix.texi:35365
  52077. msgid "This service represents PID@tie{}1."
  52078. msgstr ""
  52079. #. type: cindex
  52080. #: guix-git/doc/guix.texi:35369
  52081. #, no-wrap
  52082. msgid "home configuration"
  52083. msgstr ""
  52084. #. type: Plain text
  52085. #: guix-git/doc/guix.texi:35381
  52086. 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})."
  52087. msgstr ""
  52088. #. type: Plain text
  52089. #: guix-git/doc/guix.texi:35398
  52090. 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."
  52091. msgstr ""
  52092. #. type: Plain text
  52093. #: guix-git/doc/guix.texi:35401
  52094. msgid "Using Guix for managing home environments provides a number of advantages:"
  52095. msgstr ""
  52096. #. type: item
  52097. #: guix-git/doc/guix.texi:35404
  52098. #, no-wrap
  52099. msgid "All software can be configured in one language (Guile Scheme),"
  52100. msgstr ""
  52101. #. type: itemize
  52102. #: guix-git/doc/guix.texi:35407
  52103. msgid "this gives users the ability to share values between configurations of different programs."
  52104. msgstr ""
  52105. #. type: item
  52106. #: guix-git/doc/guix.texi:35408
  52107. #, no-wrap
  52108. msgid "A well-defined home environment is self-contained and can be"
  52109. msgstr ""
  52110. #. type: itemize
  52111. #: guix-git/doc/guix.texi:35411
  52112. msgid "created in a declarative and reproducible way---there is no need to grab external binaries or manually edit some configuration file."
  52113. msgstr ""
  52114. #. type: item
  52115. #: guix-git/doc/guix.texi:35412
  52116. #, no-wrap
  52117. msgid "After every @command{guix home reconfigure} invocation, a new home"
  52118. msgstr ""
  52119. #. type: itemize
  52120. #: guix-git/doc/guix.texi:35416
  52121. 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."
  52122. msgstr ""
  52123. #. type: item
  52124. #: guix-git/doc/guix.texi:35417
  52125. #, no-wrap
  52126. msgid "It is possible to manage stateful data with Guix Home, this"
  52127. msgstr ""
  52128. #. type: itemize
  52129. #: guix-git/doc/guix.texi:35422
  52130. 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."
  52131. msgstr ""
  52132. #. type: section
  52133. #: guix-git/doc/guix.texi:35430 guix-git/doc/guix.texi:35432
  52134. #: guix-git/doc/guix.texi:35433
  52135. #, no-wrap
  52136. msgid "Declaring the Home Environment"
  52137. msgstr ""
  52138. #. type: menuentry
  52139. #: guix-git/doc/guix.texi:35430
  52140. msgid "Customizing your Home."
  52141. msgstr ""
  52142. #. type: section
  52143. #: guix-git/doc/guix.texi:35430 guix-git/doc/guix.texi:35468
  52144. #: guix-git/doc/guix.texi:35469
  52145. #, no-wrap
  52146. msgid "Configuring the Shell"
  52147. msgstr ""
  52148. #. type: menuentry
  52149. #: guix-git/doc/guix.texi:35430
  52150. msgid "Enabling home environment."
  52151. msgstr ""
  52152. #. type: section
  52153. #: guix-git/doc/guix.texi:35430 guix-git/doc/guix.texi:35515
  52154. #: guix-git/doc/guix.texi:35516
  52155. #, no-wrap
  52156. msgid "Home Services"
  52157. msgstr ""
  52158. #. type: menuentry
  52159. #: guix-git/doc/guix.texi:35430
  52160. msgid "Specifying home services."
  52161. msgstr ""
  52162. #. type: menuentry
  52163. #: guix-git/doc/guix.texi:35430
  52164. msgid "Instantiating a home configuration."
  52165. msgstr ""
  52166. #. type: Plain text
  52167. #: guix-git/doc/guix.texi:35442
  52168. 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."
  52169. msgstr ""
  52170. #. type: quotation
  52171. #: guix-git/doc/guix.texi:35448
  52172. 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})."
  52173. msgstr ""
  52174. #. type: findex
  52175. #: guix-git/doc/guix.texi:35450
  52176. #, no-wrap
  52177. msgid "home-environment"
  52178. msgstr ""
  52179. #. type: include
  52180. #: guix-git/doc/guix.texi:35452
  52181. #, no-wrap
  52182. msgid "he-config-bare-bones.scm"
  52183. msgstr ""
  52184. #. type: Plain text
  52185. #: guix-git/doc/guix.texi:35459
  52186. 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."
  52187. msgstr ""
  52188. #. type: Plain text
  52189. #: guix-git/doc/guix.texi:35467
  52190. 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."
  52191. msgstr ""
  52192. #. type: Plain text
  52193. #: guix-git/doc/guix.texi:35472
  52194. msgid "This section is safe to skip if your shell or shells are managed by Guix Home. Otherwise, read it carefully."
  52195. msgstr ""
  52196. #. type: Plain text
  52197. #: guix-git/doc/guix.texi:35479
  52198. 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}."
  52199. msgstr ""
  52200. #. type: Plain text
  52201. #: guix-git/doc/guix.texi:35486
  52202. 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}."
  52203. msgstr ""
  52204. #. type: Plain text
  52205. #: guix-git/doc/guix.texi:35489
  52206. msgid "Guix Home will always create @file{~/.profile}, which contains the following lines:"
  52207. msgstr ""
  52208. #. type: example
  52209. #: guix-git/doc/guix.texi:35494
  52210. #, no-wrap
  52211. msgid ""
  52212. "HOME_ENVIRONMENT=$HOME/.guix-home\n"
  52213. ". $HOME_ENVIRONMENT/setup-environment\n"
  52214. "$HOME_ENVIRONMENT/on-first-login\n"
  52215. msgstr ""
  52216. #. type: Plain text
  52217. #: guix-git/doc/guix.texi:35504
  52218. 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."
  52219. msgstr ""
  52220. #. type: Plain text
  52221. #: guix-git/doc/guix.texi:35509
  52222. 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}."
  52223. msgstr ""
  52224. #. type: quotation
  52225. #: guix-git/doc/guix.texi:35513
  52226. msgid "This step is only required if your shell is NOT managed by Guix Home. Otherwise, everything will be done automatically."
  52227. msgstr ""
  52228. #. type: cindex
  52229. #: guix-git/doc/guix.texi:35517
  52230. #, no-wrap
  52231. msgid "home services"
  52232. msgstr ""
  52233. #. type: Plain text
  52234. #: guix-git/doc/guix.texi:35526
  52235. 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."
  52236. msgstr ""
  52237. #. type: Plain text
  52238. #: guix-git/doc/guix.texi:35534
  52239. 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}}."
  52240. msgstr ""
  52241. #. type: Plain text
  52242. #: guix-git/doc/guix.texi:35545
  52243. 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)}."
  52244. msgstr ""
  52245. #. type: subsection
  52246. #: guix-git/doc/guix.texi:35551 guix-git/doc/guix.texi:35554
  52247. #: guix-git/doc/guix.texi:35555
  52248. #, no-wrap
  52249. msgid "Essential Home Services"
  52250. msgstr ""
  52251. #. type: menuentry
  52252. #: guix-git/doc/guix.texi:35551
  52253. msgid "Environment variables, packages, on-* scripts."
  52254. msgstr ""
  52255. #. type: menuentry
  52256. #: guix-git/doc/guix.texi:35551
  52257. msgid "Shells: Shells Home Services"
  52258. msgstr ""
  52259. #. type: menuentry
  52260. #: guix-git/doc/guix.texi:35551
  52261. msgid "POSIX shells, Bash, Zsh."
  52262. msgstr ""
  52263. #. type: menuentry
  52264. #: guix-git/doc/guix.texi:35551
  52265. msgid "Mcron: Mcron Home Service"
  52266. msgstr ""
  52267. #. type: menuentry
  52268. #: guix-git/doc/guix.texi:35551
  52269. msgid "Scheduled User's Job Execution."
  52270. msgstr ""
  52271. #. type: menuentry
  52272. #: guix-git/doc/guix.texi:35551
  52273. msgid "Shepherd: Shepherd Home Service"
  52274. msgstr ""
  52275. #. type: menuentry
  52276. #: guix-git/doc/guix.texi:35551
  52277. msgid "Managing User's Daemons."
  52278. msgstr ""
  52279. #. type: Plain text
  52280. #: guix-git/doc/guix.texi:35560
  52281. 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."
  52282. msgstr ""
  52283. #. type: cindex
  52284. #: guix-git/doc/guix.texi:35561
  52285. #, no-wrap
  52286. msgid "environment variables"
  52287. msgstr ""
  52288. #. type: defvr
  52289. #: guix-git/doc/guix.texi:35563
  52290. #, no-wrap
  52291. msgid "{Scheme Variable} home-environment-variables-service-type"
  52292. msgstr ""
  52293. #. type: defvr
  52294. #: guix-git/doc/guix.texi:35568
  52295. 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."
  52296. msgstr ""
  52297. #. type: lisp
  52298. #: guix-git/doc/guix.texi:35572
  52299. #, no-wrap
  52300. msgid ""
  52301. "(list (\"ENV_VAR1\" . \"value1\")\n"
  52302. " (\"ENV_VAR2\" . \"value2\"))\n"
  52303. msgstr ""
  52304. #. type: defvr
  52305. #: guix-git/doc/guix.texi:35577
  52306. 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)}."
  52307. msgstr ""
  52308. #. type: lisp
  52309. #: guix-git/doc/guix.texi:35585
  52310. #, no-wrap
  52311. msgid ""
  52312. "(simple-service 'some-useful-env-vars-service\n"
  52313. "\t\thome-environment-variables-service-type\n"
  52314. "\t\t`((\"LESSHISTFILE\" . \"$XDG_CACHE_HOME/.lesshst\")\n"
  52315. " (\"SHELL\" . ,(file-append zsh \"/bin/zsh\"))\n"
  52316. " (\"USELESS_VAR\" . #f)\n"
  52317. " (\"_JAVA_AWT_WM_NONREPARENTING\" . #t)))\n"
  52318. msgstr ""
  52319. #. type: defvr
  52320. #: guix-git/doc/guix.texi:35590
  52321. 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):"
  52322. msgstr ""
  52323. #. type: example
  52324. #: guix-git/doc/guix.texi:35595
  52325. #, no-wrap
  52326. msgid ""
  52327. "export LESSHISTFILE=$XDG_CACHE_HOME/.lesshst\n"
  52328. "export SHELL=/gnu/store/2hsg15n644f0glrcbkb1kqknmmqdar03-zsh-5.8/bin/zsh\n"
  52329. "export _JAVA_AWT_WM_NONREPARENTING\n"
  52330. msgstr ""
  52331. #. type: quotation
  52332. #: guix-git/doc/guix.texi:35602
  52333. 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."
  52334. msgstr ""
  52335. #. type: defvr
  52336. #: guix-git/doc/guix.texi:35615
  52337. 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."
  52338. msgstr ""
  52339. #. type: defvr
  52340. #: guix-git/doc/guix.texi:35618
  52341. #, no-wrap
  52342. msgid "{Scheme Variable} home-profile-service-type"
  52343. msgstr ""
  52344. #. type: defvr
  52345. #: guix-git/doc/guix.texi:35624
  52346. 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."
  52347. msgstr ""
  52348. #. type: defvr
  52349. #: guix-git/doc/guix.texi:35626
  52350. msgid "The extension value is just a list of packages:"
  52351. msgstr ""
  52352. #. type: lisp
  52353. #: guix-git/doc/guix.texi:35629
  52354. #, no-wrap
  52355. msgid "(list htop vim emacs)\n"
  52356. msgstr ""
  52357. #. type: defvr
  52358. #: guix-git/doc/guix.texi:35639
  52359. 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."
  52360. msgstr ""
  52361. #. type: Plain text
  52362. #: guix-git/doc/guix.texi:35643
  52363. msgid "There are few more essential services, but users are not expected to extend them."
  52364. msgstr ""
  52365. #. type: defvr
  52366. #: guix-git/doc/guix.texi:35644
  52367. #, no-wrap
  52368. msgid "{Scheme Variable} home-service-type"
  52369. msgstr ""
  52370. #. type: defvr
  52371. #: guix-git/doc/guix.texi:35649
  52372. 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."
  52373. msgstr ""
  52374. #. type: defvr
  52375. #: guix-git/doc/guix.texi:35651
  52376. #, no-wrap
  52377. msgid "{Scheme Variable} home-run-on-first-login-service-type"
  52378. msgstr ""
  52379. #. type: defvr
  52380. #: guix-git/doc/guix.texi:35656
  52381. 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."
  52382. msgstr ""
  52383. #. type: defvr
  52384. #: guix-git/doc/guix.texi:35662
  52385. 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."
  52386. msgstr ""
  52387. #. type: defvr
  52388. #: guix-git/doc/guix.texi:35664
  52389. #, no-wrap
  52390. msgid "{Scheme Variable} home-activation-service-type"
  52391. msgstr ""
  52392. #. type: defvr
  52393. #: guix-git/doc/guix.texi:35668
  52394. 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."
  52395. msgstr ""
  52396. #. type: node
  52397. #: guix-git/doc/guix.texi:35670
  52398. #, no-wrap
  52399. msgid "Shells Home Services"
  52400. msgstr ""
  52401. #. type: subsection
  52402. #: guix-git/doc/guix.texi:35671
  52403. #, no-wrap
  52404. msgid "Shells"
  52405. msgstr ""
  52406. #. type: cindex
  52407. #: guix-git/doc/guix.texi:35673 guix-git/doc/guix.texi:35900
  52408. #, no-wrap
  52409. msgid "shell"
  52410. msgstr ""
  52411. #. type: cindex
  52412. #: guix-git/doc/guix.texi:35674
  52413. #, no-wrap
  52414. msgid "login shell"
  52415. msgstr ""
  52416. #. type: cindex
  52417. #: guix-git/doc/guix.texi:35675
  52418. #, no-wrap
  52419. msgid "interactive shell"
  52420. msgstr ""
  52421. #. type: cindex
  52422. #: guix-git/doc/guix.texi:35676 guix-git/doc/guix.texi:35902
  52423. #, no-wrap
  52424. msgid "bash"
  52425. msgstr ""
  52426. #. type: cindex
  52427. #: guix-git/doc/guix.texi:35677 guix-git/doc/guix.texi:35903
  52428. #, no-wrap
  52429. msgid "zsh"
  52430. msgstr ""
  52431. #. type: Plain text
  52432. #: guix-git/doc/guix.texi:35683
  52433. 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."
  52434. msgstr ""
  52435. #. type: Plain text
  52436. #: guix-git/doc/guix.texi:35693
  52437. 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."
  52438. msgstr ""
  52439. #. type: subsubheading
  52440. #: guix-git/doc/guix.texi:35694
  52441. #, no-wrap
  52442. msgid "Shell Profile Service"
  52443. msgstr ""
  52444. #. type: deftp
  52445. #: guix-git/doc/guix.texi:35696
  52446. #, no-wrap
  52447. msgid "{Data Type} home-shell-profile-configuration"
  52448. msgstr ""
  52449. #. type: deftp
  52450. #: guix-git/doc/guix.texi:35698
  52451. msgid "Available @code{home-shell-profile-configuration} fields are:"
  52452. msgstr ""
  52453. #. type: item
  52454. #: guix-git/doc/guix.texi:35700
  52455. #, no-wrap
  52456. msgid "@code{profile} (default: @code{()}) (type: text-config)"
  52457. msgstr ""
  52458. #. type: table
  52459. #: guix-git/doc/guix.texi:35710
  52460. 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."
  52461. msgstr ""
  52462. #. type: subsubheading
  52463. #: guix-git/doc/guix.texi:35715
  52464. #, no-wrap
  52465. msgid "Bash Home Service"
  52466. msgstr ""
  52467. #. type: deftp
  52468. #: guix-git/doc/guix.texi:35717
  52469. #, no-wrap
  52470. msgid "{Data Type} home-bash-configuration"
  52471. msgstr ""
  52472. #. type: deftp
  52473. #: guix-git/doc/guix.texi:35719
  52474. msgid "Available @code{home-bash-configuration} fields are:"
  52475. msgstr ""
  52476. #. type: item
  52477. #: guix-git/doc/guix.texi:35721
  52478. #, no-wrap
  52479. msgid "@code{package} (default: @code{bash}) (type: package)"
  52480. msgstr ""
  52481. #. type: table
  52482. #: guix-git/doc/guix.texi:35723
  52483. msgid "The Bash package to use."
  52484. msgstr ""
  52485. #. type: item
  52486. #: guix-git/doc/guix.texi:35724
  52487. #, no-wrap
  52488. msgid "@code{guix-defaults?} (default: @code{#t}) (type: boolean)"
  52489. msgstr ""
  52490. #. type: table
  52491. #: guix-git/doc/guix.texi:35727
  52492. msgid "Add sane defaults like reading @file{/etc/bashrc}, coloring output for @code{ls} provided by guix to @file{.bashrc}."
  52493. msgstr ""
  52494. #. type: item
  52495. #: guix-git/doc/guix.texi:35728 guix-git/doc/guix.texi:35768
  52496. #, no-wrap
  52497. msgid "@code{environment-variables} (default: @code{()}) (type: alist)"
  52498. msgstr ""
  52499. #. type: table
  52500. #: guix-git/doc/guix.texi:35730
  52501. msgid "Association list of environment variables to set for the Bash session."
  52502. msgstr ""
  52503. #. type: item
  52504. #: guix-git/doc/guix.texi:35731
  52505. #, no-wrap
  52506. msgid "@code{bash-profile} (default: @code{()}) (type: text-config)"
  52507. msgstr ""
  52508. #. type: table
  52509. #: guix-git/doc/guix.texi:35736
  52510. 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."
  52511. msgstr ""
  52512. #. type: item
  52513. #: guix-git/doc/guix.texi:35737
  52514. #, no-wrap
  52515. msgid "@code{bashrc} (default: @code{()}) (type: text-config)"
  52516. msgstr ""
  52517. #. type: table
  52518. #: guix-git/doc/guix.texi:35742
  52519. 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)."
  52520. msgstr ""
  52521. #. type: item
  52522. #: guix-git/doc/guix.texi:35743
  52523. #, no-wrap
  52524. msgid "@code{bash-logout} (default: @code{()}) (type: text-config)"
  52525. msgstr ""
  52526. #. type: table
  52527. #: guix-git/doc/guix.texi:35748
  52528. 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)."
  52529. msgstr ""
  52530. #. type: subsubheading
  52531. #: guix-git/doc/guix.texi:35753
  52532. #, no-wrap
  52533. msgid "Zsh Home Service"
  52534. msgstr ""
  52535. #. type: deftp
  52536. #: guix-git/doc/guix.texi:35755
  52537. #, no-wrap
  52538. msgid "{Data Type} home-zsh-configuration"
  52539. msgstr ""
  52540. #. type: deftp
  52541. #: guix-git/doc/guix.texi:35757
  52542. msgid "Available @code{home-zsh-configuration} fields are:"
  52543. msgstr ""
  52544. #. type: item
  52545. #: guix-git/doc/guix.texi:35759
  52546. #, no-wrap
  52547. msgid "@code{package} (default: @code{zsh}) (type: package)"
  52548. msgstr ""
  52549. #. type: table
  52550. #: guix-git/doc/guix.texi:35761
  52551. msgid "The Zsh package to use."
  52552. msgstr ""
  52553. #. type: item
  52554. #: guix-git/doc/guix.texi:35762
  52555. #, no-wrap
  52556. msgid "@code{xdg-flavor?} (default: @code{#t}) (type: boolean)"
  52557. msgstr ""
  52558. #. type: table
  52559. #: guix-git/doc/guix.texi:35767
  52560. 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}."
  52561. msgstr ""
  52562. #. type: table
  52563. #: guix-git/doc/guix.texi:35770
  52564. msgid "Association list of environment variables to set for the Zsh session."
  52565. msgstr ""
  52566. #. type: item
  52567. #: guix-git/doc/guix.texi:35771
  52568. #, no-wrap
  52569. msgid "@code{zshenv} (default: @code{()}) (type: text-config)"
  52570. msgstr ""
  52571. #. type: table
  52572. #: guix-git/doc/guix.texi:35776
  52573. 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}."
  52574. msgstr ""
  52575. #. type: item
  52576. #: guix-git/doc/guix.texi:35777
  52577. #, no-wrap
  52578. msgid "@code{zprofile} (default: @code{()}) (type: text-config)"
  52579. msgstr ""
  52580. #. type: table
  52581. #: guix-git/doc/guix.texi:35782
  52582. 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}."
  52583. msgstr ""
  52584. #. type: item
  52585. #: guix-git/doc/guix.texi:35783
  52586. #, no-wrap
  52587. msgid "@code{zshrc} (default: @code{()}) (type: text-config)"
  52588. msgstr ""
  52589. #. type: table
  52590. #: guix-git/doc/guix.texi:35788
  52591. 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)."
  52592. msgstr ""
  52593. #. type: item
  52594. #: guix-git/doc/guix.texi:35789
  52595. #, no-wrap
  52596. msgid "@code{zlogin} (default: @code{()}) (type: text-config)"
  52597. msgstr ""
  52598. #. type: table
  52599. #: guix-git/doc/guix.texi:35793
  52600. 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."
  52601. msgstr ""
  52602. #. type: item
  52603. #: guix-git/doc/guix.texi:35794
  52604. #, no-wrap
  52605. msgid "@code{zlogout} (default: @code{()}) (type: text-config)"
  52606. msgstr ""
  52607. #. type: table
  52608. #: guix-git/doc/guix.texi:35799
  52609. 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)."
  52610. msgstr ""
  52611. #. type: node
  52612. #: guix-git/doc/guix.texi:35804
  52613. #, no-wrap
  52614. msgid "Mcron Home Service"
  52615. msgstr ""
  52616. #. type: subsection
  52617. #: guix-git/doc/guix.texi:35805
  52618. #, no-wrap
  52619. msgid "Scheduled User's Job Execution"
  52620. msgstr ""
  52621. #. type: Plain text
  52622. #: guix-git/doc/guix.texi:35818
  52623. 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."
  52624. msgstr ""
  52625. #. type: defvr
  52626. #: guix-git/doc/guix.texi:35819
  52627. #, no-wrap
  52628. msgid "{Scheme Variable} home-mcron-service-type"
  52629. msgstr ""
  52630. #. type: defvr
  52631. #: guix-git/doc/guix.texi:35823
  52632. 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."
  52633. msgstr ""
  52634. #. type: deftp
  52635. #: guix-git/doc/guix.texi:35830
  52636. #, no-wrap
  52637. msgid "{Data Type} home-mcron-configuration"
  52638. msgstr ""
  52639. #. type: node
  52640. #: guix-git/doc/guix.texi:35844
  52641. #, no-wrap
  52642. msgid "Shepherd Home Service"
  52643. msgstr ""
  52644. #. type: subsection
  52645. #: guix-git/doc/guix.texi:35845
  52646. #, no-wrap
  52647. msgid "Managing User's Daemons"
  52648. msgstr ""
  52649. #. type: defvr
  52650. #: guix-git/doc/guix.texi:35849
  52651. #, no-wrap
  52652. msgid "{Scheme Variable} home-shepherd-service-type"
  52653. msgstr ""
  52654. #. type: defvr
  52655. #: guix-git/doc/guix.texi:35854
  52656. 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."
  52657. msgstr ""
  52658. #. type: item
  52659. #: guix-git/doc/guix.texi:35868
  52660. #, no-wrap
  52661. msgid "auto-start? (default: @code{#t})"
  52662. msgstr ""
  52663. #. type: table
  52664. #: guix-git/doc/guix.texi:35870
  52665. msgid "Whether or not to start Shepherd on first login."
  52666. msgstr ""
  52667. #. type: section
  52668. #: guix-git/doc/guix.texi:35879
  52669. #, no-wrap
  52670. msgid "Invoking @code{guix home}"
  52671. msgstr ""
  52672. #. type: Plain text
  52673. #: guix-git/doc/guix.texi:35884
  52674. 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:"
  52675. msgstr ""
  52676. #. type: example
  52677. #: guix-git/doc/guix.texi:35887
  52678. #, no-wrap
  52679. msgid "guix home @var{options}@dots{} @var{action} @var{file}\n"
  52680. msgstr ""
  52681. #. type: Plain text
  52682. #: guix-git/doc/guix.texi:35894
  52683. 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:"
  52684. msgstr ""
  52685. #. type: table
  52686. #: guix-git/doc/guix.texi:35899
  52687. msgid "Display available home service type definitions that match the given regular expressions, sorted by relevance:"
  52688. msgstr ""
  52689. #. type: cindex
  52690. #: guix-git/doc/guix.texi:35901
  52691. #, no-wrap
  52692. msgid "shell-profile"
  52693. msgstr ""
  52694. #. type: example
  52695. #: guix-git/doc/guix.texi:35913
  52696. #, no-wrap
  52697. msgid ""
  52698. "$ guix home search shell\n"
  52699. "name: home-shell-profile\n"
  52700. "location: gnu/home/services/shells.scm:73:2\n"
  52701. "extends: home-files\n"
  52702. "description: Create `~/.profile', which is used for environment initialization\n"
  52703. "+ of POSIX compatible login shells. Can be extended with a list of strings or\n"
  52704. "+ gexps.\n"
  52705. "relevance: 6\n"
  52706. "\n"
  52707. msgstr ""
  52708. #. type: example
  52709. #: guix-git/doc/guix.texi:35919
  52710. #, no-wrap
  52711. msgid ""
  52712. "name: home-zsh-plugin-manager\n"
  52713. "location: gnu/home/services/shellutils.scm:28:2\n"
  52714. "extends: home-zsh home-profile\n"
  52715. "description: Install plugins in profile and configure Zsh to load them.\n"
  52716. "relevance: 1\n"
  52717. "\n"
  52718. msgstr ""
  52719. #. type: example
  52720. #: guix-git/doc/guix.texi:35926
  52721. #, no-wrap
  52722. msgid ""
  52723. "name: home-zsh-direnv\n"
  52724. "location: gnu/home/services/shellutils.scm:69:2\n"
  52725. "extends: home-profile home-zsh\n"
  52726. "description: Enables `direnv' for `zsh'. Adds hook to `.zshrc' and installs a\n"
  52727. "+ package in the profile.\n"
  52728. "relevance: 1\n"
  52729. "\n"
  52730. msgstr ""
  52731. #. type: example
  52732. #: guix-git/doc/guix.texi:35935
  52733. #, no-wrap
  52734. msgid ""
  52735. "name: home-zsh-autosuggestions\n"
  52736. "location: gnu/home/services/shellutils.scm:43:2\n"
  52737. "extends: home-zsh-plugin-manager home-zsh\n"
  52738. "description: Enables Fish-like fast/unobtrusive autosuggestions for `zsh' and\n"
  52739. "+ sets reasonable default values for some plugin's variables to improve perfomance\n"
  52740. "+ and adjust behavior: `(history completion)' is set for strategy, manual rebind\n"
  52741. "+ and async are enabled.\n"
  52742. "relevance: 1\n"
  52743. "\n"
  52744. msgstr ""
  52745. #. type: example
  52746. #: guix-git/doc/guix.texi:35941
  52747. #, no-wrap
  52748. msgid ""
  52749. "name: home-zsh\n"
  52750. "location: gnu/home/services/shells.scm:236:2\n"
  52751. "extends: home-files home-profile\n"
  52752. "description: Install and configure Zsh.\n"
  52753. "relevance: 1\n"
  52754. "\n"
  52755. msgstr ""
  52756. #. type: example
  52757. #: guix-git/doc/guix.texi:35947
  52758. #, no-wrap
  52759. msgid ""
  52760. "name: home-bash\n"
  52761. "location: gnu/home/services/shells.scm:388:2\n"
  52762. "extends: home-files home-profile\n"
  52763. "description: Install and configure Bash.\n"
  52764. "relevance: 1\n"
  52765. "\n"
  52766. msgstr ""
  52767. #. type: table
  52768. #: guix-git/doc/guix.texi:35963
  52769. 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."
  52770. msgstr ""
  52771. #. type: quotation
  52772. #: guix-git/doc/guix.texi:35968
  52773. 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})."
  52774. msgstr ""
  52775. #. type: table
  52776. #: guix-git/doc/guix.texi:35975
  52777. 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})."
  52778. msgstr ""
  52779. #. type: table
  52780. #: guix-git/doc/guix.texi:35981
  52781. 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})."
  52782. msgstr ""
  52783. #. type: cindex
  52784. #: guix-git/doc/guix.texi:35982
  52785. #, no-wrap
  52786. msgid "provenance tracking, of the home environment"
  52787. msgstr ""
  52788. #. type: table
  52789. #: guix-git/doc/guix.texi:35987
  52790. 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:"
  52791. msgstr ""
  52792. #. type: example
  52793. #: guix-git/doc/guix.texi:35990
  52794. #, no-wrap
  52795. msgid "guix home describe\n"
  52796. msgstr ""
  52797. #. type: table
  52798. #: guix-git/doc/guix.texi:35996
  52799. 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:"
  52800. msgstr ""
  52801. #. type: example
  52802. #: guix-git/doc/guix.texi:36002
  52803. #, no-wrap
  52804. msgid ""
  52805. "guix time-machine \\\n"
  52806. " -C /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/channels.scm -- \\\n"
  52807. " home reconfigure \\\n"
  52808. " /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/configuration.scm\n"
  52809. "\n"
  52810. msgstr ""
  52811. #. type: table
  52812. #: guix-git/doc/guix.texi:36009
  52813. 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}."
  52814. msgstr ""
  52815. #. type: cindex
  52816. #: guix-git/doc/guix.texi:36015
  52817. #, fuzzy, no-wrap
  52818. #| msgid "Documentation"
  52819. msgid "home generations"
  52820. msgstr "مستندات"
  52821. #. type: table
  52822. #: guix-git/doc/guix.texi:36018
  52823. msgid "Switch to an existing home generation. This action atomically switches the home profile to the specified home generation."
  52824. msgstr ""
  52825. #. type: table
  52826. #: guix-git/doc/guix.texi:36022
  52827. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to home generation 7:"
  52828. msgstr ""
  52829. #. type: example
  52830. #: guix-git/doc/guix.texi:36025
  52831. #, no-wrap
  52832. msgid "guix home switch-generation 7\n"
  52833. msgstr ""
  52834. #. type: example
  52835. #: guix-git/doc/guix.texi:36036
  52836. #, no-wrap
  52837. msgid "guix home switch-generation -- -1\n"
  52838. msgstr ""
  52839. #. type: table
  52840. #: guix-git/doc/guix.texi:36045
  52841. 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}."
  52842. msgstr ""
  52843. #. type: cindex
  52844. #: guix-git/doc/guix.texi:36047
  52845. #, no-wrap
  52846. msgid "deleting home generations"
  52847. msgstr ""
  52848. #. type: table
  52849. #: guix-git/doc/guix.texi:36052
  52850. msgid "Delete home generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  52851. msgstr ""
  52852. #. type: table
  52853. #: guix-git/doc/guix.texi:36056
  52854. 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:"
  52855. msgstr ""
  52856. #. type: example
  52857. #: guix-git/doc/guix.texi:36059
  52858. #, no-wrap
  52859. msgid "guix home delete-generations\n"
  52860. msgstr ""
  52861. #. type: table
  52862. #: guix-git/doc/guix.texi:36063
  52863. 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:"
  52864. msgstr ""
  52865. #. type: example
  52866. #: guix-git/doc/guix.texi:36066
  52867. #, no-wrap
  52868. msgid "guix home delete-generations 2m\n"
  52869. msgstr ""
  52870. #. type: table
  52871. #: guix-git/doc/guix.texi:36072
  52872. msgid "Build the derivation of the home environment, which includes all the configuration files and programs needed. This action does not actually install anything."
  52873. msgstr ""
  52874. #. type: table
  52875. #: guix-git/doc/guix.texi:36076
  52876. msgid "Describe the current home generation: its file name, as well as provenance information when available."
  52877. msgstr ""
  52878. #. type: table
  52879. #: guix-git/doc/guix.texi:36082
  52880. 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})."
  52881. msgstr ""
  52882. #. type: example
  52883. #: guix-git/doc/guix.texi:36090
  52884. #, no-wrap
  52885. msgid "$ guix home list-generations 10d\n"
  52886. msgstr ""
  52887. #. type: table
  52888. #: guix-git/doc/guix.texi:36105
  52889. msgid "Consider the home-environment @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to a home environment."
  52890. msgstr ""
  52891. #. type: cindex
  52892. #: guix-git/doc/guix.texi:36111
  52893. #, no-wrap
  52894. msgid "documentation, searching for"
  52895. msgstr ""
  52896. #. type: cindex
  52897. #: guix-git/doc/guix.texi:36112
  52898. #, no-wrap
  52899. msgid "searching for documentation"
  52900. msgstr ""
  52901. #. type: cindex
  52902. #: guix-git/doc/guix.texi:36113
  52903. #, no-wrap
  52904. msgid "Info, documentation format"
  52905. msgstr ""
  52906. #. type: cindex
  52907. #: guix-git/doc/guix.texi:36114
  52908. #, no-wrap
  52909. msgid "man pages"
  52910. msgstr ""
  52911. #. type: cindex
  52912. #: guix-git/doc/guix.texi:36115
  52913. #, no-wrap
  52914. msgid "manual pages"
  52915. msgstr ""
  52916. #. type: Plain text
  52917. #: guix-git/doc/guix.texi:36122
  52918. 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}."
  52919. msgstr ""
  52920. #. type: Plain text
  52921. #: guix-git/doc/guix.texi:36126
  52922. 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:"
  52923. msgstr ""
  52924. #. type: example
  52925. #: guix-git/doc/guix.texi:36134
  52926. #, no-wrap
  52927. msgid ""
  52928. "$ info -k TLS\n"
  52929. "\"(emacs)Network Security\" -- STARTTLS\n"
  52930. "\"(emacs)Network Security\" -- TLS\n"
  52931. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  52932. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  52933. "@dots{}\n"
  52934. msgstr ""
  52935. #. type: Plain text
  52936. #: guix-git/doc/guix.texi:36138
  52937. msgid "The command below searches for the same keyword in man pages:"
  52938. msgstr ""
  52939. #. type: example
  52940. #: guix-git/doc/guix.texi:36144
  52941. #, no-wrap
  52942. msgid ""
  52943. "$ man -k TLS\n"
  52944. "SSL (7) - OpenSSL SSL/TLS library\n"
  52945. "certtool (1) - GnuTLS certificate tool\n"
  52946. "@dots {}\n"
  52947. msgstr ""
  52948. #. type: Plain text
  52949. #: guix-git/doc/guix.texi:36150
  52950. 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."
  52951. msgstr ""
  52952. #. type: Plain text
  52953. #: guix-git/doc/guix.texi:36153
  52954. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  52955. msgstr ""
  52956. #. type: example
  52957. #: guix-git/doc/guix.texi:36156
  52958. #, no-wrap
  52959. msgid "$ info \"(gnutls)Core TLS API\"\n"
  52960. msgstr ""
  52961. #. type: Plain text
  52962. #: guix-git/doc/guix.texi:36160
  52963. msgid "or:"
  52964. msgstr ""
  52965. #. type: example
  52966. #: guix-git/doc/guix.texi:36163
  52967. #, no-wrap
  52968. msgid "$ man certtool\n"
  52969. msgstr ""
  52970. #. type: Plain text
  52971. #: guix-git/doc/guix.texi:36171
  52972. 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."
  52973. msgstr ""
  52974. #. type: cindex
  52975. #: guix-git/doc/guix.texi:36175
  52976. #, no-wrap
  52977. msgid "debugging files"
  52978. msgstr ""
  52979. #. type: Plain text
  52980. #: guix-git/doc/guix.texi:36181
  52981. 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."
  52982. msgstr ""
  52983. #. type: Plain text
  52984. #: guix-git/doc/guix.texi:36185
  52985. 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."
  52986. msgstr ""
  52987. #. type: Plain text
  52988. #: guix-git/doc/guix.texi:36201
  52989. 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})."
  52990. msgstr ""
  52991. #. type: Plain text
  52992. #: guix-git/doc/guix.texi:36208
  52993. 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})."
  52994. msgstr ""
  52995. #. type: Plain text
  52996. #: guix-git/doc/guix.texi:36216
  52997. 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:"
  52998. msgstr ""
  52999. #. type: example
  53000. #: guix-git/doc/guix.texi:36219
  53001. #, no-wrap
  53002. msgid "guix install glibc:debug guile:debug\n"
  53003. msgstr ""
  53004. #. type: Plain text
  53005. #: guix-git/doc/guix.texi:36225
  53006. 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}):"
  53007. msgstr ""
  53008. #. type: example
  53009. #: guix-git/doc/guix.texi:36228
  53010. #, no-wrap
  53011. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  53012. msgstr ""
  53013. #. type: Plain text
  53014. #: guix-git/doc/guix.texi:36232
  53015. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  53016. msgstr ""
  53017. #. type: Plain text
  53018. #: guix-git/doc/guix.texi:36239
  53019. 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})."
  53020. msgstr ""
  53021. #. type: Plain text
  53022. #: guix-git/doc/guix.texi:36247
  53023. 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})."
  53024. msgstr ""
  53025. #. type: Plain text
  53026. #: guix-git/doc/guix.texi:36249
  53027. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  53028. msgstr ""
  53029. #. type: Plain text
  53030. #: guix-git/doc/guix.texi:36261
  53031. 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."
  53032. msgstr ""
  53033. #. type: Plain text
  53034. #: guix-git/doc/guix.texi:36266
  53035. 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:"
  53036. msgstr ""
  53037. #. type: example
  53038. #: guix-git/doc/guix.texi:36277
  53039. #, no-wrap
  53040. msgid ""
  53041. "(gdb) bt\n"
  53042. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  53043. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  53044. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  53045. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  53046. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  53047. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  53048. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  53049. " at dl-init.c:118\n"
  53050. msgstr ""
  53051. #. type: Plain text
  53052. #: guix-git/doc/guix.texi:36281
  53053. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  53054. msgstr ""
  53055. #. type: Plain text
  53056. #: guix-git/doc/guix.texi:36287
  53057. msgid "This time, debugging will be a whole lot nicer:"
  53058. msgstr ""
  53059. #. type: example
  53060. #: guix-git/doc/guix.texi:36305
  53061. #, no-wrap
  53062. msgid ""
  53063. "$ gdb --args sh -c 'exec inkscape'\n"
  53064. "@dots{}\n"
  53065. "(gdb) b g_getenv\n"
  53066. "Function \"g_getenv\" not defined.\n"
  53067. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  53068. "Breakpoint 1 (g_getenv) pending.\n"
  53069. "(gdb) r\n"
  53070. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  53071. "@dots{}\n"
  53072. "(gdb) bt\n"
  53073. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  53074. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  53075. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  53076. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  53077. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  53078. "@dots{}\n"
  53079. msgstr ""
  53080. #. type: Plain text
  53081. #: guix-git/doc/guix.texi:36308
  53082. msgid "Much better!"
  53083. msgstr ""
  53084. #. type: Plain text
  53085. #: guix-git/doc/guix.texi:36312
  53086. 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."
  53087. msgstr ""
  53088. #. type: cindex
  53089. #: guix-git/doc/guix.texi:36316
  53090. #, no-wrap
  53091. msgid "security updates"
  53092. msgstr ""
  53093. #. type: Plain text
  53094. #: guix-git/doc/guix.texi:36325
  53095. 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:"
  53096. msgstr ""
  53097. #. type: smallexample
  53098. #: guix-git/doc/guix.texi:36332
  53099. #, no-wrap
  53100. msgid ""
  53101. "$ guix lint -c cve\n"
  53102. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  53103. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  53104. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  53105. "@dots{}\n"
  53106. msgstr ""
  53107. #. type: Plain text
  53108. #: guix-git/doc/guix.texi:36335
  53109. msgid "@xref{Invoking guix lint}, for more information."
  53110. msgstr ""
  53111. #. type: Plain text
  53112. #: guix-git/doc/guix.texi:36344
  53113. 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."
  53114. msgstr ""
  53115. #. type: cindex
  53116. #: guix-git/doc/guix.texi:36345
  53117. #, no-wrap
  53118. msgid "grafts"
  53119. msgstr ""
  53120. #. type: Plain text
  53121. #: guix-git/doc/guix.texi:36353
  53122. 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."
  53123. msgstr ""
  53124. #. type: cindex
  53125. #: guix-git/doc/guix.texi:36354
  53126. #, no-wrap
  53127. msgid "replacements of packages, for grafts"
  53128. msgstr ""
  53129. #. type: Plain text
  53130. #: guix-git/doc/guix.texi:36360
  53131. 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:"
  53132. msgstr ""
  53133. #. type: lisp
  53134. #: guix-git/doc/guix.texi:36367
  53135. #, no-wrap
  53136. msgid ""
  53137. "(define bash\n"
  53138. " (package\n"
  53139. " (name \"bash\")\n"
  53140. " ;; @dots{}\n"
  53141. " (replacement bash-fixed)))\n"
  53142. msgstr ""
  53143. #. type: Plain text
  53144. #: guix-git/doc/guix.texi:36377
  53145. 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."
  53146. msgstr ""
  53147. #. type: Plain text
  53148. #: guix-git/doc/guix.texi:36385
  53149. 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."
  53150. msgstr ""
  53151. #. type: Plain text
  53152. #: guix-git/doc/guix.texi:36389
  53153. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  53154. msgstr ""
  53155. #. type: example
  53156. #: guix-git/doc/guix.texi:36392
  53157. #, no-wrap
  53158. msgid "guix build bash --no-grafts\n"
  53159. msgstr ""
  53160. #. type: Plain text
  53161. #: guix-git/doc/guix.texi:36396
  53162. msgid "returns the store file name of the original Bash, whereas:"
  53163. msgstr ""
  53164. #. type: example
  53165. #: guix-git/doc/guix.texi:36399
  53166. #, no-wrap
  53167. msgid "guix build bash\n"
  53168. msgstr ""
  53169. #. type: Plain text
  53170. #: guix-git/doc/guix.texi:36404
  53171. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  53172. msgstr ""
  53173. #. type: Plain text
  53174. #: guix-git/doc/guix.texi:36407
  53175. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  53176. msgstr ""
  53177. #. type: example
  53178. #: guix-git/doc/guix.texi:36410
  53179. #, no-wrap
  53180. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  53181. msgstr ""
  53182. #. type: Plain text
  53183. #: guix-git/doc/guix.texi:36415
  53184. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  53185. msgstr ""
  53186. #. type: example
  53187. #: guix-git/doc/guix.texi:36418
  53188. #, no-wrap
  53189. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  53190. msgstr ""
  53191. #. type: Plain text
  53192. #: guix-git/doc/guix.texi:36422
  53193. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  53194. msgstr ""
  53195. #. type: example
  53196. #: guix-git/doc/guix.texi:36425
  53197. #, no-wrap
  53198. msgid "lsof | grep /gnu/store/.*bash\n"
  53199. msgstr ""
  53200. #. type: cindex
  53201. #: guix-git/doc/guix.texi:36433
  53202. #, no-wrap
  53203. msgid "bootstrapping"
  53204. msgstr ""
  53205. #. type: Plain text
  53206. #: guix-git/doc/guix.texi:36440
  53207. 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?"
  53208. msgstr ""
  53209. #. type: Plain text
  53210. #: guix-git/doc/guix.texi:36448
  53211. 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."
  53212. msgstr ""
  53213. #. type: cindex
  53214. #: guix-git/doc/guix.texi:36449 guix-git/doc/guix.texi:36661
  53215. #, no-wrap
  53216. msgid "bootstrap binaries"
  53217. msgstr ""
  53218. #. type: Plain text
  53219. #: guix-git/doc/guix.texi:36459
  53220. 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}."
  53221. msgstr ""
  53222. #. type: Plain text
  53223. #: guix-git/doc/guix.texi:36463
  53224. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  53225. msgstr ""
  53226. #. type: section
  53227. #: guix-git/doc/guix.texi:36470
  53228. #, no-wrap
  53229. msgid "The Reduced Binary Seed Bootstrap"
  53230. msgstr ""
  53231. #. type: Plain text
  53232. #: guix-git/doc/guix.texi:36477
  53233. 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.''"
  53234. msgstr ""
  53235. #. type: Plain text
  53236. #: guix-git/doc/guix.texi:36483
  53237. 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."
  53238. msgstr ""
  53239. #. type: Plain text
  53240. #: guix-git/doc/guix.texi:36488
  53241. 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.}."
  53242. msgstr ""
  53243. #. type: Plain text
  53244. #: guix-git/doc/guix.texi:36494
  53245. 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)."
  53246. msgstr ""
  53247. #. type: Plain text
  53248. #: guix-git/doc/guix.texi:36499
  53249. 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."
  53250. msgstr ""
  53251. #. type: Plain text
  53252. #: guix-git/doc/guix.texi:36507
  53253. 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."
  53254. msgstr ""
  53255. #. type: Plain text
  53256. #: guix-git/doc/guix.texi:36517
  53257. 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."
  53258. msgstr ""
  53259. #. type: Plain text
  53260. #: guix-git/doc/guix.texi:36521
  53261. 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."
  53262. msgstr ""
  53263. #. type: Plain text
  53264. #: guix-git/doc/guix.texi:36524
  53265. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  53266. msgstr ""
  53267. #. type: Plain text
  53268. #: guix-git/doc/guix.texi:36531
  53269. 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.}."
  53270. msgstr ""
  53271. #. type: Plain text
  53272. #: guix-git/doc/guix.texi:36534
  53273. 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}."
  53274. msgstr ""
  53275. #. type: Plain text
  53276. #: guix-git/doc/guix.texi:36539
  53277. 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."
  53278. msgstr ""
  53279. #. type: Plain text
  53280. #: guix-git/doc/guix.texi:36543
  53281. 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}."
  53282. msgstr ""
  53283. #. type: Plain text
  53284. #: guix-git/doc/guix.texi:36550
  53285. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  53286. msgstr ""
  53287. #. type: Plain text
  53288. #: guix-git/doc/guix.texi:36555
  53289. 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:"
  53290. msgstr ""
  53291. #. type: example
  53292. #: guix-git/doc/guix.texi:36560
  53293. #, no-wrap
  53294. msgid ""
  53295. "guix graph -t derivation \\\n"
  53296. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  53297. " | dot -Tps > gcc.ps\n"
  53298. msgstr ""
  53299. #. type: Plain text
  53300. #: guix-git/doc/guix.texi:36563
  53301. msgid "or, for the further Reduced Binary Seed bootstrap"
  53302. msgstr ""
  53303. #. type: example
  53304. #: guix-git/doc/guix.texi:36568
  53305. #, no-wrap
  53306. msgid ""
  53307. "guix graph -t derivation \\\n"
  53308. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  53309. " | dot -Tps > mes.ps\n"
  53310. msgstr ""
  53311. #. type: Plain text
  53312. #: guix-git/doc/guix.texi:36577
  53313. 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})."
  53314. msgstr ""
  53315. #. type: Plain text
  53316. #: guix-git/doc/guix.texi:36586
  53317. 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."
  53318. msgstr ""
  53319. #. type: Plain text
  53320. #: guix-git/doc/guix.texi:36598
  53321. 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})."
  53322. msgstr ""
  53323. #. type: Plain text
  53324. #: guix-git/doc/guix.texi:36603
  53325. 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."
  53326. msgstr ""
  53327. #. type: unnumberedsec
  53328. #: guix-git/doc/guix.texi:36604
  53329. #, no-wrap
  53330. msgid "Building the Build Tools"
  53331. msgstr ""
  53332. #. type: Plain text
  53333. #: guix-git/doc/guix.texi:36613
  53334. 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."
  53335. msgstr ""
  53336. #. type: Plain text
  53337. #: guix-git/doc/guix.texi:36620
  53338. 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:"
  53339. msgstr ""
  53340. #. type: example
  53341. #: guix-git/doc/guix.texi:36625
  53342. #, no-wrap
  53343. msgid ""
  53344. "guix graph -t bag \\\n"
  53345. " -e '(@@@@ (gnu packages commencement)\n"
  53346. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  53347. msgstr ""
  53348. #. type: Plain text
  53349. #: guix-git/doc/guix.texi:36632
  53350. 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."
  53351. msgstr ""
  53352. #. type: Plain text
  53353. #: guix-git/doc/guix.texi:36634
  53354. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  53355. msgstr ""
  53356. #. type: Plain text
  53357. #: guix-git/doc/guix.texi:36640
  53358. 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."
  53359. msgstr ""
  53360. #. type: Plain text
  53361. #: guix-git/doc/guix.texi:36645
  53362. 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."
  53363. msgstr ""
  53364. #. type: Plain text
  53365. #: guix-git/doc/guix.texi:36651
  53366. 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."
  53367. msgstr ""
  53368. #. type: Plain text
  53369. #: guix-git/doc/guix.texi:36657
  53370. 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}})."
  53371. msgstr ""
  53372. #. type: unnumberedsec
  53373. #: guix-git/doc/guix.texi:36659
  53374. #, no-wrap
  53375. msgid "Building the Bootstrap Binaries"
  53376. msgstr ""
  53377. #. type: Plain text
  53378. #: guix-git/doc/guix.texi:36666
  53379. 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."
  53380. msgstr ""
  53381. #. type: Plain text
  53382. #: guix-git/doc/guix.texi:36672
  53383. 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):"
  53384. msgstr ""
  53385. #. type: example
  53386. #: guix-git/doc/guix.texi:36675
  53387. #, no-wrap
  53388. msgid "guix build bootstrap-tarballs\n"
  53389. msgstr ""
  53390. #. type: Plain text
  53391. #: guix-git/doc/guix.texi:36680
  53392. 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."
  53393. msgstr ""
  53394. #. type: Plain text
  53395. #: guix-git/doc/guix.texi:36686
  53396. 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."
  53397. msgstr ""
  53398. #. type: unnumberedsec
  53399. #: guix-git/doc/guix.texi:36687
  53400. #, no-wrap
  53401. msgid "Reducing the Set of Bootstrap Binaries"
  53402. msgstr ""
  53403. #. type: Plain text
  53404. #: guix-git/doc/guix.texi:36695
  53405. 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}."
  53406. msgstr ""
  53407. #. type: Plain text
  53408. #: guix-git/doc/guix.texi:36701
  53409. 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."
  53410. msgstr ""
  53411. #. type: Plain text
  53412. #: guix-git/doc/guix.texi:36707
  53413. 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."
  53414. msgstr ""
  53415. #. type: Plain text
  53416. #: guix-git/doc/guix.texi:36716
  53417. 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."
  53418. msgstr ""
  53419. #. type: Plain text
  53420. #: guix-git/doc/guix.texi:36719
  53421. 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!"
  53422. msgstr ""
  53423. #. type: chapter
  53424. #: guix-git/doc/guix.texi:36721
  53425. #, no-wrap
  53426. msgid "Porting to a New Platform"
  53427. msgstr ""
  53428. #. type: Plain text
  53429. #: guix-git/doc/guix.texi:36730
  53430. 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."
  53431. msgstr ""
  53432. #. type: Plain text
  53433. #: guix-git/doc/guix.texi:36735
  53434. 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:"
  53435. msgstr ""
  53436. #. type: example
  53437. #: guix-git/doc/guix.texi:36738
  53438. #, no-wrap
  53439. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  53440. msgstr ""
  53441. #. type: Plain text
  53442. #: guix-git/doc/guix.texi:36745
  53443. 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."
  53444. msgstr ""
  53445. #. type: Plain text
  53446. #: guix-git/doc/guix.texi:36754
  53447. 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."
  53448. msgstr ""
  53449. #. type: Plain text
  53450. #: guix-git/doc/guix.texi:36763
  53451. 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."
  53452. msgstr ""
  53453. #. type: include
  53454. #: guix-git/doc/guix.texi:36765
  53455. #, no-wrap
  53456. msgid "contributing.texi"
  53457. msgstr "contributing.fa.texi"
  53458. #. type: Plain text
  53459. #: guix-git/doc/guix.texi:36778
  53460. 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."
  53461. msgstr ""
  53462. #. type: Plain text
  53463. #: guix-git/doc/guix.texi:36781
  53464. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  53465. msgstr ""
  53466. #. type: Plain text
  53467. #: guix-git/doc/guix.texi:36787
  53468. 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!"
  53469. msgstr ""
  53470. #. type: cindex
  53471. #: guix-git/doc/guix.texi:36792
  53472. #, no-wrap
  53473. msgid "license, GNU Free Documentation License"
  53474. msgstr ""
  53475. #. type: include
  53476. #: guix-git/doc/guix.texi:36793
  53477. #, no-wrap
  53478. msgid "fdl-1.3.texi"
  53479. msgstr ""