guix-manual.fa.po 2.1 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551505525055350554505555055650557505585055950560505615056250563505645056550566505675056850569505705057150572505735057450575505765057750578505795058050581505825058350584505855058650587505885058950590505915059250593505945059550596505975059850599506005060150602506035060450605506065060750608506095061050611506125061350614506155061650617506185061950620506215062250623506245062550626506275062850629506305063150632506335063450635506365063750638506395064050641506425064350644506455064650647506485064950650506515065250653506545065550656506575065850659506605066150662506635066450665506665066750668506695067050671506725067350674506755067650677506785067950680506815068250683506845068550686506875068850689506905069150692506935069450695506965069750698506995070050701507025070350704507055070650707507085070950710507115071250713507145071550716507175071850719507205072150722507235072450725507265072750728507295073050731507325073350734507355073650737507385073950740507415074250743507445074550746507475074850749507505075150752507535075450755507565075750758507595076050761507625076350764507655076650767507685076950770507715077250773507745077550776507775077850779507805078150782507835078450785507865078750788507895079050791507925079350794507955079650797507985079950800508015080250803508045080550806508075080850809508105081150812508135081450815508165081750818508195082050821508225082350824508255082650827508285082950830508315083250833508345083550836508375083850839508405084150842508435084450845508465084750848508495085050851508525085350854508555085650857508585085950860508615086250863508645086550866508675086850869508705087150872508735087450875508765087750878508795088050881508825088350884508855088650887508885088950890508915089250893508945089550896508975089850899509005090150902509035090450905509065090750908509095091050911509125091350914509155091650917509185091950920509215092250923509245092550926509275092850929509305093150932509335093450935509365093750938509395094050941509425094350944509455094650947509485094950950509515095250953509545095550956509575095850959509605096150962509635096450965509665096750968509695097050971509725097350974509755097650977509785097950980509815098250983509845098550986509875098850989509905099150992509935099450995509965099750998509995100051001510025100351004510055100651007510085100951010510115101251013510145101551016510175101851019510205102151022510235102451025510265102751028510295103051031510325103351034510355103651037510385103951040510415104251043510445104551046510475104851049510505105151052510535105451055510565105751058510595106051061510625106351064510655106651067510685106951070510715107251073510745107551076510775107851079510805108151082510835108451085510865108751088510895109051091510925109351094510955109651097510985109951100511015110251103511045110551106511075110851109511105111151112511135111451115511165111751118511195112051121511225112351124511255112651127511285112951130511315113251133511345113551136511375113851139511405114151142511435114451145511465114751148511495115051151511525115351154511555115651157511585115951160511615116251163511645116551166511675116851169511705117151172511735117451175511765117751178511795118051181511825118351184511855118651187511885118951190511915119251193511945119551196511975119851199512005120151202512035120451205512065120751208512095121051211512125121351214512155121651217512185121951220512215122251223512245122551226512275122851229512305123151232512335123451235512365123751238512395124051241512425124351244512455124651247512485124951250512515125251253512545125551256512575125851259512605126151262512635126451265512665126751268512695127051271512725127351274512755127651277512785127951280512815128251283512845128551286512875128851289512905129151292512935129451295512965129751298512995130051301513025130351304513055130651307513085130951310513115131251313513145131551316513175131851319513205132151322513235132451325513265132751328513295133051331513325133351334513355133651337513385133951340513415134251343513445134551346513475134851349513505135151352513535135451355513565135751358513595136051361513625136351364513655136651367513685136951370513715137251373513745137551376513775137851379513805138151382513835138451385513865138751388513895139051391513925139351394513955139651397513985139951400514015140251403514045140551406514075140851409514105141151412514135141451415514165141751418514195142051421514225142351424514255142651427514285142951430514315143251433514345143551436514375143851439514405144151442514435144451445514465144751448514495145051451514525145351454514555145651457514585145951460514615146251463514645146551466514675146851469514705147151472514735147451475514765147751478514795148051481514825148351484514855148651487514885148951490514915149251493514945149551496514975149851499515005150151502515035150451505515065150751508515095151051511515125151351514515155151651517515185151951520515215152251523515245152551526515275152851529515305153151532515335153451535515365153751538515395154051541515425154351544515455154651547515485154951550515515155251553515545155551556515575155851559515605156151562515635156451565515665156751568515695157051571515725157351574515755157651577515785157951580515815158251583515845158551586515875158851589515905159151592515935159451595515965159751598515995160051601516025160351604516055160651607516085160951610516115161251613516145161551616516175161851619516205162151622516235162451625516265162751628516295163051631516325163351634516355163651637516385163951640516415164251643516445164551646516475164851649516505165151652516535165451655516565165751658516595166051661516625166351664516655166651667516685166951670516715167251673516745167551676516775167851679516805168151682516835168451685516865168751688516895169051691516925169351694516955169651697516985169951700517015170251703517045170551706517075170851709517105171151712517135171451715517165171751718517195172051721517225172351724517255172651727517285172951730517315173251733517345173551736517375173851739517405174151742517435174451745517465174751748517495175051751517525175351754517555175651757517585175951760517615176251763517645176551766517675176851769517705177151772517735177451775517765177751778517795178051781517825178351784517855178651787517885178951790517915179251793517945179551796517975179851799518005180151802518035180451805518065180751808518095181051811518125181351814518155181651817518185181951820518215182251823518245182551826518275182851829518305183151832518335183451835518365183751838518395184051841518425184351844518455184651847518485184951850518515185251853518545185551856518575185851859518605186151862518635186451865518665186751868518695187051871518725187351874518755187651877518785187951880518815188251883518845188551886518875188851889518905189151892518935189451895518965189751898518995190051901519025190351904519055190651907519085190951910519115191251913519145191551916519175191851919519205192151922519235192451925519265192751928519295193051931519325193351934519355193651937519385193951940519415194251943519445194551946519475194851949519505195151952519535195451955519565195751958519595196051961519625196351964519655196651967519685196951970519715197251973519745197551976519775197851979519805198151982519835198451985519865198751988519895199051991519925199351994519955199651997519985199952000520015200252003520045200552006520075200852009520105201152012520135201452015520165201752018520195202052021520225202352024520255202652027520285202952030520315203252033520345203552036520375203852039520405204152042520435204452045520465204752048520495205052051520525205352054520555205652057520585205952060520615206252063520645206552066520675206852069520705207152072520735207452075520765207752078520795208052081520825208352084520855208652087520885208952090520915209252093520945209552096520975209852099521005210152102521035210452105521065210752108521095211052111521125211352114521155211652117521185211952120521215212252123521245212552126521275212852129521305213152132521335213452135521365213752138521395214052141521425214352144521455214652147521485214952150521515215252153521545215552156521575215852159521605216152162521635216452165521665216752168521695217052171521725217352174521755217652177521785217952180521815218252183521845218552186521875218852189521905219152192521935219452195521965219752198521995220052201522025220352204522055220652207522085220952210522115221252213522145221552216522175221852219522205222152222522235222452225522265222752228522295223052231522325223352234522355223652237522385223952240522415224252243522445224552246522475224852249522505225152252522535225452255522565225752258522595226052261522625226352264522655226652267522685226952270522715227252273522745227552276522775227852279522805228152282522835228452285522865228752288522895229052291522925229352294522955229652297522985229952300523015230252303523045230552306523075230852309523105231152312523135231452315523165231752318523195232052321523225232352324523255232652327523285232952330523315233252333523345233552336523375233852339523405234152342523435234452345523465234752348523495235052351523525235352354523555235652357523585235952360523615236252363523645236552366523675236852369523705237152372523735237452375523765237752378523795238052381523825238352384523855238652387523885238952390523915239252393523945239552396523975239852399524005240152402524035240452405524065240752408524095241052411524125241352414524155241652417524185241952420524215242252423524245242552426524275242852429524305243152432524335243452435524365243752438524395244052441524425244352444524455244652447524485244952450524515245252453524545245552456524575245852459524605246152462524635246452465524665246752468524695247052471524725247352474524755247652477524785247952480524815248252483524845248552486524875248852489524905249152492524935249452495524965249752498524995250052501525025250352504525055250652507525085250952510525115251252513525145251552516525175251852519525205252152522525235252452525525265252752528525295253052531525325253352534525355253652537525385253952540525415254252543525445254552546525475254852549525505255152552525535255452555525565255752558525595256052561525625256352564525655256652567525685256952570525715257252573525745257552576525775257852579525805258152582525835258452585525865258752588525895259052591525925259352594525955259652597525985259952600526015260252603526045260552606526075260852609526105261152612526135261452615526165261752618526195262052621526225262352624526255262652627526285262952630526315263252633526345263552636526375263852639526405264152642526435264452645526465264752648526495265052651526525265352654526555265652657526585265952660526615266252663526645266552666526675266852669526705267152672526735267452675526765267752678526795268052681526825268352684526855268652687526885268952690526915269252693526945269552696526975269852699527005270152702527035270452705527065270752708527095271052711527125271352714527155271652717527185271952720527215272252723527245272552726527275272852729527305273152732527335273452735527365273752738527395274052741527425274352744527455274652747527485274952750527515275252753527545275552756527575275852759527605276152762527635276452765527665276752768527695277052771527725277352774527755277652777527785277952780527815278252783527845278552786527875278852789527905279152792527935279452795527965279752798527995280052801528025280352804528055280652807528085280952810528115281252813528145281552816528175281852819528205282152822528235282452825528265282752828528295283052831528325283352834528355283652837528385283952840528415284252843528445284552846528475284852849528505285152852528535285452855528565285752858528595286052861528625286352864528655286652867528685286952870528715287252873528745287552876528775287852879528805288152882528835288452885528865288752888528895289052891528925289352894528955289652897528985289952900529015290252903529045290552906529075290852909529105291152912529135291452915529165291752918529195292052921529225292352924529255292652927529285292952930529315293252933529345293552936529375293852939529405294152942529435294452945529465294752948529495295052951529525295352954529555295652957529585295952960529615296252963529645296552966529675296852969529705297152972529735297452975529765297752978529795298052981529825298352984529855298652987529885298952990529915299252993529945299552996529975299852999530005300153002530035300453005530065300753008530095301053011530125301353014530155301653017530185301953020530215302253023530245302553026530275302853029530305303153032530335303453035530365303753038530395304053041530425304353044530455304653047530485304953050530515305253053530545305553056530575305853059530605306153062530635306453065530665306753068530695307053071530725307353074530755307653077530785307953080530815308253083530845308553086530875308853089530905309153092530935309453095530965309753098530995310053101531025310353104531055310653107531085310953110531115311253113531145311553116531175311853119531205312153122531235312453125531265312753128531295313053131531325313353134531355313653137531385313953140531415314253143531445314553146531475314853149531505315153152531535315453155531565315753158531595316053161531625316353164531655316653167531685316953170531715317253173531745317553176531775317853179531805318153182531835318453185531865318753188531895319053191531925319353194531955319653197531985319953200532015320253203532045320553206532075320853209532105321153212532135321453215532165321753218532195322053221532225322353224532255322653227532285322953230532315323253233532345323553236532375323853239532405324153242532435324453245532465324753248532495325053251532525325353254532555325653257532585325953260532615326253263532645326553266532675326853269532705327153272532735327453275532765327753278532795328053281532825328353284532855328653287532885328953290532915329253293532945329553296532975329853299533005330153302533035330453305533065330753308533095331053311533125331353314533155331653317533185331953320533215332253323533245332553326533275332853329533305333153332533335333453335533365333753338533395334053341533425334353344533455334653347533485334953350533515335253353533545335553356533575335853359533605336153362533635336453365533665336753368533695337053371533725337353374533755337653377533785337953380533815338253383533845338553386533875338853389533905339153392533935339453395533965339753398533995340053401534025340353404534055340653407534085340953410534115341253413534145341553416534175341853419534205342153422534235342453425534265342753428534295343053431534325343353434534355343653437534385343953440534415344253443534445344553446534475344853449534505345153452534535345453455534565345753458534595346053461534625346353464534655346653467534685346953470534715347253473534745347553476534775347853479534805348153482534835348453485534865348753488534895349053491534925349353494534955349653497534985349953500535015350253503535045350553506535075350853509535105351153512535135351453515535165351753518535195352053521535225352353524535255352653527535285352953530535315353253533535345353553536535375353853539535405354153542535435354453545535465354753548535495355053551535525355353554535555355653557535585355953560535615356253563535645356553566535675356853569535705357153572535735357453575535765357753578535795358053581535825358353584535855358653587535885358953590535915359253593535945359553596535975359853599536005360153602536035360453605536065360753608536095361053611536125361353614536155361653617536185361953620536215362253623536245362553626536275362853629536305363153632536335363453635536365363753638536395364053641536425364353644536455364653647536485364953650536515365253653536545365553656536575365853659536605366153662536635366453665536665366753668536695367053671536725367353674536755367653677536785367953680536815368253683536845368553686536875368853689536905369153692536935369453695536965369753698536995370053701537025370353704537055370653707537085370953710537115371253713537145371553716537175371853719537205372153722537235372453725537265372753728537295373053731537325373353734537355373653737537385373953740537415374253743537445374553746537475374853749537505375153752537535375453755537565375753758537595376053761537625376353764537655376653767537685376953770537715377253773537745377553776537775377853779537805378153782537835378453785537865378753788537895379053791537925379353794537955379653797537985379953800538015380253803538045380553806538075380853809538105381153812538135381453815538165381753818538195382053821538225382353824538255382653827538285382953830538315383253833538345383553836538375383853839538405384153842538435384453845538465384753848538495385053851538525385353854538555385653857538585385953860538615386253863538645386553866538675386853869538705387153872538735387453875538765387753878538795388053881538825388353884538855388653887538885388953890538915389253893538945389553896538975389853899539005390153902539035390453905539065390753908539095391053911539125391353914539155391653917539185391953920539215392253923539245392553926539275392853929539305393153932539335393453935539365393753938539395394053941539425394353944539455394653947539485394953950539515395253953539545395553956539575395853959539605396153962539635396453965539665396753968539695397053971539725397353974539755397653977539785397953980539815398253983539845398553986539875398853989539905399153992539935399453995539965399753998539995400054001540025400354004540055400654007540085400954010540115401254013540145401554016540175401854019540205402154022540235402454025540265402754028540295403054031540325403354034540355403654037540385403954040540415404254043540445404554046540475404854049540505405154052540535405454055540565405754058540595406054061540625406354064540655406654067540685406954070540715407254073540745407554076540775407854079540805408154082540835408454085540865408754088540895409054091540925409354094540955409654097540985409954100541015410254103541045410554106541075410854109541105411154112541135411454115541165411754118541195412054121541225412354124541255412654127541285412954130541315413254133541345413554136541375413854139541405414154142541435414454145541465414754148541495415054151541525415354154541555415654157541585415954160541615416254163541645416554166541675416854169541705417154172541735417454175541765417754178541795418054181541825418354184541855418654187541885418954190541915419254193541945419554196541975419854199542005420154202542035420454205542065420754208542095421054211542125421354214542155421654217542185421954220542215422254223542245422554226542275422854229542305423154232542335423454235542365423754238542395424054241542425424354244542455424654247542485424954250542515425254253542545425554256542575425854259542605426154262542635426454265542665426754268542695427054271542725427354274542755427654277542785427954280542815428254283542845428554286542875428854289542905429154292542935429454295542965429754298542995430054301543025430354304543055430654307543085430954310543115431254313543145431554316543175431854319543205432154322543235432454325543265432754328543295433054331543325433354334543355433654337543385433954340543415434254343543445434554346543475434854349543505435154352543535435454355543565435754358543595436054361543625436354364543655436654367543685436954370543715437254373543745437554376543775437854379543805438154382543835438454385543865438754388543895439054391543925439354394543955439654397543985439954400544015440254403544045440554406544075440854409544105441154412544135441454415544165441754418544195442054421544225442354424544255442654427544285442954430544315443254433544345443554436544375443854439544405444154442544435444454445544465444754448544495445054451544525445354454544555445654457544585445954460544615446254463544645446554466544675446854469544705447154472544735447454475544765447754478544795448054481544825448354484544855448654487544885448954490544915449254493544945449554496544975449854499545005450154502545035450454505545065450754508545095451054511545125451354514545155451654517545185451954520545215452254523545245452554526545275452854529545305453154532545335453454535545365453754538545395454054541545425454354544545455454654547545485454954550545515455254553545545455554556545575455854559545605456154562545635456454565545665456754568545695457054571545725457354574545755457654577545785457954580545815458254583545845458554586545875458854589545905459154592545935459454595545965459754598545995460054601546025460354604546055460654607546085460954610546115461254613546145461554616546175461854619546205462154622546235462454625546265462754628546295463054631546325463354634546355463654637546385463954640546415464254643546445464554646546475464854649546505465154652546535465454655546565465754658546595466054661546625466354664546655466654667546685466954670546715467254673546745467554676546775467854679546805468154682546835468454685546865468754688546895469054691546925469354694546955469654697546985469954700547015470254703547045470554706547075470854709547105471154712547135471454715547165471754718547195472054721547225472354724547255472654727547285472954730547315473254733547345473554736547375473854739547405474154742547435474454745547465474754748547495475054751547525475354754547555475654757547585475954760547615476254763547645476554766547675476854769547705477154772547735477454775547765477754778547795478054781547825478354784547855478654787547885478954790547915479254793547945479554796547975479854799548005480154802548035480454805548065480754808548095481054811548125481354814548155481654817548185481954820548215482254823548245482554826548275482854829548305483154832548335483454835548365483754838548395484054841548425484354844548455484654847548485484954850548515485254853548545485554856548575485854859548605486154862548635486454865548665486754868548695487054871548725487354874548755487654877548785487954880548815488254883548845488554886548875488854889548905489154892548935489454895548965489754898548995490054901549025490354904549055490654907549085490954910549115491254913549145491554916549175491854919549205492154922549235492454925549265492754928549295493054931549325493354934549355493654937549385493954940549415494254943549445494554946549475494854949549505495154952549535495454955549565495754958549595496054961549625496354964549655496654967549685496954970549715497254973549745497554976549775497854979549805498154982549835498454985549865498754988549895499054991549925499354994549955499654997549985499955000550015500255003550045500555006550075500855009550105501155012550135501455015550165501755018550195502055021550225502355024550255502655027550285502955030550315503255033550345503555036550375503855039550405504155042550435504455045550465504755048550495505055051550525505355054550555505655057550585505955060550615506255063550645506555066550675506855069550705507155072550735507455075550765507755078550795508055081550825508355084550855508655087550885508955090550915509255093550945509555096550975509855099551005510155102551035510455105551065510755108551095511055111551125511355114551155511655117551185511955120551215512255123551245512555126551275512855129551305513155132551335513455135551365513755138551395514055141551425514355144551455514655147551485514955150551515515255153551545515555156551575515855159551605516155162551635516455165551665516755168551695517055171551725517355174551755517655177551785517955180551815518255183551845518555186551875518855189551905519155192551935519455195551965519755198551995520055201552025520355204552055520655207552085520955210552115521255213552145521555216552175521855219552205522155222552235522455225552265522755228552295523055231552325523355234552355523655237552385523955240552415524255243552445524555246552475524855249552505525155252552535525455255552565525755258552595526055261552625526355264552655526655267552685526955270552715527255273552745527555276552775527855279552805528155282552835528455285552865528755288552895529055291552925529355294552955529655297552985529955300553015530255303553045530555306553075530855309553105531155312553135531455315553165531755318553195532055321553225532355324553255532655327553285532955330553315533255333553345533555336553375533855339553405534155342553435534455345553465534755348553495535055351553525535355354553555535655357553585535955360553615536255363553645536555366553675536855369553705537155372553735537455375553765537755378553795538055381553825538355384553855538655387553885538955390553915539255393553945539555396553975539855399554005540155402554035540455405554065540755408554095541055411554125541355414554155541655417554185541955420554215542255423554245542555426554275542855429554305543155432554335543455435554365543755438554395544055441554425544355444554455544655447554485544955450554515545255453554545545555456554575545855459554605546155462554635546455465554665546755468554695547055471554725547355474554755547655477554785547955480554815548255483554845548555486554875548855489554905549155492554935549455495554965549755498554995550055501555025550355504555055550655507555085550955510555115551255513555145551555516555175551855519555205552155522555235552455525555265552755528555295553055531555325553355534555355553655537555385553955540555415554255543555445554555546555475554855549555505555155552555535555455555555565555755558555595556055561555625556355564555655556655567555685556955570555715557255573555745557555576555775557855579555805558155582555835558455585555865558755588555895559055591555925559355594555955559655597555985559955600556015560255603556045560555606556075560855609556105561155612556135561455615556165561755618556195562055621556225562355624556255562655627556285562955630556315563255633556345563555636556375563855639556405564155642556435564455645556465564755648556495565055651556525565355654556555565655657556585565955660556615566255663556645566555666556675566855669556705567155672556735567455675556765567755678556795568055681556825568355684556855568655687556885568955690556915569255693556945569555696556975569855699557005570155702557035570455705557065570755708557095571055711557125571355714557155571655717557185571955720557215572255723557245572555726557275572855729557305573155732557335573455735557365573755738557395574055741557425574355744557455574655747557485574955750557515575255753557545575555756557575575855759557605576155762557635576455765557665576755768557695577055771557725577355774557755577655777557785577955780557815578255783557845578555786557875578855789557905579155792557935579455795557965579755798557995580055801558025580355804558055580655807558085580955810558115581255813558145581555816558175581855819558205582155822558235582455825558265582755828558295583055831558325583355834558355583655837558385583955840558415584255843558445584555846558475584855849558505585155852558535585455855558565585755858558595586055861558625586355864558655586655867558685586955870558715587255873558745587555876558775587855879558805588155882558835588455885558865588755888558895589055891558925589355894558955589655897558985589955900559015590255903559045590555906559075590855909559105591155912559135591455915559165591755918559195592055921559225592355924559255592655927559285592955930559315593255933559345593555936559375593855939559405594155942559435594455945559465594755948559495595055951559525595355954559555595655957559585595955960559615596255963559645596555966559675596855969559705597155972559735597455975559765597755978559795598055981559825598355984559855598655987559885598955990559915599255993559945599555996559975599855999560005600156002560035600456005560065600756008560095601056011560125601356014560155601656017560185601956020560215602256023560245602556026560275602856029560305603156032560335603456035560365603756038560395604056041560425604356044560455604656047560485604956050560515605256053560545605556056560575605856059560605606156062560635606456065560665606756068560695607056071560725607356074560755607656077560785607956080560815608256083560845608556086560875608856089560905609156092560935609456095560965609756098560995610056101561025610356104561055610656107561085610956110561115611256113561145611556116561175611856119561205612156122561235612456125561265612756128561295613056131561325613356134561355613656137561385613956140561415614256143561445614556146561475614856149561505615156152561535615456155561565615756158561595616056161561625616356164561655616656167561685616956170561715617256173561745617556176561775617856179561805618156182561835618456185561865618756188561895619056191561925619356194561955619656197561985619956200562015620256203562045620556206562075620856209562105621156212562135621456215562165621756218562195622056221562225622356224562255622656227562285622956230562315623256233562345623556236562375623856239562405624156242562435624456245562465624756248562495625056251562525625356254562555625656257562585625956260562615626256263562645626556266562675626856269562705627156272562735627456275562765627756278562795628056281562825628356284562855628656287562885628956290562915629256293562945629556296562975629856299563005630156302563035630456305563065630756308563095631056311563125631356314563155631656317563185631956320563215632256323563245632556326563275632856329563305633156332563335633456335563365633756338563395634056341563425634356344563455634656347563485634956350563515635256353563545635556356563575635856359563605636156362563635636456365563665636756368563695637056371563725637356374563755637656377563785637956380563815638256383563845638556386563875638856389563905639156392563935639456395563965639756398563995640056401564025640356404564055640656407564085640956410564115641256413564145641556416564175641856419564205642156422564235642456425564265642756428564295643056431564325643356434564355643656437564385643956440564415644256443564445644556446564475644856449564505645156452564535645456455564565645756458564595646056461564625646356464564655646656467564685646956470564715647256473564745647556476564775647856479564805648156482564835648456485564865648756488564895649056491564925649356494564955649656497564985649956500565015650256503565045650556506565075650856509565105651156512565135651456515565165651756518565195652056521565225652356524565255652656527565285652956530565315653256533565345653556536565375653856539565405654156542565435654456545565465654756548565495655056551565525655356554565555655656557565585655956560565615656256563565645656556566565675656856569565705657156572565735657456575565765657756578565795658056581565825658356584565855658656587565885658956590565915659256593565945659556596565975659856599566005660156602566035660456605566065660756608566095661056611566125661356614566155661656617566185661956620566215662256623566245662556626566275662856629566305663156632566335663456635566365663756638566395664056641566425664356644566455664656647566485664956650566515665256653566545665556656566575665856659566605666156662566635666456665566665666756668566695667056671566725667356674566755667656677566785667956680566815668256683566845668556686566875668856689566905669156692566935669456695566965669756698566995670056701567025670356704567055670656707567085670956710567115671256713567145671556716567175671856719567205672156722567235672456725567265672756728567295673056731567325673356734567355673656737567385673956740567415674256743567445674556746567475674856749567505675156752567535675456755567565675756758567595676056761567625676356764567655676656767567685676956770567715677256773567745677556776567775677856779567805678156782567835678456785567865678756788567895679056791567925679356794567955679656797567985679956800568015680256803568045680556806568075680856809568105681156812568135681456815568165681756818568195682056821568225682356824568255682656827568285682956830568315683256833568345683556836568375683856839568405684156842568435684456845568465684756848568495685056851568525685356854568555685656857568585685956860568615686256863568645686556866568675686856869568705687156872568735687456875568765687756878568795688056881568825688356884568855688656887568885688956890568915689256893568945689556896568975689856899569005690156902569035690456905569065690756908569095691056911569125691356914569155691656917569185691956920569215692256923569245692556926569275692856929569305693156932569335693456935569365693756938569395694056941569425694356944569455694656947569485694956950569515695256953569545695556956569575695856959569605696156962569635696456965569665696756968569695697056971569725697356974569755697656977569785697956980569815698256983569845698556986569875698856989569905699156992569935699456995569965699756998569995700057001570025700357004570055700657007570085700957010570115701257013570145701557016570175701857019570205702157022570235702457025570265702757028570295703057031570325703357034570355703657037570385703957040570415704257043570445704557046570475704857049570505705157052570535705457055570565705757058570595706057061570625706357064570655706657067570685706957070570715707257073570745707557076570775707857079570805708157082570835708457085570865708757088570895709057091570925709357094570955709657097570985709957100571015710257103571045710557106571075710857109571105711157112571135711457115571165711757118571195712057121571225712357124571255712657127571285712957130571315713257133571345713557136571375713857139571405714157142571435714457145571465714757148571495715057151571525715357154571555715657157571585715957160571615716257163571645716557166571675716857169571705717157172571735717457175571765717757178571795718057181571825718357184571855718657187571885718957190571915719257193571945719557196571975719857199572005720157202572035720457205572065720757208572095721057211572125721357214572155721657217572185721957220572215722257223572245722557226572275722857229572305723157232572335723457235572365723757238572395724057241572425724357244572455724657247572485724957250572515725257253572545725557256572575725857259572605726157262572635726457265572665726757268572695727057271572725727357274572755727657277572785727957280572815728257283572845728557286572875728857289572905729157292572935729457295572965729757298572995730057301573025730357304573055730657307573085730957310573115731257313573145731557316573175731857319573205732157322573235732457325573265732757328573295733057331573325733357334573355733657337573385733957340573415734257343573445734557346573475734857349573505735157352573535735457355573565735757358573595736057361573625736357364573655736657367573685736957370573715737257373573745737557376573775737857379573805738157382573835738457385573865738757388573895739057391573925739357394573955739657397573985739957400574015740257403574045740557406574075740857409574105741157412574135741457415574165741757418574195742057421574225742357424574255742657427574285742957430574315743257433574345743557436574375743857439574405744157442574435744457445574465744757448574495745057451574525745357454574555745657457574585745957460574615746257463574645746557466574675746857469574705747157472574735747457475574765747757478574795748057481574825748357484574855748657487574885748957490574915749257493574945749557496574975749857499575005750157502575035750457505575065750757508575095751057511575125751357514575155751657517575185751957520575215752257523575245752557526575275752857529575305753157532575335753457535575365753757538575395754057541575425754357544575455754657547575485754957550575515755257553575545755557556575575755857559575605756157562575635756457565575665756757568575695757057571575725757357574575755757657577575785757957580575815758257583575845758557586575875758857589575905759157592575935759457595575965759757598575995760057601576025760357604576055760657607576085760957610576115761257613576145761557616576175761857619576205762157622576235762457625576265762757628576295763057631576325763357634576355763657637576385763957640576415764257643576445764557646576475764857649576505765157652576535765457655576565765757658576595766057661576625766357664576655766657667576685766957670576715767257673576745767557676576775767857679576805768157682576835768457685576865768757688576895769057691576925769357694576955769657697576985769957700577015770257703577045770557706577075770857709577105771157712577135771457715577165771757718577195772057721577225772357724577255772657727577285772957730577315773257733577345773557736577375773857739577405774157742577435774457745577465774757748577495775057751577525775357754577555775657757577585775957760577615776257763577645776557766577675776857769577705777157772577735777457775577765777757778577795778057781577825778357784577855778657787577885778957790577915779257793577945779557796577975779857799578005780157802578035780457805578065780757808578095781057811578125781357814578155781657817578185781957820578215782257823578245782557826578275782857829578305783157832578335783457835578365783757838578395784057841578425784357844578455784657847578485784957850578515785257853578545785557856578575785857859578605786157862578635786457865578665786757868578695787057871578725787357874578755787657877578785787957880578815788257883578845788557886578875788857889578905789157892578935789457895578965789757898578995790057901579025790357904579055790657907579085790957910579115791257913579145791557916579175791857919579205792157922579235792457925579265792757928579295793057931579325793357934579355793657937579385793957940579415794257943579445794557946579475794857949579505795157952579535795457955579565795757958579595796057961579625796357964579655796657967579685796957970579715797257973579745797557976579775797857979579805798157982579835798457985579865798757988579895799057991579925799357994579955799657997579985799958000580015800258003580045800558006580075800858009580105801158012580135801458015580165801758018580195802058021580225802358024580255802658027580285802958030580315803258033580345803558036580375803858039580405804158042580435804458045580465804758048580495805058051580525805358054580555805658057580585805958060580615806258063580645806558066580675806858069580705807158072580735807458075580765807758078580795808058081580825808358084580855808658087580885808958090580915809258093580945809558096580975809858099581005810158102581035810458105581065810758108581095811058111581125811358114581155811658117581185811958120581215812258123581245812558126581275812858129581305813158132581335813458135581365813758138581395814058141581425814358144581455814658147581485814958150581515815258153581545815558156581575815858159581605816158162581635816458165581665816758168581695817058171581725817358174581755817658177581785817958180581815818258183581845818558186581875818858189581905819158192581935819458195581965819758198581995820058201582025820358204582055820658207582085820958210582115821258213582145821558216582175821858219582205822158222582235822458225582265822758228582295823058231582325823358234582355823658237582385823958240582415824258243582445824558246582475824858249582505825158252582535825458255582565825758258582595826058261582625826358264582655826658267582685826958270582715827258273582745827558276582775827858279582805828158282582835828458285582865828758288582895829058291582925829358294582955829658297582985829958300583015830258303583045830558306583075830858309583105831158312583135831458315583165831758318583195832058321583225832358324583255832658327583285832958330583315833258333583345833558336583375833858339583405834158342583435834458345583465834758348583495835058351583525835358354583555835658357583585835958360583615836258363583645836558366583675836858369583705837158372583735837458375583765837758378583795838058381583825838358384583855838658387583885838958390583915839258393583945839558396583975839858399584005840158402584035840458405584065840758408584095841058411584125841358414584155841658417584185841958420584215842258423584245842558426584275842858429584305843158432584335843458435584365843758438584395844058441584425844358444584455844658447584485844958450584515845258453584545845558456584575845858459584605846158462584635846458465584665846758468584695847058471584725847358474584755847658477584785847958480584815848258483584845848558486584875848858489584905849158492584935849458495584965849758498584995850058501585025850358504585055850658507585085850958510585115851258513585145851558516585175851858519585205852158522585235852458525585265852758528585295853058531585325853358534585355853658537585385853958540585415854258543585445854558546585475854858549585505855158552585535855458555585565855758558585595856058561585625856358564585655856658567585685856958570585715857258573585745857558576585775857858579585805858158582585835858458585585865858758588585895859058591585925859358594585955859658597585985859958600586015860258603586045860558606586075860858609586105861158612586135861458615586165861758618586195862058621586225862358624586255862658627586285862958630586315863258633586345863558636586375863858639586405864158642586435864458645586465864758648586495865058651586525865358654586555865658657586585865958660586615866258663586645866558666586675866858669586705867158672586735867458675586765867758678586795868058681586825868358684586855868658687586885868958690586915869258693586945869558696586975869858699587005870158702587035870458705587065870758708587095871058711587125871358714587155871658717587185871958720587215872258723587245872558726587275872858729587305873158732587335873458735587365873758738587395874058741587425874358744587455874658747587485874958750587515875258753587545875558756587575875858759587605876158762587635876458765587665876758768587695877058771587725877358774587755877658777587785877958780587815878258783587845878558786587875878858789587905879158792587935879458795587965879758798587995880058801588025880358804588055880658807588085880958810588115881258813588145881558816588175881858819588205882158822588235882458825588265882758828588295883058831588325883358834588355883658837588385883958840588415884258843588445884558846588475884858849588505885158852588535885458855588565885758858588595886058861588625886358864588655886658867588685886958870588715887258873588745887558876588775887858879588805888158882588835888458885588865888758888588895889058891588925889358894588955889658897588985889958900589015890258903589045890558906589075890858909589105891158912589135891458915589165891758918589195892058921589225892358924589255892658927589285892958930589315893258933589345893558936589375893858939589405894158942589435894458945589465894758948589495895058951589525895358954589555895658957589585895958960589615896258963589645896558966589675896858969589705897158972589735897458975589765897758978589795898058981589825898358984589855898658987589885898958990589915899258993589945899558996589975899858999590005900159002590035900459005590065900759008590095901059011590125901359014590155901659017590185901959020590215902259023590245902559026590275902859029590305903159032590335903459035590365903759038590395904059041590425904359044590455904659047590485904959050590515905259053590545905559056590575905859059590605906159062590635906459065590665906759068590695907059071590725907359074590755907659077590785907959080590815908259083590845908559086590875908859089590905909159092590935909459095590965909759098590995910059101591025910359104591055910659107591085910959110591115911259113591145911559116591175911859119591205912159122591235912459125591265912759128591295913059131591325913359134591355913659137591385913959140591415914259143591445914559146591475914859149591505915159152591535915459155591565915759158591595916059161591625916359164591655916659167591685916959170591715917259173591745917559176591775917859179591805918159182591835918459185591865918759188591895919059191591925919359194591955919659197591985919959200592015920259203592045920559206592075920859209592105921159212592135921459215592165921759218592195922059221592225922359224592255922659227592285922959230592315923259233592345923559236592375923859239592405924159242592435924459245592465924759248592495925059251592525925359254592555925659257592585925959260592615926259263592645926559266592675926859269592705927159272592735927459275592765927759278592795928059281592825928359284592855928659287592885928959290592915929259293592945929559296592975929859299593005930159302593035930459305593065930759308593095931059311593125931359314593155931659317593185931959320593215932259323593245932559326593275932859329593305933159332593335933459335593365933759338593395934059341593425934359344593455934659347593485934959350593515935259353593545935559356593575935859359593605936159362593635936459365593665936759368593695937059371593725937359374593755937659377593785937959380593815938259383593845938559386593875938859389593905939159392593935939459395593965939759398593995940059401594025940359404594055940659407594085940959410594115941259413594145941559416594175941859419594205942159422594235942459425594265942759428594295943059431594325943359434594355943659437594385943959440594415944259443594445944559446594475944859449594505945159452594535945459455594565945759458594595946059461594625946359464594655946659467594685946959470594715947259473594745947559476594775947859479594805948159482594835948459485594865948759488594895949059491594925949359494594955949659497594985949959500595015950259503595045950559506595075950859509595105951159512595135951459515595165951759518595195952059521595225952359524595255952659527595285952959530595315953259533595345953559536595375953859539595405954159542595435954459545595465954759548595495955059551595525955359554595555955659557595585955959560595615956259563595645956559566595675956859569595705957159572595735957459575595765957759578595795958059581595825958359584595855958659587595885958959590595915959259593595945959559596595975959859599596005960159602596035960459605596065960759608596095961059611596125961359614596155961659617596185961959620596215962259623596245962559626596275962859629596305963159632596335963459635596365963759638596395964059641596425964359644596455964659647596485964959650596515965259653596545965559656596575965859659596605966159662596635966459665596665966759668596695967059671596725967359674596755967659677596785967959680596815968259683596845968559686596875968859689596905969159692596935969459695596965969759698596995970059701597025970359704597055970659707597085970959710597115971259713597145971559716597175971859719597205972159722597235972459725597265972759728597295973059731597325973359734597355973659737597385973959740597415974259743597445974559746597475974859749597505975159752597535975459755597565975759758597595976059761597625976359764597655976659767597685976959770597715977259773597745977559776597775977859779597805978159782597835978459785597865978759788597895979059791597925979359794597955979659797597985979959800598015980259803598045980559806598075980859809598105981159812598135981459815598165981759818598195982059821598225982359824598255982659827598285982959830598315983259833598345983559836598375983859839598405984159842598435984459845598465984759848598495985059851598525985359854598555985659857598585985959860598615986259863598645986559866598675986859869598705987159872598735987459875598765987759878598795988059881598825988359884598855988659887598885988959890598915989259893598945989559896598975989859899599005990159902599035990459905599065990759908599095991059911599125991359914599155991659917599185991959920599215992259923599245992559926599275992859929599305993159932599335993459935599365993759938599395994059941599425994359944599455994659947599485994959950599515995259953599545995559956599575995859959599605996159962599635996459965599665996759968599695997059971599725997359974599755997659977599785997959980599815998259983599845998559986599875998859989599905999159992599935999459995599965999759998599996000060001600026000360004600056000660007600086000960010600116001260013600146001560016600176001860019600206002160022600236002460025600266002760028600296003060031600326003360034600356003660037600386003960040600416004260043600446004560046600476004860049600506005160052600536005460055600566005760058600596006060061600626006360064600656006660067600686006960070600716007260073600746007560076600776007860079600806008160082600836008460085600866008760088600896009060091600926009360094600956009660097600986009960100601016010260103601046010560106601076010860109601106011160112601136011460115601166011760118601196012060121601226012360124601256012660127601286012960130601316013260133601346013560136601376013860139601406014160142601436014460145601466014760148601496015060151601526015360154601556015660157601586015960160601616016260163601646016560166601676016860169601706017160172601736017460175601766017760178601796018060181601826018360184601856018660187601886018960190601916019260193601946019560196601976019860199602006020160202602036020460205602066020760208602096021060211602126021360214602156021660217602186021960220602216022260223602246022560226602276022860229602306023160232602336023460235602366023760238602396024060241602426024360244602456024660247602486024960250602516025260253602546025560256602576025860259602606026160262602636026460265602666026760268602696027060271602726027360274602756027660277602786027960280602816028260283602846028560286602876028860289602906029160292602936029460295602966029760298602996030060301603026030360304603056030660307603086030960310603116031260313603146031560316603176031860319603206032160322603236032460325603266032760328603296033060331603326033360334603356033660337603386033960340603416034260343603446034560346603476034860349603506035160352603536035460355603566035760358603596036060361603626036360364603656036660367603686036960370603716037260373603746037560376603776037860379603806038160382603836038460385603866038760388603896039060391603926039360394603956039660397603986039960400604016040260403604046040560406604076040860409604106041160412604136041460415604166041760418604196042060421604226042360424604256042660427604286042960430604316043260433604346043560436604376043860439604406044160442604436044460445604466044760448604496045060451604526045360454604556045660457604586045960460604616046260463604646046560466604676046860469604706047160472604736047460475604766047760478604796048060481604826048360484604856048660487604886048960490604916049260493604946049560496604976049860499605006050160502605036050460505605066050760508605096051060511605126051360514605156051660517605186051960520605216052260523605246052560526605276052860529605306053160532605336053460535605366053760538605396054060541605426054360544605456054660547605486054960550605516055260553605546055560556605576055860559605606056160562605636056460565605666056760568605696057060571605726057360574605756057660577605786057960580605816058260583605846058560586605876058860589605906059160592605936059460595605966059760598605996060060601606026060360604606056060660607606086060960610606116061260613606146061560616606176061860619606206062160622606236062460625606266062760628606296063060631606326063360634606356063660637606386063960640606416064260643606446064560646606476064860649606506065160652606536065460655606566065760658606596066060661606626066360664606656066660667606686066960670606716067260673606746067560676606776067860679606806068160682606836068460685606866068760688606896069060691606926069360694606956069660697606986069960700607016070260703607046070560706607076070860709607106071160712607136071460715607166071760718607196072060721607226072360724607256072660727607286072960730607316073260733607346073560736607376073860739607406074160742607436074460745607466074760748607496075060751607526075360754607556075660757607586075960760607616076260763607646076560766607676076860769607706077160772607736077460775607766077760778607796078060781607826078360784607856078660787607886078960790607916079260793607946079560796607976079860799608006080160802608036080460805608066080760808608096081060811608126081360814608156081660817608186081960820608216082260823608246082560826608276082860829608306083160832608336083460835608366083760838608396084060841608426084360844608456084660847608486084960850608516085260853608546085560856608576085860859608606086160862608636086460865608666086760868608696087060871608726087360874608756087660877608786087960880608816088260883608846088560886608876088860889608906089160892608936089460895608966089760898608996090060901609026090360904609056090660907609086090960910609116091260913609146091560916609176091860919609206092160922609236092460925609266092760928609296093060931609326093360934609356093660937609386093960940609416094260943609446094560946609476094860949609506095160952609536095460955609566095760958609596096060961609626096360964609656096660967609686096960970609716097260973609746097560976609776097860979609806098160982609836098460985609866098760988609896099060991609926099360994609956099660997609986099961000610016100261003610046100561006610076100861009610106101161012610136101461015610166101761018610196102061021610226102361024610256102661027610286102961030610316103261033610346103561036610376103861039610406104161042610436104461045610466104761048610496105061051610526105361054610556105661057610586105961060610616106261063610646106561066610676106861069610706107161072610736107461075610766107761078610796108061081610826108361084610856108661087610886108961090610916109261093610946109561096610976109861099611006110161102611036110461105611066110761108611096111061111611126111361114611156111661117611186111961120611216112261123611246112561126611276112861129611306113161132611336113461135611366113761138611396114061141611426114361144611456114661147611486114961150611516115261153611546115561156611576115861159611606116161162611636116461165611666116761168611696117061171611726117361174611756117661177611786117961180611816118261183611846118561186611876118861189611906119161192611936119461195611966119761198611996120061201612026120361204612056120661207612086120961210612116121261213612146121561216612176121861219612206122161222612236122461225612266122761228612296123061231612326123361234612356123661237612386123961240612416124261243612446124561246612476124861249612506125161252612536125461255612566125761258612596126061261612626126361264612656126661267612686126961270612716127261273612746127561276612776127861279612806128161282612836128461285612866128761288612896129061291612926129361294612956129661297612986129961300613016130261303613046130561306613076130861309613106131161312613136131461315613166131761318613196132061321613226132361324613256132661327613286132961330613316133261333613346133561336613376133861339613406134161342613436134461345613466134761348613496135061351613526135361354613556135661357613586135961360613616136261363613646136561366613676136861369613706137161372613736137461375613766137761378613796138061381613826138361384613856138661387613886138961390613916139261393613946139561396613976139861399614006140161402614036140461405614066140761408614096141061411614126141361414614156141661417614186141961420614216142261423614246142561426614276142861429614306143161432614336143461435614366143761438614396144061441614426144361444614456144661447614486144961450614516145261453614546145561456614576145861459614606146161462614636146461465614666146761468614696147061471614726147361474614756147661477614786147961480614816148261483614846148561486614876148861489614906149161492614936149461495614966149761498614996150061501615026150361504615056150661507615086150961510615116151261513615146151561516615176151861519615206152161522615236152461525615266152761528615296153061531615326153361534615356153661537615386153961540615416154261543615446154561546615476154861549615506155161552615536155461555615566155761558615596156061561615626156361564615656156661567615686156961570615716157261573615746157561576615776157861579615806158161582615836158461585615866158761588615896159061591615926159361594615956159661597615986159961600616016160261603616046160561606616076160861609616106161161612616136161461615616166161761618616196162061621616226162361624616256162661627616286162961630616316163261633616346163561636616376163861639616406164161642616436164461645616466164761648616496165061651616526165361654616556165661657616586165961660616616166261663616646166561666616676166861669616706167161672616736167461675616766167761678616796168061681616826168361684616856168661687616886168961690616916169261693616946169561696616976169861699617006170161702617036170461705617066170761708617096171061711617126171361714617156171661717617186171961720617216172261723617246172561726617276172861729617306173161732617336173461735617366173761738617396174061741617426174361744617456174661747617486174961750617516175261753617546175561756617576175861759617606176161762617636176461765617666176761768617696177061771617726177361774617756177661777617786177961780617816178261783617846178561786617876178861789617906179161792617936179461795617966179761798617996180061801618026180361804618056180661807618086180961810618116181261813618146181561816618176181861819618206182161822618236182461825618266182761828618296183061831618326183361834618356183661837618386183961840618416184261843618446184561846618476184861849618506185161852618536185461855618566185761858618596186061861618626186361864618656186661867618686186961870618716187261873618746187561876618776187861879618806188161882618836188461885618866188761888618896189061891618926189361894618956189661897618986189961900619016190261903619046190561906619076190861909619106191161912619136191461915619166191761918619196192061921619226192361924619256192661927619286192961930619316193261933619346193561936619376193861939619406194161942619436194461945619466194761948619496195061951619526195361954619556195661957619586195961960619616196261963619646196561966619676196861969619706197161972619736197461975619766197761978619796198061981619826198361984619856198661987619886198961990619916199261993619946199561996619976199861999620006200162002620036200462005620066200762008620096201062011620126201362014620156201662017620186201962020620216202262023620246202562026620276202862029620306203162032620336203462035620366203762038620396204062041620426204362044620456204662047620486204962050620516205262053620546205562056620576205862059620606206162062620636206462065620666206762068620696207062071620726207362074620756207662077620786207962080620816208262083620846208562086620876208862089620906209162092620936209462095620966209762098620996210062101621026210362104621056210662107621086210962110621116211262113621146211562116621176211862119621206212162122621236212462125621266212762128621296213062131621326213362134621356213662137621386213962140621416214262143621446214562146621476214862149621506215162152621536215462155621566215762158621596216062161621626216362164621656216662167621686216962170621716217262173621746217562176621776217862179621806218162182621836218462185621866218762188621896219062191621926219362194621956219662197621986219962200622016220262203622046220562206622076220862209622106221162212622136221462215622166221762218622196222062221622226222362224622256222662227622286222962230622316223262233622346223562236622376223862239622406224162242622436224462245622466224762248622496225062251622526225362254622556225662257622586225962260622616226262263622646226562266622676226862269622706227162272622736227462275622766227762278622796228062281622826228362284622856228662287622886228962290622916229262293622946229562296622976229862299623006230162302623036230462305623066230762308623096231062311623126231362314623156231662317623186231962320623216232262323623246232562326623276232862329623306233162332623336233462335623366233762338623396234062341623426234362344623456234662347623486234962350623516235262353623546235562356623576235862359623606236162362623636236462365623666236762368623696237062371623726237362374623756237662377623786237962380623816238262383623846238562386623876238862389623906239162392623936239462395623966239762398623996240062401624026240362404624056240662407624086240962410624116241262413624146241562416624176241862419624206242162422624236242462425624266242762428624296243062431624326243362434624356243662437624386243962440624416244262443624446244562446624476244862449624506245162452624536245462455624566245762458624596246062461624626246362464624656246662467624686246962470624716247262473624746247562476624776247862479624806248162482624836248462485624866248762488624896249062491624926249362494624956249662497624986249962500625016250262503625046250562506625076250862509625106251162512625136251462515625166251762518625196252062521625226252362524625256252662527625286252962530625316253262533625346253562536625376253862539625406254162542625436254462545625466254762548625496255062551625526255362554625556255662557625586255962560625616256262563625646256562566625676256862569625706257162572625736257462575625766257762578625796258062581625826258362584625856258662587625886258962590625916259262593625946259562596625976259862599626006260162602626036260462605626066260762608626096261062611626126261362614626156261662617626186261962620626216262262623626246262562626626276262862629626306263162632626336263462635626366263762638626396264062641626426264362644626456264662647626486264962650626516265262653626546265562656626576265862659626606266162662626636266462665626666266762668626696267062671626726267362674626756267662677626786267962680626816268262683626846268562686626876268862689626906269162692626936269462695626966269762698626996270062701627026270362704627056270662707627086270962710627116271262713627146271562716627176271862719627206272162722627236272462725627266272762728627296273062731627326273362734627356273662737627386273962740627416274262743627446274562746627476274862749627506275162752627536275462755627566275762758627596276062761627626276362764627656276662767627686276962770627716277262773627746277562776627776277862779627806278162782627836278462785627866278762788627896279062791627926279362794627956279662797627986279962800628016280262803628046280562806628076280862809628106281162812628136281462815628166281762818628196282062821628226282362824628256282662827628286282962830628316283262833628346283562836628376283862839628406284162842628436284462845628466284762848628496285062851628526285362854628556285662857628586285962860628616286262863628646286562866628676286862869628706287162872628736287462875628766287762878628796288062881628826288362884628856288662887628886288962890628916289262893628946289562896628976289862899629006290162902629036290462905629066290762908629096291062911629126291362914629156291662917629186291962920629216292262923629246292562926629276292862929629306293162932629336293462935629366293762938629396294062941629426294362944629456294662947629486294962950629516295262953629546295562956629576295862959629606296162962629636296462965629666296762968629696297062971629726297362974629756297662977629786297962980629816298262983629846298562986629876298862989629906299162992629936299462995629966299762998629996300063001630026300363004630056300663007630086300963010630116301263013630146301563016630176301863019630206302163022630236302463025630266302763028630296303063031630326303363034630356303663037630386303963040630416304263043630446304563046630476304863049630506305163052630536305463055630566305763058630596306063061630626306363064630656306663067630686306963070630716307263073630746307563076630776307863079630806308163082630836308463085630866308763088630896309063091630926309363094630956309663097630986309963100631016310263103631046310563106631076310863109631106311163112631136311463115631166311763118631196312063121631226312363124631256312663127631286312963130631316313263133631346313563136631376313863139631406314163142631436314463145631466314763148631496315063151631526315363154631556315663157631586315963160631616316263163631646316563166631676316863169631706317163172631736317463175631766317763178631796318063181631826318363184631856318663187631886318963190631916319263193631946319563196631976319863199632006320163202632036320463205632066320763208632096321063211632126321363214632156321663217632186321963220632216322263223632246322563226632276322863229632306323163232632336323463235632366323763238632396324063241632426324363244632456324663247632486324963250632516325263253632546325563256632576325863259632606326163262632636326463265632666326763268632696327063271632726327363274632756327663277632786327963280632816328263283632846328563286632876328863289632906329163292632936329463295632966329763298632996330063301633026330363304633056330663307633086330963310633116331263313633146331563316633176331863319633206332163322633236332463325633266332763328633296333063331633326333363334633356333663337633386333963340633416334263343633446334563346633476334863349633506335163352633536335463355633566335763358633596336063361633626336363364633656336663367633686336963370633716337263373633746337563376633776337863379633806338163382633836338463385633866338763388633896339063391633926339363394633956339663397633986339963400634016340263403634046340563406634076340863409634106341163412634136341463415634166341763418634196342063421634226342363424634256342663427634286342963430634316343263433634346343563436634376343863439634406344163442634436344463445634466344763448634496345063451634526345363454634556345663457634586345963460634616346263463634646346563466634676346863469634706347163472634736347463475634766347763478634796348063481634826348363484634856348663487634886348963490634916349263493634946349563496634976349863499635006350163502635036350463505635066350763508635096351063511635126351363514635156351663517635186351963520635216352263523635246352563526635276352863529635306353163532635336353463535635366353763538635396354063541635426354363544635456354663547635486354963550635516355263553635546355563556635576355863559635606356163562635636356463565635666356763568635696357063571635726357363574635756357663577635786357963580635816358263583635846358563586635876358863589635906359163592635936359463595635966359763598635996360063601636026360363604636056360663607636086360963610636116361263613636146361563616636176361863619636206362163622636236362463625636266362763628636296363063631636326363363634636356363663637636386363963640636416364263643636446364563646636476364863649636506365163652636536365463655636566365763658636596366063661636626366363664636656366663667636686366963670636716367263673636746367563676636776367863679636806368163682636836368463685636866368763688636896369063691636926369363694636956369663697636986369963700637016370263703637046370563706637076370863709637106371163712637136371463715637166371763718637196372063721637226372363724637256372663727637286372963730637316373263733637346373563736637376373863739637406374163742637436374463745637466374763748637496375063751637526375363754637556375663757637586375963760637616376263763637646376563766637676376863769637706377163772637736377463775637766377763778637796378063781637826378363784637856378663787637886378963790637916379263793637946379563796637976379863799638006380163802638036380463805638066380763808638096381063811638126381363814638156381663817638186381963820638216382263823638246382563826638276382863829638306383163832638336383463835638366383763838638396384063841638426384363844638456384663847638486384963850638516385263853638546385563856638576385863859638606386163862638636386463865638666386763868638696387063871638726387363874638756387663877638786387963880638816388263883638846388563886638876388863889638906389163892638936389463895638966389763898638996390063901639026390363904639056390663907639086390963910639116391263913639146391563916639176391863919639206392163922639236392463925639266392763928639296393063931639326393363934639356393663937639386393963940639416394263943639446394563946639476394863949639506395163952639536395463955639566395763958639596396063961639626396363964639656396663967639686396963970639716397263973639746397563976639776397863979639806398163982639836398463985639866398763988639896399063991639926399363994639956399663997639986399964000640016400264003640046400564006640076400864009640106401164012640136401464015640166401764018640196402064021640226402364024640256402664027640286402964030640316403264033640346403564036640376403864039640406404164042640436404464045640466404764048640496405064051640526405364054640556405664057640586405964060640616406264063640646406564066640676406864069640706407164072640736407464075640766407764078640796408064081640826408364084640856408664087640886408964090640916409264093640946409564096640976409864099641006410164102641036410464105641066410764108641096411064111641126411364114641156411664117641186411964120641216412264123641246412564126641276412864129641306413164132641336413464135641366413764138641396414064141641426414364144641456414664147641486414964150641516415264153641546415564156641576415864159641606416164162641636416464165641666416764168641696417064171641726417364174641756417664177641786417964180641816418264183641846418564186641876418864189641906419164192641936419464195641966419764198641996420064201642026420364204642056420664207642086420964210642116421264213642146421564216642176421864219642206422164222642236422464225642266422764228642296423064231642326423364234642356423664237642386423964240642416424264243642446424564246642476424864249642506425164252642536425464255642566425764258642596426064261642626426364264642656426664267642686426964270642716427264273642746427564276642776427864279642806428164282642836428464285642866428764288642896429064291642926429364294642956429664297642986429964300643016430264303643046430564306643076430864309643106431164312643136431464315643166431764318643196432064321643226432364324643256432664327643286432964330643316433264333643346433564336643376433864339643406434164342643436434464345643466434764348643496435064351643526435364354643556435664357643586435964360643616436264363643646436564366643676436864369643706437164372643736437464375643766437764378643796438064381643826438364384643856438664387643886438964390643916439264393643946439564396643976439864399644006440164402644036440464405644066440764408644096441064411644126441364414644156441664417644186441964420644216442264423644246442564426644276442864429644306443164432644336443464435644366443764438644396444064441644426444364444644456444664447644486444964450644516445264453644546445564456644576445864459644606446164462644636446464465644666446764468644696447064471644726447364474644756447664477644786447964480644816448264483644846448564486644876448864489644906449164492644936449464495644966449764498644996450064501645026450364504645056450664507645086450964510645116451264513645146451564516645176451864519645206452164522645236452464525645266452764528645296453064531645326453364534645356453664537645386453964540645416454264543645446454564546645476454864549645506455164552645536455464555645566455764558645596456064561645626456364564645656456664567645686456964570645716457264573645746457564576645776457864579645806458164582645836458464585645866458764588645896459064591645926459364594645956459664597645986459964600646016460264603646046460564606646076460864609646106461164612646136461464615646166461764618646196462064621646226462364624646256462664627646286462964630646316463264633646346463564636646376463864639646406464164642646436464464645646466464764648646496465064651646526465364654646556465664657646586465964660646616466264663646646466564666646676466864669646706467164672646736467464675646766467764678646796468064681646826468364684646856468664687646886468964690646916469264693646946469564696646976469864699647006470164702647036470464705647066470764708647096471064711647126471364714647156471664717647186471964720647216472264723647246472564726647276472864729647306473164732647336473464735647366473764738647396474064741647426474364744647456474664747647486474964750647516475264753647546475564756647576475864759647606476164762647636476464765647666476764768647696477064771647726477364774647756477664777647786477964780647816478264783647846478564786647876478864789647906479164792647936479464795647966479764798647996480064801648026480364804648056480664807648086480964810648116481264813648146481564816648176481864819648206482164822648236482464825648266482764828648296483064831648326483364834648356483664837648386483964840648416484264843648446484564846648476484864849648506485164852648536485464855648566485764858648596486064861648626486364864648656486664867648686486964870648716487264873648746487564876648776487864879648806488164882648836488464885648866488764888648896489064891648926489364894648956489664897648986489964900649016490264903649046490564906649076490864909649106491164912649136491464915649166491764918649196492064921649226492364924649256492664927649286492964930649316493264933649346493564936649376493864939649406494164942649436494464945649466494764948649496495064951649526495364954649556495664957649586495964960649616496264963649646496564966649676496864969649706497164972649736497464975649766497764978649796498064981649826498364984649856498664987649886498964990649916499264993649946499564996649976499864999650006500165002650036500465005650066500765008650096501065011650126501365014650156501665017650186501965020650216502265023650246502565026650276502865029650306503165032650336503465035650366503765038650396504065041650426504365044650456504665047650486504965050650516505265053650546505565056650576505865059650606506165062650636506465065650666506765068650696507065071650726507365074650756507665077650786507965080650816508265083650846508565086650876508865089650906509165092650936509465095650966509765098650996510065101651026510365104651056510665107651086510965110651116511265113651146511565116651176511865119651206512165122651236512465125651266512765128651296513065131651326513365134651356513665137651386513965140651416514265143651446514565146651476514865149651506515165152651536515465155651566515765158651596516065161651626516365164651656516665167651686516965170651716517265173651746517565176651776517865179651806518165182651836518465185651866518765188651896519065191651926519365194651956519665197651986519965200652016520265203652046520565206652076520865209652106521165212652136521465215652166521765218652196522065221652226522365224652256522665227652286522965230652316523265233652346523565236652376523865239652406524165242652436524465245652466524765248652496525065251652526525365254652556525665257652586525965260652616526265263652646526565266652676526865269652706527165272652736527465275652766527765278652796528065281652826528365284652856528665287652886528965290652916529265293652946529565296652976529865299653006530165302653036530465305653066530765308653096531065311653126531365314653156531665317653186531965320653216532265323653246532565326653276532865329653306533165332653336533465335653366533765338653396534065341653426534365344653456534665347653486534965350653516535265353653546535565356653576535865359653606536165362653636536465365653666536765368653696537065371653726537365374653756537665377653786537965380653816538265383653846538565386653876538865389653906539165392653936539465395653966539765398653996540065401654026540365404654056540665407654086540965410654116541265413654146541565416654176541865419654206542165422654236542465425654266542765428654296543065431654326543365434654356543665437654386543965440654416544265443654446544565446654476544865449654506545165452654536545465455654566545765458654596546065461654626546365464654656546665467654686546965470654716547265473654746547565476654776547865479654806548165482654836548465485654866548765488654896549065491654926549365494654956549665497654986549965500655016550265503655046550565506655076550865509655106551165512655136551465515655166551765518655196552065521655226552365524655256552665527655286552965530655316553265533655346553565536655376553865539655406554165542655436554465545655466554765548655496555065551655526555365554655556555665557655586555965560655616556265563655646556565566655676556865569655706557165572655736557465575655766557765578655796558065581655826558365584655856558665587655886558965590655916559265593655946559565596655976559865599656006560165602656036560465605656066560765608656096561065611656126561365614656156561665617656186561965620656216562265623656246562565626656276562865629656306563165632656336563465635656366563765638656396564065641656426564365644656456564665647656486564965650656516565265653656546565565656656576565865659656606566165662656636566465665656666566765668656696567065671656726567365674656756567665677656786567965680656816568265683656846568565686656876568865689656906569165692656936569465695656966569765698656996570065701657026570365704657056570665707657086570965710657116571265713657146571565716657176571865719657206572165722657236572465725657266572765728657296573065731657326573365734657356573665737657386573965740657416574265743657446574565746657476574865749657506575165752657536575465755657566575765758657596576065761657626576365764657656576665767657686576965770657716577265773657746577565776657776577865779657806578165782657836578465785657866578765788657896579065791657926579365794657956579665797657986579965800658016580265803658046580565806658076580865809658106581165812658136581465815658166581765818658196582065821658226582365824658256582665827658286582965830658316583265833658346583565836658376583865839658406584165842658436584465845658466584765848658496585065851658526585365854658556585665857658586585965860658616586265863658646586565866658676586865869658706587165872658736587465875658766587765878658796588065881658826588365884658856588665887658886588965890658916589265893658946589565896658976589865899659006590165902659036590465905659066590765908659096591065911659126591365914659156591665917659186591965920659216592265923659246592565926659276592865929659306593165932659336593465935659366593765938659396594065941659426594365944659456594665947659486594965950659516595265953659546595565956659576595865959659606596165962659636596465965659666596765968659696597065971659726597365974659756597665977659786597965980659816598265983659846598565986659876598865989659906599165992659936599465995659966599765998659996600066001660026600366004660056600666007660086600966010660116601266013660146601566016660176601866019660206602166022660236602466025660266602766028660296603066031660326603366034660356603666037660386603966040660416604266043660446604566046660476604866049660506605166052660536605466055660566605766058660596606066061660626606366064660656606666067660686606966070660716607266073660746607566076660776607866079660806608166082660836608466085660866608766088660896609066091660926609366094660956609666097660986609966100661016610266103661046610566106661076610866109661106611166112661136611466115661166611766118661196612066121661226612366124661256612666127661286612966130661316613266133661346613566136661376613866139661406614166142661436614466145661466614766148661496615066151661526615366154661556615666157661586615966160661616616266163661646616566166661676616866169661706617166172661736617466175661766617766178661796618066181661826618366184661856618666187661886618966190661916619266193661946619566196661976619866199662006620166202662036620466205662066620766208662096621066211662126621366214662156621666217662186621966220662216622266223662246622566226662276622866229662306623166232662336623466235662366623766238662396624066241662426624366244662456624666247662486624966250662516625266253662546625566256662576625866259662606626166262662636626466265662666626766268662696627066271662726627366274662756627666277662786627966280662816628266283662846628566286662876628866289662906629166292662936629466295662966629766298662996630066301663026630366304663056630666307663086630966310663116631266313663146631566316663176631866319663206632166322663236632466325663266632766328663296633066331663326633366334663356633666337663386633966340663416634266343663446634566346663476634866349663506635166352663536635466355663566635766358663596636066361663626636366364663656636666367663686636966370663716637266373663746637566376663776637866379663806638166382663836638466385663866638766388663896639066391663926639366394663956639666397663986639966400664016640266403664046640566406664076640866409664106641166412664136641466415664166641766418664196642066421664226642366424664256642666427664286642966430664316643266433664346643566436664376643866439664406644166442664436644466445664466644766448664496645066451664526645366454664556645666457664586645966460664616646266463664646646566466664676646866469664706647166472664736647466475664766647766478664796648066481664826648366484664856648666487664886648966490664916649266493664946649566496664976649866499665006650166502665036650466505665066650766508665096651066511665126651366514665156651666517665186651966520665216652266523665246652566526665276652866529665306653166532665336653466535665366653766538665396654066541665426654366544665456654666547665486654966550665516655266553665546655566556665576655866559665606656166562665636656466565665666656766568665696657066571665726657366574665756657666577665786657966580665816658266583665846658566586665876658866589665906659166592665936659466595665966659766598665996660066601666026660366604666056660666607666086660966610666116661266613666146661566616666176661866619666206662166622666236662466625666266662766628666296663066631666326663366634666356663666637666386663966640666416664266643666446664566646666476664866649666506665166652666536665466655666566665766658666596666066661666626666366664666656666666667666686666966670666716667266673666746667566676666776667866679666806668166682666836668466685666866668766688666896669066691666926669366694666956669666697666986669966700667016670266703667046670566706667076670866709667106671166712667136671466715667166671766718667196672066721667226672366724667256672666727667286672966730667316673266733667346673566736667376673866739667406674166742667436674466745667466674766748667496675066751667526675366754667556675666757667586675966760667616676266763667646676566766667676676866769667706677166772667736677466775667766677766778667796678066781667826678366784667856678666787667886678966790667916679266793667946679566796667976679866799668006680166802668036680466805668066680766808668096681066811668126681366814668156681666817668186681966820668216682266823668246682566826668276682866829668306683166832668336683466835668366683766838668396684066841668426684366844668456684666847668486684966850668516685266853668546685566856668576685866859668606686166862668636686466865668666686766868668696687066871668726687366874668756687666877668786687966880668816688266883668846688566886668876688866889668906689166892668936689466895668966689766898668996690066901669026690366904669056690666907669086690966910669116691266913669146691566916669176691866919669206692166922669236692466925669266692766928669296693066931669326693366934669356693666937669386693966940669416694266943669446694566946669476694866949669506695166952669536695466955669566695766958669596696066961669626696366964669656696666967669686696966970669716697266973669746697566976669776697866979669806698166982669836698466985669866698766988669896699066991669926699366994669956699666997669986699967000670016700267003670046700567006
  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-12-21 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:182
  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:1270
  113. #: guix-git/doc/contributing.texi:1271
  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:1385
  123. #: guix-git/doc/contributing.texi:1386
  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:1611
  133. #: guix-git/doc/contributing.texi:1612
  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:1652
  143. #: guix-git/doc/contributing.texi:1653
  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 shell -D guix --pure\n"
  193. msgstr ""
  194. #. type: Plain text
  195. #: guix-git/doc/contributing.texi:80
  196. msgid "@xref{Invoking guix shell}, 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 shell}:"
  235. msgstr ""
  236. #. type: example
  237. #: guix-git/doc/contributing.texi:99
  238. #, no-wrap
  239. msgid "guix shell -D guix help2man git strace --pure\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 --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:1463
  295. #: guix-git/doc/guix.texi:594 guix-git/doc/guix.texi:643
  296. #: guix-git/doc/guix.texi:833 guix-git/doc/guix.texi:1813
  297. #: guix-git/doc/guix.texi:2060 guix-git/doc/guix.texi:2244
  298. #: guix-git/doc/guix.texi:2465 guix-git/doc/guix.texi:2677
  299. #: guix-git/doc/guix.texi:3807 guix-git/doc/guix.texi:4548
  300. #: guix-git/doc/guix.texi:4562 guix-git/doc/guix.texi:4644
  301. #: guix-git/doc/guix.texi:4874 guix-git/doc/guix.texi:5615
  302. #: guix-git/doc/guix.texi:6082 guix-git/doc/guix.texi:6333
  303. #: guix-git/doc/guix.texi:6454 guix-git/doc/guix.texi:6482
  304. #: guix-git/doc/guix.texi:6535 guix-git/doc/guix.texi:9391
  305. #: guix-git/doc/guix.texi:9461 guix-git/doc/guix.texi:11198
  306. #: guix-git/doc/guix.texi:11238 guix-git/doc/guix.texi:11512
  307. #: guix-git/doc/guix.texi:11524 guix-git/doc/guix.texi:14000
  308. #: guix-git/doc/guix.texi:14631 guix-git/doc/guix.texi:15521
  309. #: guix-git/doc/guix.texi:16507 guix-git/doc/guix.texi:19140
  310. #: guix-git/doc/guix.texi:19310 guix-git/doc/guix.texi:27188
  311. #: guix-git/doc/guix.texi:30914 guix-git/doc/guix.texi:34669
  312. #: guix-git/doc/guix.texi:34903 guix-git/doc/guix.texi:35073
  313. #: guix-git/doc/guix.texi:35232 guix-git/doc/guix.texi:35334
  314. #: guix-git/doc/guix.texi:35435 guix-git/doc/guix.texi:35738
  315. #: guix-git/doc/guix.texi:36896 guix-git/doc/guix.texi:36971
  316. #: guix-git/doc/guix.texi:37006 guix-git/doc/guix.texi:37056
  317. #: guix-git/doc/guix.texi:37143 guix-git/doc/guix.texi:37564
  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:1995
  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:1930
  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:1223
  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:1025
  1227. msgid "When generating your patches with @code{git format-patch} or @code{git send-email}, we recommend using the option @code{--base=}, perhaps with the value @code{auto}. This option adds a note to the patch stating which commit the patch is based on. This helps reviewers understand how to apply and review your patches."
  1228. msgstr ""
  1229. #. type: enumerate
  1230. #: guix-git/doc/contributing.texi:1031
  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:1035
  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:1040
  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:1044
  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:1052
  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:1057
  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:1060
  1259. msgid "Then reconfigure your system."
  1260. msgstr ""
  1261. #. type: enumerate
  1262. #: guix-git/doc/contributing.texi:1065
  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:1068
  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:1071
  1274. #, no-wrap
  1275. msgid "bundling"
  1276. msgstr ""
  1277. #. type: enumerate
  1278. #: guix-git/doc/contributing.texi:1074
  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:1083
  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:1092
  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:1097
  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:1099
  1295. #, no-wrap
  1296. msgid "branching strategy"
  1297. msgstr ""
  1298. #. type: cindex
  1299. #: guix-git/doc/contributing.texi:1100
  1300. #, no-wrap
  1301. msgid "rebuild scheduling strategy"
  1302. msgstr ""
  1303. #. type: enumerate
  1304. #: guix-git/doc/contributing.texi:1103
  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:1105
  1309. #, no-wrap
  1310. msgid "300 dependent packages or less"
  1311. msgstr ""
  1312. #. type: table
  1313. #: guix-git/doc/contributing.texi:1107
  1314. msgid "@code{master} branch (non-disruptive changes)."
  1315. msgstr ""
  1316. #. type: item
  1317. #: guix-git/doc/contributing.texi:1108
  1318. #, no-wrap
  1319. msgid "between 300 and 1,800 dependent packages"
  1320. msgstr ""
  1321. #. type: table
  1322. #: guix-git/doc/contributing.texi:1114
  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:1115
  1327. #, no-wrap
  1328. msgid "more than 1,800 dependent packages"
  1329. msgstr ""
  1330. #. type: table
  1331. #: guix-git/doc/contributing.texi:1120
  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:1127
  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:1136
  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:1138
  1344. #, no-wrap
  1345. msgid "determinism, of build processes"
  1346. msgstr ""
  1347. #. type: cindex
  1348. #: guix-git/doc/contributing.texi:1139
  1349. #, no-wrap
  1350. msgid "reproducible builds, checking"
  1351. msgstr ""
  1352. #. type: enumerate
  1353. #: guix-git/doc/contributing.texi:1143
  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:1146
  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:1149
  1362. #, no-wrap
  1363. msgid "guix build --rounds=2 my-package\n"
  1364. msgstr ""
  1365. #. type: enumerate
  1366. #: guix-git/doc/contributing.texi:1153
  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:1163
  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:1169
  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:1173
  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:1176
  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:1181
  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:1189
  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:1193
  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:1196
  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:1198
  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:1211
  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:1216
  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:1219
  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:1220 guix-git/doc/contributing.texi:1221
  1420. #, no-wrap
  1421. msgid "Configuring Git"
  1422. msgstr ""
  1423. #. type: cindex
  1424. #: guix-git/doc/contributing.texi:1222
  1425. #, no-wrap
  1426. msgid "git configuration"
  1427. msgstr ""
  1428. #. type: code{#1}
  1429. #: guix-git/doc/contributing.texi:1224 guix-git/doc/contributing.texi:1259
  1430. #, no-wrap
  1431. msgid "git send-email"
  1432. msgstr ""
  1433. #. type: Plain text
  1434. #: guix-git/doc/contributing.texi:1232
  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:1238
  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:1241
  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:1245
  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:1250
  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:1254
  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:1256 guix-git/doc/contributing.texi:1258
  1463. #, no-wrap
  1464. msgid "Sending a Patch Series"
  1465. msgstr ""
  1466. #. type: cindex
  1467. #: guix-git/doc/contributing.texi:1258
  1468. #, no-wrap
  1469. msgid "patch series"
  1470. msgstr ""
  1471. #. type: Plain text
  1472. #: guix-git/doc/contributing.texi:1269
  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:1275
  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:1280 guix-git/doc/contributing.texi:1282
  1481. #: guix-git/doc/contributing.texi:1283
  1482. #, no-wrap
  1483. msgid "The Issue Tracker"
  1484. msgstr ""
  1485. #. type: menuentry
  1486. #: guix-git/doc/contributing.texi:1280
  1487. msgid "The official bug and patch tracker."
  1488. msgstr ""
  1489. #. type: subsection
  1490. #: guix-git/doc/contributing.texi:1280 guix-git/doc/contributing.texi:1296
  1491. #: guix-git/doc/contributing.texi:1297
  1492. #, no-wrap
  1493. msgid "Debbugs User Interfaces"
  1494. msgstr ""
  1495. #. type: menuentry
  1496. #: guix-git/doc/contributing.texi:1280
  1497. msgid "Ways to interact with Debbugs."
  1498. msgstr ""
  1499. #. type: subsection
  1500. #: guix-git/doc/contributing.texi:1280 guix-git/doc/contributing.texi:1336
  1501. #: guix-git/doc/contributing.texi:1337
  1502. #, no-wrap
  1503. msgid "Debbugs Usertags"
  1504. msgstr ""
  1505. #. type: menuentry
  1506. #: guix-git/doc/contributing.texi:1280
  1507. msgid "Tag reports with custom labels."
  1508. msgstr ""
  1509. #. type: cindex
  1510. #: guix-git/doc/contributing.texi:1285
  1511. #, no-wrap
  1512. msgid "bug reports, tracking"
  1513. msgstr ""
  1514. #. type: cindex
  1515. #: guix-git/doc/contributing.texi:1286
  1516. #, no-wrap
  1517. msgid "patch submissions, tracking"
  1518. msgstr ""
  1519. #. type: cindex
  1520. #: guix-git/doc/contributing.texi:1287
  1521. #, no-wrap
  1522. msgid "issue tracking"
  1523. msgstr ""
  1524. #. type: cindex
  1525. #: guix-git/doc/contributing.texi:1288
  1526. #, no-wrap
  1527. msgid "Debbugs, issue tracking system"
  1528. msgstr ""
  1529. #. type: Plain text
  1530. #: guix-git/doc/contributing.texi:1295
  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:1301
  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:1310
  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:1312
  1543. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1544. msgstr ""
  1545. #. type: itemize
  1546. #: guix-git/doc/contributing.texi:1314
  1547. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1548. msgstr ""
  1549. #. type: Plain text
  1550. #: guix-git/doc/contributing.texi:1319
  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:1322
  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:1325
  1559. #, no-wrap
  1560. msgid "guix install emacs-debbugs\n"
  1561. msgstr ""
  1562. #. type: Plain text
  1563. #: guix-git/doc/contributing.texi:1328
  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:1331
  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:1335
  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:1339
  1577. #, no-wrap
  1578. msgid "usertags, for debbugs"
  1579. msgstr ""
  1580. #. type: cindex
  1581. #: guix-git/doc/contributing.texi:1340
  1582. #, no-wrap
  1583. msgid "Debbugs usertags"
  1584. msgstr ""
  1585. #. type: Plain text
  1586. #: guix-git/doc/contributing.texi:1346
  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:1352
  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:1356
  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:1361
  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:1364 guix-git/doc/guix.texi:556
  1603. #, no-wrap
  1604. msgid "powerpc64le-linux"
  1605. msgstr ""
  1606. #. type: table
  1607. #: guix-git/doc/contributing.texi:1372
  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:1373 guix-git/doc/guix.texi:3070
  1615. #: guix-git/doc/guix.texi:4771
  1616. #, no-wrap
  1617. msgid "reproducibility"
  1618. msgstr ""
  1619. #. type: table
  1620. #: guix-git/doc/contributing.texi:1377
  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:1384
  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:1388
  1629. #, no-wrap
  1630. msgid "commit access, for developers"
  1631. msgstr ""
  1632. #. type: Plain text
  1633. #: guix-git/doc/contributing.texi:1394
  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:1398
  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:1399
  1642. #, no-wrap
  1643. msgid "Applying for Commit Access"
  1644. msgstr ""
  1645. #. type: Plain text
  1646. #: guix-git/doc/contributing.texi:1403
  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:1412
  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:1418
  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:1425
  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:1431
  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:1434
  1667. #, no-wrap
  1668. msgid "digest-algo sha512\n"
  1669. msgstr ""
  1670. #. type: enumerate
  1671. #: guix-git/doc/contributing.texi:1439
  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:1441
  1676. #, no-wrap
  1677. msgid "OpenPGP, signed commits"
  1678. msgstr ""
  1679. #. type: enumerate
  1680. #: guix-git/doc/contributing.texi:1446
  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:1447 guix-git/doc/guix.texi:17972
  1685. #, no-wrap
  1686. msgid "Important"
  1687. msgstr ""
  1688. #. type: quotation
  1689. #: guix-git/doc/contributing.texi:1449
  1690. msgid "Before you can push for the first time, maintainers must:"
  1691. msgstr ""
  1692. #. type: enumerate
  1693. #: guix-git/doc/contributing.texi:1453
  1694. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1695. msgstr ""
  1696. #. type: enumerate
  1697. #: guix-git/doc/contributing.texi:1456
  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:1461
  1702. msgid "Make sure to read the rest of this section and... profit!"
  1703. msgstr ""
  1704. #. type: quotation
  1705. #: guix-git/doc/contributing.texi:1467
  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:1471
  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:1478
  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:1481
  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:1484
  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:1489
  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:1492
  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:1494
  1741. #, no-wrap
  1742. msgid "Commit Policy"
  1743. msgstr ""
  1744. #. type: Plain text
  1745. #: guix-git/doc/contributing.texi:1499
  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:1504
  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:1513
  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:1518
  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:1522
  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:1525
  1766. #, no-wrap
  1767. msgid "make check-channel-news\n"
  1768. msgstr ""
  1769. #. type: Plain text
  1770. #: guix-git/doc/contributing.texi:1531
  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:1534
  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:1535
  1779. #, no-wrap
  1780. msgid "Addressing Issues"
  1781. msgstr ""
  1782. #. type: Plain text
  1783. #: guix-git/doc/contributing.texi:1546
  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:1551
  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:1552
  1792. #, no-wrap
  1793. msgid "reverting commits"
  1794. msgstr ""
  1795. #. type: Plain text
  1796. #: guix-git/doc/contributing.texi:1558
  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:1564
  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:1573
  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:1574
  1809. #, no-wrap
  1810. msgid "Commit Revocation"
  1811. msgstr ""
  1812. #. type: Plain text
  1813. #: guix-git/doc/contributing.texi:1581
  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:1591
  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:1593
  1822. #, no-wrap
  1823. msgid "repeated violation of the commit policy stated above;"
  1824. msgstr ""
  1825. #. type: item
  1826. #: guix-git/doc/contributing.texi:1594
  1827. #, no-wrap
  1828. msgid "repeated failure to take peer criticism into account;"
  1829. msgstr ""
  1830. #. type: item
  1831. #: guix-git/doc/contributing.texi:1595
  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:1602
  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:1603
  1841. #, no-wrap
  1842. msgid "Helping Out"
  1843. msgstr ""
  1844. #. type: Plain text
  1845. #: guix-git/doc/contributing.texi:1610
  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:1614
  1850. #, no-wrap
  1851. msgid "update-guix-package, updating the guix package"
  1852. msgstr ""
  1853. #. type: Plain text
  1854. #: guix-git/doc/contributing.texi:1620
  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:1623
  1859. #, no-wrap
  1860. msgid "make update-guix-package\n"
  1861. msgstr ""
  1862. #. type: Plain text
  1863. #: guix-git/doc/contributing.texi:1630
  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:1634
  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:1637
  1872. #, no-wrap
  1873. msgid "./pre-inst-env guix build guix\n"
  1874. msgstr ""
  1875. #. type: Plain text
  1876. #: guix-git/doc/contributing.texi:1642
  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:1647
  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:1648
  1885. #, no-wrap
  1886. msgid "translation"
  1887. msgstr ""
  1888. #. type: cindex
  1889. #: guix-git/doc/contributing.texi:1649
  1890. #, no-wrap
  1891. msgid "l10n"
  1892. msgstr ""
  1893. #. type: cindex
  1894. #: guix-git/doc/contributing.texi:1650
  1895. #, no-wrap
  1896. msgid "i18n"
  1897. msgstr ""
  1898. #. type: cindex
  1899. #: guix-git/doc/contributing.texi:1651
  1900. #, no-wrap
  1901. msgid "native language support"
  1902. msgstr ""
  1903. #. type: Plain text
  1904. #: guix-git/doc/contributing.texi:1661
  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:1667
  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:1674
  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:1679
  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:1681
  1921. msgid "Guix has five components hosted on Weblate."
  1922. msgstr ""
  1923. #. type: item
  1924. #: guix-git/doc/contributing.texi:1683
  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:1685
  1930. msgid "guided system installer, the package manager, etc), excluding packages."
  1931. msgstr ""
  1932. #. type: item
  1933. #: guix-git/doc/contributing.texi:1685
  1934. #, no-wrap
  1935. msgid "@code{packages} contains the synopsis (single-sentence description"
  1936. msgstr ""
  1937. #. type: itemize
  1938. #: guix-git/doc/contributing.texi:1687
  1939. msgid "of a package) and description (longer description) of packages in Guix."
  1940. msgstr ""
  1941. #. type: item
  1942. #: guix-git/doc/contributing.texi:1687
  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:1689
  1948. msgid "blog posts and multimedia content."
  1949. msgstr ""
  1950. #. type: item
  1951. #: guix-git/doc/contributing.texi:1689
  1952. #, no-wrap
  1953. msgid "@code{documentation-manual} corresponds to this manual."
  1954. msgstr ""
  1955. #. type: item
  1956. #: guix-git/doc/contributing.texi:1690
  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:1693
  1962. #, no-wrap
  1963. msgid "General Directions"
  1964. msgstr ""
  1965. #. type: Plain text
  1966. #: guix-git/doc/contributing.texi:1701
  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:1706
  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:1717
  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:1722
  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:1723
  1983. #, no-wrap
  1984. msgid "Translation Components"
  1985. msgstr ""
  1986. #. type: Plain text
  1987. #: guix-git/doc/contributing.texi:1728
  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:1730 guix-git/doc/guix.texi:9420
  1992. #, no-wrap
  1993. msgid "guix"
  1994. msgstr ""
  1995. #. type: table
  1996. #: guix-git/doc/contributing.texi:1735
  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:1744
  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:1748
  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:1756
  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:1757 guix-git/doc/guix.texi:2988
  2016. #, no-wrap
  2017. msgid "packages"
  2018. msgstr ""
  2019. #. type: table
  2020. #: guix-git/doc/contributing.texi:1762
  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:1771
  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:1772
  2029. #, no-wrap
  2030. msgid "documentation-manual and documentation-cookbook"
  2031. msgstr ""
  2032. #. type: table
  2033. #: guix-git/doc/contributing.texi:1776
  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:1778
  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:1781
  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:1781
  2047. #, no-wrap
  2048. msgid "@code{contributing.texi}: Translate this string as"
  2049. msgstr ""
  2050. #. type: itemize
  2051. #: guix-git/doc/contributing.texi:1783
  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:1783
  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:1786
  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:1791
  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:1798
  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:1806
  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:1816
  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:1817
  2081. #, no-wrap
  2082. msgid "website"
  2083. msgstr ""
  2084. #. type: table
  2085. #: guix-git/doc/contributing.texi:1824
  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:1831
  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:1834
  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:1842
  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:1843
  2108. #, no-wrap
  2109. msgid "Outside of Weblate"
  2110. msgstr ""
  2111. #. type: Plain text
  2112. #: guix-git/doc/contributing.texi:1846
  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:1848
  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:1854
  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:1854
  2126. #, no-wrap
  2127. msgid "Guix blog posts cannot currently be translated."
  2128. msgstr ""
  2129. #. type: item
  2130. #: guix-git/doc/contributing.texi:1855
  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:1856
  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:1858
  2141. msgid "outside of the Guix project. Guile itself is not internationalized."
  2142. msgstr ""
  2143. #. type: item
  2144. #: guix-git/doc/contributing.texi:1858
  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:1860
  2150. msgid "translated."
  2151. msgstr ""
  2152. #. type: subsubheading
  2153. #: guix-git/doc/contributing.texi:1862
  2154. #, no-wrap
  2155. msgid "Translation Infrastructure"
  2156. msgstr ""
  2157. #. type: Plain text
  2158. #: guix-git/doc/contributing.texi:1873
  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:1877
  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:1883
  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:1887
  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:1889
  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:1892
  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:1892
  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:1898
  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:1898
  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:1904
  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:1904
  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:1909
  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:131
  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:103
  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, 2021 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–2022 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018, 2019, 2020 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018, 2021 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018, 2019 Gábor Boskovits@* Copyright @copyright{} 2018, 2019, 2020 Florian Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} 2018 Alex Vong@* Copyright @copyright{} 2019 Josh Holland@* Copyright @copyright{} 2019, 2020 Diego Nicola Barbato@* Copyright @copyright{} 2019 Ivan Petkov@* Copyright @copyright{} 2019 Jakob L. Kreuze@* Copyright @copyright{} 2019 Kyle Andrews@* Copyright @copyright{} 2019 Alex Griffin@* Copyright @copyright{} 2019, 2020, 2021 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Liliana Marie Prikler@* Copyright @copyright{} 2019, 2020, 2021 Simon Tournier@* Copyright @copyright{} 2020 Wiktor Żelazny@* Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* Copyright @copyright{} 2020 Naga Malleswari@* Copyright @copyright{} 2020, 2021 Brice Waegeneire@* Copyright @copyright{} 2020 R Veera Kumar@* Copyright @copyright{} 2020, 2021 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* Copyright @copyright{} 2020 André Batista@* Copyright @copyright{} 2020, 2021 Alexandru-Sergiu Marton@* Copyright @copyright{} 2020 raingloom@* Copyright @copyright{} 2020 Daniel Brooks@* Copyright @copyright{} 2020 John Soo@* Copyright @copyright{} 2020 Jonathan Brielmaier@* Copyright @copyright{} 2020 Edgar Vincent@* Copyright @copyright{} 2021 Maxime Devos@* Copyright @copyright{} 2021 B. Wilson@* Copyright @copyright{} 2021 Xinglu Chen@* Copyright @copyright{} 2021 Raghav Gururajan@* Copyright @copyright{} 2021 Domagoj Stolfa@* Copyright @copyright{} 2021 Hui Lu@* Copyright @copyright{} 2021 pukkamustard@* Copyright @copyright{} 2021 Alice Brenon@* Copyright @copyright{} 2021 Josselin Poiret@* Copyright @copyright{} 2021 Andrew Tropin@* Copyright @copyright{} 2021 Sarah Morgensen@* Copyright @copyright{} 2021 Josselin Poiret@*"
  2226. msgstr ""
  2227. #. type: copying
  2228. #: guix-git/doc/guix.texi:110
  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:112
  2233. #, no-wrap
  2234. msgid "System administration"
  2235. msgstr ""
  2236. #. type: menuentry
  2237. #: guix-git/doc/guix.texi:120
  2238. msgid "Guix: (guix)"
  2239. msgstr ""
  2240. #. type: menuentry
  2241. #: guix-git/doc/guix.texi:120
  2242. msgid "Manage installed software and system configuration."
  2243. msgstr ""
  2244. #. type: menuentry
  2245. #: guix-git/doc/guix.texi:120
  2246. msgid "guix package: (guix)Invoking guix package"
  2247. msgstr ""
  2248. #. type: menuentry
  2249. #: guix-git/doc/guix.texi:120
  2250. msgid "Installing, removing, and upgrading packages."
  2251. msgstr ""
  2252. #. type: menuentry
  2253. #: guix-git/doc/guix.texi:120
  2254. msgid "guix gc: (guix)Invoking guix gc"
  2255. msgstr ""
  2256. #. type: menuentry
  2257. #: guix-git/doc/guix.texi:120
  2258. msgid "Reclaiming unused disk space."
  2259. msgstr ""
  2260. #. type: menuentry
  2261. #: guix-git/doc/guix.texi:120
  2262. msgid "guix pull: (guix)Invoking guix pull"
  2263. msgstr ""
  2264. #. type: menuentry
  2265. #: guix-git/doc/guix.texi:120
  2266. msgid "Update the list of available packages."
  2267. msgstr ""
  2268. #. type: menuentry
  2269. #: guix-git/doc/guix.texi:120
  2270. msgid "guix system: (guix)Invoking guix system"
  2271. msgstr ""
  2272. #. type: menuentry
  2273. #: guix-git/doc/guix.texi:120
  2274. msgid "Manage the operating system configuration."
  2275. msgstr ""
  2276. #. type: menuentry
  2277. #: guix-git/doc/guix.texi:120
  2278. msgid "guix deploy: (guix)Invoking guix deploy"
  2279. msgstr ""
  2280. #. type: menuentry
  2281. #: guix-git/doc/guix.texi:120
  2282. msgid "Manage operating system configurations for remote hosts."
  2283. msgstr ""
  2284. #. type: dircategory
  2285. #: guix-git/doc/guix.texi:122
  2286. #, no-wrap
  2287. msgid "Software development"
  2288. msgstr ""
  2289. #. type: menuentry
  2290. #: guix-git/doc/guix.texi:128
  2291. msgid "guix shell: (guix)Invoking guix shell"
  2292. msgstr ""
  2293. #. type: menuentry
  2294. #: guix-git/doc/guix.texi:128
  2295. msgid "Creating software environments."
  2296. msgstr ""
  2297. #. type: menuentry
  2298. #: guix-git/doc/guix.texi:128
  2299. msgid "guix environment: (guix)Invoking guix environment"
  2300. msgstr ""
  2301. #. type: menuentry
  2302. #: guix-git/doc/guix.texi:128
  2303. msgid "Building development environments with Guix."
  2304. msgstr ""
  2305. #. type: menuentry
  2306. #: guix-git/doc/guix.texi:128
  2307. msgid "guix build: (guix)Invoking guix build"
  2308. msgstr ""
  2309. #. type: menuentry
  2310. #: guix-git/doc/guix.texi:128
  2311. msgid "Building packages."
  2312. msgstr ""
  2313. #. type: menuentry
  2314. #: guix-git/doc/guix.texi:128
  2315. msgid "guix pack: (guix)Invoking guix pack"
  2316. msgstr ""
  2317. #. type: menuentry
  2318. #: guix-git/doc/guix.texi:128
  2319. msgid "Creating binary bundles."
  2320. msgstr ""
  2321. #. type: subtitle
  2322. #: guix-git/doc/guix.texi:132
  2323. #, no-wrap
  2324. msgid "Using the GNU Guix Functional Package Manager"
  2325. msgstr ""
  2326. #. type: author
  2327. #: guix-git/doc/guix.texi:133
  2328. #, no-wrap
  2329. msgid "The GNU Guix Developers"
  2330. msgstr ""
  2331. #. type: titlepage
  2332. #: guix-git/doc/guix.texi:139
  2333. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2334. msgstr ""
  2335. #. type: node
  2336. #: guix-git/doc/guix.texi:146
  2337. #, no-wrap
  2338. msgid "Top"
  2339. msgstr ""
  2340. #. type: top
  2341. #: guix-git/doc/guix.texi:147
  2342. #, no-wrap
  2343. msgid "GNU Guix"
  2344. msgstr "گیکسِ گنو"
  2345. #. type: Plain text
  2346. #: guix-git/doc/guix.texi:151
  2347. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2348. msgstr ""
  2349. #. type: Plain text
  2350. #: guix-git/doc/guix.texi:163
  2351. 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})."
  2352. msgstr ""
  2353. #. type: chapter
  2354. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:192
  2355. #: guix-git/doc/guix.texi:402 guix-git/doc/guix.texi:403
  2356. #, no-wrap
  2357. msgid "Introduction"
  2358. msgstr ""
  2359. #. type: menuentry
  2360. #: guix-git/doc/guix.texi:182
  2361. msgid "What is Guix about?"
  2362. msgstr ""
  2363. #. type: chapter
  2364. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:197
  2365. #: guix-git/doc/guix.texi:589 guix-git/doc/guix.texi:590
  2366. #, no-wrap
  2367. msgid "Installation"
  2368. msgstr ""
  2369. #. type: menuentry
  2370. #: guix-git/doc/guix.texi:182
  2371. msgid "Installing Guix."
  2372. msgstr ""
  2373. #. type: chapter
  2374. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:213
  2375. #: guix-git/doc/guix.texi:2049 guix-git/doc/guix.texi:2050
  2376. #, no-wrap
  2377. msgid "System Installation"
  2378. msgstr ""
  2379. #. type: menuentry
  2380. #: guix-git/doc/guix.texi:182
  2381. msgid "Installing the whole operating system."
  2382. msgstr ""
  2383. #. type: chapter
  2384. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:2777
  2385. #: guix-git/doc/guix.texi:2778
  2386. #, no-wrap
  2387. msgid "Getting Started"
  2388. msgstr ""
  2389. #. type: menuentry
  2390. #: guix-git/doc/guix.texi:182
  2391. msgid "Your first steps."
  2392. msgstr ""
  2393. #. type: chapter
  2394. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:230
  2395. #: guix-git/doc/guix.texi:2985 guix-git/doc/guix.texi:2986
  2396. #, no-wrap
  2397. msgid "Package Management"
  2398. msgstr ""
  2399. #. type: menuentry
  2400. #: guix-git/doc/guix.texi:182
  2401. msgid "Package installation, upgrade, etc."
  2402. msgstr ""
  2403. #. type: chapter
  2404. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:253
  2405. #: guix-git/doc/guix.texi:5053 guix-git/doc/guix.texi:5054
  2406. #, no-wrap
  2407. msgid "Channels"
  2408. msgstr ""
  2409. #. type: menuentry
  2410. #: guix-git/doc/guix.texi:182
  2411. msgid "Customizing the package collection."
  2412. msgstr ""
  2413. #. type: chapter
  2414. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:267
  2415. #: guix-git/doc/guix.texi:5581 guix-git/doc/guix.texi:5582
  2416. #, no-wrap
  2417. msgid "Development"
  2418. msgstr ""
  2419. #. type: menuentry
  2420. #: guix-git/doc/guix.texi:182
  2421. msgid "Guix-aided software development."
  2422. msgstr ""
  2423. #. type: chapter
  2424. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:275
  2425. #: guix-git/doc/guix.texi:6799 guix-git/doc/guix.texi:6800
  2426. #, no-wrap
  2427. msgid "Programming Interface"
  2428. msgstr ""
  2429. #. type: menuentry
  2430. #: guix-git/doc/guix.texi:182
  2431. msgid "Using Guix in Scheme."
  2432. msgstr ""
  2433. #. type: chapter
  2434. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:294
  2435. #: guix-git/doc/guix.texi:10774 guix-git/doc/guix.texi:10775
  2436. #, no-wrap
  2437. msgid "Utilities"
  2438. msgstr ""
  2439. #. type: menuentry
  2440. #: guix-git/doc/guix.texi:182
  2441. msgid "Package management commands."
  2442. msgstr ""
  2443. #. type: chapter
  2444. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:320
  2445. #: guix-git/doc/guix.texi:14278 guix-git/doc/guix.texi:14279
  2446. #, no-wrap
  2447. msgid "System Configuration"
  2448. msgstr ""
  2449. #. type: menuentry
  2450. #: guix-git/doc/guix.texi:182
  2451. msgid "Configuring the operating system."
  2452. msgstr ""
  2453. #. type: chapter
  2454. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:36881
  2455. #: guix-git/doc/guix.texi:36882
  2456. #, no-wrap
  2457. msgid "Home Configuration"
  2458. msgstr ""
  2459. #. type: menuentry
  2460. #: guix-git/doc/guix.texi:182
  2461. msgid "Configuring the home environment."
  2462. msgstr ""
  2463. #. type: chapter
  2464. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:37721
  2465. #: guix-git/doc/guix.texi:37722
  2466. #, no-wrap
  2467. msgid "Documentation"
  2468. msgstr "مستندات"
  2469. #. type: menuentry
  2470. #: guix-git/doc/guix.texi:182
  2471. msgid "Browsing software user manuals."
  2472. msgstr ""
  2473. #. type: chapter
  2474. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:389
  2475. #: guix-git/doc/guix.texi:37787 guix-git/doc/guix.texi:37788
  2476. #, no-wrap
  2477. msgid "Installing Debugging Files"
  2478. msgstr ""
  2479. #. type: menuentry
  2480. #: guix-git/doc/guix.texi:182
  2481. msgid "Feeding the debugger."
  2482. msgstr ""
  2483. #. type: chapter
  2484. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:37942
  2485. #: guix-git/doc/guix.texi:37943
  2486. #, no-wrap
  2487. msgid "Security Updates"
  2488. msgstr ""
  2489. #. type: menuentry
  2490. #: guix-git/doc/guix.texi:182
  2491. msgid "Deploying security fixes quickly."
  2492. msgstr ""
  2493. #. type: chapter
  2494. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:394
  2495. #: guix-git/doc/guix.texi:38057 guix-git/doc/guix.texi:38058
  2496. #, no-wrap
  2497. msgid "Bootstrapping"
  2498. msgstr ""
  2499. #. type: menuentry
  2500. #: guix-git/doc/guix.texi:182
  2501. msgid "GNU/Linux built from scratch."
  2502. msgstr ""
  2503. #. type: node
  2504. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38349
  2505. #, no-wrap
  2506. msgid "Porting"
  2507. msgstr ""
  2508. #. type: menuentry
  2509. #: guix-git/doc/guix.texi:182
  2510. msgid "Targeting another platform or kernel."
  2511. msgstr ""
  2512. #. type: menuentry
  2513. #: guix-git/doc/guix.texi:182
  2514. msgid "Your help needed!"
  2515. msgstr ""
  2516. #. type: chapter
  2517. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:38397
  2518. #: guix-git/doc/guix.texi:38398
  2519. #, no-wrap
  2520. msgid "Acknowledgments"
  2521. msgstr ""
  2522. #. type: menuentry
  2523. #: guix-git/doc/guix.texi:187
  2524. msgid "Thanks!"
  2525. msgstr "سپاس!"
  2526. #. type: appendix
  2527. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:38419
  2528. #: guix-git/doc/guix.texi:38420
  2529. #, no-wrap
  2530. msgid "GNU Free Documentation License"
  2531. msgstr ""
  2532. #. type: menuentry
  2533. #: guix-git/doc/guix.texi:187
  2534. msgid "The license of this manual."
  2535. msgstr ""
  2536. #. type: unnumbered
  2537. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:38425
  2538. #: guix-git/doc/guix.texi:38426
  2539. #, no-wrap
  2540. msgid "Concept Index"
  2541. msgstr ""
  2542. #. type: menuentry
  2543. #: guix-git/doc/guix.texi:187
  2544. msgid "Concepts."
  2545. msgstr ""
  2546. #. type: unnumbered
  2547. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:38429
  2548. #: guix-git/doc/guix.texi:38430
  2549. #, no-wrap
  2550. msgid "Programming Index"
  2551. msgstr ""
  2552. #. type: menuentry
  2553. #: guix-git/doc/guix.texi:187
  2554. msgid "Data types, functions, and variables."
  2555. msgstr ""
  2556. #. type: menuentry
  2557. #: guix-git/doc/guix.texi:190
  2558. msgid "--- The Detailed Node Listing ---"
  2559. msgstr ""
  2560. #. type: section
  2561. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:429
  2562. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:432
  2563. #, no-wrap
  2564. msgid "Managing Software the Guix Way"
  2565. msgstr ""
  2566. #. type: menuentry
  2567. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:429
  2568. msgid "What's special."
  2569. msgstr ""
  2570. #. type: section
  2571. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:429
  2572. #: guix-git/doc/guix.texi:486 guix-git/doc/guix.texi:487
  2573. #, no-wrap
  2574. msgid "GNU Distribution"
  2575. msgstr ""
  2576. #. type: menuentry
  2577. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:429
  2578. msgid "The packages and tools."
  2579. msgstr ""
  2580. #. type: section
  2581. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2582. #: guix-git/doc/guix.texi:631 guix-git/doc/guix.texi:632
  2583. #, no-wrap
  2584. msgid "Binary Installation"
  2585. msgstr ""
  2586. #. type: menuentry
  2587. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2588. msgid "Getting Guix running in no time!"
  2589. msgstr ""
  2590. #. type: section
  2591. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2592. #: guix-git/doc/guix.texi:871 guix-git/doc/guix.texi:872
  2593. #, no-wrap
  2594. msgid "Requirements"
  2595. msgstr ""
  2596. #. type: menuentry
  2597. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2598. msgid "Software needed to build and run Guix."
  2599. msgstr ""
  2600. #. type: section
  2601. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2602. #: guix-git/doc/guix.texi:957 guix-git/doc/guix.texi:958
  2603. #, no-wrap
  2604. msgid "Running the Test Suite"
  2605. msgstr ""
  2606. #. type: menuentry
  2607. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2608. msgid "Testing Guix."
  2609. msgstr ""
  2610. #. type: section
  2611. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:207
  2612. #: guix-git/doc/guix.texi:629 guix-git/doc/guix.texi:1054
  2613. #: guix-git/doc/guix.texi:1055
  2614. #, no-wrap
  2615. msgid "Setting Up the Daemon"
  2616. msgstr ""
  2617. #. type: menuentry
  2618. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2619. msgid "Preparing the build daemon's environment."
  2620. msgstr ""
  2621. #. type: node
  2622. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2623. #: guix-git/doc/guix.texi:1525
  2624. #, no-wrap
  2625. msgid "Invoking guix-daemon"
  2626. msgstr ""
  2627. #. type: menuentry
  2628. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2629. msgid "Running the build daemon."
  2630. msgstr ""
  2631. #. type: section
  2632. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2633. #: guix-git/doc/guix.texi:1827 guix-git/doc/guix.texi:1828
  2634. #, no-wrap
  2635. msgid "Application Setup"
  2636. msgstr ""
  2637. #. type: menuentry
  2638. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2639. msgid "Application-specific setup."
  2640. msgstr ""
  2641. #. type: section
  2642. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2643. #: guix-git/doc/guix.texi:2012 guix-git/doc/guix.texi:2013
  2644. #, no-wrap
  2645. msgid "Upgrading Guix"
  2646. msgstr ""
  2647. #. type: menuentry
  2648. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:629
  2649. msgid "Upgrading Guix and its build daemon."
  2650. msgstr ""
  2651. #. type: subsection
  2652. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2653. #: guix-git/doc/guix.texi:1076 guix-git/doc/guix.texi:1077
  2654. #, no-wrap
  2655. msgid "Build Environment Setup"
  2656. msgstr ""
  2657. #. type: menuentry
  2658. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2659. msgid "Preparing the isolated build environment."
  2660. msgstr ""
  2661. #. type: node
  2662. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2663. #: guix-git/doc/guix.texi:1195
  2664. #, no-wrap
  2665. msgid "Daemon Offload Setup"
  2666. msgstr ""
  2667. #. type: menuentry
  2668. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2669. msgid "Offloading builds to remote machines."
  2670. msgstr ""
  2671. #. type: subsection
  2672. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2673. #: guix-git/doc/guix.texi:1434 guix-git/doc/guix.texi:1435
  2674. #, no-wrap
  2675. msgid "SELinux Support"
  2676. msgstr ""
  2677. #. type: menuentry
  2678. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1074
  2679. msgid "Using an SELinux policy for the daemon."
  2680. msgstr ""
  2681. #. type: section
  2682. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:1470
  2683. #: guix-git/doc/guix.texi:2083 guix-git/doc/guix.texi:2085
  2684. #: guix-git/doc/guix.texi:2086
  2685. #, no-wrap
  2686. msgid "Limitations"
  2687. msgstr ""
  2688. #. type: menuentry
  2689. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2690. msgid "What you can expect."
  2691. msgstr ""
  2692. #. type: section
  2693. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2694. #: guix-git/doc/guix.texi:2111 guix-git/doc/guix.texi:2112
  2695. #, no-wrap
  2696. msgid "Hardware Considerations"
  2697. msgstr ""
  2698. #. type: menuentry
  2699. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2700. msgid "Supported hardware."
  2701. msgstr ""
  2702. #. type: section
  2703. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2704. #: guix-git/doc/guix.texi:2146 guix-git/doc/guix.texi:2147
  2705. #, no-wrap
  2706. msgid "USB Stick and DVD Installation"
  2707. msgstr ""
  2708. #. type: menuentry
  2709. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2710. msgid "Preparing the installation medium."
  2711. msgstr ""
  2712. #. type: section
  2713. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2714. #: guix-git/doc/guix.texi:2227 guix-git/doc/guix.texi:2228
  2715. #, no-wrap
  2716. msgid "Preparing for Installation"
  2717. msgstr ""
  2718. #. type: menuentry
  2719. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2720. msgid "Networking, partitioning, etc."
  2721. msgstr ""
  2722. #. type: section
  2723. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2724. #: guix-git/doc/guix.texi:2250 guix-git/doc/guix.texi:2251
  2725. #, no-wrap
  2726. msgid "Guided Graphical Installation"
  2727. msgstr ""
  2728. #. type: menuentry
  2729. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2730. msgid "Easy graphical installation."
  2731. msgstr ""
  2732. #. type: section
  2733. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:225
  2734. #: guix-git/doc/guix.texi:2083 guix-git/doc/guix.texi:2281
  2735. #: guix-git/doc/guix.texi:2282
  2736. #, no-wrap
  2737. msgid "Manual Installation"
  2738. msgstr ""
  2739. #. type: menuentry
  2740. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2741. msgid "Manual installation for wizards."
  2742. msgstr ""
  2743. #. type: section
  2744. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2745. #: guix-git/doc/guix.texi:2660 guix-git/doc/guix.texi:2661
  2746. #, no-wrap
  2747. msgid "After System Installation"
  2748. msgstr ""
  2749. #. type: menuentry
  2750. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2751. msgid "When installation succeeded."
  2752. msgstr ""
  2753. #. type: node
  2754. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2755. #: guix-git/doc/guix.texi:2694
  2756. #, no-wrap
  2757. msgid "Installing Guix in a VM"
  2758. msgstr ""
  2759. #. type: menuentry
  2760. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2761. msgid "Guix System playground."
  2762. msgstr ""
  2763. #. type: section
  2764. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2765. #: guix-git/doc/guix.texi:2745 guix-git/doc/guix.texi:2746
  2766. #, no-wrap
  2767. msgid "Building the Installation Image"
  2768. msgstr ""
  2769. #. type: menuentry
  2770. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2083
  2771. msgid "How this comes to be."
  2772. msgstr ""
  2773. #. type: node
  2774. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2299
  2775. #: guix-git/doc/guix.texi:2301
  2776. #, no-wrap
  2777. msgid "Keyboard Layout and Networking and Partitioning"
  2778. msgstr ""
  2779. #. type: menuentry
  2780. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2299
  2781. msgid "Initial setup."
  2782. msgstr ""
  2783. #. type: subsection
  2784. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2299
  2785. #: guix-git/doc/guix.texi:2571 guix-git/doc/guix.texi:2572
  2786. #, no-wrap
  2787. msgid "Proceeding with the Installation"
  2788. msgstr ""
  2789. #. type: menuentry
  2790. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2299
  2791. msgid "Installing."
  2792. msgstr ""
  2793. #. type: section
  2794. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2795. #: guix-git/doc/guix.texi:3019 guix-git/doc/guix.texi:3020
  2796. #, no-wrap
  2797. msgid "Features"
  2798. msgstr "ویژگی‌ها"
  2799. #. type: menuentry
  2800. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2801. msgid "How Guix will make your life brighter."
  2802. msgstr ""
  2803. #. type: node
  2804. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2805. #: guix-git/doc/guix.texi:3109
  2806. #, no-wrap
  2807. msgid "Invoking guix package"
  2808. msgstr ""
  2809. #. type: menuentry
  2810. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2811. msgid "Package installation, removal, etc."
  2812. msgstr ""
  2813. #. type: section
  2814. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:243
  2815. #: guix-git/doc/guix.texi:3017 guix-git/doc/guix.texi:3738
  2816. #: guix-git/doc/guix.texi:3739
  2817. #, no-wrap
  2818. msgid "Substitutes"
  2819. msgstr ""
  2820. #. type: menuentry
  2821. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2822. msgid "Downloading pre-built binaries."
  2823. msgstr ""
  2824. #. type: section
  2825. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2826. #: guix-git/doc/guix.texi:4074 guix-git/doc/guix.texi:4075
  2827. #, no-wrap
  2828. msgid "Packages with Multiple Outputs"
  2829. msgstr ""
  2830. #. type: menuentry
  2831. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2832. msgid "Single source package, multiple outputs."
  2833. msgstr ""
  2834. #. type: node
  2835. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2836. #: guix-git/doc/guix.texi:4128
  2837. #, no-wrap
  2838. msgid "Invoking guix gc"
  2839. msgstr ""
  2840. #. type: menuentry
  2841. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2842. msgid "Running the garbage collector."
  2843. msgstr ""
  2844. #. type: node
  2845. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2846. #: guix-git/doc/guix.texi:4338
  2847. #, no-wrap
  2848. msgid "Invoking guix pull"
  2849. msgstr ""
  2850. #. type: menuentry
  2851. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2852. msgid "Fetching the latest Guix and distribution."
  2853. msgstr ""
  2854. #. type: node
  2855. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2856. #: guix-git/doc/guix.texi:4585
  2857. #, no-wrap
  2858. msgid "Invoking guix time-machine"
  2859. msgstr ""
  2860. #. type: menuentry
  2861. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2862. msgid "Running an older revision of Guix."
  2863. msgstr ""
  2864. #. type: section
  2865. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2866. #: guix-git/doc/guix.texi:4640 guix-git/doc/guix.texi:4641
  2867. #, no-wrap
  2868. msgid "Inferiors"
  2869. msgstr ""
  2870. #. type: menuentry
  2871. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2872. msgid "Interacting with another revision of Guix."
  2873. msgstr ""
  2874. #. type: node
  2875. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2876. #: guix-git/doc/guix.texi:4768
  2877. #, no-wrap
  2878. msgid "Invoking guix describe"
  2879. msgstr ""
  2880. #. type: menuentry
  2881. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2882. msgid "Display information about your Guix revision."
  2883. msgstr ""
  2884. #. type: node
  2885. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2886. #: guix-git/doc/guix.texi:4863
  2887. #, no-wrap
  2888. msgid "Invoking guix archive"
  2889. msgstr ""
  2890. #. type: menuentry
  2891. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3017
  2892. msgid "Exporting and importing store files."
  2893. msgstr ""
  2894. #. type: subsection
  2895. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2896. #: guix-git/doc/guix.texi:3764 guix-git/doc/guix.texi:3765
  2897. #, no-wrap
  2898. msgid "Official Substitute Servers"
  2899. msgstr ""
  2900. #. type: menuentry
  2901. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2902. msgid "One particular source of substitutes."
  2903. msgstr ""
  2904. #. type: subsection
  2905. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2906. #: guix-git/doc/guix.texi:3794 guix-git/doc/guix.texi:3795
  2907. #, no-wrap
  2908. msgid "Substitute Server Authorization"
  2909. msgstr ""
  2910. #. type: menuentry
  2911. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2912. msgid "How to enable or disable substitutes."
  2913. msgstr ""
  2914. #. type: subsection
  2915. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2916. #: guix-git/doc/guix.texi:3864 guix-git/doc/guix.texi:3865
  2917. #, no-wrap
  2918. msgid "Getting Substitutes from Other Servers"
  2919. msgstr ""
  2920. #. type: menuentry
  2921. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2922. msgid "Substitute diversity."
  2923. msgstr ""
  2924. #. type: subsection
  2925. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2926. #: guix-git/doc/guix.texi:3969 guix-git/doc/guix.texi:3970
  2927. #, no-wrap
  2928. msgid "Substitute Authentication"
  2929. msgstr ""
  2930. #. type: menuentry
  2931. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2932. msgid "How Guix verifies substitutes."
  2933. msgstr ""
  2934. #. type: subsection
  2935. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2936. #: guix-git/doc/guix.texi:4004 guix-git/doc/guix.texi:4005
  2937. #, no-wrap
  2938. msgid "Proxy Settings"
  2939. msgstr ""
  2940. #. type: menuentry
  2941. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2942. msgid "How to get substitutes via proxy."
  2943. msgstr ""
  2944. #. type: subsection
  2945. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2946. #: guix-git/doc/guix.texi:4016 guix-git/doc/guix.texi:4017
  2947. #, no-wrap
  2948. msgid "Substitution Failure"
  2949. msgstr ""
  2950. #. type: menuentry
  2951. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2952. msgid "What happens when substitution fails."
  2953. msgstr ""
  2954. #. type: subsection
  2955. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2956. #: guix-git/doc/guix.texi:4044 guix-git/doc/guix.texi:4045
  2957. #, no-wrap
  2958. msgid "On Trusting Binaries"
  2959. msgstr ""
  2960. #. type: menuentry
  2961. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3762
  2962. msgid "How can you trust that binary blob?"
  2963. msgstr ""
  2964. #. type: section
  2965. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  2966. #: guix-git/doc/guix.texi:5086 guix-git/doc/guix.texi:5087
  2967. #, no-wrap
  2968. msgid "Specifying Additional Channels"
  2969. msgstr ""
  2970. #. type: menuentry
  2971. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  2972. msgid "Extending the package collection."
  2973. msgstr ""
  2974. #. type: section
  2975. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  2976. #: guix-git/doc/guix.texi:5136 guix-git/doc/guix.texi:5137
  2977. #, no-wrap
  2978. msgid "Using a Custom Guix Channel"
  2979. msgstr ""
  2980. #. type: menuentry
  2981. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  2982. msgid "Using a customized Guix."
  2983. msgstr ""
  2984. #. type: section
  2985. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  2986. #: guix-git/doc/guix.texi:5158 guix-git/doc/guix.texi:5159
  2987. #, no-wrap
  2988. msgid "Replicating Guix"
  2989. msgstr ""
  2990. #. type: menuentry
  2991. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  2992. msgid "Running the @emph{exact same} Guix."
  2993. msgstr ""
  2994. #. type: section
  2995. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  2996. #: guix-git/doc/guix.texi:5199 guix-git/doc/guix.texi:5200
  2997. #, no-wrap
  2998. msgid "Channel Authentication"
  2999. msgstr ""
  3000. #. type: menuentry
  3001. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3002. msgid "How Guix verifies what it fetches."
  3003. msgstr ""
  3004. #. type: section
  3005. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3006. #: guix-git/doc/guix.texi:5239 guix-git/doc/guix.texi:5240
  3007. #, no-wrap
  3008. msgid "Channels with Substitutes"
  3009. msgstr ""
  3010. #. type: menuentry
  3011. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3012. msgid "Using channels with available substitutes."
  3013. msgstr ""
  3014. #. type: section
  3015. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3016. #: guix-git/doc/guix.texi:5264 guix-git/doc/guix.texi:5265
  3017. #, no-wrap
  3018. msgid "Creating a Channel"
  3019. msgstr ""
  3020. #. type: menuentry
  3021. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3022. msgid "How to write your custom channel."
  3023. msgstr ""
  3024. #. type: section
  3025. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3026. #: guix-git/doc/guix.texi:5331 guix-git/doc/guix.texi:5332
  3027. #, no-wrap
  3028. msgid "Package Modules in a Sub-directory"
  3029. msgstr ""
  3030. #. type: menuentry
  3031. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3032. msgid "Specifying the channel's package modules location."
  3033. msgstr ""
  3034. #. type: section
  3035. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3036. #: guix-git/doc/guix.texi:5345 guix-git/doc/guix.texi:5346
  3037. #, no-wrap
  3038. msgid "Declaring Channel Dependencies"
  3039. msgstr ""
  3040. #. type: menuentry
  3041. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3042. msgid "How to depend on other channels."
  3043. msgstr ""
  3044. #. type: section
  3045. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3046. #: guix-git/doc/guix.texi:5387 guix-git/doc/guix.texi:5388
  3047. #, no-wrap
  3048. msgid "Specifying Channel Authorizations"
  3049. msgstr ""
  3050. #. type: menuentry
  3051. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3052. msgid "Defining channel authors authorizations."
  3053. msgstr ""
  3054. #. type: section
  3055. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3056. #: guix-git/doc/guix.texi:5488 guix-git/doc/guix.texi:5489
  3057. #, no-wrap
  3058. msgid "Primary URL"
  3059. msgstr ""
  3060. #. type: menuentry
  3061. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3062. msgid "Distinguishing mirror to original."
  3063. msgstr ""
  3064. #. type: section
  3065. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3066. #: guix-git/doc/guix.texi:5511 guix-git/doc/guix.texi:5512
  3067. #, no-wrap
  3068. msgid "Writing Channel News"
  3069. msgstr ""
  3070. #. type: menuentry
  3071. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5084
  3072. msgid "Communicating information to channel's users."
  3073. msgstr ""
  3074. #. type: node
  3075. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3076. #: guix-git/doc/guix.texi:5603
  3077. #, no-wrap
  3078. msgid "Invoking guix shell"
  3079. msgstr ""
  3080. #. type: menuentry
  3081. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3082. msgid "Spawning one-off software environments."
  3083. msgstr ""
  3084. #. type: node
  3085. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3086. #: guix-git/doc/guix.texi:5956
  3087. #, no-wrap
  3088. msgid "Invoking guix environment"
  3089. msgstr ""
  3090. #. type: menuentry
  3091. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3092. msgid "Setting up development environments."
  3093. msgstr ""
  3094. #. type: node
  3095. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3096. #: guix-git/doc/guix.texi:6325
  3097. #, no-wrap
  3098. msgid "Invoking guix pack"
  3099. msgstr ""
  3100. #. type: menuentry
  3101. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3102. msgid "Creating software bundles."
  3103. msgstr ""
  3104. #. type: section
  3105. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3106. #: guix-git/doc/guix.texi:6711 guix-git/doc/guix.texi:6712
  3107. #, no-wrap
  3108. msgid "The GCC toolchain"
  3109. msgstr ""
  3110. #. type: menuentry
  3111. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3112. msgid "Working with languages supported by GCC."
  3113. msgstr ""
  3114. #. type: node
  3115. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3116. #: guix-git/doc/guix.texi:6737
  3117. #, no-wrap
  3118. msgid "Invoking guix git authenticate"
  3119. msgstr ""
  3120. #. type: menuentry
  3121. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5601
  3122. msgid "Authenticating Git repositories."
  3123. msgstr ""
  3124. #. type: section
  3125. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3126. #: guix-git/doc/guix.texi:6841 guix-git/doc/guix.texi:6842
  3127. #, no-wrap
  3128. msgid "Package Modules"
  3129. msgstr ""
  3130. #. type: menuentry
  3131. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3132. msgid "Packages from the programmer's viewpoint."
  3133. msgstr ""
  3134. #. type: section
  3135. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:289
  3136. #: guix-git/doc/guix.texi:6839 guix-git/doc/guix.texi:6903
  3137. #: guix-git/doc/guix.texi:6904
  3138. #, no-wrap
  3139. msgid "Defining Packages"
  3140. msgstr ""
  3141. #. type: menuentry
  3142. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3143. msgid "Defining new packages."
  3144. msgstr ""
  3145. #. type: section
  3146. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3147. #: guix-git/doc/guix.texi:7554 guix-git/doc/guix.texi:7555
  3148. #, no-wrap
  3149. msgid "Defining Package Variants"
  3150. msgstr ""
  3151. #. type: menuentry
  3152. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3153. msgid "Customizing packages."
  3154. msgstr ""
  3155. #. type: section
  3156. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3157. #: guix-git/doc/guix.texi:7821 guix-git/doc/guix.texi:7822
  3158. #, no-wrap
  3159. msgid "Build Systems"
  3160. msgstr ""
  3161. #. type: menuentry
  3162. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3163. msgid "Specifying how packages are built."
  3164. msgstr ""
  3165. #. type: subsection
  3166. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3167. #: guix-git/doc/guix.texi:8861 guix-git/doc/guix.texi:8862
  3168. #: guix-git/doc/guix.texi:9292
  3169. #, no-wrap
  3170. msgid "Build Phases"
  3171. msgstr ""
  3172. #. type: menuentry
  3173. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3174. msgid "Phases of the build process of a package."
  3175. msgstr ""
  3176. #. type: section
  3177. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3178. #: guix-git/doc/guix.texi:9055 guix-git/doc/guix.texi:9056
  3179. #, no-wrap
  3180. msgid "Build Utilities"
  3181. msgstr ""
  3182. #. type: menuentry
  3183. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3184. msgid "Helpers for your package definitions and more."
  3185. msgstr ""
  3186. #. type: section
  3187. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3188. #: guix-git/doc/guix.texi:9369 guix-git/doc/guix.texi:9370
  3189. #, no-wrap
  3190. msgid "The Store"
  3191. msgstr ""
  3192. #. type: menuentry
  3193. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3194. msgid "Manipulating the package store."
  3195. msgstr ""
  3196. #. type: section
  3197. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3198. #: guix-git/doc/guix.texi:9522 guix-git/doc/guix.texi:9523
  3199. #, no-wrap
  3200. msgid "Derivations"
  3201. msgstr ""
  3202. #. type: menuentry
  3203. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3204. msgid "Low-level interface to package derivations."
  3205. msgstr ""
  3206. #. type: section
  3207. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3208. #: guix-git/doc/guix.texi:9716 guix-git/doc/guix.texi:9717
  3209. #, no-wrap
  3210. msgid "The Store Monad"
  3211. msgstr ""
  3212. #. type: menuentry
  3213. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3214. msgid "Purely functional interface to the store."
  3215. msgstr ""
  3216. #. type: section
  3217. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3218. #: guix-git/doc/guix.texi:10035 guix-git/doc/guix.texi:10036
  3219. #, no-wrap
  3220. msgid "G-Expressions"
  3221. msgstr ""
  3222. #. type: menuentry
  3223. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3224. msgid "Manipulating build expressions."
  3225. msgstr ""
  3226. #. type: node
  3227. #: guix-git/doc/guix.texi:287 guix-git/doc/guix.texi:6839
  3228. #: guix-git/doc/guix.texi:10674
  3229. #, no-wrap
  3230. msgid "Invoking guix repl"
  3231. msgstr ""
  3232. #. type: menuentry
  3233. #: guix-git/doc/guix.texi:287
  3234. msgid "Programming Guix in Guile."
  3235. msgstr ""
  3236. #. type: node
  3237. #: guix-git/doc/guix.texi:292 guix-git/doc/guix.texi:7100
  3238. #: guix-git/doc/guix.texi:7103
  3239. #, no-wrap
  3240. msgid "package Reference"
  3241. msgstr ""
  3242. #. type: menuentry
  3243. #: guix-git/doc/guix.texi:292 guix-git/doc/guix.texi:7100
  3244. msgid "The package data type."
  3245. msgstr ""
  3246. #. type: node
  3247. #: guix-git/doc/guix.texi:292 guix-git/doc/guix.texi:7100
  3248. #: guix-git/doc/guix.texi:7362
  3249. #, no-wrap
  3250. msgid "origin Reference"
  3251. msgstr ""
  3252. #. type: menuentry
  3253. #: guix-git/doc/guix.texi:292 guix-git/doc/guix.texi:7100
  3254. msgid "The origin data type."
  3255. msgstr ""
  3256. #. type: node
  3257. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3258. #: guix-git/doc/guix.texi:10801
  3259. #, no-wrap
  3260. msgid "Invoking guix build"
  3261. msgstr ""
  3262. #. type: menuentry
  3263. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3264. msgid "Building packages from the command line."
  3265. msgstr ""
  3266. #. type: node
  3267. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3268. #: guix-git/doc/guix.texi:11699
  3269. #, no-wrap
  3270. msgid "Invoking guix edit"
  3271. msgstr ""
  3272. #. type: menuentry
  3273. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3274. msgid "Editing package definitions."
  3275. msgstr ""
  3276. #. type: node
  3277. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3278. #: guix-git/doc/guix.texi:11729
  3279. #, no-wrap
  3280. msgid "Invoking guix download"
  3281. msgstr ""
  3282. #. type: menuentry
  3283. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3284. msgid "Downloading a file and printing its hash."
  3285. msgstr ""
  3286. #. type: node
  3287. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3288. #: guix-git/doc/guix.texi:11787
  3289. #, no-wrap
  3290. msgid "Invoking guix hash"
  3291. msgstr ""
  3292. #. type: menuentry
  3293. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3294. msgid "Computing the cryptographic hash of a file."
  3295. msgstr ""
  3296. #. type: node
  3297. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3298. #: guix-git/doc/guix.texi:11877
  3299. #, no-wrap
  3300. msgid "Invoking guix import"
  3301. msgstr ""
  3302. #. type: menuentry
  3303. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3304. msgid "Importing package definitions."
  3305. msgstr ""
  3306. #. type: node
  3307. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3308. #: guix-git/doc/guix.texi:12412
  3309. #, no-wrap
  3310. msgid "Invoking guix refresh"
  3311. msgstr ""
  3312. #. type: menuentry
  3313. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3314. msgid "Updating package definitions."
  3315. msgstr ""
  3316. #. type: node
  3317. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3318. #: guix-git/doc/guix.texi:12784
  3319. #, no-wrap
  3320. msgid "Invoking guix style"
  3321. msgstr ""
  3322. #. type: menuentry
  3323. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3324. msgid "Styling package definitions."
  3325. msgstr ""
  3326. #. type: node
  3327. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3328. #: guix-git/doc/guix.texi:12880
  3329. #, no-wrap
  3330. msgid "Invoking guix lint"
  3331. msgstr ""
  3332. #. type: menuentry
  3333. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3334. msgid "Finding errors in package definitions."
  3335. msgstr ""
  3336. #. type: node
  3337. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3338. #: guix-git/doc/guix.texi:13056
  3339. #, no-wrap
  3340. msgid "Invoking guix size"
  3341. msgstr ""
  3342. #. type: menuentry
  3343. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3344. msgid "Profiling disk usage."
  3345. msgstr ""
  3346. #. type: node
  3347. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3348. #: guix-git/doc/guix.texi:13200
  3349. #, no-wrap
  3350. msgid "Invoking guix graph"
  3351. msgstr ""
  3352. #. type: menuentry
  3353. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3354. msgid "Visualizing the graph of packages."
  3355. msgstr ""
  3356. #. type: node
  3357. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3358. #: guix-git/doc/guix.texi:13481
  3359. #, no-wrap
  3360. msgid "Invoking guix publish"
  3361. msgstr ""
  3362. #. type: menuentry
  3363. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3364. msgid "Sharing substitutes."
  3365. msgstr ""
  3366. #. type: node
  3367. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3368. #: guix-git/doc/guix.texi:13750
  3369. #, no-wrap
  3370. msgid "Invoking guix challenge"
  3371. msgstr ""
  3372. #. type: menuentry
  3373. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3374. msgid "Challenging substitute servers."
  3375. msgstr ""
  3376. #. type: node
  3377. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3378. #: guix-git/doc/guix.texi:13933
  3379. #, no-wrap
  3380. msgid "Invoking guix copy"
  3381. msgstr ""
  3382. #. type: menuentry
  3383. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3384. msgid "Copying to and from a remote store."
  3385. msgstr ""
  3386. #. type: node
  3387. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3388. #: guix-git/doc/guix.texi:13996
  3389. #, no-wrap
  3390. msgid "Invoking guix container"
  3391. msgstr ""
  3392. #. type: menuentry
  3393. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3394. msgid "Process isolation."
  3395. msgstr ""
  3396. #. type: node
  3397. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3398. #: guix-git/doc/guix.texi:14050
  3399. #, no-wrap
  3400. msgid "Invoking guix weather"
  3401. msgstr ""
  3402. #. type: menuentry
  3403. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3404. msgid "Assessing substitute availability."
  3405. msgstr ""
  3406. #. type: node
  3407. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3408. #: guix-git/doc/guix.texi:14180
  3409. #, no-wrap
  3410. msgid "Invoking guix processes"
  3411. msgstr ""
  3412. #. type: menuentry
  3413. #: guix-git/doc/guix.texi:311 guix-git/doc/guix.texi:10799
  3414. msgid "Listing client processes."
  3415. msgstr ""
  3416. #. type: section
  3417. #: guix-git/doc/guix.texi:313 guix-git/doc/guix.texi:10802
  3418. #, no-wrap
  3419. msgid "Invoking @command{guix build}"
  3420. msgstr ""
  3421. #. type: subsection
  3422. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3423. #: guix-git/doc/guix.texi:10855 guix-git/doc/guix.texi:10856
  3424. #, no-wrap
  3425. msgid "Common Build Options"
  3426. msgstr ""
  3427. #. type: menuentry
  3428. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3429. msgid "Build options for most commands."
  3430. msgstr ""
  3431. #. type: subsection
  3432. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3433. #: guix-git/doc/guix.texi:11010 guix-git/doc/guix.texi:11011
  3434. #, no-wrap
  3435. msgid "Package Transformation Options"
  3436. msgstr ""
  3437. #. type: menuentry
  3438. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3439. msgid "Creating variants of packages."
  3440. msgstr ""
  3441. #. type: subsection
  3442. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3443. #: guix-git/doc/guix.texi:11381 guix-git/doc/guix.texi:11382
  3444. #, no-wrap
  3445. msgid "Additional Build Options"
  3446. msgstr ""
  3447. #. type: menuentry
  3448. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3449. msgid "Options specific to 'guix build'."
  3450. msgstr ""
  3451. #. type: subsection
  3452. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3453. #: guix-git/doc/guix.texi:11619 guix-git/doc/guix.texi:11620
  3454. #, no-wrap
  3455. msgid "Debugging Build Failures"
  3456. msgstr ""
  3457. #. type: menuentry
  3458. #: guix-git/doc/guix.texi:318 guix-git/doc/guix.texi:10853
  3459. msgid "Real life packaging experience."
  3460. msgstr ""
  3461. #. type: section
  3462. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3463. #: guix-git/doc/guix.texi:14324 guix-git/doc/guix.texi:14325
  3464. #, no-wrap
  3465. msgid "Using the Configuration System"
  3466. msgstr ""
  3467. #. type: menuentry
  3468. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3469. msgid "Customizing your GNU system."
  3470. msgstr ""
  3471. #. type: node
  3472. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3473. #: guix-git/doc/guix.texi:14575
  3474. #, no-wrap
  3475. msgid "operating-system Reference"
  3476. msgstr ""
  3477. #. type: menuentry
  3478. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3479. msgid "Detail of operating-system declarations."
  3480. msgstr ""
  3481. #. type: section
  3482. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3483. #: guix-git/doc/guix.texi:14798 guix-git/doc/guix.texi:14799
  3484. #, no-wrap
  3485. msgid "File Systems"
  3486. msgstr ""
  3487. #. type: menuentry
  3488. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3489. msgid "Configuring file system mounts."
  3490. msgstr ""
  3491. #. type: section
  3492. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3493. #: guix-git/doc/guix.texi:15151 guix-git/doc/guix.texi:15152
  3494. #, no-wrap
  3495. msgid "Mapped Devices"
  3496. msgstr ""
  3497. #. type: menuentry
  3498. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3499. msgid "Block device extra processing."
  3500. msgstr ""
  3501. #. type: section
  3502. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3503. #: guix-git/doc/guix.texi:15300 guix-git/doc/guix.texi:15301
  3504. #, no-wrap
  3505. msgid "Swap Space"
  3506. msgstr ""
  3507. #. type: menuentry
  3508. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3509. msgid "Backing RAM with disk space."
  3510. msgstr ""
  3511. #. type: section
  3512. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3513. #: guix-git/doc/guix.texi:15400 guix-git/doc/guix.texi:15401
  3514. #, no-wrap
  3515. msgid "User Accounts"
  3516. msgstr ""
  3517. #. type: menuentry
  3518. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3519. msgid "Specifying user accounts."
  3520. msgstr ""
  3521. #. type: section
  3522. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:2308
  3523. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:15581
  3524. #: guix-git/doc/guix.texi:15582
  3525. #, no-wrap
  3526. msgid "Keyboard Layout"
  3527. msgstr ""
  3528. #. type: menuentry
  3529. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3530. msgid "How the system interprets key strokes."
  3531. msgstr ""
  3532. #. type: section
  3533. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:1835
  3534. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:15727
  3535. #: guix-git/doc/guix.texi:15728
  3536. #, no-wrap
  3537. msgid "Locales"
  3538. msgstr ""
  3539. #. type: menuentry
  3540. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3541. msgid "Language and cultural convention settings."
  3542. msgstr ""
  3543. #. type: section
  3544. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:345
  3545. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:15867
  3546. #: guix-git/doc/guix.texi:15868
  3547. #, no-wrap
  3548. msgid "Services"
  3549. msgstr ""
  3550. #. type: menuentry
  3551. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3552. msgid "Specifying system services."
  3553. msgstr ""
  3554. #. type: section
  3555. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3556. #: guix-git/doc/guix.texi:34056 guix-git/doc/guix.texi:34057
  3557. #, no-wrap
  3558. msgid "Setuid Programs"
  3559. msgstr ""
  3560. #. type: menuentry
  3561. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3562. msgid "Programs running with root privileges."
  3563. msgstr ""
  3564. #. type: section
  3565. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:1984
  3566. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:34140
  3567. #: guix-git/doc/guix.texi:34141
  3568. #, no-wrap
  3569. msgid "X.509 Certificates"
  3570. msgstr ""
  3571. #. type: menuentry
  3572. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3573. msgid "Authenticating HTTPS servers."
  3574. msgstr ""
  3575. #. type: section
  3576. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:1878
  3577. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:34203
  3578. #: guix-git/doc/guix.texi:34204
  3579. #, no-wrap
  3580. msgid "Name Service Switch"
  3581. msgstr ""
  3582. #. type: menuentry
  3583. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3584. msgid "Configuring libc's name service switch."
  3585. msgstr ""
  3586. #. type: section
  3587. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3588. #: guix-git/doc/guix.texi:34341 guix-git/doc/guix.texi:34342
  3589. #, no-wrap
  3590. msgid "Initial RAM Disk"
  3591. msgstr ""
  3592. #. type: menuentry
  3593. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3594. msgid "Linux-Libre bootstrapping."
  3595. msgstr ""
  3596. #. type: section
  3597. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3598. #: guix-git/doc/guix.texi:34536 guix-git/doc/guix.texi:34537
  3599. #, no-wrap
  3600. msgid "Bootloader Configuration"
  3601. msgstr ""
  3602. #. type: menuentry
  3603. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3604. msgid "Configuring the boot loader."
  3605. msgstr ""
  3606. #. type: node
  3607. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3608. #: guix-git/doc/guix.texi:34834
  3609. #, no-wrap
  3610. msgid "Invoking guix system"
  3611. msgstr ""
  3612. #. type: menuentry
  3613. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3614. msgid "Instantiating a system configuration."
  3615. msgstr ""
  3616. #. type: node
  3617. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3618. #: guix-git/doc/guix.texi:35425
  3619. #, no-wrap
  3620. msgid "Invoking guix deploy"
  3621. msgstr ""
  3622. #. type: menuentry
  3623. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3624. msgid "Deploying a system configuration to a remote host."
  3625. msgstr ""
  3626. #. type: node
  3627. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3628. #: guix-git/doc/guix.texi:35631
  3629. #, no-wrap
  3630. msgid "Running Guix in a VM"
  3631. msgstr ""
  3632. #. type: menuentry
  3633. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3634. msgid "How to run Guix System in a virtual machine."
  3635. msgstr ""
  3636. #. type: section
  3637. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:381
  3638. #: guix-git/doc/guix.texi:14322 guix-git/doc/guix.texi:35765
  3639. #: guix-git/doc/guix.texi:35766
  3640. #, no-wrap
  3641. msgid "Defining Services"
  3642. msgstr ""
  3643. #. type: menuentry
  3644. #: guix-git/doc/guix.texi:339 guix-git/doc/guix.texi:14322
  3645. msgid "Adding new service definitions."
  3646. msgstr ""
  3647. #. type: menuentry
  3648. #: guix-git/doc/guix.texi:341
  3649. msgid "Home Environment Configuration"
  3650. msgstr ""
  3651. #. type: node
  3652. #: guix-git/doc/guix.texi:343 guix-git/doc/guix.texi:36944
  3653. #: guix-git/doc/guix.texi:37478
  3654. #, no-wrap
  3655. msgid "Invoking guix home"
  3656. msgstr ""
  3657. #. type: menuentry
  3658. #: guix-git/doc/guix.texi:343
  3659. msgid "Instantiating a home environment configuration."
  3660. msgstr ""
  3661. #. type: subsection
  3662. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3663. #: guix-git/doc/guix.texi:15953 guix-git/doc/guix.texi:15954
  3664. #, no-wrap
  3665. msgid "Base Services"
  3666. msgstr ""
  3667. #. type: menuentry
  3668. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3669. msgid "Essential system services."
  3670. msgstr ""
  3671. #. type: subsection
  3672. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3673. #: guix-git/doc/guix.texi:16880 guix-git/doc/guix.texi:16881
  3674. #, no-wrap
  3675. msgid "Scheduled Job Execution"
  3676. msgstr ""
  3677. #. type: menuentry
  3678. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3679. msgid "The mcron service."
  3680. msgstr ""
  3681. #. type: subsection
  3682. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3683. #: guix-git/doc/guix.texi:17030 guix-git/doc/guix.texi:17031
  3684. #, no-wrap
  3685. msgid "Log Rotation"
  3686. msgstr ""
  3687. #. type: menuentry
  3688. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3689. msgid "The rottlog service."
  3690. msgstr ""
  3691. #. type: subsection
  3692. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3693. #: guix-git/doc/guix.texi:17143 guix-git/doc/guix.texi:17144
  3694. #, no-wrap
  3695. msgid "Networking Setup"
  3696. msgstr ""
  3697. #. type: menuentry
  3698. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3699. msgid "Setting up network interfaces."
  3700. msgstr ""
  3701. #. type: subsection
  3702. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3703. #: guix-git/doc/guix.texi:17561 guix-git/doc/guix.texi:17562
  3704. #, no-wrap
  3705. msgid "Networking Services"
  3706. msgstr ""
  3707. #. type: menuentry
  3708. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3709. msgid "Firewall, SSH daemon, etc."
  3710. msgstr ""
  3711. #. type: subsection
  3712. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3713. #: guix-git/doc/guix.texi:19020 guix-git/doc/guix.texi:19021
  3714. #, no-wrap
  3715. msgid "Unattended Upgrades"
  3716. msgstr ""
  3717. #. type: menuentry
  3718. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3719. msgid "Automated system upgrades."
  3720. msgstr ""
  3721. #. type: subsection
  3722. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3723. #: guix-git/doc/guix.texi:19158 guix-git/doc/guix.texi:19159
  3724. #, no-wrap
  3725. msgid "X Window"
  3726. msgstr ""
  3727. #. type: menuentry
  3728. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3729. msgid "Graphical display."
  3730. msgstr ""
  3731. #. type: subsection
  3732. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3733. #: guix-git/doc/guix.texi:19556 guix-git/doc/guix.texi:19557
  3734. #, no-wrap
  3735. msgid "Printing Services"
  3736. msgstr ""
  3737. #. type: menuentry
  3738. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3739. msgid "Local and remote printer support."
  3740. msgstr ""
  3741. #. type: subsection
  3742. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3743. #: guix-git/doc/guix.texi:20409 guix-git/doc/guix.texi:20410
  3744. #, no-wrap
  3745. msgid "Desktop Services"
  3746. msgstr ""
  3747. #. type: menuentry
  3748. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3749. msgid "D-Bus and desktop services."
  3750. msgstr ""
  3751. #. type: subsection
  3752. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3753. #: guix-git/doc/guix.texi:20928 guix-git/doc/guix.texi:20929
  3754. #, no-wrap
  3755. msgid "Sound Services"
  3756. msgstr ""
  3757. #. type: menuentry
  3758. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3759. msgid "ALSA and Pulseaudio services."
  3760. msgstr ""
  3761. #. type: subsection
  3762. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3763. #: guix-git/doc/guix.texi:21068 guix-git/doc/guix.texi:21069
  3764. #, no-wrap
  3765. msgid "Database Services"
  3766. msgstr ""
  3767. #. type: menuentry
  3768. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3769. msgid "SQL databases, key-value stores, etc."
  3770. msgstr ""
  3771. #. type: subsection
  3772. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3773. #: guix-git/doc/guix.texi:21403 guix-git/doc/guix.texi:21404
  3774. #, no-wrap
  3775. msgid "Mail Services"
  3776. msgstr ""
  3777. #. type: menuentry
  3778. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3779. msgid "IMAP, POP3, SMTP, and all that."
  3780. msgstr ""
  3781. #. type: subsection
  3782. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3783. #: guix-git/doc/guix.texi:23262 guix-git/doc/guix.texi:23263
  3784. #, no-wrap
  3785. msgid "Messaging Services"
  3786. msgstr ""
  3787. #. type: menuentry
  3788. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3789. msgid "Messaging services."
  3790. msgstr ""
  3791. #. type: subsection
  3792. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3793. #: guix-git/doc/guix.texi:23765 guix-git/doc/guix.texi:23766
  3794. #, no-wrap
  3795. msgid "Telephony Services"
  3796. msgstr ""
  3797. #. type: menuentry
  3798. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3799. msgid "Telephony services."
  3800. msgstr ""
  3801. #. type: subsection
  3802. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3803. #: guix-git/doc/guix.texi:24996 guix-git/doc/guix.texi:24997
  3804. #, no-wrap
  3805. msgid "Monitoring Services"
  3806. msgstr ""
  3807. #. type: menuentry
  3808. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3809. msgid "Monitoring services."
  3810. msgstr ""
  3811. #. type: subsection
  3812. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3813. #: guix-git/doc/guix.texi:25507 guix-git/doc/guix.texi:25508
  3814. #, no-wrap
  3815. msgid "Kerberos Services"
  3816. msgstr ""
  3817. #. type: menuentry
  3818. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3819. msgid "Kerberos services."
  3820. msgstr ""
  3821. #. type: subsection
  3822. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3823. #: guix-git/doc/guix.texi:25633 guix-git/doc/guix.texi:25634
  3824. #, no-wrap
  3825. msgid "LDAP Services"
  3826. msgstr ""
  3827. #. type: menuentry
  3828. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3829. msgid "LDAP services."
  3830. msgstr ""
  3831. #. type: subsection
  3832. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3833. #: guix-git/doc/guix.texi:26112 guix-git/doc/guix.texi:26113
  3834. #, no-wrap
  3835. msgid "Web Services"
  3836. msgstr ""
  3837. #. type: menuentry
  3838. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3839. msgid "Web servers."
  3840. msgstr ""
  3841. #. type: subsection
  3842. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3843. #: guix-git/doc/guix.texi:27320 guix-git/doc/guix.texi:27321
  3844. #, no-wrap
  3845. msgid "Certificate Services"
  3846. msgstr ""
  3847. #. type: menuentry
  3848. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3849. msgid "TLS certificates via Let's Encrypt."
  3850. msgstr ""
  3851. #. type: subsection
  3852. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3853. #: guix-git/doc/guix.texi:27501 guix-git/doc/guix.texi:27502
  3854. #, no-wrap
  3855. msgid "DNS Services"
  3856. msgstr ""
  3857. #. type: menuentry
  3858. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3859. msgid "DNS daemons."
  3860. msgstr ""
  3861. #. type: subsection
  3862. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3863. #: guix-git/doc/guix.texi:28246 guix-git/doc/guix.texi:28247
  3864. #, no-wrap
  3865. msgid "VPN Services"
  3866. msgstr ""
  3867. #. type: menuentry
  3868. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3869. msgid "VPN daemons."
  3870. msgstr ""
  3871. #. type: subsection
  3872. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3873. #: guix-git/doc/guix.texi:28758 guix-git/doc/guix.texi:28759
  3874. #, no-wrap
  3875. msgid "Network File System"
  3876. msgstr ""
  3877. #. type: menuentry
  3878. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3879. msgid "NFS related services."
  3880. msgstr ""
  3881. #. type: subsection
  3882. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3883. #: guix-git/doc/guix.texi:28954 guix-git/doc/guix.texi:28955
  3884. #, no-wrap
  3885. msgid "Continuous Integration"
  3886. msgstr ""
  3887. #. type: menuentry
  3888. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3889. msgid "Cuirass and Laminar services."
  3890. msgstr ""
  3891. #. type: subsection
  3892. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3893. #: guix-git/doc/guix.texi:29240 guix-git/doc/guix.texi:29241
  3894. #, no-wrap
  3895. msgid "Power Management Services"
  3896. msgstr ""
  3897. #. type: menuentry
  3898. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3899. msgid "Extending battery life."
  3900. msgstr ""
  3901. #. type: subsection
  3902. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3903. #: guix-git/doc/guix.texi:29774 guix-git/doc/guix.texi:29775
  3904. #, no-wrap
  3905. msgid "Audio Services"
  3906. msgstr ""
  3907. #. type: menuentry
  3908. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3909. msgid "The MPD."
  3910. msgstr ""
  3911. #. type: subsection
  3912. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3913. #: guix-git/doc/guix.texi:29893 guix-git/doc/guix.texi:29894
  3914. #, no-wrap
  3915. msgid "Virtualization Services"
  3916. msgstr ""
  3917. #. type: menuentry
  3918. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3919. msgid "Virtualization services."
  3920. msgstr ""
  3921. #. type: subsection
  3922. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3923. #: guix-git/doc/guix.texi:31561 guix-git/doc/guix.texi:31562
  3924. #, no-wrap
  3925. msgid "Version Control Services"
  3926. msgstr ""
  3927. #. type: menuentry
  3928. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3929. msgid "Providing remote access to Git repositories."
  3930. msgstr ""
  3931. #. type: subsection
  3932. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3933. #: guix-git/doc/guix.texi:32897 guix-git/doc/guix.texi:32898
  3934. #, no-wrap
  3935. msgid "Game Services"
  3936. msgstr ""
  3937. #. type: menuentry
  3938. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3939. msgid "Game servers."
  3940. msgstr ""
  3941. #. type: subsection
  3942. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3943. #: guix-git/doc/guix.texi:32929 guix-git/doc/guix.texi:32930
  3944. #, no-wrap
  3945. msgid "PAM Mount Service"
  3946. msgstr ""
  3947. #. type: menuentry
  3948. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3949. msgid "Service to mount volumes when logging in."
  3950. msgstr ""
  3951. #. type: subsection
  3952. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3953. #: guix-git/doc/guix.texi:33012 guix-git/doc/guix.texi:33013
  3954. #, no-wrap
  3955. msgid "Guix Services"
  3956. msgstr ""
  3957. #. type: menuentry
  3958. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3959. msgid "Services relating specifically to Guix."
  3960. msgstr ""
  3961. #. type: subsection
  3962. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3963. #: guix-git/doc/guix.texi:33290 guix-git/doc/guix.texi:33291
  3964. #, no-wrap
  3965. msgid "Linux Services"
  3966. msgstr ""
  3967. #. type: menuentry
  3968. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3969. msgid "Services tied to the Linux kernel."
  3970. msgstr ""
  3971. #. type: subsection
  3972. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3973. #: guix-git/doc/guix.texi:33517 guix-git/doc/guix.texi:33518
  3974. #, no-wrap
  3975. msgid "Hurd Services"
  3976. msgstr ""
  3977. #. type: menuentry
  3978. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3979. msgid "Services specific for a Hurd System."
  3980. msgstr ""
  3981. #. type: subsection
  3982. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3983. #: guix-git/doc/guix.texi:33559 guix-git/doc/guix.texi:33560
  3984. #, no-wrap
  3985. msgid "Miscellaneous Services"
  3986. msgstr ""
  3987. #. type: menuentry
  3988. #: guix-git/doc/guix.texi:379 guix-git/doc/guix.texi:15951
  3989. msgid "Other services."
  3990. msgstr ""
  3991. #. type: subsection
  3992. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  3993. #: guix-git/doc/guix.texi:35780 guix-git/doc/guix.texi:35781
  3994. #, no-wrap
  3995. msgid "Service Composition"
  3996. msgstr ""
  3997. #. type: menuentry
  3998. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  3999. msgid "The model for composing services."
  4000. msgstr ""
  4001. #. type: subsection
  4002. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4003. #: guix-git/doc/guix.texi:35836 guix-git/doc/guix.texi:35837
  4004. #, no-wrap
  4005. msgid "Service Types and Services"
  4006. msgstr ""
  4007. #. type: menuentry
  4008. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4009. msgid "Types and services."
  4010. msgstr ""
  4011. #. type: subsection
  4012. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4013. #: guix-git/doc/guix.texi:35973 guix-git/doc/guix.texi:35974
  4014. #, no-wrap
  4015. msgid "Service Reference"
  4016. msgstr ""
  4017. #. type: menuentry
  4018. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4019. msgid "API reference."
  4020. msgstr ""
  4021. #. type: subsection
  4022. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4023. #: guix-git/doc/guix.texi:36292 guix-git/doc/guix.texi:36293
  4024. #, no-wrap
  4025. msgid "Shepherd Services"
  4026. msgstr ""
  4027. #. type: menuentry
  4028. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4029. msgid "A particular type of service."
  4030. msgstr ""
  4031. #. type: subsection
  4032. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4033. #: guix-git/doc/guix.texi:36511 guix-git/doc/guix.texi:36512
  4034. #, fuzzy, no-wrap
  4035. #| msgid "Documentation"
  4036. msgid "Complex Configurations"
  4037. msgstr "مستندات"
  4038. #. type: menuentry
  4039. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:35778
  4040. msgid "Defining bindings for complex configurations."
  4041. msgstr ""
  4042. #. type: section
  4043. #: guix-git/doc/guix.texi:392 guix-git/doc/guix.texi:37804
  4044. #: guix-git/doc/guix.texi:37806 guix-git/doc/guix.texi:37807
  4045. #, no-wrap
  4046. msgid "Separate Debug Info"
  4047. msgstr ""
  4048. #. type: menuentry
  4049. #: guix-git/doc/guix.texi:392 guix-git/doc/guix.texi:37804
  4050. msgid "Installing 'debug' outputs."
  4051. msgstr ""
  4052. #. type: section
  4053. #: guix-git/doc/guix.texi:392 guix-git/doc/guix.texi:37804
  4054. #: guix-git/doc/guix.texi:37879 guix-git/doc/guix.texi:37880
  4055. #, no-wrap
  4056. msgid "Rebuilding Debug Info"
  4057. msgstr ""
  4058. #. type: menuentry
  4059. #: guix-git/doc/guix.texi:392 guix-git/doc/guix.texi:37804
  4060. msgid "Building missing debug info."
  4061. msgstr ""
  4062. #. type: node
  4063. #: guix-git/doc/guix.texi:397 guix-git/doc/guix.texi:38096
  4064. #: guix-git/doc/guix.texi:38098
  4065. #, no-wrap
  4066. msgid "Reduced Binary Seed Bootstrap"
  4067. msgstr ""
  4068. #. type: menuentry
  4069. #: guix-git/doc/guix.texi:397 guix-git/doc/guix.texi:38096
  4070. msgid "A Bootstrap worthy of GNU."
  4071. msgstr ""
  4072. #. type: section
  4073. #: guix-git/doc/guix.texi:397 guix-git/doc/guix.texi:38096
  4074. #: guix-git/doc/guix.texi:38173 guix-git/doc/guix.texi:38174
  4075. #, no-wrap
  4076. msgid "Preparing to Use the Bootstrap Binaries"
  4077. msgstr ""
  4078. #. type: menuentry
  4079. #: guix-git/doc/guix.texi:397 guix-git/doc/guix.texi:38096
  4080. msgid "Building that what matters most."
  4081. msgstr ""
  4082. #. type: cindex
  4083. #: guix-git/doc/guix.texi:405
  4084. #, no-wrap
  4085. msgid "purpose"
  4086. msgstr ""
  4087. #. type: Plain text
  4088. #: guix-git/doc/guix.texi:413
  4089. 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."
  4090. msgstr ""
  4091. #. type: cindex
  4092. #: guix-git/doc/guix.texi:414 guix-git/doc/guix.texi:489
  4093. #, no-wrap
  4094. msgid "Guix System"
  4095. msgstr ""
  4096. #. type: cindex
  4097. #: guix-git/doc/guix.texi:415
  4098. #, no-wrap
  4099. msgid "GuixSD, now Guix System"
  4100. msgstr ""
  4101. #. type: cindex
  4102. #: guix-git/doc/guix.texi:416
  4103. #, no-wrap
  4104. msgid "Guix System Distribution, now Guix System"
  4105. msgstr ""
  4106. #. type: Plain text
  4107. #: guix-git/doc/guix.texi:425
  4108. 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}."
  4109. msgstr ""
  4110. #. type: cindex
  4111. #: guix-git/doc/guix.texi:434
  4112. #, no-wrap
  4113. msgid "user interfaces"
  4114. msgstr ""
  4115. #. type: Plain text
  4116. #: guix-git/doc/guix.texi:440
  4117. 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})."
  4118. msgstr ""
  4119. #. type: cindex
  4120. #: guix-git/doc/guix.texi:440
  4121. #, no-wrap
  4122. msgid "build daemon"
  4123. msgstr ""
  4124. #. type: Plain text
  4125. #: guix-git/doc/guix.texi:444
  4126. 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})."
  4127. msgstr ""
  4128. #. type: cindex
  4129. #: guix-git/doc/guix.texi:445
  4130. #, no-wrap
  4131. msgid "extensibility of the distribution"
  4132. msgstr ""
  4133. #. type: cindex
  4134. #: guix-git/doc/guix.texi:446 guix-git/doc/guix.texi:6863
  4135. #, no-wrap
  4136. msgid "customization, of packages"
  4137. msgstr ""
  4138. #. type: Plain text
  4139. #: guix-git/doc/guix.texi:455
  4140. 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})."
  4141. msgstr ""
  4142. #. type: cindex
  4143. #: guix-git/doc/guix.texi:456
  4144. #, no-wrap
  4145. msgid "functional package management"
  4146. msgstr ""
  4147. #. type: cindex
  4148. #: guix-git/doc/guix.texi:457
  4149. #, no-wrap
  4150. msgid "isolation"
  4151. msgstr ""
  4152. #. type: Plain text
  4153. #: guix-git/doc/guix.texi:472
  4154. 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."
  4155. msgstr ""
  4156. #. type: cindex
  4157. #: guix-git/doc/guix.texi:473 guix-git/doc/guix.texi:9372
  4158. #, no-wrap
  4159. msgid "store"
  4160. msgstr ""
  4161. #. type: Plain text
  4162. #: guix-git/doc/guix.texi:480
  4163. 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."
  4164. msgstr ""
  4165. #. type: Plain text
  4166. #: guix-git/doc/guix.texi:484
  4167. 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})."
  4168. msgstr ""
  4169. #. type: Plain text
  4170. #: guix-git/doc/guix.texi:499
  4171. 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."
  4172. msgstr ""
  4173. #. type: Plain text
  4174. #: guix-git/doc/guix.texi:505
  4175. 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}):"
  4176. msgstr ""
  4177. #. type: example
  4178. #: guix-git/doc/guix.texi:508
  4179. #, no-wrap
  4180. msgid "guix package --list-available\n"
  4181. msgstr ""
  4182. #. type: Plain text
  4183. #: guix-git/doc/guix.texi:514
  4184. 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."
  4185. msgstr ""
  4186. #. type: Plain text
  4187. #: guix-git/doc/guix.texi:516
  4188. msgid "Packages are currently available on the following platforms:"
  4189. msgstr ""
  4190. #. type: item
  4191. #: guix-git/doc/guix.texi:519 guix-git/doc/guix.texi:2155
  4192. #, no-wrap
  4193. msgid "x86_64-linux"
  4194. msgstr ""
  4195. #. type: table
  4196. #: guix-git/doc/guix.texi:521
  4197. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4198. msgstr ""
  4199. #. type: item
  4200. #: guix-git/doc/guix.texi:522 guix-git/doc/guix.texi:2158
  4201. #, no-wrap
  4202. msgid "i686-linux"
  4203. msgstr ""
  4204. #. type: table
  4205. #: guix-git/doc/guix.texi:524
  4206. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4207. msgstr ""
  4208. #. type: item
  4209. #: guix-git/doc/guix.texi:525
  4210. #, no-wrap
  4211. msgid "armhf-linux"
  4212. msgstr ""
  4213. #. type: table
  4214. #: guix-git/doc/guix.texi:529
  4215. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4216. msgstr ""
  4217. #. type: item
  4218. #: guix-git/doc/guix.texi:530
  4219. #, no-wrap
  4220. msgid "aarch64-linux"
  4221. msgstr ""
  4222. #. type: table
  4223. #: guix-git/doc/guix.texi:532
  4224. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4225. msgstr ""
  4226. #. type: item
  4227. #: guix-git/doc/guix.texi:533
  4228. #, no-wrap
  4229. msgid "i586-gnu"
  4230. msgstr ""
  4231. #. type: table
  4232. #: guix-git/doc/guix.texi:536
  4233. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4234. msgstr ""
  4235. #. type: table
  4236. #: guix-git/doc/guix.texi:542
  4237. 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!"
  4238. msgstr ""
  4239. #. type: item
  4240. #: guix-git/doc/guix.texi:543
  4241. #, no-wrap
  4242. msgid "mips64el-linux (unsupported)"
  4243. msgstr ""
  4244. #. type: table
  4245. #: guix-git/doc/guix.texi:549
  4246. 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."
  4247. msgstr ""
  4248. #. type: item
  4249. #: guix-git/doc/guix.texi:550
  4250. #, no-wrap
  4251. msgid "powerpc-linux (unsupported)"
  4252. msgstr ""
  4253. #. type: table
  4254. #: guix-git/doc/guix.texi:555
  4255. msgid "big-endian 32-bit PowerPC processors, specifically the PowerPC G4 with AltiVec support, and Linux-Libre kernel. This configuration is not fully supported and there is no ongoing work to ensure this architecture works."
  4256. msgstr ""
  4257. #. type: table
  4258. #: guix-git/doc/guix.texi:566
  4259. 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!"
  4260. msgstr ""
  4261. #. type: Plain text
  4262. #: guix-git/doc/guix.texi:576
  4263. 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."
  4264. msgstr ""
  4265. #. type: Plain text
  4266. #: guix-git/doc/guix.texi:579
  4267. msgid "Guix System is available on all the above platforms except @code{mips64el-linux} and @code{powerpc64le-linux}."
  4268. msgstr ""
  4269. #. type: Plain text
  4270. #: guix-git/doc/guix.texi:583
  4271. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4272. msgstr ""
  4273. #. type: Plain text
  4274. #: guix-git/doc/guix.texi:586
  4275. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4276. msgstr ""
  4277. #. type: cindex
  4278. #: guix-git/doc/guix.texi:592
  4279. #, no-wrap
  4280. msgid "installing Guix"
  4281. msgstr ""
  4282. #. type: quotation
  4283. #: guix-git/doc/guix.texi:604
  4284. 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."
  4285. msgstr ""
  4286. #. type: cindex
  4287. #: guix-git/doc/guix.texi:606 guix-git/doc/guix.texi:1830
  4288. #, no-wrap
  4289. msgid "foreign distro"
  4290. msgstr ""
  4291. #. type: cindex
  4292. #: guix-git/doc/guix.texi:607
  4293. #, no-wrap
  4294. msgid "directories related to foreign distro"
  4295. msgstr ""
  4296. #. type: Plain text
  4297. #: guix-git/doc/guix.texi:612
  4298. 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."
  4299. msgstr ""
  4300. #. type: Plain text
  4301. #: guix-git/doc/guix.texi:615
  4302. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4303. msgstr ""
  4304. #. type: Plain text
  4305. #: guix-git/doc/guix.texi:620
  4306. 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."
  4307. msgstr ""
  4308. #. type: cindex
  4309. #: guix-git/doc/guix.texi:634
  4310. #, no-wrap
  4311. msgid "installing Guix from binaries"
  4312. msgstr ""
  4313. #. type: cindex
  4314. #: guix-git/doc/guix.texi:635
  4315. #, no-wrap
  4316. msgid "installer script"
  4317. msgstr ""
  4318. #. type: Plain text
  4319. #: guix-git/doc/guix.texi:641
  4320. 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."
  4321. msgstr ""
  4322. #. type: quotation
  4323. #: guix-git/doc/guix.texi:649
  4324. 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:"
  4325. msgstr ""
  4326. #. type: example
  4327. #: guix-git/doc/guix.texi:655
  4328. #, no-wrap
  4329. msgid ""
  4330. "cd /tmp\n"
  4331. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4332. "chmod +x guix-install.sh\n"
  4333. "./guix-install.sh\n"
  4334. msgstr ""
  4335. #. type: quotation
  4336. #: guix-git/doc/guix.texi:659
  4337. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4338. msgstr ""
  4339. #. type: Plain text
  4340. #: guix-git/doc/guix.texi:662
  4341. msgid "Installing goes along these lines:"
  4342. msgstr ""
  4343. #. type: cindex
  4344. #: guix-git/doc/guix.texi:665
  4345. #, no-wrap
  4346. msgid "downloading Guix binary"
  4347. msgstr ""
  4348. #. type: enumerate
  4349. #: guix-git/doc/guix.texi:671
  4350. 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})."
  4351. msgstr ""
  4352. #. type: enumerate
  4353. #: guix-git/doc/guix.texi:675
  4354. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4355. msgstr ""
  4356. #. type: example
  4357. #: guix-git/doc/guix.texi:679
  4358. #, no-wrap
  4359. msgid ""
  4360. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4361. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4362. msgstr ""
  4363. #. type: Plain text
  4364. #: guix-git/doc/guix.texi:683 guix-git/doc/guix.texi:2173
  4365. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4366. msgstr ""
  4367. #. type: example
  4368. #: guix-git/doc/guix.texi:687
  4369. #, no-wrap
  4370. msgid ""
  4371. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4372. " -qO - | gpg --import -\n"
  4373. msgstr ""
  4374. #. type: Plain text
  4375. #: guix-git/doc/guix.texi:691 guix-git/doc/guix.texi:2181
  4376. msgid "and rerun the @code{gpg --verify} command."
  4377. msgstr ""
  4378. #. type: Plain text
  4379. #: guix-git/doc/guix.texi:694 guix-git/doc/guix.texi:2184
  4380. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4381. msgstr ""
  4382. #. type: enumerate
  4383. #: guix-git/doc/guix.texi:700
  4384. 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:"
  4385. msgstr ""
  4386. #. type: example
  4387. #: guix-git/doc/guix.texi:706
  4388. #, no-wrap
  4389. msgid ""
  4390. "# cd /tmp\n"
  4391. "# tar --warning=no-timestamp -xf \\\n"
  4392. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4393. "# mv var/guix /var/ && mv gnu /\n"
  4394. msgstr ""
  4395. #. type: enumerate
  4396. #: guix-git/doc/guix.texi:711
  4397. 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)."
  4398. msgstr ""
  4399. #. type: enumerate
  4400. #: guix-git/doc/guix.texi:714
  4401. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4402. msgstr ""
  4403. #. type: enumerate
  4404. #: guix-git/doc/guix.texi:724
  4405. 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."
  4406. msgstr ""
  4407. #. type: enumerate
  4408. #: guix-git/doc/guix.texi:728
  4409. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4410. msgstr ""
  4411. #. type: example
  4412. #: guix-git/doc/guix.texi:733
  4413. #, no-wrap
  4414. msgid ""
  4415. "# mkdir -p ~root/.config/guix\n"
  4416. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4417. " ~root/.config/guix/current\n"
  4418. msgstr ""
  4419. #. type: enumerate
  4420. #: guix-git/doc/guix.texi:737
  4421. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4422. msgstr ""
  4423. #. type: example
  4424. #: guix-git/doc/guix.texi:741
  4425. #, no-wrap
  4426. msgid ""
  4427. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4428. " source $GUIX_PROFILE/etc/profile\n"
  4429. msgstr ""
  4430. #. type: enumerate
  4431. #: guix-git/doc/guix.texi:746
  4432. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4433. msgstr ""
  4434. #. type: enumerate
  4435. #: guix-git/doc/guix.texi:749
  4436. msgid "Run the daemon, and set it to automatically start on boot."
  4437. msgstr ""
  4438. #. type: enumerate
  4439. #: guix-git/doc/guix.texi:752
  4440. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4441. msgstr ""
  4442. #. type: example
  4443. #: guix-git/doc/guix.texi:765
  4444. #, no-wrap
  4445. msgid ""
  4446. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4447. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4448. " /etc/systemd/system/\n"
  4449. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4450. msgstr ""
  4451. #. type: enumerate
  4452. #: guix-git/doc/guix.texi:768
  4453. msgid "You may also want to arrange for @command{guix gc} to run periodically:"
  4454. msgstr ""
  4455. #. type: example
  4456. #: guix-git/doc/guix.texi:774
  4457. #, no-wrap
  4458. msgid ""
  4459. "# cp ~root/.config/guix/current/lib/systemd/system/guix-gc.service \\\n"
  4460. " ~root/.config/guix/current/lib/systemd/system/guix-gc.timer \\\n"
  4461. " /etc/systemd/system/\n"
  4462. "# systemctl enable --now guix-gc.timer\n"
  4463. msgstr ""
  4464. #. type: enumerate
  4465. #: guix-git/doc/guix.texi:778
  4466. msgid "You may want to edit @file{guix-gc.service} to adjust the command line options to fit your needs (@pxref{Invoking guix gc})."
  4467. msgstr ""
  4468. #. type: itemize
  4469. #: guix-git/doc/guix.texi:780 guix-git/doc/guix.texi:13740
  4470. msgid "If your host distro uses the Upstart init system:"
  4471. msgstr ""
  4472. #. type: example
  4473. #: guix-git/doc/guix.texi:786
  4474. #, no-wrap
  4475. msgid ""
  4476. "# initctl reload-configuration\n"
  4477. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4478. " /etc/init/\n"
  4479. "# start guix-daemon\n"
  4480. msgstr ""
  4481. #. type: enumerate
  4482. #: guix-git/doc/guix.texi:789
  4483. msgid "Otherwise, you can still start the daemon manually with:"
  4484. msgstr ""
  4485. #. type: example
  4486. #: guix-git/doc/guix.texi:793
  4487. #, no-wrap
  4488. msgid ""
  4489. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4490. " --build-users-group=guixbuild\n"
  4491. msgstr ""
  4492. #. type: enumerate
  4493. #: guix-git/doc/guix.texi:798
  4494. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4495. msgstr ""
  4496. #. type: example
  4497. #: guix-git/doc/guix.texi:803
  4498. #, no-wrap
  4499. msgid ""
  4500. "# mkdir -p /usr/local/bin\n"
  4501. "# cd /usr/local/bin\n"
  4502. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4503. msgstr ""
  4504. #. type: enumerate
  4505. #: guix-git/doc/guix.texi:807
  4506. msgid "It is also a good idea to make the Info version of this manual available there:"
  4507. msgstr ""
  4508. #. type: example
  4509. #: guix-git/doc/guix.texi:813
  4510. #, no-wrap
  4511. msgid ""
  4512. "# mkdir -p /usr/local/share/info\n"
  4513. "# cd /usr/local/share/info\n"
  4514. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4515. " do ln -s $i ; done\n"
  4516. msgstr ""
  4517. #. type: enumerate
  4518. #: guix-git/doc/guix.texi:819
  4519. 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)."
  4520. msgstr ""
  4521. #. type: cindex
  4522. #: guix-git/doc/guix.texi:821 guix-git/doc/guix.texi:3798
  4523. #: guix-git/doc/guix.texi:16494
  4524. #, no-wrap
  4525. msgid "substitutes, authorization thereof"
  4526. msgstr ""
  4527. #. type: enumerate
  4528. #: guix-git/doc/guix.texi:825
  4529. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4530. msgstr ""
  4531. #. type: example
  4532. #: guix-git/doc/guix.texi:831
  4533. #, no-wrap
  4534. msgid ""
  4535. "# guix archive --authorize < \\\n"
  4536. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4537. "# guix archive --authorize < \\\n"
  4538. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4539. msgstr ""
  4540. #. type: quotation
  4541. #: guix-git/doc/guix.texi:838
  4542. 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."
  4543. msgstr ""
  4544. #. type: enumerate
  4545. #: guix-git/doc/guix.texi:843
  4546. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4547. msgstr ""
  4548. #. type: Plain text
  4549. #: guix-git/doc/guix.texi:846
  4550. msgid "Voilà, the installation is complete!"
  4551. msgstr ""
  4552. #. type: Plain text
  4553. #: guix-git/doc/guix.texi:849
  4554. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4555. msgstr ""
  4556. #. type: example
  4557. #: guix-git/doc/guix.texi:852
  4558. #, no-wrap
  4559. msgid "# guix install hello\n"
  4560. msgstr ""
  4561. #. type: Plain text
  4562. #: guix-git/doc/guix.texi:856
  4563. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4564. msgstr ""
  4565. #. type: example
  4566. #: guix-git/doc/guix.texi:859
  4567. #, no-wrap
  4568. msgid "make guix-binary.@var{system}.tar.xz\n"
  4569. msgstr ""
  4570. #. type: Plain text
  4571. #: guix-git/doc/guix.texi:863
  4572. msgid "...@: which, in turn, runs:"
  4573. msgstr ""
  4574. #. type: example
  4575. #: guix-git/doc/guix.texi:867
  4576. #, no-wrap
  4577. msgid ""
  4578. "guix pack -s @var{system} --localstatedir \\\n"
  4579. " --profile-name=current-guix guix\n"
  4580. msgstr ""
  4581. #. type: Plain text
  4582. #: guix-git/doc/guix.texi:870
  4583. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4584. msgstr ""
  4585. #. type: Plain text
  4586. #: guix-git/doc/guix.texi:878
  4587. 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."
  4588. msgstr ""
  4589. #. type: cindex
  4590. #: guix-git/doc/guix.texi:879
  4591. #, no-wrap
  4592. msgid "official website"
  4593. msgstr ""
  4594. #. type: Plain text
  4595. #: guix-git/doc/guix.texi:882
  4596. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4597. msgstr ""
  4598. #. type: Plain text
  4599. #: guix-git/doc/guix.texi:884
  4600. msgid "GNU Guix depends on the following packages:"
  4601. msgstr ""
  4602. #. type: item
  4603. #: guix-git/doc/guix.texi:886
  4604. #, no-wrap
  4605. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x;"
  4606. msgstr ""
  4607. #. type: item
  4608. #: guix-git/doc/guix.texi:887
  4609. #, no-wrap
  4610. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4611. msgstr ""
  4612. #. type: itemize
  4613. #: guix-git/doc/guix.texi:889
  4614. msgid "0.1.0 or later;"
  4615. msgstr ""
  4616. #. type: itemize
  4617. #: guix-git/doc/guix.texi:893
  4618. 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});"
  4619. msgstr ""
  4620. #. type: itemize
  4621. #: guix-git/doc/guix.texi:896
  4622. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4623. msgstr ""
  4624. #. type: item
  4625. #: guix-git/doc/guix.texi:896
  4626. #, no-wrap
  4627. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4628. msgstr ""
  4629. #. type: itemize
  4630. #: guix-git/doc/guix.texi:898
  4631. msgid "version 0.1.0 or later;"
  4632. msgstr ""
  4633. #. type: item
  4634. #: guix-git/doc/guix.texi:898
  4635. #, no-wrap
  4636. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4637. msgstr ""
  4638. #. type: item
  4639. #: guix-git/doc/guix.texi:899
  4640. #, no-wrap
  4641. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4642. msgstr ""
  4643. #. type: itemize
  4644. #: guix-git/doc/guix.texi:903
  4645. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4646. msgstr ""
  4647. #. type: item
  4648. #: guix-git/doc/guix.texi:903
  4649. #, no-wrap
  4650. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4651. msgstr ""
  4652. #. type: itemize
  4653. #: guix-git/doc/guix.texi:905
  4654. msgid "4.3.0 or later;"
  4655. msgstr ""
  4656. #. type: item
  4657. #: guix-git/doc/guix.texi:905
  4658. #, no-wrap
  4659. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4660. msgstr ""
  4661. #. type: Plain text
  4662. #: guix-git/doc/guix.texi:909
  4663. msgid "The following dependencies are optional:"
  4664. msgstr ""
  4665. #. type: itemize
  4666. #: guix-git/doc/guix.texi:917
  4667. 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."
  4668. msgstr ""
  4669. #. type: itemize
  4670. #: guix-git/doc/guix.texi:922
  4671. 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})."
  4672. msgstr ""
  4673. #. type: itemize
  4674. #: guix-git/doc/guix.texi:926
  4675. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4676. msgstr ""
  4677. #. type: itemize
  4678. #: guix-git/doc/guix.texi:931
  4679. 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})."
  4680. msgstr ""
  4681. #. type: itemize
  4682. #: guix-git/doc/guix.texi:935
  4683. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4684. msgstr ""
  4685. #. type: Plain text
  4686. #: guix-git/doc/guix.texi:939
  4687. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4688. msgstr ""
  4689. #. type: item
  4690. #: guix-git/doc/guix.texi:941
  4691. #, no-wrap
  4692. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4693. msgstr ""
  4694. #. type: item
  4695. #: guix-git/doc/guix.texi:942
  4696. #, no-wrap
  4697. msgid "@url{https://sqlite.org, SQLite 3};"
  4698. msgstr ""
  4699. #. type: item
  4700. #: guix-git/doc/guix.texi:943
  4701. #, no-wrap
  4702. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4703. msgstr ""
  4704. #. type: itemize
  4705. #: guix-git/doc/guix.texi:945
  4706. msgid "C++11 standard."
  4707. msgstr ""
  4708. #. type: cindex
  4709. #: guix-git/doc/guix.texi:947
  4710. #, no-wrap
  4711. msgid "state directory"
  4712. msgstr ""
  4713. #. type: Plain text
  4714. #: guix-git/doc/guix.texi:956
  4715. 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})."
  4716. msgstr ""
  4717. #. type: cindex
  4718. #: guix-git/doc/guix.texi:960
  4719. #, no-wrap
  4720. msgid "test suite"
  4721. msgstr ""
  4722. #. type: Plain text
  4723. #: guix-git/doc/guix.texi:966
  4724. 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:"
  4725. msgstr ""
  4726. #. type: example
  4727. #: guix-git/doc/guix.texi:969
  4728. #, no-wrap
  4729. msgid "make check\n"
  4730. msgstr ""
  4731. #. type: Plain text
  4732. #: guix-git/doc/guix.texi:976
  4733. 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."
  4734. msgstr ""
  4735. #. type: Plain text
  4736. #: guix-git/doc/guix.texi:979
  4737. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4738. msgstr ""
  4739. #. type: example
  4740. #: guix-git/doc/guix.texi:982
  4741. #, no-wrap
  4742. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4743. msgstr ""
  4744. #. type: Plain text
  4745. #: guix-git/doc/guix.texi:987
  4746. 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:"
  4747. msgstr ""
  4748. #. type: example
  4749. #: guix-git/doc/guix.texi:990
  4750. #, no-wrap
  4751. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4752. msgstr ""
  4753. #. type: Plain text
  4754. #: guix-git/doc/guix.texi:998
  4755. 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'':"
  4756. msgstr ""
  4757. #. type: example
  4758. #: guix-git/doc/guix.texi:1002
  4759. #, no-wrap
  4760. msgid ""
  4761. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4762. "make check TESTS=\"tests/packages.scm\"\n"
  4763. msgstr ""
  4764. #. type: Plain text
  4765. #: guix-git/doc/guix.texi:1008
  4766. 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:"
  4767. msgstr ""
  4768. #. type: example
  4769. #: guix-git/doc/guix.texi:1011
  4770. #, no-wrap
  4771. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4772. msgstr ""
  4773. #. type: Plain text
  4774. #: guix-git/doc/guix.texi:1016
  4775. 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}:"
  4776. msgstr ""
  4777. #. type: example
  4778. #: guix-git/doc/guix.texi:1019
  4779. #, no-wrap
  4780. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4781. msgstr ""
  4782. #. type: Plain text
  4783. #: guix-git/doc/guix.texi:1023
  4784. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4785. msgstr ""
  4786. #. type: Plain text
  4787. #: guix-git/doc/guix.texi:1028
  4788. 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."
  4789. msgstr ""
  4790. #. type: Plain text
  4791. #: guix-git/doc/guix.texi:1032
  4792. 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:"
  4793. msgstr ""
  4794. #. type: example
  4795. #: guix-git/doc/guix.texi:1035
  4796. #, no-wrap
  4797. msgid "make check-system\n"
  4798. msgstr ""
  4799. #. type: Plain text
  4800. #: guix-git/doc/guix.texi:1039
  4801. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4802. msgstr ""
  4803. #. type: example
  4804. #: guix-git/doc/guix.texi:1042
  4805. #, no-wrap
  4806. msgid "make check-system TESTS=\"basic mcron\"\n"
  4807. msgstr ""
  4808. #. type: Plain text
  4809. #: guix-git/doc/guix.texi:1050
  4810. 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."
  4811. msgstr ""
  4812. #. type: Plain text
  4813. #: guix-git/doc/guix.texi:1053
  4814. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4815. msgstr ""
  4816. #. type: cindex
  4817. #: guix-git/doc/guix.texi:1057
  4818. #, no-wrap
  4819. msgid "daemon"
  4820. msgstr ""
  4821. #. type: Plain text
  4822. #: guix-git/doc/guix.texi:1065
  4823. 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."
  4824. msgstr ""
  4825. #. type: Plain text
  4826. #: guix-git/doc/guix.texi:1069
  4827. 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."
  4828. msgstr ""
  4829. #. type: cindex
  4830. #: guix-git/doc/guix.texi:1079 guix-git/doc/guix.texi:1542
  4831. #, no-wrap
  4832. msgid "build environment"
  4833. msgstr ""
  4834. #. type: Plain text
  4835. #: guix-git/doc/guix.texi:1087
  4836. 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."
  4837. msgstr ""
  4838. #. type: cindex
  4839. #: guix-git/doc/guix.texi:1088
  4840. #, no-wrap
  4841. msgid "build users"
  4842. msgstr ""
  4843. #. type: Plain text
  4844. #: guix-git/doc/guix.texi:1099
  4845. 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})."
  4846. msgstr ""
  4847. #. type: Plain text
  4848. #: guix-git/doc/guix.texi:1102
  4849. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4850. msgstr ""
  4851. #. type: example
  4852. #: guix-git/doc/guix.texi:1114
  4853. #, no-wrap
  4854. msgid ""
  4855. "# groupadd --system guixbuild\n"
  4856. "# for i in $(seq -w 1 10);\n"
  4857. " do\n"
  4858. " useradd -g guixbuild -G guixbuild \\\n"
  4859. " -d /var/empty -s $(which nologin) \\\n"
  4860. " -c \"Guix build user $i\" --system \\\n"
  4861. " guixbuilder$i;\n"
  4862. " done\n"
  4863. msgstr ""
  4864. #. type: Plain text
  4865. #: guix-git/doc/guix.texi:1124
  4866. 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})."
  4867. msgstr ""
  4868. #. type: Plain text
  4869. #: guix-git/doc/guix.texi:1133
  4870. 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}.}:"
  4871. msgstr ""
  4872. #. type: example
  4873. #: guix-git/doc/guix.texi:1136 guix-git/doc/guix.texi:1535
  4874. #, no-wrap
  4875. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4876. msgstr ""
  4877. #. type: cindex
  4878. #: guix-git/doc/guix.texi:1138 guix-git/doc/guix.texi:1540
  4879. #, no-wrap
  4880. msgid "chroot"
  4881. msgstr ""
  4882. #. type: Plain text
  4883. #: guix-git/doc/guix.texi:1143
  4884. 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:"
  4885. msgstr ""
  4886. #. type: itemize
  4887. #: guix-git/doc/guix.texi:1151
  4888. 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.};"
  4889. msgstr ""
  4890. #. type: itemize
  4891. #: guix-git/doc/guix.texi:1155
  4892. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4893. msgstr ""
  4894. #. type: itemize
  4895. #: guix-git/doc/guix.texi:1159
  4896. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4897. msgstr ""
  4898. #. type: itemize
  4899. #: guix-git/doc/guix.texi:1162
  4900. msgid "@file{/etc/group} with an entry for the user's group;"
  4901. msgstr ""
  4902. #. type: itemize
  4903. #: guix-git/doc/guix.texi:1166
  4904. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4905. msgstr ""
  4906. #. type: itemize
  4907. #: guix-git/doc/guix.texi:1169
  4908. msgid "a writable @file{/tmp} directory."
  4909. msgstr ""
  4910. #. type: Plain text
  4911. #: guix-git/doc/guix.texi:1178
  4912. 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."
  4913. msgstr ""
  4914. #. type: vindex
  4915. #: guix-git/doc/guix.texi:1179 guix-git/doc/guix.texi:4007
  4916. #, no-wrap
  4917. msgid "http_proxy"
  4918. msgstr ""
  4919. #. type: vindex
  4920. #: guix-git/doc/guix.texi:1180 guix-git/doc/guix.texi:4008
  4921. #, no-wrap
  4922. msgid "https_proxy"
  4923. msgstr ""
  4924. #. type: Plain text
  4925. #: guix-git/doc/guix.texi:1185
  4926. 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})."
  4927. msgstr ""
  4928. #. type: Plain text
  4929. #: guix-git/doc/guix.texi:1193
  4930. 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."
  4931. msgstr ""
  4932. #. type: subsection
  4933. #: guix-git/doc/guix.texi:1196
  4934. #, no-wrap
  4935. msgid "Using the Offload Facility"
  4936. msgstr ""
  4937. #. type: cindex
  4938. #: guix-git/doc/guix.texi:1198 guix-git/doc/guix.texi:1601
  4939. #, no-wrap
  4940. msgid "offloading"
  4941. msgstr ""
  4942. #. type: cindex
  4943. #: guix-git/doc/guix.texi:1199
  4944. #, no-wrap
  4945. msgid "build hook"
  4946. msgstr ""
  4947. #. type: Plain text
  4948. #: guix-git/doc/guix.texi:1218
  4949. 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:"
  4950. msgstr ""
  4951. #. type: enumerate
  4952. #: guix-git/doc/guix.texi:1224
  4953. 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."
  4954. msgstr ""
  4955. #. type: enumerate
  4956. #: guix-git/doc/guix.texi:1228
  4957. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  4958. msgstr ""
  4959. #. type: enumerate
  4960. #: guix-git/doc/guix.texi:1233
  4961. 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."
  4962. msgstr ""
  4963. #. type: enumerate
  4964. #: guix-git/doc/guix.texi:1236
  4965. msgid "Disk space availability. More than a 100 MiB must be available."
  4966. msgstr ""
  4967. #. type: Plain text
  4968. #: guix-git/doc/guix.texi:1239
  4969. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  4970. msgstr ""
  4971. #. type: lisp
  4972. #: guix-git/doc/guix.texi:1247
  4973. #, no-wrap
  4974. msgid ""
  4975. "(list (build-machine\n"
  4976. " (name \"eightysix.example.org\")\n"
  4977. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  4978. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  4979. " (user \"bob\")\n"
  4980. " (speed 2.)) ;incredibly fast!\n"
  4981. "\n"
  4982. msgstr ""
  4983. #. type: lisp
  4984. #: guix-git/doc/guix.texi:1253
  4985. #, no-wrap
  4986. msgid ""
  4987. " (build-machine\n"
  4988. " (name \"armeight.example.org\")\n"
  4989. " (systems (list \"aarch64-linux\"))\n"
  4990. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  4991. " (user \"alice\")\n"
  4992. "\n"
  4993. msgstr ""
  4994. #. type: lisp
  4995. #: guix-git/doc/guix.texi:1257
  4996. #, no-wrap
  4997. msgid ""
  4998. " ;; Remember 'guix offload' is spawned by\n"
  4999. " ;; 'guix-daemon' as root.\n"
  5000. " (private-key \"/root/.ssh/identity-for-guix\")))\n"
  5001. msgstr ""
  5002. #. type: Plain text
  5003. #: guix-git/doc/guix.texi:1263
  5004. 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."
  5005. msgstr ""
  5006. #. type: Plain text
  5007. #: guix-git/doc/guix.texi:1272
  5008. 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."
  5009. msgstr ""
  5010. #. type: deftp
  5011. #: guix-git/doc/guix.texi:1273
  5012. #, no-wrap
  5013. msgid "{Data Type} build-machine"
  5014. msgstr ""
  5015. #. type: deftp
  5016. #: guix-git/doc/guix.texi:1276
  5017. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  5018. msgstr ""
  5019. #. type: item
  5020. #: guix-git/doc/guix.texi:1279 guix-git/doc/guix.texi:7113
  5021. #: guix-git/doc/guix.texi:15446 guix-git/doc/guix.texi:15545
  5022. #: guix-git/doc/guix.texi:15786 guix-git/doc/guix.texi:17314
  5023. #: guix-git/doc/guix.texi:17935 guix-git/doc/guix.texi:18209
  5024. #: guix-git/doc/guix.texi:21269 guix-git/doc/guix.texi:24179
  5025. #: guix-git/doc/guix.texi:25568 guix-git/doc/guix.texi:26180
  5026. #: guix-git/doc/guix.texi:26533 guix-git/doc/guix.texi:26574
  5027. #: guix-git/doc/guix.texi:28735 guix-git/doc/guix.texi:31072
  5028. #: guix-git/doc/guix.texi:31092 guix-git/doc/guix.texi:33766
  5029. #: guix-git/doc/guix.texi:33783 guix-git/doc/guix.texi:34320
  5030. #: guix-git/doc/guix.texi:36095 guix-git/doc/guix.texi:36422
  5031. #, no-wrap
  5032. msgid "name"
  5033. msgstr "نام"
  5034. #. type: table
  5035. #: guix-git/doc/guix.texi:1281
  5036. msgid "The host name of the remote machine."
  5037. msgstr ""
  5038. #. type: item
  5039. #: guix-git/doc/guix.texi:1282
  5040. #, no-wrap
  5041. msgid "systems"
  5042. msgstr ""
  5043. #. type: table
  5044. #: guix-git/doc/guix.texi:1285
  5045. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  5046. msgstr ""
  5047. #. type: code{#1}
  5048. #: guix-git/doc/guix.texi:1286 guix-git/doc/guix.texi:17945
  5049. #, no-wrap
  5050. msgid "user"
  5051. msgstr ""
  5052. #. type: table
  5053. #: guix-git/doc/guix.texi:1290
  5054. 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."
  5055. msgstr ""
  5056. #. type: item
  5057. #: guix-git/doc/guix.texi:1291
  5058. #, no-wrap
  5059. msgid "host-key"
  5060. msgstr ""
  5061. #. type: table
  5062. #: guix-git/doc/guix.texi:1295
  5063. 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:"
  5064. msgstr ""
  5065. #. type: example
  5066. #: guix-git/doc/guix.texi:1298
  5067. #, no-wrap
  5068. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  5069. msgstr ""
  5070. #. type: table
  5071. #: guix-git/doc/guix.texi:1303
  5072. 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}."
  5073. msgstr ""
  5074. #. type: table
  5075. #: guix-git/doc/guix.texi:1308
  5076. 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}):"
  5077. msgstr ""
  5078. #. type: example
  5079. #: guix-git/doc/guix.texi:1312
  5080. #, no-wrap
  5081. msgid ""
  5082. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  5083. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  5084. msgstr ""
  5085. #. type: deftp
  5086. #: guix-git/doc/guix.texi:1317
  5087. msgid "A number of optional fields may be specified:"
  5088. msgstr ""
  5089. #. type: item
  5090. #: guix-git/doc/guix.texi:1320 guix-git/doc/guix.texi:35581
  5091. #, no-wrap
  5092. msgid "@code{port} (default: @code{22})"
  5093. msgstr ""
  5094. #. type: table
  5095. #: guix-git/doc/guix.texi:1322
  5096. msgid "Port number of SSH server on the machine."
  5097. msgstr ""
  5098. #. type: item
  5099. #: guix-git/doc/guix.texi:1323
  5100. #, no-wrap
  5101. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  5102. msgstr ""
  5103. #. type: table
  5104. #: guix-git/doc/guix.texi:1326
  5105. 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."
  5106. msgstr ""
  5107. #. type: table
  5108. #: guix-git/doc/guix.texi:1329
  5109. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  5110. msgstr ""
  5111. #. type: item
  5112. #: guix-git/doc/guix.texi:1330
  5113. #, no-wrap
  5114. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  5115. msgstr ""
  5116. #. type: itemx
  5117. #: guix-git/doc/guix.texi:1331
  5118. #, no-wrap
  5119. msgid "@code{compression-level} (default: @code{3})"
  5120. msgstr ""
  5121. #. type: table
  5122. #: guix-git/doc/guix.texi:1333
  5123. msgid "The SSH-level compression methods and compression level requested."
  5124. msgstr ""
  5125. #. type: table
  5126. #: guix-git/doc/guix.texi:1336
  5127. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  5128. msgstr ""
  5129. #. type: item
  5130. #: guix-git/doc/guix.texi:1337
  5131. #, no-wrap
  5132. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  5133. msgstr ""
  5134. #. type: table
  5135. #: guix-git/doc/guix.texi:1340
  5136. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  5137. msgstr ""
  5138. #. type: item
  5139. #: guix-git/doc/guix.texi:1341
  5140. #, no-wrap
  5141. msgid "@code{overload-threshold} (default: @code{0.6})"
  5142. msgstr ""
  5143. #. type: table
  5144. #: guix-git/doc/guix.texi:1347
  5145. 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}."
  5146. msgstr ""
  5147. #. type: item
  5148. #: guix-git/doc/guix.texi:1348
  5149. #, no-wrap
  5150. msgid "@code{parallel-builds} (default: @code{1})"
  5151. msgstr ""
  5152. #. type: table
  5153. #: guix-git/doc/guix.texi:1350
  5154. msgid "The number of builds that may run in parallel on the machine."
  5155. msgstr ""
  5156. #. type: item
  5157. #: guix-git/doc/guix.texi:1351
  5158. #, no-wrap
  5159. msgid "@code{speed} (default: @code{1.0})"
  5160. msgstr ""
  5161. #. type: table
  5162. #: guix-git/doc/guix.texi:1354
  5163. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  5164. msgstr ""
  5165. #. type: item
  5166. #: guix-git/doc/guix.texi:1355
  5167. #, no-wrap
  5168. msgid "@code{features} (default: @code{'()})"
  5169. msgstr ""
  5170. #. type: table
  5171. #: guix-git/doc/guix.texi:1360
  5172. 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."
  5173. msgstr ""
  5174. #. type: Plain text
  5175. #: guix-git/doc/guix.texi:1366
  5176. 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:"
  5177. msgstr ""
  5178. #. type: example
  5179. #: guix-git/doc/guix.texi:1369
  5180. #, no-wrap
  5181. msgid "ssh build-machine guix repl --version\n"
  5182. msgstr ""
  5183. #. type: Plain text
  5184. #: guix-git/doc/guix.texi:1376
  5185. 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}):"
  5186. msgstr ""
  5187. #. type: example
  5188. #: guix-git/doc/guix.texi:1379 guix-git/doc/guix.texi:35509
  5189. #, no-wrap
  5190. msgid "# guix archive --generate-key\n"
  5191. msgstr ""
  5192. #. type: Plain text
  5193. #: guix-git/doc/guix.texi:1384
  5194. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5195. msgstr ""
  5196. #. type: example
  5197. #: guix-git/doc/guix.texi:1387
  5198. #, no-wrap
  5199. msgid "# guix archive --authorize < master-public-key.txt\n"
  5200. msgstr ""
  5201. #. type: Plain text
  5202. #: guix-git/doc/guix.texi:1391
  5203. msgid "Likewise, the master machine must authorize the key of each build machine."
  5204. msgstr ""
  5205. #. type: Plain text
  5206. #: guix-git/doc/guix.texi:1397
  5207. 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."
  5208. msgstr ""
  5209. #. type: cindex
  5210. #: guix-git/doc/guix.texi:1398
  5211. #, no-wrap
  5212. msgid "offload test"
  5213. msgstr ""
  5214. #. type: Plain text
  5215. #: guix-git/doc/guix.texi:1401
  5216. msgid "To test whether your setup is operational, run this command on the master node:"
  5217. msgstr ""
  5218. #. type: example
  5219. #: guix-git/doc/guix.texi:1404
  5220. #, no-wrap
  5221. msgid "# guix offload test\n"
  5222. msgstr ""
  5223. #. type: Plain text
  5224. #: guix-git/doc/guix.texi:1410
  5225. 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."
  5226. msgstr ""
  5227. #. type: Plain text
  5228. #: guix-git/doc/guix.texi:1413
  5229. msgid "If you want to test a different machine file, just specify it on the command line:"
  5230. msgstr ""
  5231. #. type: example
  5232. #: guix-git/doc/guix.texi:1416
  5233. #, no-wrap
  5234. msgid "# guix offload test machines-qualif.scm\n"
  5235. msgstr ""
  5236. #. type: Plain text
  5237. #: guix-git/doc/guix.texi:1420
  5238. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5239. msgstr ""
  5240. #. type: example
  5241. #: guix-git/doc/guix.texi:1423
  5242. #, no-wrap
  5243. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5244. msgstr ""
  5245. #. type: cindex
  5246. #: guix-git/doc/guix.texi:1425
  5247. #, no-wrap
  5248. msgid "offload status"
  5249. msgstr ""
  5250. #. type: Plain text
  5251. #: guix-git/doc/guix.texi:1428
  5252. msgid "To display the current load of all build hosts, run this command on the main node:"
  5253. msgstr ""
  5254. #. type: example
  5255. #: guix-git/doc/guix.texi:1431
  5256. #, no-wrap
  5257. msgid "# guix offload status\n"
  5258. msgstr ""
  5259. #. type: cindex
  5260. #: guix-git/doc/guix.texi:1437
  5261. #, no-wrap
  5262. msgid "SELinux, daemon policy"
  5263. msgstr ""
  5264. #. type: cindex
  5265. #: guix-git/doc/guix.texi:1438
  5266. #, no-wrap
  5267. msgid "mandatory access control, SELinux"
  5268. msgstr ""
  5269. #. type: cindex
  5270. #: guix-git/doc/guix.texi:1439
  5271. #, no-wrap
  5272. msgid "security, guix-daemon"
  5273. msgstr ""
  5274. #. type: Plain text
  5275. #: guix-git/doc/guix.texi:1445
  5276. 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."
  5277. msgstr ""
  5278. #. type: subsubsection
  5279. #: guix-git/doc/guix.texi:1446
  5280. #, no-wrap
  5281. msgid "Installing the SELinux policy"
  5282. msgstr ""
  5283. #. type: cindex
  5284. #: guix-git/doc/guix.texi:1447
  5285. #, no-wrap
  5286. msgid "SELinux, policy installation"
  5287. msgstr ""
  5288. #. type: Plain text
  5289. #: guix-git/doc/guix.texi:1449
  5290. msgid "To install the policy run this command as root:"
  5291. msgstr ""
  5292. #. type: example
  5293. #: guix-git/doc/guix.texi:1452
  5294. #, no-wrap
  5295. msgid "semodule -i etc/guix-daemon.cil\n"
  5296. msgstr ""
  5297. #. type: Plain text
  5298. #: guix-git/doc/guix.texi:1456
  5299. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5300. msgstr ""
  5301. #. type: Plain text
  5302. #: guix-git/doc/guix.texi:1461
  5303. 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:"
  5304. msgstr ""
  5305. #. type: example
  5306. #: guix-git/doc/guix.texi:1464
  5307. #, no-wrap
  5308. msgid "ps -Zax | grep guix-daemon\n"
  5309. msgstr ""
  5310. #. type: Plain text
  5311. #: guix-git/doc/guix.texi:1469
  5312. 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."
  5313. msgstr ""
  5314. #. type: cindex
  5315. #: guix-git/doc/guix.texi:1471
  5316. #, no-wrap
  5317. msgid "SELinux, limitations"
  5318. msgstr ""
  5319. #. type: Plain text
  5320. #: guix-git/doc/guix.texi:1476
  5321. 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."
  5322. msgstr ""
  5323. #. type: enumerate
  5324. #: guix-git/doc/guix.texi:1483
  5325. 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."
  5326. msgstr ""
  5327. #. type: enumerate
  5328. #: guix-git/doc/guix.texi:1494
  5329. 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."
  5330. msgstr ""
  5331. #. type: enumerate
  5332. #: guix-git/doc/guix.texi:1499
  5333. 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."
  5334. msgstr ""
  5335. #. type: enumerate
  5336. #: guix-git/doc/guix.texi:1510
  5337. 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."
  5338. msgstr ""
  5339. #. type: enumerate
  5340. #: guix-git/doc/guix.texi:1515
  5341. 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."
  5342. msgstr ""
  5343. #. type: enumerate
  5344. #: guix-git/doc/guix.texi:1523
  5345. 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."
  5346. msgstr ""
  5347. #. type: section
  5348. #: guix-git/doc/guix.texi:1526
  5349. #, no-wrap
  5350. msgid "Invoking @command{guix-daemon}"
  5351. msgstr ""
  5352. #. type: Plain text
  5353. #: guix-git/doc/guix.texi:1532
  5354. 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:"
  5355. msgstr ""
  5356. #. type: Plain text
  5357. #: guix-git/doc/guix.texi:1539
  5358. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5359. msgstr ""
  5360. #. type: cindex
  5361. #: guix-git/doc/guix.texi:1541
  5362. #, no-wrap
  5363. msgid "container, build environment"
  5364. msgstr ""
  5365. #. type: cindex
  5366. #: guix-git/doc/guix.texi:1543 guix-git/doc/guix.texi:3071
  5367. #: guix-git/doc/guix.texi:3988 guix-git/doc/guix.texi:13753
  5368. #, no-wrap
  5369. msgid "reproducible builds"
  5370. msgstr ""
  5371. #. type: Plain text
  5372. #: guix-git/doc/guix.texi:1555
  5373. 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})."
  5374. msgstr ""
  5375. #. type: Plain text
  5376. #: guix-git/doc/guix.texi:1561
  5377. 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}."
  5378. msgstr ""
  5379. #. type: Plain text
  5380. #: guix-git/doc/guix.texi:1565
  5381. 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}})."
  5382. msgstr ""
  5383. #. type: Plain text
  5384. #: guix-git/doc/guix.texi:1571
  5385. 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."
  5386. msgstr ""
  5387. #. type: Plain text
  5388. #: guix-git/doc/guix.texi:1573
  5389. msgid "The following command-line options are supported:"
  5390. msgstr ""
  5391. #. type: item
  5392. #: guix-git/doc/guix.texi:1575
  5393. #, no-wrap
  5394. msgid "--build-users-group=@var{group}"
  5395. msgstr ""
  5396. #. type: table
  5397. #: guix-git/doc/guix.texi:1578
  5398. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5399. msgstr ""
  5400. #. type: item
  5401. #: guix-git/doc/guix.texi:1579 guix-git/doc/guix.texi:10915
  5402. #, no-wrap
  5403. msgid "--no-substitutes"
  5404. msgstr ""
  5405. #. type: cindex
  5406. #: guix-git/doc/guix.texi:1580 guix-git/doc/guix.texi:3083
  5407. #: guix-git/doc/guix.texi:3741
  5408. #, no-wrap
  5409. msgid "substitutes"
  5410. msgstr ""
  5411. #. type: table
  5412. #: guix-git/doc/guix.texi:1584 guix-git/doc/guix.texi:10919
  5413. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5414. msgstr ""
  5415. #. type: table
  5416. #: guix-git/doc/guix.texi:1588
  5417. 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})."
  5418. msgstr ""
  5419. #. type: anchor{#1}
  5420. #: guix-git/doc/guix.texi:1590
  5421. msgid "daemon-substitute-urls"
  5422. msgstr ""
  5423. #. type: item
  5424. #: guix-git/doc/guix.texi:1590 guix-git/doc/guix.texi:10902
  5425. #: guix-git/doc/guix.texi:13160 guix-git/doc/guix.texi:13899
  5426. #: guix-git/doc/guix.texi:14124
  5427. #, no-wrap
  5428. msgid "--substitute-urls=@var{urls}"
  5429. msgstr ""
  5430. #. type: table
  5431. #: guix-git/doc/guix.texi:1594
  5432. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5433. msgstr ""
  5434. #. type: table
  5435. #: guix-git/doc/guix.texi:1597
  5436. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5437. msgstr ""
  5438. #. type: table
  5439. #: guix-git/doc/guix.texi:1600
  5440. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5441. msgstr ""
  5442. #. type: item
  5443. #: guix-git/doc/guix.texi:1602 guix-git/doc/guix.texi:10938
  5444. #, no-wrap
  5445. msgid "--no-offload"
  5446. msgstr ""
  5447. #. type: table
  5448. #: guix-git/doc/guix.texi:1606 guix-git/doc/guix.texi:10942
  5449. 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."
  5450. msgstr ""
  5451. #. type: item
  5452. #: guix-git/doc/guix.texi:1607
  5453. #, no-wrap
  5454. msgid "--cache-failures"
  5455. msgstr ""
  5456. #. type: table
  5457. #: guix-git/doc/guix.texi:1609
  5458. msgid "Cache build failures. By default, only successful builds are cached."
  5459. msgstr ""
  5460. #. type: table
  5461. #: guix-git/doc/guix.texi:1614
  5462. 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}."
  5463. msgstr ""
  5464. #. type: item
  5465. #: guix-git/doc/guix.texi:1615 guix-git/doc/guix.texi:10968
  5466. #, no-wrap
  5467. msgid "--cores=@var{n}"
  5468. msgstr ""
  5469. #. type: itemx
  5470. #: guix-git/doc/guix.texi:1616 guix-git/doc/guix.texi:10969
  5471. #, no-wrap
  5472. msgid "-c @var{n}"
  5473. msgstr ""
  5474. #. type: table
  5475. #: guix-git/doc/guix.texi:1619
  5476. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5477. msgstr ""
  5478. #. type: table
  5479. #: guix-git/doc/guix.texi:1623
  5480. 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})."
  5481. msgstr ""
  5482. #. type: table
  5483. #: guix-git/doc/guix.texi:1627
  5484. 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}."
  5485. msgstr ""
  5486. #. type: item
  5487. #: guix-git/doc/guix.texi:1628 guix-git/doc/guix.texi:10973
  5488. #, no-wrap
  5489. msgid "--max-jobs=@var{n}"
  5490. msgstr ""
  5491. #. type: itemx
  5492. #: guix-git/doc/guix.texi:1629 guix-git/doc/guix.texi:10974
  5493. #, no-wrap
  5494. msgid "-M @var{n}"
  5495. msgstr ""
  5496. #. type: table
  5497. #: guix-git/doc/guix.texi:1634
  5498. 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."
  5499. msgstr ""
  5500. #. type: item
  5501. #: guix-git/doc/guix.texi:1635 guix-git/doc/guix.texi:10943
  5502. #, no-wrap
  5503. msgid "--max-silent-time=@var{seconds}"
  5504. msgstr ""
  5505. #. type: table
  5506. #: guix-git/doc/guix.texi:1638 guix-git/doc/guix.texi:10946
  5507. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5508. msgstr ""
  5509. #. type: table
  5510. #: guix-git/doc/guix.texi:1640 guix-git/doc/guix.texi:1649
  5511. msgid "The default value is @code{0}, which disables the timeout."
  5512. msgstr ""
  5513. #. type: table
  5514. #: guix-git/doc/guix.texi:1643
  5515. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5516. msgstr ""
  5517. #. type: item
  5518. #: guix-git/doc/guix.texi:1644 guix-git/doc/guix.texi:10950
  5519. #, no-wrap
  5520. msgid "--timeout=@var{seconds}"
  5521. msgstr ""
  5522. #. type: table
  5523. #: guix-git/doc/guix.texi:1647 guix-git/doc/guix.texi:10953
  5524. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5525. msgstr ""
  5526. #. type: table
  5527. #: guix-git/doc/guix.texi:1652
  5528. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5529. msgstr ""
  5530. #. type: item
  5531. #: guix-git/doc/guix.texi:1653
  5532. #, no-wrap
  5533. msgid "--rounds=@var{N}"
  5534. msgstr ""
  5535. #. type: table
  5536. #: guix-git/doc/guix.texi:1658
  5537. 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})."
  5538. msgstr ""
  5539. #. type: table
  5540. #: guix-git/doc/guix.texi:1662 guix-git/doc/guix.texi:10937
  5541. #: guix-git/doc/guix.texi:11561
  5542. 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."
  5543. msgstr ""
  5544. #. type: item
  5545. #: guix-git/doc/guix.texi:1663
  5546. #, no-wrap
  5547. msgid "--debug"
  5548. msgstr ""
  5549. #. type: table
  5550. #: guix-git/doc/guix.texi:1665
  5551. msgid "Produce debugging output."
  5552. msgstr ""
  5553. #. type: table
  5554. #: guix-git/doc/guix.texi:1669
  5555. 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})."
  5556. msgstr ""
  5557. #. type: item
  5558. #: guix-git/doc/guix.texi:1670
  5559. #, no-wrap
  5560. msgid "--chroot-directory=@var{dir}"
  5561. msgstr ""
  5562. #. type: table
  5563. #: guix-git/doc/guix.texi:1672
  5564. msgid "Add @var{dir} to the build chroot."
  5565. msgstr ""
  5566. #. type: table
  5567. #: guix-git/doc/guix.texi:1678
  5568. 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."
  5569. msgstr ""
  5570. #. type: item
  5571. #: guix-git/doc/guix.texi:1679
  5572. #, no-wrap
  5573. msgid "--disable-chroot"
  5574. msgstr ""
  5575. #. type: table
  5576. #: guix-git/doc/guix.texi:1681
  5577. msgid "Disable chroot builds."
  5578. msgstr ""
  5579. #. type: table
  5580. #: guix-git/doc/guix.texi:1686
  5581. 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."
  5582. msgstr ""
  5583. #. type: item
  5584. #: guix-git/doc/guix.texi:1687
  5585. #, no-wrap
  5586. msgid "--log-compression=@var{type}"
  5587. msgstr ""
  5588. #. type: table
  5589. #: guix-git/doc/guix.texi:1690
  5590. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5591. msgstr ""
  5592. #. type: table
  5593. #: guix-git/doc/guix.texi:1694
  5594. 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."
  5595. msgstr ""
  5596. #. type: item
  5597. #: guix-git/doc/guix.texi:1695
  5598. #, no-wrap
  5599. msgid "--discover[=yes|no]"
  5600. msgstr ""
  5601. #. type: table
  5602. #: guix-git/doc/guix.texi:1698 guix-git/doc/guix.texi:16563
  5603. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5604. msgstr ""
  5605. #. type: table
  5606. #: guix-git/doc/guix.texi:1701
  5607. msgid "This feature is still experimental. However, here are a few considerations."
  5608. msgstr ""
  5609. #. type: enumerate
  5610. #: guix-git/doc/guix.texi:1705
  5611. msgid "It might be faster/less expensive than fetching from remote servers;"
  5612. msgstr ""
  5613. #. type: enumerate
  5614. #: guix-git/doc/guix.texi:1708
  5615. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5616. msgstr ""
  5617. #. type: enumerate
  5618. #: guix-git/doc/guix.texi:1712
  5619. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5620. msgstr ""
  5621. #. type: enumerate
  5622. #: guix-git/doc/guix.texi:1715
  5623. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5624. msgstr ""
  5625. #. type: table
  5626. #: guix-git/doc/guix.texi:1719
  5627. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5628. msgstr ""
  5629. #. type: example
  5630. #: guix-git/doc/guix.texi:1723
  5631. #, no-wrap
  5632. msgid ""
  5633. "herd discover guix-daemon on\n"
  5634. "herd discover guix-daemon off\n"
  5635. msgstr ""
  5636. #. type: item
  5637. #: guix-git/doc/guix.texi:1725
  5638. #, no-wrap
  5639. msgid "--disable-deduplication"
  5640. msgstr ""
  5641. #. type: cindex
  5642. #: guix-git/doc/guix.texi:1726 guix-git/doc/guix.texi:4326
  5643. #, no-wrap
  5644. msgid "deduplication"
  5645. msgstr ""
  5646. #. type: table
  5647. #: guix-git/doc/guix.texi:1728
  5648. msgid "Disable automatic file ``deduplication'' in the store."
  5649. msgstr ""
  5650. #. type: table
  5651. #: guix-git/doc/guix.texi:1735
  5652. 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."
  5653. msgstr ""
  5654. #. type: item
  5655. #: guix-git/doc/guix.texi:1736
  5656. #, no-wrap
  5657. msgid "--gc-keep-outputs[=yes|no]"
  5658. msgstr ""
  5659. #. type: table
  5660. #: guix-git/doc/guix.texi:1739
  5661. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5662. msgstr ""
  5663. #. type: cindex
  5664. #: guix-git/doc/guix.texi:1740 guix-git/doc/guix.texi:4139
  5665. #, no-wrap
  5666. msgid "GC roots"
  5667. msgstr ""
  5668. #. type: cindex
  5669. #: guix-git/doc/guix.texi:1741 guix-git/doc/guix.texi:4140
  5670. #, no-wrap
  5671. msgid "garbage collector roots"
  5672. msgstr ""
  5673. #. type: table
  5674. #: guix-git/doc/guix.texi:1747
  5675. 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."
  5676. msgstr ""
  5677. #. type: item
  5678. #: guix-git/doc/guix.texi:1748
  5679. #, no-wrap
  5680. msgid "--gc-keep-derivations[=yes|no]"
  5681. msgstr ""
  5682. #. type: table
  5683. #: guix-git/doc/guix.texi:1751
  5684. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5685. msgstr ""
  5686. #. type: table
  5687. #: guix-git/doc/guix.texi:1757
  5688. 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."
  5689. msgstr ""
  5690. #. type: table
  5691. #: guix-git/doc/guix.texi:1766
  5692. 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."
  5693. msgstr ""
  5694. #. type: item
  5695. #: guix-git/doc/guix.texi:1767
  5696. #, no-wrap
  5697. msgid "--impersonate-linux-2.6"
  5698. msgstr ""
  5699. #. type: table
  5700. #: guix-git/doc/guix.texi:1770
  5701. 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."
  5702. msgstr ""
  5703. #. type: table
  5704. #: guix-git/doc/guix.texi:1773
  5705. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5706. msgstr ""
  5707. #. type: item
  5708. #: guix-git/doc/guix.texi:1774
  5709. #, no-wrap
  5710. msgid "--lose-logs"
  5711. msgstr ""
  5712. #. type: table
  5713. #: guix-git/doc/guix.texi:1777
  5714. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5715. msgstr ""
  5716. #. type: item
  5717. #: guix-git/doc/guix.texi:1778 guix-git/doc/guix.texi:4567
  5718. #: guix-git/doc/guix.texi:5846 guix-git/doc/guix.texi:6229
  5719. #: guix-git/doc/guix.texi:6629 guix-git/doc/guix.texi:11505
  5720. #: guix-git/doc/guix.texi:13187 guix-git/doc/guix.texi:13452
  5721. #: guix-git/doc/guix.texi:14129 guix-git/doc/guix.texi:34442
  5722. #: guix-git/doc/guix.texi:35251
  5723. #, no-wrap
  5724. msgid "--system=@var{system}"
  5725. msgstr ""
  5726. #. type: table
  5727. #: guix-git/doc/guix.texi:1782
  5728. 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}."
  5729. msgstr ""
  5730. #. type: item
  5731. #: guix-git/doc/guix.texi:1783 guix-git/doc/guix.texi:10747
  5732. #, no-wrap
  5733. msgid "--listen=@var{endpoint}"
  5734. msgstr ""
  5735. #. type: table
  5736. #: guix-git/doc/guix.texi:1788
  5737. 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:"
  5738. msgstr ""
  5739. #. type: item
  5740. #: guix-git/doc/guix.texi:1790
  5741. #, no-wrap
  5742. msgid "--listen=/gnu/var/daemon"
  5743. msgstr ""
  5744. #. type: table
  5745. #: guix-git/doc/guix.texi:1793
  5746. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5747. msgstr ""
  5748. #. type: item
  5749. #: guix-git/doc/guix.texi:1794
  5750. #, no-wrap
  5751. msgid "--listen=localhost"
  5752. msgstr ""
  5753. #. type: cindex
  5754. #: guix-git/doc/guix.texi:1795 guix-git/doc/guix.texi:9421
  5755. #, no-wrap
  5756. msgid "daemon, remote access"
  5757. msgstr ""
  5758. #. type: cindex
  5759. #: guix-git/doc/guix.texi:1796 guix-git/doc/guix.texi:9422
  5760. #, no-wrap
  5761. msgid "remote access to the daemon"
  5762. msgstr ""
  5763. #. type: cindex
  5764. #: guix-git/doc/guix.texi:1797 guix-git/doc/guix.texi:9423
  5765. #, no-wrap
  5766. msgid "daemon, cluster setup"
  5767. msgstr ""
  5768. #. type: cindex
  5769. #: guix-git/doc/guix.texi:1798 guix-git/doc/guix.texi:9424
  5770. #, no-wrap
  5771. msgid "clusters, daemon setup"
  5772. msgstr ""
  5773. #. type: table
  5774. #: guix-git/doc/guix.texi:1801
  5775. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5776. msgstr ""
  5777. #. type: item
  5778. #: guix-git/doc/guix.texi:1802
  5779. #, no-wrap
  5780. msgid "--listen=128.0.0.42:1234"
  5781. msgstr ""
  5782. #. type: table
  5783. #: guix-git/doc/guix.texi:1805
  5784. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5785. msgstr ""
  5786. #. type: table
  5787. #: guix-git/doc/guix.texi:1812
  5788. 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}})."
  5789. msgstr ""
  5790. #. type: quotation
  5791. #: guix-git/doc/guix.texi:1819
  5792. 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."
  5793. msgstr ""
  5794. #. type: table
  5795. #: guix-git/doc/guix.texi:1824
  5796. 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}."
  5797. msgstr ""
  5798. #. type: Plain text
  5799. #: guix-git/doc/guix.texi:1834
  5800. 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."
  5801. msgstr ""
  5802. #. type: anchor{#1}
  5803. #: guix-git/doc/guix.texi:1838
  5804. msgid "locales-and-locpath"
  5805. msgstr ""
  5806. #. type: cindex
  5807. #: guix-git/doc/guix.texi:1838
  5808. #, no-wrap
  5809. msgid "locales, when not on Guix System"
  5810. msgstr ""
  5811. #. type: vindex
  5812. #: guix-git/doc/guix.texi:1839 guix-git/doc/guix.texi:15770
  5813. #, no-wrap
  5814. msgid "LOCPATH"
  5815. msgstr ""
  5816. #. type: vindex
  5817. #: guix-git/doc/guix.texi:1840
  5818. #, no-wrap
  5819. msgid "GUIX_LOCPATH"
  5820. msgstr ""
  5821. #. type: Plain text
  5822. #: guix-git/doc/guix.texi:1845
  5823. 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:"
  5824. msgstr ""
  5825. #. type: example
  5826. #: guix-git/doc/guix.texi:1849
  5827. #, no-wrap
  5828. msgid ""
  5829. "$ guix install glibc-locales\n"
  5830. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5831. msgstr ""
  5832. #. type: Plain text
  5833. #: guix-git/doc/guix.texi:1855
  5834. 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."
  5835. msgstr ""
  5836. #. type: Plain text
  5837. #: guix-git/doc/guix.texi:1859
  5838. 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:"
  5839. msgstr ""
  5840. #. type: enumerate
  5841. #: guix-git/doc/guix.texi:1866
  5842. 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."
  5843. msgstr ""
  5844. #. type: enumerate
  5845. #: guix-git/doc/guix.texi:1873
  5846. 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."
  5847. msgstr ""
  5848. #. type: Plain text
  5849. #: guix-git/doc/guix.texi:1877
  5850. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5851. msgstr ""
  5852. #. type: cindex
  5853. #: guix-git/doc/guix.texi:1880
  5854. #, no-wrap
  5855. msgid "name service switch, glibc"
  5856. msgstr ""
  5857. #. type: cindex
  5858. #: guix-git/doc/guix.texi:1881
  5859. #, no-wrap
  5860. msgid "NSS (name service switch), glibc"
  5861. msgstr ""
  5862. #. type: cindex
  5863. #: guix-git/doc/guix.texi:1882
  5864. #, no-wrap
  5865. msgid "nscd (name service caching daemon)"
  5866. msgstr ""
  5867. #. type: cindex
  5868. #: guix-git/doc/guix.texi:1883
  5869. #, no-wrap
  5870. msgid "name service caching daemon (nscd)"
  5871. msgstr ""
  5872. #. type: Plain text
  5873. #: guix-git/doc/guix.texi:1890
  5874. 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."
  5875. msgstr ""
  5876. #. type: file{#1}
  5877. #: guix-git/doc/guix.texi:1891
  5878. #, no-wrap
  5879. msgid "nsswitch.conf"
  5880. msgstr ""
  5881. #. type: Plain text
  5882. #: guix-git/doc/guix.texi:1896
  5883. 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})."
  5884. msgstr ""
  5885. #. type: cindex
  5886. #: guix-git/doc/guix.texi:1897
  5887. #, no-wrap
  5888. msgid "Network information service (NIS)"
  5889. msgstr ""
  5890. #. type: cindex
  5891. #: guix-git/doc/guix.texi:1898
  5892. #, no-wrap
  5893. msgid "NIS (Network information service)"
  5894. msgstr ""
  5895. #. type: Plain text
  5896. #: guix-git/doc/guix.texi:1907
  5897. 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})."
  5898. msgstr ""
  5899. #. type: Plain text
  5900. #: guix-git/doc/guix.texi:1917
  5901. 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)."
  5902. msgstr ""
  5903. #. type: Plain text
  5904. #: guix-git/doc/guix.texi:1922
  5905. 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."
  5906. msgstr ""
  5907. #. type: Plain text
  5908. #: guix-git/doc/guix.texi:1927
  5909. 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."
  5910. msgstr ""
  5911. #. type: subsection
  5912. #: guix-git/doc/guix.texi:1928
  5913. #, no-wrap
  5914. msgid "X11 Fonts"
  5915. msgstr ""
  5916. #. type: Plain text
  5917. #: guix-git/doc/guix.texi:1938
  5918. msgid "The majority of graphical applications use Fontconfig to locate and load fonts and perform X11-client-side rendering. The @code{fontconfig} package in Guix looks for fonts in @file{$HOME/.guix-profile} by default. Thus, to allow graphical applications installed with Guix to display fonts, you have to install fonts with Guix as well. Essential font packages include @code{font-ghostscript}, @code{font-dejavu}, and @code{font-gnu-freefont}."
  5919. msgstr ""
  5920. #. type: code{#1}
  5921. #: guix-git/doc/guix.texi:1939
  5922. #, no-wrap
  5923. msgid "fc-cache"
  5924. msgstr ""
  5925. #. type: cindex
  5926. #: guix-git/doc/guix.texi:1940
  5927. #, no-wrap
  5928. msgid "font cache"
  5929. msgstr ""
  5930. #. type: Plain text
  5931. #: guix-git/doc/guix.texi:1944
  5932. 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:"
  5933. msgstr ""
  5934. #. type: example
  5935. #: guix-git/doc/guix.texi:1948
  5936. #, no-wrap
  5937. msgid ""
  5938. "guix install fontconfig\n"
  5939. "fc-cache -rv\n"
  5940. msgstr ""
  5941. #. type: Plain text
  5942. #: guix-git/doc/guix.texi:1956
  5943. 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:"
  5944. msgstr ""
  5945. #. type: example
  5946. #: guix-git/doc/guix.texi:1959
  5947. #, no-wrap
  5948. msgid "guix install font-adobe-source-han-sans:cn\n"
  5949. msgstr ""
  5950. #. type: code{#1}
  5951. #: guix-git/doc/guix.texi:1961
  5952. #, no-wrap
  5953. msgid "xterm"
  5954. msgstr ""
  5955. #. type: Plain text
  5956. #: guix-git/doc/guix.texi:1965
  5957. 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:"
  5958. msgstr ""
  5959. #. type: example
  5960. #: guix-git/doc/guix.texi:1968
  5961. #, no-wrap
  5962. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  5963. msgstr ""
  5964. #. type: Plain text
  5965. #: guix-git/doc/guix.texi:1972
  5966. 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:"
  5967. msgstr ""
  5968. #. type: example
  5969. #: guix-git/doc/guix.texi:1977
  5970. #, no-wrap
  5971. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  5972. msgstr ""
  5973. #. type: code{#1}
  5974. #: guix-git/doc/guix.texi:1979
  5975. #, no-wrap
  5976. msgid "xlsfonts"
  5977. msgstr ""
  5978. #. type: Plain text
  5979. #: guix-git/doc/guix.texi:1982
  5980. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  5981. msgstr ""
  5982. #. type: code{#1}
  5983. #: guix-git/doc/guix.texi:1986 guix-git/doc/guix.texi:34161
  5984. #, no-wrap
  5985. msgid "nss-certs"
  5986. msgstr ""
  5987. #. type: Plain text
  5988. #: guix-git/doc/guix.texi:1989
  5989. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  5990. msgstr ""
  5991. #. type: Plain text
  5992. #: guix-git/doc/guix.texi:1994
  5993. 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."
  5994. msgstr ""
  5995. #. type: code{#1}
  5996. #: guix-git/doc/guix.texi:1997
  5997. #, no-wrap
  5998. msgid "emacs"
  5999. msgstr ""
  6000. #. type: Plain text
  6001. #: guix-git/doc/guix.texi:2003
  6002. 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."
  6003. msgstr ""
  6004. #. type: Plain text
  6005. #: guix-git/doc/guix.texi:2010
  6006. 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})."
  6007. msgstr ""
  6008. #. type: cindex
  6009. #: guix-git/doc/guix.texi:2015
  6010. #, no-wrap
  6011. msgid "Upgrading Guix, on a foreign distro"
  6012. msgstr ""
  6013. #. type: Plain text
  6014. #: guix-git/doc/guix.texi:2018
  6015. msgid "To upgrade Guix, run:"
  6016. msgstr ""
  6017. #. type: example
  6018. #: guix-git/doc/guix.texi:2021 guix-git/doc/guix.texi:2879
  6019. #, no-wrap
  6020. msgid "guix pull\n"
  6021. msgstr ""
  6022. #. type: Plain text
  6023. #: guix-git/doc/guix.texi:2024
  6024. msgid "@xref{Invoking guix pull}, for more information."
  6025. msgstr ""
  6026. #. type: cindex
  6027. #: guix-git/doc/guix.texi:2025
  6028. #, no-wrap
  6029. msgid "upgrading Guix for the root user, on a foreign distro"
  6030. msgstr ""
  6031. #. type: cindex
  6032. #: guix-git/doc/guix.texi:2026
  6033. #, no-wrap
  6034. msgid "upgrading the Guix daemon, on a foreign distro"
  6035. msgstr ""
  6036. #. type: cindex
  6037. #: guix-git/doc/guix.texi:2027
  6038. #, no-wrap
  6039. msgid "@command{guix pull} for the root user, on a foreign distro"
  6040. msgstr ""
  6041. #. type: Plain text
  6042. #: guix-git/doc/guix.texi:2030
  6043. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  6044. msgstr ""
  6045. #. type: example
  6046. #: guix-git/doc/guix.texi:2033
  6047. #, no-wrap
  6048. msgid "sudo -i guix pull\n"
  6049. msgstr ""
  6050. #. type: Plain text
  6051. #: guix-git/doc/guix.texi:2038
  6052. msgid "followed by (assuming your distro uses the systemd service management tool):"
  6053. msgstr ""
  6054. #. type: example
  6055. #: guix-git/doc/guix.texi:2041
  6056. #, no-wrap
  6057. msgid "systemctl restart guix-daemon.service\n"
  6058. msgstr ""
  6059. #. type: Plain text
  6060. #: guix-git/doc/guix.texi:2045
  6061. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  6062. msgstr ""
  6063. #. type: cindex
  6064. #: guix-git/doc/guix.texi:2052
  6065. #, no-wrap
  6066. msgid "installing Guix System"
  6067. msgstr ""
  6068. #. type: cindex
  6069. #: guix-git/doc/guix.texi:2053
  6070. #, no-wrap
  6071. msgid "Guix System, installation"
  6072. msgstr ""
  6073. #. type: Plain text
  6074. #: guix-git/doc/guix.texi:2058
  6075. 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}."
  6076. msgstr ""
  6077. #. type: quotation
  6078. #: guix-git/doc/guix.texi:2067
  6079. 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."
  6080. msgstr ""
  6081. #. type: quotation
  6082. #: guix-git/doc/guix.texi:2070
  6083. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  6084. msgstr ""
  6085. #. type: Plain text
  6086. #: guix-git/doc/guix.texi:2091
  6087. 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."
  6088. msgstr ""
  6089. #. type: Plain text
  6090. #: guix-git/doc/guix.texi:2094
  6091. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  6092. msgstr ""
  6093. #. type: itemize
  6094. #: guix-git/doc/guix.texi:2099
  6095. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  6096. msgstr ""
  6097. #. type: itemize
  6098. #: guix-git/doc/guix.texi:2104
  6099. 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."
  6100. msgstr ""
  6101. #. type: Plain text
  6102. #: guix-git/doc/guix.texi:2109
  6103. 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."
  6104. msgstr ""
  6105. #. type: cindex
  6106. #: guix-git/doc/guix.texi:2114
  6107. #, no-wrap
  6108. msgid "hardware support on Guix System"
  6109. msgstr ""
  6110. #. type: Plain text
  6111. #: guix-git/doc/guix.texi:2123
  6112. 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."
  6113. msgstr ""
  6114. #. type: cindex
  6115. #: guix-git/doc/guix.texi:2124
  6116. #, no-wrap
  6117. msgid "WiFi, hardware support"
  6118. msgstr ""
  6119. #. type: Plain text
  6120. #: guix-git/doc/guix.texi:2133
  6121. 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}})."
  6122. msgstr ""
  6123. #. type: cindex
  6124. #: guix-git/doc/guix.texi:2134
  6125. #, no-wrap
  6126. msgid "RYF, Respects Your Freedom"
  6127. msgstr ""
  6128. #. type: Plain text
  6129. #: guix-git/doc/guix.texi:2140
  6130. 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."
  6131. msgstr ""
  6132. #. type: Plain text
  6133. #: guix-git/doc/guix.texi:2144
  6134. 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."
  6135. msgstr ""
  6136. #. type: Plain text
  6137. #: guix-git/doc/guix.texi:2153
  6138. 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:"
  6139. msgstr ""
  6140. #. type: table
  6141. #: guix-git/doc/guix.texi:2157
  6142. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  6143. msgstr ""
  6144. #. type: table
  6145. #: guix-git/doc/guix.texi:2160
  6146. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  6147. msgstr ""
  6148. #. type: Plain text
  6149. #: guix-git/doc/guix.texi:2165
  6150. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  6151. msgstr ""
  6152. #. type: example
  6153. #: guix-git/doc/guix.texi:2169
  6154. #, no-wrap
  6155. msgid ""
  6156. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6157. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6158. msgstr ""
  6159. #. type: example
  6160. #: guix-git/doc/guix.texi:2177
  6161. #, no-wrap
  6162. msgid ""
  6163. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  6164. " -qO - | gpg --import -\n"
  6165. msgstr ""
  6166. #. type: Plain text
  6167. #: guix-git/doc/guix.texi:2189
  6168. 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."
  6169. msgstr ""
  6170. #. type: unnumberedsubsec
  6171. #: guix-git/doc/guix.texi:2190
  6172. #, no-wrap
  6173. msgid "Copying to a USB Stick"
  6174. msgstr ""
  6175. #. type: Plain text
  6176. #: guix-git/doc/guix.texi:2195
  6177. 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:"
  6178. msgstr ""
  6179. #. type: example
  6180. #: guix-git/doc/guix.texi:2199
  6181. #, no-wrap
  6182. msgid ""
  6183. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6184. "sync\n"
  6185. msgstr ""
  6186. #. type: Plain text
  6187. #: guix-git/doc/guix.texi:2202
  6188. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6189. msgstr ""
  6190. #. type: unnumberedsubsec
  6191. #: guix-git/doc/guix.texi:2203
  6192. #, no-wrap
  6193. msgid "Burning on a DVD"
  6194. msgstr ""
  6195. #. type: Plain text
  6196. #: guix-git/doc/guix.texi:2208
  6197. 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:"
  6198. msgstr ""
  6199. #. type: example
  6200. #: guix-git/doc/guix.texi:2211
  6201. #, no-wrap
  6202. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6203. msgstr ""
  6204. #. type: Plain text
  6205. #: guix-git/doc/guix.texi:2214
  6206. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6207. msgstr ""
  6208. #. type: unnumberedsubsec
  6209. #: guix-git/doc/guix.texi:2215
  6210. #, no-wrap
  6211. msgid "Booting"
  6212. msgstr ""
  6213. #. type: Plain text
  6214. #: guix-git/doc/guix.texi:2222
  6215. 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}."
  6216. msgstr ""
  6217. #. type: Plain text
  6218. #: guix-git/doc/guix.texi:2225
  6219. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6220. msgstr ""
  6221. #. type: Plain text
  6222. #: guix-git/doc/guix.texi:2235
  6223. 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})."
  6224. msgstr ""
  6225. #. type: Plain text
  6226. #: guix-git/doc/guix.texi:2243
  6227. 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."
  6228. msgstr ""
  6229. #. type: quotation
  6230. #: guix-git/doc/guix.texi:2248
  6231. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6232. msgstr ""
  6233. #. type: Plain text
  6234. #: guix-git/doc/guix.texi:2255
  6235. 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."
  6236. msgstr ""
  6237. #. type: Plain text
  6238. #: guix-git/doc/guix.texi:2260
  6239. 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."
  6240. msgstr ""
  6241. #. type: Plain text
  6242. #: guix-git/doc/guix.texi:2262
  6243. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6244. msgstr ""
  6245. #. type: Plain text
  6246. #: guix-git/doc/guix.texi:2267
  6247. 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."
  6248. msgstr ""
  6249. #. type: Plain text
  6250. #: guix-git/doc/guix.texi:2269
  6251. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6252. msgstr ""
  6253. #. type: Plain text
  6254. #: guix-git/doc/guix.texi:2272
  6255. 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."
  6256. msgstr ""
  6257. #. type: Plain text
  6258. #: guix-git/doc/guix.texi:2274
  6259. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6260. msgstr ""
  6261. #. type: Plain text
  6262. #: guix-git/doc/guix.texi:2279
  6263. 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!"
  6264. msgstr ""
  6265. #. type: Plain text
  6266. #: guix-git/doc/guix.texi:2289
  6267. 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})."
  6268. msgstr ""
  6269. #. type: Plain text
  6270. #: guix-git/doc/guix.texi:2295
  6271. 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})."
  6272. msgstr ""
  6273. #. type: subsection
  6274. #: guix-git/doc/guix.texi:2302
  6275. #, no-wrap
  6276. msgid "Keyboard Layout, Networking, and Partitioning"
  6277. msgstr ""
  6278. #. type: Plain text
  6279. #: guix-git/doc/guix.texi:2307
  6280. 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."
  6281. msgstr ""
  6282. #. type: cindex
  6283. #: guix-git/doc/guix.texi:2310 guix-git/doc/guix.texi:15584
  6284. #, no-wrap
  6285. msgid "keyboard layout"
  6286. msgstr ""
  6287. #. type: Plain text
  6288. #: guix-git/doc/guix.texi:2314
  6289. 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:"
  6290. msgstr ""
  6291. #. type: example
  6292. #: guix-git/doc/guix.texi:2317
  6293. #, no-wrap
  6294. msgid "loadkeys dvorak\n"
  6295. msgstr ""
  6296. #. type: Plain text
  6297. #: guix-git/doc/guix.texi:2322
  6298. 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."
  6299. msgstr ""
  6300. #. type: subsubsection
  6301. #: guix-git/doc/guix.texi:2323
  6302. #, no-wrap
  6303. msgid "Networking"
  6304. msgstr ""
  6305. #. type: Plain text
  6306. #: guix-git/doc/guix.texi:2326
  6307. msgid "Run the following command to see what your network interfaces are called:"
  6308. msgstr ""
  6309. #. type: example
  6310. #: guix-git/doc/guix.texi:2329
  6311. #, no-wrap
  6312. msgid "ifconfig -a\n"
  6313. msgstr ""
  6314. #. type: table
  6315. #: guix-git/doc/guix.texi:2333 guix-git/doc/guix.texi:2355
  6316. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6317. msgstr ""
  6318. #. type: example
  6319. #: guix-git/doc/guix.texi:2336
  6320. #, no-wrap
  6321. msgid "ip address\n"
  6322. msgstr ""
  6323. #. type: Plain text
  6324. #: guix-git/doc/guix.texi:2343
  6325. 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}."
  6326. msgstr ""
  6327. #. type: item
  6328. #: guix-git/doc/guix.texi:2345
  6329. #, no-wrap
  6330. msgid "Wired connection"
  6331. msgstr ""
  6332. #. type: table
  6333. #: guix-git/doc/guix.texi:2348
  6334. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6335. msgstr ""
  6336. #. type: example
  6337. #: guix-git/doc/guix.texi:2351
  6338. #, no-wrap
  6339. msgid "ifconfig @var{interface} up\n"
  6340. msgstr ""
  6341. #. type: example
  6342. #: guix-git/doc/guix.texi:2358
  6343. #, no-wrap
  6344. msgid "ip link set @var{interface} up\n"
  6345. msgstr ""
  6346. #. type: item
  6347. #: guix-git/doc/guix.texi:2360
  6348. #, no-wrap
  6349. msgid "Wireless connection"
  6350. msgstr ""
  6351. #. type: cindex
  6352. #: guix-git/doc/guix.texi:2361 guix-git/doc/guix.texi:17484
  6353. #, no-wrap
  6354. msgid "wireless"
  6355. msgstr ""
  6356. #. type: cindex
  6357. #: guix-git/doc/guix.texi:2362 guix-git/doc/guix.texi:17485
  6358. #, no-wrap
  6359. msgid "WiFi"
  6360. msgstr ""
  6361. #. type: table
  6362. #: guix-git/doc/guix.texi:2367
  6363. 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}:"
  6364. msgstr ""
  6365. #. type: example
  6366. #: guix-git/doc/guix.texi:2370
  6367. #, no-wrap
  6368. msgid "nano wpa_supplicant.conf\n"
  6369. msgstr ""
  6370. #. type: table
  6371. #: guix-git/doc/guix.texi:2375
  6372. 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:"
  6373. msgstr ""
  6374. #. type: example
  6375. #: guix-git/doc/guix.texi:2382
  6376. #, no-wrap
  6377. msgid ""
  6378. "network=@{\n"
  6379. " ssid=\"@var{my-ssid}\"\n"
  6380. " key_mgmt=WPA-PSK\n"
  6381. " psk=\"the network's secret passphrase\"\n"
  6382. "@}\n"
  6383. msgstr ""
  6384. #. type: table
  6385. #: guix-git/doc/guix.texi:2387
  6386. 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):"
  6387. msgstr ""
  6388. #. type: example
  6389. #: guix-git/doc/guix.texi:2390
  6390. #, no-wrap
  6391. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6392. msgstr ""
  6393. #. type: table
  6394. #: guix-git/doc/guix.texi:2393
  6395. msgid "Run @command{man wpa_supplicant} for more information."
  6396. msgstr ""
  6397. #. type: cindex
  6398. #: guix-git/doc/guix.texi:2395
  6399. #, no-wrap
  6400. msgid "DHCP"
  6401. msgstr ""
  6402. #. type: Plain text
  6403. #: guix-git/doc/guix.texi:2398
  6404. 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:"
  6405. msgstr ""
  6406. #. type: example
  6407. #: guix-git/doc/guix.texi:2401
  6408. #, no-wrap
  6409. msgid "dhclient -v @var{interface}\n"
  6410. msgstr ""
  6411. #. type: Plain text
  6412. #: guix-git/doc/guix.texi:2404
  6413. msgid "Try to ping a server to see if networking is up and running:"
  6414. msgstr ""
  6415. #. type: example
  6416. #: guix-git/doc/guix.texi:2407
  6417. #, no-wrap
  6418. msgid "ping -c 3 gnu.org\n"
  6419. msgstr ""
  6420. #. type: Plain text
  6421. #: guix-git/doc/guix.texi:2411
  6422. 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."
  6423. msgstr ""
  6424. #. type: cindex
  6425. #: guix-git/doc/guix.texi:2412
  6426. #, no-wrap
  6427. msgid "proxy, during system installation"
  6428. msgstr ""
  6429. #. type: Plain text
  6430. #: guix-git/doc/guix.texi:2415
  6431. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6432. msgstr ""
  6433. #. type: example
  6434. #: guix-git/doc/guix.texi:2418
  6435. #, no-wrap
  6436. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6437. msgstr ""
  6438. #. type: Plain text
  6439. #: guix-git/doc/guix.texi:2423
  6440. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6441. msgstr ""
  6442. #. type: cindex
  6443. #: guix-git/doc/guix.texi:2424
  6444. #, no-wrap
  6445. msgid "installing over SSH"
  6446. msgstr ""
  6447. #. type: Plain text
  6448. #: guix-git/doc/guix.texi:2427
  6449. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6450. msgstr ""
  6451. #. type: example
  6452. #: guix-git/doc/guix.texi:2430
  6453. #, no-wrap
  6454. msgid "herd start ssh-daemon\n"
  6455. msgstr ""
  6456. #. type: Plain text
  6457. #: guix-git/doc/guix.texi:2434
  6458. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6459. msgstr ""
  6460. #. type: subsubsection
  6461. #: guix-git/doc/guix.texi:2435
  6462. #, no-wrap
  6463. msgid "Disk Partitioning"
  6464. msgstr ""
  6465. #. type: Plain text
  6466. #: guix-git/doc/guix.texi:2439
  6467. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6468. msgstr ""
  6469. #. type: Plain text
  6470. #: guix-git/doc/guix.texi:2444
  6471. 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:"
  6472. msgstr ""
  6473. #. type: example
  6474. #: guix-git/doc/guix.texi:2447
  6475. #, no-wrap
  6476. msgid "cfdisk\n"
  6477. msgstr ""
  6478. #. type: Plain text
  6479. #: guix-git/doc/guix.texi:2453
  6480. 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})."
  6481. msgstr ""
  6482. #. type: cindex
  6483. #: guix-git/doc/guix.texi:2454
  6484. #, no-wrap
  6485. msgid "EFI, installation"
  6486. msgstr ""
  6487. #. type: cindex
  6488. #: guix-git/doc/guix.texi:2455
  6489. #, no-wrap
  6490. msgid "UEFI, installation"
  6491. msgstr ""
  6492. #. type: cindex
  6493. #: guix-git/doc/guix.texi:2456
  6494. #, no-wrap
  6495. msgid "ESP, EFI system partition"
  6496. msgstr ""
  6497. #. type: Plain text
  6498. #: guix-git/doc/guix.texi:2460
  6499. 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}:"
  6500. msgstr ""
  6501. #. type: example
  6502. #: guix-git/doc/guix.texi:2463
  6503. #, no-wrap
  6504. msgid "parted /dev/sda set 1 esp on\n"
  6505. msgstr ""
  6506. #. type: vindex
  6507. #: guix-git/doc/guix.texi:2466 guix-git/doc/guix.texi:34580
  6508. #, no-wrap
  6509. msgid "grub-bootloader"
  6510. msgstr ""
  6511. #. type: vindex
  6512. #: guix-git/doc/guix.texi:2467 guix-git/doc/guix.texi:34574
  6513. #, no-wrap
  6514. msgid "grub-efi-bootloader"
  6515. msgstr ""
  6516. #. type: quotation
  6517. #: guix-git/doc/guix.texi:2474
  6518. 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."
  6519. msgstr ""
  6520. #. type: Plain text
  6521. #: guix-git/doc/guix.texi:2482
  6522. 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:"
  6523. msgstr ""
  6524. #. type: example
  6525. #: guix-git/doc/guix.texi:2485
  6526. #, no-wrap
  6527. msgid "mkfs.fat -F32 /dev/sda1\n"
  6528. msgstr ""
  6529. #. type: Plain text
  6530. #: guix-git/doc/guix.texi:2492
  6531. 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})."
  6532. msgstr ""
  6533. #. type: Plain text
  6534. #: guix-git/doc/guix.texi:2499
  6535. 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:"
  6536. msgstr ""
  6537. #. type: example
  6538. #: guix-git/doc/guix.texi:2502
  6539. #, no-wrap
  6540. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6541. msgstr ""
  6542. #. type: cindex
  6543. #: guix-git/doc/guix.texi:2504 guix-git/doc/guix.texi:14475
  6544. #, no-wrap
  6545. msgid "encrypted disk"
  6546. msgstr ""
  6547. #. type: Plain text
  6548. #: guix-git/doc/guix.texi:2509
  6549. 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)."
  6550. msgstr ""
  6551. #. type: quotation
  6552. #: guix-git/doc/guix.texi:2510 guix-git/doc/guix.texi:5280
  6553. #: guix-git/doc/guix.texi:6489 guix-git/doc/guix.texi:14601
  6554. #: guix-git/doc/guix.texi:21013 guix-git/doc/guix.texi:21020
  6555. #, no-wrap
  6556. msgid "Warning"
  6557. msgstr ""
  6558. #. type: quotation
  6559. #: guix-git/doc/guix.texi:2517
  6560. msgid "Note that GRUB can unlock LUKS2 devices since version 2.06, but only supports the PBKDF2 key derivation function, which is not the default for @command{cryptsetup luksFormat}. You can check which key derivation function is being used by a device by running @command{cryptsetup luksDump @var{device}}, and looking for the PBKDF field of your keyslots."
  6561. msgstr ""
  6562. #. type: Plain text
  6563. #: guix-git/doc/guix.texi:2522
  6564. msgid "Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence to format it as a LUKS2 partition would be along these lines:"
  6565. msgstr ""
  6566. #. type: example
  6567. #: guix-git/doc/guix.texi:2527
  6568. #, no-wrap
  6569. msgid ""
  6570. "cryptsetup luksFormat --type luks2 --pbkdf pbkdf2 /dev/sda2\n"
  6571. "cryptsetup open /dev/sda2 my-partition\n"
  6572. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6573. msgstr ""
  6574. #. type: Plain text
  6575. #: guix-git/doc/guix.texi:2532
  6576. 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):"
  6577. msgstr ""
  6578. #. type: example
  6579. #: guix-git/doc/guix.texi:2535
  6580. #, no-wrap
  6581. msgid "mount LABEL=my-root /mnt\n"
  6582. msgstr ""
  6583. #. type: Plain text
  6584. #: guix-git/doc/guix.texi:2541
  6585. 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."
  6586. msgstr ""
  6587. #. type: Plain text
  6588. #: guix-git/doc/guix.texi:2545
  6589. msgid "Finally, if you plan to use one or more swap partitions (@pxref{Swap Space}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:"
  6590. msgstr ""
  6591. #. type: example
  6592. #: guix-git/doc/guix.texi:2549
  6593. #, no-wrap
  6594. msgid ""
  6595. "mkswap /dev/sda3\n"
  6596. "swapon /dev/sda3\n"
  6597. msgstr ""
  6598. #. type: Plain text
  6599. #: guix-git/doc/guix.texi:2557
  6600. 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}.}:"
  6601. msgstr ""
  6602. #. type: example
  6603. #: guix-git/doc/guix.texi:2565
  6604. #, no-wrap
  6605. msgid ""
  6606. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6607. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6608. "# For security, make the file readable and writable only by root.\n"
  6609. "chmod 600 /mnt/swapfile\n"
  6610. "mkswap /mnt/swapfile\n"
  6611. "swapon /mnt/swapfile\n"
  6612. msgstr ""
  6613. #. type: Plain text
  6614. #: guix-git/doc/guix.texi:2570
  6615. 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."
  6616. msgstr ""
  6617. #. type: Plain text
  6618. #: guix-git/doc/guix.texi:2576
  6619. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6620. msgstr ""
  6621. #. type: example
  6622. #: guix-git/doc/guix.texi:2579
  6623. #, no-wrap
  6624. msgid "herd start cow-store /mnt\n"
  6625. msgstr ""
  6626. #. type: Plain text
  6627. #: guix-git/doc/guix.texi:2586
  6628. 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."
  6629. msgstr ""
  6630. #. type: Plain text
  6631. #: guix-git/doc/guix.texi:2597
  6632. 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."
  6633. msgstr ""
  6634. #. type: Plain text
  6635. #: guix-git/doc/guix.texi:2604
  6636. 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:"
  6637. msgstr ""
  6638. #. type: example
  6639. #: guix-git/doc/guix.texi:2609
  6640. #, no-wrap
  6641. msgid ""
  6642. "# mkdir /mnt/etc\n"
  6643. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6644. "# nano /mnt/etc/config.scm\n"
  6645. msgstr ""
  6646. #. type: Plain text
  6647. #: guix-git/doc/guix.texi:2613
  6648. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6649. msgstr ""
  6650. #. type: itemize
  6651. #: guix-git/doc/guix.texi:2625
  6652. 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."
  6653. msgstr ""
  6654. #. type: itemize
  6655. #: guix-git/doc/guix.texi:2631
  6656. 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."
  6657. msgstr ""
  6658. #. type: itemize
  6659. #: guix-git/doc/guix.texi:2635
  6660. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6661. msgstr ""
  6662. #. type: Plain text
  6663. #: guix-git/doc/guix.texi:2640
  6664. 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}):"
  6665. msgstr ""
  6666. #. type: example
  6667. #: guix-git/doc/guix.texi:2643
  6668. #, no-wrap
  6669. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6670. msgstr ""
  6671. #. type: Plain text
  6672. #: guix-git/doc/guix.texi:2650
  6673. 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."
  6674. msgstr ""
  6675. #. type: Plain text
  6676. #: guix-git/doc/guix.texi:2658
  6677. 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!"
  6678. msgstr ""
  6679. #. type: Plain text
  6680. #: guix-git/doc/guix.texi:2665
  6681. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6682. msgstr ""
  6683. #. type: example
  6684. #: guix-git/doc/guix.texi:2669
  6685. #, no-wrap
  6686. msgid ""
  6687. "guix pull\n"
  6688. "sudo guix system reconfigure /etc/config.scm\n"
  6689. msgstr ""
  6690. #. type: Plain text
  6691. #: guix-git/doc/guix.texi:2675
  6692. 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})."
  6693. msgstr ""
  6694. #. type: cindex
  6695. #: guix-git/doc/guix.texi:2678
  6696. #, no-wrap
  6697. msgid "sudo vs. @command{guix pull}"
  6698. msgstr ""
  6699. #. type: quotation
  6700. #: guix-git/doc/guix.texi:2682
  6701. 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{}}."
  6702. msgstr ""
  6703. #. type: quotation
  6704. #: guix-git/doc/guix.texi:2687
  6705. 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."
  6706. msgstr ""
  6707. #. type: Plain text
  6708. #: guix-git/doc/guix.texi:2692
  6709. 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!"
  6710. msgstr ""
  6711. #. type: section
  6712. #: guix-git/doc/guix.texi:2695
  6713. #, no-wrap
  6714. msgid "Installing Guix in a Virtual Machine"
  6715. msgstr ""
  6716. #. type: cindex
  6717. #: guix-git/doc/guix.texi:2697
  6718. #, no-wrap
  6719. msgid "virtual machine, Guix System installation"
  6720. msgstr ""
  6721. #. type: cindex
  6722. #: guix-git/doc/guix.texi:2698
  6723. #, no-wrap
  6724. msgid "virtual private server (VPS)"
  6725. msgstr ""
  6726. #. type: cindex
  6727. #: guix-git/doc/guix.texi:2699
  6728. #, no-wrap
  6729. msgid "VPS (virtual private server)"
  6730. msgstr ""
  6731. #. type: Plain text
  6732. #: guix-git/doc/guix.texi:2703
  6733. 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."
  6734. msgstr ""
  6735. #. type: Plain text
  6736. #: guix-git/doc/guix.texi:2706
  6737. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6738. msgstr ""
  6739. #. type: enumerate
  6740. #: guix-git/doc/guix.texi:2711
  6741. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6742. msgstr ""
  6743. #. type: enumerate
  6744. #: guix-git/doc/guix.texi:2715
  6745. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6746. msgstr ""
  6747. #. type: example
  6748. #: guix-git/doc/guix.texi:2718
  6749. #, no-wrap
  6750. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6751. msgstr ""
  6752. #. type: enumerate
  6753. #: guix-git/doc/guix.texi:2722
  6754. 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."
  6755. msgstr ""
  6756. #. type: enumerate
  6757. #: guix-git/doc/guix.texi:2725
  6758. msgid "Boot the USB installation image in an VM:"
  6759. msgstr ""
  6760. #. type: example
  6761. #: guix-git/doc/guix.texi:2731
  6762. #, no-wrap
  6763. msgid ""
  6764. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6765. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6766. " -drive file=guix-system.img \\\n"
  6767. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6768. msgstr ""
  6769. #. type: enumerate
  6770. #: guix-git/doc/guix.texi:2735
  6771. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6772. msgstr ""
  6773. #. type: enumerate
  6774. #: guix-git/doc/guix.texi:2739
  6775. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6776. msgstr ""
  6777. #. type: Plain text
  6778. #: guix-git/doc/guix.texi:2744
  6779. 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."
  6780. msgstr ""
  6781. #. type: cindex
  6782. #: guix-git/doc/guix.texi:2748
  6783. #, no-wrap
  6784. msgid "installation image"
  6785. msgstr ""
  6786. #. type: Plain text
  6787. #: guix-git/doc/guix.texi:2751
  6788. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6789. msgstr ""
  6790. #. type: example
  6791. #: guix-git/doc/guix.texi:2754
  6792. #, no-wrap
  6793. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6794. msgstr ""
  6795. #. type: Plain text
  6796. #: guix-git/doc/guix.texi:2759
  6797. 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."
  6798. msgstr ""
  6799. #. type: section
  6800. #: guix-git/doc/guix.texi:2760
  6801. #, no-wrap
  6802. msgid "Building the Installation Image for ARM Boards"
  6803. msgstr ""
  6804. #. type: Plain text
  6805. #: guix-git/doc/guix.texi:2764
  6806. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6807. msgstr ""
  6808. #. type: Plain text
  6809. #: guix-git/doc/guix.texi:2768
  6810. 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:"
  6811. msgstr ""
  6812. #. type: example
  6813. #: guix-git/doc/guix.texi:2771
  6814. #, no-wrap
  6815. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6816. msgstr ""
  6817. #. type: Plain text
  6818. #: guix-git/doc/guix.texi:2775
  6819. 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."
  6820. msgstr ""
  6821. #. type: Plain text
  6822. #: guix-git/doc/guix.texi:2785
  6823. 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."
  6824. msgstr ""
  6825. #. type: Plain text
  6826. #: guix-git/doc/guix.texi:2789
  6827. 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:"
  6828. msgstr ""
  6829. #. type: example
  6830. #: guix-git/doc/guix.texi:2792
  6831. #, no-wrap
  6832. msgid "guix search text editor\n"
  6833. msgstr ""
  6834. #. type: Plain text
  6835. #: guix-git/doc/guix.texi:2799
  6836. 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}!):"
  6837. msgstr ""
  6838. #. type: example
  6839. #: guix-git/doc/guix.texi:2802
  6840. #, no-wrap
  6841. msgid "guix install emacs\n"
  6842. msgstr ""
  6843. #. type: cindex
  6844. #: guix-git/doc/guix.texi:2804 guix-git/doc/guix.texi:3116
  6845. #: guix-git/doc/guix.texi:3168
  6846. #, no-wrap
  6847. msgid "profile"
  6848. msgstr ""
  6849. #. type: Plain text
  6850. #: guix-git/doc/guix.texi:2812
  6851. 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)."
  6852. msgstr ""
  6853. #. type: Plain text
  6854. #: guix-git/doc/guix.texi:2815
  6855. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6856. msgstr ""
  6857. #. type: example
  6858. #: guix-git/doc/guix.texi:2818
  6859. #, no-wrap
  6860. msgid ""
  6861. "hint: Consider setting the necessary environment variables by running:\n"
  6862. "\n"
  6863. msgstr ""
  6864. #. type: example
  6865. #: guix-git/doc/guix.texi:2821
  6866. #, no-wrap
  6867. msgid ""
  6868. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6869. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6870. "\n"
  6871. msgstr ""
  6872. #. type: example
  6873. #: guix-git/doc/guix.texi:2823
  6874. #, no-wrap
  6875. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6876. msgstr ""
  6877. #. type: Plain text
  6878. #: guix-git/doc/guix.texi:2837
  6879. msgid "Indeed, you must now tell your shell where @command{emacs} and other programs installed with Guix are to be found. Pasting the two lines above will do just that: it will add @code{$HOME/.guix-profile/bin}---which is where the installed package is---to the @code{PATH} environment variable. You can paste these two lines in your shell so they take effect right away, but more importantly you should add them to @file{~/.bash_profile} (or equivalent file if you do not use Bash) so that environment variables are set next time you spawn a shell. You only need to do this once and other search paths environment variables will be taken care of similarly---e.g., if you eventually install @code{python} and Python libraries, @env{GUIX_PYTHONPATH} will be defined."
  6880. msgstr ""
  6881. #. type: Plain text
  6882. #: guix-git/doc/guix.texi:2840
  6883. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6884. msgstr ""
  6885. #. type: example
  6886. #: guix-git/doc/guix.texi:2843
  6887. #, no-wrap
  6888. msgid "guix package --list-installed\n"
  6889. msgstr ""
  6890. #. type: Plain text
  6891. #: guix-git/doc/guix.texi:2848
  6892. 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:"
  6893. msgstr ""
  6894. #. type: example
  6895. #: guix-git/doc/guix.texi:2851
  6896. #, no-wrap
  6897. msgid "guix package --roll-back\n"
  6898. msgstr ""
  6899. #. type: Plain text
  6900. #: guix-git/doc/guix.texi:2856
  6901. 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:"
  6902. msgstr ""
  6903. #. type: example
  6904. #: guix-git/doc/guix.texi:2859
  6905. #, no-wrap
  6906. msgid "guix package --list-generations\n"
  6907. msgstr ""
  6908. #. type: Plain text
  6909. #: guix-git/doc/guix.texi:2862
  6910. msgid "Now you know the basics of package management!"
  6911. msgstr ""
  6912. #. type: quotation
  6913. #: guix-git/doc/guix.texi:2863 guix-git/doc/guix.texi:2922
  6914. #, no-wrap
  6915. msgid "Going further"
  6916. msgstr ""
  6917. #. type: quotation
  6918. #: guix-git/doc/guix.texi:2871
  6919. 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."
  6920. msgstr ""
  6921. #. type: Plain text
  6922. #: guix-git/doc/guix.texi:2876
  6923. 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:"
  6924. msgstr ""
  6925. #. type: Plain text
  6926. #: guix-git/doc/guix.texi:2886
  6927. 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}:"
  6928. msgstr ""
  6929. #. type: example
  6930. #: guix-git/doc/guix.texi:2890
  6931. #, no-wrap
  6932. msgid ""
  6933. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  6934. ". \"$GUIX_PROFILE/etc/profile\"\n"
  6935. msgstr ""
  6936. #. type: Plain text
  6937. #: guix-git/doc/guix.texi:2894
  6938. msgid "You must also instruct your shell to point to this new @command{guix}:"
  6939. msgstr ""
  6940. #. type: example
  6941. #: guix-git/doc/guix.texi:2897
  6942. #, no-wrap
  6943. msgid "hash guix\n"
  6944. msgstr ""
  6945. #. type: Plain text
  6946. #: guix-git/doc/guix.texi:2901
  6947. 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:"
  6948. msgstr ""
  6949. #. type: example
  6950. #: guix-git/doc/guix.texi:2904
  6951. #, no-wrap
  6952. msgid "guix upgrade\n"
  6953. msgstr ""
  6954. #. type: Plain text
  6955. #: guix-git/doc/guix.texi:2910
  6956. 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!"
  6957. msgstr ""
  6958. #. type: Plain text
  6959. #: guix-git/doc/guix.texi:2913
  6960. msgid "You can display the exact revision of Guix you're currently using by running:"
  6961. msgstr ""
  6962. #. type: example
  6963. #: guix-git/doc/guix.texi:2916
  6964. #, no-wrap
  6965. msgid "guix describe\n"
  6966. msgstr ""
  6967. #. type: Plain text
  6968. #: guix-git/doc/guix.texi:2921
  6969. 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."
  6970. msgstr ""
  6971. #. type: quotation
  6972. #: guix-git/doc/guix.texi:2927
  6973. 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})."
  6974. msgstr ""
  6975. #. type: Plain text
  6976. #: guix-git/doc/guix.texi:2932
  6977. 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:"
  6978. msgstr ""
  6979. #. type: example
  6980. #: guix-git/doc/guix.texi:2935
  6981. #, no-wrap
  6982. msgid "sudo guix system reconfigure /etc/config.scm\n"
  6983. msgstr ""
  6984. #. type: Plain text
  6985. #: guix-git/doc/guix.texi:2944
  6986. 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}:"
  6987. msgstr ""
  6988. #. type: example
  6989. #: guix-git/doc/guix.texi:2947
  6990. #, no-wrap
  6991. msgid "sudo guix system roll-back\n"
  6992. msgstr ""
  6993. #. type: Plain text
  6994. #: guix-git/doc/guix.texi:2954
  6995. 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."
  6996. msgstr ""
  6997. #. type: Plain text
  6998. #: guix-git/doc/guix.texi:2956
  6999. msgid "Now you know enough to get started!"
  7000. msgstr ""
  7001. #. type: quotation
  7002. #: guix-git/doc/guix.texi:2957
  7003. #, no-wrap
  7004. msgid "Resources"
  7005. msgstr ""
  7006. #. type: quotation
  7007. #: guix-git/doc/guix.texi:2960
  7008. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  7009. msgstr ""
  7010. #. type: itemize
  7011. #: guix-git/doc/guix.texi:2965
  7012. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  7013. msgstr ""
  7014. #. type: itemize
  7015. #: guix-git/doc/guix.texi:2970
  7016. 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."
  7017. msgstr ""
  7018. #. type: itemize
  7019. #: guix-git/doc/guix.texi:2975
  7020. 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."
  7021. msgstr ""
  7022. #. type: itemize
  7023. #: guix-git/doc/guix.texi:2979
  7024. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  7025. msgstr ""
  7026. #. type: quotation
  7027. #: guix-git/doc/guix.texi:2982
  7028. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  7029. msgstr ""
  7030. #. type: Plain text
  7031. #: guix-git/doc/guix.texi:2993
  7032. 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."
  7033. msgstr ""
  7034. #. type: Plain text
  7035. #: guix-git/doc/guix.texi:3001
  7036. 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):"
  7037. msgstr ""
  7038. #. type: example
  7039. #: guix-git/doc/guix.texi:3004
  7040. #, no-wrap
  7041. msgid "guix install emacs-guix\n"
  7042. msgstr ""
  7043. #. type: Plain text
  7044. #: guix-git/doc/guix.texi:3025
  7045. 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."
  7046. msgstr ""
  7047. #. type: Plain text
  7048. #: guix-git/doc/guix.texi:3029
  7049. 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."
  7050. msgstr ""
  7051. #. type: Plain text
  7052. #: guix-git/doc/guix.texi:3034
  7053. 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}."
  7054. msgstr ""
  7055. #. type: Plain text
  7056. #: guix-git/doc/guix.texi:3042
  7057. 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."
  7058. msgstr ""
  7059. #. type: Plain text
  7060. #: guix-git/doc/guix.texi:3046
  7061. 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}."
  7062. msgstr ""
  7063. #. type: cindex
  7064. #: guix-git/doc/guix.texi:3047 guix-git/doc/guix.texi:3130
  7065. #, no-wrap
  7066. msgid "transactions"
  7067. msgstr ""
  7068. #. type: Plain text
  7069. #: guix-git/doc/guix.texi:3054
  7070. 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."
  7071. msgstr ""
  7072. #. type: Plain text
  7073. #: guix-git/doc/guix.texi:3062
  7074. 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})."
  7075. msgstr ""
  7076. #. type: Plain text
  7077. #: guix-git/doc/guix.texi:3069
  7078. 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."
  7079. msgstr ""
  7080. #. type: Plain text
  7081. #: guix-git/doc/guix.texi:3082
  7082. 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})."
  7083. msgstr ""
  7084. #. type: Plain text
  7085. #: guix-git/doc/guix.texi:3093
  7086. 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})."
  7087. msgstr ""
  7088. #. type: Plain text
  7089. #: guix-git/doc/guix.texi:3099
  7090. msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix shell} command allows developers of a package to quickly set up the right development environment for their package, without having to manually install the dependencies of the package into their profile (@pxref{Invoking guix shell})."
  7091. msgstr ""
  7092. #. type: cindex
  7093. #: guix-git/doc/guix.texi:3100
  7094. #, no-wrap
  7095. msgid "replication, of software environments"
  7096. msgstr ""
  7097. #. type: cindex
  7098. #: guix-git/doc/guix.texi:3101
  7099. #, no-wrap
  7100. msgid "provenance tracking, of software artifacts"
  7101. msgstr ""
  7102. #. type: Plain text
  7103. #: guix-git/doc/guix.texi:3108
  7104. 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."
  7105. msgstr ""
  7106. #. type: section
  7107. #: guix-git/doc/guix.texi:3110
  7108. #, no-wrap
  7109. msgid "Invoking @command{guix package}"
  7110. msgstr ""
  7111. #. type: cindex
  7112. #: guix-git/doc/guix.texi:3112
  7113. #, no-wrap
  7114. msgid "installing packages"
  7115. msgstr ""
  7116. #. type: cindex
  7117. #: guix-git/doc/guix.texi:3113
  7118. #, no-wrap
  7119. msgid "removing packages"
  7120. msgstr ""
  7121. #. type: cindex
  7122. #: guix-git/doc/guix.texi:3114
  7123. #, no-wrap
  7124. msgid "package installation"
  7125. msgstr ""
  7126. #. type: cindex
  7127. #: guix-git/doc/guix.texi:3115
  7128. #, no-wrap
  7129. msgid "package removal"
  7130. msgstr ""
  7131. #. type: Plain text
  7132. #: guix-git/doc/guix.texi:3125
  7133. 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:"
  7134. msgstr ""
  7135. #. type: example
  7136. #: guix-git/doc/guix.texi:3128
  7137. #, no-wrap
  7138. msgid "guix package @var{options}\n"
  7139. msgstr ""
  7140. #. type: Plain text
  7141. #: guix-git/doc/guix.texi:3135
  7142. 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."
  7143. msgstr ""
  7144. #. type: Plain text
  7145. #: guix-git/doc/guix.texi:3138
  7146. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  7147. msgstr ""
  7148. #. type: example
  7149. #: guix-git/doc/guix.texi:3141
  7150. #, no-wrap
  7151. msgid "guix package -r lua -i guile guile-cairo\n"
  7152. msgstr ""
  7153. #. type: cindex
  7154. #: guix-git/doc/guix.texi:3143
  7155. #, no-wrap
  7156. msgid "aliases, for @command{guix package}"
  7157. msgstr ""
  7158. #. type: Plain text
  7159. #: guix-git/doc/guix.texi:3145
  7160. msgid "For your convenience, we also provide the following aliases:"
  7161. msgstr ""
  7162. #. type: itemize
  7163. #: guix-git/doc/guix.texi:3149
  7164. msgid "@command{guix search} is an alias for @command{guix package -s},"
  7165. msgstr ""
  7166. #. type: itemize
  7167. #: guix-git/doc/guix.texi:3151
  7168. msgid "@command{guix install} is an alias for @command{guix package -i},"
  7169. msgstr ""
  7170. #. type: itemize
  7171. #: guix-git/doc/guix.texi:3153
  7172. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  7173. msgstr ""
  7174. #. type: itemize
  7175. #: guix-git/doc/guix.texi:3155
  7176. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  7177. msgstr ""
  7178. #. type: itemize
  7179. #: guix-git/doc/guix.texi:3157
  7180. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7181. msgstr ""
  7182. #. type: Plain text
  7183. #: guix-git/doc/guix.texi:3162
  7184. 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."
  7185. msgstr ""
  7186. #. type: Plain text
  7187. #: guix-git/doc/guix.texi:3167
  7188. 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}})."
  7189. msgstr ""
  7190. #. type: Plain text
  7191. #: guix-git/doc/guix.texi:3174
  7192. 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."
  7193. msgstr ""
  7194. #. type: cindex
  7195. #: guix-git/doc/guix.texi:3174 guix-git/doc/guix.texi:3418
  7196. #, no-wrap
  7197. msgid "search paths"
  7198. msgstr ""
  7199. #. type: Plain text
  7200. #: guix-git/doc/guix.texi:3179
  7201. 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:"
  7202. msgstr ""
  7203. #. type: example
  7204. #: guix-git/doc/guix.texi:3183
  7205. #, no-wrap
  7206. msgid ""
  7207. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7208. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7209. msgstr ""
  7210. #. type: Plain text
  7211. #: guix-git/doc/guix.texi:3194
  7212. 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}."
  7213. msgstr ""
  7214. #. type: Plain text
  7215. #: guix-git/doc/guix.texi:3196
  7216. msgid "The @var{options} can be among the following:"
  7217. msgstr ""
  7218. #. type: item
  7219. #: guix-git/doc/guix.texi:3199
  7220. #, no-wrap
  7221. msgid "--install=@var{package} @dots{}"
  7222. msgstr ""
  7223. #. type: itemx
  7224. #: guix-git/doc/guix.texi:3200
  7225. #, no-wrap
  7226. msgid "-i @var{package} @dots{}"
  7227. msgstr ""
  7228. #. type: table
  7229. #: guix-git/doc/guix.texi:3202
  7230. msgid "Install the specified @var{package}s."
  7231. msgstr ""
  7232. #. type: table
  7233. #: guix-git/doc/guix.texi:3207
  7234. 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)."
  7235. msgstr ""
  7236. #. type: table
  7237. #: guix-git/doc/guix.texi:3215
  7238. 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})."
  7239. msgstr ""
  7240. #. type: cindex
  7241. #: guix-git/doc/guix.texi:3216
  7242. #, no-wrap
  7243. msgid "propagated inputs"
  7244. msgstr ""
  7245. #. type: table
  7246. #: guix-git/doc/guix.texi:3222
  7247. 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)."
  7248. msgstr ""
  7249. #. type: anchor{#1}
  7250. #: guix-git/doc/guix.texi:3229
  7251. msgid "package-cmd-propagated-inputs"
  7252. msgstr ""
  7253. #. type: table
  7254. #: guix-git/doc/guix.texi:3229
  7255. 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."
  7256. msgstr ""
  7257. #. type: table
  7258. #: guix-git/doc/guix.texi:3234
  7259. 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."
  7260. msgstr ""
  7261. #. type: item
  7262. #: guix-git/doc/guix.texi:3235
  7263. #, no-wrap
  7264. msgid "--install-from-expression=@var{exp}"
  7265. msgstr ""
  7266. #. type: itemx
  7267. #: guix-git/doc/guix.texi:3236
  7268. #, no-wrap
  7269. msgid "-e @var{exp}"
  7270. msgstr ""
  7271. #. type: table
  7272. #: guix-git/doc/guix.texi:3238
  7273. msgid "Install the package @var{exp} evaluates to."
  7274. msgstr ""
  7275. #. type: table
  7276. #: guix-git/doc/guix.texi:3243
  7277. 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)}."
  7278. msgstr ""
  7279. #. type: table
  7280. #: guix-git/doc/guix.texi:3247
  7281. 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."
  7282. msgstr ""
  7283. #. type: item
  7284. #: guix-git/doc/guix.texi:3248
  7285. #, no-wrap
  7286. msgid "--install-from-file=@var{file}"
  7287. msgstr ""
  7288. #. type: itemx
  7289. #: guix-git/doc/guix.texi:3249 guix-git/doc/guix.texi:5781
  7290. #: guix-git/doc/guix.texi:11396
  7291. #, no-wrap
  7292. msgid "-f @var{file}"
  7293. msgstr ""
  7294. #. type: table
  7295. #: guix-git/doc/guix.texi:3251
  7296. msgid "Install the package that the code within @var{file} evaluates to."
  7297. msgstr ""
  7298. #. type: table
  7299. #: guix-git/doc/guix.texi:3254 guix-git/doc/guix.texi:5787
  7300. #: guix-git/doc/guix.texi:6162
  7301. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7302. msgstr ""
  7303. #. type: include
  7304. #: guix-git/doc/guix.texi:3256 guix-git/doc/guix.texi:11404
  7305. #, no-wrap
  7306. msgid "package-hello.scm"
  7307. msgstr ""
  7308. #. type: table
  7309. #: guix-git/doc/guix.texi:3263
  7310. msgid "Developers may find it useful to include such a @file{guix.scm} file in the root of their project source tree that can be used to test development snapshots and create reproducible development environments (@pxref{Invoking guix shell})."
  7311. msgstr ""
  7312. #. type: table
  7313. #: guix-git/doc/guix.texi:3268
  7314. 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}:"
  7315. msgstr ""
  7316. #. type: example
  7317. #: guix-git/doc/guix.texi:3271 guix-git/doc/guix.texi:11414
  7318. #, no-wrap
  7319. msgid "@verbatiminclude package-hello.json\n"
  7320. msgstr ""
  7321. #. type: item
  7322. #: guix-git/doc/guix.texi:3273
  7323. #, no-wrap
  7324. msgid "--remove=@var{package} @dots{}"
  7325. msgstr ""
  7326. #. type: itemx
  7327. #: guix-git/doc/guix.texi:3274
  7328. #, no-wrap
  7329. msgid "-r @var{package} @dots{}"
  7330. msgstr ""
  7331. #. type: table
  7332. #: guix-git/doc/guix.texi:3276
  7333. msgid "Remove the specified @var{package}s."
  7334. msgstr ""
  7335. #. type: table
  7336. #: guix-git/doc/guix.texi:3281
  7337. 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}."
  7338. msgstr ""
  7339. #. type: item
  7340. #: guix-git/doc/guix.texi:3282
  7341. #, no-wrap
  7342. msgid "--upgrade[=@var{regexp} @dots{}]"
  7343. msgstr ""
  7344. #. type: itemx
  7345. #: guix-git/doc/guix.texi:3283
  7346. #, no-wrap
  7347. msgid "-u [@var{regexp} @dots{}]"
  7348. msgstr ""
  7349. #. type: cindex
  7350. #: guix-git/doc/guix.texi:3284
  7351. #, no-wrap
  7352. msgid "upgrading packages"
  7353. msgstr ""
  7354. #. type: table
  7355. #: guix-git/doc/guix.texi:3288
  7356. 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."
  7357. msgstr ""
  7358. #. type: table
  7359. #: guix-git/doc/guix.texi:3293
  7360. 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})."
  7361. msgstr ""
  7362. #. type: cindex
  7363. #: guix-git/doc/guix.texi:3294
  7364. #, no-wrap
  7365. msgid "package transformations, upgrades"
  7366. msgstr ""
  7367. #. type: table
  7368. #: guix-git/doc/guix.texi:3299
  7369. 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:"
  7370. msgstr ""
  7371. #. type: example
  7372. #: guix-git/doc/guix.texi:3302
  7373. #, no-wrap
  7374. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7375. msgstr ""
  7376. #. type: table
  7377. #: guix-git/doc/guix.texi:3307
  7378. 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."
  7379. msgstr ""
  7380. #. type: table
  7381. #: guix-git/doc/guix.texi:3312
  7382. 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:"
  7383. msgstr ""
  7384. #. type: example
  7385. #: guix-git/doc/guix.texi:3315
  7386. #, no-wrap
  7387. msgid "guix install @var{package}\n"
  7388. msgstr ""
  7389. #. type: item
  7390. #: guix-git/doc/guix.texi:3317
  7391. #, no-wrap
  7392. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7393. msgstr ""
  7394. #. type: table
  7395. #: guix-git/doc/guix.texi:3322
  7396. 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'':"
  7397. msgstr ""
  7398. #. type: example
  7399. #: guix-git/doc/guix.texi:3325
  7400. #, no-wrap
  7401. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7402. msgstr ""
  7403. #. type: anchor{#1}
  7404. #: guix-git/doc/guix.texi:3327
  7405. #, no-wrap
  7406. msgid "profile-manifest"
  7407. msgstr ""
  7408. #. type: item
  7409. #: guix-git/doc/guix.texi:3327 guix-git/doc/guix.texi:5799
  7410. #: guix-git/doc/guix.texi:6167 guix-git/doc/guix.texi:6615
  7411. #: guix-git/doc/guix.texi:12535 guix-git/doc/guix.texi:14135
  7412. #, no-wrap
  7413. msgid "--manifest=@var{file}"
  7414. msgstr ""
  7415. #. type: itemx
  7416. #: guix-git/doc/guix.texi:3328 guix-git/doc/guix.texi:5800
  7417. #: guix-git/doc/guix.texi:6168 guix-git/doc/guix.texi:6616
  7418. #: guix-git/doc/guix.texi:12536
  7419. #, no-wrap
  7420. msgid "-m @var{file}"
  7421. msgstr ""
  7422. #. type: cindex
  7423. #: guix-git/doc/guix.texi:3329
  7424. #, no-wrap
  7425. msgid "profile declaration"
  7426. msgstr ""
  7427. #. type: cindex
  7428. #: guix-git/doc/guix.texi:3330
  7429. #, no-wrap
  7430. msgid "profile manifest"
  7431. msgstr ""
  7432. #. type: table
  7433. #: guix-git/doc/guix.texi:3334
  7434. 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."
  7435. msgstr ""
  7436. #. type: table
  7437. #: guix-git/doc/guix.texi:3340
  7438. 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."
  7439. msgstr ""
  7440. #. type: table
  7441. #: guix-git/doc/guix.texi:3344
  7442. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7443. msgstr ""
  7444. #. type: findex
  7445. #: guix-git/doc/guix.texi:3345
  7446. #, no-wrap
  7447. msgid "packages->manifest"
  7448. msgstr ""
  7449. #. type: lisp
  7450. #: guix-git/doc/guix.texi:3348
  7451. #, no-wrap
  7452. msgid ""
  7453. "(use-package-modules guile emacs)\n"
  7454. "\n"
  7455. msgstr ""
  7456. #. type: lisp
  7457. #: guix-git/doc/guix.texi:3354
  7458. #, no-wrap
  7459. msgid ""
  7460. "(packages->manifest\n"
  7461. " (list emacs\n"
  7462. " guile-2.0\n"
  7463. " ;; Use a specific package output.\n"
  7464. " (list guile-2.0 \"debug\")))\n"
  7465. msgstr ""
  7466. #. type: findex
  7467. #: guix-git/doc/guix.texi:3356
  7468. #, no-wrap
  7469. msgid "specifications->manifest"
  7470. msgstr ""
  7471. #. type: table
  7472. #: guix-git/doc/guix.texi:3363
  7473. 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:"
  7474. msgstr ""
  7475. #. type: lisp
  7476. #: guix-git/doc/guix.texi:3367
  7477. #, no-wrap
  7478. msgid ""
  7479. "(specifications->manifest\n"
  7480. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7481. msgstr ""
  7482. #. type: findex
  7483. #: guix-git/doc/guix.texi:3369
  7484. #, no-wrap
  7485. msgid "package->development-manifest"
  7486. msgstr ""
  7487. #. type: table
  7488. #: guix-git/doc/guix.texi:3372
  7489. msgid "You might also want to create a manifest for all the dependencies of a package, rather than the package itself:"
  7490. msgstr ""
  7491. #. type: lisp
  7492. #: guix-git/doc/guix.texi:3375
  7493. #, no-wrap
  7494. msgid "(package->development-manifest (specification->package \"emacs\"))\n"
  7495. msgstr ""
  7496. #. type: table
  7497. #: guix-git/doc/guix.texi:3379
  7498. msgid "The example above gives you all the software required to develop Emacs, similar to what @command{guix environment emacs} provides."
  7499. msgstr ""
  7500. #. type: table
  7501. #: guix-git/doc/guix.texi:3382
  7502. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7503. msgstr ""
  7504. #. type: item
  7505. #: guix-git/doc/guix.texi:3383 guix-git/doc/guix.texi:4492
  7506. #, no-wrap
  7507. msgid "--roll-back"
  7508. msgstr ""
  7509. #. type: cindex
  7510. #: guix-git/doc/guix.texi:3384 guix-git/doc/guix.texi:4493
  7511. #: guix-git/doc/guix.texi:35006 guix-git/doc/guix.texi:37641
  7512. #, no-wrap
  7513. msgid "rolling back"
  7514. msgstr ""
  7515. #. type: cindex
  7516. #: guix-git/doc/guix.texi:3385 guix-git/doc/guix.texi:4494
  7517. #, no-wrap
  7518. msgid "undoing transactions"
  7519. msgstr ""
  7520. #. type: cindex
  7521. #: guix-git/doc/guix.texi:3386 guix-git/doc/guix.texi:4495
  7522. #, no-wrap
  7523. msgid "transactions, undoing"
  7524. msgstr ""
  7525. #. type: table
  7526. #: guix-git/doc/guix.texi:3389
  7527. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7528. msgstr ""
  7529. #. type: table
  7530. #: guix-git/doc/guix.texi:3392
  7531. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7532. msgstr ""
  7533. #. type: table
  7534. #: guix-git/doc/guix.texi:3396
  7535. 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."
  7536. msgstr ""
  7537. #. type: table
  7538. #: guix-git/doc/guix.texi:3400
  7539. 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."
  7540. msgstr ""
  7541. #. type: item
  7542. #: guix-git/doc/guix.texi:3401 guix-git/doc/guix.texi:4499
  7543. #, no-wrap
  7544. msgid "--switch-generation=@var{pattern}"
  7545. msgstr ""
  7546. #. type: itemx
  7547. #: guix-git/doc/guix.texi:3402 guix-git/doc/guix.texi:4500
  7548. #, no-wrap
  7549. msgid "-S @var{pattern}"
  7550. msgstr ""
  7551. #. type: cindex
  7552. #: guix-git/doc/guix.texi:3403 guix-git/doc/guix.texi:3635
  7553. #: guix-git/doc/guix.texi:4501 guix-git/doc/guix.texi:34964
  7554. #, no-wrap
  7555. msgid "generations"
  7556. msgstr ""
  7557. #. type: table
  7558. #: guix-git/doc/guix.texi:3405 guix-git/doc/guix.texi:4503
  7559. msgid "Switch to a particular generation defined by @var{pattern}."
  7560. msgstr ""
  7561. #. type: table
  7562. #: guix-git/doc/guix.texi:3411 guix-git/doc/guix.texi:4509
  7563. 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}."
  7564. msgstr ""
  7565. #. type: table
  7566. #: guix-git/doc/guix.texi:3416
  7567. 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."
  7568. msgstr ""
  7569. #. type: item
  7570. #: guix-git/doc/guix.texi:3417
  7571. #, no-wrap
  7572. msgid "--search-paths[=@var{kind}]"
  7573. msgstr ""
  7574. #. type: table
  7575. #: guix-git/doc/guix.texi:3423
  7576. 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."
  7577. msgstr ""
  7578. #. type: table
  7579. #: guix-git/doc/guix.texi:3431
  7580. 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."
  7581. msgstr ""
  7582. #. type: table
  7583. #: guix-git/doc/guix.texi:3434
  7584. msgid "The typical use case is to define these environment variables in the shell:"
  7585. msgstr ""
  7586. #. type: example
  7587. #: guix-git/doc/guix.texi:3437
  7588. #, no-wrap
  7589. msgid "$ eval `guix package --search-paths`\n"
  7590. msgstr ""
  7591. #. type: table
  7592. #: guix-git/doc/guix.texi:3443
  7593. 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}."
  7594. msgstr ""
  7595. #. type: table
  7596. #: guix-git/doc/guix.texi:3446
  7597. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7598. msgstr ""
  7599. #. type: example
  7600. #: guix-git/doc/guix.texi:3451
  7601. #, no-wrap
  7602. msgid ""
  7603. "$ guix package -p foo -i guile\n"
  7604. "$ guix package -p bar -i guile-json\n"
  7605. "$ guix package -p foo -p bar --search-paths\n"
  7606. msgstr ""
  7607. #. type: table
  7608. #: guix-git/doc/guix.texi:3456
  7609. 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."
  7610. msgstr ""
  7611. #. type: cindex
  7612. #: guix-git/doc/guix.texi:3458
  7613. #, no-wrap
  7614. msgid "profile, choosing"
  7615. msgstr ""
  7616. #. type: item
  7617. #: guix-git/doc/guix.texi:3459 guix-git/doc/guix.texi:4529
  7618. #: guix-git/doc/guix.texi:4858
  7619. #, no-wrap
  7620. msgid "--profile=@var{profile}"
  7621. msgstr ""
  7622. #. type: itemx
  7623. #: guix-git/doc/guix.texi:3460 guix-git/doc/guix.texi:4530
  7624. #: guix-git/doc/guix.texi:4859
  7625. #, no-wrap
  7626. msgid "-p @var{profile}"
  7627. msgstr ""
  7628. #. type: table
  7629. #: guix-git/doc/guix.texi:3462
  7630. msgid "Use @var{profile} instead of the user's default profile."
  7631. msgstr ""
  7632. #. type: table
  7633. #: guix-git/doc/guix.texi:3467
  7634. 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:"
  7635. msgstr ""
  7636. #. type: example
  7637. #: guix-git/doc/guix.texi:3473
  7638. #, no-wrap
  7639. msgid ""
  7640. "$ guix install hello -p ~/code/my-profile\n"
  7641. "@dots{}\n"
  7642. "$ ~/code/my-profile/bin/hello\n"
  7643. "Hello, world!\n"
  7644. msgstr ""
  7645. #. type: table
  7646. #: guix-git/doc/guix.texi:3477
  7647. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7648. msgstr ""
  7649. #. type: example
  7650. #: guix-git/doc/guix.texi:3480
  7651. #, no-wrap
  7652. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7653. msgstr ""
  7654. #. type: item
  7655. #: guix-git/doc/guix.texi:3482
  7656. #, no-wrap
  7657. msgid "--list-profiles"
  7658. msgstr ""
  7659. #. type: table
  7660. #: guix-git/doc/guix.texi:3484
  7661. msgid "List all the user's profiles:"
  7662. msgstr ""
  7663. #. type: example
  7664. #: guix-git/doc/guix.texi:3491
  7665. #, no-wrap
  7666. msgid ""
  7667. "$ guix package --list-profiles\n"
  7668. "/home/charlie/.guix-profile\n"
  7669. "/home/charlie/code/my-profile\n"
  7670. "/home/charlie/code/devel-profile\n"
  7671. "/home/charlie/tmp/test\n"
  7672. msgstr ""
  7673. #. type: table
  7674. #: guix-git/doc/guix.texi:3494
  7675. msgid "When running as root, list all the profiles of all the users."
  7676. msgstr ""
  7677. #. type: cindex
  7678. #: guix-git/doc/guix.texi:3495
  7679. #, no-wrap
  7680. msgid "collisions, in a profile"
  7681. msgstr ""
  7682. #. type: cindex
  7683. #: guix-git/doc/guix.texi:3496
  7684. #, no-wrap
  7685. msgid "colliding packages in profiles"
  7686. msgstr ""
  7687. #. type: cindex
  7688. #: guix-git/doc/guix.texi:3497
  7689. #, no-wrap
  7690. msgid "profile collisions"
  7691. msgstr ""
  7692. #. type: item
  7693. #: guix-git/doc/guix.texi:3498
  7694. #, no-wrap
  7695. msgid "--allow-collisions"
  7696. msgstr ""
  7697. #. type: table
  7698. #: guix-git/doc/guix.texi:3500
  7699. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7700. msgstr ""
  7701. #. type: table
  7702. #: guix-git/doc/guix.texi:3504
  7703. 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."
  7704. msgstr ""
  7705. #. type: item
  7706. #: guix-git/doc/guix.texi:3505 guix-git/doc/guix.texi:4572
  7707. #: guix-git/doc/guix.texi:6701
  7708. #, no-wrap
  7709. msgid "--bootstrap"
  7710. msgstr ""
  7711. #. type: table
  7712. #: guix-git/doc/guix.texi:3508
  7713. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7714. msgstr ""
  7715. #. type: Plain text
  7716. #: guix-git/doc/guix.texi:3514
  7717. 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:"
  7718. msgstr ""
  7719. #. type: item
  7720. #: guix-git/doc/guix.texi:3517
  7721. #, no-wrap
  7722. msgid "--search=@var{regexp}"
  7723. msgstr ""
  7724. #. type: itemx
  7725. #: guix-git/doc/guix.texi:3518
  7726. #, no-wrap
  7727. msgid "-s @var{regexp}"
  7728. msgstr ""
  7729. #. type: anchor{#1}
  7730. #: guix-git/doc/guix.texi:3520
  7731. msgid "guix-search"
  7732. msgstr ""
  7733. #. type: cindex
  7734. #: guix-git/doc/guix.texi:3520
  7735. #, no-wrap
  7736. msgid "searching for packages"
  7737. msgstr ""
  7738. #. type: table
  7739. #: guix-git/doc/guix.texi:3526
  7740. 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})."
  7741. msgstr ""
  7742. #. type: table
  7743. #: guix-git/doc/guix.texi:3529
  7744. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7745. msgstr ""
  7746. #. type: example
  7747. #: guix-git/doc/guix.texi:3535
  7748. #, no-wrap
  7749. msgid ""
  7750. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7751. "name: jemalloc\n"
  7752. "version: 4.5.0\n"
  7753. "relevance: 6\n"
  7754. "\n"
  7755. msgstr ""
  7756. #. type: example
  7757. #: guix-git/doc/guix.texi:3539
  7758. #, no-wrap
  7759. msgid ""
  7760. "name: glibc\n"
  7761. "version: 2.25\n"
  7762. "relevance: 1\n"
  7763. "\n"
  7764. msgstr ""
  7765. #. type: example
  7766. #: guix-git/doc/guix.texi:3543
  7767. #, no-wrap
  7768. msgid ""
  7769. "name: libgc\n"
  7770. "version: 7.6.0\n"
  7771. "relevance: 1\n"
  7772. msgstr ""
  7773. #. type: table
  7774. #: guix-git/doc/guix.texi:3547
  7775. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7776. msgstr ""
  7777. #. type: example
  7778. #: guix-git/doc/guix.texi:3551
  7779. #, no-wrap
  7780. msgid ""
  7781. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7782. "name: elfutils\n"
  7783. "\n"
  7784. msgstr ""
  7785. #. type: example
  7786. #: guix-git/doc/guix.texi:3554
  7787. #, no-wrap
  7788. msgid ""
  7789. "name: gmp\n"
  7790. "@dots{}\n"
  7791. msgstr ""
  7792. #. type: table
  7793. #: guix-git/doc/guix.texi:3560
  7794. 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):"
  7795. msgstr ""
  7796. #. type: example
  7797. #: guix-git/doc/guix.texi:3565
  7798. #, no-wrap
  7799. msgid ""
  7800. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7801. "name: gnubg\n"
  7802. "@dots{}\n"
  7803. msgstr ""
  7804. #. type: table
  7805. #: guix-git/doc/guix.texi:3571
  7806. 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."
  7807. msgstr ""
  7808. #. type: table
  7809. #: guix-git/doc/guix.texi:3575
  7810. 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:"
  7811. msgstr ""
  7812. #. type: example
  7813. #: guix-git/doc/guix.texi:3579
  7814. #, no-wrap
  7815. msgid ""
  7816. "$ guix search crypto library | \\\n"
  7817. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7818. msgstr ""
  7819. #. type: table
  7820. #: guix-git/doc/guix.texi:3584
  7821. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7822. msgstr ""
  7823. #. type: item
  7824. #: guix-git/doc/guix.texi:3585
  7825. #, no-wrap
  7826. msgid "--show=@var{package}"
  7827. msgstr ""
  7828. #. type: table
  7829. #: guix-git/doc/guix.texi:3589
  7830. 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})."
  7831. msgstr ""
  7832. #. type: example
  7833. #: guix-git/doc/guix.texi:3594
  7834. #, no-wrap
  7835. msgid ""
  7836. "$ guix package --show=guile | recsel -p name,version\n"
  7837. "name: guile\n"
  7838. "version: 3.0.5\n"
  7839. "\n"
  7840. msgstr ""
  7841. #. type: example
  7842. #: guix-git/doc/guix.texi:3597
  7843. #, no-wrap
  7844. msgid ""
  7845. "name: guile\n"
  7846. "version: 3.0.2\n"
  7847. "\n"
  7848. msgstr ""
  7849. #. type: example
  7850. #: guix-git/doc/guix.texi:3601
  7851. #, no-wrap
  7852. msgid ""
  7853. "name: guile\n"
  7854. "version: 2.2.7\n"
  7855. "@dots{}\n"
  7856. msgstr ""
  7857. #. type: table
  7858. #: guix-git/doc/guix.texi:3605
  7859. 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):"
  7860. msgstr ""
  7861. #. type: example
  7862. #: guix-git/doc/guix.texi:3609
  7863. #, no-wrap
  7864. msgid ""
  7865. "$ guix show guile@@3.0.5 | recsel -p name,version\n"
  7866. "name: guile\n"
  7867. "version: 3.0.5\n"
  7868. msgstr ""
  7869. #. type: item
  7870. #: guix-git/doc/guix.texi:3611
  7871. #, no-wrap
  7872. msgid "--list-installed[=@var{regexp}]"
  7873. msgstr ""
  7874. #. type: itemx
  7875. #: guix-git/doc/guix.texi:3612
  7876. #, no-wrap
  7877. msgid "-I [@var{regexp}]"
  7878. msgstr ""
  7879. #. type: table
  7880. #: guix-git/doc/guix.texi:3616
  7881. 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}."
  7882. msgstr ""
  7883. #. type: table
  7884. #: guix-git/doc/guix.texi:3622
  7885. 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."
  7886. msgstr ""
  7887. #. type: item
  7888. #: guix-git/doc/guix.texi:3623
  7889. #, no-wrap
  7890. msgid "--list-available[=@var{regexp}]"
  7891. msgstr ""
  7892. #. type: itemx
  7893. #: guix-git/doc/guix.texi:3624
  7894. #, no-wrap
  7895. msgid "-A [@var{regexp}]"
  7896. msgstr ""
  7897. #. type: table
  7898. #: guix-git/doc/guix.texi:3628
  7899. 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}."
  7900. msgstr ""
  7901. #. type: table
  7902. #: guix-git/doc/guix.texi:3632
  7903. 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."
  7904. msgstr ""
  7905. #. type: item
  7906. #: guix-git/doc/guix.texi:3633 guix-git/doc/guix.texi:4485
  7907. #, no-wrap
  7908. msgid "--list-generations[=@var{pattern}]"
  7909. msgstr ""
  7910. #. type: itemx
  7911. #: guix-git/doc/guix.texi:3634 guix-git/doc/guix.texi:4486
  7912. #, no-wrap
  7913. msgid "-l [@var{pattern}]"
  7914. msgstr ""
  7915. #. type: table
  7916. #: guix-git/doc/guix.texi:3640
  7917. 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."
  7918. msgstr ""
  7919. #. type: table
  7920. #: guix-git/doc/guix.texi:3645
  7921. 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."
  7922. msgstr ""
  7923. #. type: table
  7924. #: guix-git/doc/guix.texi:3648
  7925. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  7926. msgstr ""
  7927. #. type: item
  7928. #: guix-git/doc/guix.texi:3650
  7929. #, no-wrap
  7930. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  7931. msgstr ""
  7932. #. type: itemize
  7933. #: guix-git/doc/guix.texi:3653
  7934. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  7935. msgstr ""
  7936. #. type: itemize
  7937. #: guix-git/doc/guix.texi:3656
  7938. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  7939. msgstr ""
  7940. #. type: item
  7941. #: guix-git/doc/guix.texi:3657
  7942. #, no-wrap
  7943. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  7944. msgstr ""
  7945. #. type: itemize
  7946. #: guix-git/doc/guix.texi:3660
  7947. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  7948. msgstr ""
  7949. #. type: itemize
  7950. #: guix-git/doc/guix.texi:3664
  7951. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  7952. msgstr ""
  7953. #. type: item
  7954. #: guix-git/doc/guix.texi:3665
  7955. #, no-wrap
  7956. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  7957. msgstr ""
  7958. #. type: itemize
  7959. #: guix-git/doc/guix.texi:3669
  7960. 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."
  7961. msgstr ""
  7962. #. type: item
  7963. #: guix-git/doc/guix.texi:3671 guix-git/doc/guix.texi:4510
  7964. #, no-wrap
  7965. msgid "--delete-generations[=@var{pattern}]"
  7966. msgstr ""
  7967. #. type: itemx
  7968. #: guix-git/doc/guix.texi:3672 guix-git/doc/guix.texi:4511
  7969. #, no-wrap
  7970. msgid "-d [@var{pattern}]"
  7971. msgstr ""
  7972. #. type: table
  7973. #: guix-git/doc/guix.texi:3675 guix-git/doc/guix.texi:4514
  7974. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  7975. msgstr ""
  7976. #. type: table
  7977. #: guix-git/doc/guix.texi:3681 guix-git/doc/guix.texi:4520
  7978. 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."
  7979. msgstr ""
  7980. #. type: table
  7981. #: guix-git/doc/guix.texi:3684
  7982. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  7983. msgstr ""
  7984. #. type: table
  7985. #: guix-git/doc/guix.texi:3687 guix-git/doc/guix.texi:4525
  7986. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  7987. msgstr ""
  7988. #. type: cindex
  7989. #: guix-git/doc/guix.texi:3688
  7990. #, no-wrap
  7991. msgid "manifest, exporting"
  7992. msgstr ""
  7993. #. type: anchor{#1}
  7994. #: guix-git/doc/guix.texi:3690
  7995. msgid "export-manifest"
  7996. msgstr ""
  7997. #. type: item
  7998. #: guix-git/doc/guix.texi:3690
  7999. #, no-wrap
  8000. msgid "--export-manifest"
  8001. msgstr ""
  8002. #. type: table
  8003. #: guix-git/doc/guix.texi:3693
  8004. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  8005. msgstr ""
  8006. #. type: table
  8007. #: guix-git/doc/guix.texi:3697
  8008. 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."
  8009. msgstr ""
  8010. #. type: table
  8011. #: guix-git/doc/guix.texi:3702
  8012. 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."
  8013. msgstr ""
  8014. #. type: table
  8015. #: guix-git/doc/guix.texi:3707
  8016. 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."
  8017. msgstr ""
  8018. #. type: cindex
  8019. #: guix-git/doc/guix.texi:3708
  8020. #, no-wrap
  8021. msgid "pinning, channel revisions of a profile"
  8022. msgstr ""
  8023. #. type: item
  8024. #: guix-git/doc/guix.texi:3709
  8025. #, no-wrap
  8026. msgid "--export-channels"
  8027. msgstr ""
  8028. #. type: table
  8029. #: guix-git/doc/guix.texi:3713
  8030. 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})."
  8031. msgstr ""
  8032. #. type: table
  8033. #: guix-git/doc/guix.texi:3717
  8034. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  8035. msgstr ""
  8036. #. type: table
  8037. #: guix-git/doc/guix.texi:3725
  8038. 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})."
  8039. msgstr ""
  8040. #. type: table
  8041. #: guix-git/doc/guix.texi:3730
  8042. 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."
  8043. msgstr ""
  8044. #. type: Plain text
  8045. #: guix-git/doc/guix.texi:3737
  8046. 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})."
  8047. msgstr ""
  8048. #. type: cindex
  8049. #: guix-git/doc/guix.texi:3742
  8050. #, no-wrap
  8051. msgid "pre-built binaries"
  8052. msgstr ""
  8053. #. type: Plain text
  8054. #: guix-git/doc/guix.texi:3748
  8055. 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."
  8056. msgstr ""
  8057. #. type: Plain text
  8058. #: guix-git/doc/guix.texi:3753
  8059. 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."
  8060. msgstr ""
  8061. #. type: cindex
  8062. #: guix-git/doc/guix.texi:3767
  8063. #, no-wrap
  8064. msgid "build farm"
  8065. msgstr ""
  8066. #. type: Plain text
  8067. #: guix-git/doc/guix.texi:3778
  8068. 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})."
  8069. msgstr ""
  8070. #. type: Plain text
  8071. #: guix-git/doc/guix.texi:3784
  8072. 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."
  8073. msgstr ""
  8074. #. type: Plain text
  8075. #: guix-git/doc/guix.texi:3793
  8076. 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."
  8077. msgstr ""
  8078. #. type: cindex
  8079. #: guix-git/doc/guix.texi:3797
  8080. #, no-wrap
  8081. msgid "security"
  8082. msgstr ""
  8083. #. type: cindex
  8084. #: guix-git/doc/guix.texi:3799
  8085. #, no-wrap
  8086. msgid "access control list (ACL), for substitutes"
  8087. msgstr ""
  8088. #. type: cindex
  8089. #: guix-git/doc/guix.texi:3800
  8090. #, no-wrap
  8091. msgid "ACL (access control list), for substitutes"
  8092. msgstr ""
  8093. #. type: Plain text
  8094. #: guix-git/doc/guix.texi:3806
  8095. 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."
  8096. msgstr ""
  8097. #. type: quotation
  8098. #: guix-git/doc/guix.texi:3811
  8099. 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."
  8100. msgstr ""
  8101. #. type: Plain text
  8102. #: guix-git/doc/guix.texi:3819
  8103. 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:"
  8104. msgstr ""
  8105. #. type: example
  8106. #: guix-git/doc/guix.texi:3823
  8107. #, no-wrap
  8108. msgid ""
  8109. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  8110. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  8111. msgstr ""
  8112. #. type: Plain text
  8113. #: guix-git/doc/guix.texi:3827
  8114. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  8115. msgstr ""
  8116. #. type: example
  8117. #: guix-git/doc/guix.texi:3836
  8118. #, no-wrap
  8119. msgid ""
  8120. "$ guix build emacs --dry-run\n"
  8121. "The following derivations would be built:\n"
  8122. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  8123. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  8124. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  8125. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  8126. "@dots{}\n"
  8127. msgstr ""
  8128. #. type: Plain text
  8129. #: guix-git/doc/guix.texi:3840
  8130. msgid "to something like:"
  8131. msgstr ""
  8132. #. type: example
  8133. #: guix-git/doc/guix.texi:3849
  8134. #, no-wrap
  8135. msgid ""
  8136. "$ guix build emacs --dry-run\n"
  8137. "112.3 MB would be downloaded:\n"
  8138. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  8139. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  8140. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  8141. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  8142. "@dots{}\n"
  8143. msgstr ""
  8144. #. type: Plain text
  8145. #: guix-git/doc/guix.texi:3856
  8146. 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."
  8147. msgstr ""
  8148. #. type: cindex
  8149. #: guix-git/doc/guix.texi:3857
  8150. #, no-wrap
  8151. msgid "substitutes, how to disable"
  8152. msgstr ""
  8153. #. type: Plain text
  8154. #: guix-git/doc/guix.texi:3863
  8155. 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."
  8156. msgstr ""
  8157. #. type: cindex
  8158. #: guix-git/doc/guix.texi:3867
  8159. #, no-wrap
  8160. msgid "substitute servers, adding more"
  8161. msgstr ""
  8162. #. type: Plain text
  8163. #: guix-git/doc/guix.texi:3874
  8164. 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."
  8165. msgstr ""
  8166. #. type: Plain text
  8167. #: guix-git/doc/guix.texi:3879
  8168. 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."
  8169. msgstr ""
  8170. #. type: Plain text
  8171. #: guix-git/doc/guix.texi:3886
  8172. 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}})."
  8173. msgstr ""
  8174. #. type: Plain text
  8175. #: guix-git/doc/guix.texi:3892
  8176. 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:"
  8177. msgstr ""
  8178. #. type: lisp
  8179. #: guix-git/doc/guix.texi:3909
  8180. #, no-wrap
  8181. msgid ""
  8182. "(operating-system\n"
  8183. " ;; @dots{}\n"
  8184. " (services\n"
  8185. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  8186. " ;; with the list of services you're actually using.\n"
  8187. " (modify-services %desktop-services\n"
  8188. " (guix-service-type config =>\n"
  8189. " (guix-configuration\n"
  8190. " (inherit config)\n"
  8191. " (substitute-urls\n"
  8192. " (append (list \"https://guix.example.org\")\n"
  8193. " %default-substitute-urls))\n"
  8194. " (authorized-keys\n"
  8195. " (append (list (local-file \"./key.pub\"))\n"
  8196. " %default-authorized-guix-keys)))))))\n"
  8197. msgstr ""
  8198. #. type: Plain text
  8199. #: guix-git/doc/guix.texi:3916
  8200. 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:"
  8201. msgstr ""
  8202. #. type: example
  8203. #: guix-git/doc/guix.texi:3920
  8204. #, no-wrap
  8205. msgid ""
  8206. "$ sudo guix system reconfigure /etc/config.scm\n"
  8207. "$ sudo herd restart guix-daemon\n"
  8208. msgstr ""
  8209. #. type: Plain text
  8210. #: guix-git/doc/guix.texi:3924
  8211. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8212. msgstr ""
  8213. #. type: enumerate
  8214. #: guix-git/doc/guix.texi:3933
  8215. 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}}):"
  8216. msgstr ""
  8217. #. type: example
  8218. #: guix-git/doc/guix.texi:3936
  8219. #, no-wrap
  8220. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8221. msgstr ""
  8222. #. type: enumerate
  8223. #: guix-git/doc/guix.texi:3940
  8224. msgid "Restart the daemon. For systemd, it goes like this:"
  8225. msgstr ""
  8226. #. type: example
  8227. #: guix-git/doc/guix.texi:3944
  8228. #, no-wrap
  8229. msgid ""
  8230. "systemctl daemon-reload\n"
  8231. "systemctl restart guix-daemon.service\n"
  8232. msgstr ""
  8233. #. type: enumerate
  8234. #: guix-git/doc/guix.texi:3948
  8235. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8236. msgstr ""
  8237. #. type: example
  8238. #: guix-git/doc/guix.texi:3951
  8239. #, no-wrap
  8240. msgid "guix archive --authorize < key.pub\n"
  8241. msgstr ""
  8242. #. type: enumerate
  8243. #: guix-git/doc/guix.texi:3955
  8244. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8245. msgstr ""
  8246. #. type: Plain text
  8247. #: guix-git/doc/guix.texi:3964
  8248. 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."
  8249. msgstr ""
  8250. #. type: Plain text
  8251. #: guix-git/doc/guix.texi:3968
  8252. 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."
  8253. msgstr ""
  8254. #. type: cindex
  8255. #: guix-git/doc/guix.texi:3972
  8256. #, no-wrap
  8257. msgid "digital signatures"
  8258. msgstr ""
  8259. #. type: Plain text
  8260. #: guix-git/doc/guix.texi:3976
  8261. 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."
  8262. msgstr ""
  8263. #. type: Plain text
  8264. #: guix-git/doc/guix.texi:3982
  8265. 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:"
  8266. msgstr ""
  8267. #. type: example
  8268. #: guix-git/doc/guix.texi:3985
  8269. #, no-wrap
  8270. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8271. msgstr ""
  8272. #. type: Plain text
  8273. #: guix-git/doc/guix.texi:3996
  8274. 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)."
  8275. msgstr ""
  8276. #. type: Plain text
  8277. #: guix-git/doc/guix.texi:4003
  8278. 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)."
  8279. msgstr ""
  8280. #. type: Plain text
  8281. #: guix-git/doc/guix.texi:4015
  8282. 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}."
  8283. msgstr ""
  8284. #. type: Plain text
  8285. #: guix-git/doc/guix.texi:4024
  8286. 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."
  8287. msgstr ""
  8288. #. type: Plain text
  8289. #: guix-git/doc/guix.texi:4038
  8290. 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."
  8291. msgstr ""
  8292. #. type: Plain text
  8293. #: guix-git/doc/guix.texi:4043
  8294. 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."
  8295. msgstr ""
  8296. #. type: cindex
  8297. #: guix-git/doc/guix.texi:4047
  8298. #, no-wrap
  8299. msgid "trust, of pre-built binaries"
  8300. msgstr ""
  8301. #. type: Plain text
  8302. #: guix-git/doc/guix.texi:4057
  8303. 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})."
  8304. msgstr ""
  8305. #. type: Plain text
  8306. #: guix-git/doc/guix.texi:4069
  8307. 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}})."
  8308. msgstr ""
  8309. #. type: Plain text
  8310. #: guix-git/doc/guix.texi:4073
  8311. 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}."
  8312. msgstr ""
  8313. #. type: cindex
  8314. #: guix-git/doc/guix.texi:4077
  8315. #, no-wrap
  8316. msgid "multiple-output packages"
  8317. msgstr ""
  8318. #. type: cindex
  8319. #: guix-git/doc/guix.texi:4078
  8320. #, no-wrap
  8321. msgid "package outputs"
  8322. msgstr ""
  8323. #. type: cindex
  8324. #: guix-git/doc/guix.texi:4079
  8325. #, no-wrap
  8326. msgid "outputs"
  8327. msgstr ""
  8328. #. type: Plain text
  8329. #: guix-git/doc/guix.texi:4089
  8330. 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."
  8331. msgstr ""
  8332. #. type: Plain text
  8333. #: guix-git/doc/guix.texi:4097
  8334. 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:"
  8335. msgstr ""
  8336. #. type: example
  8337. #: guix-git/doc/guix.texi:4100
  8338. #, no-wrap
  8339. msgid "guix install glib\n"
  8340. msgstr ""
  8341. #. type: item
  8342. #: guix-git/doc/guix.texi:4102 guix-git/doc/guix.texi:36368
  8343. #: guix-git/doc/guix.texi:36425
  8344. #, no-wrap
  8345. msgid "documentation"
  8346. msgstr ""
  8347. #. type: Plain text
  8348. #: guix-git/doc/guix.texi:4104
  8349. msgid "The command to install its documentation is:"
  8350. msgstr ""
  8351. #. type: example
  8352. #: guix-git/doc/guix.texi:4107
  8353. #, no-wrap
  8354. msgid "guix install glib:doc\n"
  8355. msgstr ""
  8356. #. type: Plain text
  8357. #: guix-git/doc/guix.texi:4118
  8358. 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})."
  8359. msgstr ""
  8360. #. type: Plain text
  8361. #: guix-git/doc/guix.texi:4126
  8362. 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})."
  8363. msgstr ""
  8364. #. type: section
  8365. #: guix-git/doc/guix.texi:4129
  8366. #, no-wrap
  8367. msgid "Invoking @command{guix gc}"
  8368. msgstr ""
  8369. #. type: cindex
  8370. #: guix-git/doc/guix.texi:4131
  8371. #, no-wrap
  8372. msgid "garbage collector"
  8373. msgstr ""
  8374. #. type: cindex
  8375. #: guix-git/doc/guix.texi:4132
  8376. #, no-wrap
  8377. msgid "disk space"
  8378. msgstr ""
  8379. #. type: Plain text
  8380. #: guix-git/doc/guix.texi:4138
  8381. 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!"
  8382. msgstr ""
  8383. #. type: Plain text
  8384. #: guix-git/doc/guix.texi:4149
  8385. 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."
  8386. msgstr ""
  8387. #. type: Plain text
  8388. #: guix-git/doc/guix.texi:4155
  8389. 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})."
  8390. msgstr ""
  8391. #. type: Plain text
  8392. #: guix-git/doc/guix.texi:4159
  8393. 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:"
  8394. msgstr ""
  8395. #. type: example
  8396. #: guix-git/doc/guix.texi:4162
  8397. #, no-wrap
  8398. msgid "guix gc -F 5G\n"
  8399. msgstr ""
  8400. #. type: Plain text
  8401. #: guix-git/doc/guix.texi:4171
  8402. 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."
  8403. msgstr ""
  8404. #. type: Plain text
  8405. #: guix-git/doc/guix.texi:4177
  8406. 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:"
  8407. msgstr ""
  8408. #. type: item
  8409. #: guix-git/doc/guix.texi:4179
  8410. #, no-wrap
  8411. msgid "--collect-garbage[=@var{min}]"
  8412. msgstr ""
  8413. #. type: itemx
  8414. #: guix-git/doc/guix.texi:4180
  8415. #, no-wrap
  8416. msgid "-C [@var{min}]"
  8417. msgstr ""
  8418. #. type: table
  8419. #: guix-git/doc/guix.texi:4184
  8420. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8421. msgstr ""
  8422. #. type: table
  8423. #: guix-git/doc/guix.texi:4189
  8424. 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})."
  8425. msgstr ""
  8426. #. type: table
  8427. #: guix-git/doc/guix.texi:4191
  8428. msgid "When @var{min} is omitted, collect all the garbage."
  8429. msgstr ""
  8430. #. type: item
  8431. #: guix-git/doc/guix.texi:4192
  8432. #, no-wrap
  8433. msgid "--free-space=@var{free}"
  8434. msgstr ""
  8435. #. type: itemx
  8436. #: guix-git/doc/guix.texi:4193
  8437. #, no-wrap
  8438. msgid "-F @var{free}"
  8439. msgstr ""
  8440. #. type: table
  8441. #: guix-git/doc/guix.texi:4197
  8442. 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."
  8443. msgstr ""
  8444. #. type: table
  8445. #: guix-git/doc/guix.texi:4200
  8446. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8447. msgstr ""
  8448. #. type: item
  8449. #: guix-git/doc/guix.texi:4201
  8450. #, no-wrap
  8451. msgid "--delete-generations[=@var{duration}]"
  8452. msgstr ""
  8453. #. type: itemx
  8454. #: guix-git/doc/guix.texi:4202
  8455. #, no-wrap
  8456. msgid "-d [@var{duration}]"
  8457. msgstr ""
  8458. #. type: table
  8459. #: guix-git/doc/guix.texi:4206
  8460. 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}."
  8461. msgstr ""
  8462. #. type: table
  8463. #: guix-git/doc/guix.texi:4210
  8464. 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:"
  8465. msgstr ""
  8466. #. type: example
  8467. #: guix-git/doc/guix.texi:4213
  8468. #, no-wrap
  8469. msgid "guix gc -d 2m -F 10G\n"
  8470. msgstr ""
  8471. #. type: item
  8472. #: guix-git/doc/guix.texi:4215
  8473. #, no-wrap
  8474. msgid "--delete"
  8475. msgstr ""
  8476. #. type: itemx
  8477. #: guix-git/doc/guix.texi:4216 guix-git/doc/guix.texi:5740
  8478. #, no-wrap
  8479. msgid "-D"
  8480. msgstr ""
  8481. #. type: table
  8482. #: guix-git/doc/guix.texi:4220
  8483. 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."
  8484. msgstr ""
  8485. #. type: item
  8486. #: guix-git/doc/guix.texi:4221
  8487. #, no-wrap
  8488. msgid "--list-failures"
  8489. msgstr ""
  8490. #. type: table
  8491. #: guix-git/doc/guix.texi:4223
  8492. msgid "List store items corresponding to cached build failures."
  8493. msgstr ""
  8494. #. type: table
  8495. #: guix-git/doc/guix.texi:4227
  8496. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8497. msgstr ""
  8498. #. type: item
  8499. #: guix-git/doc/guix.texi:4228
  8500. #, no-wrap
  8501. msgid "--list-roots"
  8502. msgstr ""
  8503. #. type: table
  8504. #: guix-git/doc/guix.texi:4231
  8505. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8506. msgstr ""
  8507. #. type: item
  8508. #: guix-git/doc/guix.texi:4232
  8509. #, no-wrap
  8510. msgid "--list-busy"
  8511. msgstr ""
  8512. #. type: table
  8513. #: guix-git/doc/guix.texi:4235
  8514. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8515. msgstr ""
  8516. #. type: item
  8517. #: guix-git/doc/guix.texi:4236
  8518. #, no-wrap
  8519. msgid "--clear-failures"
  8520. msgstr ""
  8521. #. type: table
  8522. #: guix-git/doc/guix.texi:4238
  8523. msgid "Remove the specified store items from the failed-build cache."
  8524. msgstr ""
  8525. #. type: table
  8526. #: guix-git/doc/guix.texi:4241
  8527. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8528. msgstr ""
  8529. #. type: item
  8530. #: guix-git/doc/guix.texi:4242
  8531. #, no-wrap
  8532. msgid "--list-dead"
  8533. msgstr ""
  8534. #. type: table
  8535. #: guix-git/doc/guix.texi:4245
  8536. 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."
  8537. msgstr ""
  8538. #. type: item
  8539. #: guix-git/doc/guix.texi:4246
  8540. #, no-wrap
  8541. msgid "--list-live"
  8542. msgstr ""
  8543. #. type: table
  8544. #: guix-git/doc/guix.texi:4248
  8545. msgid "Show the list of live store files and directories."
  8546. msgstr ""
  8547. #. type: Plain text
  8548. #: guix-git/doc/guix.texi:4252
  8549. msgid "In addition, the references among existing store files can be queried:"
  8550. msgstr ""
  8551. #. type: item
  8552. #: guix-git/doc/guix.texi:4255
  8553. #, no-wrap
  8554. msgid "--references"
  8555. msgstr ""
  8556. #. type: itemx
  8557. #: guix-git/doc/guix.texi:4256
  8558. #, no-wrap
  8559. msgid "--referrers"
  8560. msgstr ""
  8561. #. type: cindex
  8562. #: guix-git/doc/guix.texi:4257 guix-git/doc/guix.texi:13205
  8563. #, no-wrap
  8564. msgid "package dependencies"
  8565. msgstr ""
  8566. #. type: table
  8567. #: guix-git/doc/guix.texi:4260
  8568. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8569. msgstr ""
  8570. #. type: item
  8571. #: guix-git/doc/guix.texi:4261
  8572. #, no-wrap
  8573. msgid "--requisites"
  8574. msgstr ""
  8575. #. type: itemx
  8576. #: guix-git/doc/guix.texi:4262 guix-git/doc/guix.texi:6501
  8577. #, no-wrap
  8578. msgid "-R"
  8579. msgstr ""
  8580. #. type: item
  8581. #: guix-git/doc/guix.texi:4263 guix-git/doc/guix.texi:13061
  8582. #: guix-git/doc/guix.texi:13089 guix-git/doc/guix.texi:13170
  8583. #, no-wrap
  8584. msgid "closure"
  8585. msgstr ""
  8586. #. type: table
  8587. #: guix-git/doc/guix.texi:4268
  8588. 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."
  8589. msgstr ""
  8590. #. type: table
  8591. #: guix-git/doc/guix.texi:4272
  8592. 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."
  8593. msgstr ""
  8594. #. type: item
  8595. #: guix-git/doc/guix.texi:4273
  8596. #, no-wrap
  8597. msgid "--derivers"
  8598. msgstr ""
  8599. #. type: item
  8600. #: guix-git/doc/guix.texi:4274 guix-git/doc/guix.texi:6815
  8601. #: guix-git/doc/guix.texi:12917 guix-git/doc/guix.texi:13314
  8602. #, no-wrap
  8603. msgid "derivation"
  8604. msgstr ""
  8605. #. type: table
  8606. #: guix-git/doc/guix.texi:4277
  8607. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8608. msgstr ""
  8609. #. type: table
  8610. #: guix-git/doc/guix.texi:4279
  8611. msgid "For example, this command:"
  8612. msgstr ""
  8613. #. type: example
  8614. #: guix-git/doc/guix.texi:4282
  8615. #, no-wrap
  8616. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8617. msgstr ""
  8618. #. type: table
  8619. #: guix-git/doc/guix.texi:4287
  8620. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8621. msgstr ""
  8622. #. type: table
  8623. #: guix-git/doc/guix.texi:4291
  8624. 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."
  8625. msgstr ""
  8626. #. type: Plain text
  8627. #: guix-git/doc/guix.texi:4295
  8628. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8629. msgstr ""
  8630. #. type: item
  8631. #: guix-git/doc/guix.texi:4298
  8632. #, no-wrap
  8633. msgid "--verify[=@var{options}]"
  8634. msgstr ""
  8635. #. type: cindex
  8636. #: guix-git/doc/guix.texi:4299
  8637. #, no-wrap
  8638. msgid "integrity, of the store"
  8639. msgstr ""
  8640. #. type: cindex
  8641. #: guix-git/doc/guix.texi:4300
  8642. #, no-wrap
  8643. msgid "integrity checking"
  8644. msgstr ""
  8645. #. type: table
  8646. #: guix-git/doc/guix.texi:4302
  8647. msgid "Verify the integrity of the store."
  8648. msgstr ""
  8649. #. type: table
  8650. #: guix-git/doc/guix.texi:4305
  8651. 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}."
  8652. msgstr ""
  8653. #. type: table
  8654. #: guix-git/doc/guix.texi:4308
  8655. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8656. msgstr ""
  8657. #. type: table
  8658. #: guix-git/doc/guix.texi:4314
  8659. 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."
  8660. msgstr ""
  8661. #. type: cindex
  8662. #: guix-git/doc/guix.texi:4315
  8663. #, no-wrap
  8664. msgid "repairing the store"
  8665. msgstr ""
  8666. #. type: cindex
  8667. #: guix-git/doc/guix.texi:4316 guix-git/doc/guix.texi:11564
  8668. #, no-wrap
  8669. msgid "corruption, recovering from"
  8670. msgstr ""
  8671. #. type: table
  8672. #: guix-git/doc/guix.texi:4324
  8673. 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})."
  8674. msgstr ""
  8675. #. type: item
  8676. #: guix-git/doc/guix.texi:4325
  8677. #, no-wrap
  8678. msgid "--optimize"
  8679. msgstr ""
  8680. #. type: table
  8681. #: guix-git/doc/guix.texi:4329
  8682. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8683. msgstr ""
  8684. #. type: table
  8685. #: guix-git/doc/guix.texi:4335
  8686. 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}."
  8687. msgstr ""
  8688. #. type: section
  8689. #: guix-git/doc/guix.texi:4339
  8690. #, no-wrap
  8691. msgid "Invoking @command{guix pull}"
  8692. msgstr ""
  8693. #. type: cindex
  8694. #: guix-git/doc/guix.texi:4341
  8695. #, no-wrap
  8696. msgid "upgrading Guix"
  8697. msgstr ""
  8698. #. type: cindex
  8699. #: guix-git/doc/guix.texi:4342
  8700. #, no-wrap
  8701. msgid "updating Guix"
  8702. msgstr ""
  8703. #. type: command{#1}
  8704. #: guix-git/doc/guix.texi:4343
  8705. #, no-wrap
  8706. msgid "guix pull"
  8707. msgstr ""
  8708. #. type: cindex
  8709. #: guix-git/doc/guix.texi:4344
  8710. #, no-wrap
  8711. msgid "pull"
  8712. msgstr ""
  8713. #. type: cindex
  8714. #: guix-git/doc/guix.texi:4345
  8715. #, no-wrap
  8716. msgid "security, @command{guix pull}"
  8717. msgstr ""
  8718. #. type: cindex
  8719. #: guix-git/doc/guix.texi:4346
  8720. #, no-wrap
  8721. msgid "authenticity, of code obtained with @command{guix pull}"
  8722. msgstr ""
  8723. #. type: Plain text
  8724. #: guix-git/doc/guix.texi:4356
  8725. 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."
  8726. msgstr ""
  8727. #. type: Plain text
  8728. #: guix-git/doc/guix.texi:4359
  8729. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8730. msgstr ""
  8731. #. type: enumerate
  8732. #: guix-git/doc/guix.texi:4363
  8733. msgid "the @option{--channels} option;"
  8734. msgstr ""
  8735. #. type: enumerate
  8736. #: guix-git/doc/guix.texi:4365
  8737. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8738. msgstr ""
  8739. #. type: enumerate
  8740. #: guix-git/doc/guix.texi:4367
  8741. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8742. msgstr ""
  8743. #. type: enumerate
  8744. #: guix-git/doc/guix.texi:4370
  8745. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8746. msgstr ""
  8747. #. type: Plain text
  8748. #: guix-git/doc/guix.texi:4377
  8749. 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."
  8750. msgstr ""
  8751. #. type: Plain text
  8752. #: guix-git/doc/guix.texi:4383
  8753. 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."
  8754. msgstr ""
  8755. #. type: Plain text
  8756. #: guix-git/doc/guix.texi:4389
  8757. 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}):"
  8758. msgstr ""
  8759. #. type: example
  8760. #: guix-git/doc/guix.texi:4393
  8761. #, no-wrap
  8762. msgid ""
  8763. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8764. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8765. msgstr ""
  8766. #. type: Plain text
  8767. #: guix-git/doc/guix.texi:4397
  8768. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8769. msgstr ""
  8770. #. type: example
  8771. #: guix-git/doc/guix.texi:4405
  8772. #, no-wrap
  8773. msgid ""
  8774. "$ guix pull -l\n"
  8775. "Generation 1\tJun 10 2018 00:18:18\n"
  8776. " guix 65956ad\n"
  8777. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8778. " branch: origin/master\n"
  8779. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8780. "\n"
  8781. msgstr ""
  8782. #. type: example
  8783. #: guix-git/doc/guix.texi:4415
  8784. #, no-wrap
  8785. msgid ""
  8786. "Generation 2\tJun 11 2018 11:02:49\n"
  8787. " guix e0cc7f6\n"
  8788. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8789. " branch: origin/master\n"
  8790. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8791. " 2 new packages: keepalived, libnfnetlink\n"
  8792. " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n"
  8793. " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n"
  8794. " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n"
  8795. "\n"
  8796. msgstr ""
  8797. #. type: example
  8798. #: guix-git/doc/guix.texi:4423
  8799. #, no-wrap
  8800. msgid ""
  8801. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8802. " guix 844cc1c\n"
  8803. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8804. " branch: origin/master\n"
  8805. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8806. " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n"
  8807. " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n"
  8808. msgstr ""
  8809. #. type: Plain text
  8810. #: guix-git/doc/guix.texi:4427
  8811. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8812. msgstr ""
  8813. #. type: Plain text
  8814. #: guix-git/doc/guix.texi:4432
  8815. 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:"
  8816. msgstr ""
  8817. #. type: example
  8818. #: guix-git/doc/guix.texi:4438
  8819. #, no-wrap
  8820. msgid ""
  8821. "$ guix pull --roll-back\n"
  8822. "switched from generation 3 to 2\n"
  8823. "$ guix pull --delete-generations=1\n"
  8824. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8825. msgstr ""
  8826. #. type: Plain text
  8827. #: guix-git/doc/guix.texi:4442
  8828. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8829. msgstr ""
  8830. #. type: example
  8831. #: guix-git/doc/guix.texi:4447
  8832. #, no-wrap
  8833. msgid ""
  8834. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8835. "switched from generation 3 to 2\n"
  8836. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8837. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8838. msgstr ""
  8839. #. type: Plain text
  8840. #: guix-git/doc/guix.texi:4451
  8841. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8842. msgstr ""
  8843. #. type: item
  8844. #: guix-git/doc/guix.texi:4453 guix-git/doc/guix.texi:4611
  8845. #, no-wrap
  8846. msgid "--url=@var{url}"
  8847. msgstr ""
  8848. #. type: itemx
  8849. #: guix-git/doc/guix.texi:4454 guix-git/doc/guix.texi:4612
  8850. #, no-wrap
  8851. msgid "--commit=@var{commit}"
  8852. msgstr ""
  8853. #. type: itemx
  8854. #: guix-git/doc/guix.texi:4455 guix-git/doc/guix.texi:4613
  8855. #, no-wrap
  8856. msgid "--branch=@var{branch}"
  8857. msgstr ""
  8858. #. type: table
  8859. #: guix-git/doc/guix.texi:4459
  8860. 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}."
  8861. msgstr ""
  8862. #. type: cindex
  8863. #: guix-git/doc/guix.texi:4460 guix-git/doc/guix.texi:5057
  8864. #, no-wrap
  8865. msgid "@file{channels.scm}, configuration file"
  8866. msgstr ""
  8867. #. type: cindex
  8868. #: guix-git/doc/guix.texi:4461 guix-git/doc/guix.texi:5058
  8869. #, no-wrap
  8870. msgid "configuration file for channels"
  8871. msgstr ""
  8872. #. type: table
  8873. #: guix-git/doc/guix.texi:4465
  8874. 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)."
  8875. msgstr ""
  8876. #. type: item
  8877. #: guix-git/doc/guix.texi:4466 guix-git/doc/guix.texi:4618
  8878. #, no-wrap
  8879. msgid "--channels=@var{file}"
  8880. msgstr ""
  8881. #. type: itemx
  8882. #: guix-git/doc/guix.texi:4467 guix-git/doc/guix.texi:4619
  8883. #, no-wrap
  8884. msgid "-C @var{file}"
  8885. msgstr ""
  8886. #. type: table
  8887. #: guix-git/doc/guix.texi:4473
  8888. 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."
  8889. msgstr ""
  8890. #. type: cindex
  8891. #: guix-git/doc/guix.texi:4474
  8892. #, no-wrap
  8893. msgid "channel news"
  8894. msgstr ""
  8895. #. type: item
  8896. #: guix-git/doc/guix.texi:4475
  8897. #, no-wrap
  8898. msgid "--news"
  8899. msgstr ""
  8900. #. type: itemx
  8901. #: guix-git/doc/guix.texi:4476 guix-git/doc/guix.texi:5864
  8902. #: guix-git/doc/guix.texi:6247 guix-git/doc/guix.texi:35304
  8903. #, no-wrap
  8904. msgid "-N"
  8905. msgstr ""
  8906. #. type: table
  8907. #: guix-git/doc/guix.texi:4480
  8908. 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})."
  8909. msgstr ""
  8910. #. type: table
  8911. #: guix-git/doc/guix.texi:4484
  8912. 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)."
  8913. msgstr ""
  8914. #. type: table
  8915. #: guix-git/doc/guix.texi:4491
  8916. 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})."
  8917. msgstr ""
  8918. #. type: table
  8919. #: guix-git/doc/guix.texi:4498
  8920. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  8921. msgstr ""
  8922. #. type: table
  8923. #: guix-git/doc/guix.texi:4522
  8924. msgid "If the current generation matches, it is @emph{not} deleted."
  8925. msgstr ""
  8926. #. type: table
  8927. #: guix-git/doc/guix.texi:4528
  8928. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  8929. msgstr ""
  8930. #. type: table
  8931. #: guix-git/doc/guix.texi:4532
  8932. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  8933. msgstr ""
  8934. #. type: item
  8935. #: guix-git/doc/guix.texi:4533 guix-git/doc/guix.texi:10893
  8936. #: guix-git/doc/guix.texi:12836
  8937. #, no-wrap
  8938. msgid "--dry-run"
  8939. msgstr ""
  8940. #. type: itemx
  8941. #: guix-git/doc/guix.texi:4534 guix-git/doc/guix.texi:10894
  8942. #: guix-git/doc/guix.texi:12837 guix-git/doc/guix.texi:13043
  8943. #, no-wrap
  8944. msgid "-n"
  8945. msgstr ""
  8946. #. type: table
  8947. #: guix-git/doc/guix.texi:4537
  8948. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  8949. msgstr ""
  8950. #. type: item
  8951. #: guix-git/doc/guix.texi:4538 guix-git/doc/guix.texi:35323
  8952. #, no-wrap
  8953. msgid "--allow-downgrades"
  8954. msgstr ""
  8955. #. type: table
  8956. #: guix-git/doc/guix.texi:4541
  8957. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  8958. msgstr ""
  8959. #. type: cindex
  8960. #: guix-git/doc/guix.texi:4542
  8961. #, no-wrap
  8962. msgid "downgrade attacks, protection against"
  8963. msgstr ""
  8964. #. type: table
  8965. #: guix-git/doc/guix.texi:4547
  8966. 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."
  8967. msgstr ""
  8968. #. type: quotation
  8969. #: guix-git/doc/guix.texi:4551 guix-git/doc/guix.texi:35337
  8970. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  8971. msgstr ""
  8972. #. type: item
  8973. #: guix-git/doc/guix.texi:4553
  8974. #, no-wrap
  8975. msgid "--disable-authentication"
  8976. msgstr ""
  8977. #. type: table
  8978. #: guix-git/doc/guix.texi:4555
  8979. msgid "Allow pulling channel code without authenticating it."
  8980. msgstr ""
  8981. #. type: cindex
  8982. #: guix-git/doc/guix.texi:4556 guix-git/doc/guix.texi:5203
  8983. #, no-wrap
  8984. msgid "authentication, of channel code"
  8985. msgstr ""
  8986. #. type: table
  8987. #: guix-git/doc/guix.texi:4561
  8988. 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."
  8989. msgstr ""
  8990. #. type: quotation
  8991. #: guix-git/doc/guix.texi:4565
  8992. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  8993. msgstr ""
  8994. #. type: itemx
  8995. #: guix-git/doc/guix.texi:4568 guix-git/doc/guix.texi:5847
  8996. #: guix-git/doc/guix.texi:6230 guix-git/doc/guix.texi:6630
  8997. #: guix-git/doc/guix.texi:11506 guix-git/doc/guix.texi:13188
  8998. #: guix-git/doc/guix.texi:13453 guix-git/doc/guix.texi:14130
  8999. #: guix-git/doc/guix.texi:35252
  9000. #, no-wrap
  9001. msgid "-s @var{system}"
  9002. msgstr ""
  9003. #. type: table
  9004. #: guix-git/doc/guix.texi:4571 guix-git/doc/guix.texi:6633
  9005. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  9006. msgstr ""
  9007. #. type: table
  9008. #: guix-git/doc/guix.texi:4575
  9009. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  9010. msgstr ""
  9011. #. type: Plain text
  9012. #: guix-git/doc/guix.texi:4581
  9013. 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."
  9014. msgstr ""
  9015. #. type: Plain text
  9016. #: guix-git/doc/guix.texi:4584
  9017. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  9018. msgstr ""
  9019. #. type: section
  9020. #: guix-git/doc/guix.texi:4586
  9021. #, no-wrap
  9022. msgid "Invoking @command{guix time-machine}"
  9023. msgstr ""
  9024. #. type: command{#1}
  9025. #: guix-git/doc/guix.texi:4588
  9026. #, no-wrap
  9027. msgid "guix time-machine"
  9028. msgstr ""
  9029. #. type: cindex
  9030. #: guix-git/doc/guix.texi:4589 guix-git/doc/guix.texi:5161
  9031. #, no-wrap
  9032. msgid "pinning, channels"
  9033. msgstr ""
  9034. #. type: cindex
  9035. #: guix-git/doc/guix.texi:4590 guix-git/doc/guix.texi:4772
  9036. #: guix-git/doc/guix.texi:5162
  9037. #, no-wrap
  9038. msgid "replicating Guix"
  9039. msgstr ""
  9040. #. type: cindex
  9041. #: guix-git/doc/guix.texi:4591 guix-git/doc/guix.texi:5163
  9042. #, no-wrap
  9043. msgid "reproducibility, of Guix"
  9044. msgstr ""
  9045. #. type: Plain text
  9046. #: guix-git/doc/guix.texi:4599
  9047. 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})."
  9048. msgstr ""
  9049. #. type: Plain text
  9050. #: guix-git/doc/guix.texi:4601 guix-git/doc/guix.texi:5623
  9051. #: guix-git/doc/guix.texi:5974 guix-git/doc/guix.texi:6753
  9052. #: guix-git/doc/guix.texi:10689 guix-git/doc/guix.texi:10813
  9053. #: guix-git/doc/guix.texi:11797 guix-git/doc/guix.texi:11892
  9054. #: guix-git/doc/guix.texi:12825 guix-git/doc/guix.texi:13018
  9055. #: guix-git/doc/guix.texi:13511 guix-git/doc/guix.texi:13884
  9056. #: guix-git/doc/guix.texi:13973 guix-git/doc/guix.texi:14012
  9057. #: guix-git/doc/guix.texi:14109
  9058. msgid "The general syntax is:"
  9059. msgstr ""
  9060. #. type: example
  9061. #: guix-git/doc/guix.texi:4604
  9062. #, no-wrap
  9063. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  9064. msgstr ""
  9065. #. type: Plain text
  9066. #: guix-git/doc/guix.texi:4609
  9067. 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}):"
  9068. msgstr ""
  9069. #. type: table
  9070. #: guix-git/doc/guix.texi:4617
  9071. 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}."
  9072. msgstr ""
  9073. #. type: table
  9074. #: guix-git/doc/guix.texi:4623
  9075. 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."
  9076. msgstr ""
  9077. #. type: Plain text
  9078. #: guix-git/doc/guix.texi:4627
  9079. 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"
  9080. msgstr ""
  9081. #. type: example
  9082. #: guix-git/doc/guix.texi:4630
  9083. #, no-wrap
  9084. msgid "guix time-machine -- build hello\n"
  9085. msgstr ""
  9086. #. type: Plain text
  9087. #: guix-git/doc/guix.texi:4635
  9088. 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!"
  9089. msgstr ""
  9090. #. type: Plain text
  9091. #: guix-git/doc/guix.texi:4639
  9092. 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})."
  9093. msgstr ""
  9094. #. type: quotation
  9095. #: guix-git/doc/guix.texi:4647
  9096. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  9097. msgstr ""
  9098. #. type: cindex
  9099. #: guix-git/doc/guix.texi:4649 guix-git/doc/guix.texi:10726
  9100. #, no-wrap
  9101. msgid "inferiors"
  9102. msgstr ""
  9103. #. type: cindex
  9104. #: guix-git/doc/guix.texi:4650
  9105. #, no-wrap
  9106. msgid "composition of Guix revisions"
  9107. msgstr ""
  9108. #. type: Plain text
  9109. #: guix-git/doc/guix.texi:4655
  9110. 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."
  9111. msgstr ""
  9112. #. type: cindex
  9113. #: guix-git/doc/guix.texi:4656 guix-git/doc/guix.texi:4721
  9114. #, no-wrap
  9115. msgid "inferior packages"
  9116. msgstr ""
  9117. #. type: Plain text
  9118. #: guix-git/doc/guix.texi:4662
  9119. 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}."
  9120. msgstr ""
  9121. #. type: Plain text
  9122. #: guix-git/doc/guix.texi:4672
  9123. 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:"
  9124. msgstr ""
  9125. #. type: lisp
  9126. #: guix-git/doc/guix.texi:4676
  9127. #, no-wrap
  9128. msgid ""
  9129. "(use-modules (guix inferior) (guix channels)\n"
  9130. " (srfi srfi-1)) ;for 'first'\n"
  9131. "\n"
  9132. msgstr ""
  9133. #. type: lisp
  9134. #: guix-git/doc/guix.texi:4685
  9135. #, no-wrap
  9136. msgid ""
  9137. "(define channels\n"
  9138. " ;; This is the old revision from which we want to\n"
  9139. " ;; extract guile-json.\n"
  9140. " (list (channel\n"
  9141. " (name 'guix)\n"
  9142. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9143. " (commit\n"
  9144. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  9145. "\n"
  9146. msgstr ""
  9147. #. type: lisp
  9148. #: guix-git/doc/guix.texi:4689
  9149. #, no-wrap
  9150. msgid ""
  9151. "(define inferior\n"
  9152. " ;; An inferior representing the above revision.\n"
  9153. " (inferior-for-channels channels))\n"
  9154. "\n"
  9155. msgstr ""
  9156. #. type: lisp
  9157. #: guix-git/doc/guix.texi:4695
  9158. #, no-wrap
  9159. msgid ""
  9160. ";; Now create a manifest with the current \"guile\" package\n"
  9161. ";; and the old \"guile-json\" package.\n"
  9162. "(packages->manifest\n"
  9163. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  9164. " (specification->package \"guile\")))\n"
  9165. msgstr ""
  9166. #. type: Plain text
  9167. #: guix-git/doc/guix.texi:4700
  9168. 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."
  9169. msgstr ""
  9170. #. type: Plain text
  9171. #: guix-git/doc/guix.texi:4703
  9172. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  9173. msgstr ""
  9174. #. type: deffn
  9175. #: guix-git/doc/guix.texi:4704
  9176. #, no-wrap
  9177. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  9178. msgstr ""
  9179. #. type: deffn
  9180. #: guix-git/doc/guix.texi:4709
  9181. 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."
  9182. msgstr ""
  9183. #. type: deffn
  9184. #: guix-git/doc/guix.texi:4712
  9185. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  9186. msgstr ""
  9187. #. type: deffn
  9188. #: guix-git/doc/guix.texi:4714
  9189. #, no-wrap
  9190. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  9191. msgstr ""
  9192. #. type: deffn
  9193. #: guix-git/doc/guix.texi:4719
  9194. 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."
  9195. msgstr ""
  9196. #. type: Plain text
  9197. #: guix-git/doc/guix.texi:4724
  9198. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  9199. msgstr ""
  9200. #. type: deffn
  9201. #: guix-git/doc/guix.texi:4725
  9202. #, no-wrap
  9203. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  9204. msgstr ""
  9205. #. type: deffn
  9206. #: guix-git/doc/guix.texi:4727
  9207. msgid "Return the list of packages known to @var{inferior}."
  9208. msgstr ""
  9209. #. type: deffn
  9210. #: guix-git/doc/guix.texi:4729
  9211. #, no-wrap
  9212. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  9213. msgstr ""
  9214. #. type: deffn
  9215. #: guix-git/doc/guix.texi:4734
  9216. 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}."
  9217. msgstr ""
  9218. #. type: deffn
  9219. #: guix-git/doc/guix.texi:4736
  9220. #, no-wrap
  9221. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9222. msgstr ""
  9223. #. type: deffn
  9224. #: guix-git/doc/guix.texi:4738
  9225. msgid "Return true if @var{obj} is an inferior package."
  9226. msgstr ""
  9227. #. type: deffn
  9228. #: guix-git/doc/guix.texi:4740
  9229. #, no-wrap
  9230. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9231. msgstr ""
  9232. #. type: deffnx
  9233. #: guix-git/doc/guix.texi:4741
  9234. #, no-wrap
  9235. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9236. msgstr ""
  9237. #. type: deffnx
  9238. #: guix-git/doc/guix.texi:4742
  9239. #, no-wrap
  9240. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9241. msgstr ""
  9242. #. type: deffnx
  9243. #: guix-git/doc/guix.texi:4743
  9244. #, no-wrap
  9245. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9246. msgstr ""
  9247. #. type: deffnx
  9248. #: guix-git/doc/guix.texi:4744
  9249. #, no-wrap
  9250. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9251. msgstr ""
  9252. #. type: deffnx
  9253. #: guix-git/doc/guix.texi:4745
  9254. #, no-wrap
  9255. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9256. msgstr ""
  9257. #. type: deffnx
  9258. #: guix-git/doc/guix.texi:4746
  9259. #, no-wrap
  9260. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9261. msgstr ""
  9262. #. type: deffnx
  9263. #: guix-git/doc/guix.texi:4747
  9264. #, no-wrap
  9265. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9266. msgstr ""
  9267. #. type: deffnx
  9268. #: guix-git/doc/guix.texi:4748
  9269. #, no-wrap
  9270. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9271. msgstr ""
  9272. #. type: deffnx
  9273. #: guix-git/doc/guix.texi:4749
  9274. #, no-wrap
  9275. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9276. msgstr ""
  9277. #. type: deffnx
  9278. #: guix-git/doc/guix.texi:4750
  9279. #, no-wrap
  9280. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9281. msgstr ""
  9282. #. type: deffnx
  9283. #: guix-git/doc/guix.texi:4751
  9284. #, no-wrap
  9285. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9286. msgstr ""
  9287. #. type: deffnx
  9288. #: guix-git/doc/guix.texi:4752
  9289. #, no-wrap
  9290. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9291. msgstr ""
  9292. #. type: deffn
  9293. #: guix-git/doc/guix.texi:4757
  9294. 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."
  9295. msgstr ""
  9296. #. type: Plain text
  9297. #: guix-git/doc/guix.texi:4767
  9298. 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."
  9299. msgstr ""
  9300. #. type: section
  9301. #: guix-git/doc/guix.texi:4769
  9302. #, no-wrap
  9303. msgid "Invoking @command{guix describe}"
  9304. msgstr ""
  9305. #. type: Plain text
  9306. #: guix-git/doc/guix.texi:4780
  9307. 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."
  9308. msgstr ""
  9309. #. type: Plain text
  9310. #: guix-git/doc/guix.texi:4784
  9311. 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}):"
  9312. msgstr ""
  9313. #. type: example
  9314. #: guix-git/doc/guix.texi:4792
  9315. #, no-wrap
  9316. msgid ""
  9317. "$ guix describe\n"
  9318. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9319. " guix e0fa68c\n"
  9320. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9321. " branch: master\n"
  9322. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9323. msgstr ""
  9324. #. type: Plain text
  9325. #: guix-git/doc/guix.texi:4801
  9326. 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."
  9327. msgstr ""
  9328. #. type: Plain text
  9329. #: guix-git/doc/guix.texi:4804
  9330. 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:"
  9331. msgstr ""
  9332. #. type: example
  9333. #: guix-git/doc/guix.texi:4817
  9334. #, no-wrap
  9335. msgid ""
  9336. "$ guix describe -f channels\n"
  9337. "(list (channel\n"
  9338. " (name 'guix)\n"
  9339. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9340. " (commit\n"
  9341. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9342. " (introduction\n"
  9343. " (make-channel-introduction\n"
  9344. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9345. " (openpgp-fingerprint\n"
  9346. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9347. msgstr ""
  9348. #. type: Plain text
  9349. #: guix-git/doc/guix.texi:4826
  9350. 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!"
  9351. msgstr ""
  9352. #. type: Plain text
  9353. #: guix-git/doc/guix.texi:4829
  9354. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9355. msgstr ""
  9356. #. type: item
  9357. #: guix-git/doc/guix.texi:4831 guix-git/doc/guix.texi:6431
  9358. #: guix-git/doc/guix.texi:14242
  9359. #, no-wrap
  9360. msgid "--format=@var{format}"
  9361. msgstr ""
  9362. #. type: itemx
  9363. #: guix-git/doc/guix.texi:4832 guix-git/doc/guix.texi:6432
  9364. #: guix-git/doc/guix.texi:14243
  9365. #, no-wrap
  9366. msgid "-f @var{format}"
  9367. msgstr ""
  9368. #. type: table
  9369. #: guix-git/doc/guix.texi:4834 guix-git/doc/guix.texi:14245
  9370. msgid "Produce output in the specified @var{format}, one of:"
  9371. msgstr ""
  9372. #. type: item
  9373. #: guix-git/doc/guix.texi:4836
  9374. #, no-wrap
  9375. msgid "human"
  9376. msgstr ""
  9377. #. type: table
  9378. #: guix-git/doc/guix.texi:4838
  9379. msgid "produce human-readable output;"
  9380. msgstr ""
  9381. #. type: cindex
  9382. #: guix-git/doc/guix.texi:4838 guix-git/doc/guix.texi:5056
  9383. #, no-wrap
  9384. msgid "channels"
  9385. msgstr ""
  9386. #. type: table
  9387. #: guix-git/doc/guix.texi:4842
  9388. 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});"
  9389. msgstr ""
  9390. #. type: item
  9391. #: guix-git/doc/guix.texi:4842
  9392. #, no-wrap
  9393. msgid "channels-sans-intro"
  9394. msgstr ""
  9395. #. type: table
  9396. #: guix-git/doc/guix.texi:4848
  9397. 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;"
  9398. msgstr ""
  9399. #. type: item
  9400. #: guix-git/doc/guix.texi:4848 guix-git/doc/guix.texi:12109
  9401. #, no-wrap
  9402. msgid "json"
  9403. msgstr ""
  9404. #. type: cindex
  9405. #: guix-git/doc/guix.texi:4849
  9406. #, no-wrap
  9407. msgid "JSON"
  9408. msgstr ""
  9409. #. type: table
  9410. #: guix-git/doc/guix.texi:4851
  9411. msgid "produce a list of channel specifications in JSON format;"
  9412. msgstr ""
  9413. #. type: item
  9414. #: guix-git/doc/guix.texi:4851 guix-git/doc/guix.texi:14247
  9415. #, no-wrap
  9416. msgid "recutils"
  9417. msgstr ""
  9418. #. type: table
  9419. #: guix-git/doc/guix.texi:4853
  9420. msgid "produce a list of channel specifications in Recutils format."
  9421. msgstr ""
  9422. #. type: item
  9423. #: guix-git/doc/guix.texi:4855
  9424. #, no-wrap
  9425. msgid "--list-formats"
  9426. msgstr ""
  9427. #. type: table
  9428. #: guix-git/doc/guix.texi:4857
  9429. msgid "Display available formats for @option{--format} option."
  9430. msgstr ""
  9431. #. type: table
  9432. #: guix-git/doc/guix.texi:4861
  9433. msgid "Display information about @var{profile}."
  9434. msgstr ""
  9435. #. type: section
  9436. #: guix-git/doc/guix.texi:4864
  9437. #, no-wrap
  9438. msgid "Invoking @command{guix archive}"
  9439. msgstr ""
  9440. #. type: command{#1}
  9441. #: guix-git/doc/guix.texi:4866
  9442. #, no-wrap
  9443. msgid "guix archive"
  9444. msgstr ""
  9445. #. type: cindex
  9446. #: guix-git/doc/guix.texi:4867
  9447. #, no-wrap
  9448. msgid "archive"
  9449. msgstr "بایگانی"
  9450. #. type: Plain text
  9451. #: guix-git/doc/guix.texi:4873
  9452. 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."
  9453. msgstr ""
  9454. #. type: quotation
  9455. #: guix-git/doc/guix.texi:4877
  9456. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9457. msgstr ""
  9458. #. type: cindex
  9459. #: guix-git/doc/guix.texi:4879
  9460. #, no-wrap
  9461. msgid "exporting store items"
  9462. msgstr ""
  9463. #. type: Plain text
  9464. #: guix-git/doc/guix.texi:4881
  9465. msgid "To export store files as an archive to standard output, run:"
  9466. msgstr ""
  9467. #. type: example
  9468. #: guix-git/doc/guix.texi:4884
  9469. #, no-wrap
  9470. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9471. msgstr ""
  9472. #. type: Plain text
  9473. #: guix-git/doc/guix.texi:4891
  9474. 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}:"
  9475. msgstr ""
  9476. #. type: example
  9477. #: guix-git/doc/guix.texi:4894
  9478. #, no-wrap
  9479. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9480. msgstr ""
  9481. #. type: Plain text
  9482. #: guix-git/doc/guix.texi:4899
  9483. 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})."
  9484. msgstr ""
  9485. #. type: Plain text
  9486. #: guix-git/doc/guix.texi:4902
  9487. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9488. msgstr ""
  9489. #. type: example
  9490. #: guix-git/doc/guix.texi:4905
  9491. #, no-wrap
  9492. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9493. msgstr ""
  9494. #. type: Plain text
  9495. #: guix-git/doc/guix.texi:4910
  9496. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9497. msgstr ""
  9498. #. type: example
  9499. #: guix-git/doc/guix.texi:4914
  9500. #, no-wrap
  9501. msgid ""
  9502. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9503. " ssh the-machine guix archive --import\n"
  9504. msgstr ""
  9505. #. type: Plain text
  9506. #: guix-git/doc/guix.texi:4924
  9507. 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})."
  9508. msgstr ""
  9509. #. type: cindex
  9510. #: guix-git/doc/guix.texi:4925
  9511. #, no-wrap
  9512. msgid "nar, archive format"
  9513. msgstr ""
  9514. #. type: cindex
  9515. #: guix-git/doc/guix.texi:4926
  9516. #, no-wrap
  9517. msgid "normalized archive (nar)"
  9518. msgstr ""
  9519. #. type: cindex
  9520. #: guix-git/doc/guix.texi:4927
  9521. #, no-wrap
  9522. msgid "nar bundle, archive format"
  9523. msgstr ""
  9524. #. type: Plain text
  9525. #: guix-git/doc/guix.texi:4932
  9526. 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}."
  9527. msgstr ""
  9528. #. type: Plain text
  9529. #: guix-git/doc/guix.texi:4942
  9530. 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."
  9531. msgstr ""
  9532. #. type: Plain text
  9533. #: guix-git/doc/guix.texi:4946
  9534. 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."
  9535. msgstr ""
  9536. #. type: Plain text
  9537. #: guix-git/doc/guix.texi:4952
  9538. 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."
  9539. msgstr ""
  9540. #. type: Plain text
  9541. #: guix-git/doc/guix.texi:4954
  9542. msgid "The main options are:"
  9543. msgstr ""
  9544. #. type: item
  9545. #: guix-git/doc/guix.texi:4956
  9546. #, no-wrap
  9547. msgid "--export"
  9548. msgstr ""
  9549. #. type: table
  9550. #: guix-git/doc/guix.texi:4959
  9551. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9552. msgstr ""
  9553. #. type: table
  9554. #: guix-git/doc/guix.texi:4962
  9555. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9556. msgstr ""
  9557. #. type: itemx
  9558. #: guix-git/doc/guix.texi:4963 guix-git/doc/guix.texi:11830
  9559. #: guix-git/doc/guix.texi:11956 guix-git/doc/guix.texi:11981
  9560. #: guix-git/doc/guix.texi:12013 guix-git/doc/guix.texi:12184
  9561. #: guix-git/doc/guix.texi:12225 guix-git/doc/guix.texi:12276
  9562. #: guix-git/doc/guix.texi:12301 guix-git/doc/guix.texi:12317
  9563. #: guix-git/doc/guix.texi:12365 guix-git/doc/guix.texi:12401
  9564. #, no-wrap
  9565. msgid "-r"
  9566. msgstr ""
  9567. #. type: item
  9568. #: guix-git/doc/guix.texi:4964 guix-git/doc/guix.texi:11829
  9569. #: guix-git/doc/guix.texi:11955 guix-git/doc/guix.texi:11980
  9570. #: guix-git/doc/guix.texi:12012 guix-git/doc/guix.texi:12183
  9571. #: guix-git/doc/guix.texi:12224 guix-git/doc/guix.texi:12275
  9572. #: guix-git/doc/guix.texi:12300 guix-git/doc/guix.texi:12316
  9573. #: guix-git/doc/guix.texi:12364 guix-git/doc/guix.texi:12400
  9574. #: guix-git/doc/guix.texi:12449
  9575. #, no-wrap
  9576. msgid "--recursive"
  9577. msgstr ""
  9578. #. type: table
  9579. #: guix-git/doc/guix.texi:4969
  9580. 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."
  9581. msgstr ""
  9582. #. type: item
  9583. #: guix-git/doc/guix.texi:4970
  9584. #, no-wrap
  9585. msgid "--import"
  9586. msgstr ""
  9587. #. type: table
  9588. #: guix-git/doc/guix.texi:4975
  9589. 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)."
  9590. msgstr ""
  9591. #. type: item
  9592. #: guix-git/doc/guix.texi:4976
  9593. #, no-wrap
  9594. msgid "--missing"
  9595. msgstr ""
  9596. #. type: table
  9597. #: guix-git/doc/guix.texi:4980
  9598. 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."
  9599. msgstr ""
  9600. #. type: item
  9601. #: guix-git/doc/guix.texi:4981
  9602. #, no-wrap
  9603. msgid "--generate-key[=@var{parameters}]"
  9604. msgstr ""
  9605. #. type: cindex
  9606. #: guix-git/doc/guix.texi:4982
  9607. #, no-wrap
  9608. msgid "signing, archives"
  9609. msgstr ""
  9610. #. type: table
  9611. #: guix-git/doc/guix.texi:4989
  9612. 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."
  9613. msgstr ""
  9614. #. type: table
  9615. #: guix-git/doc/guix.texi:4999
  9616. 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})."
  9617. msgstr ""
  9618. #. type: item
  9619. #: guix-git/doc/guix.texi:5000
  9620. #, no-wrap
  9621. msgid "--authorize"
  9622. msgstr ""
  9623. #. type: cindex
  9624. #: guix-git/doc/guix.texi:5001
  9625. #, no-wrap
  9626. msgid "authorizing, archives"
  9627. msgstr ""
  9628. #. type: table
  9629. #: guix-git/doc/guix.texi:5005
  9630. 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."
  9631. msgstr ""
  9632. #. type: table
  9633. #: guix-git/doc/guix.texi:5012
  9634. 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)}."
  9635. msgstr ""
  9636. #. type: item
  9637. #: guix-git/doc/guix.texi:5013
  9638. #, no-wrap
  9639. msgid "--extract=@var{directory}"
  9640. msgstr ""
  9641. #. type: itemx
  9642. #: guix-git/doc/guix.texi:5014
  9643. #, no-wrap
  9644. msgid "-x @var{directory}"
  9645. msgstr ""
  9646. #. type: table
  9647. #: guix-git/doc/guix.texi:5018
  9648. 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."
  9649. msgstr ""
  9650. #. type: table
  9651. #: guix-git/doc/guix.texi:5021
  9652. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9653. msgstr ""
  9654. #. type: example
  9655. #: guix-git/doc/guix.texi:5026
  9656. #, no-wrap
  9657. msgid ""
  9658. "$ wget -O - \\\n"
  9659. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9660. " | gunzip | guix archive -x /tmp/emacs\n"
  9661. msgstr ""
  9662. #. type: table
  9663. #: guix-git/doc/guix.texi:5033
  9664. 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."
  9665. msgstr ""
  9666. #. type: table
  9667. #: guix-git/doc/guix.texi:5037
  9668. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9669. msgstr ""
  9670. #. type: item
  9671. #: guix-git/doc/guix.texi:5038
  9672. #, no-wrap
  9673. msgid "--list"
  9674. msgstr ""
  9675. #. type: itemx
  9676. #: guix-git/doc/guix.texi:5039 guix-git/doc/guix.texi:12171
  9677. #: guix-git/doc/guix.texi:12218
  9678. #, no-wrap
  9679. msgid "-t"
  9680. msgstr ""
  9681. #. type: table
  9682. #: guix-git/doc/guix.texi:5043
  9683. 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:"
  9684. msgstr ""
  9685. #. type: example
  9686. #: guix-git/doc/guix.texi:5048
  9687. #, no-wrap
  9688. msgid ""
  9689. "$ wget -O - \\\n"
  9690. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9691. " | lzip -d | guix archive -t\n"
  9692. msgstr ""
  9693. #. type: cindex
  9694. #: guix-git/doc/guix.texi:5059
  9695. #, no-wrap
  9696. msgid "@command{guix pull}, configuration file"
  9697. msgstr ""
  9698. #. type: cindex
  9699. #: guix-git/doc/guix.texi:5060
  9700. #, no-wrap
  9701. msgid "configuration of @command{guix pull}"
  9702. msgstr ""
  9703. #. type: Plain text
  9704. #: guix-git/doc/guix.texi:5071
  9705. 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."
  9706. msgstr ""
  9707. #. type: cindex
  9708. #: guix-git/doc/guix.texi:5089
  9709. #, no-wrap
  9710. msgid "extending the package collection (channels)"
  9711. msgstr ""
  9712. #. type: cindex
  9713. #: guix-git/doc/guix.texi:5090
  9714. #, no-wrap
  9715. msgid "variant packages (channels)"
  9716. msgstr ""
  9717. #. type: Plain text
  9718. #: guix-git/doc/guix.texi:5094
  9719. 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):"
  9720. msgstr ""
  9721. #. type: vindex
  9722. #: guix-git/doc/guix.texi:5095
  9723. #, no-wrap
  9724. msgid "%default-channels"
  9725. msgstr ""
  9726. #. type: lisp
  9727. #: guix-git/doc/guix.texi:5102
  9728. #, no-wrap
  9729. msgid ""
  9730. ";; Add variant packages to those Guix provides.\n"
  9731. "(cons (channel\n"
  9732. " (name 'variant-packages)\n"
  9733. " (url \"https://example.org/variant-packages.git\"))\n"
  9734. " %default-channels)\n"
  9735. msgstr ""
  9736. #. type: Plain text
  9737. #: guix-git/doc/guix.texi:5112
  9738. 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:"
  9739. msgstr ""
  9740. #. type: example
  9741. #: guix-git/doc/guix.texi:5127
  9742. #, no-wrap
  9743. msgid ""
  9744. "$ guix pull --list-generations\n"
  9745. "@dots{}\n"
  9746. "Generation 19\tAug 27 2018 16:20:48\n"
  9747. " guix d894ab8\n"
  9748. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9749. " branch: master\n"
  9750. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9751. " variant-packages dd3df5e\n"
  9752. " repository URL: https://example.org/variant-packages.git\n"
  9753. " branch: master\n"
  9754. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9755. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9756. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9757. msgstr ""
  9758. #. type: Plain text
  9759. #: guix-git/doc/guix.texi:5135
  9760. 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."
  9761. msgstr ""
  9762. #. type: Plain text
  9763. #: guix-git/doc/guix.texi:5144
  9764. 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:"
  9765. msgstr ""
  9766. #. type: lisp
  9767. #: guix-git/doc/guix.texi:5151
  9768. #, no-wrap
  9769. msgid ""
  9770. ";; Tell 'guix pull' to use another repo.\n"
  9771. "(list (channel\n"
  9772. " (name 'guix)\n"
  9773. " (url \"https://example.org/another-guix.git\")\n"
  9774. " (branch \"super-hacks\")))\n"
  9775. msgstr ""
  9776. #. type: Plain text
  9777. #: guix-git/doc/guix.texi:5157
  9778. 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})."
  9779. msgstr ""
  9780. #. type: Plain text
  9781. #: guix-git/doc/guix.texi:5168
  9782. 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:"
  9783. msgstr ""
  9784. #. type: lisp
  9785. #: guix-git/doc/guix.texi:5179
  9786. #, no-wrap
  9787. msgid ""
  9788. ";; Deploy specific commits of my channels of interest.\n"
  9789. "(list (channel\n"
  9790. " (name 'guix)\n"
  9791. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9792. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9793. " (channel\n"
  9794. " (name 'variant-packages)\n"
  9795. " (url \"https://example.org/variant-packages.git\")\n"
  9796. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9797. msgstr ""
  9798. #. type: Plain text
  9799. #: guix-git/doc/guix.texi:5186
  9800. 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})."
  9801. msgstr ""
  9802. #. type: Plain text
  9803. #: guix-git/doc/guix.texi:5193
  9804. 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."
  9805. msgstr ""
  9806. #. type: Plain text
  9807. #: guix-git/doc/guix.texi:5198
  9808. 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."
  9809. msgstr ""
  9810. #. type: anchor{#1}
  9811. #: guix-git/doc/guix.texi:5203
  9812. msgid "channel-authentication"
  9813. msgstr ""
  9814. #. type: Plain text
  9815. #: guix-git/doc/guix.texi:5209
  9816. 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."
  9817. msgstr ""
  9818. #. type: Plain text
  9819. #: guix-git/doc/guix.texi:5214
  9820. 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:"
  9821. msgstr ""
  9822. #. type: lisp
  9823. #: guix-git/doc/guix.texi:5224
  9824. #, no-wrap
  9825. msgid ""
  9826. "(channel\n"
  9827. " (name 'some-channel)\n"
  9828. " (url \"https://example.org/some-channel.git\")\n"
  9829. " (introduction\n"
  9830. " (make-channel-introduction\n"
  9831. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9832. " (openpgp-fingerprint\n"
  9833. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9834. msgstr ""
  9835. #. type: Plain text
  9836. #: guix-git/doc/guix.texi:5230
  9837. 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{}}."
  9838. msgstr ""
  9839. #. type: Plain text
  9840. #: guix-git/doc/guix.texi:5236
  9841. 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."
  9842. msgstr ""
  9843. #. type: Plain text
  9844. #: guix-git/doc/guix.texi:5238
  9845. msgid "If you're curious about the authentication mechanics, read on!"
  9846. msgstr ""
  9847. #. type: Plain text
  9848. #: guix-git/doc/guix.texi:5249
  9849. 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}."
  9850. msgstr ""
  9851. #. type: lisp
  9852. #: guix-git/doc/guix.texi:5252
  9853. #, no-wrap
  9854. msgid ""
  9855. "(use-modules (guix ci))\n"
  9856. "\n"
  9857. msgstr ""
  9858. #. type: lisp
  9859. #: guix-git/doc/guix.texi:5256
  9860. #, no-wrap
  9861. msgid ""
  9862. "(list (channel-with-substitutes-available\n"
  9863. " %default-guix-channel\n"
  9864. " \"https://ci.guix.gnu.org\"))\n"
  9865. msgstr ""
  9866. #. type: Plain text
  9867. #: guix-git/doc/guix.texi:5263
  9868. 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."
  9869. msgstr ""
  9870. #. type: cindex
  9871. #: guix-git/doc/guix.texi:5267
  9872. #, no-wrap
  9873. msgid "personal packages (channels)"
  9874. msgstr ""
  9875. #. type: cindex
  9876. #: guix-git/doc/guix.texi:5268
  9877. #, no-wrap
  9878. msgid "channels, for personal packages"
  9879. msgstr ""
  9880. #. type: Plain text
  9881. #: guix-git/doc/guix.texi:5276
  9882. 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?"
  9883. msgstr ""
  9884. #. type: quotation
  9885. #: guix-git/doc/guix.texi:5284
  9886. 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:"
  9887. msgstr ""
  9888. #. type: itemize
  9889. #: guix-git/doc/guix.texi:5292
  9890. 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."
  9891. msgstr ""
  9892. #. type: itemize
  9893. #: guix-git/doc/guix.texi:5301
  9894. 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."
  9895. msgstr ""
  9896. #. type: itemize
  9897. #: guix-git/doc/guix.texi:5305
  9898. 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."
  9899. msgstr ""
  9900. #. type: quotation
  9901. #: guix-git/doc/guix.texi:5312
  9902. 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."
  9903. msgstr ""
  9904. #. type: Plain text
  9905. #: guix-git/doc/guix.texi:5324
  9906. 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})."
  9907. msgstr ""
  9908. #. type: Plain text
  9909. #: guix-git/doc/guix.texi:5329
  9910. 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."
  9911. msgstr ""
  9912. #. type: cindex
  9913. #: guix-git/doc/guix.texi:5334
  9914. #, no-wrap
  9915. msgid "subdirectory, channels"
  9916. msgstr ""
  9917. #. type: Plain text
  9918. #: guix-git/doc/guix.texi:5338
  9919. 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:"
  9920. msgstr ""
  9921. #. type: lisp
  9922. #: guix-git/doc/guix.texi:5343
  9923. #, no-wrap
  9924. msgid ""
  9925. "(channel\n"
  9926. " (version 0)\n"
  9927. " (directory \"guix\"))\n"
  9928. msgstr ""
  9929. #. type: cindex
  9930. #: guix-git/doc/guix.texi:5348
  9931. #, no-wrap
  9932. msgid "dependencies, channels"
  9933. msgstr ""
  9934. #. type: cindex
  9935. #: guix-git/doc/guix.texi:5349
  9936. #, no-wrap
  9937. msgid "meta-data, channels"
  9938. msgstr ""
  9939. #. type: Plain text
  9940. #: guix-git/doc/guix.texi:5354
  9941. 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."
  9942. msgstr ""
  9943. #. type: Plain text
  9944. #: guix-git/doc/guix.texi:5356
  9945. msgid "The meta-data file should contain a simple S-expression like this:"
  9946. msgstr ""
  9947. #. type: lisp
  9948. #: guix-git/doc/guix.texi:5364
  9949. #, no-wrap
  9950. msgid ""
  9951. "(channel\n"
  9952. " (version 0)\n"
  9953. " (dependencies\n"
  9954. " (channel\n"
  9955. " (name some-collection)\n"
  9956. " (url \"https://example.org/first-collection.git\")\n"
  9957. "\n"
  9958. msgstr ""
  9959. #. type: lisp
  9960. #: guix-git/doc/guix.texi:5376
  9961. #, no-wrap
  9962. msgid ""
  9963. " ;; The 'introduction' bit below is optional: you would\n"
  9964. " ;; provide it for dependencies that can be authenticated.\n"
  9965. " (introduction\n"
  9966. " (channel-introduction\n"
  9967. " (version 0)\n"
  9968. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  9969. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9970. " (channel\n"
  9971. " (name some-other-collection)\n"
  9972. " (url \"https://example.org/second-collection.git\")\n"
  9973. " (branch \"testing\"))))\n"
  9974. msgstr ""
  9975. #. type: Plain text
  9976. #: guix-git/doc/guix.texi:5382
  9977. 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."
  9978. msgstr ""
  9979. #. type: Plain text
  9980. #: guix-git/doc/guix.texi:5386
  9981. 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."
  9982. msgstr ""
  9983. #. type: cindex
  9984. #: guix-git/doc/guix.texi:5390
  9985. #, no-wrap
  9986. msgid "channel authorizations"
  9987. msgstr ""
  9988. #. type: anchor{#1}
  9989. #: guix-git/doc/guix.texi:5404
  9990. msgid "channel-authorizations"
  9991. msgstr ""
  9992. #. type: Plain text
  9993. #: guix-git/doc/guix.texi:5404
  9994. 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:"
  9995. msgstr ""
  9996. #. type: lisp
  9997. #: guix-git/doc/guix.texi:5407
  9998. #, no-wrap
  9999. msgid ""
  10000. ";; Example '.guix-authorizations' file.\n"
  10001. "\n"
  10002. msgstr ""
  10003. #. type: lisp
  10004. #: guix-git/doc/guix.texi:5410
  10005. #, no-wrap
  10006. msgid ""
  10007. "(authorizations\n"
  10008. " (version 0) ;current file format version\n"
  10009. "\n"
  10010. msgstr ""
  10011. #. type: lisp
  10012. #: guix-git/doc/guix.texi:5417
  10013. #, no-wrap
  10014. msgid ""
  10015. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  10016. " (name \"alice\"))\n"
  10017. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  10018. " (name \"bob\"))\n"
  10019. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  10020. " (name \"charlie\"))))\n"
  10021. msgstr ""
  10022. #. type: Plain text
  10023. #: guix-git/doc/guix.texi:5421
  10024. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  10025. msgstr ""
  10026. #. type: Plain text
  10027. #: guix-git/doc/guix.texi:5426
  10028. 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?"
  10029. msgstr ""
  10030. #. type: cindex
  10031. #: guix-git/doc/guix.texi:5427
  10032. #, no-wrap
  10033. msgid "channel introduction"
  10034. msgstr ""
  10035. #. type: Plain text
  10036. #: guix-git/doc/guix.texi:5434
  10037. 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."
  10038. msgstr ""
  10039. #. type: Plain text
  10040. #: guix-git/doc/guix.texi:5441
  10041. 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:"
  10042. msgstr ""
  10043. #. type: lisp
  10044. #: guix-git/doc/guix.texi:5446
  10045. #, no-wrap
  10046. msgid ""
  10047. "(channel\n"
  10048. " (version 0)\n"
  10049. " (keyring-reference \"my-keyring-branch\"))\n"
  10050. msgstr ""
  10051. #. type: Plain text
  10052. #: guix-git/doc/guix.texi:5450
  10053. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  10054. msgstr ""
  10055. #. type: enumerate
  10056. #: guix-git/doc/guix.texi:5456
  10057. 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})."
  10058. msgstr ""
  10059. #. type: enumerate
  10060. #: guix-git/doc/guix.texi:5461
  10061. 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.)"
  10062. msgstr ""
  10063. #. type: enumerate
  10064. #: guix-git/doc/guix.texi:5467
  10065. 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."
  10066. msgstr ""
  10067. #. type: Plain text
  10068. #: guix-git/doc/guix.texi:5472
  10069. 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:"
  10070. msgstr ""
  10071. #. type: example
  10072. #: guix-git/doc/guix.texi:5475
  10073. #, no-wrap
  10074. msgid "guix git authenticate @var{commit} @var{signer}\n"
  10075. msgstr ""
  10076. #. type: Plain text
  10077. #: guix-git/doc/guix.texi:5480
  10078. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  10079. msgstr ""
  10080. #. type: Plain text
  10081. #: guix-git/doc/guix.texi:5487
  10082. 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."
  10083. msgstr ""
  10084. #. type: cindex
  10085. #: guix-git/doc/guix.texi:5491
  10086. #, no-wrap
  10087. msgid "primary URL, channels"
  10088. msgstr ""
  10089. #. type: Plain text
  10090. #: guix-git/doc/guix.texi:5494
  10091. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  10092. msgstr ""
  10093. #. type: lisp
  10094. #: guix-git/doc/guix.texi:5499
  10095. #, no-wrap
  10096. msgid ""
  10097. "(channel\n"
  10098. " (version 0)\n"
  10099. " (url \"https://example.org/guix.git\"))\n"
  10100. msgstr ""
  10101. #. type: Plain text
  10102. #: guix-git/doc/guix.texi:5506
  10103. 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."
  10104. msgstr ""
  10105. #. type: Plain text
  10106. #: guix-git/doc/guix.texi:5510
  10107. 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."
  10108. msgstr ""
  10109. #. type: cindex
  10110. #: guix-git/doc/guix.texi:5514
  10111. #, no-wrap
  10112. msgid "news, for channels"
  10113. msgstr ""
  10114. #. type: Plain text
  10115. #: guix-git/doc/guix.texi:5518
  10116. 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."
  10117. msgstr ""
  10118. #. type: Plain text
  10119. #: guix-git/doc/guix.texi:5523
  10120. 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."
  10121. msgstr ""
  10122. #. type: Plain text
  10123. #: guix-git/doc/guix.texi:5526
  10124. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  10125. msgstr ""
  10126. #. type: lisp
  10127. #: guix-git/doc/guix.texi:5531
  10128. #, no-wrap
  10129. msgid ""
  10130. "(channel\n"
  10131. " (version 0)\n"
  10132. " (news-file \"etc/news.txt\"))\n"
  10133. msgstr ""
  10134. #. type: Plain text
  10135. #: guix-git/doc/guix.texi:5535
  10136. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  10137. msgstr ""
  10138. #. type: lisp
  10139. #: guix-git/doc/guix.texi:5548
  10140. #, no-wrap
  10141. msgid ""
  10142. "(channel-news\n"
  10143. " (version 0)\n"
  10144. " (entry (tag \"the-bug-fix\")\n"
  10145. " (title (en \"Fixed terrible bug\")\n"
  10146. " (fr \"Oh la la\"))\n"
  10147. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  10148. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  10149. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  10150. " (title (en \"Added a great package\")\n"
  10151. " (ca \"Què vol dir guix?\"))\n"
  10152. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  10153. msgstr ""
  10154. #. type: Plain text
  10155. #: guix-git/doc/guix.texi:5555
  10156. 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."
  10157. msgstr ""
  10158. #. type: Plain text
  10159. #: guix-git/doc/guix.texi:5560
  10160. 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."
  10161. msgstr ""
  10162. #. type: Plain text
  10163. #: guix-git/doc/guix.texi:5566
  10164. 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."
  10165. msgstr ""
  10166. #. type: Plain text
  10167. #: guix-git/doc/guix.texi:5572
  10168. 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:"
  10169. msgstr ""
  10170. #. type: example
  10171. #: guix-git/doc/guix.texi:5575
  10172. #, no-wrap
  10173. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  10174. msgstr ""
  10175. #. type: Plain text
  10176. #: guix-git/doc/guix.texi:5579
  10177. 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."
  10178. msgstr ""
  10179. #. type: cindex
  10180. #: guix-git/doc/guix.texi:5584
  10181. #, no-wrap
  10182. msgid "software development"
  10183. msgstr ""
  10184. #. type: Plain text
  10185. #: guix-git/doc/guix.texi:5588
  10186. 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."
  10187. msgstr ""
  10188. #. type: Plain text
  10189. #: guix-git/doc/guix.texi:5594
  10190. msgid "The @command{guix shell} command provides a convenient way to set up one-off software environments, be it for development purposes or to run a command without installing it in your profile. The @command{guix pack} command allows you to create @dfn{application bundles} that can be easily distributed to users who do not run Guix."
  10191. msgstr ""
  10192. #. type: section
  10193. #: guix-git/doc/guix.texi:5604
  10194. #, no-wrap
  10195. msgid "Invoking @command{guix shell}"
  10196. msgstr ""
  10197. #. type: cindex
  10198. #: guix-git/doc/guix.texi:5606
  10199. #, no-wrap
  10200. msgid "reproducible build environments"
  10201. msgstr ""
  10202. #. type: cindex
  10203. #: guix-git/doc/guix.texi:5607
  10204. #, no-wrap
  10205. msgid "development environments"
  10206. msgstr ""
  10207. #. type: command{#1}
  10208. #: guix-git/doc/guix.texi:5608
  10209. #, no-wrap
  10210. msgid "guix environment"
  10211. msgstr ""
  10212. #. type: cindex
  10213. #: guix-git/doc/guix.texi:5609
  10214. #, no-wrap
  10215. msgid "environment, package build environment"
  10216. msgstr ""
  10217. #. type: Plain text
  10218. #: guix-git/doc/guix.texi:5614
  10219. msgid "The purpose of @command{guix shell} is to make it easy to create one-off software environments, without changing one's profile. It is typically used to create development environments; it is also a convenient way to run applications without ``polluting'' your profile."
  10220. msgstr ""
  10221. #. type: quotation
  10222. #: guix-git/doc/guix.texi:5620
  10223. msgid "The @command{guix shell} command was recently introduced to supersede @command{guix environment} (@pxref{Invoking guix environment}). If you are familiar with @command{guix environment}, you will notice that it is similar but also---we hope!---more convenient."
  10224. msgstr ""
  10225. #. type: example
  10226. #: guix-git/doc/guix.texi:5626
  10227. #, no-wrap
  10228. msgid "guix shell [@var{options}] [@var{package}@dots{}]\n"
  10229. msgstr ""
  10230. #. type: Plain text
  10231. #: guix-git/doc/guix.texi:5631
  10232. msgid "The following example creates an environment containing Python and NumPy, building or downloading any missing package, and runs the @command{python3} command in that environment:"
  10233. msgstr ""
  10234. #. type: example
  10235. #: guix-git/doc/guix.texi:5634
  10236. #, no-wrap
  10237. msgid "guix shell python python-numpy -- python3\n"
  10238. msgstr ""
  10239. #. type: Plain text
  10240. #: guix-git/doc/guix.texi:5639
  10241. msgid "Development environments can be created as in the example below, which spawns an interactive shell containing all the dependencies and environment variables needed to work on Inkscape:"
  10242. msgstr ""
  10243. #. type: example
  10244. #: guix-git/doc/guix.texi:5642
  10245. #, no-wrap
  10246. msgid "guix shell --development inkscape\n"
  10247. msgstr ""
  10248. #. type: Plain text
  10249. #: guix-git/doc/guix.texi:5648
  10250. msgid "Exiting the shell places the user back in the original environment before @command{guix shell} was invoked. The next garbage collection (@pxref{Invoking guix gc}) may clean up packages that were installed in the environment and that are no longer used outside of it."
  10251. msgstr ""
  10252. #. type: Plain text
  10253. #: guix-git/doc/guix.texi:5655
  10254. msgid "As an added convenience, when running from a directory that contains a @file{manifest.scm} or a @file{guix.scm} file (in this order), possibly in a parent directory, @command{guix shell} automatically loads the file---provided the directory is listed in @file{~/.config/guix/shell-authorized-directories}, and only for interactive use:"
  10255. msgstr ""
  10256. #. type: example
  10257. #: guix-git/doc/guix.texi:5658
  10258. #, no-wrap
  10259. msgid "guix shell\n"
  10260. msgstr ""
  10261. #. type: Plain text
  10262. #: guix-git/doc/guix.texi:5662
  10263. msgid "This provides an easy way to define, share, and enter development environments."
  10264. msgstr ""
  10265. #. type: Plain text
  10266. #: guix-git/doc/guix.texi:5673
  10267. msgid "By default, the shell session or command runs in an @emph{augmented} environment, where the new packages are added to search path environment variables such as @code{PATH}. You can, instead, choose to create an @emph{isolated} environment containing nothing but the packages you asked for. Passing the @option{--pure} option clears environment variable definitions found in the parent environment@footnote{Be sure to use the @option{--check} option the first time you use @command{guix shell} interactively to make sure the shell does not undo the effect of @option{--pure}.}; passing @option{--container} goes one step further by spawning a @dfn{container} isolated from the rest of the system:"
  10268. msgstr ""
  10269. #. type: example
  10270. #: guix-git/doc/guix.texi:5676
  10271. #, no-wrap
  10272. msgid "guix shell --container emacs gcc-toolchain\n"
  10273. msgstr ""
  10274. #. type: Plain text
  10275. #: guix-git/doc/guix.texi:5684
  10276. msgid "The command above spawns an interactive shell in a container where nothing but @code{emacs}, @code{gcc-toolchain}, and their dependencies is available. The container lacks network access and shares no files other than the current working directory with the surrounding environment. This is useful to prevent access to system-wide resources such as @file{/usr/bin} on foreign distros."
  10277. msgstr ""
  10278. #. type: Plain text
  10279. #: guix-git/doc/guix.texi:5691
  10280. msgid "This @option{--container} option can also prove useful if you wish to run a security-sensitive application, such as a web browser, in an isolated environment. For example, the command below launches Ungoogled-Chromium in an isolated environment, this time sharing network access with the host and preserving its @code{DISPLAY} environment variable, but without even sharing the current directory:"
  10281. msgstr ""
  10282. #. type: example
  10283. #: guix-git/doc/guix.texi:5695
  10284. #, no-wrap
  10285. msgid ""
  10286. "guix shell --container --network --no-cwd ungoogled-chromium \\\n"
  10287. " --preserve='^DISPLAY$' -- chromium\n"
  10288. msgstr ""
  10289. #. type: vindex
  10290. #: guix-git/doc/guix.texi:5697 guix-git/doc/guix.texi:6008
  10291. #, no-wrap
  10292. msgid "GUIX_ENVIRONMENT"
  10293. msgstr ""
  10294. #. type: Plain text
  10295. #: guix-git/doc/guix.texi:5703
  10296. msgid "@command{guix shell} defines the @env{GUIX_ENVIRONMENT} variable in the shell it spawns; its value is the file name of the profile of this environment. This allows users to, say, define a specific prompt for development environments in their @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}):"
  10297. msgstr ""
  10298. #. type: example
  10299. #: guix-git/doc/guix.texi:5709 guix-git/doc/guix.texi:6020
  10300. #, no-wrap
  10301. msgid ""
  10302. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10303. "then\n"
  10304. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10305. "fi\n"
  10306. msgstr ""
  10307. #. type: Plain text
  10308. #: guix-git/doc/guix.texi:5713 guix-git/doc/guix.texi:6024
  10309. msgid "...@: or to browse the profile:"
  10310. msgstr ""
  10311. #. type: example
  10312. #: guix-git/doc/guix.texi:5716 guix-git/doc/guix.texi:6027
  10313. #, no-wrap
  10314. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10315. msgstr ""
  10316. #. type: Plain text
  10317. #: guix-git/doc/guix.texi:5719 guix-git/doc/guix.texi:6103
  10318. msgid "The available options are summarized below."
  10319. msgstr ""
  10320. #. type: item
  10321. #: guix-git/doc/guix.texi:5721 guix-git/doc/guix.texi:6105
  10322. #: guix-git/doc/guix.texi:11546
  10323. #, no-wrap
  10324. msgid "--check"
  10325. msgstr ""
  10326. #. type: table
  10327. #: guix-git/doc/guix.texi:5726
  10328. msgid "Set up the environment and check whether the shell would clobber environment variables. It's a good idea to use this option the first time you run @command{guix shell} for an interactive session to make sure your setup is correct."
  10329. msgstr ""
  10330. #. type: table
  10331. #: guix-git/doc/guix.texi:5730
  10332. msgid "For example, if the shell modifies the @env{PATH} environment variable, report it since you would get a different environment than what you asked for."
  10333. msgstr ""
  10334. #. type: table
  10335. #: guix-git/doc/guix.texi:5738
  10336. msgid "Such problems usually indicate that the shell startup files are unexpectedly modifying those environment variables. For example, if you are using Bash, make sure that environment variables are set or modified in @file{~/.bash_profile} and @emph{not} in @file{~/.bashrc}---the former is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files."
  10337. msgstr ""
  10338. #. type: item
  10339. #: guix-git/doc/guix.texi:5739
  10340. #, no-wrap
  10341. msgid "--development"
  10342. msgstr ""
  10343. #. type: table
  10344. #: guix-git/doc/guix.texi:5746
  10345. msgid "Cause @command{guix shell} to include in the environment the dependencies of the following package rather than the package itself. This can be combined with other packages. For instance, the command below starts an interactive shell containing the build-time dependencies of GNU@tie{}Guile, plus Autoconf, Automake, and Libtool:"
  10346. msgstr ""
  10347. #. type: example
  10348. #: guix-git/doc/guix.texi:5749
  10349. #, no-wrap
  10350. msgid "guix shell -D guile autoconf automake libtool\n"
  10351. msgstr ""
  10352. #. type: item
  10353. #: guix-git/doc/guix.texi:5751 guix-git/doc/guix.texi:6126
  10354. #: guix-git/doc/guix.texi:6607 guix-git/doc/guix.texi:11421
  10355. #: guix-git/doc/guix.texi:12494 guix-git/doc/guix.texi:12845
  10356. #: guix-git/doc/guix.texi:13442 guix-git/doc/guix.texi:35243
  10357. #: guix-git/doc/guix.texi:37713
  10358. #, no-wrap
  10359. msgid "--expression=@var{expr}"
  10360. msgstr ""
  10361. #. type: itemx
  10362. #: guix-git/doc/guix.texi:5752 guix-git/doc/guix.texi:6127
  10363. #: guix-git/doc/guix.texi:6608 guix-git/doc/guix.texi:11422
  10364. #: guix-git/doc/guix.texi:12495 guix-git/doc/guix.texi:12846
  10365. #: guix-git/doc/guix.texi:13443 guix-git/doc/guix.texi:35244
  10366. #: guix-git/doc/guix.texi:37714
  10367. #, no-wrap
  10368. msgid "-e @var{expr}"
  10369. msgstr ""
  10370. #. type: table
  10371. #: guix-git/doc/guix.texi:5755 guix-git/doc/guix.texi:6130
  10372. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10373. msgstr ""
  10374. #. type: table
  10375. #: guix-git/doc/guix.texi:5757 guix-git/doc/guix.texi:6132
  10376. #: guix-git/doc/guix.texi:12850
  10377. msgid "For example, running:"
  10378. msgstr ""
  10379. #. type: example
  10380. #: guix-git/doc/guix.texi:5760
  10381. #, no-wrap
  10382. msgid "guix shell -D -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10383. msgstr ""
  10384. #. type: table
  10385. #: guix-git/doc/guix.texi:5764 guix-git/doc/guix.texi:6139
  10386. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10387. msgstr ""
  10388. #. type: table
  10389. #: guix-git/doc/guix.texi:5766 guix-git/doc/guix.texi:6141
  10390. msgid "Running:"
  10391. msgstr ""
  10392. #. type: example
  10393. #: guix-git/doc/guix.texi:5769
  10394. #, no-wrap
  10395. msgid "guix shell -e '(@@ (gnu) %base-packages)'\n"
  10396. msgstr ""
  10397. #. type: table
  10398. #: guix-git/doc/guix.texi:5772 guix-git/doc/guix.texi:6147
  10399. msgid "starts a shell with all the base system packages available."
  10400. msgstr ""
  10401. #. type: table
  10402. #: guix-git/doc/guix.texi:5775 guix-git/doc/guix.texi:6150
  10403. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10404. msgstr ""
  10405. #. type: example
  10406. #: guix-git/doc/guix.texi:5778
  10407. #, no-wrap
  10408. msgid "guix shell -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10409. msgstr ""
  10410. #. type: item
  10411. #: guix-git/doc/guix.texi:5780 guix-git/doc/guix.texi:11395
  10412. #, no-wrap
  10413. msgid "--file=@var{file}"
  10414. msgstr ""
  10415. #. type: table
  10416. #: guix-git/doc/guix.texi:5784
  10417. msgid "Create an environment containing the package or list of packages that the code within @var{file} evaluates to."
  10418. msgstr ""
  10419. #. type: lisp
  10420. #: guix-git/doc/guix.texi:5790 guix-git/doc/guix.texi:6165
  10421. #, no-wrap
  10422. msgid "@verbatiminclude environment-gdb.scm\n"
  10423. msgstr ""
  10424. #. type: table
  10425. #: guix-git/doc/guix.texi:5794
  10426. msgid "With the file above, you can enter a development environment for GDB by running:"
  10427. msgstr ""
  10428. #. type: example
  10429. #: guix-git/doc/guix.texi:5797
  10430. #, no-wrap
  10431. msgid "guix shell -D -f gdb-devel.scm\n"
  10432. msgstr ""
  10433. #. type: table
  10434. #: guix-git/doc/guix.texi:5804 guix-git/doc/guix.texi:6172
  10435. 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."
  10436. msgstr ""
  10437. #. type: table
  10438. #: guix-git/doc/guix.texi:5808 guix-git/doc/guix.texi:6176
  10439. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10440. msgstr ""
  10441. #. type: item
  10442. #: guix-git/doc/guix.texi:5809
  10443. #, no-wrap
  10444. msgid "--rebuild-cache"
  10445. msgstr ""
  10446. #. type: table
  10447. #: guix-git/doc/guix.texi:5814
  10448. msgid "When using @option{--manifest}, @option{--file}, or when invoked without arguments, @command{guix shell} caches the environment so that subsequent uses are instantaneous. The cache is invalidated anytime the file is modified."
  10449. msgstr ""
  10450. #. type: table
  10451. #: guix-git/doc/guix.texi:5819
  10452. msgid "The @option{--rebuild-cache} forces the cached environment to be refreshed even if the file has not changed. This is useful if the @command{guix.scm} or @command{manifest.scm} has external dependencies, or if its behavior depends, say, on environment variables."
  10453. msgstr ""
  10454. #. type: item
  10455. #: guix-git/doc/guix.texi:5820 guix-git/doc/guix.texi:6203
  10456. #, no-wrap
  10457. msgid "--pure"
  10458. msgstr ""
  10459. #. type: table
  10460. #: guix-git/doc/guix.texi:5824 guix-git/doc/guix.texi:6207
  10461. 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."
  10462. msgstr ""
  10463. #. type: item
  10464. #: guix-git/doc/guix.texi:5825 guix-git/doc/guix.texi:6208
  10465. #, no-wrap
  10466. msgid "--preserve=@var{regexp}"
  10467. msgstr ""
  10468. #. type: itemx
  10469. #: guix-git/doc/guix.texi:5826 guix-git/doc/guix.texi:6209
  10470. #, no-wrap
  10471. msgid "-E @var{regexp}"
  10472. msgstr ""
  10473. #. type: table
  10474. #: guix-git/doc/guix.texi:5831 guix-git/doc/guix.texi:6214
  10475. 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."
  10476. msgstr ""
  10477. #. type: example
  10478. #: guix-git/doc/guix.texi:5835
  10479. #, no-wrap
  10480. msgid ""
  10481. "guix shell --pure --preserve=^SLURM openmpi @dots{} \\\n"
  10482. " -- mpirun @dots{}\n"
  10483. msgstr ""
  10484. #. type: table
  10485. #: guix-git/doc/guix.texi:5841 guix-git/doc/guix.texi:6224
  10486. 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.)."
  10487. msgstr ""
  10488. #. type: item
  10489. #: guix-git/doc/guix.texi:5842 guix-git/doc/guix.texi:6225
  10490. #, no-wrap
  10491. msgid "--search-paths"
  10492. msgstr ""
  10493. #. type: table
  10494. #: guix-git/doc/guix.texi:5845 guix-git/doc/guix.texi:6228
  10495. msgid "Display the environment variable definitions that make up the environment."
  10496. msgstr ""
  10497. #. type: table
  10498. #: guix-git/doc/guix.texi:5849 guix-git/doc/guix.texi:6232
  10499. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10500. msgstr ""
  10501. #. type: item
  10502. #: guix-git/doc/guix.texi:5850 guix-git/doc/guix.texi:6233
  10503. #, no-wrap
  10504. msgid "--container"
  10505. msgstr ""
  10506. #. type: itemx
  10507. #: guix-git/doc/guix.texi:5851 guix-git/doc/guix.texi:6234
  10508. #, no-wrap
  10509. msgid "-C"
  10510. msgstr ""
  10511. #. type: item
  10512. #: guix-git/doc/guix.texi:5852 guix-git/doc/guix.texi:6069
  10513. #: guix-git/doc/guix.texi:6235 guix-git/doc/guix.texi:13998
  10514. #: guix-git/doc/guix.texi:35211
  10515. #, no-wrap
  10516. msgid "container"
  10517. msgstr ""
  10518. #. type: table
  10519. #: guix-git/doc/guix.texi:5858 guix-git/doc/guix.texi:6241
  10520. 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."
  10521. msgstr ""
  10522. #. type: table
  10523. #: guix-git/doc/guix.texi:5862 guix-git/doc/guix.texi:6245
  10524. 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)."
  10525. msgstr ""
  10526. #. type: item
  10527. #: guix-git/doc/guix.texi:5863 guix-git/doc/guix.texi:6246
  10528. #: guix-git/doc/guix.texi:35303
  10529. #, no-wrap
  10530. msgid "--network"
  10531. msgstr ""
  10532. #. type: table
  10533. #: guix-git/doc/guix.texi:5868 guix-git/doc/guix.texi:6251
  10534. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10535. msgstr ""
  10536. #. type: item
  10537. #: guix-git/doc/guix.texi:5869 guix-git/doc/guix.texi:6252
  10538. #, no-wrap
  10539. msgid "--link-profile"
  10540. msgstr ""
  10541. #. type: itemx
  10542. #: guix-git/doc/guix.texi:5870 guix-git/doc/guix.texi:6253
  10543. #, no-wrap
  10544. msgid "-P"
  10545. msgstr ""
  10546. #. type: table
  10547. #: guix-git/doc/guix.texi:5878
  10548. msgid "For containers, link the environment profile to @file{~/.guix-profile} within the container and set @code{GUIX_ENVIRONMENT} to that. This is equivalent to making @file{~/.guix-profile} a symlink to the actual profile within the container. Linking will fail and abort the environment if the directory already exists, which will certainly be the case if @command{guix shell} was invoked in the user's home directory."
  10549. msgstr ""
  10550. #. type: table
  10551. #: guix-git/doc/guix.texi:5884 guix-git/doc/guix.texi:6267
  10552. 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."
  10553. msgstr ""
  10554. #. type: item
  10555. #: guix-git/doc/guix.texi:5885 guix-git/doc/guix.texi:6268
  10556. #: guix-git/doc/guix.texi:13575
  10557. #, no-wrap
  10558. msgid "--user=@var{user}"
  10559. msgstr ""
  10560. #. type: itemx
  10561. #: guix-git/doc/guix.texi:5886 guix-git/doc/guix.texi:6269
  10562. #: guix-git/doc/guix.texi:13576
  10563. #, no-wrap
  10564. msgid "-u @var{user}"
  10565. msgstr ""
  10566. #. type: table
  10567. #: guix-git/doc/guix.texi:5893 guix-git/doc/guix.texi:6276
  10568. 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."
  10569. msgstr ""
  10570. #. type: table
  10571. #: guix-git/doc/guix.texi:5898 guix-git/doc/guix.texi:6281
  10572. 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."
  10573. msgstr ""
  10574. #. type: example
  10575. #: guix-git/doc/guix.texi:5905
  10576. #, no-wrap
  10577. msgid ""
  10578. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10579. "cd $HOME/wd\n"
  10580. "guix shell --container --user=foo \\\n"
  10581. " --expose=$HOME/test \\\n"
  10582. " --expose=/tmp/target=$HOME/target\n"
  10583. msgstr ""
  10584. #. type: table
  10585. #: guix-git/doc/guix.texi:5910 guix-git/doc/guix.texi:6293
  10586. 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."
  10587. msgstr ""
  10588. #. type: item
  10589. #: guix-git/doc/guix.texi:5911 guix-git/doc/guix.texi:6294
  10590. #, no-wrap
  10591. msgid "--no-cwd"
  10592. msgstr ""
  10593. #. type: table
  10594. #: guix-git/doc/guix.texi:5918 guix-git/doc/guix.texi:6301
  10595. 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}."
  10596. msgstr ""
  10597. #. type: item
  10598. #: guix-git/doc/guix.texi:5919 guix-git/doc/guix.texi:6302
  10599. #, no-wrap
  10600. msgid "--expose=@var{source}[=@var{target}]"
  10601. msgstr ""
  10602. #. type: itemx
  10603. #: guix-git/doc/guix.texi:5920 guix-git/doc/guix.texi:6303
  10604. #, no-wrap
  10605. msgid "--share=@var{source}[=@var{target}]"
  10606. msgstr ""
  10607. #. type: table
  10608. #: guix-git/doc/guix.texi:5926 guix-git/doc/guix.texi:6309
  10609. 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."
  10610. msgstr ""
  10611. #. type: table
  10612. #: guix-git/doc/guix.texi:5930 guix-git/doc/guix.texi:6313
  10613. 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:"
  10614. msgstr ""
  10615. #. type: example
  10616. #: guix-git/doc/guix.texi:5933
  10617. #, no-wrap
  10618. msgid "guix shell --container --expose=$HOME=/exchange guile -- guile\n"
  10619. msgstr ""
  10620. #. type: item
  10621. #: guix-git/doc/guix.texi:5935 guix-git/doc/guix.texi:6110
  10622. #: guix-git/doc/guix.texi:6675 guix-git/doc/guix.texi:11575
  10623. #: guix-git/doc/guix.texi:35308
  10624. #, no-wrap
  10625. msgid "--root=@var{file}"
  10626. msgstr ""
  10627. #. type: itemx
  10628. #: guix-git/doc/guix.texi:5936 guix-git/doc/guix.texi:6111
  10629. #: guix-git/doc/guix.texi:6676 guix-git/doc/guix.texi:11576
  10630. #: guix-git/doc/guix.texi:35309
  10631. #, no-wrap
  10632. msgid "-r @var{file}"
  10633. msgstr ""
  10634. #. type: cindex
  10635. #: guix-git/doc/guix.texi:5937 guix-git/doc/guix.texi:6112
  10636. #, no-wrap
  10637. msgid "persistent environment"
  10638. msgstr ""
  10639. #. type: cindex
  10640. #: guix-git/doc/guix.texi:5938 guix-git/doc/guix.texi:6113
  10641. #, no-wrap
  10642. msgid "garbage collector root, for environments"
  10643. msgstr ""
  10644. #. type: table
  10645. #: guix-git/doc/guix.texi:5941 guix-git/doc/guix.texi:6116
  10646. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10647. msgstr ""
  10648. #. type: table
  10649. #: guix-git/doc/guix.texi:5944 guix-git/doc/guix.texi:6119
  10650. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10651. msgstr ""
  10652. #. type: table
  10653. #: guix-git/doc/guix.texi:5950
  10654. msgid "When this option is omitted, the environment is protected from garbage collection only for the duration of the @command{guix shell} session. This means that next time you recreate the same environment, you could have to rebuild or re-download packages. @xref{Invoking guix gc}, for more on GC roots."
  10655. msgstr ""
  10656. #. type: Plain text
  10657. #: guix-git/doc/guix.texi:5955
  10658. msgid "@command{guix shell} also supports all of the common build options that @command{guix build} supports (@pxref{Common Build Options}) as well as package transformation options (@pxref{Package Transformation Options})."
  10659. msgstr ""
  10660. #. type: section
  10661. #: guix-git/doc/guix.texi:5957
  10662. #, no-wrap
  10663. msgid "Invoking @command{guix environment}"
  10664. msgstr ""
  10665. #. type: Plain text
  10666. #: guix-git/doc/guix.texi:5961
  10667. msgid "The purpose of @command{guix environment} is to assist in creating development environments."
  10668. msgstr ""
  10669. #. type: quotation
  10670. #: guix-git/doc/guix.texi:5962
  10671. #, no-wrap
  10672. msgid "Deprecation warning"
  10673. msgstr ""
  10674. #. type: quotation
  10675. #: guix-git/doc/guix.texi:5966
  10676. msgid "The @command{guix environment} command is deprecated in favor of @command{guix shell}, which performs similar functions but is more convenient to use. @xref{Invoking guix shell}."
  10677. msgstr ""
  10678. #. type: quotation
  10679. #: guix-git/doc/guix.texi:5971
  10680. msgid "Being deprecated, @command{guix environment} is slated for eventual removal, but the Guix project is committed to keeping it until May 1st, 2023. Please get in touch with us at @email{guix-devel@@gnu.org} if you would like to discuss it."
  10681. msgstr ""
  10682. #. type: example
  10683. #: guix-git/doc/guix.texi:5977
  10684. #, no-wrap
  10685. msgid "guix environment @var{options} @var{package}@dots{}\n"
  10686. msgstr ""
  10687. #. type: Plain text
  10688. #: guix-git/doc/guix.texi:5981
  10689. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  10690. msgstr ""
  10691. #. type: example
  10692. #: guix-git/doc/guix.texi:5984
  10693. #, no-wrap
  10694. msgid "guix environment guile\n"
  10695. msgstr ""
  10696. #. type: Plain text
  10697. #: guix-git/doc/guix.texi:6001
  10698. 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.}."
  10699. msgstr ""
  10700. #. type: Plain text
  10701. #: guix-git/doc/guix.texi:6007
  10702. 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."
  10703. msgstr ""
  10704. #. type: Plain text
  10705. #: guix-git/doc/guix.texi:6014
  10706. 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}):"
  10707. msgstr ""
  10708. #. type: Plain text
  10709. #: guix-git/doc/guix.texi:6033
  10710. 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:"
  10711. msgstr ""
  10712. #. type: example
  10713. #: guix-git/doc/guix.texi:6036
  10714. #, no-wrap
  10715. msgid "guix environment guile emacs\n"
  10716. msgstr ""
  10717. #. type: Plain text
  10718. #: guix-git/doc/guix.texi:6041
  10719. 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:"
  10720. msgstr ""
  10721. #. type: example
  10722. #: guix-git/doc/guix.texi:6044
  10723. #, no-wrap
  10724. msgid "guix environment guile -- make -j4\n"
  10725. msgstr ""
  10726. #. type: Plain text
  10727. #: guix-git/doc/guix.texi:6050
  10728. msgid "In other situations, it is more convenient to specify the list of packages needed in the environment. For example, the following command runs @command{python} from an environment containing Python@tie{}3 and NumPy:"
  10729. msgstr ""
  10730. #. type: example
  10731. #: guix-git/doc/guix.texi:6053
  10732. #, no-wrap
  10733. msgid "guix environment --ad-hoc python-numpy python -- python3\n"
  10734. msgstr ""
  10735. #. type: Plain text
  10736. #: guix-git/doc/guix.texi:6064
  10737. 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:"
  10738. msgstr ""
  10739. #. type: example
  10740. #: guix-git/doc/guix.texi:6067
  10741. #, no-wrap
  10742. msgid "guix environment --pure guix --ad-hoc git strace\n"
  10743. msgstr ""
  10744. #. type: Plain text
  10745. #: guix-git/doc/guix.texi:6077
  10746. 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:"
  10747. msgstr ""
  10748. #. type: example
  10749. #: guix-git/doc/guix.texi:6080
  10750. #, no-wrap
  10751. msgid "guix environment --ad-hoc --container guile -- guile\n"
  10752. msgstr ""
  10753. #. type: quotation
  10754. #: guix-git/doc/guix.texi:6084
  10755. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  10756. msgstr ""
  10757. #. type: cindex
  10758. #: guix-git/doc/guix.texi:6086
  10759. #, no-wrap
  10760. msgid "certificates"
  10761. msgstr ""
  10762. #. type: Plain text
  10763. #: guix-git/doc/guix.texi:6093
  10764. 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."
  10765. msgstr ""
  10766. #. type: example
  10767. #: guix-git/doc/guix.texi:6100
  10768. #, no-wrap
  10769. msgid ""
  10770. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  10771. " --expose=/etc/machine-id \\\n"
  10772. " --expose=/etc/ssl/certs/ \\\n"
  10773. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  10774. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  10775. msgstr ""
  10776. #. type: table
  10777. #: guix-git/doc/guix.texi:6109
  10778. msgid "Set up the environment and check whether the shell would clobber environment variables. @xref{Invoking guix shell, @option{--check}}, for more info."
  10779. msgstr ""
  10780. #. type: table
  10781. #: guix-git/doc/guix.texi:6125
  10782. 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."
  10783. msgstr ""
  10784. #. type: example
  10785. #: guix-git/doc/guix.texi:6135
  10786. #, no-wrap
  10787. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10788. msgstr ""
  10789. #. type: example
  10790. #: guix-git/doc/guix.texi:6144
  10791. #, no-wrap
  10792. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  10793. msgstr ""
  10794. #. type: example
  10795. #: guix-git/doc/guix.texi:6153
  10796. #, no-wrap
  10797. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10798. msgstr ""
  10799. #. type: item
  10800. #: guix-git/doc/guix.texi:6155
  10801. #, no-wrap
  10802. msgid "--load=@var{file}"
  10803. msgstr ""
  10804. #. type: itemx
  10805. #: guix-git/doc/guix.texi:6156
  10806. #, no-wrap
  10807. msgid "-l @var{file}"
  10808. msgstr ""
  10809. #. type: table
  10810. #: guix-git/doc/guix.texi:6159
  10811. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  10812. msgstr ""
  10813. #. type: item
  10814. #: guix-git/doc/guix.texi:6177
  10815. #, no-wrap
  10816. msgid "--ad-hoc"
  10817. msgstr ""
  10818. #. type: table
  10819. #: guix-git/doc/guix.texi:6182
  10820. 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."
  10821. msgstr ""
  10822. #. type: table
  10823. #: guix-git/doc/guix.texi:6184
  10824. msgid "For instance, the command:"
  10825. msgstr ""
  10826. #. type: example
  10827. #: guix-git/doc/guix.texi:6187
  10828. #, no-wrap
  10829. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  10830. msgstr ""
  10831. #. type: table
  10832. #: guix-git/doc/guix.texi:6191
  10833. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  10834. msgstr ""
  10835. #. type: table
  10836. #: guix-git/doc/guix.texi:6196
  10837. 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})."
  10838. msgstr ""
  10839. #. type: table
  10840. #: guix-git/doc/guix.texi:6202
  10841. 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."
  10842. msgstr ""
  10843. #. type: example
  10844. #: guix-git/doc/guix.texi:6218
  10845. #, no-wrap
  10846. msgid ""
  10847. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  10848. " -- mpirun @dots{}\n"
  10849. msgstr ""
  10850. #. type: table
  10851. #: guix-git/doc/guix.texi:6261
  10852. 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."
  10853. msgstr ""
  10854. #. type: example
  10855. #: guix-git/doc/guix.texi:6288
  10856. #, no-wrap
  10857. msgid ""
  10858. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10859. "cd $HOME/wd\n"
  10860. "guix environment --container --user=foo \\\n"
  10861. " --expose=$HOME/test \\\n"
  10862. " --expose=/tmp/target=$HOME/target\n"
  10863. msgstr ""
  10864. #. type: example
  10865. #: guix-git/doc/guix.texi:6316
  10866. #, no-wrap
  10867. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  10868. msgstr ""
  10869. #. type: Plain text
  10870. #: guix-git/doc/guix.texi:6324
  10871. 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})."
  10872. msgstr ""
  10873. #. type: section
  10874. #: guix-git/doc/guix.texi:6326
  10875. #, no-wrap
  10876. msgid "Invoking @command{guix pack}"
  10877. msgstr ""
  10878. #. type: Plain text
  10879. #: guix-git/doc/guix.texi:6332
  10880. 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."
  10881. msgstr ""
  10882. #. type: quotation
  10883. #: guix-git/doc/guix.texi:6337
  10884. 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}."
  10885. msgstr ""
  10886. #. type: cindex
  10887. #: guix-git/doc/guix.texi:6339
  10888. #, no-wrap
  10889. msgid "pack"
  10890. msgstr ""
  10891. #. type: cindex
  10892. #: guix-git/doc/guix.texi:6340
  10893. #, no-wrap
  10894. msgid "bundle"
  10895. msgstr ""
  10896. #. type: cindex
  10897. #: guix-git/doc/guix.texi:6341
  10898. #, no-wrap
  10899. msgid "application bundle"
  10900. msgstr ""
  10901. #. type: cindex
  10902. #: guix-git/doc/guix.texi:6342
  10903. #, no-wrap
  10904. msgid "software bundle"
  10905. msgstr ""
  10906. #. type: Plain text
  10907. #: guix-git/doc/guix.texi:6351
  10908. 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."
  10909. msgstr ""
  10910. #. type: Plain text
  10911. #: guix-git/doc/guix.texi:6354
  10912. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  10913. msgstr ""
  10914. #. type: example
  10915. #: guix-git/doc/guix.texi:6359
  10916. #, no-wrap
  10917. msgid ""
  10918. "$ guix pack guile emacs emacs-geiser\n"
  10919. "@dots{}\n"
  10920. "/gnu/store/@dots{}-pack.tar.gz\n"
  10921. msgstr ""
  10922. #. type: Plain text
  10923. #: guix-git/doc/guix.texi:6367
  10924. 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})."
  10925. msgstr ""
  10926. #. type: Plain text
  10927. #: guix-git/doc/guix.texi:6372
  10928. 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:"
  10929. msgstr ""
  10930. #. type: example
  10931. #: guix-git/doc/guix.texi:6375
  10932. #, no-wrap
  10933. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  10934. msgstr ""
  10935. #. type: Plain text
  10936. #: guix-git/doc/guix.texi:6379
  10937. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  10938. msgstr ""
  10939. #. type: cindex
  10940. #: guix-git/doc/guix.texi:6380
  10941. #, no-wrap
  10942. msgid "relocatable binaries, with @command{guix pack}"
  10943. msgstr ""
  10944. #. type: Plain text
  10945. #: guix-git/doc/guix.texi:6388
  10946. 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}."
  10947. msgstr ""
  10948. #. type: cindex
  10949. #: guix-git/doc/guix.texi:6389
  10950. #, no-wrap
  10951. msgid "Docker, build an image with guix pack"
  10952. msgstr ""
  10953. #. type: Plain text
  10954. #: guix-git/doc/guix.texi:6392
  10955. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  10956. msgstr ""
  10957. #. type: example
  10958. #: guix-git/doc/guix.texi:6395
  10959. #, no-wrap
  10960. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  10961. msgstr ""
  10962. #. type: Plain text
  10963. #: guix-git/doc/guix.texi:6400
  10964. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  10965. msgstr ""
  10966. #. type: example
  10967. #: guix-git/doc/guix.texi:6404
  10968. #, no-wrap
  10969. msgid ""
  10970. "docker load < @var{file}\n"
  10971. "docker run -ti guile-guile-readline /bin/guile\n"
  10972. msgstr ""
  10973. #. type: Plain text
  10974. #: guix-git/doc/guix.texi:6411
  10975. 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."
  10976. msgstr ""
  10977. #. type: cindex
  10978. #: guix-git/doc/guix.texi:6412
  10979. #, no-wrap
  10980. msgid "Singularity, build an image with guix pack"
  10981. msgstr ""
  10982. #. type: cindex
  10983. #: guix-git/doc/guix.texi:6413
  10984. #, no-wrap
  10985. msgid "SquashFS, build an image with guix pack"
  10986. msgstr ""
  10987. #. type: Plain text
  10988. #: guix-git/doc/guix.texi:6416
  10989. msgid "Yet another option is to produce a SquashFS image with the following command:"
  10990. msgstr ""
  10991. #. type: example
  10992. #: guix-git/doc/guix.texi:6419
  10993. #, no-wrap
  10994. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  10995. msgstr ""
  10996. #. type: Plain text
  10997. #: guix-git/doc/guix.texi:6427
  10998. 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}."
  10999. msgstr ""
  11000. #. type: Plain text
  11001. #: guix-git/doc/guix.texi:6429
  11002. msgid "Several command-line options allow you to customize your pack:"
  11003. msgstr ""
  11004. #. type: table
  11005. #: guix-git/doc/guix.texi:6434
  11006. msgid "Produce a pack in the given @var{format}."
  11007. msgstr ""
  11008. #. type: table
  11009. #: guix-git/doc/guix.texi:6436
  11010. msgid "The available formats are:"
  11011. msgstr ""
  11012. #. type: item
  11013. #: guix-git/doc/guix.texi:6438
  11014. #, no-wrap
  11015. msgid "tarball"
  11016. msgstr ""
  11017. #. type: table
  11018. #: guix-git/doc/guix.texi:6441
  11019. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  11020. msgstr ""
  11021. #. type: item
  11022. #: guix-git/doc/guix.texi:6442
  11023. #, no-wrap
  11024. msgid "docker"
  11025. msgstr ""
  11026. #. type: table
  11027. #: guix-git/doc/guix.texi:6448
  11028. 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."
  11029. msgstr ""
  11030. #. type: item
  11031. #: guix-git/doc/guix.texi:6449
  11032. #, no-wrap
  11033. msgid "squashfs"
  11034. msgstr ""
  11035. #. type: table
  11036. #: guix-git/doc/guix.texi:6453
  11037. 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."
  11038. msgstr ""
  11039. #. type: quotation
  11040. #: guix-git/doc/guix.texi:6459
  11041. 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:"
  11042. msgstr ""
  11043. #. type: example
  11044. #: guix-git/doc/guix.texi:6462
  11045. #, no-wrap
  11046. msgid "guix pack -f squashfs bash @dots{}\n"
  11047. msgstr ""
  11048. #. type: quotation
  11049. #: guix-git/doc/guix.texi:6467
  11050. 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."
  11051. msgstr ""
  11052. #. type: item
  11053. #: guix-git/doc/guix.texi:6469
  11054. #, no-wrap
  11055. msgid "deb"
  11056. msgstr ""
  11057. #. type: table
  11058. #: guix-git/doc/guix.texi:6477
  11059. 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."
  11060. msgstr ""
  11061. #. type: example
  11062. #: guix-git/doc/guix.texi:6480
  11063. #, no-wrap
  11064. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  11065. msgstr ""
  11066. #. type: quotation
  11067. #: guix-git/doc/guix.texi:6487
  11068. 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."
  11069. msgstr ""
  11070. #. type: quotation
  11071. #: guix-git/doc/guix.texi:6495
  11072. 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."
  11073. msgstr ""
  11074. #. type: cindex
  11075. #: guix-git/doc/guix.texi:6499
  11076. #, no-wrap
  11077. msgid "relocatable binaries"
  11078. msgstr ""
  11079. #. type: item
  11080. #: guix-git/doc/guix.texi:6500
  11081. #, no-wrap
  11082. msgid "--relocatable"
  11083. msgstr ""
  11084. #. type: table
  11085. #: guix-git/doc/guix.texi:6504
  11086. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  11087. msgstr ""
  11088. #. type: table
  11089. #: guix-git/doc/guix.texi:6512
  11090. 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."
  11091. msgstr ""
  11092. #. type: table
  11093. #: guix-git/doc/guix.texi:6514
  11094. msgid "For example, if you create a pack containing Bash with:"
  11095. msgstr ""
  11096. #. type: example
  11097. #: guix-git/doc/guix.texi:6517
  11098. #, no-wrap
  11099. msgid "guix pack -RR -S /mybin=bin bash\n"
  11100. msgstr ""
  11101. #. type: table
  11102. #: guix-git/doc/guix.texi:6522
  11103. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  11104. msgstr ""
  11105. #. type: example
  11106. #: guix-git/doc/guix.texi:6526
  11107. #, no-wrap
  11108. msgid ""
  11109. "tar xf pack.tar.gz\n"
  11110. "./mybin/sh\n"
  11111. msgstr ""
  11112. #. type: table
  11113. #: guix-git/doc/guix.texi:6534
  11114. 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."
  11115. msgstr ""
  11116. #. type: quotation
  11117. #: guix-git/doc/guix.texi:6540
  11118. 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."
  11119. msgstr ""
  11120. #. type: quotation
  11121. #: guix-git/doc/guix.texi:6546
  11122. 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:"
  11123. msgstr ""
  11124. #. type: item
  11125. #: guix-git/doc/guix.texi:6548 guix-git/doc/guix.texi:17371
  11126. #, no-wrap
  11127. msgid "default"
  11128. msgstr ""
  11129. #. type: table
  11130. #: guix-git/doc/guix.texi:6551
  11131. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  11132. msgstr ""
  11133. #. type: item
  11134. #: guix-git/doc/guix.texi:6552
  11135. #, no-wrap
  11136. msgid "performance"
  11137. msgstr ""
  11138. #. type: table
  11139. #: guix-git/doc/guix.texi:6555
  11140. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  11141. msgstr ""
  11142. #. type: item
  11143. #: guix-git/doc/guix.texi:6556
  11144. #, no-wrap
  11145. msgid "userns"
  11146. msgstr ""
  11147. #. type: table
  11148. #: guix-git/doc/guix.texi:6559
  11149. msgid "Run the program through user namespaces and abort if they are not supported."
  11150. msgstr ""
  11151. #. type: item
  11152. #: guix-git/doc/guix.texi:6560
  11153. #, no-wrap
  11154. msgid "proot"
  11155. msgstr ""
  11156. #. type: table
  11157. #: guix-git/doc/guix.texi:6567
  11158. 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."
  11159. msgstr ""
  11160. #. type: item
  11161. #: guix-git/doc/guix.texi:6568
  11162. #, no-wrap
  11163. msgid "fakechroot"
  11164. msgstr ""
  11165. #. type: table
  11166. #: guix-git/doc/guix.texi:6576
  11167. 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."
  11168. msgstr ""
  11169. #. type: vindex
  11170. #: guix-git/doc/guix.texi:6578
  11171. #, no-wrap
  11172. msgid "GUIX_EXECUTION_ENGINE"
  11173. msgstr ""
  11174. #. type: quotation
  11175. #: guix-git/doc/guix.texi:6582
  11176. 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."
  11177. msgstr ""
  11178. #. type: cindex
  11179. #: guix-git/doc/guix.texi:6584
  11180. #, no-wrap
  11181. msgid "entry point, for Docker images"
  11182. msgstr ""
  11183. #. type: item
  11184. #: guix-git/doc/guix.texi:6585
  11185. #, no-wrap
  11186. msgid "--entry-point=@var{command}"
  11187. msgstr ""
  11188. #. type: table
  11189. #: guix-git/doc/guix.texi:6590
  11190. 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."
  11191. msgstr ""
  11192. #. type: table
  11193. #: guix-git/doc/guix.texi:6594
  11194. 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:"
  11195. msgstr ""
  11196. #. type: example
  11197. #: guix-git/doc/guix.texi:6597
  11198. #, no-wrap
  11199. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  11200. msgstr ""
  11201. #. type: table
  11202. #: guix-git/doc/guix.texi:6601
  11203. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  11204. msgstr ""
  11205. #. type: example
  11206. #: guix-git/doc/guix.texi:6605
  11207. #, no-wrap
  11208. msgid ""
  11209. "docker load -i pack.tar.gz\n"
  11210. "docker run @var{image-id}\n"
  11211. msgstr ""
  11212. #. type: table
  11213. #: guix-git/doc/guix.texi:6610 guix-git/doc/guix.texi:12497
  11214. #: guix-git/doc/guix.texi:13445
  11215. msgid "Consider the package @var{expr} evaluates to."
  11216. msgstr ""
  11217. #. type: table
  11218. #: guix-git/doc/guix.texi:6614
  11219. 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}})."
  11220. msgstr ""
  11221. #. type: table
  11222. #: guix-git/doc/guix.texi:6620
  11223. 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."
  11224. msgstr ""
  11225. #. type: table
  11226. #: guix-git/doc/guix.texi:6628
  11227. 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."
  11228. msgstr ""
  11229. #. type: item
  11230. #: guix-git/doc/guix.texi:6634 guix-git/doc/guix.texi:11539
  11231. #, no-wrap
  11232. msgid "--target=@var{triplet}"
  11233. msgstr ""
  11234. #. type: cindex
  11235. #: guix-git/doc/guix.texi:6635 guix-git/doc/guix.texi:7080
  11236. #: guix-git/doc/guix.texi:11540
  11237. #, no-wrap
  11238. msgid "cross-compilation"
  11239. msgstr ""
  11240. #. type: table
  11241. #: guix-git/doc/guix.texi:6639
  11242. 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})."
  11243. msgstr ""
  11244. #. type: item
  11245. #: guix-git/doc/guix.texi:6640
  11246. #, no-wrap
  11247. msgid "--compression=@var{tool}"
  11248. msgstr ""
  11249. #. type: itemx
  11250. #: guix-git/doc/guix.texi:6641
  11251. #, no-wrap
  11252. msgid "-C @var{tool}"
  11253. msgstr ""
  11254. #. type: table
  11255. #: guix-git/doc/guix.texi:6645
  11256. 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."
  11257. msgstr ""
  11258. #. type: item
  11259. #: guix-git/doc/guix.texi:6646
  11260. #, no-wrap
  11261. msgid "--symlink=@var{spec}"
  11262. msgstr ""
  11263. #. type: itemx
  11264. #: guix-git/doc/guix.texi:6647
  11265. #, no-wrap
  11266. msgid "-S @var{spec}"
  11267. msgstr ""
  11268. #. type: table
  11269. #: guix-git/doc/guix.texi:6650
  11270. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  11271. msgstr ""
  11272. #. type: table
  11273. #: guix-git/doc/guix.texi:6654
  11274. 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."
  11275. msgstr ""
  11276. #. type: table
  11277. #: guix-git/doc/guix.texi:6657
  11278. 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."
  11279. msgstr ""
  11280. #. type: item
  11281. #: guix-git/doc/guix.texi:6658 guix-git/doc/guix.texi:35262
  11282. #, no-wrap
  11283. msgid "--save-provenance"
  11284. msgstr ""
  11285. #. type: table
  11286. #: guix-git/doc/guix.texi:6662
  11287. 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})."
  11288. msgstr ""
  11289. #. type: table
  11290. #: guix-git/doc/guix.texi:6668
  11291. 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."
  11292. msgstr ""
  11293. #. type: table
  11294. #: guix-git/doc/guix.texi:6674
  11295. 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."
  11296. msgstr ""
  11297. #. type: cindex
  11298. #: guix-git/doc/guix.texi:6677
  11299. #, no-wrap
  11300. msgid "garbage collector root, for packs"
  11301. msgstr ""
  11302. #. type: table
  11303. #: guix-git/doc/guix.texi:6680
  11304. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  11305. msgstr ""
  11306. #. type: item
  11307. #: guix-git/doc/guix.texi:6681
  11308. #, no-wrap
  11309. msgid "--localstatedir"
  11310. msgstr ""
  11311. #. type: itemx
  11312. #: guix-git/doc/guix.texi:6682
  11313. #, no-wrap
  11314. msgid "--profile-name=@var{name}"
  11315. msgstr ""
  11316. #. type: table
  11317. #: guix-git/doc/guix.texi:6687
  11318. 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}."
  11319. msgstr ""
  11320. #. type: table
  11321. #: guix-git/doc/guix.texi:6693
  11322. 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."
  11323. msgstr ""
  11324. #. type: table
  11325. #: guix-git/doc/guix.texi:6696
  11326. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  11327. msgstr ""
  11328. #. type: item
  11329. #: guix-git/doc/guix.texi:6697 guix-git/doc/guix.texi:35256
  11330. #, no-wrap
  11331. msgid "--derivation"
  11332. msgstr ""
  11333. #. type: itemx
  11334. #: guix-git/doc/guix.texi:6698 guix-git/doc/guix.texi:11571
  11335. #: guix-git/doc/guix.texi:35257
  11336. #, no-wrap
  11337. msgid "-d"
  11338. msgstr ""
  11339. #. type: table
  11340. #: guix-git/doc/guix.texi:6700
  11341. msgid "Print the name of the derivation that builds the pack."
  11342. msgstr ""
  11343. #. type: table
  11344. #: guix-git/doc/guix.texi:6704
  11345. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  11346. msgstr ""
  11347. #. type: Plain text
  11348. #: guix-git/doc/guix.texi:6709
  11349. 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})."
  11350. msgstr ""
  11351. #. type: cindex
  11352. #: guix-git/doc/guix.texi:6714
  11353. #, no-wrap
  11354. msgid "GCC"
  11355. msgstr ""
  11356. #. type: cindex
  11357. #: guix-git/doc/guix.texi:6715
  11358. #, no-wrap
  11359. msgid "ld-wrapper"
  11360. msgstr ""
  11361. #. type: cindex
  11362. #: guix-git/doc/guix.texi:6716
  11363. #, no-wrap
  11364. msgid "linker wrapper"
  11365. msgstr ""
  11366. #. type: cindex
  11367. #: guix-git/doc/guix.texi:6717
  11368. #, no-wrap
  11369. msgid "toolchain, for C development"
  11370. msgstr ""
  11371. #. type: cindex
  11372. #: guix-git/doc/guix.texi:6718
  11373. #, no-wrap
  11374. msgid "toolchain, for Fortran development"
  11375. msgstr ""
  11376. #. type: Plain text
  11377. #: guix-git/doc/guix.texi:6725
  11378. 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."
  11379. msgstr ""
  11380. #. type: Plain text
  11381. #: guix-git/doc/guix.texi:6731
  11382. 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}."
  11383. msgstr ""
  11384. #. type: Plain text
  11385. #: guix-git/doc/guix.texi:6735
  11386. 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})."
  11387. msgstr ""
  11388. #. type: section
  11389. #: guix-git/doc/guix.texi:6738
  11390. #, no-wrap
  11391. msgid "Invoking @command{guix git authenticate}"
  11392. msgstr ""
  11393. #. type: Plain text
  11394. #: guix-git/doc/guix.texi:6746
  11395. 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)."
  11396. msgstr ""
  11397. #. type: Plain text
  11398. #: guix-git/doc/guix.texi:6751
  11399. 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."
  11400. msgstr ""
  11401. #. type: example
  11402. #: guix-git/doc/guix.texi:6756
  11403. #, no-wrap
  11404. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  11405. msgstr ""
  11406. #. type: Plain text
  11407. #: guix-git/doc/guix.texi:6765
  11408. 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."
  11409. msgstr ""
  11410. #. type: item
  11411. #: guix-git/doc/guix.texi:6767
  11412. #, no-wrap
  11413. msgid "--repository=@var{directory}"
  11414. msgstr ""
  11415. #. type: itemx
  11416. #: guix-git/doc/guix.texi:6768
  11417. #, no-wrap
  11418. msgid "-r @var{directory}"
  11419. msgstr ""
  11420. #. type: table
  11421. #: guix-git/doc/guix.texi:6771
  11422. msgid "Open the Git repository in @var{directory} instead of the current directory."
  11423. msgstr ""
  11424. #. type: item
  11425. #: guix-git/doc/guix.texi:6772
  11426. #, no-wrap
  11427. msgid "--keyring=@var{reference}"
  11428. msgstr ""
  11429. #. type: itemx
  11430. #: guix-git/doc/guix.texi:6773
  11431. #, no-wrap
  11432. msgid "-k @var{reference}"
  11433. msgstr ""
  11434. #. type: table
  11435. #: guix-git/doc/guix.texi:6779
  11436. 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}."
  11437. msgstr ""
  11438. #. type: item
  11439. #: guix-git/doc/guix.texi:6780
  11440. #, no-wrap
  11441. msgid "--stats"
  11442. msgstr ""
  11443. #. type: table
  11444. #: guix-git/doc/guix.texi:6782
  11445. msgid "Display commit signing statistics upon completion."
  11446. msgstr ""
  11447. #. type: item
  11448. #: guix-git/doc/guix.texi:6783
  11449. #, no-wrap
  11450. msgid "--cache-key=@var{key}"
  11451. msgstr ""
  11452. #. type: table
  11453. #: guix-git/doc/guix.texi:6787
  11454. 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."
  11455. msgstr ""
  11456. #. type: item
  11457. #: guix-git/doc/guix.texi:6788
  11458. #, no-wrap
  11459. msgid "--historical-authorizations=@var{file}"
  11460. msgstr ""
  11461. #. type: table
  11462. #: guix-git/doc/guix.texi:6795
  11463. 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})."
  11464. msgstr ""
  11465. #. type: Plain text
  11466. #: guix-git/doc/guix.texi:6808
  11467. 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."
  11468. msgstr ""
  11469. #. type: Plain text
  11470. #: guix-git/doc/guix.texi:6814
  11471. 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."
  11472. msgstr ""
  11473. #. type: Plain text
  11474. #: guix-git/doc/guix.texi:6823
  11475. 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."
  11476. msgstr ""
  11477. #. type: Plain text
  11478. #: guix-git/doc/guix.texi:6826
  11479. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11480. msgstr ""
  11481. #. type: menuentry
  11482. #: guix-git/doc/guix.texi:6839
  11483. msgid "Programming Guix in Guile"
  11484. msgstr ""
  11485. #. type: Plain text
  11486. #: guix-git/doc/guix.texi:6855
  11487. 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})."
  11488. msgstr ""
  11489. #. type: Plain text
  11490. #: guix-git/doc/guix.texi:6862
  11491. 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."
  11492. msgstr ""
  11493. #. type: cindex
  11494. #: guix-git/doc/guix.texi:6864
  11495. #, no-wrap
  11496. msgid "package module search path"
  11497. msgstr ""
  11498. #. type: Plain text
  11499. #: guix-git/doc/guix.texi:6873
  11500. 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:"
  11501. msgstr ""
  11502. #. type: enumerate
  11503. #: guix-git/doc/guix.texi:6880
  11504. 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."
  11505. msgstr ""
  11506. #. type: enumerate
  11507. #: guix-git/doc/guix.texi:6886
  11508. 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."
  11509. msgstr ""
  11510. #. type: Plain text
  11511. #: guix-git/doc/guix.texi:6889
  11512. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11513. msgstr ""
  11514. #. type: defvr
  11515. #: guix-git/doc/guix.texi:6890
  11516. #, no-wrap
  11517. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11518. msgstr ""
  11519. #. type: defvr
  11520. #: guix-git/doc/guix.texi:6894
  11521. 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."
  11522. msgstr ""
  11523. #. type: Plain text
  11524. #: guix-git/doc/guix.texi:6902
  11525. 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}."
  11526. msgstr ""
  11527. #. type: Plain text
  11528. #: guix-git/doc/guix.texi:6910
  11529. 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:"
  11530. msgstr ""
  11531. #. type: lisp
  11532. #: guix-git/doc/guix.texi:6918
  11533. #, no-wrap
  11534. msgid ""
  11535. "(define-module (gnu packages hello)\n"
  11536. " #:use-module (guix packages)\n"
  11537. " #:use-module (guix download)\n"
  11538. " #:use-module (guix build-system gnu)\n"
  11539. " #:use-module (guix licenses)\n"
  11540. " #:use-module (gnu packages gawk))\n"
  11541. "\n"
  11542. msgstr ""
  11543. #. type: lisp
  11544. #: guix-git/doc/guix.texi:6937
  11545. #, no-wrap
  11546. msgid ""
  11547. "(define-public hello\n"
  11548. " (package\n"
  11549. " (name \"hello\")\n"
  11550. " (version \"2.10\")\n"
  11551. " (source (origin\n"
  11552. " (method url-fetch)\n"
  11553. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11554. " \".tar.gz\"))\n"
  11555. " (sha256\n"
  11556. " (base32\n"
  11557. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11558. " (build-system gnu-build-system)\n"
  11559. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11560. " (inputs (list gawk))\n"
  11561. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11562. " (description \"Guess what GNU Hello prints!\")\n"
  11563. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11564. " (license gpl3+)))\n"
  11565. msgstr ""
  11566. #. type: Plain text
  11567. #: guix-git/doc/guix.texi:6947
  11568. 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\"}."
  11569. msgstr ""
  11570. #. type: Plain text
  11571. #: guix-git/doc/guix.texi:6951
  11572. 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})."
  11573. msgstr ""
  11574. #. type: Plain text
  11575. #: guix-git/doc/guix.texi:6957
  11576. 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})."
  11577. msgstr ""
  11578. #. type: Plain text
  11579. #: guix-git/doc/guix.texi:6959
  11580. msgid "There are a few points worth noting in the above package definition:"
  11581. msgstr ""
  11582. #. type: itemize
  11583. #: guix-git/doc/guix.texi:6966
  11584. 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."
  11585. msgstr ""
  11586. #. type: itemize
  11587. #: guix-git/doc/guix.texi:6969
  11588. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11589. msgstr ""
  11590. #. type: itemize
  11591. #: guix-git/doc/guix.texi:6976
  11592. 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})."
  11593. msgstr ""
  11594. #. type: cindex
  11595. #: guix-git/doc/guix.texi:6977
  11596. #, no-wrap
  11597. msgid "patches"
  11598. msgstr ""
  11599. #. type: itemize
  11600. #: guix-git/doc/guix.texi:6981
  11601. 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."
  11602. msgstr ""
  11603. #. type: cindex
  11604. #: guix-git/doc/guix.texi:6983
  11605. #, no-wrap
  11606. msgid "GNU Build System"
  11607. msgstr ""
  11608. #. type: itemize
  11609. #: guix-git/doc/guix.texi:6989
  11610. 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."
  11611. msgstr ""
  11612. #. type: itemize
  11613. #: guix-git/doc/guix.texi:6993
  11614. 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."
  11615. msgstr ""
  11616. #. type: itemize
  11617. #: guix-git/doc/guix.texi:6999
  11618. 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."
  11619. msgstr ""
  11620. #. type: findex
  11621. #: guix-git/doc/guix.texi:7000 guix-git/doc/guix.texi:7003
  11622. #, no-wrap
  11623. msgid "quote"
  11624. msgstr ""
  11625. #. type: cindex
  11626. #: guix-git/doc/guix.texi:7001
  11627. #, no-wrap
  11628. msgid "quoting"
  11629. msgstr ""
  11630. #. type: findex
  11631. #: guix-git/doc/guix.texi:7002
  11632. #, no-wrap
  11633. msgid "'"
  11634. msgstr ""
  11635. #. type: cindex
  11636. #: guix-git/doc/guix.texi:7004
  11637. #, no-wrap
  11638. msgid "backquote (quasiquote)"
  11639. msgstr ""
  11640. #. type: findex
  11641. #: guix-git/doc/guix.texi:7005
  11642. #, no-wrap
  11643. msgid "`"
  11644. msgstr ""
  11645. #. type: findex
  11646. #: guix-git/doc/guix.texi:7006
  11647. #, no-wrap
  11648. msgid "quasiquote"
  11649. msgstr ""
  11650. #. type: cindex
  11651. #: guix-git/doc/guix.texi:7007
  11652. #, no-wrap
  11653. msgid "comma (unquote)"
  11654. msgstr ""
  11655. #. type: findex
  11656. #: guix-git/doc/guix.texi:7008
  11657. #, no-wrap
  11658. msgid ","
  11659. msgstr ""
  11660. #. type: findex
  11661. #: guix-git/doc/guix.texi:7009
  11662. #, no-wrap
  11663. msgid "unquote"
  11664. msgstr ""
  11665. #. type: itemize
  11666. #: guix-git/doc/guix.texi:7019
  11667. msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. Sometimes you'll also see @code{`} (a backquote, synonymous with @code{quasiquote}) and @code{,} (a comma, synonymous with @code{unquote}). @xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, for details. Here the value of the @code{arguments} field is a list of arguments passed to the build system down the road, as with @code{apply} (@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual})."
  11668. msgstr ""
  11669. #. type: itemize
  11670. #: guix-git/doc/guix.texi:7025
  11671. 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})."
  11672. msgstr ""
  11673. #. type: itemize
  11674. #: guix-git/doc/guix.texi:7031
  11675. msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we add an input, a reference to the @code{gawk} variable; @code{gawk} is itself bound to a @code{<package>} object."
  11676. msgstr ""
  11677. #. type: itemize
  11678. #: guix-git/doc/guix.texi:7035
  11679. 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})."
  11680. msgstr ""
  11681. #. type: itemize
  11682. #: guix-git/doc/guix.texi:7039
  11683. 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."
  11684. msgstr ""
  11685. #. type: Plain text
  11686. #: guix-git/doc/guix.texi:7042
  11687. msgid "@xref{package Reference}, for a full description of possible fields."
  11688. msgstr ""
  11689. #. type: Plain text
  11690. #: guix-git/doc/guix.texi:7053
  11691. 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."
  11692. msgstr ""
  11693. #. type: vindex
  11694. #: guix-git/doc/guix.texi:7053
  11695. #, no-wrap
  11696. msgid "GUIX_PACKAGE_PATH"
  11697. msgstr ""
  11698. #. type: Plain text
  11699. #: guix-git/doc/guix.texi:7057
  11700. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  11701. msgstr ""
  11702. #. type: Plain text
  11703. #: guix-git/doc/guix.texi:7061
  11704. 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})."
  11705. msgstr ""
  11706. #. type: Plain text
  11707. #: guix-git/doc/guix.texi:7067
  11708. 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})."
  11709. msgstr ""
  11710. #. type: deffn
  11711. #: guix-git/doc/guix.texi:7068
  11712. #, no-wrap
  11713. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  11714. msgstr ""
  11715. #. type: deffn
  11716. #: guix-git/doc/guix.texi:7071
  11717. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  11718. msgstr ""
  11719. #. type: deffn
  11720. #: guix-git/doc/guix.texi:7077
  11721. 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})."
  11722. msgstr ""
  11723. #. type: Plain text
  11724. #: guix-git/doc/guix.texi:7083
  11725. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  11726. msgstr ""
  11727. #. type: deffn
  11728. #: guix-git/doc/guix.texi:7084
  11729. #, no-wrap
  11730. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  11731. msgstr ""
  11732. #. type: deffn
  11733. #: guix-git/doc/guix.texi:7088
  11734. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  11735. msgstr ""
  11736. #. type: deffn
  11737. #: guix-git/doc/guix.texi:7092
  11738. 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})."
  11739. msgstr ""
  11740. #. type: Plain text
  11741. #: guix-git/doc/guix.texi:7096
  11742. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  11743. msgstr ""
  11744. #. type: subsection
  11745. #: guix-git/doc/guix.texi:7104
  11746. #, no-wrap
  11747. msgid "@code{package} Reference"
  11748. msgstr ""
  11749. #. type: Plain text
  11750. #: guix-git/doc/guix.texi:7108
  11751. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  11752. msgstr ""
  11753. #. type: deftp
  11754. #: guix-git/doc/guix.texi:7109
  11755. #, no-wrap
  11756. msgid "{Data Type} package"
  11757. msgstr ""
  11758. #. type: deftp
  11759. #: guix-git/doc/guix.texi:7111
  11760. msgid "This is the data type representing a package recipe."
  11761. msgstr ""
  11762. #. type: table
  11763. #: guix-git/doc/guix.texi:7115
  11764. msgid "The name of the package, as a string."
  11765. msgstr ""
  11766. #. type: code{#1}
  11767. #: guix-git/doc/guix.texi:7116
  11768. #, no-wrap
  11769. msgid "version"
  11770. msgstr ""
  11771. #. type: table
  11772. #: guix-git/doc/guix.texi:7119
  11773. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  11774. msgstr ""
  11775. #. type: code{#1}
  11776. #: guix-git/doc/guix.texi:7120 guix-git/doc/guix.texi:12900
  11777. #: guix-git/doc/guix.texi:15181 guix-git/doc/guix.texi:15790
  11778. #, no-wrap
  11779. msgid "source"
  11780. msgstr "منبع"
  11781. #. type: table
  11782. #: guix-git/doc/guix.texi:7127
  11783. 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}})."
  11784. msgstr ""
  11785. #. type: code{#1}
  11786. #: guix-git/doc/guix.texi:7128
  11787. #, no-wrap
  11788. msgid "build-system"
  11789. msgstr ""
  11790. #. type: table
  11791. #: guix-git/doc/guix.texi:7131
  11792. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  11793. msgstr ""
  11794. #. type: item
  11795. #: guix-git/doc/guix.texi:7132 guix-git/doc/guix.texi:17953
  11796. #, no-wrap
  11797. msgid "@code{arguments} (default: @code{'()})"
  11798. msgstr ""
  11799. #. type: table
  11800. #: guix-git/doc/guix.texi:7135
  11801. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  11802. msgstr ""
  11803. #. type: item
  11804. #: guix-git/doc/guix.texi:7136
  11805. #, no-wrap
  11806. msgid "@code{inputs} (default: @code{'()})"
  11807. msgstr ""
  11808. #. type: itemx
  11809. #: guix-git/doc/guix.texi:7137
  11810. #, no-wrap
  11811. msgid "@code{native-inputs} (default: @code{'()})"
  11812. msgstr ""
  11813. #. type: itemx
  11814. #: guix-git/doc/guix.texi:7138
  11815. #, no-wrap
  11816. msgid "@code{propagated-inputs} (default: @code{'()})"
  11817. msgstr ""
  11818. #. type: cindex
  11819. #: guix-git/doc/guix.texi:7139
  11820. #, no-wrap
  11821. msgid "inputs, of packages"
  11822. msgstr ""
  11823. #. type: table
  11824. #: guix-git/doc/guix.texi:7146
  11825. msgid "These fields list dependencies of the package. Each element of these lists is either a package, origin, or other ``file-like object'' (@pxref{G-Expressions}); to specify the output of that file-like object that should be used, pass a two-element list where the second element is the output (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:"
  11826. msgstr ""
  11827. #. type: lisp
  11828. #: guix-git/doc/guix.texi:7150
  11829. #, no-wrap
  11830. msgid ""
  11831. "(list libffi libunistring\n"
  11832. " `(,glib \"bin\")) ;the \"bin\" output of GLib\n"
  11833. msgstr ""
  11834. #. type: table
  11835. #: guix-git/doc/guix.texi:7154
  11836. msgid "In the example above, the @code{\"out\"} output of @code{libffi} and @code{libunistring} is used."
  11837. msgstr ""
  11838. #. type: quotation
  11839. #: guix-git/doc/guix.texi:7155
  11840. #, no-wrap
  11841. msgid "Compatibility Note"
  11842. msgstr ""
  11843. #. type: quotation
  11844. #: guix-git/doc/guix.texi:7162
  11845. msgid "Until version 1.3.0, input lists were a list of tuples, where each tuple has a label for the input (a string) as its first element, a package, origin, or derivation as its second element, and optionally the name of the output thereof that should be used, which defaults to @code{\"out\"}. For example, the list below is equivalent to the one above, but using the @dfn{old input style}:"
  11846. msgstr ""
  11847. #. type: lisp
  11848. #: guix-git/doc/guix.texi:7168
  11849. #, no-wrap
  11850. msgid ""
  11851. ";; Old input style (deprecated).\n"
  11852. "`((\"libffi\" ,libffi)\n"
  11853. " (\"libunistring\" ,libunistring)\n"
  11854. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of GLib\n"
  11855. msgstr ""
  11856. #. type: quotation
  11857. #: guix-git/doc/guix.texi:7174
  11858. msgid "This style is now deprecated; it is still supported but support will be removed in a future version. It should not be used for new package definitions. @xref{Invoking guix style}, on how to migrate to the new style."
  11859. msgstr ""
  11860. #. type: cindex
  11861. #: guix-git/doc/guix.texi:7176
  11862. #, no-wrap
  11863. msgid "cross compilation, package dependencies"
  11864. msgstr ""
  11865. #. type: table
  11866. #: guix-git/doc/guix.texi:7182
  11867. 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."
  11868. msgstr ""
  11869. #. type: table
  11870. #: guix-git/doc/guix.texi:7187
  11871. 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})."
  11872. msgstr ""
  11873. #. type: anchor{#1}
  11874. #: guix-git/doc/guix.texi:7195
  11875. msgid "package-propagated-inputs"
  11876. msgstr ""
  11877. #. type: table
  11878. #: guix-git/doc/guix.texi:7195
  11879. 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)."
  11880. msgstr ""
  11881. #. type: table
  11882. #: guix-git/doc/guix.texi:7199
  11883. 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."
  11884. msgstr ""
  11885. #. type: table
  11886. #: guix-git/doc/guix.texi:7206
  11887. 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}."
  11888. msgstr ""
  11889. #. type: item
  11890. #: guix-git/doc/guix.texi:7207
  11891. #, no-wrap
  11892. msgid "@code{outputs} (default: @code{'(\"out\")})"
  11893. msgstr ""
  11894. #. type: table
  11895. #: guix-git/doc/guix.texi:7210
  11896. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  11897. msgstr ""
  11898. #. type: item
  11899. #: guix-git/doc/guix.texi:7211
  11900. #, no-wrap
  11901. msgid "@code{native-search-paths} (default: @code{'()})"
  11902. msgstr ""
  11903. #. type: itemx
  11904. #: guix-git/doc/guix.texi:7212
  11905. #, no-wrap
  11906. msgid "@code{search-paths} (default: @code{'()})"
  11907. msgstr ""
  11908. #. type: table
  11909. #: guix-git/doc/guix.texi:7215
  11910. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package."
  11911. msgstr ""
  11912. #. type: item
  11913. #: guix-git/doc/guix.texi:7216
  11914. #, no-wrap
  11915. msgid "@code{replacement} (default: @code{#f})"
  11916. msgstr ""
  11917. #. type: table
  11918. #: guix-git/doc/guix.texi:7220
  11919. 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."
  11920. msgstr ""
  11921. #. type: item
  11922. #: guix-git/doc/guix.texi:7221 guix-git/doc/guix.texi:12892
  11923. #, no-wrap
  11924. msgid "synopsis"
  11925. msgstr ""
  11926. #. type: table
  11927. #: guix-git/doc/guix.texi:7223
  11928. msgid "A one-line description of the package."
  11929. msgstr ""
  11930. #. type: code{#1}
  11931. #: guix-git/doc/guix.texi:7224 guix-git/doc/guix.texi:12893
  11932. #: guix-git/doc/guix.texi:35959 guix-git/doc/guix.texi:36119
  11933. #, no-wrap
  11934. msgid "description"
  11935. msgstr ""
  11936. #. type: table
  11937. #: guix-git/doc/guix.texi:7226
  11938. msgid "A more elaborate description of the package."
  11939. msgstr ""
  11940. #. type: code{#1}
  11941. #: guix-git/doc/guix.texi:7227
  11942. #, no-wrap
  11943. msgid "license"
  11944. msgstr ""
  11945. #. type: cindex
  11946. #: guix-git/doc/guix.texi:7228
  11947. #, no-wrap
  11948. msgid "license, of packages"
  11949. msgstr ""
  11950. #. type: table
  11951. #: guix-git/doc/guix.texi:7231
  11952. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  11953. msgstr ""
  11954. #. type: itemx
  11955. #: guix-git/doc/guix.texi:7232 guix-git/doc/guix.texi:12901
  11956. #, no-wrap
  11957. msgid "home-page"
  11958. msgstr ""
  11959. #. type: table
  11960. #: guix-git/doc/guix.texi:7234
  11961. msgid "The URL to the home-page of the package, as a string."
  11962. msgstr ""
  11963. #. type: item
  11964. #: guix-git/doc/guix.texi:7235
  11965. #, no-wrap
  11966. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  11967. msgstr ""
  11968. #. type: table
  11969. #: guix-git/doc/guix.texi:7238
  11970. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  11971. msgstr ""
  11972. #. type: item
  11973. #: guix-git/doc/guix.texi:7239
  11974. #, no-wrap
  11975. msgid "@code{location} (default: source location of the @code{package} form)"
  11976. msgstr ""
  11977. #. type: table
  11978. #: guix-git/doc/guix.texi:7243
  11979. 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."
  11980. msgstr ""
  11981. #. type: deffn
  11982. #: guix-git/doc/guix.texi:7246
  11983. #, no-wrap
  11984. msgid "{Scheme Syntax} this-package"
  11985. msgstr ""
  11986. #. type: deffn
  11987. #: guix-git/doc/guix.texi:7249
  11988. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  11989. msgstr ""
  11990. #. type: deffn
  11991. #: guix-git/doc/guix.texi:7252
  11992. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  11993. msgstr ""
  11994. #. type: lisp
  11995. #: guix-git/doc/guix.texi:7257
  11996. #, no-wrap
  11997. msgid ""
  11998. "(package\n"
  11999. " (name \"guile\")\n"
  12000. " ;; ...\n"
  12001. "\n"
  12002. msgstr ""
  12003. #. type: lisp
  12004. #: guix-git/doc/guix.texi:7263
  12005. #, no-wrap
  12006. msgid ""
  12007. " ;; When cross-compiled, Guile, for example, depends on\n"
  12008. " ;; a native version of itself. Add it here.\n"
  12009. " (native-inputs (if (%current-target-system)\n"
  12010. " (list this-package)\n"
  12011. " '())))\n"
  12012. msgstr ""
  12013. #. type: deffn
  12014. #: guix-git/doc/guix.texi:7266
  12015. msgid "It is an error to refer to @code{this-package} outside a package definition."
  12016. msgstr ""
  12017. #. type: Plain text
  12018. #: guix-git/doc/guix.texi:7270
  12019. msgid "The following helper procedures are provided to help deal with package inputs."
  12020. msgstr ""
  12021. #. type: deffn
  12022. #: guix-git/doc/guix.texi:7271
  12023. #, no-wrap
  12024. msgid "{Scheme Procedure} lookup-package-input @var{package} @var{name}"
  12025. msgstr ""
  12026. #. type: deffnx
  12027. #: guix-git/doc/guix.texi:7272
  12028. #, no-wrap
  12029. msgid "{Scheme Procedure} lookup-package-native-input @var{package} @var{name}"
  12030. msgstr ""
  12031. #. type: deffnx
  12032. #: guix-git/doc/guix.texi:7273
  12033. #, no-wrap
  12034. msgid "{Scheme Procedure} lookup-package-propagated-input @var{package} @var{name}"
  12035. msgstr ""
  12036. #. type: deffnx
  12037. #: guix-git/doc/guix.texi:7274
  12038. #, no-wrap
  12039. msgid "{Scheme Procedure} lookup-package-direct-input @var{package} @var{name}"
  12040. msgstr ""
  12041. #. type: deffn
  12042. #: guix-git/doc/guix.texi:7277
  12043. msgid "Look up @var{name} among @var{package}'s inputs (or native, propagated, or direct inputs). Return it if found, @code{#f} otherwise."
  12044. msgstr ""
  12045. #. type: deffn
  12046. #: guix-git/doc/guix.texi:7280
  12047. msgid "@var{name} is the name of a package depended on. Here's how you might use it:"
  12048. msgstr ""
  12049. #. type: lisp
  12050. #: guix-git/doc/guix.texi:7283
  12051. #, no-wrap
  12052. msgid ""
  12053. "(use-modules (guix packages) (gnu packages base))\n"
  12054. "\n"
  12055. msgstr ""
  12056. #. type: lisp
  12057. #: guix-git/doc/guix.texi:7286
  12058. #, no-wrap
  12059. msgid ""
  12060. "(lookup-package-direct-input coreutils \"gmp\")\n"
  12061. "@result{} #<package gmp@@6.2.1 @dots{}>\n"
  12062. msgstr ""
  12063. #. type: deffn
  12064. #: guix-git/doc/guix.texi:7290
  12065. msgid "In this example we obtain the @code{gmp} package that is among the direct inputs of @code{coreutils}."
  12066. msgstr ""
  12067. #. type: cindex
  12068. #: guix-git/doc/guix.texi:7292
  12069. #, no-wrap
  12070. msgid "development inputs, of a package"
  12071. msgstr ""
  12072. #. type: cindex
  12073. #: guix-git/doc/guix.texi:7293
  12074. #, no-wrap
  12075. msgid "implicit inputs, of a package"
  12076. msgstr ""
  12077. #. type: Plain text
  12078. #: guix-git/doc/guix.texi:7298
  12079. msgid "Sometimes you will want to obtain the list of inputs needed to @emph{develop} a package---all the inputs that are visible when the package is compiled. This is what the @code{package-development-inputs} procedure returns."
  12080. msgstr ""
  12081. #. type: deffn
  12082. #: guix-git/doc/guix.texi:7299
  12083. #, no-wrap
  12084. msgid "{Scheme Procedure} package-development-inputs @var{package} @"
  12085. msgstr ""
  12086. #. type: deffn
  12087. #: guix-git/doc/guix.texi:7306
  12088. msgid "[@var{system}] [#:target #f] Return the list of inputs required by @var{package} for development purposes on @var{system}. When @var{target} is true, return the inputs needed to cross-compile @var{package} from @var{system} to @var{triplet}, where @var{triplet} is a triplet such as @code{\"aarch64-linux-gnu\"}."
  12089. msgstr ""
  12090. #. type: deffn
  12091. #: guix-git/doc/guix.texi:7310
  12092. msgid "Note that the result includes both explicit inputs and implicit inputs---inputs automatically added by the build system (@pxref{Build Systems}). Let us take the @code{hello} package to illustrate that:"
  12093. msgstr ""
  12094. #. type: lisp
  12095. #: guix-git/doc/guix.texi:7313
  12096. #, no-wrap
  12097. msgid ""
  12098. "(use-modules (gnu packages base) (guix packages))\n"
  12099. "\n"
  12100. msgstr ""
  12101. #. type: lisp
  12102. #: guix-git/doc/guix.texi:7316
  12103. #, no-wrap
  12104. msgid ""
  12105. "hello\n"
  12106. "@result{} #<package hello@@2.10 gnu/packages/base.scm:79 7f585d4f6790>\n"
  12107. "\n"
  12108. msgstr ""
  12109. #. type: lisp
  12110. #: guix-git/doc/guix.texi:7319
  12111. #, no-wrap
  12112. msgid ""
  12113. "(package-direct-inputs hello)\n"
  12114. "@result{} ()\n"
  12115. "\n"
  12116. msgstr ""
  12117. #. type: lisp
  12118. #: guix-git/doc/guix.texi:7322
  12119. #, no-wrap
  12120. msgid ""
  12121. "(package-development-inputs hello)\n"
  12122. "@result{} ((\"source\" @dots{}) (\"tar\" #<package tar@@1.32 @dots{}>) @dots{})\n"
  12123. msgstr ""
  12124. #. type: deffn
  12125. #: guix-git/doc/guix.texi:7331
  12126. msgid "In this example, @code{package-direct-inputs} returns the empty list, because @code{hello} has zero explicit dependencies. Conversely, @code{package-development-inputs} includes inputs implicitly added by @code{gnu-build-system} that are required to build @code{hello}: tar, gzip, GCC, libc, Bash, and more. To visualize it, @command{guix graph hello} would show you explicit inputs, whereas @command{guix graph -t bag hello} would include implicit inputs (@pxref{Invoking guix graph})."
  12127. msgstr ""
  12128. #. type: Plain text
  12129. #: guix-git/doc/guix.texi:7337
  12130. 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."
  12131. msgstr ""
  12132. #. type: cindex
  12133. #: guix-git/doc/guix.texi:7338
  12134. #, no-wrap
  12135. msgid "tool chain, choosing a package's tool chain"
  12136. msgstr ""
  12137. #. type: deffn
  12138. #: guix-git/doc/guix.texi:7339
  12139. #, no-wrap
  12140. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  12141. msgstr ""
  12142. #. type: deffn
  12143. #: guix-git/doc/guix.texi:7344
  12144. 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."
  12145. msgstr ""
  12146. #. type: deffn
  12147. #: guix-git/doc/guix.texi:7348
  12148. 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:"
  12149. msgstr ""
  12150. #. type: lisp
  12151. #: guix-git/doc/guix.texi:7352
  12152. #, no-wrap
  12153. msgid ""
  12154. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  12155. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  12156. msgstr ""
  12157. #. type: deffn
  12158. #: guix-git/doc/guix.texi:7360
  12159. 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."
  12160. msgstr ""
  12161. #. type: subsection
  12162. #: guix-git/doc/guix.texi:7363
  12163. #, no-wrap
  12164. msgid "@code{origin} Reference"
  12165. msgstr ""
  12166. #. type: Plain text
  12167. #: guix-git/doc/guix.texi:7371
  12168. 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."
  12169. msgstr ""
  12170. #. type: deftp
  12171. #: guix-git/doc/guix.texi:7372
  12172. #, no-wrap
  12173. msgid "{Data Type} origin"
  12174. msgstr ""
  12175. #. type: deftp
  12176. #: guix-git/doc/guix.texi:7374
  12177. msgid "This is the data type representing a source code origin."
  12178. msgstr ""
  12179. #. type: code{#1}
  12180. #: guix-git/doc/guix.texi:7376 guix-git/doc/guix.texi:26552
  12181. #, no-wrap
  12182. msgid "uri"
  12183. msgstr ""
  12184. #. type: table
  12185. #: guix-git/doc/guix.texi:7381
  12186. 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."
  12187. msgstr ""
  12188. #. type: cindex
  12189. #: guix-git/doc/guix.texi:7382
  12190. #, no-wrap
  12191. msgid "fixed-output derivations, for download"
  12192. msgstr ""
  12193. #. type: code{#1}
  12194. #: guix-git/doc/guix.texi:7383
  12195. #, no-wrap
  12196. msgid "method"
  12197. msgstr ""
  12198. #. type: table
  12199. #: guix-git/doc/guix.texi:7390
  12200. 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})."
  12201. msgstr ""
  12202. #. type: table
  12203. #: guix-git/doc/guix.texi:7394
  12204. 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)."
  12205. msgstr ""
  12206. #. type: code{#1}
  12207. #: guix-git/doc/guix.texi:7395
  12208. #, no-wrap
  12209. msgid "sha256"
  12210. msgstr ""
  12211. #. type: table
  12212. #: guix-git/doc/guix.texi:7399
  12213. 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."
  12214. msgstr ""
  12215. #. type: code{#1}
  12216. #: guix-git/doc/guix.texi:7400
  12217. #, no-wrap
  12218. msgid "hash"
  12219. msgstr ""
  12220. #. type: table
  12221. #: guix-git/doc/guix.texi:7403
  12222. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  12223. msgstr ""
  12224. #. type: table
  12225. #: guix-git/doc/guix.texi:7407
  12226. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  12227. msgstr ""
  12228. #. type: item
  12229. #: guix-git/doc/guix.texi:7408
  12230. #, no-wrap
  12231. msgid "@code{file-name} (default: @code{#f})"
  12232. msgstr ""
  12233. #. type: table
  12234. #: guix-git/doc/guix.texi:7414
  12235. 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."
  12236. msgstr ""
  12237. #. type: item
  12238. #: guix-git/doc/guix.texi:7415
  12239. #, no-wrap
  12240. msgid "@code{patches} (default: @code{'()})"
  12241. msgstr ""
  12242. #. type: table
  12243. #: guix-git/doc/guix.texi:7418
  12244. 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."
  12245. msgstr ""
  12246. #. type: table
  12247. #: guix-git/doc/guix.texi:7422
  12248. 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}."
  12249. msgstr ""
  12250. #. type: item
  12251. #: guix-git/doc/guix.texi:7423
  12252. #, no-wrap
  12253. msgid "@code{snippet} (default: @code{#f})"
  12254. msgstr ""
  12255. #. type: table
  12256. #: guix-git/doc/guix.texi:7427
  12257. 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."
  12258. msgstr ""
  12259. #. type: item
  12260. #: guix-git/doc/guix.texi:7428
  12261. #, no-wrap
  12262. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  12263. msgstr ""
  12264. #. type: table
  12265. #: guix-git/doc/guix.texi:7431
  12266. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  12267. msgstr ""
  12268. #. type: item
  12269. #: guix-git/doc/guix.texi:7432
  12270. #, no-wrap
  12271. msgid "@code{patch-inputs} (default: @code{#f})"
  12272. msgstr ""
  12273. #. type: table
  12274. #: guix-git/doc/guix.texi:7436
  12275. 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."
  12276. msgstr ""
  12277. #. type: item
  12278. #: guix-git/doc/guix.texi:7437 guix-git/doc/guix.texi:26425
  12279. #, no-wrap
  12280. msgid "@code{modules} (default: @code{'()})"
  12281. msgstr ""
  12282. #. type: table
  12283. #: guix-git/doc/guix.texi:7440
  12284. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  12285. msgstr ""
  12286. #. type: item
  12287. #: guix-git/doc/guix.texi:7441
  12288. #, no-wrap
  12289. msgid "@code{patch-guile} (default: @code{#f})"
  12290. msgstr ""
  12291. #. type: table
  12292. #: guix-git/doc/guix.texi:7444
  12293. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  12294. msgstr ""
  12295. #. type: deftp
  12296. #: guix-git/doc/guix.texi:7447
  12297. #, no-wrap
  12298. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  12299. msgstr ""
  12300. #. type: deftp
  12301. #: guix-git/doc/guix.texi:7451
  12302. 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}."
  12303. msgstr ""
  12304. #. type: deftp
  12305. #: guix-git/doc/guix.texi:7454
  12306. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  12307. msgstr ""
  12308. #. type: deftp
  12309. #: guix-git/doc/guix.texi:7456
  12310. msgid "The following forms are all equivalent:"
  12311. msgstr ""
  12312. #. type: lisp
  12313. #: guix-git/doc/guix.texi:7465
  12314. #, no-wrap
  12315. msgid ""
  12316. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  12317. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  12318. " sha256)\n"
  12319. "(content-hash (base32\n"
  12320. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  12321. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  12322. " sha256)\n"
  12323. msgstr ""
  12324. #. type: deftp
  12325. #: guix-git/doc/guix.texi:7470
  12326. 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}."
  12327. msgstr ""
  12328. #. type: Plain text
  12329. #: guix-git/doc/guix.texi:7476
  12330. 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."
  12331. msgstr ""
  12332. #. type: deffn
  12333. #: guix-git/doc/guix.texi:7477
  12334. #, no-wrap
  12335. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  12336. msgstr ""
  12337. #. type: deffn
  12338. #: guix-git/doc/guix.texi:7485
  12339. 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."
  12340. msgstr ""
  12341. #. type: deffn
  12342. #: guix-git/doc/guix.texi:7488
  12343. 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}."
  12344. msgstr ""
  12345. #. type: deffn
  12346. #: guix-git/doc/guix.texi:7491
  12347. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  12348. msgstr ""
  12349. #. type: Plain text
  12350. #: guix-git/doc/guix.texi:7497
  12351. 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."
  12352. msgstr ""
  12353. #. type: deffn
  12354. #: guix-git/doc/guix.texi:7498
  12355. #, no-wrap
  12356. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  12357. msgstr ""
  12358. #. type: deffn
  12359. #: guix-git/doc/guix.texi:7503
  12360. 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}."
  12361. msgstr ""
  12362. #. type: deftp
  12363. #: guix-git/doc/guix.texi:7505
  12364. #, no-wrap
  12365. msgid "{Data Type} git-reference"
  12366. msgstr ""
  12367. #. type: deftp
  12368. #: guix-git/doc/guix.texi:7508
  12369. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  12370. msgstr ""
  12371. #. type: code{#1}
  12372. #: guix-git/doc/guix.texi:7510 guix-git/doc/guix.texi:24186
  12373. #, no-wrap
  12374. msgid "url"
  12375. msgstr ""
  12376. #. type: table
  12377. #: guix-git/doc/guix.texi:7512
  12378. msgid "The URL of the Git repository to clone."
  12379. msgstr ""
  12380. #. type: code{#1}
  12381. #: guix-git/doc/guix.texi:7513
  12382. #, no-wrap
  12383. msgid "commit"
  12384. msgstr ""
  12385. #. type: table
  12386. #: guix-git/doc/guix.texi:7518
  12387. 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}."
  12388. msgstr ""
  12389. #. type: item
  12390. #: guix-git/doc/guix.texi:7519
  12391. #, no-wrap
  12392. msgid "@code{recursive?} (default: @code{#f})"
  12393. msgstr ""
  12394. #. type: table
  12395. #: guix-git/doc/guix.texi:7521
  12396. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  12397. msgstr ""
  12398. #. type: deftp
  12399. #: guix-git/doc/guix.texi:7525
  12400. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  12401. msgstr ""
  12402. #. type: lisp
  12403. #: guix-git/doc/guix.texi:7530
  12404. #, no-wrap
  12405. msgid ""
  12406. "(git-reference\n"
  12407. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12408. " (commit \"v2.10\"))\n"
  12409. msgstr ""
  12410. #. type: deftp
  12411. #: guix-git/doc/guix.texi:7534
  12412. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  12413. msgstr ""
  12414. #. type: lisp
  12415. #: guix-git/doc/guix.texi:7539
  12416. #, no-wrap
  12417. msgid ""
  12418. "(git-reference\n"
  12419. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12420. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  12421. msgstr ""
  12422. #. type: Plain text
  12423. #: guix-git/doc/guix.texi:7545
  12424. 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."
  12425. msgstr ""
  12426. #. type: deffn
  12427. #: guix-git/doc/guix.texi:7546
  12428. #, no-wrap
  12429. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  12430. msgstr ""
  12431. #. type: deffn
  12432. #: guix-git/doc/guix.texi:7552
  12433. 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}."
  12434. msgstr ""
  12435. #. type: cindex
  12436. #: guix-git/doc/guix.texi:7557
  12437. #, no-wrap
  12438. msgid "customizing packages"
  12439. msgstr ""
  12440. #. type: cindex
  12441. #: guix-git/doc/guix.texi:7558
  12442. #, no-wrap
  12443. msgid "variants, of packages"
  12444. msgstr ""
  12445. #. type: Plain text
  12446. #: guix-git/doc/guix.texi:7568
  12447. 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!"
  12448. msgstr ""
  12449. #. type: cindex
  12450. #: guix-git/doc/guix.texi:7569
  12451. #, no-wrap
  12452. msgid "inherit, for package definitions"
  12453. msgstr ""
  12454. #. type: Plain text
  12455. #: guix-git/doc/guix.texi:7576
  12456. 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."
  12457. msgstr ""
  12458. #. type: Plain text
  12459. #: guix-git/doc/guix.texi:7581
  12460. 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!):"
  12461. msgstr ""
  12462. #. type: lisp
  12463. #: guix-git/doc/guix.texi:7584
  12464. #, no-wrap
  12465. msgid ""
  12466. "(use-modules (gnu packages base)) ;for 'hello'\n"
  12467. "\n"
  12468. msgstr ""
  12469. #. type: lisp
  12470. #: guix-git/doc/guix.texi:7596
  12471. #, no-wrap
  12472. msgid ""
  12473. "(define hello-2.2\n"
  12474. " (package\n"
  12475. " (inherit hello)\n"
  12476. " (version \"2.2\")\n"
  12477. " (source (origin\n"
  12478. " (method url-fetch)\n"
  12479. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  12480. " \".tar.gz\"))\n"
  12481. " (sha256\n"
  12482. " (base32\n"
  12483. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  12484. msgstr ""
  12485. #. type: Plain text
  12486. #: guix-git/doc/guix.texi:7605
  12487. 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."
  12488. msgstr ""
  12489. #. type: Plain text
  12490. #: guix-git/doc/guix.texi:7611
  12491. 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:"
  12492. msgstr ""
  12493. #. type: lisp
  12494. #: guix-git/doc/guix.texi:7614
  12495. #, no-wrap
  12496. msgid ""
  12497. "(use-modules (gnu packages gdb)) ;for 'gdb'\n"
  12498. "\n"
  12499. msgstr ""
  12500. #. type: lisp
  12501. #: guix-git/doc/guix.texi:7620
  12502. #, no-wrap
  12503. msgid ""
  12504. "(define gdb-sans-guile\n"
  12505. " (package\n"
  12506. " (inherit gdb)\n"
  12507. " (inputs (modify-inputs (package-inputs gdb)\n"
  12508. " (delete \"guile\")))))\n"
  12509. msgstr ""
  12510. #. type: Plain text
  12511. #: guix-git/doc/guix.texi:7626
  12512. msgid "The @code{modify-inputs} form above removes the @code{\"guile\"} package from the @code{inputs} field of @code{gdb}. The @code{modify-inputs} macro is a helper that can prove useful anytime you want to remove, add, or replace package inputs."
  12513. msgstr ""
  12514. #. type: deffn
  12515. #: guix-git/doc/guix.texi:7627
  12516. #, no-wrap
  12517. msgid "{Scheme Syntax} modify-inputs @var{inputs} @var{clauses}"
  12518. msgstr ""
  12519. #. type: deffn
  12520. #: guix-git/doc/guix.texi:7631
  12521. msgid "Modify the given package inputs, as returned by @code{package-inputs} & co., according to the given clauses. Each clause must have one of the following forms:"
  12522. msgstr ""
  12523. #. type: item
  12524. #: guix-git/doc/guix.texi:7633
  12525. #, no-wrap
  12526. msgid "(delete @var{name}@dots{})"
  12527. msgstr ""
  12528. #. type: table
  12529. #: guix-git/doc/guix.texi:7635
  12530. msgid "Delete from the inputs packages with the given @var{name}s (strings)."
  12531. msgstr ""
  12532. #. type: item
  12533. #: guix-git/doc/guix.texi:7636
  12534. #, no-wrap
  12535. msgid "(append @var{package}@dots{})"
  12536. msgstr ""
  12537. #. type: table
  12538. #: guix-git/doc/guix.texi:7638
  12539. msgid "Add @var{package}s to the end of the input list."
  12540. msgstr ""
  12541. #. type: item
  12542. #: guix-git/doc/guix.texi:7639
  12543. #, no-wrap
  12544. msgid "(prepend @var{package}@dots{})"
  12545. msgstr ""
  12546. #. type: table
  12547. #: guix-git/doc/guix.texi:7641
  12548. msgid "Add @var{package}s to the front of the input list."
  12549. msgstr ""
  12550. #. type: deffn
  12551. #: guix-git/doc/guix.texi:7645
  12552. msgid "The example below removes the GMP and ACL inputs of Coreutils and adds libcap to the back of the input list:"
  12553. msgstr ""
  12554. #. type: lisp
  12555. #: guix-git/doc/guix.texi:7650
  12556. #, no-wrap
  12557. msgid ""
  12558. "(modify-inputs (package-inputs coreutils)\n"
  12559. " (delete \"gmp\" \"acl\")\n"
  12560. " (append libcap))\n"
  12561. msgstr ""
  12562. #. type: deffn
  12563. #: guix-git/doc/guix.texi:7654
  12564. msgid "The example below replaces the @code{guile} package from the inputs of @code{guile-redis} with @code{guile-2.2}:"
  12565. msgstr ""
  12566. #. type: lisp
  12567. #: guix-git/doc/guix.texi:7658
  12568. #, no-wrap
  12569. msgid ""
  12570. "(modify-inputs (package-inputs guile-redis)\n"
  12571. " (replace \"guile\" guile-2.2))\n"
  12572. msgstr ""
  12573. #. type: deffn
  12574. #: guix-git/doc/guix.texi:7662
  12575. msgid "The last type of clause is @code{prepend}, to add inputs to the front of the list."
  12576. msgstr ""
  12577. #. type: Plain text
  12578. #: guix-git/doc/guix.texi:7671
  12579. 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:"
  12580. msgstr ""
  12581. #. type: lisp
  12582. #: guix-git/doc/guix.texi:7681
  12583. #, no-wrap
  12584. msgid ""
  12585. "(define (make-lua-socket name lua)\n"
  12586. " ;; Return a luasocket package built with LUA.\n"
  12587. " (package\n"
  12588. " (name name)\n"
  12589. " (version \"3.0\")\n"
  12590. " ;; several fields omitted\n"
  12591. " (inputs (list lua))\n"
  12592. " (synopsis \"Socket library for Lua\")))\n"
  12593. "\n"
  12594. msgstr ""
  12595. #. type: lisp
  12596. #: guix-git/doc/guix.texi:7684
  12597. #, no-wrap
  12598. msgid ""
  12599. "(define-public lua5.1-socket\n"
  12600. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  12601. "\n"
  12602. msgstr ""
  12603. #. type: lisp
  12604. #: guix-git/doc/guix.texi:7687
  12605. #, no-wrap
  12606. msgid ""
  12607. "(define-public lua5.2-socket\n"
  12608. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  12609. msgstr ""
  12610. #. type: Plain text
  12611. #: guix-git/doc/guix.texi:7695
  12612. 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})."
  12613. msgstr ""
  12614. #. type: cindex
  12615. #: guix-git/doc/guix.texi:7696
  12616. #, no-wrap
  12617. msgid "package transformations"
  12618. msgstr ""
  12619. #. type: Plain text
  12620. #: guix-git/doc/guix.texi:7701
  12621. 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}):"
  12622. msgstr ""
  12623. #. type: deffn
  12624. #: guix-git/doc/guix.texi:7702
  12625. #, no-wrap
  12626. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12627. msgstr ""
  12628. #. type: deffn
  12629. #: guix-git/doc/guix.texi:7706
  12630. 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:"
  12631. msgstr ""
  12632. #. type: lisp
  12633. #: guix-git/doc/guix.texi:7710
  12634. #, no-wrap
  12635. msgid ""
  12636. "((with-branch . \"guile-gcrypt=master\")\n"
  12637. " (without-tests . \"libgcrypt\"))\n"
  12638. msgstr ""
  12639. #. type: deffn
  12640. #: guix-git/doc/guix.texi:7714
  12641. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  12642. msgstr ""
  12643. #. type: Plain text
  12644. #: guix-git/doc/guix.texi:7717
  12645. msgid "For instance, a manifest equivalent to this command:"
  12646. msgstr ""
  12647. #. type: example
  12648. #: guix-git/doc/guix.texi:7722
  12649. #, no-wrap
  12650. msgid ""
  12651. "guix build guix \\\n"
  12652. " --with-branch=guile-gcrypt=master \\\n"
  12653. " --with-debug-info=zlib\n"
  12654. msgstr ""
  12655. #. type: Plain text
  12656. #: guix-git/doc/guix.texi:7726
  12657. msgid "... would look like this:"
  12658. msgstr ""
  12659. #. type: lisp
  12660. #: guix-git/doc/guix.texi:7729
  12661. #, no-wrap
  12662. msgid ""
  12663. "(use-modules (guix transformations))\n"
  12664. "\n"
  12665. msgstr ""
  12666. #. type: lisp
  12667. #: guix-git/doc/guix.texi:7735
  12668. #, no-wrap
  12669. msgid ""
  12670. "(define transform\n"
  12671. " ;; The package transformation procedure.\n"
  12672. " (options->transformation\n"
  12673. " '((with-branch . \"guile-gcrypt=master\")\n"
  12674. " (with-debug-info . \"zlib\"))))\n"
  12675. "\n"
  12676. msgstr ""
  12677. #. type: lisp
  12678. #: guix-git/doc/guix.texi:7738
  12679. #, no-wrap
  12680. msgid ""
  12681. "(packages->manifest\n"
  12682. " (list (transform (specification->package \"guix\"))))\n"
  12683. msgstr ""
  12684. #. type: cindex
  12685. #: guix-git/doc/guix.texi:7740
  12686. #, no-wrap
  12687. msgid "input rewriting"
  12688. msgstr ""
  12689. #. type: cindex
  12690. #: guix-git/doc/guix.texi:7741
  12691. #, no-wrap
  12692. msgid "dependency graph rewriting"
  12693. msgstr ""
  12694. #. type: Plain text
  12695. #: guix-git/doc/guix.texi:7748
  12696. 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."
  12697. msgstr ""
  12698. #. type: Plain text
  12699. #: guix-git/doc/guix.texi:7752
  12700. 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."
  12701. msgstr ""
  12702. #. type: deffn
  12703. #: guix-git/doc/guix.texi:7753
  12704. #, no-wrap
  12705. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  12706. msgstr ""
  12707. #. type: deffn
  12708. #: guix-git/doc/guix.texi:7760
  12709. 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."
  12710. msgstr ""
  12711. #. type: deffn
  12712. #: guix-git/doc/guix.texi:7763
  12713. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  12714. msgstr ""
  12715. #. type: table
  12716. #: guix-git/doc/guix.texi:7767 guix-git/doc/guix.texi:11216
  12717. msgid "Consider this example:"
  12718. msgstr ""
  12719. #. type: lisp
  12720. #: guix-git/doc/guix.texi:7773
  12721. #, no-wrap
  12722. msgid ""
  12723. "(define libressl-instead-of-openssl\n"
  12724. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  12725. " ;; recursively.\n"
  12726. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  12727. "\n"
  12728. msgstr ""
  12729. #. type: lisp
  12730. #: guix-git/doc/guix.texi:7776
  12731. #, no-wrap
  12732. msgid ""
  12733. "(define git-with-libressl\n"
  12734. " (libressl-instead-of-openssl git))\n"
  12735. msgstr ""
  12736. #. type: Plain text
  12737. #: guix-git/doc/guix.texi:7784
  12738. 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}})."
  12739. msgstr ""
  12740. #. type: Plain text
  12741. #: guix-git/doc/guix.texi:7787
  12742. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  12743. msgstr ""
  12744. #. type: deffn
  12745. #: guix-git/doc/guix.texi:7788
  12746. #, no-wrap
  12747. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  12748. msgstr ""
  12749. #. type: deffn
  12750. #: guix-git/doc/guix.texi:7795
  12751. 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."
  12752. msgstr ""
  12753. #. type: Plain text
  12754. #: guix-git/doc/guix.texi:7798
  12755. msgid "The example above could be rewritten this way:"
  12756. msgstr ""
  12757. #. type: lisp
  12758. #: guix-git/doc/guix.texi:7803
  12759. #, no-wrap
  12760. msgid ""
  12761. "(define libressl-instead-of-openssl\n"
  12762. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  12763. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  12764. msgstr ""
  12765. #. type: Plain text
  12766. #: guix-git/doc/guix.texi:7808
  12767. 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."
  12768. msgstr ""
  12769. #. type: Plain text
  12770. #: guix-git/doc/guix.texi:7812
  12771. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  12772. msgstr ""
  12773. #. type: deffn
  12774. #: guix-git/doc/guix.texi:7813
  12775. #, no-wrap
  12776. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  12777. msgstr ""
  12778. #. type: deffn
  12779. #: guix-git/doc/guix.texi:7818
  12780. 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."
  12781. msgstr ""
  12782. #. type: cindex
  12783. #: guix-git/doc/guix.texi:7824
  12784. #, no-wrap
  12785. msgid "build system"
  12786. msgstr ""
  12787. #. type: Plain text
  12788. #: guix-git/doc/guix.texi:7829
  12789. 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."
  12790. msgstr ""
  12791. #. type: Plain text
  12792. #: guix-git/doc/guix.texi:7833
  12793. 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."
  12794. msgstr ""
  12795. #. type: cindex
  12796. #: guix-git/doc/guix.texi:7834
  12797. #, no-wrap
  12798. msgid "bag (low-level package representation)"
  12799. msgstr ""
  12800. #. type: Plain text
  12801. #: guix-git/doc/guix.texi:7844
  12802. 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}})."
  12803. msgstr ""
  12804. #. type: Plain text
  12805. #: guix-git/doc/guix.texi:7852
  12806. 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})."
  12807. msgstr ""
  12808. #. type: Plain text
  12809. #: guix-git/doc/guix.texi:7856
  12810. 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."
  12811. msgstr ""
  12812. #. type: defvr
  12813. #: guix-git/doc/guix.texi:7857
  12814. #, no-wrap
  12815. msgid "{Scheme Variable} gnu-build-system"
  12816. msgstr ""
  12817. #. type: defvr
  12818. #: guix-git/doc/guix.texi:7861
  12819. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  12820. msgstr ""
  12821. #. type: cindex
  12822. #: guix-git/doc/guix.texi:7862 guix-git/doc/guix.texi:8812
  12823. #: guix-git/doc/guix.texi:9294
  12824. #, no-wrap
  12825. msgid "build phases"
  12826. msgstr ""
  12827. #. type: defvr
  12828. #: guix-git/doc/guix.texi:7869
  12829. 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."
  12830. msgstr ""
  12831. #. type: defvr
  12832. #: guix-git/doc/guix.texi:7876
  12833. 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."
  12834. msgstr ""
  12835. #. type: defvr
  12836. #: guix-git/doc/guix.texi:7880
  12837. 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:"
  12838. msgstr ""
  12839. #. type: item
  12840. #: guix-git/doc/guix.texi:7882
  12841. #, no-wrap
  12842. msgid "#:phases"
  12843. msgstr ""
  12844. #. type: table
  12845. #: guix-git/doc/guix.texi:7885
  12846. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  12847. msgstr ""
  12848. #. type: item
  12849. #: guix-git/doc/guix.texi:7886
  12850. #, no-wrap
  12851. msgid "#:configure-flags"
  12852. msgstr ""
  12853. #. type: table
  12854. #: guix-git/doc/guix.texi:7889
  12855. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  12856. msgstr ""
  12857. #. type: item
  12858. #: guix-git/doc/guix.texi:7890
  12859. #, no-wrap
  12860. msgid "#:make-flags"
  12861. msgstr ""
  12862. #. type: table
  12863. #: guix-git/doc/guix.texi:7894
  12864. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  12865. msgstr ""
  12866. #. type: item
  12867. #: guix-git/doc/guix.texi:7895
  12868. #, no-wrap
  12869. msgid "#:out-of-source?"
  12870. msgstr ""
  12871. #. type: table
  12872. #: guix-git/doc/guix.texi:7898
  12873. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  12874. msgstr ""
  12875. #. type: table
  12876. #: guix-git/doc/guix.texi:7903
  12877. 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}."
  12878. msgstr ""
  12879. #. type: item
  12880. #: guix-git/doc/guix.texi:7904
  12881. #, no-wrap
  12882. msgid "#:tests?"
  12883. msgstr ""
  12884. #. type: table
  12885. #: guix-git/doc/guix.texi:7907
  12886. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  12887. msgstr ""
  12888. #. type: item
  12889. #: guix-git/doc/guix.texi:7908
  12890. #, no-wrap
  12891. msgid "#:test-target"
  12892. msgstr ""
  12893. #. type: table
  12894. #: guix-git/doc/guix.texi:7911
  12895. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  12896. msgstr ""
  12897. #. type: item
  12898. #: guix-git/doc/guix.texi:7912
  12899. #, no-wrap
  12900. msgid "#:parallel-build?"
  12901. msgstr ""
  12902. #. type: itemx
  12903. #: guix-git/doc/guix.texi:7913
  12904. #, no-wrap
  12905. msgid "#:parallel-tests?"
  12906. msgstr ""
  12907. #. type: table
  12908. #: guix-git/doc/guix.texi:7920
  12909. 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}})."
  12910. msgstr ""
  12911. #. type: cindex
  12912. #: guix-git/doc/guix.texi:7921
  12913. #, no-wrap
  12914. msgid "RUNPATH, validation"
  12915. msgstr ""
  12916. #. type: item
  12917. #: guix-git/doc/guix.texi:7922
  12918. #, no-wrap
  12919. msgid "#:validate-runpath?"
  12920. msgstr ""
  12921. #. type: table
  12922. #: guix-git/doc/guix.texi:7926
  12923. 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."
  12924. msgstr ""
  12925. #. type: table
  12926. #: guix-git/doc/guix.texi:7934
  12927. 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}."
  12928. msgstr ""
  12929. #. type: item
  12930. #: guix-git/doc/guix.texi:7935
  12931. #, no-wrap
  12932. msgid "#:substitutable?"
  12933. msgstr ""
  12934. #. type: table
  12935. #: guix-git/doc/guix.texi:7939
  12936. 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})."
  12937. msgstr ""
  12938. #. type: item
  12939. #: guix-git/doc/guix.texi:7940
  12940. #, no-wrap
  12941. msgid "#:allowed-references"
  12942. msgstr ""
  12943. #. type: itemx
  12944. #: guix-git/doc/guix.texi:7941
  12945. #, no-wrap
  12946. msgid "#:disallowed-references"
  12947. msgstr ""
  12948. #. type: table
  12949. #: guix-git/doc/guix.texi:7946
  12950. 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."
  12951. msgstr ""
  12952. #. type: table
  12953. #: guix-git/doc/guix.texi:7951
  12954. 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})."
  12955. msgstr ""
  12956. #. type: defvr
  12957. #: guix-git/doc/guix.texi:7954
  12958. msgid "Most other build systems support these keyword arguments."
  12959. msgstr ""
  12960. #. type: Plain text
  12961. #: guix-git/doc/guix.texi:7961
  12962. 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."
  12963. msgstr ""
  12964. #. type: defvr
  12965. #: guix-git/doc/guix.texi:7962
  12966. #, no-wrap
  12967. msgid "{Scheme Variable} ant-build-system"
  12968. msgstr ""
  12969. #. type: defvr
  12970. #: guix-git/doc/guix.texi:7966
  12971. 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}."
  12972. msgstr ""
  12973. #. type: defvr
  12974. #: guix-git/doc/guix.texi:7971
  12975. 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."
  12976. msgstr ""
  12977. #. type: defvr
  12978. #: guix-git/doc/guix.texi:7977
  12979. 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''."
  12980. msgstr ""
  12981. #. type: defvr
  12982. #: guix-git/doc/guix.texi:7985
  12983. 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."
  12984. msgstr ""
  12985. #. type: defvr
  12986. #: guix-git/doc/guix.texi:7989
  12987. 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."
  12988. msgstr ""
  12989. #. type: defvr
  12990. #: guix-git/doc/guix.texi:7992
  12991. #, no-wrap
  12992. msgid "{Scheme Variable} android-ndk-build-system"
  12993. msgstr ""
  12994. #. type: cindex
  12995. #: guix-git/doc/guix.texi:7993
  12996. #, no-wrap
  12997. msgid "Android distribution"
  12998. msgstr ""
  12999. #. type: cindex
  13000. #: guix-git/doc/guix.texi:7994
  13001. #, no-wrap
  13002. msgid "Android NDK build system"
  13003. msgstr ""
  13004. #. type: defvr
  13005. #: guix-git/doc/guix.texi:7998
  13006. 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."
  13007. msgstr ""
  13008. #. type: defvr
  13009. #: guix-git/doc/guix.texi:8002
  13010. 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."
  13011. msgstr ""
  13012. #. type: defvr
  13013. #: guix-git/doc/guix.texi:8005
  13014. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  13015. msgstr ""
  13016. #. type: defvr
  13017. #: guix-git/doc/guix.texi:8008
  13018. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  13019. msgstr ""
  13020. #. type: defvr
  13021. #: guix-git/doc/guix.texi:8011
  13022. #, no-wrap
  13023. msgid "{Scheme Variable} asdf-build-system/source"
  13024. msgstr ""
  13025. #. type: defvrx
  13026. #: guix-git/doc/guix.texi:8012
  13027. #, no-wrap
  13028. msgid "{Scheme Variable} asdf-build-system/sbcl"
  13029. msgstr ""
  13030. #. type: defvrx
  13031. #: guix-git/doc/guix.texi:8013
  13032. #, no-wrap
  13033. msgid "{Scheme Variable} asdf-build-system/ecl"
  13034. msgstr ""
  13035. #. type: defvr
  13036. #: guix-git/doc/guix.texi:8019
  13037. 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."
  13038. msgstr ""
  13039. #. type: defvr
  13040. #: guix-git/doc/guix.texi:8026
  13041. 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."
  13042. msgstr ""
  13043. #. type: defvr
  13044. #: guix-git/doc/guix.texi:8030
  13045. 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}."
  13046. msgstr ""
  13047. #. type: defvr
  13048. #: guix-git/doc/guix.texi:8034
  13049. 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."
  13050. msgstr ""
  13051. #. type: defvr
  13052. #: guix-git/doc/guix.texi:8042
  13053. 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."
  13054. msgstr ""
  13055. #. type: defvr
  13056. #: guix-git/doc/guix.texi:8051
  13057. 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."
  13058. msgstr ""
  13059. #. type: defvr
  13060. #: guix-git/doc/guix.texi:8056
  13061. 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."
  13062. msgstr ""
  13063. #. type: defvr
  13064. #: guix-git/doc/guix.texi:8059
  13065. #, no-wrap
  13066. msgid "{Scheme Variable} cargo-build-system"
  13067. msgstr ""
  13068. #. type: cindex
  13069. #: guix-git/doc/guix.texi:8060
  13070. #, no-wrap
  13071. msgid "Rust programming language"
  13072. msgstr ""
  13073. #. type: cindex
  13074. #: guix-git/doc/guix.texi:8061
  13075. #, no-wrap
  13076. msgid "Cargo (Rust build system)"
  13077. msgstr ""
  13078. #. type: defvr
  13079. #: guix-git/doc/guix.texi:8065
  13080. 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}."
  13081. msgstr ""
  13082. #. type: defvr
  13083. #: guix-git/doc/guix.texi:8068
  13084. 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."
  13085. msgstr ""
  13086. #. type: defvr
  13087. #: guix-git/doc/guix.texi:8078
  13088. 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."
  13089. msgstr ""
  13090. #. type: defvr
  13091. #: guix-git/doc/guix.texi:8088
  13092. 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."
  13093. msgstr ""
  13094. #. type: defvr
  13095. #: guix-git/doc/guix.texi:8090
  13096. #, no-wrap
  13097. msgid "{Scheme Variable} chicken-build-system"
  13098. msgstr ""
  13099. #. type: defvr
  13100. #: guix-git/doc/guix.texi:8095
  13101. 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."
  13102. msgstr ""
  13103. #. type: defvr
  13104. #: guix-git/doc/guix.texi:8098
  13105. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  13106. msgstr ""
  13107. #. type: defvr
  13108. #: guix-git/doc/guix.texi:8102
  13109. 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."
  13110. msgstr ""
  13111. #. type: defvr
  13112. #: guix-git/doc/guix.texi:8104
  13113. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  13114. msgstr ""
  13115. #. type: lisp
  13116. #: guix-git/doc/guix.texi:8107
  13117. #, no-wrap
  13118. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  13119. msgstr ""
  13120. #. type: defvr
  13121. #: guix-git/doc/guix.texi:8112
  13122. 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."
  13123. msgstr ""
  13124. #. type: defvr
  13125. #: guix-git/doc/guix.texi:8114
  13126. #, no-wrap
  13127. msgid "{Scheme Variable} copy-build-system"
  13128. msgstr ""
  13129. #. type: defvr
  13130. #: guix-git/doc/guix.texi:8118
  13131. 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."
  13132. msgstr ""
  13133. #. type: defvr
  13134. #: guix-git/doc/guix.texi:8123
  13135. 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}."
  13136. msgstr ""
  13137. #. type: defvr
  13138. #: guix-git/doc/guix.texi:8128
  13139. 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."
  13140. msgstr ""
  13141. #. type: item
  13142. #: guix-git/doc/guix.texi:8130
  13143. #, no-wrap
  13144. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  13145. msgstr ""
  13146. #. type: item
  13147. #: guix-git/doc/guix.texi:8132
  13148. #, no-wrap
  13149. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  13150. msgstr ""
  13151. #. type: item
  13152. #: guix-git/doc/guix.texi:8133
  13153. #, no-wrap
  13154. msgid "Otherwise install @var{source} as @var{target}."
  13155. msgstr ""
  13156. #. type: item
  13157. #: guix-git/doc/guix.texi:8136
  13158. #, no-wrap
  13159. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  13160. msgstr ""
  13161. #. type: itemize
  13162. #: guix-git/doc/guix.texi:8139
  13163. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  13164. msgstr ""
  13165. #. type: item
  13166. #: guix-git/doc/guix.texi:8140
  13167. #, no-wrap
  13168. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  13169. msgstr ""
  13170. #. type: item
  13171. #: guix-git/doc/guix.texi:8141
  13172. #, no-wrap
  13173. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  13174. msgstr ""
  13175. #. type: itemize
  13176. #: guix-git/doc/guix.texi:8144
  13177. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  13178. msgstr ""
  13179. #. type: item
  13180. #: guix-git/doc/guix.texi:8145
  13181. #, no-wrap
  13182. msgid "With @code{#:include}, install all the files which the path suffix matches"
  13183. msgstr ""
  13184. #. type: itemize
  13185. #: guix-git/doc/guix.texi:8147
  13186. msgid "at least one of the elements in the given list."
  13187. msgstr ""
  13188. #. type: item
  13189. #: guix-git/doc/guix.texi:8147
  13190. #, no-wrap
  13191. msgid "With @code{#:include-regexp}, install all the files which the"
  13192. msgstr ""
  13193. #. type: itemize
  13194. #: guix-git/doc/guix.texi:8150
  13195. msgid "subpaths match at least one of the regular expressions in the given list."
  13196. msgstr ""
  13197. #. type: item
  13198. #: guix-git/doc/guix.texi:8150
  13199. #, no-wrap
  13200. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  13201. msgstr ""
  13202. #. type: itemize
  13203. #: guix-git/doc/guix.texi:8155
  13204. 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."
  13205. msgstr ""
  13206. #. type: itemize
  13207. #: guix-git/doc/guix.texi:8159
  13208. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  13209. msgstr ""
  13210. #. type: defvr
  13211. #: guix-git/doc/guix.texi:8162
  13212. msgid "Examples:"
  13213. msgstr ""
  13214. #. type: item
  13215. #: guix-git/doc/guix.texi:8164
  13216. #, no-wrap
  13217. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  13218. msgstr ""
  13219. #. type: item
  13220. #: guix-git/doc/guix.texi:8165
  13221. #, no-wrap
  13222. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  13223. msgstr ""
  13224. #. type: item
  13225. #: guix-git/doc/guix.texi:8166
  13226. #, no-wrap
  13227. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  13228. msgstr ""
  13229. #. type: itemize
  13230. #: guix-git/doc/guix.texi:8168
  13231. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  13232. msgstr ""
  13233. #. type: item
  13234. #: guix-git/doc/guix.texi:8168
  13235. #, no-wrap
  13236. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  13237. msgstr ""
  13238. #. type: itemize
  13239. #: guix-git/doc/guix.texi:8170
  13240. msgid "@file{share/my-app/sub/file}."
  13241. msgstr ""
  13242. #. type: item
  13243. #: guix-git/doc/guix.texi:8170
  13244. #, no-wrap
  13245. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  13246. msgstr ""
  13247. #. type: itemize
  13248. #: guix-git/doc/guix.texi:8172
  13249. msgid "@file{share/my-app/file}."
  13250. msgstr ""
  13251. #. type: cindex
  13252. #: guix-git/doc/guix.texi:8176
  13253. #, no-wrap
  13254. msgid "Clojure (programming language)"
  13255. msgstr ""
  13256. #. type: cindex
  13257. #: guix-git/doc/guix.texi:8177
  13258. #, no-wrap
  13259. msgid "simple Clojure build system"
  13260. msgstr ""
  13261. #. type: defvr
  13262. #: guix-git/doc/guix.texi:8178
  13263. #, no-wrap
  13264. msgid "{Scheme Variable} clojure-build-system"
  13265. msgstr ""
  13266. #. type: defvr
  13267. #: guix-git/doc/guix.texi:8183
  13268. 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."
  13269. msgstr ""
  13270. #. type: defvr
  13271. #: guix-git/doc/guix.texi:8187
  13272. 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."
  13273. msgstr ""
  13274. #. type: defvr
  13275. #: guix-git/doc/guix.texi:8193
  13276. 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."
  13277. msgstr ""
  13278. #. type: defvr
  13279. #: guix-git/doc/guix.texi:8196
  13280. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  13281. msgstr ""
  13282. #. type: item
  13283. #: guix-git/doc/guix.texi:8199 guix-git/doc/guix.texi:8773
  13284. #: guix-git/doc/guix.texi:8822 guix-git/doc/guix.texi:8891
  13285. #: guix-git/doc/guix.texi:35042 guix-git/doc/guix.texi:37668
  13286. #, no-wrap
  13287. msgid "build"
  13288. msgstr ""
  13289. #. type: table
  13290. #: guix-git/doc/guix.texi:8208
  13291. 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."
  13292. msgstr ""
  13293. #. type: item
  13294. #: guix-git/doc/guix.texi:8209 guix-git/doc/guix.texi:8777
  13295. #: guix-git/doc/guix.texi:8896
  13296. #, no-wrap
  13297. msgid "check"
  13298. msgstr ""
  13299. #. type: table
  13300. #: guix-git/doc/guix.texi:8216
  13301. 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."
  13302. msgstr ""
  13303. #. type: item
  13304. #: guix-git/doc/guix.texi:8217 guix-git/doc/guix.texi:8783
  13305. #: guix-git/doc/guix.texi:8826 guix-git/doc/guix.texi:8902
  13306. #, no-wrap
  13307. msgid "install"
  13308. msgstr ""
  13309. #. type: table
  13310. #: guix-git/doc/guix.texi:8219
  13311. msgid "This phase installs all jars built previously."
  13312. msgstr ""
  13313. #. type: defvr
  13314. #: guix-git/doc/guix.texi:8222
  13315. msgid "Apart from the above, this build system also contains an additional phase:"
  13316. msgstr ""
  13317. #. type: item
  13318. #: guix-git/doc/guix.texi:8225
  13319. #, no-wrap
  13320. msgid "install-doc"
  13321. msgstr ""
  13322. #. type: table
  13323. #: guix-git/doc/guix.texi:8230
  13324. 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."
  13325. msgstr ""
  13326. #. type: defvr
  13327. #: guix-git/doc/guix.texi:8233
  13328. #, no-wrap
  13329. msgid "{Scheme Variable} cmake-build-system"
  13330. msgstr ""
  13331. #. type: defvr
  13332. #: guix-git/doc/guix.texi:8237
  13333. 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}."
  13334. msgstr ""
  13335. #. type: defvr
  13336. #: guix-git/doc/guix.texi:8241
  13337. 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."
  13338. msgstr ""
  13339. #. type: defvr
  13340. #: guix-git/doc/guix.texi:8248
  13341. 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."
  13342. msgstr ""
  13343. #. type: defvr
  13344. #: guix-git/doc/guix.texi:8250
  13345. #, no-wrap
  13346. msgid "{Scheme Variable} dune-build-system"
  13347. msgstr ""
  13348. #. type: defvr
  13349. #: guix-git/doc/guix.texi:8257
  13350. 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."
  13351. msgstr ""
  13352. #. type: defvr
  13353. #: guix-git/doc/guix.texi:8261
  13354. 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."
  13355. msgstr ""
  13356. #. type: defvr
  13357. #: guix-git/doc/guix.texi:8265
  13358. 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."
  13359. msgstr ""
  13360. #. type: defvr
  13361. #: guix-git/doc/guix.texi:8269
  13362. 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}."
  13363. msgstr ""
  13364. #. type: defvr
  13365. #: guix-git/doc/guix.texi:8274
  13366. 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}."
  13367. msgstr ""
  13368. #. type: defvr
  13369. #: guix-git/doc/guix.texi:8277
  13370. #, no-wrap
  13371. msgid "{Scheme Variable} go-build-system"
  13372. msgstr ""
  13373. #. type: defvr
  13374. #: guix-git/doc/guix.texi:8282
  13375. 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}."
  13376. msgstr ""
  13377. #. type: defvr
  13378. #: guix-git/doc/guix.texi:8293
  13379. 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."
  13380. msgstr ""
  13381. #. type: defvr
  13382. #: guix-git/doc/guix.texi:8298
  13383. 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."
  13384. msgstr ""
  13385. #. type: defvr
  13386. #: guix-git/doc/guix.texi:8305
  13387. 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}."
  13388. msgstr ""
  13389. #. type: defvr
  13390. #: guix-git/doc/guix.texi:8307
  13391. #, no-wrap
  13392. msgid "{Scheme Variable} glib-or-gtk-build-system"
  13393. msgstr ""
  13394. #. type: defvr
  13395. #: guix-git/doc/guix.texi:8310
  13396. 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+."
  13397. msgstr ""
  13398. #. type: defvr
  13399. #: guix-git/doc/guix.texi:8313
  13400. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  13401. msgstr ""
  13402. #. type: item
  13403. #: guix-git/doc/guix.texi:8315 guix-git/doc/guix.texi:8799
  13404. #, no-wrap
  13405. msgid "glib-or-gtk-wrap"
  13406. msgstr ""
  13407. #. type: table
  13408. #: guix-git/doc/guix.texi:8322
  13409. 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."
  13410. msgstr ""
  13411. #. type: table
  13412. #: guix-git/doc/guix.texi:8329
  13413. 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+."
  13414. msgstr ""
  13415. #. type: item
  13416. #: guix-git/doc/guix.texi:8330 guix-git/doc/guix.texi:8803
  13417. #, no-wrap
  13418. msgid "glib-or-gtk-compile-schemas"
  13419. msgstr ""
  13420. #. type: table
  13421. #: guix-git/doc/guix.texi:8338
  13422. 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."
  13423. msgstr ""
  13424. #. type: defvr
  13425. #: guix-git/doc/guix.texi:8341
  13426. msgid "Both phases are executed after the @code{install} phase."
  13427. msgstr ""
  13428. #. type: defvr
  13429. #: guix-git/doc/guix.texi:8343
  13430. #, no-wrap
  13431. msgid "{Scheme Variable} guile-build-system"
  13432. msgstr ""
  13433. #. type: defvr
  13434. #: guix-git/doc/guix.texi:8350
  13435. 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."
  13436. msgstr ""
  13437. #. type: defvr
  13438. #: guix-git/doc/guix.texi:8353
  13439. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  13440. msgstr ""
  13441. #. type: defvr
  13442. #: guix-git/doc/guix.texi:8356
  13443. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  13444. msgstr ""
  13445. #. type: defvr
  13446. #: guix-git/doc/guix.texi:8358
  13447. #, no-wrap
  13448. msgid "{Scheme Variable} julia-build-system"
  13449. msgstr ""
  13450. #. type: defvr
  13451. #: guix-git/doc/guix.texi:8365
  13452. 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}."
  13453. msgstr ""
  13454. #. type: defvr
  13455. #: guix-git/doc/guix.texi:8369
  13456. 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)."
  13457. msgstr ""
  13458. #. type: defvr
  13459. #: guix-git/doc/guix.texi:8373
  13460. 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}."
  13461. msgstr ""
  13462. #. type: defvr
  13463. #: guix-git/doc/guix.texi:8378
  13464. 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."
  13465. msgstr ""
  13466. #. type: defvr
  13467. #: guix-git/doc/guix.texi:8382
  13468. 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:"
  13469. msgstr ""
  13470. #. type: lisp
  13471. #: guix-git/doc/guix.texi:8394
  13472. #, no-wrap
  13473. msgid ""
  13474. "(add-after 'unpack 'override-binary-path\n"
  13475. " (lambda* (#:key inputs #:allow-other-keys)\n"
  13476. " (for-each (lambda (wrapper)\n"
  13477. " (substitute* wrapper\n"
  13478. " ((\"generate_wrapper_header.*\")\n"
  13479. " (string-append\n"
  13480. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  13481. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  13482. " ;; There's a Julia file for each platform, override them all.\n"
  13483. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  13484. msgstr ""
  13485. #. type: defvr
  13486. #: guix-git/doc/guix.texi:8402
  13487. 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."
  13488. msgstr ""
  13489. #. type: defvr
  13490. #: guix-git/doc/guix.texi:8404
  13491. #, no-wrap
  13492. msgid "{Scheme Variable} maven-build-system"
  13493. msgstr ""
  13494. #. type: defvr
  13495. #: guix-git/doc/guix.texi:8411
  13496. 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."
  13497. msgstr ""
  13498. #. type: defvr
  13499. #: guix-git/doc/guix.texi:8421
  13500. 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."
  13501. msgstr ""
  13502. #. type: defvr
  13503. #: guix-git/doc/guix.texi:8424
  13504. 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."
  13505. msgstr ""
  13506. #. type: defvr
  13507. #: guix-git/doc/guix.texi:8430
  13508. 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}."
  13509. msgstr ""
  13510. #. type: defvr
  13511. #: guix-git/doc/guix.texi:8436
  13512. 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."
  13513. msgstr ""
  13514. #. type: defvr
  13515. #: guix-git/doc/guix.texi:8439
  13516. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  13517. msgstr ""
  13518. #. type: defvr
  13519. #: guix-git/doc/guix.texi:8444
  13520. 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."
  13521. msgstr ""
  13522. #. type: defvr
  13523. #: guix-git/doc/guix.texi:8446
  13524. #, no-wrap
  13525. msgid "{Scheme Variable} minetest-mod-build-system"
  13526. msgstr ""
  13527. #. type: defvr
  13528. #: guix-git/doc/guix.texi:8452
  13529. 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."
  13530. msgstr ""
  13531. #. type: defvr
  13532. #: guix-git/doc/guix.texi:8454
  13533. #, no-wrap
  13534. msgid "{Scheme Variable} minify-build-system"
  13535. msgstr ""
  13536. #. type: defvr
  13537. #: guix-git/doc/guix.texi:8457
  13538. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  13539. msgstr ""
  13540. #. type: defvr
  13541. #: guix-git/doc/guix.texi:8463
  13542. 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."
  13543. msgstr ""
  13544. #. type: defvr
  13545. #: guix-git/doc/guix.texi:8467
  13546. 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."
  13547. msgstr ""
  13548. #. type: defvr
  13549. #: guix-git/doc/guix.texi:8469
  13550. #, no-wrap
  13551. msgid "{Scheme Variable} ocaml-build-system"
  13552. msgstr ""
  13553. #. type: defvr
  13554. #: guix-git/doc/guix.texi:8475
  13555. 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."
  13556. msgstr ""
  13557. #. type: defvr
  13558. #: guix-git/doc/guix.texi:8485
  13559. 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."
  13560. msgstr ""
  13561. #. type: defvr
  13562. #: guix-git/doc/guix.texi:8490
  13563. 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."
  13564. msgstr ""
  13565. #. type: defvr
  13566. #: guix-git/doc/guix.texi:8494
  13567. 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."
  13568. msgstr ""
  13569. #. type: defvr
  13570. #: guix-git/doc/guix.texi:8502
  13571. 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."
  13572. msgstr ""
  13573. #. type: defvr
  13574. #: guix-git/doc/guix.texi:8510
  13575. 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."
  13576. msgstr ""
  13577. #. type: defvr
  13578. #: guix-git/doc/guix.texi:8512
  13579. #, no-wrap
  13580. msgid "{Scheme Variable} python-build-system"
  13581. msgstr ""
  13582. #. type: defvr
  13583. #: guix-git/doc/guix.texi:8517
  13584. 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{}}."
  13585. msgstr ""
  13586. #. type: defvr
  13587. #: guix-git/doc/guix.texi:8522
  13588. msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @env{GUIX_PYTHONPATH} environment variable points to all the Python libraries they depend on."
  13589. msgstr ""
  13590. #. type: defvr
  13591. #: guix-git/doc/guix.texi:8528
  13592. 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."
  13593. msgstr ""
  13594. #. type: defvr
  13595. #: guix-git/doc/guix.texi:8533
  13596. 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}."
  13597. msgstr ""
  13598. #. type: defvr
  13599. #: guix-git/doc/guix.texi:8539
  13600. msgid "If a @code{\"python\"} output is available, the package is installed into it instead of the default @code{\"out\"} output. This is useful for packages that include a Python package as only a part of the software, and thus want to combine the phases of @code{python-build-system} with another build system. Python bindings are a common usecase."
  13601. msgstr ""
  13602. #. type: defvr
  13603. #: guix-git/doc/guix.texi:8542
  13604. #, no-wrap
  13605. msgid "{Scheme Variable} perl-build-system"
  13606. msgstr ""
  13607. #. type: defvr
  13608. #: guix-git/doc/guix.texi:8554
  13609. 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."
  13610. msgstr ""
  13611. #. type: defvr
  13612. #: guix-git/doc/guix.texi:8558
  13613. 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."
  13614. msgstr ""
  13615. #. type: defvr
  13616. #: guix-git/doc/guix.texi:8560
  13617. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13618. msgstr ""
  13619. #. type: defvr
  13620. #: guix-git/doc/guix.texi:8562
  13621. #, no-wrap
  13622. msgid "{Scheme Variable} renpy-build-system"
  13623. msgstr ""
  13624. #. type: defvr
  13625. #: guix-git/doc/guix.texi:8566
  13626. 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."
  13627. msgstr ""
  13628. #. type: defvr
  13629. #: guix-git/doc/guix.texi:8569
  13630. 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."
  13631. msgstr ""
  13632. #. type: defvr
  13633. #: guix-git/doc/guix.texi:8573
  13634. 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}."
  13635. msgstr ""
  13636. #. type: defvr
  13637. #: guix-git/doc/guix.texi:8575
  13638. #, no-wrap
  13639. msgid "{Scheme Variable} qt-build-system"
  13640. msgstr ""
  13641. #. type: defvr
  13642. #: guix-git/doc/guix.texi:8578
  13643. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  13644. msgstr ""
  13645. #. type: defvr
  13646. #: guix-git/doc/guix.texi:8581
  13647. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  13648. msgstr ""
  13649. #. type: item
  13650. #: guix-git/doc/guix.texi:8583
  13651. #, no-wrap
  13652. msgid "check-setup"
  13653. msgstr ""
  13654. #. type: table
  13655. #: guix-git/doc/guix.texi:8590
  13656. 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}."
  13657. msgstr ""
  13658. #. type: table
  13659. #: guix-git/doc/guix.texi:8593
  13660. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  13661. msgstr ""
  13662. #. type: item
  13663. #: guix-git/doc/guix.texi:8594
  13664. #, no-wrap
  13665. msgid "qt-wrap"
  13666. msgstr ""
  13667. #. type: table
  13668. #: guix-git/doc/guix.texi:8600
  13669. 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."
  13670. msgstr ""
  13671. #. type: table
  13672. #: guix-git/doc/guix.texi:8606
  13673. 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."
  13674. msgstr ""
  13675. #. type: table
  13676. #: guix-git/doc/guix.texi:8608
  13677. msgid "This phase is added after the @code{install} phase."
  13678. msgstr ""
  13679. #. type: defvr
  13680. #: guix-git/doc/guix.texi:8611
  13681. #, no-wrap
  13682. msgid "{Scheme Variable} r-build-system"
  13683. msgstr ""
  13684. #. type: defvr
  13685. #: guix-git/doc/guix.texi:8619
  13686. 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}."
  13687. msgstr ""
  13688. #. type: defvr
  13689. #: guix-git/doc/guix.texi:8621
  13690. #, no-wrap
  13691. msgid "{Scheme Variable} rakudo-build-system"
  13692. msgstr ""
  13693. #. type: defvr
  13694. #: guix-git/doc/guix.texi:8629
  13695. 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."
  13696. msgstr ""
  13697. #. type: defvr
  13698. #: guix-git/doc/guix.texi:8637
  13699. 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."
  13700. msgstr ""
  13701. #. type: defvr
  13702. #: guix-git/doc/guix.texi:8639
  13703. #, no-wrap
  13704. msgid "{Scheme Variable} texlive-build-system"
  13705. msgstr ""
  13706. #. type: defvr
  13707. #: guix-git/doc/guix.texi:8644
  13708. 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."
  13709. msgstr ""
  13710. #. type: defvr
  13711. #: guix-git/doc/guix.texi:8653
  13712. 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."
  13713. msgstr ""
  13714. #. type: defvr
  13715. #: guix-git/doc/guix.texi:8656
  13716. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  13717. msgstr ""
  13718. #. type: defvr
  13719. #: guix-git/doc/guix.texi:8658
  13720. #, no-wrap
  13721. msgid "{Scheme Variable} ruby-build-system"
  13722. msgstr ""
  13723. #. type: defvr
  13724. #: guix-git/doc/guix.texi:8662
  13725. 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}."
  13726. msgstr ""
  13727. #. type: defvr
  13728. #: guix-git/doc/guix.texi:8670
  13729. 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."
  13730. msgstr ""
  13731. #. type: defvr
  13732. #: guix-git/doc/guix.texi:8674
  13733. 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."
  13734. msgstr ""
  13735. #. type: defvr
  13736. #: guix-git/doc/guix.texi:8676
  13737. #, no-wrap
  13738. msgid "{Scheme Variable} waf-build-system"
  13739. msgstr ""
  13740. #. type: defvr
  13741. #: guix-git/doc/guix.texi:8682
  13742. 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."
  13743. msgstr ""
  13744. #. type: defvr
  13745. #: guix-git/doc/guix.texi:8686
  13746. 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."
  13747. msgstr ""
  13748. #. type: defvr
  13749. #: guix-git/doc/guix.texi:8688
  13750. #, no-wrap
  13751. msgid "{Scheme Variable} scons-build-system"
  13752. msgstr ""
  13753. #. type: defvr
  13754. #: guix-git/doc/guix.texi:8694
  13755. 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."
  13756. msgstr ""
  13757. #. type: defvr
  13758. #: guix-git/doc/guix.texi:8701
  13759. 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."
  13760. msgstr ""
  13761. #. type: defvr
  13762. #: guix-git/doc/guix.texi:8703
  13763. #, no-wrap
  13764. msgid "{Scheme Variable} haskell-build-system"
  13765. msgstr ""
  13766. #. type: defvr
  13767. #: guix-git/doc/guix.texi:8717
  13768. 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."
  13769. msgstr ""
  13770. #. type: defvr
  13771. #: guix-git/doc/guix.texi:8720
  13772. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  13773. msgstr ""
  13774. #. type: defvr
  13775. #: guix-git/doc/guix.texi:8722
  13776. #, no-wrap
  13777. msgid "{Scheme Variable} dub-build-system"
  13778. msgstr ""
  13779. #. type: defvr
  13780. #: guix-git/doc/guix.texi:8727
  13781. 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."
  13782. msgstr ""
  13783. #. type: defvr
  13784. #: guix-git/doc/guix.texi:8730
  13785. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  13786. msgstr ""
  13787. #. type: anchor{#1}
  13788. #: guix-git/doc/guix.texi:8733
  13789. msgid "emacs-build-system"
  13790. msgstr ""
  13791. #. type: defvr
  13792. #: guix-git/doc/guix.texi:8733
  13793. #, no-wrap
  13794. msgid "{Scheme Variable} emacs-build-system"
  13795. msgstr ""
  13796. #. type: defvr
  13797. #: guix-git/doc/guix.texi:8737
  13798. 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})."
  13799. msgstr ""
  13800. #. type: defvr
  13801. #: guix-git/doc/guix.texi:8743
  13802. 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}."
  13803. msgstr ""
  13804. #. type: defvr
  13805. #: guix-git/doc/guix.texi:8745
  13806. #, no-wrap
  13807. msgid "{Scheme Variable} font-build-system"
  13808. msgstr ""
  13809. #. type: defvr
  13810. #: guix-git/doc/guix.texi:8751
  13811. 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."
  13812. msgstr ""
  13813. #. type: defvr
  13814. #: guix-git/doc/guix.texi:8753
  13815. #, no-wrap
  13816. msgid "{Scheme Variable} meson-build-system"
  13817. msgstr ""
  13818. #. type: defvr
  13819. #: guix-git/doc/guix.texi:8757
  13820. 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."
  13821. msgstr ""
  13822. #. type: defvr
  13823. #: guix-git/doc/guix.texi:8761
  13824. 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."
  13825. msgstr ""
  13826. #. type: defvr
  13827. #: guix-git/doc/guix.texi:8764
  13828. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  13829. msgstr ""
  13830. #. type: item
  13831. #: guix-git/doc/guix.texi:8767 guix-git/doc/guix.texi:8818
  13832. #: guix-git/doc/guix.texi:8886
  13833. #, no-wrap
  13834. msgid "configure"
  13835. msgstr ""
  13836. #. type: table
  13837. #: guix-git/doc/guix.texi:8772
  13838. 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}."
  13839. msgstr ""
  13840. #. type: table
  13841. #: guix-git/doc/guix.texi:8776
  13842. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  13843. msgstr ""
  13844. #. type: table
  13845. #: guix-git/doc/guix.texi:8782
  13846. msgid "The phase runs @samp{meson test} with a base set of options that cannot be overridden. This base set of options can be extended via the @code{#:test-options} argument, for example to select or skip a specific test suite."
  13847. msgstr ""
  13848. #. type: table
  13849. #: guix-git/doc/guix.texi:8785
  13850. msgid "The phase runs @code{ninja install} and can not be changed."
  13851. msgstr ""
  13852. #. type: defvr
  13853. #: guix-git/doc/guix.texi:8788
  13854. msgid "Apart from that, the build system also adds the following phases:"
  13855. msgstr ""
  13856. #. type: item
  13857. #: guix-git/doc/guix.texi:8791
  13858. #, no-wrap
  13859. msgid "fix-runpath"
  13860. msgstr ""
  13861. #. type: table
  13862. #: guix-git/doc/guix.texi:8798
  13863. msgid "This phase ensures that all binaries can find the libraries they need. It searches for required libraries in subdirectories of the package being built, and adds those to @code{RUNPATH} where needed. It also removes references to libraries left over from the build phase by @code{meson}, such as test dependencies, that aren't actually required for the program to run."
  13864. msgstr ""
  13865. #. type: table
  13866. #: guix-git/doc/guix.texi:8802 guix-git/doc/guix.texi:8806
  13867. 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?}."
  13868. msgstr ""
  13869. #. type: defvr
  13870. #: guix-git/doc/guix.texi:8809
  13871. #, no-wrap
  13872. msgid "{Scheme Variable} linux-module-build-system"
  13873. msgstr ""
  13874. #. type: defvr
  13875. #: guix-git/doc/guix.texi:8811
  13876. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  13877. msgstr ""
  13878. #. type: defvr
  13879. #: guix-git/doc/guix.texi:8815
  13880. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  13881. msgstr ""
  13882. #. type: table
  13883. #: guix-git/doc/guix.texi:8821
  13884. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  13885. msgstr ""
  13886. #. type: table
  13887. #: guix-git/doc/guix.texi:8825
  13888. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  13889. msgstr ""
  13890. #. type: table
  13891. #: guix-git/doc/guix.texi:8829
  13892. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  13893. msgstr ""
  13894. #. type: defvr
  13895. #: guix-git/doc/guix.texi:8834
  13896. 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)."
  13897. msgstr ""
  13898. #. type: defvr
  13899. #: guix-git/doc/guix.texi:8836
  13900. #, no-wrap
  13901. msgid "{Scheme Variable} node-build-system"
  13902. msgstr ""
  13903. #. type: defvr
  13904. #: guix-git/doc/guix.texi:8841
  13905. 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."
  13906. msgstr ""
  13907. #. type: defvr
  13908. #: guix-git/doc/guix.texi:8845
  13909. 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}."
  13910. msgstr ""
  13911. #. type: Plain text
  13912. #: guix-git/doc/guix.texi:8851
  13913. 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."
  13914. msgstr ""
  13915. #. type: defvr
  13916. #: guix-git/doc/guix.texi:8852
  13917. #, no-wrap
  13918. msgid "{Scheme Variable} trivial-build-system"
  13919. msgstr ""
  13920. #. type: defvr
  13921. #: guix-git/doc/guix.texi:8854
  13922. msgid "This variable is exported by @code{(guix build-system trivial)}."
  13923. msgstr ""
  13924. #. type: defvr
  13925. #: guix-git/doc/guix.texi:8859
  13926. 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}})."
  13927. msgstr ""
  13928. #. type: cindex
  13929. #: guix-git/doc/guix.texi:8864
  13930. #, no-wrap
  13931. msgid "build phases, for packages"
  13932. msgstr ""
  13933. #. type: Plain text
  13934. #: guix-git/doc/guix.texi:8870
  13935. 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})."
  13936. msgstr ""
  13937. #. type: Plain text
  13938. #: guix-git/doc/guix.texi:8874
  13939. 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:"
  13940. msgstr ""
  13941. #. type: item
  13942. #: guix-git/doc/guix.texi:8876
  13943. #, no-wrap
  13944. msgid "unpack"
  13945. msgstr ""
  13946. #. type: table
  13947. #: guix-git/doc/guix.texi:8880
  13948. 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."
  13949. msgstr ""
  13950. #. type: item
  13951. #: guix-git/doc/guix.texi:8881
  13952. #, no-wrap
  13953. msgid "patch-source-shebangs"
  13954. msgstr ""
  13955. #. type: table
  13956. #: guix-git/doc/guix.texi:8885
  13957. 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}."
  13958. msgstr ""
  13959. #. type: table
  13960. #: guix-git/doc/guix.texi:8890
  13961. 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."
  13962. msgstr ""
  13963. #. type: table
  13964. #: guix-git/doc/guix.texi:8895
  13965. 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}."
  13966. msgstr ""
  13967. #. type: table
  13968. #: guix-git/doc/guix.texi:8901
  13969. 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}."
  13970. msgstr ""
  13971. #. type: table
  13972. #: guix-git/doc/guix.texi:8904
  13973. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  13974. msgstr ""
  13975. #. type: item
  13976. #: guix-git/doc/guix.texi:8905
  13977. #, no-wrap
  13978. msgid "patch-shebangs"
  13979. msgstr ""
  13980. #. type: table
  13981. #: guix-git/doc/guix.texi:8907
  13982. msgid "Patch shebangs on the installed executable files."
  13983. msgstr ""
  13984. #. type: item
  13985. #: guix-git/doc/guix.texi:8908
  13986. #, no-wrap
  13987. msgid "strip"
  13988. msgstr ""
  13989. #. type: table
  13990. #: guix-git/doc/guix.texi:8912
  13991. 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})."
  13992. msgstr ""
  13993. #. type: Plain text
  13994. #: guix-git/doc/guix.texi:8921
  13995. 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})."
  13996. msgstr ""
  13997. #. type: Plain text
  13998. #: guix-git/doc/guix.texi:8928
  13999. 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."
  14000. msgstr ""
  14001. #. type: vindex
  14002. #: guix-git/doc/guix.texi:8929
  14003. #, no-wrap
  14004. msgid "%standard-phases"
  14005. msgstr ""
  14006. #. type: Plain text
  14007. #: guix-git/doc/guix.texi:8935
  14008. 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!}:"
  14009. msgstr ""
  14010. #. type: lisp
  14011. #: guix-git/doc/guix.texi:8938
  14012. #, no-wrap
  14013. msgid ""
  14014. ";; The build phases of 'gnu-build-system'.\n"
  14015. "\n"
  14016. msgstr ""
  14017. #. type: lisp
  14018. #: guix-git/doc/guix.texi:8942
  14019. #, no-wrap
  14020. msgid ""
  14021. "(define* (unpack #:key source #:allow-other-keys)\n"
  14022. " ;; Extract the source tarball.\n"
  14023. " (invoke \"tar\" \"xvf\" source))\n"
  14024. "\n"
  14025. msgstr ""
  14026. #. type: lisp
  14027. #: guix-git/doc/guix.texi:8948
  14028. #, no-wrap
  14029. msgid ""
  14030. "(define* (configure #:key outputs #:allow-other-keys)\n"
  14031. " ;; Run the 'configure' script. Install to output \"out\".\n"
  14032. " (let ((out (assoc-ref outputs \"out\")))\n"
  14033. " (invoke \"./configure\"\n"
  14034. " (string-append \"--prefix=\" out))))\n"
  14035. "\n"
  14036. msgstr ""
  14037. #. type: lisp
  14038. #: guix-git/doc/guix.texi:8952
  14039. #, no-wrap
  14040. msgid ""
  14041. "(define* (build #:allow-other-keys)\n"
  14042. " ;; Compile.\n"
  14043. " (invoke \"make\"))\n"
  14044. "\n"
  14045. msgstr ""
  14046. #. type: lisp
  14047. #: guix-git/doc/guix.texi:8959
  14048. #, no-wrap
  14049. msgid ""
  14050. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  14051. " #:allow-other-keys)\n"
  14052. " ;; Run the test suite.\n"
  14053. " (if tests?\n"
  14054. " (invoke \"make\" test-target)\n"
  14055. " (display \"test suite not run\\n\")))\n"
  14056. "\n"
  14057. msgstr ""
  14058. #. type: lisp
  14059. #: guix-git/doc/guix.texi:8963
  14060. #, no-wrap
  14061. msgid ""
  14062. "(define* (install #:allow-other-keys)\n"
  14063. " ;; Install files to the prefix 'configure' specified.\n"
  14064. " (invoke \"make\" \"install\"))\n"
  14065. "\n"
  14066. msgstr ""
  14067. #. type: lisp
  14068. #: guix-git/doc/guix.texi:8972
  14069. #, no-wrap
  14070. msgid ""
  14071. "(define %standard-phases\n"
  14072. " ;; The list of standard phases (quite a few are omitted\n"
  14073. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  14074. " (list (cons 'unpack unpack)\n"
  14075. " (cons 'configure configure)\n"
  14076. " (cons 'build build)\n"
  14077. " (cons 'check check)\n"
  14078. " (cons 'install install)))\n"
  14079. msgstr ""
  14080. #. type: Plain text
  14081. #: guix-git/doc/guix.texi:8982
  14082. 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."
  14083. msgstr ""
  14084. #. type: Plain text
  14085. #: guix-git/doc/guix.texi:8988
  14086. 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})."
  14087. msgstr ""
  14088. #. type: Plain text
  14089. #: guix-git/doc/guix.texi:9004
  14090. 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."
  14091. msgstr ""
  14092. #. type: cindex
  14093. #: guix-git/doc/guix.texi:9005
  14094. #, no-wrap
  14095. msgid "build phases, customizing"
  14096. msgstr ""
  14097. #. type: Plain text
  14098. #: guix-git/doc/guix.texi:9014
  14099. 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}})."
  14100. msgstr ""
  14101. #. type: Plain text
  14102. #: guix-git/doc/guix.texi:9019
  14103. 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}:"
  14104. msgstr ""
  14105. #. type: lisp
  14106. #: guix-git/doc/guix.texi:9039
  14107. #, no-wrap
  14108. msgid ""
  14109. "(define-public example\n"
  14110. " (package\n"
  14111. " (name \"example\")\n"
  14112. " ;; other fields omitted\n"
  14113. " (build-system gnu-build-system)\n"
  14114. " (arguments\n"
  14115. " '(#:phases (modify-phases %standard-phases\n"
  14116. " (delete 'configure)\n"
  14117. " (add-before 'build 'set-prefix-in-makefile\n"
  14118. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14119. " ;; Modify the makefile so that its\n"
  14120. " ;; 'PREFIX' variable points to \"out\".\n"
  14121. " (let ((out (assoc-ref outputs \"out\")))\n"
  14122. " (substitute* \"Makefile\"\n"
  14123. " ((\"PREFIX =.*\")\n"
  14124. " (string-append \"PREFIX = \"\n"
  14125. " out \"\\n\")))\n"
  14126. " #true))))))))\n"
  14127. msgstr ""
  14128. #. type: Plain text
  14129. #: guix-git/doc/guix.texi:9045
  14130. 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}."
  14131. msgstr ""
  14132. #. type: cindex
  14133. #: guix-git/doc/guix.texi:9046 guix-git/doc/guix.texi:10046
  14134. #, no-wrap
  14135. msgid "code staging"
  14136. msgstr ""
  14137. #. type: cindex
  14138. #: guix-git/doc/guix.texi:9047 guix-git/doc/guix.texi:10047
  14139. #, no-wrap
  14140. msgid "staging, of code"
  14141. msgstr ""
  14142. #. type: Plain text
  14143. #: guix-git/doc/guix.texi:9054
  14144. 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."
  14145. msgstr ""
  14146. #. type: Plain text
  14147. #: guix-git/doc/guix.texi:9064
  14148. 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."
  14149. msgstr ""
  14150. #. type: Plain text
  14151. #: guix-git/doc/guix.texi:9068
  14152. 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."
  14153. msgstr ""
  14154. #. type: Plain text
  14155. #: guix-git/doc/guix.texi:9073
  14156. 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}):"
  14157. msgstr ""
  14158. #. type: lisp
  14159. #: guix-git/doc/guix.texi:9080
  14160. #, no-wrap
  14161. msgid ""
  14162. "(with-imported-modules '((guix build utils)) ;import it\n"
  14163. " (computed-file \"empty-tree\"\n"
  14164. " #~(begin\n"
  14165. " ;; Put it in scope.\n"
  14166. " (use-modules (guix build utils))\n"
  14167. "\n"
  14168. msgstr ""
  14169. #. type: lisp
  14170. #: guix-git/doc/guix.texi:9083
  14171. #, no-wrap
  14172. msgid ""
  14173. " ;; Happily use its 'mkdir-p' procedure.\n"
  14174. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  14175. msgstr ""
  14176. #. type: Plain text
  14177. #: guix-git/doc/guix.texi:9087
  14178. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  14179. msgstr ""
  14180. #. type: subsection
  14181. #: guix-git/doc/guix.texi:9090
  14182. #, no-wrap
  14183. msgid "Dealing with Store File Names"
  14184. msgstr ""
  14185. #. type: Plain text
  14186. #: guix-git/doc/guix.texi:9093
  14187. msgid "This section documents procedures that deal with store file names."
  14188. msgstr ""
  14189. #. type: deffn
  14190. #: guix-git/doc/guix.texi:9094
  14191. #, no-wrap
  14192. msgid "{Scheme Procedure} %store-directory"
  14193. msgstr ""
  14194. #. type: deffn
  14195. #: guix-git/doc/guix.texi:9096
  14196. msgid "Return the directory name of the store."
  14197. msgstr ""
  14198. #. type: deffn
  14199. #: guix-git/doc/guix.texi:9098
  14200. #, no-wrap
  14201. msgid "{Scheme Procedure} store-file-name? @var{file}"
  14202. msgstr ""
  14203. #. type: deffn
  14204. #: guix-git/doc/guix.texi:9100
  14205. msgid "Return true if @var{file} is in the store."
  14206. msgstr ""
  14207. #. type: deffn
  14208. #: guix-git/doc/guix.texi:9102
  14209. #, no-wrap
  14210. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  14211. msgstr ""
  14212. #. type: deffn
  14213. #: guix-git/doc/guix.texi:9105
  14214. 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."
  14215. msgstr ""
  14216. #. type: deffn
  14217. #: guix-git/doc/guix.texi:9107
  14218. #, no-wrap
  14219. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  14220. msgstr ""
  14221. #. type: deffn
  14222. #: guix-git/doc/guix.texi:9112
  14223. 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."
  14224. msgstr ""
  14225. #. type: subsection
  14226. #: guix-git/doc/guix.texi:9114
  14227. #, no-wrap
  14228. msgid "File Types"
  14229. msgstr ""
  14230. #. type: Plain text
  14231. #: guix-git/doc/guix.texi:9117
  14232. msgid "The procedures below deal with files and file types."
  14233. msgstr ""
  14234. #. type: deffn
  14235. #: guix-git/doc/guix.texi:9118
  14236. #, no-wrap
  14237. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  14238. msgstr ""
  14239. #. type: deffn
  14240. #: guix-git/doc/guix.texi:9120
  14241. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  14242. msgstr ""
  14243. #. type: deffn
  14244. #: guix-git/doc/guix.texi:9122
  14245. #, no-wrap
  14246. msgid "{Scheme Procedure} executable-file? @var{file}"
  14247. msgstr ""
  14248. #. type: deffn
  14249. #: guix-git/doc/guix.texi:9124
  14250. msgid "Return @code{#t} if @var{file} exists and is executable."
  14251. msgstr ""
  14252. #. type: deffn
  14253. #: guix-git/doc/guix.texi:9126
  14254. #, no-wrap
  14255. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  14256. msgstr ""
  14257. #. type: deffn
  14258. #: guix-git/doc/guix.texi:9128
  14259. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  14260. msgstr ""
  14261. #. type: deffn
  14262. #: guix-git/doc/guix.texi:9130
  14263. #, no-wrap
  14264. msgid "{Scheme Procedure} elf-file? @var{file}"
  14265. msgstr ""
  14266. #. type: deffnx
  14267. #: guix-git/doc/guix.texi:9131
  14268. #, no-wrap
  14269. msgid "{Scheme Procedure} ar-file? @var{file}"
  14270. msgstr ""
  14271. #. type: deffnx
  14272. #: guix-git/doc/guix.texi:9132
  14273. #, no-wrap
  14274. msgid "{Scheme Procedure} gzip-file? @var{file}"
  14275. msgstr ""
  14276. #. type: deffn
  14277. #: guix-git/doc/guix.texi:9135
  14278. 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."
  14279. msgstr ""
  14280. #. type: deffn
  14281. #: guix-git/doc/guix.texi:9137
  14282. #, no-wrap
  14283. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  14284. msgstr ""
  14285. #. type: deffn
  14286. #: guix-git/doc/guix.texi:9141
  14287. 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."
  14288. msgstr ""
  14289. #. type: subsection
  14290. #: guix-git/doc/guix.texi:9143
  14291. #, no-wrap
  14292. msgid "File Manipulation"
  14293. msgstr ""
  14294. #. type: Plain text
  14295. #: guix-git/doc/guix.texi:9150
  14296. 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})."
  14297. msgstr ""
  14298. #. type: deffn
  14299. #: guix-git/doc/guix.texi:9151
  14300. #, no-wrap
  14301. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  14302. msgstr ""
  14303. #. type: deffn
  14304. #: guix-git/doc/guix.texi:9153
  14305. msgid "Run @var{body} with @var{directory} as the process's current directory."
  14306. msgstr ""
  14307. #. type: deffn
  14308. #: guix-git/doc/guix.texi:9160
  14309. 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."
  14310. msgstr ""
  14311. #. type: deffn
  14312. #: guix-git/doc/guix.texi:9162
  14313. #, no-wrap
  14314. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  14315. msgstr ""
  14316. #. type: deffn
  14317. #: guix-git/doc/guix.texi:9164
  14318. msgid "Create directory @var{dir} and all its ancestors."
  14319. msgstr ""
  14320. #. type: deffn
  14321. #: guix-git/doc/guix.texi:9166
  14322. #, no-wrap
  14323. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  14324. msgstr ""
  14325. #. type: deffn
  14326. #: guix-git/doc/guix.texi:9169
  14327. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  14328. msgstr ""
  14329. #. type: deffn
  14330. #: guix-git/doc/guix.texi:9171
  14331. #, no-wrap
  14332. msgid "{Scheme Procedure} make-file-writable @var{file}"
  14333. msgstr ""
  14334. #. type: deffn
  14335. #: guix-git/doc/guix.texi:9173
  14336. msgid "Make @var{file} writable for its owner."
  14337. msgstr ""
  14338. #. type: deffn
  14339. #: guix-git/doc/guix.texi:9175
  14340. #, no-wrap
  14341. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  14342. msgstr ""
  14343. #. type: deffn
  14344. #: guix-git/doc/guix.texi:9184
  14345. msgid "[#:log (current-output-port)] [#:follow-symlinks? #f] @ [#:copy-file copy-file] [#:keep-mtime? #f] [#:keep-permissions? #t] Copy @var{source} directory to @var{destination}. Follow symlinks if @var{follow-symlinks?} is true; otherwise, just preserve them. Call @var{copy-file} to copy regular files. When @var{keep-mtime?} is true, keep the modification time of the files in @var{source} on those of @var{destination}. When @var{keep-permissions?} is true, preserve file permissions. Write verbose output to the @var{log} port."
  14346. msgstr ""
  14347. #. type: deffn
  14348. #: guix-git/doc/guix.texi:9186
  14349. #, no-wrap
  14350. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  14351. msgstr ""
  14352. #. type: deffn
  14353. #: guix-git/doc/guix.texi:9191
  14354. 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."
  14355. msgstr ""
  14356. #. type: deffn
  14357. #: guix-git/doc/guix.texi:9193
  14358. #, no-wrap
  14359. msgid "{Scheme Syntax} substitute* @var{file} @"
  14360. msgstr ""
  14361. #. type: deffn
  14362. #: guix-git/doc/guix.texi:9198
  14363. 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:"
  14364. msgstr ""
  14365. #. type: lisp
  14366. #: guix-git/doc/guix.texi:9205
  14367. #, no-wrap
  14368. msgid ""
  14369. "(substitute* file\n"
  14370. " ((\"hello\")\n"
  14371. " \"good morning\\n\")\n"
  14372. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  14373. " (string-append \"baz\" letters end)))\n"
  14374. msgstr ""
  14375. #. type: deffn
  14376. #: guix-git/doc/guix.texi:9211
  14377. 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."
  14378. msgstr ""
  14379. #. type: deffn
  14380. #: guix-git/doc/guix.texi:9214
  14381. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  14382. msgstr ""
  14383. #. type: deffn
  14384. #: guix-git/doc/guix.texi:9217
  14385. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  14386. msgstr ""
  14387. #. type: deffn
  14388. #: guix-git/doc/guix.texi:9220
  14389. 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."
  14390. msgstr ""
  14391. #. type: subsection
  14392. #: guix-git/doc/guix.texi:9222
  14393. #, no-wrap
  14394. msgid "File Search"
  14395. msgstr ""
  14396. #. type: cindex
  14397. #: guix-git/doc/guix.texi:9224
  14398. #, no-wrap
  14399. msgid "file, searching"
  14400. msgstr ""
  14401. #. type: Plain text
  14402. #: guix-git/doc/guix.texi:9226
  14403. msgid "This section documents procedures to search and filter files."
  14404. msgstr ""
  14405. #. type: deffn
  14406. #: guix-git/doc/guix.texi:9227
  14407. #, no-wrap
  14408. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  14409. msgstr ""
  14410. #. type: deffn
  14411. #: guix-git/doc/guix.texi:9230
  14412. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  14413. msgstr ""
  14414. #. type: deffn
  14415. #: guix-git/doc/guix.texi:9232
  14416. #, no-wrap
  14417. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  14418. msgstr ""
  14419. #. type: deffn
  14420. #: guix-git/doc/guix.texi:9243
  14421. 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."
  14422. msgstr ""
  14423. #. type: Plain text
  14424. #: guix-git/doc/guix.texi:9247
  14425. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  14426. msgstr ""
  14427. #. type: lisp
  14428. #: guix-git/doc/guix.texi:9252
  14429. #, no-wrap
  14430. msgid ""
  14431. ";; List all the regular files in the current directory.\n"
  14432. "(find-files \".\")\n"
  14433. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  14434. "\n"
  14435. msgstr ""
  14436. #. type: lisp
  14437. #: guix-git/doc/guix.texi:9256
  14438. #, no-wrap
  14439. msgid ""
  14440. ";; List all the .scm files under gnu/services.\n"
  14441. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  14442. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  14443. "\n"
  14444. msgstr ""
  14445. #. type: lisp
  14446. #: guix-git/doc/guix.texi:9260
  14447. #, no-wrap
  14448. msgid ""
  14449. ";; List ar files in the current directory.\n"
  14450. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  14451. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  14452. msgstr ""
  14453. #. type: deffn
  14454. #: guix-git/doc/guix.texi:9262
  14455. #, no-wrap
  14456. msgid "{Scheme Procedure} which @var{program}"
  14457. msgstr ""
  14458. #. type: deffn
  14459. #: guix-git/doc/guix.texi:9265
  14460. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  14461. msgstr ""
  14462. #. type: deffn
  14463. #: guix-git/doc/guix.texi:9267
  14464. #, no-wrap
  14465. msgid "{Scheme Procedure} search-input-file @var{inputs} @var{name}"
  14466. msgstr ""
  14467. #. type: deffnx
  14468. #: guix-git/doc/guix.texi:9268
  14469. #, no-wrap
  14470. msgid "{Scheme Procedure} search-input-directory @var{inputs} @var{name}"
  14471. msgstr ""
  14472. #. type: deffn
  14473. #: guix-git/doc/guix.texi:9273
  14474. msgid "Return the complete file name for @var{name} as found in @var{inputs}; @code{search-input-file} searches for a regular file and @code{search-input-directory} searches for a directory. If @var{name} could not be found, an exception is raised."
  14475. msgstr ""
  14476. #. type: deffn
  14477. #: guix-git/doc/guix.texi:9277
  14478. msgid "Here, @var{inputs} must be an association list like @code{inputs} and @code{native-inputs} as available to build phases (@pxref{Build Phases})."
  14479. msgstr ""
  14480. #. type: Plain text
  14481. #: guix-git/doc/guix.texi:9281
  14482. msgid "Here is a (simplified) example of how @code{search-input-file} is used in a build phase of the @code{wireguard-tools} package:"
  14483. msgstr ""
  14484. #. type: lisp
  14485. #: guix-git/doc/guix.texi:9290
  14486. #, no-wrap
  14487. msgid ""
  14488. "(add-after 'install 'wrap-wg-quick\n"
  14489. " (lambda* (#:key inputs outputs #:allow-other-keys)\n"
  14490. " (let ((coreutils (string-append (assoc-ref inputs \"coreutils\")\n"
  14491. " \"/bin\")))\n"
  14492. " (wrap-program (search-input-file outputs \"bin/wg-quick\")\n"
  14493. " #:sh (search-input-file inputs \"bin/bash\")\n"
  14494. " `(\"PATH\" \":\" prefix ,(list coreutils))))))\n"
  14495. msgstr ""
  14496. #. type: Plain text
  14497. #: guix-git/doc/guix.texi:9301
  14498. 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})."
  14499. msgstr ""
  14500. #. type: Plain text
  14501. #: guix-git/doc/guix.texi:9305
  14502. 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."
  14503. msgstr ""
  14504. #. type: cindex
  14505. #: guix-git/doc/guix.texi:9306
  14506. #, no-wrap
  14507. msgid "build phases, modifying"
  14508. msgstr ""
  14509. #. type: deffn
  14510. #: guix-git/doc/guix.texi:9307
  14511. #, no-wrap
  14512. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  14513. msgstr ""
  14514. #. type: deffn
  14515. #: guix-git/doc/guix.texi:9310
  14516. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  14517. msgstr ""
  14518. #. type: lisp
  14519. #: guix-git/doc/guix.texi:9316
  14520. #, no-wrap
  14521. msgid ""
  14522. "(delete @var{old-phase-name})\n"
  14523. "(replace @var{old-phase-name} @var{new-phase})\n"
  14524. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14525. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14526. msgstr ""
  14527. #. type: deffn
  14528. #: guix-git/doc/guix.texi:9320
  14529. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  14530. msgstr ""
  14531. #. type: Plain text
  14532. #: guix-git/doc/guix.texi:9331
  14533. 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:"
  14534. msgstr ""
  14535. #. type: lisp
  14536. #: guix-git/doc/guix.texi:9345
  14537. #, no-wrap
  14538. msgid ""
  14539. "(modify-phases %standard-phases\n"
  14540. " (add-after 'install 'fix-egrep-and-fgrep\n"
  14541. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  14542. " ;; absolute file name instead of searching for it in $PATH.\n"
  14543. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14544. " (let* ((out (assoc-ref outputs \"out\"))\n"
  14545. " (bin (string-append out \"/bin\")))\n"
  14546. " (substitute* (list (string-append bin \"/egrep\")\n"
  14547. " (string-append bin \"/fgrep\"))\n"
  14548. " ((\"^exec grep\")\n"
  14549. " (string-append \"exec \" bin \"/grep\")))\n"
  14550. " #t))))\n"
  14551. msgstr ""
  14552. #. type: Plain text
  14553. #: guix-git/doc/guix.texi:9352
  14554. 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:"
  14555. msgstr ""
  14556. #. type: lisp
  14557. #: guix-git/doc/guix.texi:9365
  14558. #, no-wrap
  14559. msgid ""
  14560. "(modify-phases %standard-phases\n"
  14561. " (delete 'configure) ;no 'configure' script\n"
  14562. " (replace 'install\n"
  14563. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14564. " ;; The package's Makefile doesn't provide an \"install\"\n"
  14565. " ;; rule so do it by ourselves.\n"
  14566. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  14567. " \"/bin\")))\n"
  14568. " (install-file \"footswitch\" bin)\n"
  14569. " (install-file \"scythe\" bin)\n"
  14570. " #t))))\n"
  14571. msgstr ""
  14572. #. type: cindex
  14573. #: guix-git/doc/guix.texi:9373
  14574. #, no-wrap
  14575. msgid "store items"
  14576. msgstr ""
  14577. #. type: cindex
  14578. #: guix-git/doc/guix.texi:9374
  14579. #, no-wrap
  14580. msgid "store paths"
  14581. msgstr ""
  14582. #. type: Plain text
  14583. #: guix-git/doc/guix.texi:9385
  14584. 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}."
  14585. msgstr ""
  14586. #. type: Plain text
  14587. #: guix-git/doc/guix.texi:9390
  14588. 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."
  14589. msgstr ""
  14590. #. type: quotation
  14591. #: guix-git/doc/guix.texi:9395
  14592. 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})."
  14593. msgstr ""
  14594. #. type: quotation
  14595. #: guix-git/doc/guix.texi:9399
  14596. 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."
  14597. msgstr ""
  14598. #. type: Plain text
  14599. #: guix-git/doc/guix.texi:9406
  14600. 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."
  14601. msgstr ""
  14602. #. type: defvr
  14603. #: guix-git/doc/guix.texi:9407
  14604. #, no-wrap
  14605. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  14606. msgstr ""
  14607. #. type: defvr
  14608. #: guix-git/doc/guix.texi:9412
  14609. 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:"
  14610. msgstr ""
  14611. #. type: code{#1}
  14612. #: guix-git/doc/guix.texi:9414 guix-git/doc/guix.texi:26183
  14613. #, no-wrap
  14614. msgid "file"
  14615. msgstr ""
  14616. #. type: itemx
  14617. #: guix-git/doc/guix.texi:9415
  14618. #, no-wrap
  14619. msgid "unix"
  14620. msgstr ""
  14621. #. type: table
  14622. #: guix-git/doc/guix.texi:9419
  14623. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  14624. msgstr ""
  14625. #. type: table
  14626. #: guix-git/doc/guix.texi:9428
  14627. 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):"
  14628. msgstr ""
  14629. #. type: example
  14630. #: guix-git/doc/guix.texi:9431
  14631. #, no-wrap
  14632. msgid "guix://master.guix.example.org:1234\n"
  14633. msgstr ""
  14634. #. type: table
  14635. #: guix-git/doc/guix.texi:9436
  14636. 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}."
  14637. msgstr ""
  14638. #. type: table
  14639. #: guix-git/doc/guix.texi:9440
  14640. 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}})."
  14641. msgstr ""
  14642. #. type: item
  14643. #: guix-git/doc/guix.texi:9441
  14644. #, no-wrap
  14645. msgid "ssh"
  14646. msgstr ""
  14647. #. type: cindex
  14648. #: guix-git/doc/guix.texi:9442
  14649. #, no-wrap
  14650. msgid "SSH access to build daemons"
  14651. msgstr ""
  14652. #. type: table
  14653. #: guix-git/doc/guix.texi:9448
  14654. 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:"
  14655. msgstr ""
  14656. #. type: example
  14657. #: guix-git/doc/guix.texi:9451
  14658. #, no-wrap
  14659. msgid "ssh://charlie@@guix.example.org:22\n"
  14660. msgstr ""
  14661. #. type: table
  14662. #: guix-git/doc/guix.texi:9455
  14663. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  14664. msgstr ""
  14665. #. type: defvr
  14666. #: guix-git/doc/guix.texi:9458
  14667. msgid "Additional URI schemes may be supported in the future."
  14668. msgstr ""
  14669. #. type: quotation
  14670. #: guix-git/doc/guix.texi:9465
  14671. 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})."
  14672. msgstr ""
  14673. #. type: deffn
  14674. #: guix-git/doc/guix.texi:9468
  14675. #, no-wrap
  14676. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  14677. msgstr ""
  14678. #. type: deffn
  14679. #: guix-git/doc/guix.texi:9473
  14680. 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."
  14681. msgstr ""
  14682. #. type: deffn
  14683. #: guix-git/doc/guix.texi:9476
  14684. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  14685. msgstr ""
  14686. #. type: deffn
  14687. #: guix-git/doc/guix.texi:9478
  14688. #, no-wrap
  14689. msgid "{Scheme Procedure} close-connection @var{server}"
  14690. msgstr ""
  14691. #. type: deffn
  14692. #: guix-git/doc/guix.texi:9480
  14693. msgid "Close the connection to @var{server}."
  14694. msgstr ""
  14695. #. type: defvr
  14696. #: guix-git/doc/guix.texi:9482
  14697. #, no-wrap
  14698. msgid "{Scheme Variable} current-build-output-port"
  14699. msgstr ""
  14700. #. type: defvr
  14701. #: guix-git/doc/guix.texi:9485
  14702. 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."
  14703. msgstr ""
  14704. #. type: Plain text
  14705. #: guix-git/doc/guix.texi:9489
  14706. msgid "Procedures that make RPCs all take a server object as their first argument."
  14707. msgstr ""
  14708. #. type: deffn
  14709. #: guix-git/doc/guix.texi:9490
  14710. #, no-wrap
  14711. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  14712. msgstr ""
  14713. #. type: cindex
  14714. #: guix-git/doc/guix.texi:9491
  14715. #, no-wrap
  14716. msgid "invalid store items"
  14717. msgstr ""
  14718. #. type: deffn
  14719. #: guix-git/doc/guix.texi:9496
  14720. 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)."
  14721. msgstr ""
  14722. #. type: deffn
  14723. #: guix-git/doc/guix.texi:9499
  14724. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  14725. msgstr ""
  14726. #. type: deffn
  14727. #: guix-git/doc/guix.texi:9501
  14728. #, no-wrap
  14729. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  14730. msgstr ""
  14731. #. type: deffn
  14732. #: guix-git/doc/guix.texi:9505
  14733. 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."
  14734. msgstr ""
  14735. #. type: deffn
  14736. #: guix-git/doc/guix.texi:9507
  14737. #, no-wrap
  14738. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  14739. msgstr ""
  14740. #. type: deffn
  14741. #: guix-git/doc/guix.texi:9512
  14742. 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."
  14743. msgstr ""
  14744. #. type: Plain text
  14745. #: guix-git/doc/guix.texi:9518
  14746. 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})."
  14747. msgstr ""
  14748. #. type: i{#1}
  14749. #: guix-git/doc/guix.texi:9521
  14750. msgid "This section is currently incomplete."
  14751. msgstr ""
  14752. #. type: cindex
  14753. #: guix-git/doc/guix.texi:9525
  14754. #, no-wrap
  14755. msgid "derivations"
  14756. msgstr ""
  14757. #. type: Plain text
  14758. #: guix-git/doc/guix.texi:9529
  14759. 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:"
  14760. msgstr ""
  14761. #. type: itemize
  14762. #: guix-git/doc/guix.texi:9534
  14763. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  14764. msgstr ""
  14765. #. type: cindex
  14766. #: guix-git/doc/guix.texi:9536
  14767. #, no-wrap
  14768. msgid "build-time dependencies"
  14769. msgstr ""
  14770. #. type: cindex
  14771. #: guix-git/doc/guix.texi:9537
  14772. #, no-wrap
  14773. msgid "dependencies, build-time"
  14774. msgstr ""
  14775. #. type: itemize
  14776. #: guix-git/doc/guix.texi:9541
  14777. 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.)."
  14778. msgstr ""
  14779. #. type: itemize
  14780. #: guix-git/doc/guix.texi:9544
  14781. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  14782. msgstr ""
  14783. #. type: itemize
  14784. #: guix-git/doc/guix.texi:9548
  14785. msgid "The file name of a build script in the store, along with the arguments to be passed."
  14786. msgstr ""
  14787. #. type: itemize
  14788. #: guix-git/doc/guix.texi:9551
  14789. msgid "A list of environment variables to be defined."
  14790. msgstr ""
  14791. #. type: cindex
  14792. #: guix-git/doc/guix.texi:9554
  14793. #, no-wrap
  14794. msgid "derivation path"
  14795. msgstr ""
  14796. #. type: Plain text
  14797. #: guix-git/doc/guix.texi:9562
  14798. 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})."
  14799. msgstr ""
  14800. #. type: cindex
  14801. #: guix-git/doc/guix.texi:9563
  14802. #, no-wrap
  14803. msgid "fixed-output derivations"
  14804. msgstr ""
  14805. #. type: Plain text
  14806. #: guix-git/doc/guix.texi:9570
  14807. 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."
  14808. msgstr ""
  14809. #. type: item
  14810. #: guix-git/doc/guix.texi:9571 guix-git/doc/guix.texi:13341
  14811. #, no-wrap
  14812. msgid "references"
  14813. msgstr ""
  14814. #. type: cindex
  14815. #: guix-git/doc/guix.texi:9572
  14816. #, no-wrap
  14817. msgid "run-time dependencies"
  14818. msgstr ""
  14819. #. type: cindex
  14820. #: guix-git/doc/guix.texi:9573
  14821. #, no-wrap
  14822. msgid "dependencies, run-time"
  14823. msgstr ""
  14824. #. type: Plain text
  14825. #: guix-git/doc/guix.texi:9580
  14826. 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."
  14827. msgstr ""
  14828. #. type: Plain text
  14829. #: guix-git/doc/guix.texi:9585
  14830. 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:"
  14831. msgstr ""
  14832. #. type: deffn
  14833. #: guix-git/doc/guix.texi:9586
  14834. #, no-wrap
  14835. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  14836. msgstr ""
  14837. #. type: deffn
  14838. #: guix-git/doc/guix.texi:9595
  14839. 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."
  14840. msgstr ""
  14841. #. type: deffn
  14842. #: guix-git/doc/guix.texi:9602
  14843. 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."
  14844. msgstr ""
  14845. #. type: deffn
  14846. #: guix-git/doc/guix.texi:9607
  14847. 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."
  14848. msgstr ""
  14849. #. type: deffn
  14850. #: guix-git/doc/guix.texi:9612
  14851. 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."
  14852. msgstr ""
  14853. #. type: deffn
  14854. #: guix-git/doc/guix.texi:9619
  14855. 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."
  14856. msgstr ""
  14857. #. type: deffn
  14858. #: guix-git/doc/guix.texi:9624
  14859. 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."
  14860. msgstr ""
  14861. #. type: deffn
  14862. #: guix-git/doc/guix.texi:9629
  14863. 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."
  14864. msgstr ""
  14865. #. type: deffn
  14866. #: guix-git/doc/guix.texi:9632
  14867. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  14868. msgstr ""
  14869. #. type: Plain text
  14870. #: guix-git/doc/guix.texi:9638
  14871. 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:"
  14872. msgstr ""
  14873. #. type: lisp
  14874. #: guix-git/doc/guix.texi:9643
  14875. #, no-wrap
  14876. msgid ""
  14877. "(use-modules (guix utils)\n"
  14878. " (guix store)\n"
  14879. " (guix derivations))\n"
  14880. "\n"
  14881. msgstr ""
  14882. #. type: lisp
  14883. #: guix-git/doc/guix.texi:9652
  14884. #, no-wrap
  14885. msgid ""
  14886. "(let ((builder ; add the Bash script to the store\n"
  14887. " (add-text-to-store store \"my-builder.sh\"\n"
  14888. " \"echo hello world > $out\\n\" '())))\n"
  14889. " (derivation store \"foo\"\n"
  14890. " bash `(\"-e\" ,builder)\n"
  14891. " #:inputs `((,bash) (,builder))\n"
  14892. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  14893. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  14894. msgstr ""
  14895. #. type: Plain text
  14896. #: guix-git/doc/guix.texi:9659
  14897. 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}."
  14898. msgstr ""
  14899. #. type: Plain text
  14900. #: guix-git/doc/guix.texi:9664
  14901. 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}."
  14902. msgstr ""
  14903. #. type: deffn
  14904. #: guix-git/doc/guix.texi:9665
  14905. #, no-wrap
  14906. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  14907. msgstr ""
  14908. #. type: deffn
  14909. #: guix-git/doc/guix.texi:9681
  14910. 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))}."
  14911. msgstr ""
  14912. #. type: deffn
  14913. #: guix-git/doc/guix.texi:9689
  14914. 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."
  14915. msgstr ""
  14916. #. type: deffn
  14917. #: guix-git/doc/guix.texi:9693
  14918. 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."
  14919. msgstr ""
  14920. #. type: deffn
  14921. #: guix-git/doc/guix.texi:9698
  14922. 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?}."
  14923. msgstr ""
  14924. #. type: Plain text
  14925. #: guix-git/doc/guix.texi:9703
  14926. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  14927. msgstr ""
  14928. #. type: lisp
  14929. #: guix-git/doc/guix.texi:9711
  14930. #, no-wrap
  14931. msgid ""
  14932. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  14933. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  14934. " (call-with-output-file (string-append out \"/test\")\n"
  14935. " (lambda (p)\n"
  14936. " (display '(hello guix) p))))))\n"
  14937. " (build-expression->derivation store \"goo\" builder))\n"
  14938. "\n"
  14939. msgstr ""
  14940. #. type: lisp
  14941. #: guix-git/doc/guix.texi:9713
  14942. #, no-wrap
  14943. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  14944. msgstr ""
  14945. #. type: cindex
  14946. #: guix-git/doc/guix.texi:9719
  14947. #, no-wrap
  14948. msgid "monad"
  14949. msgstr ""
  14950. #. type: Plain text
  14951. #: guix-git/doc/guix.texi:9725
  14952. 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."
  14953. msgstr ""
  14954. #. type: Plain text
  14955. #: guix-git/doc/guix.texi:9731
  14956. 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."
  14957. msgstr ""
  14958. #. type: cindex
  14959. #: guix-git/doc/guix.texi:9732
  14960. #, no-wrap
  14961. msgid "monadic values"
  14962. msgstr ""
  14963. #. type: cindex
  14964. #: guix-git/doc/guix.texi:9733
  14965. #, no-wrap
  14966. msgid "monadic functions"
  14967. msgstr ""
  14968. #. type: Plain text
  14969. #: guix-git/doc/guix.texi:9743
  14970. 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}."
  14971. msgstr ""
  14972. #. type: Plain text
  14973. #: guix-git/doc/guix.texi:9745
  14974. msgid "Consider this ``normal'' procedure:"
  14975. msgstr ""
  14976. #. type: lisp
  14977. #: guix-git/doc/guix.texi:9754
  14978. #, no-wrap
  14979. msgid ""
  14980. "(define (sh-symlink store)\n"
  14981. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  14982. " (let* ((drv (package-derivation store bash))\n"
  14983. " (out (derivation->output-path drv))\n"
  14984. " (sh (string-append out \"/bin/bash\")))\n"
  14985. " (build-expression->derivation store \"sh\"\n"
  14986. " `(symlink ,sh %output))))\n"
  14987. msgstr ""
  14988. #. type: Plain text
  14989. #: guix-git/doc/guix.texi:9758
  14990. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  14991. msgstr ""
  14992. #. type: lisp
  14993. #: guix-git/doc/guix.texi:9766
  14994. #, no-wrap
  14995. msgid ""
  14996. "(define (sh-symlink)\n"
  14997. " ;; Same, but return a monadic value.\n"
  14998. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  14999. " (gexp->derivation \"sh\"\n"
  15000. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  15001. " #$output))))\n"
  15002. msgstr ""
  15003. #. type: Plain text
  15004. #: guix-git/doc/guix.texi:9773
  15005. 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}."
  15006. msgstr ""
  15007. #. type: Plain text
  15008. #: guix-git/doc/guix.texi:9777
  15009. 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}):"
  15010. msgstr ""
  15011. #. type: lisp
  15012. #: guix-git/doc/guix.texi:9783
  15013. #, no-wrap
  15014. msgid ""
  15015. "(define (sh-symlink)\n"
  15016. " (gexp->derivation \"sh\"\n"
  15017. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  15018. " #$output)))\n"
  15019. msgstr ""
  15020. #. type: Plain text
  15021. #: guix-git/doc/guix.texi:9792
  15022. 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}:"
  15023. msgstr ""
  15024. #. type: lisp
  15025. #: guix-git/doc/guix.texi:9796
  15026. #, no-wrap
  15027. msgid ""
  15028. "(run-with-store (open-connection) (sh-symlink))\n"
  15029. "@result{} /gnu/store/...-sh-symlink\n"
  15030. msgstr ""
  15031. #. type: Plain text
  15032. #: guix-git/doc/guix.texi:9802
  15033. 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:"
  15034. msgstr ""
  15035. #. type: example
  15036. #: guix-git/doc/guix.texi:9806
  15037. #, no-wrap
  15038. msgid ""
  15039. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  15040. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15041. msgstr ""
  15042. #. type: Plain text
  15043. #: guix-git/doc/guix.texi:9810
  15044. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  15045. msgstr ""
  15046. #. type: example
  15047. #: guix-git/doc/guix.texi:9819
  15048. #, no-wrap
  15049. msgid ""
  15050. "scheme@@(guile-user)> ,enter-store-monad\n"
  15051. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  15052. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15053. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  15054. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  15055. "store-monad@@(guile-user) [1]> ,q\n"
  15056. "scheme@@(guile-user)>\n"
  15057. msgstr ""
  15058. #. type: Plain text
  15059. #: guix-git/doc/guix.texi:9824
  15060. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  15061. msgstr ""
  15062. #. type: Plain text
  15063. #: guix-git/doc/guix.texi:9827
  15064. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  15065. msgstr ""
  15066. #. type: deffn
  15067. #: guix-git/doc/guix.texi:9828
  15068. #, no-wrap
  15069. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  15070. msgstr ""
  15071. #. type: deffn
  15072. #: guix-git/doc/guix.texi:9831
  15073. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  15074. msgstr ""
  15075. #. type: deffn
  15076. #: guix-git/doc/guix.texi:9833
  15077. #, no-wrap
  15078. msgid "{Scheme Syntax} return @var{val}"
  15079. msgstr ""
  15080. #. type: deffn
  15081. #: guix-git/doc/guix.texi:9835
  15082. msgid "Return a monadic value that encapsulates @var{val}."
  15083. msgstr ""
  15084. #. type: deffn
  15085. #: guix-git/doc/guix.texi:9837
  15086. #, no-wrap
  15087. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  15088. msgstr ""
  15089. #. type: deffn
  15090. #: guix-git/doc/guix.texi:9844
  15091. 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:"
  15092. msgstr ""
  15093. #. type: lisp
  15094. #: guix-git/doc/guix.texi:9852
  15095. #, no-wrap
  15096. msgid ""
  15097. "(run-with-state\n"
  15098. " (with-monad %state-monad\n"
  15099. " (>>= (return 1)\n"
  15100. " (lambda (x) (return (+ 1 x)))\n"
  15101. " (lambda (x) (return (* 2 x)))))\n"
  15102. " 'some-state)\n"
  15103. "\n"
  15104. msgstr ""
  15105. #. type: lisp
  15106. #: guix-git/doc/guix.texi:9855
  15107. #, no-wrap
  15108. msgid ""
  15109. "@result{} 4\n"
  15110. "@result{} some-state\n"
  15111. msgstr ""
  15112. #. type: deffn
  15113. #: guix-git/doc/guix.texi:9858
  15114. #, no-wrap
  15115. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  15116. msgstr ""
  15117. #. type: deffn
  15118. #: guix-git/doc/guix.texi:9860
  15119. msgid "@var{body} ..."
  15120. msgstr ""
  15121. #. type: deffnx
  15122. #: guix-git/doc/guix.texi:9860
  15123. #, no-wrap
  15124. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  15125. msgstr ""
  15126. #. type: deffn
  15127. #: guix-git/doc/guix.texi:9872
  15128. 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}."
  15129. msgstr ""
  15130. #. type: deffn
  15131. #: guix-git/doc/guix.texi:9875
  15132. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  15133. msgstr ""
  15134. #. type: deffn
  15135. #: guix-git/doc/guix.texi:9877
  15136. #, no-wrap
  15137. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  15138. msgstr ""
  15139. #. type: deffn
  15140. #: guix-git/doc/guix.texi:9881
  15141. 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."
  15142. msgstr ""
  15143. #. type: deffn
  15144. #: guix-git/doc/guix.texi:9885
  15145. 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."
  15146. msgstr ""
  15147. #. type: deffn
  15148. #: guix-git/doc/guix.texi:9887
  15149. #, no-wrap
  15150. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  15151. msgstr ""
  15152. #. type: deffn
  15153. #: guix-git/doc/guix.texi:9892
  15154. 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."
  15155. msgstr ""
  15156. #. type: deffn
  15157. #: guix-git/doc/guix.texi:9894
  15158. #, no-wrap
  15159. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  15160. msgstr ""
  15161. #. type: deffn
  15162. #: guix-git/doc/guix.texi:9899
  15163. 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."
  15164. msgstr ""
  15165. #. type: cindex
  15166. #: guix-git/doc/guix.texi:9901
  15167. #, no-wrap
  15168. msgid "state monad"
  15169. msgstr ""
  15170. #. type: Plain text
  15171. #: guix-git/doc/guix.texi:9905
  15172. 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."
  15173. msgstr ""
  15174. #. type: defvr
  15175. #: guix-git/doc/guix.texi:9906
  15176. #, no-wrap
  15177. msgid "{Scheme Variable} %state-monad"
  15178. msgstr ""
  15179. #. type: defvr
  15180. #: guix-git/doc/guix.texi:9909
  15181. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  15182. msgstr ""
  15183. #. type: defvr
  15184. #: guix-git/doc/guix.texi:9913
  15185. 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:"
  15186. msgstr ""
  15187. #. type: lisp
  15188. #: guix-git/doc/guix.texi:9920
  15189. #, no-wrap
  15190. msgid ""
  15191. "(define (square x)\n"
  15192. " (mlet %state-monad ((count (current-state)))\n"
  15193. " (mbegin %state-monad\n"
  15194. " (set-current-state (+ 1 count))\n"
  15195. " (return (* x x)))))\n"
  15196. "\n"
  15197. msgstr ""
  15198. #. type: lisp
  15199. #: guix-git/doc/guix.texi:9924
  15200. #, no-wrap
  15201. msgid ""
  15202. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  15203. "@result{} (0 1 4)\n"
  15204. "@result{} 3\n"
  15205. msgstr ""
  15206. #. type: defvr
  15207. #: guix-git/doc/guix.texi:9928
  15208. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  15209. msgstr ""
  15210. #. type: deffn
  15211. #: guix-git/doc/guix.texi:9930
  15212. #, no-wrap
  15213. msgid "{Monadic Procedure} current-state"
  15214. msgstr ""
  15215. #. type: deffn
  15216. #: guix-git/doc/guix.texi:9932
  15217. msgid "Return the current state as a monadic value."
  15218. msgstr ""
  15219. #. type: deffn
  15220. #: guix-git/doc/guix.texi:9934
  15221. #, no-wrap
  15222. msgid "{Monadic Procedure} set-current-state @var{value}"
  15223. msgstr ""
  15224. #. type: deffn
  15225. #: guix-git/doc/guix.texi:9937
  15226. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  15227. msgstr ""
  15228. #. type: deffn
  15229. #: guix-git/doc/guix.texi:9939
  15230. #, no-wrap
  15231. msgid "{Monadic Procedure} state-push @var{value}"
  15232. msgstr ""
  15233. #. type: deffn
  15234. #: guix-git/doc/guix.texi:9942
  15235. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  15236. msgstr ""
  15237. #. type: deffn
  15238. #: guix-git/doc/guix.texi:9944
  15239. #, no-wrap
  15240. msgid "{Monadic Procedure} state-pop"
  15241. msgstr ""
  15242. #. type: deffn
  15243. #: guix-git/doc/guix.texi:9947
  15244. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  15245. msgstr ""
  15246. #. type: deffn
  15247. #: guix-git/doc/guix.texi:9949
  15248. #, no-wrap
  15249. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  15250. msgstr ""
  15251. #. type: deffn
  15252. #: guix-git/doc/guix.texi:9952
  15253. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  15254. msgstr ""
  15255. #. type: Plain text
  15256. #: guix-git/doc/guix.texi:9956
  15257. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  15258. msgstr ""
  15259. #. type: defvr
  15260. #: guix-git/doc/guix.texi:9957
  15261. #, no-wrap
  15262. msgid "{Scheme Variable} %store-monad"
  15263. msgstr ""
  15264. #. type: defvr
  15265. #: guix-git/doc/guix.texi:9959
  15266. msgid "The store monad---an alias for @code{%state-monad}."
  15267. msgstr ""
  15268. #. type: defvr
  15269. #: guix-git/doc/guix.texi:9963
  15270. 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)."
  15271. msgstr ""
  15272. #. type: deffn
  15273. #: guix-git/doc/guix.texi:9965
  15274. #, no-wrap
  15275. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  15276. msgstr ""
  15277. #. type: deffn
  15278. #: guix-git/doc/guix.texi:9968
  15279. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  15280. msgstr ""
  15281. #. type: deffn
  15282. #: guix-git/doc/guix.texi:9970
  15283. #, no-wrap
  15284. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  15285. msgstr ""
  15286. #. type: deffn
  15287. #: guix-git/doc/guix.texi:9974
  15288. 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."
  15289. msgstr ""
  15290. #. type: deffn
  15291. #: guix-git/doc/guix.texi:9976
  15292. #, no-wrap
  15293. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  15294. msgstr ""
  15295. #. type: deffn
  15296. #: guix-git/doc/guix.texi:9980
  15297. 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."
  15298. msgstr ""
  15299. #. type: deffn
  15300. #: guix-git/doc/guix.texi:9982
  15301. #, no-wrap
  15302. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  15303. msgstr ""
  15304. #. type: deffn
  15305. #: guix-git/doc/guix.texi:9987
  15306. 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."
  15307. msgstr ""
  15308. #. type: deffn
  15309. #: guix-git/doc/guix.texi:9991 guix-git/doc/guix.texi:10414
  15310. 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."
  15311. msgstr ""
  15312. #. type: deffn
  15313. #: guix-git/doc/guix.texi:9996 guix-git/doc/guix.texi:10419
  15314. 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."
  15315. msgstr ""
  15316. #. type: deffn
  15317. #: guix-git/doc/guix.texi:9998
  15318. msgid "The example below adds a file to the store, under two different names:"
  15319. msgstr ""
  15320. #. type: lisp
  15321. #: guix-git/doc/guix.texi:10004
  15322. #, no-wrap
  15323. msgid ""
  15324. "(run-with-store (open-connection)\n"
  15325. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  15326. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  15327. " (return (list a b))))\n"
  15328. "\n"
  15329. msgstr ""
  15330. #. type: lisp
  15331. #: guix-git/doc/guix.texi:10006
  15332. #, no-wrap
  15333. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  15334. msgstr ""
  15335. #. type: Plain text
  15336. #: guix-git/doc/guix.texi:10012
  15337. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  15338. msgstr ""
  15339. #. type: deffn
  15340. #: guix-git/doc/guix.texi:10013
  15341. #, no-wrap
  15342. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  15343. msgstr ""
  15344. #. type: deffn
  15345. #: guix-git/doc/guix.texi:10021
  15346. 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."
  15347. msgstr ""
  15348. #. type: deffn
  15349. #: guix-git/doc/guix.texi:10025
  15350. 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."
  15351. msgstr ""
  15352. #. type: deffn
  15353. #: guix-git/doc/guix.texi:10027
  15354. #, no-wrap
  15355. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  15356. msgstr ""
  15357. #. type: deffnx
  15358. #: guix-git/doc/guix.texi:10028
  15359. #, no-wrap
  15360. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  15361. msgstr ""
  15362. #. type: deffn
  15363. #: guix-git/doc/guix.texi:10032
  15364. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  15365. msgstr ""
  15366. #. type: cindex
  15367. #: guix-git/doc/guix.texi:10038
  15368. #, no-wrap
  15369. msgid "G-expression"
  15370. msgstr ""
  15371. #. type: cindex
  15372. #: guix-git/doc/guix.texi:10039
  15373. #, no-wrap
  15374. msgid "build code quoting"
  15375. msgstr ""
  15376. #. type: Plain text
  15377. #: guix-git/doc/guix.texi:10045
  15378. 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})."
  15379. msgstr ""
  15380. #. type: cindex
  15381. #: guix-git/doc/guix.texi:10048
  15382. #, no-wrap
  15383. msgid "strata of code"
  15384. msgstr ""
  15385. #. type: Plain text
  15386. #: guix-git/doc/guix.texi:10060
  15387. 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})."
  15388. msgstr ""
  15389. #. type: Plain text
  15390. #: guix-git/doc/guix.texi:10067
  15391. 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."
  15392. msgstr ""
  15393. #. type: Plain text
  15394. #: guix-git/doc/guix.texi:10076
  15395. 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:"
  15396. msgstr ""
  15397. #. type: itemize
  15398. #: guix-git/doc/guix.texi:10081
  15399. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  15400. msgstr ""
  15401. #. type: itemize
  15402. #: guix-git/doc/guix.texi:10086
  15403. 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."
  15404. msgstr ""
  15405. #. type: itemize
  15406. #: guix-git/doc/guix.texi:10091
  15407. 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."
  15408. msgstr ""
  15409. #. type: cindex
  15410. #: guix-git/doc/guix.texi:10093 guix-git/doc/guix.texi:10650
  15411. #, no-wrap
  15412. msgid "lowering, of high-level objects in gexps"
  15413. msgstr ""
  15414. #. type: Plain text
  15415. #: guix-git/doc/guix.texi:10103
  15416. 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)."
  15417. msgstr ""
  15418. #. type: Plain text
  15419. #: guix-git/doc/guix.texi:10105
  15420. msgid "To illustrate the idea, here is an example of a gexp:"
  15421. msgstr ""
  15422. #. type: lisp
  15423. #: guix-git/doc/guix.texi:10113
  15424. #, no-wrap
  15425. msgid ""
  15426. "(define build-exp\n"
  15427. " #~(begin\n"
  15428. " (mkdir #$output)\n"
  15429. " (chdir #$output)\n"
  15430. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  15431. " \"list-files\")))\n"
  15432. msgstr ""
  15433. #. type: Plain text
  15434. #: guix-git/doc/guix.texi:10118
  15435. 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}:"
  15436. msgstr ""
  15437. #. type: lisp
  15438. #: guix-git/doc/guix.texi:10121
  15439. #, no-wrap
  15440. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  15441. msgstr ""
  15442. #. type: Plain text
  15443. #: guix-git/doc/guix.texi:10129
  15444. 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."
  15445. msgstr ""
  15446. #. type: cindex
  15447. #: guix-git/doc/guix.texi:10130
  15448. #, no-wrap
  15449. msgid "cross compilation"
  15450. msgstr ""
  15451. #. type: Plain text
  15452. #: guix-git/doc/guix.texi:10136
  15453. 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:"
  15454. msgstr ""
  15455. #. type: lisp
  15456. #: guix-git/doc/guix.texi:10147
  15457. #, no-wrap
  15458. msgid ""
  15459. "(gexp->derivation \"vi\"\n"
  15460. " #~(begin\n"
  15461. " (mkdir #$output)\n"
  15462. " (mkdir (string-append #$output \"/bin\"))\n"
  15463. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  15464. " \"-s\"\n"
  15465. " (string-append #$emacs \"/bin/emacs\")\n"
  15466. " (string-append #$output \"/bin/vi\")))\n"
  15467. " #:target \"aarch64-linux-gnu\")\n"
  15468. msgstr ""
  15469. #. type: Plain text
  15470. #: guix-git/doc/guix.texi:10153
  15471. 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."
  15472. msgstr ""
  15473. #. type: cindex
  15474. #: guix-git/doc/guix.texi:10154
  15475. #, no-wrap
  15476. msgid "imported modules, for gexps"
  15477. msgstr ""
  15478. #. type: findex
  15479. #: guix-git/doc/guix.texi:10155
  15480. #, no-wrap
  15481. msgid "with-imported-modules"
  15482. msgstr ""
  15483. #. type: Plain text
  15484. #: guix-git/doc/guix.texi:10160
  15485. 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:"
  15486. msgstr ""
  15487. #. type: lisp
  15488. #: guix-git/doc/guix.texi:10171
  15489. #, no-wrap
  15490. msgid ""
  15491. "(let ((build (with-imported-modules '((guix build utils))\n"
  15492. " #~(begin\n"
  15493. " (use-modules (guix build utils))\n"
  15494. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  15495. " (gexp->derivation \"empty-dir\"\n"
  15496. " #~(begin\n"
  15497. " #$build\n"
  15498. " (display \"success!\\n\")\n"
  15499. " #t)))\n"
  15500. msgstr ""
  15501. #. type: Plain text
  15502. #: guix-git/doc/guix.texi:10177
  15503. 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."
  15504. msgstr ""
  15505. #. type: cindex
  15506. #: guix-git/doc/guix.texi:10178
  15507. #, no-wrap
  15508. msgid "module closure"
  15509. msgstr ""
  15510. #. type: findex
  15511. #: guix-git/doc/guix.texi:10179
  15512. #, no-wrap
  15513. msgid "source-module-closure"
  15514. msgstr ""
  15515. #. type: Plain text
  15516. #: guix-git/doc/guix.texi:10186
  15517. 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:"
  15518. msgstr ""
  15519. #. type: lisp
  15520. #: guix-git/doc/guix.texi:10189
  15521. #, no-wrap
  15522. msgid ""
  15523. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  15524. "\n"
  15525. msgstr ""
  15526. #. type: lisp
  15527. #: guix-git/doc/guix.texi:10198
  15528. #, no-wrap
  15529. msgid ""
  15530. "(with-imported-modules (source-module-closure\n"
  15531. " '((guix build utils)\n"
  15532. " (gnu build image)))\n"
  15533. " (gexp->derivation \"something-with-vms\"\n"
  15534. " #~(begin\n"
  15535. " (use-modules (guix build utils)\n"
  15536. " (gnu build image))\n"
  15537. " @dots{})))\n"
  15538. msgstr ""
  15539. #. type: cindex
  15540. #: guix-git/doc/guix.texi:10200
  15541. #, no-wrap
  15542. msgid "extensions, for gexps"
  15543. msgstr ""
  15544. #. type: findex
  15545. #: guix-git/doc/guix.texi:10201
  15546. #, no-wrap
  15547. msgid "with-extensions"
  15548. msgstr ""
  15549. #. type: Plain text
  15550. #: guix-git/doc/guix.texi:10206
  15551. 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:"
  15552. msgstr ""
  15553. #. type: lisp
  15554. #: guix-git/doc/guix.texi:10209
  15555. #, no-wrap
  15556. msgid ""
  15557. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  15558. "\n"
  15559. msgstr ""
  15560. #. type: lisp
  15561. #: guix-git/doc/guix.texi:10215
  15562. #, no-wrap
  15563. msgid ""
  15564. "(with-extensions (list guile-json)\n"
  15565. " (gexp->derivation \"something-with-json\"\n"
  15566. " #~(begin\n"
  15567. " (use-modules (json))\n"
  15568. " @dots{})))\n"
  15569. msgstr ""
  15570. #. type: Plain text
  15571. #: guix-git/doc/guix.texi:10218
  15572. msgid "The syntactic form to construct gexps is summarized below."
  15573. msgstr ""
  15574. #. type: deffn
  15575. #: guix-git/doc/guix.texi:10219
  15576. #, no-wrap
  15577. msgid "{Scheme Syntax} #~@var{exp}"
  15578. msgstr ""
  15579. #. type: deffnx
  15580. #: guix-git/doc/guix.texi:10220
  15581. #, no-wrap
  15582. msgid "{Scheme Syntax} (gexp @var{exp})"
  15583. msgstr ""
  15584. #. type: deffn
  15585. #: guix-git/doc/guix.texi:10223
  15586. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  15587. msgstr ""
  15588. #. type: item
  15589. #: guix-git/doc/guix.texi:10225
  15590. #, no-wrap
  15591. msgid "#$@var{obj}"
  15592. msgstr ""
  15593. #. type: itemx
  15594. #: guix-git/doc/guix.texi:10226
  15595. #, no-wrap
  15596. msgid "(ungexp @var{obj})"
  15597. msgstr ""
  15598. #. type: table
  15599. #: guix-git/doc/guix.texi:10231
  15600. 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}."
  15601. msgstr ""
  15602. #. type: table
  15603. #: guix-git/doc/guix.texi:10234
  15604. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  15605. msgstr ""
  15606. #. type: table
  15607. #: guix-git/doc/guix.texi:10237
  15608. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  15609. msgstr ""
  15610. #. type: table
  15611. #: guix-git/doc/guix.texi:10239
  15612. msgid "If @var{obj} is another kind of object, it is inserted as is."
  15613. msgstr ""
  15614. #. type: item
  15615. #: guix-git/doc/guix.texi:10240
  15616. #, no-wrap
  15617. msgid "#$@var{obj}:@var{output}"
  15618. msgstr ""
  15619. #. type: itemx
  15620. #: guix-git/doc/guix.texi:10241
  15621. #, no-wrap
  15622. msgid "(ungexp @var{obj} @var{output})"
  15623. msgstr ""
  15624. #. type: table
  15625. #: guix-git/doc/guix.texi:10245
  15626. 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})."
  15627. msgstr ""
  15628. #. type: item
  15629. #: guix-git/doc/guix.texi:10246
  15630. #, no-wrap
  15631. msgid "#+@var{obj}"
  15632. msgstr ""
  15633. #. type: itemx
  15634. #: guix-git/doc/guix.texi:10247
  15635. #, no-wrap
  15636. msgid "#+@var{obj}:output"
  15637. msgstr ""
  15638. #. type: itemx
  15639. #: guix-git/doc/guix.texi:10248
  15640. #, no-wrap
  15641. msgid "(ungexp-native @var{obj})"
  15642. msgstr ""
  15643. #. type: itemx
  15644. #: guix-git/doc/guix.texi:10249
  15645. #, no-wrap
  15646. msgid "(ungexp-native @var{obj} @var{output})"
  15647. msgstr ""
  15648. #. type: table
  15649. #: guix-git/doc/guix.texi:10252
  15650. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  15651. msgstr ""
  15652. #. type: item
  15653. #: guix-git/doc/guix.texi:10253
  15654. #, no-wrap
  15655. msgid "#$output[:@var{output}]"
  15656. msgstr ""
  15657. #. type: itemx
  15658. #: guix-git/doc/guix.texi:10254
  15659. #, no-wrap
  15660. msgid "(ungexp output [@var{output}])"
  15661. msgstr ""
  15662. #. type: table
  15663. #: guix-git/doc/guix.texi:10257
  15664. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  15665. msgstr ""
  15666. #. type: table
  15667. #: guix-git/doc/guix.texi:10259
  15668. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  15669. msgstr ""
  15670. #. type: item
  15671. #: guix-git/doc/guix.texi:10260
  15672. #, no-wrap
  15673. msgid "#$@@@var{lst}"
  15674. msgstr ""
  15675. #. type: itemx
  15676. #: guix-git/doc/guix.texi:10261
  15677. #, no-wrap
  15678. msgid "(ungexp-splicing @var{lst})"
  15679. msgstr ""
  15680. #. type: table
  15681. #: guix-git/doc/guix.texi:10264
  15682. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  15683. msgstr ""
  15684. #. type: item
  15685. #: guix-git/doc/guix.texi:10265
  15686. #, no-wrap
  15687. msgid "#+@@@var{lst}"
  15688. msgstr ""
  15689. #. type: itemx
  15690. #: guix-git/doc/guix.texi:10266
  15691. #, no-wrap
  15692. msgid "(ungexp-native-splicing @var{lst})"
  15693. msgstr ""
  15694. #. type: table
  15695. #: guix-git/doc/guix.texi:10269
  15696. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  15697. msgstr ""
  15698. #. type: deffn
  15699. #: guix-git/doc/guix.texi:10274
  15700. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  15701. msgstr ""
  15702. #. type: deffn
  15703. #: guix-git/doc/guix.texi:10276
  15704. #, no-wrap
  15705. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  15706. msgstr ""
  15707. #. type: deffn
  15708. #: guix-git/doc/guix.texi:10279
  15709. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  15710. msgstr ""
  15711. #. type: deffn
  15712. #: guix-git/doc/guix.texi:10283
  15713. 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:"
  15714. msgstr ""
  15715. #. type: lisp
  15716. #: guix-git/doc/guix.texi:10289
  15717. #, no-wrap
  15718. msgid ""
  15719. "`((guix build utils)\n"
  15720. " (guix gcrypt)\n"
  15721. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  15722. " #~(define-module @dots{}))))\n"
  15723. msgstr ""
  15724. #. type: deffn
  15725. #: guix-git/doc/guix.texi:10294
  15726. 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."
  15727. msgstr ""
  15728. #. type: deffn
  15729. #: guix-git/doc/guix.texi:10298
  15730. 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{}."
  15731. msgstr ""
  15732. #. type: deffn
  15733. #: guix-git/doc/guix.texi:10300
  15734. #, no-wrap
  15735. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  15736. msgstr ""
  15737. #. type: deffn
  15738. #: guix-git/doc/guix.texi:10305
  15739. 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."
  15740. msgstr ""
  15741. #. type: deffn
  15742. #: guix-git/doc/guix.texi:10310
  15743. 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{}."
  15744. msgstr ""
  15745. #. type: deffn
  15746. #: guix-git/doc/guix.texi:10312
  15747. #, no-wrap
  15748. msgid "{Scheme Procedure} gexp? @var{obj}"
  15749. msgstr ""
  15750. #. type: deffn
  15751. #: guix-git/doc/guix.texi:10314
  15752. msgid "Return @code{#t} if @var{obj} is a G-expression."
  15753. msgstr ""
  15754. #. type: Plain text
  15755. #: guix-git/doc/guix.texi:10320
  15756. 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)."
  15757. msgstr ""
  15758. #. type: deffn
  15759. #: guix-git/doc/guix.texi:10321
  15760. #, no-wrap
  15761. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  15762. msgstr ""
  15763. #. type: deffn
  15764. #: guix-git/doc/guix.texi:10339
  15765. 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}."
  15766. msgstr ""
  15767. #. type: deffn
  15768. #: guix-git/doc/guix.texi:10347
  15769. 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))}."
  15770. msgstr ""
  15771. #. type: deffn
  15772. #: guix-git/doc/guix.texi:10350
  15773. 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\"}."
  15774. msgstr ""
  15775. #. type: deffn
  15776. #: guix-git/doc/guix.texi:10353
  15777. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  15778. msgstr ""
  15779. #. type: deffn
  15780. #: guix-git/doc/guix.texi:10356
  15781. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  15782. msgstr ""
  15783. #. type: example
  15784. #: guix-git/doc/guix.texi:10363
  15785. #, no-wrap
  15786. msgid ""
  15787. "(@var{file-name} @var{package})\n"
  15788. "(@var{file-name} @var{package} @var{output})\n"
  15789. "(@var{file-name} @var{derivation})\n"
  15790. "(@var{file-name} @var{derivation} @var{output})\n"
  15791. "(@var{file-name} @var{store-item})\n"
  15792. msgstr ""
  15793. #. type: deffn
  15794. #: guix-git/doc/guix.texi:10369
  15795. 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."
  15796. msgstr ""
  15797. #. type: deffn
  15798. #: guix-git/doc/guix.texi:10375
  15799. 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."
  15800. msgstr ""
  15801. #. type: deffn
  15802. #: guix-git/doc/guix.texi:10378
  15803. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  15804. msgstr ""
  15805. #. type: deffn
  15806. #: guix-git/doc/guix.texi:10380
  15807. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  15808. msgstr ""
  15809. #. type: cindex
  15810. #: guix-git/doc/guix.texi:10382
  15811. #, no-wrap
  15812. msgid "file-like objects"
  15813. msgstr ""
  15814. #. type: Plain text
  15815. #: guix-git/doc/guix.texi:10387
  15816. 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:"
  15817. msgstr ""
  15818. #. type: lisp
  15819. #: guix-git/doc/guix.texi:10391
  15820. #, no-wrap
  15821. msgid ""
  15822. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  15823. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  15824. msgstr ""
  15825. #. type: Plain text
  15826. #: guix-git/doc/guix.texi:10400
  15827. 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."
  15828. msgstr ""
  15829. #. type: deffn
  15830. #: guix-git/doc/guix.texi:10401
  15831. #, no-wrap
  15832. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  15833. msgstr ""
  15834. #. type: deffn
  15835. #: guix-git/doc/guix.texi:10410
  15836. 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}."
  15837. msgstr ""
  15838. #. type: deffn
  15839. #: guix-git/doc/guix.texi:10422
  15840. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  15841. msgstr ""
  15842. #. type: deffn
  15843. #: guix-git/doc/guix.texi:10424
  15844. #, no-wrap
  15845. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  15846. msgstr ""
  15847. #. type: deffn
  15848. #: guix-git/doc/guix.texi:10427
  15849. 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."
  15850. msgstr ""
  15851. #. type: deffn
  15852. #: guix-git/doc/guix.texi:10429
  15853. msgid "This is the declarative counterpart of @code{text-file}."
  15854. msgstr ""
  15855. #. type: deffn
  15856. #: guix-git/doc/guix.texi:10431
  15857. #, no-wrap
  15858. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  15859. msgstr ""
  15860. #. type: deffn
  15861. #: guix-git/doc/guix.texi:10438
  15862. 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}."
  15863. msgstr ""
  15864. #. type: deffn
  15865. #: guix-git/doc/guix.texi:10440
  15866. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  15867. msgstr ""
  15868. #. type: deffn
  15869. #: guix-git/doc/guix.texi:10442
  15870. #, no-wrap
  15871. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  15872. msgstr ""
  15873. #. type: deffn
  15874. #: guix-git/doc/guix.texi:10448
  15875. 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}."
  15876. msgstr ""
  15877. #. type: deffn
  15878. #: guix-git/doc/guix.texi:10451
  15879. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  15880. msgstr ""
  15881. #. type: lisp
  15882. #: guix-git/doc/guix.texi:10454
  15883. #, no-wrap
  15884. msgid ""
  15885. "(use-modules (guix gexp) (gnu packages base))\n"
  15886. "\n"
  15887. msgstr ""
  15888. #. type: lisp
  15889. #: guix-git/doc/guix.texi:10458
  15890. #, no-wrap
  15891. msgid ""
  15892. "(gexp->script \"list-files\"\n"
  15893. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  15894. " \"ls\"))\n"
  15895. msgstr ""
  15896. #. type: deffn
  15897. #: guix-git/doc/guix.texi:10463
  15898. 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:"
  15899. msgstr ""
  15900. #. type: example
  15901. #: guix-git/doc/guix.texi:10468
  15902. #, no-wrap
  15903. msgid ""
  15904. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  15905. "!#\n"
  15906. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  15907. msgstr ""
  15908. #. type: deffn
  15909. #: guix-git/doc/guix.texi:10471
  15910. #, no-wrap
  15911. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  15912. msgstr ""
  15913. #. type: deffn
  15914. #: guix-git/doc/guix.texi:10476
  15915. 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}."
  15916. msgstr ""
  15917. #. type: deffn
  15918. #: guix-git/doc/guix.texi:10478
  15919. msgid "This is the declarative counterpart of @code{gexp->script}."
  15920. msgstr ""
  15921. #. type: deffn
  15922. #: guix-git/doc/guix.texi:10480
  15923. #, no-wrap
  15924. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  15925. msgstr ""
  15926. #. type: deffn
  15927. #: guix-git/doc/guix.texi:10487
  15928. 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."
  15929. msgstr ""
  15930. #. type: deffn
  15931. #: guix-git/doc/guix.texi:10492
  15932. 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}."
  15933. msgstr ""
  15934. #. type: deffn
  15935. #: guix-git/doc/guix.texi:10495
  15936. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  15937. msgstr ""
  15938. #. type: deffn
  15939. #: guix-git/doc/guix.texi:10497
  15940. #, no-wrap
  15941. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  15942. msgstr ""
  15943. #. type: deffn
  15944. #: guix-git/doc/guix.texi:10501
  15945. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  15946. msgstr ""
  15947. #. type: deffn
  15948. #: guix-git/doc/guix.texi:10503
  15949. msgid "This is the declarative counterpart of @code{gexp->file}."
  15950. msgstr ""
  15951. #. type: deffn
  15952. #: guix-git/doc/guix.texi:10505
  15953. #, no-wrap
  15954. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  15955. msgstr ""
  15956. #. type: deffn
  15957. #: guix-git/doc/guix.texi:10511
  15958. 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."
  15959. msgstr ""
  15960. #. type: deffn
  15961. #: guix-git/doc/guix.texi:10516
  15962. 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:"
  15963. msgstr ""
  15964. #. type: lisp
  15965. #: guix-git/doc/guix.texi:10524
  15966. #, no-wrap
  15967. msgid ""
  15968. "(define (profile.sh)\n"
  15969. " ;; Return the name of a shell script in the store that\n"
  15970. " ;; initializes the 'PATH' environment variable.\n"
  15971. " (text-file* \"profile.sh\"\n"
  15972. " \"export PATH=\" coreutils \"/bin:\"\n"
  15973. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  15974. msgstr ""
  15975. #. type: deffn
  15976. #: guix-git/doc/guix.texi:10529
  15977. 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."
  15978. msgstr ""
  15979. #. type: deffn
  15980. #: guix-git/doc/guix.texi:10531
  15981. #, no-wrap
  15982. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  15983. msgstr ""
  15984. #. type: deffn
  15985. #: guix-git/doc/guix.texi:10535
  15986. 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:"
  15987. msgstr ""
  15988. #. type: lisp
  15989. #: guix-git/doc/guix.texi:10539
  15990. #, no-wrap
  15991. msgid ""
  15992. "(mixed-text-file \"profile\"\n"
  15993. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  15994. msgstr ""
  15995. #. type: deffn
  15996. #: guix-git/doc/guix.texi:10542
  15997. msgid "This is the declarative counterpart of @code{text-file*}."
  15998. msgstr ""
  15999. #. type: deffn
  16000. #: guix-git/doc/guix.texi:10544
  16001. #, no-wrap
  16002. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  16003. msgstr ""
  16004. #. type: deffn
  16005. #: guix-git/doc/guix.texi:10549
  16006. 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:"
  16007. msgstr ""
  16008. #. type: lisp
  16009. #: guix-git/doc/guix.texi:10556
  16010. #, no-wrap
  16011. msgid ""
  16012. "(file-union \"etc\"\n"
  16013. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  16014. " \"127.0.0.1 localhost\"))\n"
  16015. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  16016. " \"alias ls='ls --color=auto'\"))))\n"
  16017. msgstr ""
  16018. #. type: deffn
  16019. #: guix-git/doc/guix.texi:10559
  16020. msgid "This yields an @code{etc} directory containing these two files."
  16021. msgstr ""
  16022. #. type: deffn
  16023. #: guix-git/doc/guix.texi:10561
  16024. #, no-wrap
  16025. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  16026. msgstr ""
  16027. #. type: deffn
  16028. #: guix-git/doc/guix.texi:10564
  16029. 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:"
  16030. msgstr ""
  16031. #. type: lisp
  16032. #: guix-git/doc/guix.texi:10567
  16033. #, no-wrap
  16034. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  16035. msgstr ""
  16036. #. type: deffn
  16037. #: guix-git/doc/guix.texi:10570
  16038. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  16039. msgstr ""
  16040. #. type: deffn
  16041. #: guix-git/doc/guix.texi:10572
  16042. #, no-wrap
  16043. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  16044. msgstr ""
  16045. #. type: deffn
  16046. #: guix-git/doc/guix.texi:10576
  16047. 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."
  16048. msgstr ""
  16049. #. type: deffn
  16050. #: guix-git/doc/guix.texi:10578
  16051. msgid "As an example, consider this gexp:"
  16052. msgstr ""
  16053. #. type: lisp
  16054. #: guix-git/doc/guix.texi:10583
  16055. #, no-wrap
  16056. msgid ""
  16057. "(gexp->script \"run-uname\"\n"
  16058. " #~(system* #$(file-append coreutils\n"
  16059. " \"/bin/uname\")))\n"
  16060. msgstr ""
  16061. #. type: deffn
  16062. #: guix-git/doc/guix.texi:10586
  16063. msgid "The same effect could be achieved with:"
  16064. msgstr ""
  16065. #. type: lisp
  16066. #: guix-git/doc/guix.texi:10591
  16067. #, no-wrap
  16068. msgid ""
  16069. "(gexp->script \"run-uname\"\n"
  16070. " #~(system* (string-append #$coreutils\n"
  16071. " \"/bin/uname\")))\n"
  16072. msgstr ""
  16073. #. type: deffn
  16074. #: guix-git/doc/guix.texi:10597
  16075. 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}."
  16076. msgstr ""
  16077. #. type: deffn
  16078. #: guix-git/doc/guix.texi:10599
  16079. #, no-wrap
  16080. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  16081. msgstr ""
  16082. #. type: deffnx
  16083. #: guix-git/doc/guix.texi:10600
  16084. #, no-wrap
  16085. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  16086. msgstr ""
  16087. #. type: deffn
  16088. #: guix-git/doc/guix.texi:10603
  16089. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  16090. msgstr ""
  16091. #. type: deffn
  16092. #: guix-git/doc/guix.texi:10608
  16093. 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."
  16094. msgstr ""
  16095. #. type: deffn
  16096. #: guix-git/doc/guix.texi:10611
  16097. 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:"
  16098. msgstr ""
  16099. #. type: lisp
  16100. #: guix-git/doc/guix.texi:10622
  16101. #, no-wrap
  16102. msgid ""
  16103. "#~(system*\n"
  16104. " #+(let-system system\n"
  16105. " (cond ((string-prefix? \"armhf-\" system)\n"
  16106. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  16107. " ((string-prefix? \"x86_64-\" system)\n"
  16108. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  16109. " (else\n"
  16110. " (error \"dunno!\"))))\n"
  16111. " \"-net\" \"user\" #$image)\n"
  16112. msgstr ""
  16113. #. type: deffn
  16114. #: guix-git/doc/guix.texi:10625
  16115. #, no-wrap
  16116. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  16117. msgstr ""
  16118. #. type: deffn
  16119. #: guix-git/doc/guix.texi:10631
  16120. 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."
  16121. msgstr ""
  16122. #. type: deffn
  16123. #: guix-git/doc/guix.texi:10634
  16124. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  16125. msgstr ""
  16126. #. type: lisp
  16127. #: guix-git/doc/guix.texi:10638
  16128. #, no-wrap
  16129. msgid ""
  16130. "(with-parameters ((%current-system \"i686-linux\"))\n"
  16131. " coreutils)\n"
  16132. msgstr ""
  16133. #. type: deffn
  16134. #: guix-git/doc/guix.texi:10642
  16135. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  16136. msgstr ""
  16137. #. type: Plain text
  16138. #: guix-git/doc/guix.texi:10649
  16139. 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."
  16140. msgstr ""
  16141. #. type: Plain text
  16142. #: guix-git/doc/guix.texi:10655
  16143. 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."
  16144. msgstr ""
  16145. #. type: deffn
  16146. #: guix-git/doc/guix.texi:10656
  16147. #, no-wrap
  16148. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  16149. msgstr ""
  16150. #. type: deffn
  16151. #: guix-git/doc/guix.texi:10662
  16152. 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>}."
  16153. msgstr ""
  16154. #. type: deffn
  16155. #: guix-git/doc/guix.texi:10664
  16156. #, no-wrap
  16157. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  16158. msgstr ""
  16159. #. type: deffn
  16160. #: guix-git/doc/guix.texi:10672
  16161. 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."
  16162. msgstr ""
  16163. #. type: section
  16164. #: guix-git/doc/guix.texi:10675
  16165. #, no-wrap
  16166. msgid "Invoking @command{guix repl}"
  16167. msgstr ""
  16168. #. type: cindex
  16169. #: guix-git/doc/guix.texi:10677
  16170. #, no-wrap
  16171. msgid "REPL, read-eval-print loop, script"
  16172. msgstr ""
  16173. #. type: Plain text
  16174. #: guix-git/doc/guix.texi:10687
  16175. 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."
  16176. msgstr ""
  16177. #. type: example
  16178. #: guix-git/doc/guix.texi:10692
  16179. #, no-wrap
  16180. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  16181. msgstr ""
  16182. #. type: Plain text
  16183. #: guix-git/doc/guix.texi:10696
  16184. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  16185. msgstr ""
  16186. #. type: example
  16187. #: guix-git/doc/guix.texi:10699
  16188. #, no-wrap
  16189. msgid "guix repl my-script.scm\n"
  16190. msgstr ""
  16191. #. type: Plain text
  16192. #: guix-git/doc/guix.texi:10703
  16193. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  16194. msgstr ""
  16195. #. type: example
  16196. #: guix-git/doc/guix.texi:10706
  16197. #, no-wrap
  16198. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  16199. msgstr ""
  16200. #. type: Plain text
  16201. #: guix-git/doc/guix.texi:10711
  16202. 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:"
  16203. msgstr ""
  16204. #. type: example
  16205. #: guix-git/doc/guix.texi:10715
  16206. #, no-wrap
  16207. msgid ""
  16208. "@code{#!/usr/bin/env -S guix repl --}\n"
  16209. "@code{!#}\n"
  16210. msgstr ""
  16211. #. type: Plain text
  16212. #: guix-git/doc/guix.texi:10718
  16213. msgid "Without a file name argument, a Guile REPL is started:"
  16214. msgstr ""
  16215. #. type: example
  16216. #: guix-git/doc/guix.texi:10724
  16217. #, no-wrap
  16218. msgid ""
  16219. "$ guix repl\n"
  16220. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  16221. "scheme@@(guile-user)> coreutils\n"
  16222. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  16223. msgstr ""
  16224. #. type: Plain text
  16225. #: guix-git/doc/guix.texi:10731
  16226. 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."
  16227. msgstr ""
  16228. #. type: Plain text
  16229. #: guix-git/doc/guix.texi:10733
  16230. msgid "The available options are as follows:"
  16231. msgstr ""
  16232. #. type: item
  16233. #: guix-git/doc/guix.texi:10735 guix-git/doc/guix.texi:13411
  16234. #, no-wrap
  16235. msgid "--type=@var{type}"
  16236. msgstr ""
  16237. #. type: itemx
  16238. #: guix-git/doc/guix.texi:10736 guix-git/doc/guix.texi:13412
  16239. #: guix-git/doc/guix.texi:35281
  16240. #, no-wrap
  16241. msgid "-t @var{type}"
  16242. msgstr ""
  16243. #. type: table
  16244. #: guix-git/doc/guix.texi:10738
  16245. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  16246. msgstr ""
  16247. #. type: item
  16248. #: guix-git/doc/guix.texi:10740
  16249. #, no-wrap
  16250. msgid "guile"
  16251. msgstr ""
  16252. #. type: table
  16253. #: guix-git/doc/guix.texi:10742
  16254. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  16255. msgstr ""
  16256. #. type: item
  16257. #: guix-git/doc/guix.texi:10742
  16258. #, no-wrap
  16259. msgid "machine"
  16260. msgstr ""
  16261. #. type: table
  16262. #: guix-git/doc/guix.texi:10745
  16263. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  16264. msgstr ""
  16265. #. type: table
  16266. #: guix-git/doc/guix.texi:10751
  16267. 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:"
  16268. msgstr ""
  16269. #. type: item
  16270. #: guix-git/doc/guix.texi:10753
  16271. #, no-wrap
  16272. msgid "--listen=tcp:37146"
  16273. msgstr ""
  16274. #. type: table
  16275. #: guix-git/doc/guix.texi:10755
  16276. msgid "Accept connections on localhost on port 37146."
  16277. msgstr ""
  16278. #. type: item
  16279. #: guix-git/doc/guix.texi:10756
  16280. #, no-wrap
  16281. msgid "--listen=unix:/tmp/socket"
  16282. msgstr ""
  16283. #. type: table
  16284. #: guix-git/doc/guix.texi:10758
  16285. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  16286. msgstr ""
  16287. #. type: item
  16288. #: guix-git/doc/guix.texi:10760 guix-git/doc/guix.texi:10865
  16289. #: guix-git/doc/guix.texi:12763 guix-git/doc/guix.texi:12840
  16290. #: guix-git/doc/guix.texi:13046 guix-git/doc/guix.texi:13191
  16291. #: guix-git/doc/guix.texi:13459
  16292. #, no-wrap
  16293. msgid "--load-path=@var{directory}"
  16294. msgstr ""
  16295. #. type: itemx
  16296. #: guix-git/doc/guix.texi:10761 guix-git/doc/guix.texi:10866
  16297. #: guix-git/doc/guix.texi:12841 guix-git/doc/guix.texi:13047
  16298. #: guix-git/doc/guix.texi:13192 guix-git/doc/guix.texi:13460
  16299. #, no-wrap
  16300. msgid "-L @var{directory}"
  16301. msgstr ""
  16302. #. type: table
  16303. #: guix-git/doc/guix.texi:10764 guix-git/doc/guix.texi:10869
  16304. #: guix-git/doc/guix.texi:12766 guix-git/doc/guix.texi:12844
  16305. #: guix-git/doc/guix.texi:13050 guix-git/doc/guix.texi:13195
  16306. #: guix-git/doc/guix.texi:13463
  16307. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  16308. msgstr ""
  16309. #. type: table
  16310. #: guix-git/doc/guix.texi:10767
  16311. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  16312. msgstr ""
  16313. #. type: itemx
  16314. #: guix-git/doc/guix.texi:10768 guix-git/doc/guix.texi:11390
  16315. #, no-wrap
  16316. msgid "-q"
  16317. msgstr ""
  16318. #. type: table
  16319. #: guix-git/doc/guix.texi:10771
  16320. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  16321. msgstr ""
  16322. #. type: Plain text
  16323. #: guix-git/doc/guix.texi:10781
  16324. 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."
  16325. msgstr ""
  16326. #. type: cindex
  16327. #: guix-git/doc/guix.texi:10804
  16328. #, no-wrap
  16329. msgid "package building"
  16330. msgstr ""
  16331. #. type: command{#1}
  16332. #: guix-git/doc/guix.texi:10805
  16333. #, no-wrap
  16334. msgid "guix build"
  16335. msgstr ""
  16336. #. type: Plain text
  16337. #: guix-git/doc/guix.texi:10811
  16338. 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."
  16339. msgstr ""
  16340. #. type: example
  16341. #: guix-git/doc/guix.texi:10816
  16342. #, no-wrap
  16343. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  16344. msgstr ""
  16345. #. type: Plain text
  16346. #: guix-git/doc/guix.texi:10821
  16347. 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:"
  16348. msgstr ""
  16349. #. type: example
  16350. #: guix-git/doc/guix.texi:10824
  16351. #, no-wrap
  16352. msgid "guix build emacs guile\n"
  16353. msgstr ""
  16354. #. type: Plain text
  16355. #: guix-git/doc/guix.texi:10827
  16356. msgid "Similarly, the following command builds all the available packages:"
  16357. msgstr ""
  16358. #. type: example
  16359. #: guix-git/doc/guix.texi:10831
  16360. #, no-wrap
  16361. msgid ""
  16362. "guix build --quiet --keep-going \\\n"
  16363. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  16364. msgstr ""
  16365. #. type: Plain text
  16366. #: guix-git/doc/guix.texi:10839
  16367. 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})."
  16368. msgstr ""
  16369. #. type: Plain text
  16370. #: guix-git/doc/guix.texi:10844
  16371. 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."
  16372. msgstr ""
  16373. #. type: Plain text
  16374. #: guix-git/doc/guix.texi:10847
  16375. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  16376. msgstr ""
  16377. #. type: Plain text
  16378. #: guix-git/doc/guix.texi:10862
  16379. 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:"
  16380. msgstr ""
  16381. #. type: table
  16382. #: guix-git/doc/guix.texi:10872 guix-git/doc/guix.texi:12769
  16383. #: guix-git/doc/guix.texi:13053 guix-git/doc/guix.texi:13198
  16384. #: guix-git/doc/guix.texi:13466
  16385. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  16386. msgstr ""
  16387. #. type: item
  16388. #: guix-git/doc/guix.texi:10873
  16389. #, no-wrap
  16390. msgid "--keep-failed"
  16391. msgstr ""
  16392. #. type: itemx
  16393. #: guix-git/doc/guix.texi:10874
  16394. #, no-wrap
  16395. msgid "-K"
  16396. msgstr ""
  16397. #. type: table
  16398. #: guix-git/doc/guix.texi:10880
  16399. 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."
  16400. msgstr ""
  16401. #. type: table
  16402. #: guix-git/doc/guix.texi:10884
  16403. 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})."
  16404. msgstr ""
  16405. #. type: item
  16406. #: guix-git/doc/guix.texi:10885
  16407. #, no-wrap
  16408. msgid "--keep-going"
  16409. msgstr ""
  16410. #. type: itemx
  16411. #: guix-git/doc/guix.texi:10886
  16412. #, no-wrap
  16413. msgid "-k"
  16414. msgstr ""
  16415. #. type: table
  16416. #: guix-git/doc/guix.texi:10889
  16417. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  16418. msgstr ""
  16419. #. type: table
  16420. #: guix-git/doc/guix.texi:10892
  16421. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  16422. msgstr ""
  16423. #. type: table
  16424. #: guix-git/doc/guix.texi:10896
  16425. msgid "Do not build the derivations."
  16426. msgstr ""
  16427. #. type: anchor{#1}
  16428. #: guix-git/doc/guix.texi:10898
  16429. msgid "fallback-option"
  16430. msgstr ""
  16431. #. type: item
  16432. #: guix-git/doc/guix.texi:10898
  16433. #, no-wrap
  16434. msgid "--fallback"
  16435. msgstr ""
  16436. #. type: table
  16437. #: guix-git/doc/guix.texi:10901
  16438. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  16439. msgstr ""
  16440. #. type: anchor{#1}
  16441. #: guix-git/doc/guix.texi:10907
  16442. msgid "client-substitute-urls"
  16443. msgstr ""
  16444. #. type: table
  16445. #: guix-git/doc/guix.texi:10907
  16446. 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})."
  16447. msgstr ""
  16448. #. type: table
  16449. #: guix-git/doc/guix.texi:10911
  16450. 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})."
  16451. msgstr ""
  16452. #. type: table
  16453. #: guix-git/doc/guix.texi:10914
  16454. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  16455. msgstr ""
  16456. #. type: item
  16457. #: guix-git/doc/guix.texi:10920
  16458. #, no-wrap
  16459. msgid "--no-grafts"
  16460. msgstr ""
  16461. #. type: table
  16462. #: guix-git/doc/guix.texi:10924
  16463. 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."
  16464. msgstr ""
  16465. #. type: item
  16466. #: guix-git/doc/guix.texi:10925
  16467. #, no-wrap
  16468. msgid "--rounds=@var{n}"
  16469. msgstr ""
  16470. #. type: table
  16471. #: guix-git/doc/guix.texi:10928
  16472. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  16473. msgstr ""
  16474. #. type: table
  16475. #: guix-git/doc/guix.texi:10933
  16476. 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."
  16477. msgstr ""
  16478. #. type: table
  16479. #: guix-git/doc/guix.texi:10949
  16480. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  16481. msgstr ""
  16482. #. type: table
  16483. #: guix-git/doc/guix.texi:10956
  16484. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  16485. msgstr ""
  16486. #. type: cindex
  16487. #: guix-git/doc/guix.texi:10959
  16488. #, no-wrap
  16489. msgid "verbosity, of the command-line tools"
  16490. msgstr ""
  16491. #. type: cindex
  16492. #: guix-git/doc/guix.texi:10960
  16493. #, no-wrap
  16494. msgid "build logs, verbosity"
  16495. msgstr ""
  16496. #. type: item
  16497. #: guix-git/doc/guix.texi:10961
  16498. #, no-wrap
  16499. msgid "-v @var{level}"
  16500. msgstr ""
  16501. #. type: itemx
  16502. #: guix-git/doc/guix.texi:10962
  16503. #, no-wrap
  16504. msgid "--verbosity=@var{level}"
  16505. msgstr ""
  16506. #. type: table
  16507. #: guix-git/doc/guix.texi:10967
  16508. 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."
  16509. msgstr ""
  16510. #. type: table
  16511. #: guix-git/doc/guix.texi:10972
  16512. 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."
  16513. msgstr ""
  16514. #. type: table
  16515. #: guix-git/doc/guix.texi:10978
  16516. 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."
  16517. msgstr ""
  16518. #. type: item
  16519. #: guix-git/doc/guix.texi:10979
  16520. #, no-wrap
  16521. msgid "--debug=@var{level}"
  16522. msgstr ""
  16523. #. type: table
  16524. #: guix-git/doc/guix.texi:10983
  16525. 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."
  16526. msgstr ""
  16527. #. type: Plain text
  16528. #: guix-git/doc/guix.texi:10990
  16529. 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."
  16530. msgstr ""
  16531. #. type: Plain text
  16532. #: guix-git/doc/guix.texi:10994
  16533. 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."
  16534. msgstr ""
  16535. #. type: defvr
  16536. #: guix-git/doc/guix.texi:10995
  16537. #, no-wrap
  16538. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  16539. msgstr ""
  16540. #. type: defvr
  16541. #: guix-git/doc/guix.texi:11000
  16542. 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:"
  16543. msgstr ""
  16544. #. type: example
  16545. #: guix-git/doc/guix.texi:11003
  16546. #, no-wrap
  16547. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  16548. msgstr ""
  16549. #. type: defvr
  16550. #: guix-git/doc/guix.texi:11007
  16551. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  16552. msgstr ""
  16553. #. type: cindex
  16554. #: guix-git/doc/guix.texi:11013
  16555. #, no-wrap
  16556. msgid "package variants"
  16557. msgstr ""
  16558. #. type: Plain text
  16559. #: guix-git/doc/guix.texi:11021
  16560. 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})."
  16561. msgstr ""
  16562. #. type: Plain text
  16563. #: guix-git/doc/guix.texi:11025
  16564. 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."
  16565. msgstr ""
  16566. #. type: Plain text
  16567. #: guix-git/doc/guix.texi:11030
  16568. 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)."
  16569. msgstr ""
  16570. #. type: cindex
  16571. #: guix-git/doc/guix.texi:11033
  16572. #, no-wrap
  16573. msgid "performance, tuning code"
  16574. msgstr ""
  16575. #. type: cindex
  16576. #: guix-git/doc/guix.texi:11034
  16577. #, no-wrap
  16578. msgid "optimization, of package code"
  16579. msgstr ""
  16580. #. type: cindex
  16581. #: guix-git/doc/guix.texi:11035
  16582. #, no-wrap
  16583. msgid "tuning, of package code"
  16584. msgstr ""
  16585. #. type: cindex
  16586. #: guix-git/doc/guix.texi:11036
  16587. #, no-wrap
  16588. msgid "SIMD support"
  16589. msgstr ""
  16590. #. type: cindex
  16591. #: guix-git/doc/guix.texi:11037
  16592. #, fuzzy, no-wrap
  16593. #| msgid "Java Packages"
  16594. msgid "tunable packages"
  16595. msgstr "بسته‌های جاوا"
  16596. #. type: cindex
  16597. #: guix-git/doc/guix.texi:11038
  16598. #, no-wrap
  16599. msgid "package multi-versioning"
  16600. msgstr ""
  16601. #. type: item
  16602. #: guix-git/doc/guix.texi:11039
  16603. #, no-wrap
  16604. msgid "--tune[=@var{cpu}]"
  16605. msgstr ""
  16606. #. type: table
  16607. #: guix-git/doc/guix.texi:11043
  16608. msgid "Use versions of the packages marked as ``tunable'' optimized for @var{cpu}. When @var{cpu} is @code{native}, or when it is omitted, tune for the CPU on which the @command{guix} command is running."
  16609. msgstr ""
  16610. #. type: table
  16611. #: guix-git/doc/guix.texi:11049
  16612. msgid "Valid @var{cpu} names are those recognized by the underlying compiler, by default the GNU Compiler Collection. On x86_64 processors, this includes CPU names such as @code{nehalem}, @code{haswell}, and @code{skylake} (@pxref{x86 Options, @code{-march},, gcc, Using the GNU Compiler Collection (GCC)})."
  16613. msgstr ""
  16614. #. type: table
  16615. #: guix-git/doc/guix.texi:11056
  16616. msgid "As new generations of CPUs come out, they augment the standard instruction set architecture (ISA) with additional instructions, in particular instructions for single-instruction/multiple-data (SIMD) parallel processing. For example, while Core2 and Skylake CPUs both implement the x86_64 ISA, only the latter supports AVX2 SIMD instructions."
  16617. msgstr ""
  16618. #. type: table
  16619. #: guix-git/doc/guix.texi:11063
  16620. msgid "The primary gain one can expect from @option{--tune} is for programs that can make use of those SIMD capabilities @emph{and} that do not already have a mechanism to select the right optimized code at run time. Packages that have the @code{tunable?} property set are considered @dfn{tunable packages} by the @option{--tune} option; a package definition with the property set looks like this:"
  16621. msgstr ""
  16622. #. type: lisp
  16623. #: guix-git/doc/guix.texi:11068
  16624. #, no-wrap
  16625. msgid ""
  16626. "(package\n"
  16627. " (name \"hello-simd\")\n"
  16628. " ;; ...\n"
  16629. "\n"
  16630. msgstr ""
  16631. #. type: lisp
  16632. #: guix-git/doc/guix.texi:11072
  16633. #, no-wrap
  16634. msgid ""
  16635. " ;; This package may benefit from SIMD extensions so\n"
  16636. " ;; mark it as \"tunable\".\n"
  16637. " (properties '((tunable? . #t))))\n"
  16638. msgstr ""
  16639. #. type: table
  16640. #: guix-git/doc/guix.texi:11077
  16641. msgid "Other packages are not considered tunable. This allows Guix to use generic binaries in the cases where tuning for a specific CPU is unlikely to provide any gain."
  16642. msgstr ""
  16643. #. type: table
  16644. #: guix-git/doc/guix.texi:11083
  16645. msgid "Tuned packages are built with @code{-march=@var{CPU}}; under the hood, the @option{-march} option is passed to the actual wrapper by a compiler wrapper. Since the build machine may not be able to run code for the target CPU micro-architecture, the test suite is not run when building a tuned package."
  16646. msgstr ""
  16647. #. type: table
  16648. #: guix-git/doc/guix.texi:11087
  16649. msgid "To reduce rebuilds to the minimum, tuned packages are @emph{grafted} onto packages that depend on them (@pxref{Security Updates, grafts}). Thus, using @option{--no-grafts} cancels the effect of @option{--tune}."
  16650. msgstr ""
  16651. #. type: table
  16652. #: guix-git/doc/guix.texi:11093
  16653. msgid "We call this technique @dfn{package multi-versioning}: several variants of tunable packages may be built, one for each CPU variant. It is the coarse-grain counterpart of @dfn{function multi-versioning} as implemented by the GNU tool chain (@pxref{Function Multiversioning,,, gcc, Using the GNU Compiler Collection (GCC)})."
  16654. msgstr ""
  16655. #. type: item
  16656. #: guix-git/doc/guix.texi:11094
  16657. #, no-wrap
  16658. msgid "--with-source=@var{source}"
  16659. msgstr ""
  16660. #. type: itemx
  16661. #: guix-git/doc/guix.texi:11095
  16662. #, no-wrap
  16663. msgid "--with-source=@var{package}=@var{source}"
  16664. msgstr ""
  16665. #. type: itemx
  16666. #: guix-git/doc/guix.texi:11096
  16667. #, no-wrap
  16668. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  16669. msgstr ""
  16670. #. type: table
  16671. #: guix-git/doc/guix.texi:11101
  16672. 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})."
  16673. msgstr ""
  16674. #. type: table
  16675. #: guix-git/doc/guix.texi:11107
  16676. 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}."
  16677. msgstr ""
  16678. #. type: table
  16679. #: guix-git/doc/guix.texi:11110
  16680. 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}."
  16681. msgstr ""
  16682. #. type: table
  16683. #: guix-git/doc/guix.texi:11115
  16684. 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:"
  16685. msgstr ""
  16686. #. type: example
  16687. #: guix-git/doc/guix.texi:11118
  16688. #, no-wrap
  16689. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  16690. msgstr ""
  16691. #. type: table
  16692. #: guix-git/doc/guix.texi:11122
  16693. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  16694. msgstr ""
  16695. #. type: example
  16696. #: guix-git/doc/guix.texi:11125
  16697. #, no-wrap
  16698. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  16699. msgstr ""
  16700. #. type: table
  16701. #: guix-git/doc/guix.texi:11128
  16702. msgid "@dots{} or to build from a checkout in a pristine environment:"
  16703. msgstr ""
  16704. #. type: example
  16705. #: guix-git/doc/guix.texi:11132
  16706. #, no-wrap
  16707. msgid ""
  16708. "$ git clone git://git.sv.gnu.org/guix.git\n"
  16709. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  16710. msgstr ""
  16711. #. type: item
  16712. #: guix-git/doc/guix.texi:11134
  16713. #, no-wrap
  16714. msgid "--with-input=@var{package}=@var{replacement}"
  16715. msgstr ""
  16716. #. type: table
  16717. #: guix-git/doc/guix.texi:11139
  16718. 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}."
  16719. msgstr ""
  16720. #. type: table
  16721. #: guix-git/doc/guix.texi:11143
  16722. 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}:"
  16723. msgstr ""
  16724. #. type: example
  16725. #: guix-git/doc/guix.texi:11146
  16726. #, no-wrap
  16727. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  16728. msgstr ""
  16729. #. type: table
  16730. #: guix-git/doc/guix.texi:11151
  16731. 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}."
  16732. msgstr ""
  16733. #. type: table
  16734. #: guix-git/doc/guix.texi:11154
  16735. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  16736. msgstr ""
  16737. #. type: item
  16738. #: guix-git/doc/guix.texi:11155
  16739. #, no-wrap
  16740. msgid "--with-graft=@var{package}=@var{replacement}"
  16741. msgstr ""
  16742. #. type: table
  16743. #: guix-git/doc/guix.texi:11161
  16744. 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."
  16745. msgstr ""
  16746. #. type: table
  16747. #: guix-git/doc/guix.texi:11165
  16748. 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:"
  16749. msgstr ""
  16750. #. type: example
  16751. #: guix-git/doc/guix.texi:11168
  16752. #, no-wrap
  16753. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  16754. msgstr ""
  16755. #. type: table
  16756. #: guix-git/doc/guix.texi:11177
  16757. 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!"
  16758. msgstr ""
  16759. #. type: cindex
  16760. #: guix-git/doc/guix.texi:11178 guix-git/doc/guix.texi:37882
  16761. #, no-wrap
  16762. msgid "debugging info, rebuilding"
  16763. msgstr ""
  16764. #. type: item
  16765. #: guix-git/doc/guix.texi:11179
  16766. #, no-wrap
  16767. msgid "--with-debug-info=@var{package}"
  16768. msgstr ""
  16769. #. type: table
  16770. #: guix-git/doc/guix.texi:11184
  16771. 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})."
  16772. msgstr ""
  16773. #. type: table
  16774. #: guix-git/doc/guix.texi:11190
  16775. 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:"
  16776. msgstr ""
  16777. #. type: example
  16778. #: guix-git/doc/guix.texi:11193 guix-git/doc/guix.texi:37913
  16779. #, no-wrap
  16780. msgid "guix install inkscape --with-debug-info=glib\n"
  16781. msgstr ""
  16782. #. type: table
  16783. #: guix-git/doc/guix.texi:11197
  16784. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  16785. msgstr ""
  16786. #. type: quotation
  16787. #: guix-git/doc/guix.texi:11203
  16788. 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."
  16789. msgstr ""
  16790. #. type: quotation
  16791. #: guix-git/doc/guix.texi:11207
  16792. 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."
  16793. msgstr ""
  16794. #. type: cindex
  16795. #: guix-git/doc/guix.texi:11209
  16796. #, no-wrap
  16797. msgid "tool chain, changing the build tool chain of a package"
  16798. msgstr ""
  16799. #. type: item
  16800. #: guix-git/doc/guix.texi:11210
  16801. #, no-wrap
  16802. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  16803. msgstr ""
  16804. #. type: table
  16805. #: guix-git/doc/guix.texi:11214
  16806. 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++."
  16807. msgstr ""
  16808. #. type: example
  16809. #: guix-git/doc/guix.texi:11221
  16810. #, no-wrap
  16811. msgid ""
  16812. "guix build octave-cli \\\n"
  16813. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  16814. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  16815. msgstr ""
  16816. #. type: table
  16817. #: guix-git/doc/guix.texi:11228
  16818. 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}."
  16819. msgstr ""
  16820. #. type: table
  16821. #: guix-git/doc/guix.texi:11232
  16822. 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:"
  16823. msgstr ""
  16824. #. type: example
  16825. #: guix-git/doc/guix.texi:11236
  16826. #, no-wrap
  16827. msgid ""
  16828. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  16829. " intel-mpi-benchmarks\n"
  16830. msgstr ""
  16831. #. type: quotation
  16832. #: guix-git/doc/guix.texi:11245
  16833. 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."
  16834. msgstr ""
  16835. #. type: item
  16836. #: guix-git/doc/guix.texi:11247
  16837. #, no-wrap
  16838. msgid "--with-git-url=@var{package}=@var{url}"
  16839. msgstr ""
  16840. #. type: cindex
  16841. #: guix-git/doc/guix.texi:11248
  16842. #, no-wrap
  16843. msgid "Git, using the latest commit"
  16844. msgstr ""
  16845. #. type: cindex
  16846. #: guix-git/doc/guix.texi:11249
  16847. #, no-wrap
  16848. msgid "latest commit, building"
  16849. msgstr ""
  16850. #. type: table
  16851. #: guix-git/doc/guix.texi:11253
  16852. 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."
  16853. msgstr ""
  16854. #. type: table
  16855. #: guix-git/doc/guix.texi:11256
  16856. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  16857. msgstr ""
  16858. #. type: example
  16859. #: guix-git/doc/guix.texi:11260
  16860. #, no-wrap
  16861. msgid ""
  16862. "guix build python-numpy \\\n"
  16863. " --with-git-url=python=https://github.com/python/cpython\n"
  16864. msgstr ""
  16865. #. type: table
  16866. #: guix-git/doc/guix.texi:11264
  16867. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  16868. msgstr ""
  16869. #. type: cindex
  16870. #: guix-git/doc/guix.texi:11265 guix-git/doc/guix.texi:28957
  16871. #, no-wrap
  16872. msgid "continuous integration"
  16873. msgstr ""
  16874. #. type: table
  16875. #: guix-git/doc/guix.texi:11271
  16876. 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)."
  16877. msgstr ""
  16878. #. type: table
  16879. #: guix-git/doc/guix.texi:11275
  16880. 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."
  16881. msgstr ""
  16882. #. type: item
  16883. #: guix-git/doc/guix.texi:11276
  16884. #, no-wrap
  16885. msgid "--with-branch=@var{package}=@var{branch}"
  16886. msgstr ""
  16887. #. type: table
  16888. #: guix-git/doc/guix.texi:11282
  16889. 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."
  16890. msgstr ""
  16891. #. type: table
  16892. #: guix-git/doc/guix.texi:11287
  16893. 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:"
  16894. msgstr ""
  16895. #. type: example
  16896. #: guix-git/doc/guix.texi:11290
  16897. #, no-wrap
  16898. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  16899. msgstr ""
  16900. #. type: item
  16901. #: guix-git/doc/guix.texi:11292
  16902. #, no-wrap
  16903. msgid "--with-commit=@var{package}=@var{commit}"
  16904. msgstr ""
  16905. #. type: table
  16906. #: guix-git/doc/guix.texi:11297
  16907. 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}."
  16908. msgstr ""
  16909. #. type: item
  16910. #: guix-git/doc/guix.texi:11298
  16911. #, no-wrap
  16912. msgid "--with-patch=@var{package}=@var{file}"
  16913. msgstr ""
  16914. #. type: table
  16915. #: guix-git/doc/guix.texi:11305
  16916. 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})."
  16917. msgstr ""
  16918. #. type: table
  16919. #: guix-git/doc/guix.texi:11308
  16920. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  16921. msgstr ""
  16922. #. type: example
  16923. #: guix-git/doc/guix.texi:11311
  16924. #, no-wrap
  16925. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  16926. msgstr ""
  16927. #. type: table
  16928. #: guix-git/doc/guix.texi:11315
  16929. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  16930. msgstr ""
  16931. #. type: cindex
  16932. #: guix-git/doc/guix.texi:11316
  16933. #, no-wrap
  16934. msgid "upstream, latest version"
  16935. msgstr ""
  16936. #. type: item
  16937. #: guix-git/doc/guix.texi:11317
  16938. #, no-wrap
  16939. msgid "--with-latest=@var{package}"
  16940. msgstr ""
  16941. #. type: table
  16942. #: guix-git/doc/guix.texi:11322
  16943. 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})."
  16944. msgstr ""
  16945. #. type: table
  16946. #: guix-git/doc/guix.texi:11326
  16947. 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."
  16948. msgstr ""
  16949. #. type: table
  16950. #: guix-git/doc/guix.texi:11329
  16951. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  16952. msgstr ""
  16953. #. type: example
  16954. #: guix-git/doc/guix.texi:11332
  16955. #, no-wrap
  16956. msgid "guix build guix --with-latest=guile-json\n"
  16957. msgstr ""
  16958. #. type: table
  16959. #: guix-git/doc/guix.texi:11341
  16960. 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."
  16961. msgstr ""
  16962. #. type: table
  16963. #: guix-git/doc/guix.texi:11346
  16964. 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})."
  16965. msgstr ""
  16966. #. type: cindex
  16967. #: guix-git/doc/guix.texi:11347
  16968. #, no-wrap
  16969. msgid "test suite, skipping"
  16970. msgstr ""
  16971. #. type: item
  16972. #: guix-git/doc/guix.texi:11348
  16973. #, no-wrap
  16974. msgid "--without-tests=@var{package}"
  16975. msgstr ""
  16976. #. type: table
  16977. #: guix-git/doc/guix.texi:11354
  16978. 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."
  16979. msgstr ""
  16980. #. type: table
  16981. #: guix-git/doc/guix.texi:11358
  16982. 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:"
  16983. msgstr ""
  16984. #. type: example
  16985. #: guix-git/doc/guix.texi:11361
  16986. #, no-wrap
  16987. msgid "guix install --without-tests=python python-notebook\n"
  16988. msgstr ""
  16989. #. type: table
  16990. #: guix-git/doc/guix.texi:11367
  16991. 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."
  16992. msgstr ""
  16993. #. type: table
  16994. #: guix-git/doc/guix.texi:11373
  16995. 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."
  16996. msgstr ""
  16997. #. type: Plain text
  16998. #: guix-git/doc/guix.texi:11380
  16999. 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."
  17000. msgstr ""
  17001. #. type: Plain text
  17002. #: guix-git/doc/guix.texi:11386
  17003. msgid "The command-line options presented below are specific to @command{guix build}."
  17004. msgstr ""
  17005. #. type: item
  17006. #: guix-git/doc/guix.texi:11389
  17007. #, no-wrap
  17008. msgid "--quiet"
  17009. msgstr ""
  17010. #. type: table
  17011. #: guix-git/doc/guix.texi:11394
  17012. 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."
  17013. msgstr ""
  17014. #. type: table
  17015. #: guix-git/doc/guix.texi:11399
  17016. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  17017. msgstr ""
  17018. #. type: table
  17019. #: guix-git/doc/guix.texi:11402
  17020. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  17021. msgstr ""
  17022. #. type: table
  17023. #: guix-git/doc/guix.texi:11411
  17024. 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}:"
  17025. msgstr ""
  17026. #. type: item
  17027. #: guix-git/doc/guix.texi:11416
  17028. #, no-wrap
  17029. msgid "--manifest=@var{manifest}"
  17030. msgstr ""
  17031. #. type: itemx
  17032. #: guix-git/doc/guix.texi:11417
  17033. #, no-wrap
  17034. msgid "-m @var{manifest}"
  17035. msgstr ""
  17036. #. type: table
  17037. #: guix-git/doc/guix.texi:11420
  17038. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  17039. msgstr ""
  17040. #. type: table
  17041. #: guix-git/doc/guix.texi:11424
  17042. msgid "Build the package or derivation @var{expr} evaluates to."
  17043. msgstr ""
  17044. #. type: table
  17045. #: guix-git/doc/guix.texi:11428
  17046. 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."
  17047. msgstr ""
  17048. #. type: table
  17049. #: guix-git/doc/guix.texi:11432
  17050. 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})."
  17051. msgstr ""
  17052. #. type: table
  17053. #: guix-git/doc/guix.texi:11436
  17054. 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}."
  17055. msgstr ""
  17056. #. type: item
  17057. #: guix-git/doc/guix.texi:11437
  17058. #, no-wrap
  17059. msgid "--source"
  17060. msgstr ""
  17061. #. type: itemx
  17062. #: guix-git/doc/guix.texi:11438 guix-git/doc/guix.texi:11835
  17063. #, no-wrap
  17064. msgid "-S"
  17065. msgstr ""
  17066. #. type: table
  17067. #: guix-git/doc/guix.texi:11441
  17068. msgid "Build the source derivations of the packages, rather than the packages themselves."
  17069. msgstr ""
  17070. #. type: table
  17071. #: guix-git/doc/guix.texi:11445
  17072. 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."
  17073. msgstr ""
  17074. #. type: table
  17075. #: guix-git/doc/guix.texi:11449
  17076. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  17077. msgstr ""
  17078. #. type: cindex
  17079. #: guix-git/doc/guix.texi:11450
  17080. #, no-wrap
  17081. msgid "source, verification"
  17082. msgstr ""
  17083. #. type: table
  17084. #: guix-git/doc/guix.texi:11456
  17085. 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."
  17086. msgstr ""
  17087. #. type: table
  17088. #: guix-git/doc/guix.texi:11461
  17089. 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."
  17090. msgstr ""
  17091. #. type: item
  17092. #: guix-git/doc/guix.texi:11462
  17093. #, no-wrap
  17094. msgid "--sources"
  17095. msgstr ""
  17096. #. type: table
  17097. #: guix-git/doc/guix.texi:11469
  17098. 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:"
  17099. msgstr ""
  17100. #. type: item
  17101. #: guix-git/doc/guix.texi:11471 guix-git/doc/guix.texi:13252
  17102. #, no-wrap
  17103. msgid "package"
  17104. msgstr ""
  17105. #. type: table
  17106. #: guix-git/doc/guix.texi:11474
  17107. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  17108. msgstr ""
  17109. #. type: item
  17110. #: guix-git/doc/guix.texi:11475 guix-git/doc/guix.texi:19682
  17111. #, no-wrap
  17112. msgid "all"
  17113. msgstr ""
  17114. #. type: table
  17115. #: guix-git/doc/guix.texi:11478
  17116. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  17117. msgstr ""
  17118. #. type: example
  17119. #: guix-git/doc/guix.texi:11484
  17120. #, no-wrap
  17121. msgid ""
  17122. "$ guix build --sources tzdata\n"
  17123. "The following derivations will be built:\n"
  17124. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  17125. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17126. msgstr ""
  17127. #. type: item
  17128. #: guix-git/doc/guix.texi:11486
  17129. #, no-wrap
  17130. msgid "transitive"
  17131. msgstr ""
  17132. #. type: table
  17133. #: guix-git/doc/guix.texi:11490
  17134. 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."
  17135. msgstr ""
  17136. #. type: example
  17137. #: guix-git/doc/guix.texi:11501
  17138. #, no-wrap
  17139. msgid ""
  17140. "$ guix build --sources=transitive tzdata\n"
  17141. "The following derivations will be built:\n"
  17142. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17143. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  17144. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  17145. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  17146. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  17147. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  17148. "@dots{}\n"
  17149. msgstr ""
  17150. #. type: table
  17151. #: guix-git/doc/guix.texi:11511
  17152. 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."
  17153. msgstr ""
  17154. #. type: quotation
  17155. #: guix-git/doc/guix.texi:11516
  17156. 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."
  17157. msgstr ""
  17158. #. type: table
  17159. #: guix-git/doc/guix.texi:11523
  17160. 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."
  17161. msgstr ""
  17162. #. type: quotation
  17163. #: guix-git/doc/guix.texi:11528
  17164. 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."
  17165. msgstr ""
  17166. #. type: table
  17167. #: guix-git/doc/guix.texi:11534
  17168. 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."
  17169. msgstr ""
  17170. #. type: table
  17171. #: guix-git/doc/guix.texi:11538
  17172. 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."
  17173. msgstr ""
  17174. #. type: table
  17175. #: guix-git/doc/guix.texi:11544
  17176. 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})."
  17177. msgstr ""
  17178. #. type: anchor{#1}
  17179. #: guix-git/doc/guix.texi:11546
  17180. msgid "build-check"
  17181. msgstr ""
  17182. #. type: cindex
  17183. #: guix-git/doc/guix.texi:11547
  17184. #, no-wrap
  17185. msgid "determinism, checking"
  17186. msgstr ""
  17187. #. type: cindex
  17188. #: guix-git/doc/guix.texi:11548
  17189. #, no-wrap
  17190. msgid "reproducibility, checking"
  17191. msgstr ""
  17192. #. type: table
  17193. #: guix-git/doc/guix.texi:11552
  17194. 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."
  17195. msgstr ""
  17196. #. type: table
  17197. #: guix-git/doc/guix.texi:11557
  17198. 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."
  17199. msgstr ""
  17200. #. type: item
  17201. #: guix-git/doc/guix.texi:11562
  17202. #, no-wrap
  17203. msgid "--repair"
  17204. msgstr ""
  17205. #. type: cindex
  17206. #: guix-git/doc/guix.texi:11563
  17207. #, no-wrap
  17208. msgid "repairing store items"
  17209. msgstr ""
  17210. #. type: table
  17211. #: guix-git/doc/guix.texi:11567
  17212. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  17213. msgstr ""
  17214. #. type: table
  17215. #: guix-git/doc/guix.texi:11569
  17216. msgid "This operation is not atomic and thus restricted to @code{root}."
  17217. msgstr ""
  17218. #. type: item
  17219. #: guix-git/doc/guix.texi:11570
  17220. #, no-wrap
  17221. msgid "--derivations"
  17222. msgstr ""
  17223. #. type: table
  17224. #: guix-git/doc/guix.texi:11574
  17225. msgid "Return the derivation paths, not the output paths, of the given packages."
  17226. msgstr ""
  17227. #. type: cindex
  17228. #: guix-git/doc/guix.texi:11577
  17229. #, no-wrap
  17230. msgid "GC roots, adding"
  17231. msgstr ""
  17232. #. type: cindex
  17233. #: guix-git/doc/guix.texi:11578
  17234. #, no-wrap
  17235. msgid "garbage collector roots, adding"
  17236. msgstr ""
  17237. #. type: table
  17238. #: guix-git/doc/guix.texi:11581 guix-git/doc/guix.texi:35312
  17239. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  17240. msgstr ""
  17241. #. type: table
  17242. #: guix-git/doc/guix.texi:11587
  17243. 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."
  17244. msgstr ""
  17245. #. type: item
  17246. #: guix-git/doc/guix.texi:11588
  17247. #, no-wrap
  17248. msgid "--log-file"
  17249. msgstr ""
  17250. #. type: cindex
  17251. #: guix-git/doc/guix.texi:11589
  17252. #, no-wrap
  17253. msgid "build logs, access"
  17254. msgstr ""
  17255. #. type: table
  17256. #: guix-git/doc/guix.texi:11593
  17257. 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."
  17258. msgstr ""
  17259. #. type: table
  17260. #: guix-git/doc/guix.texi:11596
  17261. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  17262. msgstr ""
  17263. #. type: example
  17264. #: guix-git/doc/guix.texi:11602
  17265. #, no-wrap
  17266. msgid ""
  17267. "guix build --log-file $(guix build -d guile)\n"
  17268. "guix build --log-file $(guix build guile)\n"
  17269. "guix build --log-file guile\n"
  17270. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  17271. msgstr ""
  17272. #. type: table
  17273. #: guix-git/doc/guix.texi:11607
  17274. 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})."
  17275. msgstr ""
  17276. #. type: table
  17277. #: guix-git/doc/guix.texi:11610
  17278. 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:"
  17279. msgstr ""
  17280. #. type: example
  17281. #: guix-git/doc/guix.texi:11614
  17282. #, no-wrap
  17283. msgid ""
  17284. "$ guix build --log-file gdb -s aarch64-linux\n"
  17285. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  17286. msgstr ""
  17287. #. type: table
  17288. #: guix-git/doc/guix.texi:11617
  17289. msgid "You can freely access a huge library of build logs!"
  17290. msgstr ""
  17291. #. type: cindex
  17292. #: guix-git/doc/guix.texi:11622
  17293. #, no-wrap
  17294. msgid "build failures, debugging"
  17295. msgstr ""
  17296. #. type: Plain text
  17297. #: guix-git/doc/guix.texi:11628
  17298. 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."
  17299. msgstr ""
  17300. #. type: Plain text
  17301. #: guix-git/doc/guix.texi:11633
  17302. 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}})."
  17303. msgstr ""
  17304. #. type: Plain text
  17305. #: guix-git/doc/guix.texi:11639
  17306. 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:"
  17307. msgstr ""
  17308. #. type: example
  17309. #: guix-git/doc/guix.texi:11646
  17310. #, no-wrap
  17311. msgid ""
  17312. "$ guix build foo -K\n"
  17313. "@dots{} @i{build fails}\n"
  17314. "$ cd /tmp/guix-build-foo.drv-0\n"
  17315. "$ source ./environment-variables\n"
  17316. "$ cd foo-1.2\n"
  17317. msgstr ""
  17318. #. type: Plain text
  17319. #: guix-git/doc/guix.texi:11650
  17320. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  17321. msgstr ""
  17322. #. type: Plain text
  17323. #: guix-git/doc/guix.texi:11656
  17324. 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})."
  17325. msgstr ""
  17326. #. type: Plain text
  17327. #: guix-git/doc/guix.texi:11659
  17328. 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:"
  17329. msgstr ""
  17330. #. type: example
  17331. #: guix-git/doc/guix.texi:11667
  17332. #, no-wrap
  17333. msgid ""
  17334. "$ guix build -K foo\n"
  17335. "@dots{}\n"
  17336. "$ cd /tmp/guix-build-foo.drv-0\n"
  17337. "$ guix shell --no-grafts -C -D foo strace gdb\n"
  17338. "[env]# source ./environment-variables\n"
  17339. "[env]# cd foo-1.2\n"
  17340. msgstr ""
  17341. #. type: Plain text
  17342. #: guix-git/doc/guix.texi:11676
  17343. msgid "Here, @command{guix shell -C} creates a container and spawns a new shell in it (@pxref{Invoking guix shell}). The @command{strace gdb} part adds the @command{strace} and @command{gdb} commands to the container, which you may find handy while debugging. The @option{--no-grafts} option makes sure we get the exact same environment, with ungrafted packages (@pxref{Security Updates}, for more info on grafts)."
  17344. msgstr ""
  17345. #. type: Plain text
  17346. #: guix-git/doc/guix.texi:11679
  17347. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  17348. msgstr ""
  17349. #. type: example
  17350. #: guix-git/doc/guix.texi:11682
  17351. #, no-wrap
  17352. msgid "[env]# rm /bin/sh\n"
  17353. msgstr ""
  17354. #. type: Plain text
  17355. #: guix-git/doc/guix.texi:11686
  17356. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix shell}.)"
  17357. msgstr ""
  17358. #. type: Plain text
  17359. #: guix-git/doc/guix.texi:11689
  17360. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  17361. msgstr ""
  17362. #. type: example
  17363. #: guix-git/doc/guix.texi:11692
  17364. #, no-wrap
  17365. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  17366. msgstr ""
  17367. #. type: Plain text
  17368. #: guix-git/doc/guix.texi:11697
  17369. 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."
  17370. msgstr ""
  17371. #. type: section
  17372. #: guix-git/doc/guix.texi:11700
  17373. #, no-wrap
  17374. msgid "Invoking @command{guix edit}"
  17375. msgstr ""
  17376. #. type: command{#1}
  17377. #: guix-git/doc/guix.texi:11702
  17378. #, no-wrap
  17379. msgid "guix edit"
  17380. msgstr ""
  17381. #. type: cindex
  17382. #: guix-git/doc/guix.texi:11703
  17383. #, no-wrap
  17384. msgid "package definition, editing"
  17385. msgstr ""
  17386. #. type: Plain text
  17387. #: guix-git/doc/guix.texi:11708
  17388. 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:"
  17389. msgstr ""
  17390. #. type: example
  17391. #: guix-git/doc/guix.texi:11711
  17392. #, no-wrap
  17393. msgid "guix edit gcc@@4.9 vim\n"
  17394. msgstr ""
  17395. #. type: Plain text
  17396. #: guix-git/doc/guix.texi:11717
  17397. 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."
  17398. msgstr ""
  17399. #. type: Plain text
  17400. #: guix-git/doc/guix.texi:11723
  17401. 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."
  17402. msgstr ""
  17403. #. type: Plain text
  17404. #: guix-git/doc/guix.texi:11728
  17405. 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."
  17406. msgstr ""
  17407. #. type: section
  17408. #: guix-git/doc/guix.texi:11730
  17409. #, no-wrap
  17410. msgid "Invoking @command{guix download}"
  17411. msgstr ""
  17412. #. type: command{#1}
  17413. #: guix-git/doc/guix.texi:11732
  17414. #, no-wrap
  17415. msgid "guix download"
  17416. msgstr ""
  17417. #. type: cindex
  17418. #: guix-git/doc/guix.texi:11733
  17419. #, no-wrap
  17420. msgid "downloading package sources"
  17421. msgstr ""
  17422. #. type: Plain text
  17423. #: guix-git/doc/guix.texi:11740
  17424. 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."
  17425. msgstr ""
  17426. #. type: Plain text
  17427. #: guix-git/doc/guix.texi:11747
  17428. 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})."
  17429. msgstr ""
  17430. #. type: Plain text
  17431. #: guix-git/doc/guix.texi:11755
  17432. 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."
  17433. msgstr ""
  17434. #. type: Plain text
  17435. #: guix-git/doc/guix.texi:11760
  17436. 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."
  17437. msgstr ""
  17438. #. type: Plain text
  17439. #: guix-git/doc/guix.texi:11762 guix-git/doc/guix.texi:13565
  17440. msgid "The following options are available:"
  17441. msgstr ""
  17442. #. type: item
  17443. #: guix-git/doc/guix.texi:11764 guix-git/doc/guix.texi:11808
  17444. #, no-wrap
  17445. msgid "--hash=@var{algorithm}"
  17446. msgstr ""
  17447. #. type: itemx
  17448. #: guix-git/doc/guix.texi:11765 guix-git/doc/guix.texi:11809
  17449. #, no-wrap
  17450. msgid "-H @var{algorithm}"
  17451. msgstr ""
  17452. #. type: table
  17453. #: guix-git/doc/guix.texi:11768
  17454. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  17455. msgstr ""
  17456. #. type: item
  17457. #: guix-git/doc/guix.texi:11769 guix-git/doc/guix.texi:11818
  17458. #, no-wrap
  17459. msgid "--format=@var{fmt}"
  17460. msgstr ""
  17461. #. type: itemx
  17462. #: guix-git/doc/guix.texi:11770 guix-git/doc/guix.texi:11819
  17463. #, no-wrap
  17464. msgid "-f @var{fmt}"
  17465. msgstr ""
  17466. #. type: table
  17467. #: guix-git/doc/guix.texi:11773
  17468. 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}."
  17469. msgstr ""
  17470. #. type: item
  17471. #: guix-git/doc/guix.texi:11774
  17472. #, no-wrap
  17473. msgid "--no-check-certificate"
  17474. msgstr ""
  17475. #. type: table
  17476. #: guix-git/doc/guix.texi:11776
  17477. msgid "Do not validate the X.509 certificates of HTTPS servers."
  17478. msgstr ""
  17479. #. type: table
  17480. #: guix-git/doc/guix.texi:11780
  17481. 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."
  17482. msgstr ""
  17483. #. type: item
  17484. #: guix-git/doc/guix.texi:11781
  17485. #, no-wrap
  17486. msgid "--output=@var{file}"
  17487. msgstr ""
  17488. #. type: itemx
  17489. #: guix-git/doc/guix.texi:11782
  17490. #, no-wrap
  17491. msgid "-o @var{file}"
  17492. msgstr ""
  17493. #. type: table
  17494. #: guix-git/doc/guix.texi:11785
  17495. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  17496. msgstr ""
  17497. #. type: section
  17498. #: guix-git/doc/guix.texi:11788
  17499. #, no-wrap
  17500. msgid "Invoking @command{guix hash}"
  17501. msgstr ""
  17502. #. type: command{#1}
  17503. #: guix-git/doc/guix.texi:11790
  17504. #, no-wrap
  17505. msgid "guix hash"
  17506. msgstr ""
  17507. #. type: Plain text
  17508. #: guix-git/doc/guix.texi:11795
  17509. msgid "The @command{guix hash} command computes the hash of a file. It is primarily a convenience tool for anyone contributing to the distribution: it computes the cryptographic hash of one or more files, which can be used in the definition of a package (@pxref{Defining Packages})."
  17510. msgstr ""
  17511. #. type: example
  17512. #: guix-git/doc/guix.texi:11800
  17513. #, no-wrap
  17514. msgid "guix hash @var{option} @var{file} ...\n"
  17515. msgstr ""
  17516. #. type: Plain text
  17517. #: guix-git/doc/guix.texi:11805
  17518. 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:"
  17519. msgstr ""
  17520. #. type: table
  17521. #: guix-git/doc/guix.texi:11812
  17522. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  17523. msgstr ""
  17524. #. type: table
  17525. #: guix-git/doc/guix.texi:11817
  17526. 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})."
  17527. msgstr ""
  17528. #. type: table
  17529. #: guix-git/doc/guix.texi:11821
  17530. msgid "Write the hash in the format specified by @var{fmt}."
  17531. msgstr ""
  17532. #. type: table
  17533. #: guix-git/doc/guix.texi:11824
  17534. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  17535. msgstr ""
  17536. #. type: table
  17537. #: guix-git/doc/guix.texi:11828
  17538. 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."
  17539. msgstr ""
  17540. #. type: table
  17541. #: guix-git/doc/guix.texi:11833
  17542. msgid "This option is deprecated in favor of @option{--serializer}. It is a legacy alias for @var{type} sets to @code{nar}."
  17543. msgstr ""
  17544. #. type: item
  17545. #: guix-git/doc/guix.texi:11834
  17546. #, no-wrap
  17547. msgid "--serializer=@var{type}"
  17548. msgstr ""
  17549. #. type: table
  17550. #: guix-git/doc/guix.texi:11837
  17551. msgid "Compute the hash on @var{file} using @var{type} serialization."
  17552. msgstr ""
  17553. #. type: table
  17554. #: guix-git/doc/guix.texi:11839
  17555. msgid "@var{type} may be one of the following:"
  17556. msgstr ""
  17557. #. type: item
  17558. #: guix-git/doc/guix.texi:11841 guix-git/doc/guix.texi:13918
  17559. #: guix-git/doc/guix.texi:17405 guix-git/doc/guix.texi:19679
  17560. #, no-wrap
  17561. msgid "none"
  17562. msgstr ""
  17563. #. type: table
  17564. #: guix-git/doc/guix.texi:11843
  17565. msgid "This is the default: it computes the hash of a file's contents."
  17566. msgstr ""
  17567. #. type: item
  17568. #: guix-git/doc/guix.texi:11844
  17569. #, no-wrap
  17570. msgid "nar"
  17571. msgstr ""
  17572. #. type: table
  17573. #: guix-git/doc/guix.texi:11854
  17574. msgid "Compute the hash of a ``normalized archive'' (or ``nar'') containing @var{file}, including its children if it is a directory. Some of the metadata of @var{file} is part of the archive; for instance, when @var{file} is a regular file, the hash is different depending on whether @var{file} is executable or not. Metadata such as time stamps has no impact on the hash (@pxref{Invoking guix archive}, for more info on the nar format)."
  17575. msgstr ""
  17576. #. type: item
  17577. #: guix-git/doc/guix.texi:11855
  17578. #, no-wrap
  17579. msgid "git"
  17580. msgstr ""
  17581. #. type: table
  17582. #: guix-git/doc/guix.texi:11858
  17583. msgid "Compute the has of the file or directory as a Git ``tree'', following the same method as the Git version control system."
  17584. msgstr ""
  17585. #. type: item
  17586. #: guix-git/doc/guix.texi:11860
  17587. #, no-wrap
  17588. msgid "--exclude-vcs"
  17589. msgstr ""
  17590. #. type: itemx
  17591. #: guix-git/doc/guix.texi:11861 guix-git/doc/guix.texi:13038
  17592. #, no-wrap
  17593. msgid "-x"
  17594. msgstr ""
  17595. #. type: table
  17596. #: guix-git/doc/guix.texi:11864
  17597. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  17598. msgstr ""
  17599. #. type: vindex
  17600. #: guix-git/doc/guix.texi:11865
  17601. #, no-wrap
  17602. msgid "git-fetch"
  17603. msgstr ""
  17604. #. type: table
  17605. #: guix-git/doc/guix.texi:11869
  17606. 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}):"
  17607. msgstr ""
  17608. #. type: example
  17609. #: guix-git/doc/guix.texi:11874
  17610. #, no-wrap
  17611. msgid ""
  17612. "$ git clone http://example.org/foo.git\n"
  17613. "$ cd foo\n"
  17614. "$ guix hash -rx .\n"
  17615. msgstr ""
  17616. #. type: cindex
  17617. #: guix-git/doc/guix.texi:11878 guix-git/doc/guix.texi:11883
  17618. #, no-wrap
  17619. msgid "Invoking @command{guix import}"
  17620. msgstr ""
  17621. #. type: cindex
  17622. #: guix-git/doc/guix.texi:11880
  17623. #, no-wrap
  17624. msgid "importing packages"
  17625. msgstr ""
  17626. #. type: cindex
  17627. #: guix-git/doc/guix.texi:11881
  17628. #, no-wrap
  17629. msgid "package import"
  17630. msgstr ""
  17631. #. type: cindex
  17632. #: guix-git/doc/guix.texi:11882
  17633. #, no-wrap
  17634. msgid "package conversion"
  17635. msgstr ""
  17636. #. type: Plain text
  17637. #: guix-git/doc/guix.texi:11890
  17638. 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})."
  17639. msgstr ""
  17640. #. type: example
  17641. #: guix-git/doc/guix.texi:11895
  17642. #, no-wrap
  17643. msgid "guix import @var{importer} @var{options}@dots{}\n"
  17644. msgstr ""
  17645. #. type: Plain text
  17646. #: guix-git/doc/guix.texi:11900
  17647. 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}."
  17648. msgstr ""
  17649. #. type: Plain text
  17650. #: guix-git/doc/guix.texi:11904
  17651. 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."
  17652. msgstr ""
  17653. #. type: Plain text
  17654. #: guix-git/doc/guix.texi:11906
  17655. msgid "Currently, the available ``importers'' are:"
  17656. msgstr ""
  17657. #. type: item
  17658. #: guix-git/doc/guix.texi:11908 guix-git/doc/guix.texi:12546
  17659. #, no-wrap
  17660. msgid "gnu"
  17661. msgstr ""
  17662. #. type: table
  17663. #: guix-git/doc/guix.texi:11912
  17664. 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."
  17665. msgstr ""
  17666. #. type: table
  17667. #: guix-git/doc/guix.texi:11915
  17668. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  17669. msgstr ""
  17670. #. type: table
  17671. #: guix-git/doc/guix.texi:11918
  17672. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  17673. msgstr ""
  17674. #. type: example
  17675. #: guix-git/doc/guix.texi:11921
  17676. #, no-wrap
  17677. msgid "guix import gnu hello\n"
  17678. msgstr ""
  17679. #. type: table
  17680. #: guix-git/doc/guix.texi:11924 guix-git/doc/guix.texi:12165
  17681. #: guix-git/doc/guix.texi:12215 guix-git/doc/guix.texi:12244
  17682. msgid "Specific command-line options are:"
  17683. msgstr ""
  17684. #. type: item
  17685. #: guix-git/doc/guix.texi:11926 guix-git/doc/guix.texi:12743
  17686. #, no-wrap
  17687. msgid "--key-download=@var{policy}"
  17688. msgstr ""
  17689. #. type: table
  17690. #: guix-git/doc/guix.texi:11930
  17691. 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}}."
  17692. msgstr ""
  17693. #. type: item
  17694. #: guix-git/doc/guix.texi:11932 guix-git/doc/guix.texi:11933
  17695. #: guix-git/doc/guix.texi:12570
  17696. #, no-wrap
  17697. msgid "pypi"
  17698. msgstr ""
  17699. #. type: table
  17700. #: guix-git/doc/guix.texi:11940
  17701. 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."
  17702. msgstr ""
  17703. #. type: table
  17704. #: guix-git/doc/guix.texi:11943
  17705. msgid "The command below imports metadata for the latest version of the @code{itsdangerous} Python package:"
  17706. msgstr ""
  17707. #. type: example
  17708. #: guix-git/doc/guix.texi:11946
  17709. #, no-wrap
  17710. msgid "guix import pypi itsdangerous\n"
  17711. msgstr ""
  17712. #. type: table
  17713. #: guix-git/doc/guix.texi:11949 guix-git/doc/guix.texi:12052
  17714. #: guix-git/doc/guix.texi:12393
  17715. msgid "You can also ask for a specific version:"
  17716. msgstr ""
  17717. #. type: example
  17718. #: guix-git/doc/guix.texi:11952
  17719. #, no-wrap
  17720. msgid "guix import pypi itsdangerous@@1.1.0\n"
  17721. msgstr ""
  17722. #. type: table
  17723. #: guix-git/doc/guix.texi:11960 guix-git/doc/guix.texi:11985
  17724. #: guix-git/doc/guix.texi:12017 guix-git/doc/guix.texi:12188
  17725. #: guix-git/doc/guix.texi:12229 guix-git/doc/guix.texi:12280
  17726. #: guix-git/doc/guix.texi:12305 guix-git/doc/guix.texi:12321
  17727. #: guix-git/doc/guix.texi:12369 guix-git/doc/guix.texi:12405
  17728. 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."
  17729. msgstr ""
  17730. #. type: item
  17731. #: guix-git/doc/guix.texi:11962 guix-git/doc/guix.texi:11963
  17732. #: guix-git/doc/guix.texi:12572
  17733. #, no-wrap
  17734. msgid "gem"
  17735. msgstr ""
  17736. #. type: table
  17737. #: guix-git/doc/guix.texi:11972
  17738. 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."
  17739. msgstr ""
  17740. #. type: table
  17741. #: guix-git/doc/guix.texi:11974
  17742. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  17743. msgstr ""
  17744. #. type: example
  17745. #: guix-git/doc/guix.texi:11977
  17746. #, no-wrap
  17747. msgid "guix import gem rails\n"
  17748. msgstr ""
  17749. #. type: cindex
  17750. #: guix-git/doc/guix.texi:11987 guix-git/doc/guix.texi:11988
  17751. #, no-wrap
  17752. msgid "minetest"
  17753. msgstr ""
  17754. #. type: cindex
  17755. #: guix-git/doc/guix.texi:11989
  17756. #, no-wrap
  17757. msgid "ContentDB"
  17758. msgstr ""
  17759. #. type: table
  17760. #: guix-git/doc/guix.texi:11998
  17761. 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."
  17762. msgstr ""
  17763. #. type: table
  17764. #: guix-git/doc/guix.texi:12000
  17765. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  17766. msgstr ""
  17767. #. type: example
  17768. #: guix-git/doc/guix.texi:12003
  17769. #, no-wrap
  17770. msgid "guix import minetest Jeija/mesecons\n"
  17771. msgstr ""
  17772. #. type: table
  17773. #: guix-git/doc/guix.texi:12006
  17774. msgid "The author name can also be left out:"
  17775. msgstr ""
  17776. #. type: example
  17777. #: guix-git/doc/guix.texi:12009
  17778. #, no-wrap
  17779. msgid "guix import minetest mesecons\n"
  17780. msgstr ""
  17781. #. type: item
  17782. #: guix-git/doc/guix.texi:12019 guix-git/doc/guix.texi:12568
  17783. #, no-wrap
  17784. msgid "cpan"
  17785. msgstr ""
  17786. #. type: cindex
  17787. #: guix-git/doc/guix.texi:12020
  17788. #, no-wrap
  17789. msgid "CPAN"
  17790. msgstr ""
  17791. #. type: table
  17792. #: guix-git/doc/guix.texi:12028
  17793. 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."
  17794. msgstr ""
  17795. #. type: table
  17796. #: guix-git/doc/guix.texi:12031
  17797. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  17798. msgstr ""
  17799. #. type: example
  17800. #: guix-git/doc/guix.texi:12034
  17801. #, no-wrap
  17802. msgid "guix import cpan Acme::Boolean\n"
  17803. msgstr ""
  17804. #. type: item
  17805. #: guix-git/doc/guix.texi:12036 guix-git/doc/guix.texi:12564
  17806. #, no-wrap
  17807. msgid "cran"
  17808. msgstr ""
  17809. #. type: cindex
  17810. #: guix-git/doc/guix.texi:12037
  17811. #, no-wrap
  17812. msgid "CRAN"
  17813. msgstr ""
  17814. #. type: cindex
  17815. #: guix-git/doc/guix.texi:12038
  17816. #, no-wrap
  17817. msgid "Bioconductor"
  17818. msgstr ""
  17819. #. type: table
  17820. #: guix-git/doc/guix.texi:12042
  17821. 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}."
  17822. msgstr ""
  17823. #. type: table
  17824. #: guix-git/doc/guix.texi:12044
  17825. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  17826. msgstr ""
  17827. #. type: table
  17828. #: guix-git/doc/guix.texi:12046
  17829. msgid "The command command below imports metadata for the Cairo R package:"
  17830. msgstr ""
  17831. #. type: example
  17832. #: guix-git/doc/guix.texi:12049
  17833. #, no-wrap
  17834. msgid "guix import cran Cairo\n"
  17835. msgstr ""
  17836. #. type: example
  17837. #: guix-git/doc/guix.texi:12055
  17838. #, no-wrap
  17839. msgid "guix import cran rasterVis@@0.50.3\n"
  17840. msgstr ""
  17841. #. type: table
  17842. #: guix-git/doc/guix.texi:12060
  17843. 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."
  17844. msgstr ""
  17845. #. type: table
  17846. #: guix-git/doc/guix.texi:12067
  17847. 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}."
  17848. msgstr ""
  17849. #. type: table
  17850. #: guix-git/doc/guix.texi:12072
  17851. 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."
  17852. msgstr ""
  17853. #. type: table
  17854. #: guix-git/doc/guix.texi:12075
  17855. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  17856. msgstr ""
  17857. #. type: table
  17858. #: guix-git/doc/guix.texi:12077
  17859. msgid "The command below imports metadata for the GenomicRanges R package:"
  17860. msgstr ""
  17861. #. type: example
  17862. #: guix-git/doc/guix.texi:12080
  17863. #, no-wrap
  17864. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  17865. msgstr ""
  17866. #. type: table
  17867. #: guix-git/doc/guix.texi:12085
  17868. 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:"
  17869. msgstr ""
  17870. #. type: example
  17871. #: guix-git/doc/guix.texi:12088
  17872. #, no-wrap
  17873. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  17874. msgstr ""
  17875. #. type: item
  17876. #: guix-git/doc/guix.texi:12090
  17877. #, no-wrap
  17878. msgid "texlive"
  17879. msgstr ""
  17880. #. type: cindex
  17881. #: guix-git/doc/guix.texi:12091
  17882. #, no-wrap
  17883. msgid "TeX Live"
  17884. msgstr ""
  17885. #. type: cindex
  17886. #: guix-git/doc/guix.texi:12092
  17887. #, no-wrap
  17888. msgid "CTAN"
  17889. msgstr ""
  17890. #. type: table
  17891. #: guix-git/doc/guix.texi:12096
  17892. msgid "Import TeX package information from the TeX Live package database for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}."
  17893. msgstr ""
  17894. #. type: table
  17895. #: guix-git/doc/guix.texi:12101
  17896. msgid "Information about the package is obtained from the TeX Live package database, a plain text file that is included in the @code{texlive-bin} package. The source code is downloaded from possibly multiple locations in the SVN repository of the Tex Live project."
  17897. msgstr ""
  17898. #. type: table
  17899. #: guix-git/doc/guix.texi:12104
  17900. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  17901. msgstr ""
  17902. #. type: example
  17903. #: guix-git/doc/guix.texi:12107
  17904. #, no-wrap
  17905. msgid "guix import texlive fontspec\n"
  17906. msgstr ""
  17907. #. type: cindex
  17908. #: guix-git/doc/guix.texi:12110
  17909. #, no-wrap
  17910. msgid "JSON, import"
  17911. msgstr ""
  17912. #. type: table
  17913. #: guix-git/doc/guix.texi:12113
  17914. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  17915. msgstr ""
  17916. #. type: example
  17917. #: guix-git/doc/guix.texi:12126
  17918. #, no-wrap
  17919. msgid ""
  17920. "@{\n"
  17921. " \"name\": \"hello\",\n"
  17922. " \"version\": \"2.10\",\n"
  17923. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17924. " \"build-system\": \"gnu\",\n"
  17925. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  17926. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  17927. " \"description\": \"GNU Hello prints a greeting.\",\n"
  17928. " \"license\": \"GPL-3.0+\",\n"
  17929. " \"native-inputs\": [\"gettext\"]\n"
  17930. "@}\n"
  17931. msgstr ""
  17932. #. type: table
  17933. #: guix-git/doc/guix.texi:12132
  17934. 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}."
  17935. msgstr ""
  17936. #. type: table
  17937. #: guix-git/doc/guix.texi:12135
  17938. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  17939. msgstr ""
  17940. #. type: example
  17941. #: guix-git/doc/guix.texi:12148
  17942. #, no-wrap
  17943. msgid ""
  17944. "@{\n"
  17945. " @dots{}\n"
  17946. " \"source\": @{\n"
  17947. " \"method\": \"url-fetch\",\n"
  17948. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17949. " \"sha256\": @{\n"
  17950. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  17951. " @}\n"
  17952. " @}\n"
  17953. " @dots{}\n"
  17954. "@}\n"
  17955. msgstr ""
  17956. #. type: table
  17957. #: guix-git/doc/guix.texi:12152
  17958. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  17959. msgstr ""
  17960. #. type: example
  17961. #: guix-git/doc/guix.texi:12155
  17962. #, no-wrap
  17963. msgid "guix import json hello.json\n"
  17964. msgstr ""
  17965. #. type: item
  17966. #: guix-git/doc/guix.texi:12157 guix-git/doc/guix.texi:12158
  17967. #: guix-git/doc/guix.texi:12576
  17968. #, no-wrap
  17969. msgid "hackage"
  17970. msgstr ""
  17971. #. type: table
  17972. #: guix-git/doc/guix.texi:12163
  17973. 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."
  17974. msgstr ""
  17975. #. type: item
  17976. #: guix-git/doc/guix.texi:12167
  17977. #, no-wrap
  17978. msgid "--stdin"
  17979. msgstr ""
  17980. #. type: itemx
  17981. #: guix-git/doc/guix.texi:12168
  17982. #, no-wrap
  17983. msgid "-s"
  17984. msgstr ""
  17985. #. type: table
  17986. #: guix-git/doc/guix.texi:12170
  17987. msgid "Read a Cabal file from standard input."
  17988. msgstr ""
  17989. #. type: item
  17990. #: guix-git/doc/guix.texi:12170 guix-git/doc/guix.texi:12217
  17991. #, no-wrap
  17992. msgid "--no-test-dependencies"
  17993. msgstr ""
  17994. #. type: table
  17995. #: guix-git/doc/guix.texi:12173 guix-git/doc/guix.texi:12220
  17996. msgid "Do not include dependencies required only by the test suites."
  17997. msgstr ""
  17998. #. type: item
  17999. #: guix-git/doc/guix.texi:12173
  18000. #, no-wrap
  18001. msgid "--cabal-environment=@var{alist}"
  18002. msgstr ""
  18003. #. type: itemx
  18004. #: guix-git/doc/guix.texi:12174
  18005. #, no-wrap
  18006. msgid "-e @var{alist}"
  18007. msgstr ""
  18008. #. type: table
  18009. #: guix-git/doc/guix.texi:12183
  18010. 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."
  18011. msgstr ""
  18012. #. type: table
  18013. #: guix-git/doc/guix.texi:12193
  18014. 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}:"
  18015. msgstr ""
  18016. #. type: example
  18017. #: guix-git/doc/guix.texi:12196
  18018. #, no-wrap
  18019. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  18020. msgstr ""
  18021. #. type: table
  18022. #: guix-git/doc/guix.texi:12200
  18023. 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:"
  18024. msgstr ""
  18025. #. type: example
  18026. #: guix-git/doc/guix.texi:12203
  18027. #, no-wrap
  18028. msgid "guix import hackage mtl@@2.1.3.1\n"
  18029. msgstr ""
  18030. #. type: item
  18031. #: guix-git/doc/guix.texi:12205 guix-git/doc/guix.texi:12206
  18032. #: guix-git/doc/guix.texi:12578
  18033. #, no-wrap
  18034. msgid "stackage"
  18035. msgstr ""
  18036. #. type: table
  18037. #: guix-git/doc/guix.texi:12213
  18038. 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."
  18039. msgstr ""
  18040. #. type: item
  18041. #: guix-git/doc/guix.texi:12220
  18042. #, no-wrap
  18043. msgid "--lts-version=@var{version}"
  18044. msgstr ""
  18045. #. type: itemx
  18046. #: guix-git/doc/guix.texi:12221
  18047. #, no-wrap
  18048. msgid "-l @var{version}"
  18049. msgstr ""
  18050. #. type: table
  18051. #: guix-git/doc/guix.texi:12224
  18052. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  18053. msgstr ""
  18054. #. type: table
  18055. #: guix-git/doc/guix.texi:12233
  18056. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  18057. msgstr ""
  18058. #. type: example
  18059. #: guix-git/doc/guix.texi:12236
  18060. #, no-wrap
  18061. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  18062. msgstr ""
  18063. #. type: item
  18064. #: guix-git/doc/guix.texi:12238 guix-git/doc/guix.texi:12239
  18065. #: guix-git/doc/guix.texi:12562
  18066. #, no-wrap
  18067. msgid "elpa"
  18068. msgstr ""
  18069. #. type: table
  18070. #: guix-git/doc/guix.texi:12242
  18071. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  18072. msgstr ""
  18073. #. type: item
  18074. #: guix-git/doc/guix.texi:12246
  18075. #, no-wrap
  18076. msgid "--archive=@var{repo}"
  18077. msgstr ""
  18078. #. type: itemx
  18079. #: guix-git/doc/guix.texi:12247
  18080. #, no-wrap
  18081. msgid "-a @var{repo}"
  18082. msgstr ""
  18083. #. type: table
  18084. #: guix-git/doc/guix.texi:12251
  18085. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  18086. msgstr ""
  18087. #. type: itemize
  18088. #: guix-git/doc/guix.texi:12255
  18089. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  18090. msgstr ""
  18091. #. type: itemize
  18092. #: guix-git/doc/guix.texi:12261
  18093. 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})."
  18094. msgstr ""
  18095. #. type: itemize
  18096. #: guix-git/doc/guix.texi:12265
  18097. msgid "@uref{https://elpa.nongnu.org/nongnu/, NonGNU}, selected by the @code{nongnu} identifier."
  18098. msgstr ""
  18099. #. type: itemize
  18100. #: guix-git/doc/guix.texi:12269
  18101. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  18102. msgstr ""
  18103. #. type: itemize
  18104. #: guix-git/doc/guix.texi:12273
  18105. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  18106. msgstr ""
  18107. #. type: item
  18108. #: guix-git/doc/guix.texi:12282 guix-git/doc/guix.texi:12283
  18109. #: guix-git/doc/guix.texi:12580
  18110. #, no-wrap
  18111. msgid "crate"
  18112. msgstr ""
  18113. #. type: table
  18114. #: guix-git/doc/guix.texi:12286
  18115. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  18116. msgstr ""
  18117. #. type: example
  18118. #: guix-git/doc/guix.texi:12289
  18119. #, no-wrap
  18120. msgid "guix import crate blake2-rfc\n"
  18121. msgstr ""
  18122. #. type: table
  18123. #: guix-git/doc/guix.texi:12292
  18124. msgid "The crate importer also allows you to specify a version string:"
  18125. msgstr ""
  18126. #. type: example
  18127. #: guix-git/doc/guix.texi:12295
  18128. #, no-wrap
  18129. msgid "guix import crate constant-time-eq@@0.1.0\n"
  18130. msgstr ""
  18131. #. type: table
  18132. #: guix-git/doc/guix.texi:12298 guix-git/doc/guix.texi:12314
  18133. #: guix-git/doc/guix.texi:12362 guix-git/doc/guix.texi:12399
  18134. msgid "Additional options include:"
  18135. msgstr ""
  18136. #. type: item
  18137. #: guix-git/doc/guix.texi:12307
  18138. #, no-wrap
  18139. msgid "opam"
  18140. msgstr ""
  18141. #. type: cindex
  18142. #: guix-git/doc/guix.texi:12308
  18143. #, no-wrap
  18144. msgid "OPAM"
  18145. msgstr ""
  18146. #. type: cindex
  18147. #: guix-git/doc/guix.texi:12309
  18148. #, no-wrap
  18149. msgid "OCaml"
  18150. msgstr ""
  18151. #. type: table
  18152. #: guix-git/doc/guix.texi:12312
  18153. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  18154. msgstr ""
  18155. #. type: item
  18156. #: guix-git/doc/guix.texi:12321
  18157. #, no-wrap
  18158. msgid "--repo"
  18159. msgstr ""
  18160. #. type: table
  18161. #: guix-git/doc/guix.texi:12325
  18162. 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:"
  18163. msgstr ""
  18164. #. type: item
  18165. #: guix-git/doc/guix.texi:12327
  18166. #, no-wrap
  18167. msgid "the name of a known repository - can be one of @code{opam},"
  18168. msgstr ""
  18169. #. type: itemize
  18170. #: guix-git/doc/guix.texi:12330
  18171. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  18172. msgstr ""
  18173. #. type: item
  18174. #: guix-git/doc/guix.texi:12330
  18175. #, no-wrap
  18176. msgid "the URL of a repository as expected by the"
  18177. msgstr ""
  18178. #. type: itemize
  18179. #: guix-git/doc/guix.texi:12334
  18180. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  18181. msgstr ""
  18182. #. type: item
  18183. #: guix-git/doc/guix.texi:12334
  18184. #, no-wrap
  18185. msgid "the path to a local copy of a repository (a directory containing a"
  18186. msgstr ""
  18187. #. type: itemize
  18188. #: guix-git/doc/guix.texi:12336
  18189. msgid "@file{packages/} sub-directory)."
  18190. msgstr ""
  18191. #. type: table
  18192. #: guix-git/doc/guix.texi:12341
  18193. 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."
  18194. msgstr ""
  18195. #. type: table
  18196. #: guix-git/doc/guix.texi:12346
  18197. 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}."
  18198. msgstr ""
  18199. #. type: cindex
  18200. #: guix-git/doc/guix.texi:12349 guix-git/doc/guix.texi:12350
  18201. #, no-wrap
  18202. msgid "go"
  18203. msgstr ""
  18204. #. type: table
  18205. #: guix-git/doc/guix.texi:12353
  18206. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  18207. msgstr ""
  18208. #. type: example
  18209. #: guix-git/doc/guix.texi:12356
  18210. #, no-wrap
  18211. msgid "guix import go gopkg.in/yaml.v2\n"
  18212. msgstr ""
  18213. #. type: table
  18214. #: guix-git/doc/guix.texi:12360
  18215. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  18216. msgstr ""
  18217. #. type: item
  18218. #: guix-git/doc/guix.texi:12369
  18219. #, no-wrap
  18220. msgid "--pin-versions"
  18221. msgstr ""
  18222. #. type: table
  18223. #: guix-git/doc/guix.texi:12377
  18224. 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."
  18225. msgstr ""
  18226. #. type: item
  18227. #: guix-git/doc/guix.texi:12379 guix-git/doc/guix.texi:12380
  18228. #: guix-git/doc/guix.texi:12560
  18229. #, no-wrap
  18230. msgid "egg"
  18231. msgstr ""
  18232. #. type: table
  18233. #: guix-git/doc/guix.texi:12387
  18234. msgid "Import metadata for @uref{https://wiki.call-cc.org/eggs, CHICKEN eggs}. The information is taken from @file{PACKAGE.egg} files found in the @uref{git://code.call-cc.org/eggs-5-all, eggs-5-all} Git repository. However, it does not provide all the information that we need, there is no ``description'' field, and the licenses used are not always precise (BSD is often used instead of BSD-N)."
  18235. msgstr ""
  18236. #. type: example
  18237. #: guix-git/doc/guix.texi:12390
  18238. #, no-wrap
  18239. msgid "guix import egg sourcehut\n"
  18240. msgstr ""
  18241. #. type: example
  18242. #: guix-git/doc/guix.texi:12396
  18243. #, no-wrap
  18244. msgid "guix import egg arrays@@1.0\n"
  18245. msgstr ""
  18246. #. type: Plain text
  18247. #: guix-git/doc/guix.texi:12411
  18248. 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})."
  18249. msgstr ""
  18250. #. type: section
  18251. #: guix-git/doc/guix.texi:12413
  18252. #, no-wrap
  18253. msgid "Invoking @command{guix refresh}"
  18254. msgstr ""
  18255. #. type: command{#1}
  18256. #: guix-git/doc/guix.texi:12415
  18257. #, no-wrap
  18258. msgid "guix refresh"
  18259. msgstr ""
  18260. #. type: Plain text
  18261. #: guix-git/doc/guix.texi:12423
  18262. 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:"
  18263. msgstr ""
  18264. #. type: example
  18265. #: guix-git/doc/guix.texi:12428
  18266. #, no-wrap
  18267. msgid ""
  18268. "$ guix refresh\n"
  18269. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  18270. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  18271. msgstr ""
  18272. #. type: Plain text
  18273. #: guix-git/doc/guix.texi:12432
  18274. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  18275. msgstr ""
  18276. #. type: example
  18277. #: guix-git/doc/guix.texi:12437
  18278. #, no-wrap
  18279. msgid ""
  18280. "$ guix refresh coreutils guile guile-ssh\n"
  18281. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  18282. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  18283. msgstr ""
  18284. #. type: Plain text
  18285. #: guix-git/doc/guix.texi:12446
  18286. 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!"
  18287. msgstr ""
  18288. #. type: table
  18289. #: guix-git/doc/guix.texi:12451
  18290. msgid "Consider the packages specified, and all the packages upon which they depend."
  18291. msgstr ""
  18292. #. type: example
  18293. #: guix-git/doc/guix.texi:12459
  18294. #, no-wrap
  18295. msgid ""
  18296. "$ guix refresh --recursive coreutils\n"
  18297. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  18298. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  18299. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  18300. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  18301. "@dots{}\n"
  18302. msgstr ""
  18303. #. type: Plain text
  18304. #: guix-git/doc/guix.texi:12467
  18305. 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:"
  18306. msgstr ""
  18307. #. type: lisp
  18308. #: guix-git/doc/guix.texi:12474
  18309. #, no-wrap
  18310. msgid ""
  18311. "(define-public network-manager\n"
  18312. " (package\n"
  18313. " (name \"network-manager\")\n"
  18314. " ;; @dots{}\n"
  18315. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  18316. msgstr ""
  18317. #. type: Plain text
  18318. #: guix-git/doc/guix.texi:12483
  18319. 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."
  18320. msgstr ""
  18321. #. type: Plain text
  18322. #: guix-git/doc/guix.texi:12489
  18323. 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."
  18324. msgstr ""
  18325. #. type: Plain text
  18326. #: guix-git/doc/guix.texi:12491
  18327. msgid "The following options are supported:"
  18328. msgstr ""
  18329. #. type: table
  18330. #: guix-git/doc/guix.texi:12499 guix-git/doc/guix.texi:13447
  18331. msgid "This is useful to precisely refer to a package, as in this example:"
  18332. msgstr ""
  18333. #. type: example
  18334. #: guix-git/doc/guix.texi:12502
  18335. #, no-wrap
  18336. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  18337. msgstr ""
  18338. #. type: table
  18339. #: guix-git/doc/guix.texi:12506
  18340. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  18341. msgstr ""
  18342. #. type: item
  18343. #: guix-git/doc/guix.texi:12507
  18344. #, no-wrap
  18345. msgid "--update"
  18346. msgstr ""
  18347. #. type: itemx
  18348. #: guix-git/doc/guix.texi:12508
  18349. #, no-wrap
  18350. msgid "-u"
  18351. msgstr ""
  18352. #. type: table
  18353. #: guix-git/doc/guix.texi:12512
  18354. 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}):"
  18355. msgstr ""
  18356. #. type: example
  18357. #: guix-git/doc/guix.texi:12515
  18358. #, no-wrap
  18359. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  18360. msgstr ""
  18361. #. type: table
  18362. #: guix-git/doc/guix.texi:12518
  18363. msgid "@xref{Defining Packages}, for more information on package definitions."
  18364. msgstr ""
  18365. #. type: item
  18366. #: guix-git/doc/guix.texi:12519
  18367. #, no-wrap
  18368. msgid "--select=[@var{subset}]"
  18369. msgstr ""
  18370. #. type: itemx
  18371. #: guix-git/doc/guix.texi:12520
  18372. #, no-wrap
  18373. msgid "-s @var{subset}"
  18374. msgstr ""
  18375. #. type: table
  18376. #: guix-git/doc/guix.texi:12523
  18377. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  18378. msgstr ""
  18379. #. type: table
  18380. #: guix-git/doc/guix.texi:12530
  18381. 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."
  18382. msgstr ""
  18383. #. type: table
  18384. #: guix-git/doc/guix.texi:12534
  18385. 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."
  18386. msgstr ""
  18387. #. type: table
  18388. #: guix-git/doc/guix.texi:12539
  18389. 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."
  18390. msgstr ""
  18391. #. type: item
  18392. #: guix-git/doc/guix.texi:12540
  18393. #, no-wrap
  18394. msgid "--type=@var{updater}"
  18395. msgstr ""
  18396. #. type: itemx
  18397. #: guix-git/doc/guix.texi:12541
  18398. #, no-wrap
  18399. msgid "-t @var{updater}"
  18400. msgstr ""
  18401. #. type: table
  18402. #: guix-git/doc/guix.texi:12544
  18403. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  18404. msgstr ""
  18405. #. type: table
  18406. #: guix-git/doc/guix.texi:12548
  18407. msgid "the updater for GNU packages;"
  18408. msgstr ""
  18409. #. type: item
  18410. #: guix-git/doc/guix.texi:12548
  18411. #, no-wrap
  18412. msgid "savannah"
  18413. msgstr ""
  18414. #. type: table
  18415. #: guix-git/doc/guix.texi:12550
  18416. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  18417. msgstr ""
  18418. #. type: item
  18419. #: guix-git/doc/guix.texi:12550
  18420. #, no-wrap
  18421. msgid "sourceforge"
  18422. msgstr ""
  18423. #. type: table
  18424. #: guix-git/doc/guix.texi:12552
  18425. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  18426. msgstr ""
  18427. #. type: item
  18428. #: guix-git/doc/guix.texi:12552
  18429. #, no-wrap
  18430. msgid "gnome"
  18431. msgstr ""
  18432. #. type: table
  18433. #: guix-git/doc/guix.texi:12554
  18434. msgid "the updater for GNOME packages;"
  18435. msgstr ""
  18436. #. type: item
  18437. #: guix-git/doc/guix.texi:12554
  18438. #, no-wrap
  18439. msgid "kde"
  18440. msgstr ""
  18441. #. type: table
  18442. #: guix-git/doc/guix.texi:12556
  18443. msgid "the updater for KDE packages;"
  18444. msgstr ""
  18445. #. type: item
  18446. #: guix-git/doc/guix.texi:12556
  18447. #, no-wrap
  18448. msgid "xorg"
  18449. msgstr ""
  18450. #. type: table
  18451. #: guix-git/doc/guix.texi:12558
  18452. msgid "the updater for X.org packages;"
  18453. msgstr ""
  18454. #. type: item
  18455. #: guix-git/doc/guix.texi:12558
  18456. #, no-wrap
  18457. msgid "kernel.org"
  18458. msgstr ""
  18459. #. type: table
  18460. #: guix-git/doc/guix.texi:12560
  18461. msgid "the updater for packages hosted on kernel.org;"
  18462. msgstr ""
  18463. #. type: table
  18464. #: guix-git/doc/guix.texi:12562
  18465. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  18466. msgstr ""
  18467. #. type: table
  18468. #: guix-git/doc/guix.texi:12564
  18469. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  18470. msgstr ""
  18471. #. type: table
  18472. #: guix-git/doc/guix.texi:12566
  18473. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  18474. msgstr ""
  18475. #. type: item
  18476. #: guix-git/doc/guix.texi:12566
  18477. #, no-wrap
  18478. msgid "bioconductor"
  18479. msgstr ""
  18480. #. type: table
  18481. #: guix-git/doc/guix.texi:12568
  18482. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  18483. msgstr ""
  18484. #. type: table
  18485. #: guix-git/doc/guix.texi:12570
  18486. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  18487. msgstr ""
  18488. #. type: table
  18489. #: guix-git/doc/guix.texi:12572
  18490. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  18491. msgstr ""
  18492. #. type: table
  18493. #: guix-git/doc/guix.texi:12574
  18494. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  18495. msgstr ""
  18496. #. type: item
  18497. #: guix-git/doc/guix.texi:12574
  18498. #, no-wrap
  18499. msgid "github"
  18500. msgstr ""
  18501. #. type: table
  18502. #: guix-git/doc/guix.texi:12576
  18503. msgid "the updater for @uref{https://github.com, GitHub} packages."
  18504. msgstr ""
  18505. #. type: table
  18506. #: guix-git/doc/guix.texi:12578
  18507. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  18508. msgstr ""
  18509. #. type: table
  18510. #: guix-git/doc/guix.texi:12580
  18511. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  18512. msgstr ""
  18513. #. type: table
  18514. #: guix-git/doc/guix.texi:12582
  18515. msgid "the updater for @uref{https://crates.io, Crates} packages."
  18516. msgstr ""
  18517. #. type: item
  18518. #: guix-git/doc/guix.texi:12582
  18519. #, no-wrap
  18520. msgid "launchpad"
  18521. msgstr ""
  18522. #. type: table
  18523. #: guix-git/doc/guix.texi:12584
  18524. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  18525. msgstr ""
  18526. #. type: item
  18527. #: guix-git/doc/guix.texi:12584
  18528. #, no-wrap
  18529. msgid "generic-html"
  18530. msgstr ""
  18531. #. type: table
  18532. #: guix-git/doc/guix.texi:12587
  18533. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  18534. msgstr ""
  18535. #. type: item
  18536. #: guix-git/doc/guix.texi:12588
  18537. #, no-wrap
  18538. msgid "generic-git"
  18539. msgstr ""
  18540. #. type: table
  18541. #: guix-git/doc/guix.texi:12593
  18542. 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."
  18543. msgstr ""
  18544. #. type: item
  18545. #: guix-git/doc/guix.texi:12595
  18546. #, no-wrap
  18547. msgid "@code{release-tag-prefix}: a regular expression for matching a prefix of"
  18548. msgstr ""
  18549. #. type: itemize
  18550. #: guix-git/doc/guix.texi:12597 guix-git/doc/guix.texi:12600
  18551. msgid "the tag name."
  18552. msgstr ""
  18553. #. type: item
  18554. #: guix-git/doc/guix.texi:12598
  18555. #, no-wrap
  18556. msgid "@code{release-tag-suffix}: a regular expression for matching a suffix of"
  18557. msgstr ""
  18558. #. type: item
  18559. #: guix-git/doc/guix.texi:12601
  18560. #, no-wrap
  18561. msgid "@code{release-tag-version-delimiter}: a string used as the delimiter in"
  18562. msgstr ""
  18563. #. type: itemize
  18564. #: guix-git/doc/guix.texi:12603
  18565. msgid "the tag name for separating the numbers of the version."
  18566. msgstr ""
  18567. #. type: item
  18568. #: guix-git/doc/guix.texi:12604
  18569. #, no-wrap
  18570. msgid "@code{accept-pre-releases}: by default, the updater will ignore"
  18571. msgstr ""
  18572. #. type: itemize
  18573. #: guix-git/doc/guix.texi:12607
  18574. msgid "pre-releases; to make it also look for pre-releases, set the this property to @code{#t}."
  18575. msgstr ""
  18576. #. type: lisp
  18577. #: guix-git/doc/guix.texi:12618
  18578. #, no-wrap
  18579. msgid ""
  18580. "(package\n"
  18581. " (name \"foo\")\n"
  18582. " ;; ...\n"
  18583. " (properties\n"
  18584. " '((release-tag-prefix . \"^release0-\")\n"
  18585. " (release-tag-suffix . \"[a-z]?$\")\n"
  18586. " (release-tag-version-delimiter . \":\"))))\n"
  18587. msgstr ""
  18588. #. type: table
  18589. #: guix-git/doc/guix.texi:12625
  18590. 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:"
  18591. msgstr ""
  18592. #. type: example
  18593. #: guix-git/doc/guix.texi:12630
  18594. #, no-wrap
  18595. msgid ""
  18596. "$ guix refresh --type=elpa,cran\n"
  18597. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  18598. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  18599. msgstr ""
  18600. #. type: item
  18601. #: guix-git/doc/guix.texi:12632
  18602. #, no-wrap
  18603. msgid "--list-updaters"
  18604. msgstr ""
  18605. #. type: itemx
  18606. #: guix-git/doc/guix.texi:12633
  18607. #, no-wrap
  18608. msgid "-L"
  18609. msgstr ""
  18610. #. type: table
  18611. #: guix-git/doc/guix.texi:12635
  18612. msgid "List available updaters and exit (see @option{--type} above)."
  18613. msgstr ""
  18614. #. type: table
  18615. #: guix-git/doc/guix.texi:12638
  18616. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  18617. msgstr ""
  18618. #. type: Plain text
  18619. #: guix-git/doc/guix.texi:12642
  18620. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  18621. msgstr ""
  18622. #. type: example
  18623. #: guix-git/doc/guix.texi:12645
  18624. #, no-wrap
  18625. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  18626. msgstr ""
  18627. #. type: Plain text
  18628. #: guix-git/doc/guix.texi:12652
  18629. 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:"
  18630. msgstr ""
  18631. #. type: example
  18632. #: guix-git/doc/guix.texi:12656
  18633. #, no-wrap
  18634. msgid ""
  18635. "$ ./pre-inst-env guix refresh -u \\\n"
  18636. " $(guix package --list-installed | cut -f1)\n"
  18637. msgstr ""
  18638. #. type: Plain text
  18639. #: guix-git/doc/guix.texi:12662
  18640. 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:"
  18641. msgstr ""
  18642. #. type: item
  18643. #: guix-git/doc/guix.texi:12665
  18644. #, no-wrap
  18645. msgid "--list-dependent"
  18646. msgstr ""
  18647. #. type: itemx
  18648. #: guix-git/doc/guix.texi:12666 guix-git/doc/guix.texi:13028
  18649. #, no-wrap
  18650. msgid "-l"
  18651. msgstr ""
  18652. #. type: table
  18653. #: guix-git/doc/guix.texi:12669
  18654. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  18655. msgstr ""
  18656. #. type: table
  18657. #: guix-git/doc/guix.texi:12673
  18658. 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."
  18659. msgstr ""
  18660. #. type: Plain text
  18661. #: guix-git/doc/guix.texi:12679
  18662. 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."
  18663. msgstr ""
  18664. #. type: example
  18665. #: guix-git/doc/guix.texi:12684
  18666. #, no-wrap
  18667. msgid ""
  18668. "$ guix refresh --list-dependent flex\n"
  18669. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  18670. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  18671. msgstr ""
  18672. #. type: Plain text
  18673. #: guix-git/doc/guix.texi:12688
  18674. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  18675. msgstr ""
  18676. #. type: item
  18677. #: guix-git/doc/guix.texi:12691
  18678. #, no-wrap
  18679. msgid "--list-transitive"
  18680. msgstr ""
  18681. #. type: table
  18682. #: guix-git/doc/guix.texi:12693
  18683. msgid "List all the packages which one or more packages depend upon."
  18684. msgstr ""
  18685. #. type: example
  18686. #: guix-git/doc/guix.texi:12698
  18687. #, no-wrap
  18688. msgid ""
  18689. "$ guix refresh --list-transitive flex\n"
  18690. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  18691. "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"
  18692. msgstr ""
  18693. #. type: Plain text
  18694. #: guix-git/doc/guix.texi:12704
  18695. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  18696. msgstr ""
  18697. #. type: Plain text
  18698. #: guix-git/doc/guix.texi:12706
  18699. msgid "The following options can be used to customize GnuPG operation:"
  18700. msgstr ""
  18701. #. type: item
  18702. #: guix-git/doc/guix.texi:12709
  18703. #, no-wrap
  18704. msgid "--gpg=@var{command}"
  18705. msgstr ""
  18706. #. type: table
  18707. #: guix-git/doc/guix.texi:12712
  18708. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  18709. msgstr ""
  18710. #. type: item
  18711. #: guix-git/doc/guix.texi:12713
  18712. #, no-wrap
  18713. msgid "--keyring=@var{file}"
  18714. msgstr ""
  18715. #. type: table
  18716. #: guix-git/doc/guix.texi:12719
  18717. 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)."
  18718. msgstr ""
  18719. #. type: table
  18720. #: guix-git/doc/guix.texi:12725
  18721. 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)."
  18722. msgstr ""
  18723. #. type: table
  18724. #: guix-git/doc/guix.texi:12728
  18725. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  18726. msgstr ""
  18727. #. type: example
  18728. #: guix-git/doc/guix.texi:12731
  18729. #, no-wrap
  18730. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  18731. msgstr ""
  18732. #. type: table
  18733. #: guix-git/doc/guix.texi:12734
  18734. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  18735. msgstr ""
  18736. #. type: example
  18737. #: guix-git/doc/guix.texi:12738
  18738. #, no-wrap
  18739. msgid ""
  18740. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  18741. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  18742. msgstr ""
  18743. #. type: table
  18744. #: guix-git/doc/guix.texi:12742
  18745. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  18746. msgstr ""
  18747. #. type: table
  18748. #: guix-git/doc/guix.texi:12746
  18749. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  18750. msgstr ""
  18751. #. type: item
  18752. #: guix-git/doc/guix.texi:12748 guix-git/doc/guix.texi:12871
  18753. #: guix-git/doc/guix.texi:22249
  18754. #, no-wrap
  18755. msgid "always"
  18756. msgstr ""
  18757. #. type: table
  18758. #: guix-git/doc/guix.texi:12751
  18759. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  18760. msgstr ""
  18761. #. type: item
  18762. #: guix-git/doc/guix.texi:12752 guix-git/doc/guix.texi:22251
  18763. #, no-wrap
  18764. msgid "never"
  18765. msgstr ""
  18766. #. type: table
  18767. #: guix-git/doc/guix.texi:12754
  18768. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  18769. msgstr ""
  18770. #. type: item
  18771. #: guix-git/doc/guix.texi:12755
  18772. #, no-wrap
  18773. msgid "interactive"
  18774. msgstr ""
  18775. #. type: table
  18776. #: guix-git/doc/guix.texi:12758
  18777. 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."
  18778. msgstr ""
  18779. #. type: item
  18780. #: guix-git/doc/guix.texi:12760
  18781. #, no-wrap
  18782. msgid "--key-server=@var{host}"
  18783. msgstr ""
  18784. #. type: table
  18785. #: guix-git/doc/guix.texi:12762
  18786. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  18787. msgstr ""
  18788. #. type: Plain text
  18789. #: guix-git/doc/guix.texi:12782
  18790. 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."
  18791. msgstr ""
  18792. #. type: section
  18793. #: guix-git/doc/guix.texi:12785
  18794. #, no-wrap
  18795. msgid "Invoking @command{guix style}"
  18796. msgstr ""
  18797. #. type: Plain text
  18798. #: guix-git/doc/guix.texi:12791
  18799. msgid "The @command{guix style} command helps packagers style their package definitions according to the latest fashionable trends. The command currently focuses on one aspect: the style of package inputs. It may eventually be extended to handle other stylistic matters."
  18800. msgstr ""
  18801. #. type: Plain text
  18802. #: guix-git/doc/guix.texi:12796
  18803. msgid "The way package inputs are written is going through a transition (@pxref{package Reference}, for more on package inputs). Until version 1.3.0, package inputs were written using the ``old style'', where each input was given an explicit label, most of the time the package name:"
  18804. msgstr ""
  18805. #. type: lisp
  18806. #: guix-git/doc/guix.texi:12803
  18807. #, no-wrap
  18808. msgid ""
  18809. "(package\n"
  18810. " ;; @dots{}\n"
  18811. " ;; The \"old style\" (deprecated).\n"
  18812. " (inputs `((\"libunistring\" ,libunistring)\n"
  18813. " (\"libffi\" ,libffi))))\n"
  18814. msgstr ""
  18815. #. type: Plain text
  18816. #: guix-git/doc/guix.texi:12807
  18817. msgid "Today, the old style is deprecated and the preferred style looks like this:"
  18818. msgstr ""
  18819. #. type: lisp
  18820. #: guix-git/doc/guix.texi:12813
  18821. #, no-wrap
  18822. msgid ""
  18823. "(package\n"
  18824. " ;; @dots{}\n"
  18825. " ;; The \"new style\".\n"
  18826. " (inputs (list libunistring libffi)))\n"
  18827. msgstr ""
  18828. #. type: Plain text
  18829. #: guix-git/doc/guix.texi:12818
  18830. msgid "Likewise, uses of @code{alist-delete} and friends to manipulate inputs is now deprecated in favor of @code{modify-inputs} (@pxref{Defining Package Variants}, for more info on @code{modify-inputs})."
  18831. msgstr ""
  18832. #. type: Plain text
  18833. #: guix-git/doc/guix.texi:12823
  18834. msgid "In the vast majority of cases, this is a purely mechanical change on the surface syntax that does not even incur a package rebuild. Running @command{guix style} can do that for you, whether you're working on packages in Guix proper or in an external channel."
  18835. msgstr ""
  18836. #. type: example
  18837. #: guix-git/doc/guix.texi:12828
  18838. #, no-wrap
  18839. msgid "guix style [@var{options}] @var{package}@dots{}\n"
  18840. msgstr ""
  18841. #. type: Plain text
  18842. #: guix-git/doc/guix.texi:12834
  18843. msgid "This causes @command{guix style} to analyze and rewrite the definition of @var{package}@dots{}. It does so in a conservative way: preserving comments and bailing out if it cannot make sense of the code that appears in an inputs field. The available options are listed below."
  18844. msgstr ""
  18845. #. type: table
  18846. #: guix-git/doc/guix.texi:12839
  18847. msgid "Show source file locations that would be edited but do not modify them."
  18848. msgstr ""
  18849. #. type: table
  18850. #: guix-git/doc/guix.texi:12848
  18851. msgid "Style the package @var{expr} evaluates to."
  18852. msgstr ""
  18853. #. type: example
  18854. #: guix-git/doc/guix.texi:12853
  18855. #, no-wrap
  18856. msgid "guix style -e '(@@ (gnu packages gcc) gcc-5)'\n"
  18857. msgstr ""
  18858. #. type: table
  18859. #: guix-git/doc/guix.texi:12856
  18860. msgid "styles the @code{gcc-5} package definition."
  18861. msgstr ""
  18862. #. type: item
  18863. #: guix-git/doc/guix.texi:12857
  18864. #, no-wrap
  18865. msgid "--input-simplification=@var{policy}"
  18866. msgstr ""
  18867. #. type: table
  18868. #: guix-git/doc/guix.texi:12861
  18869. msgid "Specify the package input simplification policy for cases where an input label does not match the corresponding package name. @var{policy} may be one of the following:"
  18870. msgstr ""
  18871. #. type: item
  18872. #: guix-git/doc/guix.texi:12863
  18873. #, no-wrap
  18874. msgid "silent"
  18875. msgstr ""
  18876. #. type: table
  18877. #: guix-git/doc/guix.texi:12866
  18878. msgid "Simplify inputs only when the change is ``silent'', meaning that the package does not need to be rebuilt (its derivation is unchanged)."
  18879. msgstr ""
  18880. #. type: item
  18881. #: guix-git/doc/guix.texi:12867
  18882. #, no-wrap
  18883. msgid "safe"
  18884. msgstr ""
  18885. #. type: table
  18886. #: guix-git/doc/guix.texi:12870
  18887. msgid "Simplify inputs only when that is ``safe'' to do: the package might need to be rebuilt, but the change is known to have no observable effect."
  18888. msgstr ""
  18889. #. type: table
  18890. #: guix-git/doc/guix.texi:12874
  18891. msgid "Simplify inputs even when input labels do not match package names, and even if that might have an observable effect."
  18892. msgstr ""
  18893. #. type: table
  18894. #: guix-git/doc/guix.texi:12878
  18895. msgid "The default is @code{silent}, meaning that input simplifications do not trigger any package rebuild."
  18896. msgstr ""
  18897. #. type: section
  18898. #: guix-git/doc/guix.texi:12881
  18899. #, no-wrap
  18900. msgid "Invoking @command{guix lint}"
  18901. msgstr ""
  18902. #. type: command{#1}
  18903. #: guix-git/doc/guix.texi:12883
  18904. #, no-wrap
  18905. msgid "guix lint"
  18906. msgstr ""
  18907. #. type: cindex
  18908. #: guix-git/doc/guix.texi:12884
  18909. #, no-wrap
  18910. msgid "package, checking for errors"
  18911. msgstr ""
  18912. #. type: Plain text
  18913. #: guix-git/doc/guix.texi:12890
  18914. 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):"
  18915. msgstr ""
  18916. #. type: table
  18917. #: guix-git/doc/guix.texi:12896
  18918. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  18919. msgstr ""
  18920. #. type: item
  18921. #: guix-git/doc/guix.texi:12897
  18922. #, no-wrap
  18923. msgid "inputs-should-be-native"
  18924. msgstr ""
  18925. #. type: table
  18926. #: guix-git/doc/guix.texi:12899
  18927. msgid "Identify inputs that should most likely be native inputs."
  18928. msgstr ""
  18929. #. type: itemx
  18930. #: guix-git/doc/guix.texi:12902
  18931. #, no-wrap
  18932. msgid "mirror-url"
  18933. msgstr ""
  18934. #. type: itemx
  18935. #: guix-git/doc/guix.texi:12903
  18936. #, no-wrap
  18937. msgid "github-url"
  18938. msgstr ""
  18939. #. type: itemx
  18940. #: guix-git/doc/guix.texi:12904
  18941. #, no-wrap
  18942. msgid "source-file-name"
  18943. msgstr ""
  18944. #. type: table
  18945. #: guix-git/doc/guix.texi:12911
  18946. 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})."
  18947. msgstr ""
  18948. #. type: item
  18949. #: guix-git/doc/guix.texi:12912
  18950. #, no-wrap
  18951. msgid "source-unstable-tarball"
  18952. msgstr ""
  18953. #. type: table
  18954. #: guix-git/doc/guix.texi:12916
  18955. 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."
  18956. msgstr ""
  18957. #. type: table
  18958. #: guix-git/doc/guix.texi:12920
  18959. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  18960. msgstr ""
  18961. #. type: item
  18962. #: guix-git/doc/guix.texi:12921
  18963. #, no-wrap
  18964. msgid "profile-collisions"
  18965. msgstr ""
  18966. #. type: table
  18967. #: guix-git/doc/guix.texi:12927
  18968. 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."
  18969. msgstr ""
  18970. #. type: item
  18971. #: guix-git/doc/guix.texi:12928
  18972. #, no-wrap
  18973. msgid "archival"
  18974. msgstr ""
  18975. #. type: cindex
  18976. #: guix-git/doc/guix.texi:12929
  18977. #, no-wrap
  18978. msgid "Software Heritage, source code archive"
  18979. msgstr ""
  18980. #. type: cindex
  18981. #: guix-git/doc/guix.texi:12930
  18982. #, no-wrap
  18983. msgid "archival of source code, Software Heritage"
  18984. msgstr ""
  18985. #. type: table
  18986. #: guix-git/doc/guix.texi:12933
  18987. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  18988. msgstr ""
  18989. #. type: table
  18990. #: guix-git/doc/guix.texi:12941
  18991. 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}."
  18992. msgstr ""
  18993. #. type: table
  18994. #: guix-git/doc/guix.texi:12946
  18995. 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."
  18996. msgstr ""
  18997. #. type: table
  18998. #: guix-git/doc/guix.texi:12952
  18999. 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."
  19000. msgstr ""
  19001. #. type: item
  19002. #: guix-git/doc/guix.texi:12953
  19003. #, no-wrap
  19004. msgid "cve"
  19005. msgstr ""
  19006. #. type: cindex
  19007. #: guix-git/doc/guix.texi:12954 guix-git/doc/guix.texi:37946
  19008. #, no-wrap
  19009. msgid "security vulnerabilities"
  19010. msgstr ""
  19011. #. type: cindex
  19012. #: guix-git/doc/guix.texi:12955
  19013. #, no-wrap
  19014. msgid "CVE, Common Vulnerabilities and Exposures"
  19015. msgstr ""
  19016. #. type: table
  19017. #: guix-git/doc/guix.texi:12960
  19018. 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}."
  19019. msgstr ""
  19020. #. type: table
  19021. #: guix-git/doc/guix.texi:12962
  19022. msgid "To view information about a particular vulnerability, visit pages such as:"
  19023. msgstr ""
  19024. #. type: indicateurl{#1}
  19025. #: guix-git/doc/guix.texi:12966
  19026. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  19027. msgstr ""
  19028. #. type: indicateurl{#1}
  19029. #: guix-git/doc/guix.texi:12968
  19030. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  19031. msgstr ""
  19032. #. type: table
  19033. #: guix-git/doc/guix.texi:12973
  19034. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  19035. msgstr ""
  19036. #. type: table
  19037. #: guix-git/doc/guix.texi:12978
  19038. 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:"
  19039. msgstr ""
  19040. #. type: lisp
  19041. #: guix-git/doc/guix.texi:12986
  19042. #, no-wrap
  19043. msgid ""
  19044. "(package\n"
  19045. " (name \"grub\")\n"
  19046. " ;; @dots{}\n"
  19047. " ;; CPE calls this package \"grub2\".\n"
  19048. " (properties '((cpe-name . \"grub2\")\n"
  19049. " (cpe-version . \"2.3\"))))\n"
  19050. msgstr ""
  19051. #. type: table
  19052. #: guix-git/doc/guix.texi:12993
  19053. 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:"
  19054. msgstr ""
  19055. #. type: lisp
  19056. #: guix-git/doc/guix.texi:13003
  19057. #, no-wrap
  19058. msgid ""
  19059. "(package\n"
  19060. " (name \"t1lib\")\n"
  19061. " ;; @dots{}\n"
  19062. " ;; These CVEs no longer apply and can be safely ignored.\n"
  19063. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  19064. " \"CVE-2011-1553\"\n"
  19065. " \"CVE-2011-1554\"\n"
  19066. " \"CVE-2011-5244\")))))\n"
  19067. msgstr ""
  19068. #. type: item
  19069. #: guix-git/doc/guix.texi:13005
  19070. #, no-wrap
  19071. msgid "formatting"
  19072. msgstr ""
  19073. #. type: table
  19074. #: guix-git/doc/guix.texi:13008
  19075. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  19076. msgstr ""
  19077. #. type: item
  19078. #: guix-git/doc/guix.texi:13009
  19079. #, no-wrap
  19080. msgid "input-labels"
  19081. msgstr ""
  19082. #. type: table
  19083. #: guix-git/doc/guix.texi:13015
  19084. msgid "Report old-style input labels that do not match the name of the corresponding package. This aims to help migrate from the ``old input style''. @xref{package Reference}, for more information on package inputs and input styles. @xref{Invoking guix style}, on how to migrate to the new style."
  19085. msgstr ""
  19086. #. type: example
  19087. #: guix-git/doc/guix.texi:13021
  19088. #, no-wrap
  19089. msgid "guix lint @var{options} @var{package}@dots{}\n"
  19090. msgstr ""
  19091. #. type: Plain text
  19092. #: guix-git/doc/guix.texi:13025
  19093. 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:"
  19094. msgstr ""
  19095. #. type: item
  19096. #: guix-git/doc/guix.texi:13027
  19097. #, no-wrap
  19098. msgid "--list-checkers"
  19099. msgstr ""
  19100. #. type: table
  19101. #: guix-git/doc/guix.texi:13031
  19102. msgid "List and describe all the available checkers that will be run on packages and exit."
  19103. msgstr ""
  19104. #. type: item
  19105. #: guix-git/doc/guix.texi:13032
  19106. #, no-wrap
  19107. msgid "--checkers"
  19108. msgstr ""
  19109. #. type: itemx
  19110. #: guix-git/doc/guix.texi:13033
  19111. #, no-wrap
  19112. msgid "-c"
  19113. msgstr ""
  19114. #. type: table
  19115. #: guix-git/doc/guix.texi:13036
  19116. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19117. msgstr ""
  19118. #. type: item
  19119. #: guix-git/doc/guix.texi:13037
  19120. #, no-wrap
  19121. msgid "--exclude"
  19122. msgstr ""
  19123. #. type: table
  19124. #: guix-git/doc/guix.texi:13041
  19125. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19126. msgstr ""
  19127. #. type: item
  19128. #: guix-git/doc/guix.texi:13042
  19129. #, no-wrap
  19130. msgid "--no-network"
  19131. msgstr ""
  19132. #. type: table
  19133. #: guix-git/doc/guix.texi:13045
  19134. msgid "Only enable the checkers that do not depend on Internet access."
  19135. msgstr ""
  19136. #. type: section
  19137. #: guix-git/doc/guix.texi:13057
  19138. #, no-wrap
  19139. msgid "Invoking @command{guix size}"
  19140. msgstr ""
  19141. #. type: code{#1}
  19142. #: guix-git/doc/guix.texi:13059 guix-git/doc/guix.texi:35624
  19143. #, no-wrap
  19144. msgid "size"
  19145. msgstr ""
  19146. #. type: cindex
  19147. #: guix-git/doc/guix.texi:13060
  19148. #, no-wrap
  19149. msgid "package size"
  19150. msgstr ""
  19151. #. type: command{#1}
  19152. #: guix-git/doc/guix.texi:13062
  19153. #, no-wrap
  19154. msgid "guix size"
  19155. msgstr ""
  19156. #. type: Plain text
  19157. #: guix-git/doc/guix.texi:13069
  19158. 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."
  19159. msgstr ""
  19160. #. type: Plain text
  19161. #: guix-git/doc/guix.texi:13074
  19162. 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:"
  19163. msgstr ""
  19164. #. type: example
  19165. #: guix-git/doc/guix.texi:13087
  19166. #, no-wrap
  19167. msgid ""
  19168. "$ guix size coreutils\n"
  19169. "store item total self\n"
  19170. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  19171. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  19172. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  19173. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  19174. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  19175. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  19176. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  19177. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  19178. "total: 78.9 MiB\n"
  19179. msgstr ""
  19180. #. type: Plain text
  19181. #: guix-git/doc/guix.texi:13093
  19182. 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:"
  19183. msgstr ""
  19184. #. type: example
  19185. #: guix-git/doc/guix.texi:13096
  19186. #, no-wrap
  19187. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  19188. msgstr ""
  19189. #. type: Plain text
  19190. #: guix-git/doc/guix.texi:13104
  19191. 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."
  19192. msgstr ""
  19193. #. type: Plain text
  19194. #: guix-git/doc/guix.texi:13110
  19195. 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.)"
  19196. msgstr ""
  19197. #. type: Plain text
  19198. #: guix-git/doc/guix.texi:13113
  19199. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  19200. msgstr ""
  19201. #. type: example
  19202. #: guix-git/doc/guix.texi:13116
  19203. #, no-wrap
  19204. msgid "guix size $(guix system build config.scm)\n"
  19205. msgstr ""
  19206. #. type: Plain text
  19207. #: guix-git/doc/guix.texi:13126
  19208. 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})."
  19209. msgstr ""
  19210. #. type: Plain text
  19211. #: guix-git/doc/guix.texi:13131
  19212. 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."
  19213. msgstr ""
  19214. #. type: Plain text
  19215. #: guix-git/doc/guix.texi:13133
  19216. msgid "You can also specify several package names:"
  19217. msgstr ""
  19218. #. type: example
  19219. #: guix-git/doc/guix.texi:13143
  19220. #, no-wrap
  19221. msgid ""
  19222. "$ guix size coreutils grep sed bash\n"
  19223. "store item total self\n"
  19224. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  19225. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  19226. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  19227. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  19228. "@dots{}\n"
  19229. "total: 102.3 MiB\n"
  19230. msgstr ""
  19231. #. type: Plain text
  19232. #: guix-git/doc/guix.texi:13149
  19233. 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."
  19234. msgstr ""
  19235. #. type: Plain text
  19236. #: guix-git/doc/guix.texi:13155
  19237. 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})."
  19238. msgstr ""
  19239. #. type: Plain text
  19240. #: guix-git/doc/guix.texi:13157
  19241. msgid "The available options are:"
  19242. msgstr ""
  19243. #. type: table
  19244. #: guix-git/doc/guix.texi:13163
  19245. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  19246. msgstr ""
  19247. #. type: item
  19248. #: guix-git/doc/guix.texi:13164
  19249. #, no-wrap
  19250. msgid "--sort=@var{key}"
  19251. msgstr ""
  19252. #. type: table
  19253. #: guix-git/doc/guix.texi:13166
  19254. msgid "Sort lines according to @var{key}, one of the following options:"
  19255. msgstr ""
  19256. #. type: item
  19257. #: guix-git/doc/guix.texi:13168
  19258. #, no-wrap
  19259. msgid "self"
  19260. msgstr ""
  19261. #. type: table
  19262. #: guix-git/doc/guix.texi:13170
  19263. msgid "the size of each item (the default);"
  19264. msgstr ""
  19265. #. type: table
  19266. #: guix-git/doc/guix.texi:13172
  19267. msgid "the total size of the item's closure."
  19268. msgstr ""
  19269. #. type: item
  19270. #: guix-git/doc/guix.texi:13174
  19271. #, no-wrap
  19272. msgid "--map-file=@var{file}"
  19273. msgstr ""
  19274. #. type: table
  19275. #: guix-git/doc/guix.texi:13176
  19276. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  19277. msgstr ""
  19278. #. type: table
  19279. #: guix-git/doc/guix.texi:13178
  19280. msgid "For the example above, the map looks like this:"
  19281. msgstr ""
  19282. #. type: table
  19283. #: guix-git/doc/guix.texi:13181
  19284. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  19285. msgstr ""
  19286. #. type: table
  19287. #: guix-git/doc/guix.texi:13186
  19288. 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."
  19289. msgstr ""
  19290. #. type: table
  19291. #: guix-git/doc/guix.texi:13190
  19292. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  19293. msgstr ""
  19294. #. type: section
  19295. #: guix-git/doc/guix.texi:13201
  19296. #, no-wrap
  19297. msgid "Invoking @command{guix graph}"
  19298. msgstr ""
  19299. #. type: cindex
  19300. #: guix-git/doc/guix.texi:13203
  19301. #, no-wrap
  19302. msgid "DAG"
  19303. msgstr ""
  19304. #. type: command{#1}
  19305. #: guix-git/doc/guix.texi:13204
  19306. #, no-wrap
  19307. msgid "guix graph"
  19308. msgstr ""
  19309. #. type: Plain text
  19310. #: guix-git/doc/guix.texi:13219
  19311. 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:"
  19312. msgstr ""
  19313. #. type: example
  19314. #: guix-git/doc/guix.texi:13222
  19315. #, no-wrap
  19316. msgid "guix graph @var{options} @var{package}@dots{}\n"
  19317. msgstr ""
  19318. #. type: Plain text
  19319. #: guix-git/doc/guix.texi:13227
  19320. 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:"
  19321. msgstr ""
  19322. #. type: example
  19323. #: guix-git/doc/guix.texi:13230
  19324. #, no-wrap
  19325. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  19326. msgstr ""
  19327. #. type: Plain text
  19328. #: guix-git/doc/guix.texi:13233
  19329. msgid "The output looks like this:"
  19330. msgstr ""
  19331. #. type: Plain text
  19332. #: guix-git/doc/guix.texi:13235
  19333. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  19334. msgstr ""
  19335. #. type: Plain text
  19336. #: guix-git/doc/guix.texi:13237
  19337. msgid "Nice little graph, no?"
  19338. msgstr ""
  19339. #. type: Plain text
  19340. #: guix-git/doc/guix.texi:13240
  19341. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  19342. msgstr ""
  19343. #. type: example
  19344. #: guix-git/doc/guix.texi:13243
  19345. #, no-wrap
  19346. msgid "guix graph coreutils | xdot -\n"
  19347. msgstr ""
  19348. #. type: Plain text
  19349. #: guix-git/doc/guix.texi:13250
  19350. 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:"
  19351. msgstr ""
  19352. #. type: table
  19353. #: guix-git/doc/guix.texi:13256
  19354. 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."
  19355. msgstr ""
  19356. #. type: item
  19357. #: guix-git/doc/guix.texi:13257
  19358. #, no-wrap
  19359. msgid "reverse-package"
  19360. msgstr ""
  19361. #. type: table
  19362. #: guix-git/doc/guix.texi:13259
  19363. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  19364. msgstr ""
  19365. #. type: example
  19366. #: guix-git/doc/guix.texi:13262
  19367. #, no-wrap
  19368. msgid "guix graph --type=reverse-package ocaml\n"
  19369. msgstr ""
  19370. #. type: table
  19371. #: guix-git/doc/guix.texi:13267
  19372. 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)."
  19373. msgstr ""
  19374. #. type: table
  19375. #: guix-git/doc/guix.texi:13272
  19376. 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}})."
  19377. msgstr ""
  19378. #. type: item
  19379. #: guix-git/doc/guix.texi:13273
  19380. #, no-wrap
  19381. msgid "bag-emerged"
  19382. msgstr ""
  19383. #. type: table
  19384. #: guix-git/doc/guix.texi:13275
  19385. msgid "This is the package DAG, @emph{including} implicit inputs."
  19386. msgstr ""
  19387. #. type: table
  19388. #: guix-git/doc/guix.texi:13277
  19389. msgid "For instance, the following command:"
  19390. msgstr ""
  19391. #. type: example
  19392. #: guix-git/doc/guix.texi:13280
  19393. #, no-wrap
  19394. msgid "guix graph --type=bag-emerged coreutils\n"
  19395. msgstr ""
  19396. #. type: table
  19397. #: guix-git/doc/guix.texi:13283
  19398. msgid "...@: yields this bigger graph:"
  19399. msgstr ""
  19400. #. type: table
  19401. #: guix-git/doc/guix.texi:13285
  19402. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  19403. msgstr ""
  19404. #. type: table
  19405. #: guix-git/doc/guix.texi:13288
  19406. 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}})."
  19407. msgstr ""
  19408. #. type: table
  19409. #: guix-git/doc/guix.texi:13292
  19410. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  19411. msgstr ""
  19412. #. type: item
  19413. #: guix-git/doc/guix.texi:13293
  19414. #, no-wrap
  19415. msgid "bag"
  19416. msgstr ""
  19417. #. type: table
  19418. #: guix-git/doc/guix.texi:13296
  19419. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  19420. msgstr ""
  19421. #. type: item
  19422. #: guix-git/doc/guix.texi:13297
  19423. #, no-wrap
  19424. msgid "bag-with-origins"
  19425. msgstr ""
  19426. #. type: table
  19427. #: guix-git/doc/guix.texi:13299
  19428. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  19429. msgstr ""
  19430. #. type: item
  19431. #: guix-git/doc/guix.texi:13300
  19432. #, no-wrap
  19433. msgid "reverse-bag"
  19434. msgstr ""
  19435. #. type: table
  19436. #: guix-git/doc/guix.texi:13303
  19437. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  19438. msgstr ""
  19439. #. type: example
  19440. #: guix-git/doc/guix.texi:13306
  19441. #, no-wrap
  19442. msgid "guix graph -t reverse-bag dune\n"
  19443. msgstr ""
  19444. #. type: table
  19445. #: guix-git/doc/guix.texi:13313
  19446. 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."
  19447. msgstr ""
  19448. #. type: table
  19449. #: guix-git/doc/guix.texi:13319
  19450. 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."
  19451. msgstr ""
  19452. #. type: table
  19453. #: guix-git/doc/guix.texi:13322
  19454. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  19455. msgstr ""
  19456. #. type: example
  19457. #: guix-git/doc/guix.texi:13325
  19458. #, no-wrap
  19459. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  19460. msgstr ""
  19461. #. type: item
  19462. #: guix-git/doc/guix.texi:13327
  19463. #, no-wrap
  19464. msgid "module"
  19465. msgstr "پیمانه"
  19466. #. type: table
  19467. #: guix-git/doc/guix.texi:13331
  19468. 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:"
  19469. msgstr ""
  19470. #. type: example
  19471. #: guix-git/doc/guix.texi:13334
  19472. #, no-wrap
  19473. msgid "guix graph -t module guile | xdot -\n"
  19474. msgstr ""
  19475. #. type: Plain text
  19476. #: guix-git/doc/guix.texi:13339
  19477. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  19478. msgstr ""
  19479. #. type: table
  19480. #: guix-git/doc/guix.texi:13344
  19481. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  19482. msgstr ""
  19483. #. type: table
  19484. #: guix-git/doc/guix.texi:13347
  19485. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  19486. msgstr ""
  19487. #. type: table
  19488. #: guix-git/doc/guix.texi:13351
  19489. 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!):"
  19490. msgstr ""
  19491. #. type: example
  19492. #: guix-git/doc/guix.texi:13354
  19493. #, no-wrap
  19494. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  19495. msgstr ""
  19496. #. type: item
  19497. #: guix-git/doc/guix.texi:13356
  19498. #, no-wrap
  19499. msgid "referrers"
  19500. msgstr ""
  19501. #. type: table
  19502. #: guix-git/doc/guix.texi:13359
  19503. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  19504. msgstr ""
  19505. #. type: table
  19506. #: guix-git/doc/guix.texi:13365
  19507. 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."
  19508. msgstr ""
  19509. #. type: table
  19510. #: guix-git/doc/guix.texi:13368
  19511. msgid "It can help determine what is preventing a store item from being garbage collected."
  19512. msgstr ""
  19513. #. type: cindex
  19514. #: guix-git/doc/guix.texi:13371
  19515. #, no-wrap
  19516. msgid "shortest path, between packages"
  19517. msgstr ""
  19518. #. type: Plain text
  19519. #: guix-git/doc/guix.texi:13378
  19520. 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.):"
  19521. msgstr ""
  19522. #. type: example
  19523. #: guix-git/doc/guix.texi:13392
  19524. #, no-wrap
  19525. msgid ""
  19526. "$ guix graph --path emacs libunistring\n"
  19527. "emacs@@26.3\n"
  19528. "mailutils@@3.9\n"
  19529. "libunistring@@0.9.10\n"
  19530. "$ guix graph --path -t derivation emacs libunistring\n"
  19531. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  19532. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  19533. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  19534. "$ guix graph --path -t references emacs libunistring\n"
  19535. "/gnu/store/@dots{}-emacs-26.3\n"
  19536. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  19537. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  19538. msgstr ""
  19539. #. type: Plain text
  19540. #: guix-git/doc/guix.texi:13400
  19541. 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:"
  19542. msgstr ""
  19543. #. type: example
  19544. #: guix-git/doc/guix.texi:13403
  19545. #, no-wrap
  19546. msgid "guix graph -M 2 libreoffice | xdot -f fdp -\n"
  19547. msgstr ""
  19548. #. type: Plain text
  19549. #: guix-git/doc/guix.texi:13407
  19550. 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."
  19551. msgstr ""
  19552. #. type: Plain text
  19553. #: guix-git/doc/guix.texi:13409
  19554. msgid "The available options are the following:"
  19555. msgstr ""
  19556. #. type: table
  19557. #: guix-git/doc/guix.texi:13415
  19558. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  19559. msgstr ""
  19560. #. type: item
  19561. #: guix-git/doc/guix.texi:13416
  19562. #, no-wrap
  19563. msgid "--list-types"
  19564. msgstr ""
  19565. #. type: table
  19566. #: guix-git/doc/guix.texi:13418
  19567. msgid "List the supported graph types."
  19568. msgstr ""
  19569. #. type: item
  19570. #: guix-git/doc/guix.texi:13419
  19571. #, no-wrap
  19572. msgid "--backend=@var{backend}"
  19573. msgstr ""
  19574. #. type: itemx
  19575. #: guix-git/doc/guix.texi:13420
  19576. #, no-wrap
  19577. msgid "-b @var{backend}"
  19578. msgstr ""
  19579. #. type: table
  19580. #: guix-git/doc/guix.texi:13422
  19581. msgid "Produce a graph using the selected @var{backend}."
  19582. msgstr ""
  19583. #. type: item
  19584. #: guix-git/doc/guix.texi:13423
  19585. #, no-wrap
  19586. msgid "--list-backends"
  19587. msgstr ""
  19588. #. type: table
  19589. #: guix-git/doc/guix.texi:13425
  19590. msgid "List the supported graph backends."
  19591. msgstr ""
  19592. #. type: table
  19593. #: guix-git/doc/guix.texi:13427
  19594. msgid "Currently, the available backends are Graphviz and d3.js."
  19595. msgstr ""
  19596. #. type: item
  19597. #: guix-git/doc/guix.texi:13428
  19598. #, no-wrap
  19599. msgid "--path"
  19600. msgstr ""
  19601. #. type: table
  19602. #: guix-git/doc/guix.texi:13433
  19603. 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}:"
  19604. msgstr ""
  19605. #. type: example
  19606. #: guix-git/doc/guix.texi:13440
  19607. #, no-wrap
  19608. msgid ""
  19609. "$ guix graph --path -t references libreoffice llvm\n"
  19610. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  19611. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  19612. "/gnu/store/@dots{}-mesa-19.3.4\n"
  19613. "/gnu/store/@dots{}-llvm-9.0.1\n"
  19614. msgstr ""
  19615. #. type: example
  19616. #: guix-git/doc/guix.texi:13450
  19617. #, no-wrap
  19618. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  19619. msgstr ""
  19620. #. type: table
  19621. #: guix-git/doc/guix.texi:13455
  19622. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  19623. msgstr ""
  19624. #. type: table
  19625. #: guix-git/doc/guix.texi:13458
  19626. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  19627. msgstr ""
  19628. #. type: Plain text
  19629. #: guix-git/doc/guix.texi:13474
  19630. 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:"
  19631. msgstr ""
  19632. #. type: example
  19633. #: guix-git/doc/guix.texi:13477
  19634. #, no-wrap
  19635. msgid "guix graph git --with-input=openssl=libressl\n"
  19636. msgstr ""
  19637. #. type: Plain text
  19638. #: guix-git/doc/guix.texi:13480
  19639. msgid "So many possibilities, so much fun!"
  19640. msgstr ""
  19641. #. type: section
  19642. #: guix-git/doc/guix.texi:13482
  19643. #, no-wrap
  19644. msgid "Invoking @command{guix publish}"
  19645. msgstr ""
  19646. #. type: command{#1}
  19647. #: guix-git/doc/guix.texi:13484
  19648. #, no-wrap
  19649. msgid "guix publish"
  19650. msgstr ""
  19651. #. type: Plain text
  19652. #: guix-git/doc/guix.texi:13488
  19653. 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})."
  19654. msgstr ""
  19655. #. type: Plain text
  19656. #: guix-git/doc/guix.texi:13494
  19657. 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."
  19658. msgstr ""
  19659. #. type: Plain text
  19660. #: guix-git/doc/guix.texi:13500
  19661. 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."
  19662. msgstr ""
  19663. #. type: Plain text
  19664. #: guix-git/doc/guix.texi:13504
  19665. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  19666. msgstr ""
  19667. #. type: Plain text
  19668. #: guix-git/doc/guix.texi:13509
  19669. 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})."
  19670. msgstr ""
  19671. #. type: example
  19672. #: guix-git/doc/guix.texi:13514
  19673. #, no-wrap
  19674. msgid "guix publish @var{options}@dots{}\n"
  19675. msgstr ""
  19676. #. type: Plain text
  19677. #: guix-git/doc/guix.texi:13518
  19678. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  19679. msgstr ""
  19680. #. type: example
  19681. #: guix-git/doc/guix.texi:13521
  19682. #, no-wrap
  19683. msgid "guix publish\n"
  19684. msgstr ""
  19685. #. type: Plain text
  19686. #: guix-git/doc/guix.texi:13525
  19687. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  19688. msgstr ""
  19689. #. type: Plain text
  19690. #: guix-git/doc/guix.texi:13533
  19691. 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})."
  19692. msgstr ""
  19693. #. type: Plain text
  19694. #: guix-git/doc/guix.texi:13540
  19695. 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}):"
  19696. msgstr ""
  19697. #. type: example
  19698. #: guix-git/doc/guix.texi:13543
  19699. #, no-wrap
  19700. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  19701. msgstr ""
  19702. #. type: Plain text
  19703. #: guix-git/doc/guix.texi:13547
  19704. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  19705. msgstr ""
  19706. #. type: cindex
  19707. #: guix-git/doc/guix.texi:13548
  19708. #, no-wrap
  19709. msgid "build logs, publication"
  19710. msgstr ""
  19711. #. type: Plain text
  19712. #: guix-git/doc/guix.texi:13550
  19713. msgid "Build logs are available from @code{/log} URLs like:"
  19714. msgstr ""
  19715. #. type: example
  19716. #: guix-git/doc/guix.texi:13553
  19717. #, no-wrap
  19718. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  19719. msgstr ""
  19720. #. type: Plain text
  19721. #: guix-git/doc/guix.texi:13563
  19722. 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."
  19723. msgstr ""
  19724. #. type: item
  19725. #: guix-git/doc/guix.texi:13567
  19726. #, no-wrap
  19727. msgid "--port=@var{port}"
  19728. msgstr ""
  19729. #. type: itemx
  19730. #: guix-git/doc/guix.texi:13568
  19731. #, no-wrap
  19732. msgid "-p @var{port}"
  19733. msgstr ""
  19734. #. type: table
  19735. #: guix-git/doc/guix.texi:13570
  19736. msgid "Listen for HTTP requests on @var{port}."
  19737. msgstr ""
  19738. #. type: item
  19739. #: guix-git/doc/guix.texi:13571
  19740. #, no-wrap
  19741. msgid "--listen=@var{host}"
  19742. msgstr ""
  19743. #. type: table
  19744. #: guix-git/doc/guix.texi:13574
  19745. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  19746. msgstr ""
  19747. #. type: table
  19748. #: guix-git/doc/guix.texi:13579
  19749. 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."
  19750. msgstr ""
  19751. #. type: item
  19752. #: guix-git/doc/guix.texi:13580
  19753. #, no-wrap
  19754. msgid "--compression[=@var{method}[:@var{level}]]"
  19755. msgstr ""
  19756. #. type: itemx
  19757. #: guix-git/doc/guix.texi:13581
  19758. #, no-wrap
  19759. msgid "-C [@var{method}[:@var{level}]]"
  19760. msgstr ""
  19761. #. type: table
  19762. #: guix-git/doc/guix.texi:13585
  19763. 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."
  19764. msgstr ""
  19765. #. type: table
  19766. #: guix-git/doc/guix.texi:13589
  19767. 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."
  19768. msgstr ""
  19769. #. type: table
  19770. #: guix-git/doc/guix.texi:13596
  19771. 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."
  19772. msgstr ""
  19773. #. type: table
  19774. #: guix-git/doc/guix.texi:13600
  19775. 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}."
  19776. msgstr ""
  19777. #. type: table
  19778. #: guix-git/doc/guix.texi:13609
  19779. 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."
  19780. msgstr ""
  19781. #. type: table
  19782. #: guix-git/doc/guix.texi:13614
  19783. 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."
  19784. msgstr ""
  19785. #. type: item
  19786. #: guix-git/doc/guix.texi:13615
  19787. #, no-wrap
  19788. msgid "--cache=@var{directory}"
  19789. msgstr ""
  19790. #. type: itemx
  19791. #: guix-git/doc/guix.texi:13616
  19792. #, no-wrap
  19793. msgid "-c @var{directory}"
  19794. msgstr ""
  19795. #. type: table
  19796. #: guix-git/doc/guix.texi:13619
  19797. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  19798. msgstr ""
  19799. #. type: table
  19800. #: guix-git/doc/guix.texi:13627
  19801. 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."
  19802. msgstr ""
  19803. #. type: table
  19804. #: guix-git/doc/guix.texi:13635
  19805. 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."
  19806. msgstr ""
  19807. #. type: table
  19808. #: guix-git/doc/guix.texi:13642
  19809. 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."
  19810. msgstr ""
  19811. #. type: table
  19812. #: guix-git/doc/guix.texi:13646
  19813. 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."
  19814. msgstr ""
  19815. #. type: table
  19816. #: guix-git/doc/guix.texi:13649
  19817. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  19818. msgstr ""
  19819. #. type: item
  19820. #: guix-git/doc/guix.texi:13650
  19821. #, no-wrap
  19822. msgid "--workers=@var{N}"
  19823. msgstr ""
  19824. #. type: table
  19825. #: guix-git/doc/guix.texi:13653
  19826. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  19827. msgstr ""
  19828. #. type: item
  19829. #: guix-git/doc/guix.texi:13654
  19830. #, no-wrap
  19831. msgid "--ttl=@var{ttl}"
  19832. msgstr ""
  19833. #. type: table
  19834. #: guix-git/doc/guix.texi:13658
  19835. 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."
  19836. msgstr ""
  19837. #. type: table
  19838. #: guix-git/doc/guix.texi:13663
  19839. 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}."
  19840. msgstr ""
  19841. #. type: table
  19842. #: guix-git/doc/guix.texi:13667
  19843. 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."
  19844. msgstr ""
  19845. #. type: item
  19846. #: guix-git/doc/guix.texi:13668
  19847. #, no-wrap
  19848. msgid "--negative-ttl=@var{ttl}"
  19849. msgstr ""
  19850. #. type: table
  19851. #: guix-git/doc/guix.texi:13673
  19852. 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."
  19853. msgstr ""
  19854. #. type: table
  19855. #: guix-git/doc/guix.texi:13677
  19856. 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."
  19857. msgstr ""
  19858. #. type: item
  19859. #: guix-git/doc/guix.texi:13678
  19860. #, no-wrap
  19861. msgid "--cache-bypass-threshold=@var{size}"
  19862. msgstr ""
  19863. #. type: table
  19864. #: guix-git/doc/guix.texi:13683
  19865. 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}."
  19866. msgstr ""
  19867. #. type: table
  19868. #: guix-git/doc/guix.texi:13688
  19869. 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."
  19870. msgstr ""
  19871. #. type: table
  19872. #: guix-git/doc/guix.texi:13692
  19873. 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."
  19874. msgstr ""
  19875. #. type: item
  19876. #: guix-git/doc/guix.texi:13693
  19877. #, no-wrap
  19878. msgid "--nar-path=@var{path}"
  19879. msgstr ""
  19880. #. type: table
  19881. #: guix-git/doc/guix.texi:13696
  19882. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  19883. msgstr ""
  19884. #. type: table
  19885. #: guix-git/doc/guix.texi:13700
  19886. 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}."
  19887. msgstr ""
  19888. #. type: item
  19889. #: guix-git/doc/guix.texi:13701
  19890. #, no-wrap
  19891. msgid "--public-key=@var{file}"
  19892. msgstr ""
  19893. #. type: itemx
  19894. #: guix-git/doc/guix.texi:13702
  19895. #, no-wrap
  19896. msgid "--private-key=@var{file}"
  19897. msgstr ""
  19898. #. type: table
  19899. #: guix-git/doc/guix.texi:13705 guix-git/doc/guix.texi:29141
  19900. #: guix-git/doc/guix.texi:29178
  19901. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  19902. msgstr ""
  19903. #. type: table
  19904. #: guix-git/doc/guix.texi:13712
  19905. 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."
  19906. msgstr ""
  19907. #. type: item
  19908. #: guix-git/doc/guix.texi:13713
  19909. #, no-wrap
  19910. msgid "--repl[=@var{port}]"
  19911. msgstr ""
  19912. #. type: itemx
  19913. #: guix-git/doc/guix.texi:13714
  19914. #, no-wrap
  19915. msgid "-r [@var{port}]"
  19916. msgstr ""
  19917. #. type: table
  19918. #: guix-git/doc/guix.texi:13718
  19919. 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."
  19920. msgstr ""
  19921. #. type: Plain text
  19922. #: guix-git/doc/guix.texi:13724
  19923. 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}})."
  19924. msgstr ""
  19925. #. type: Plain text
  19926. #: guix-git/doc/guix.texi:13727
  19927. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  19928. msgstr ""
  19929. #. type: itemize
  19930. #: guix-git/doc/guix.texi:13731
  19931. msgid "If your host distro uses the systemd init system:"
  19932. msgstr ""
  19933. #. type: example
  19934. #: guix-git/doc/guix.texi:13736
  19935. #, no-wrap
  19936. msgid ""
  19937. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  19938. " /etc/systemd/system/\n"
  19939. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  19940. msgstr ""
  19941. #. type: example
  19942. #: guix-git/doc/guix.texi:13744
  19943. #, no-wrap
  19944. msgid ""
  19945. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  19946. "# start guix-publish\n"
  19947. msgstr ""
  19948. #. type: itemize
  19949. #: guix-git/doc/guix.texi:13748
  19950. msgid "Otherwise, proceed similarly with your distro's init system."
  19951. msgstr ""
  19952. #. type: section
  19953. #: guix-git/doc/guix.texi:13751
  19954. #, no-wrap
  19955. msgid "Invoking @command{guix challenge}"
  19956. msgstr ""
  19957. #. type: cindex
  19958. #: guix-git/doc/guix.texi:13754
  19959. #, no-wrap
  19960. msgid "verifiable builds"
  19961. msgstr ""
  19962. #. type: command{#1}
  19963. #: guix-git/doc/guix.texi:13755
  19964. #, no-wrap
  19965. msgid "guix challenge"
  19966. msgstr ""
  19967. #. type: cindex
  19968. #: guix-git/doc/guix.texi:13756
  19969. #, no-wrap
  19970. msgid "challenge"
  19971. msgstr ""
  19972. #. type: Plain text
  19973. #: guix-git/doc/guix.texi:13761
  19974. 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."
  19975. msgstr ""
  19976. #. type: Plain text
  19977. #: guix-git/doc/guix.texi:13769
  19978. 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."
  19979. msgstr ""
  19980. #. type: Plain text
  19981. #: guix-git/doc/guix.texi:13778
  19982. 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."
  19983. msgstr ""
  19984. #. type: Plain text
  19985. #: guix-git/doc/guix.texi:13780
  19986. msgid "The command output looks like this:"
  19987. msgstr ""
  19988. #. type: smallexample
  19989. #: guix-git/doc/guix.texi:13792
  19990. #, no-wrap
  19991. msgid ""
  19992. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  19993. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  19994. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  19995. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  19996. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19997. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19998. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  19999. " differing files:\n"
  20000. " /lib/libcrypto.so.1.1\n"
  20001. " /lib/libssl.so.1.1\n"
  20002. "\n"
  20003. msgstr ""
  20004. #. type: smallexample
  20005. #: guix-git/doc/guix.texi:13799
  20006. #, no-wrap
  20007. msgid ""
  20008. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  20009. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  20010. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  20011. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  20012. " differing file:\n"
  20013. " /libexec/git-core/git-fsck\n"
  20014. "\n"
  20015. msgstr ""
  20016. #. type: smallexample
  20017. #: guix-git/doc/guix.texi:13806
  20018. #, no-wrap
  20019. msgid ""
  20020. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  20021. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20022. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20023. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  20024. " differing file:\n"
  20025. " /share/man/man1/pius.1.gz\n"
  20026. "\n"
  20027. msgstr ""
  20028. #. type: smallexample
  20029. #: guix-git/doc/guix.texi:13808
  20030. #, no-wrap
  20031. msgid ""
  20032. "@dots{}\n"
  20033. "\n"
  20034. msgstr ""
  20035. #. type: smallexample
  20036. #: guix-git/doc/guix.texi:13813
  20037. #, no-wrap
  20038. msgid ""
  20039. "6,406 store items were analyzed:\n"
  20040. " - 4,749 (74.1%) were identical\n"
  20041. " - 525 (8.2%) differed\n"
  20042. " - 1,132 (17.7%) were inconclusive\n"
  20043. msgstr ""
  20044. #. type: Plain text
  20045. #: guix-git/doc/guix.texi:13821
  20046. 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."
  20047. msgstr ""
  20048. #. type: cindex
  20049. #: guix-git/doc/guix.texi:13822
  20050. #, no-wrap
  20051. msgid "non-determinism, in package builds"
  20052. msgstr ""
  20053. #. type: Plain text
  20054. #: guix-git/doc/guix.texi:13833
  20055. 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."
  20056. msgstr ""
  20057. #. type: Plain text
  20058. #: guix-git/doc/guix.texi:13836
  20059. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  20060. msgstr ""
  20061. #. type: example
  20062. #: guix-git/doc/guix.texi:13841
  20063. #, no-wrap
  20064. msgid ""
  20065. "guix challenge git \\\n"
  20066. " --diff=diffoscope \\\n"
  20067. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20068. msgstr ""
  20069. #. type: Plain text
  20070. #: guix-git/doc/guix.texi:13845
  20071. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  20072. msgstr ""
  20073. #. type: Plain text
  20074. #: guix-git/doc/guix.texi:13848
  20075. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  20076. msgstr ""
  20077. #. type: example
  20078. #: guix-git/doc/guix.texi:13853
  20079. #, no-wrap
  20080. msgid ""
  20081. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  20082. " | lzip -d | guix archive -x /tmp/git\n"
  20083. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  20084. msgstr ""
  20085. #. type: Plain text
  20086. #: guix-git/doc/guix.texi:13862
  20087. 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."
  20088. msgstr ""
  20089. #. type: Plain text
  20090. #: guix-git/doc/guix.texi:13870
  20091. 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."
  20092. msgstr ""
  20093. #. type: Plain text
  20094. #: guix-git/doc/guix.texi:13874
  20095. 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:"
  20096. msgstr ""
  20097. #. type: example
  20098. #: guix-git/doc/guix.texi:13877
  20099. #, no-wrap
  20100. msgid "$ guix challenge @var{package}\n"
  20101. msgstr ""
  20102. #. type: Plain text
  20103. #: guix-git/doc/guix.texi:13882
  20104. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  20105. msgstr ""
  20106. #. type: example
  20107. #: guix-git/doc/guix.texi:13887
  20108. #, no-wrap
  20109. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  20110. msgstr ""
  20111. #. type: Plain text
  20112. #: guix-git/doc/guix.texi:13894
  20113. 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)."
  20114. msgstr ""
  20115. #. type: Plain text
  20116. #: guix-git/doc/guix.texi:13896
  20117. msgid "The one option that matters is:"
  20118. msgstr ""
  20119. #. type: table
  20120. #: guix-git/doc/guix.texi:13902
  20121. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  20122. msgstr ""
  20123. #. type: item
  20124. #: guix-git/doc/guix.texi:13903
  20125. #, no-wrap
  20126. msgid "--diff=@var{mode}"
  20127. msgstr ""
  20128. #. type: table
  20129. #: guix-git/doc/guix.texi:13905
  20130. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  20131. msgstr ""
  20132. #. type: item
  20133. #: guix-git/doc/guix.texi:13907
  20134. #, no-wrap
  20135. msgid "@code{simple} (the default)"
  20136. msgstr ""
  20137. #. type: table
  20138. #: guix-git/doc/guix.texi:13909
  20139. msgid "Show the list of files that differ."
  20140. msgstr ""
  20141. #. type: code{#1}
  20142. #: guix-git/doc/guix.texi:13910
  20143. #, no-wrap
  20144. msgid "diffoscope"
  20145. msgstr ""
  20146. #. type: var{#1}
  20147. #: guix-git/doc/guix.texi:13911
  20148. #, no-wrap
  20149. msgid "command"
  20150. msgstr ""
  20151. #. type: table
  20152. #: guix-git/doc/guix.texi:13914
  20153. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  20154. msgstr ""
  20155. #. type: table
  20156. #: guix-git/doc/guix.texi:13917
  20157. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  20158. msgstr ""
  20159. #. type: table
  20160. #: guix-git/doc/guix.texi:13920
  20161. msgid "Do not show further details about the differences."
  20162. msgstr ""
  20163. #. type: table
  20164. #: guix-git/doc/guix.texi:13925
  20165. 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."
  20166. msgstr ""
  20167. #. type: item
  20168. #: guix-git/doc/guix.texi:13926
  20169. #, no-wrap
  20170. msgid "--verbose"
  20171. msgstr ""
  20172. #. type: itemx
  20173. #: guix-git/doc/guix.texi:13927
  20174. #, no-wrap
  20175. msgid "-v"
  20176. msgstr ""
  20177. #. type: table
  20178. #: guix-git/doc/guix.texi:13930
  20179. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  20180. msgstr ""
  20181. #. type: section
  20182. #: guix-git/doc/guix.texi:13934
  20183. #, no-wrap
  20184. msgid "Invoking @command{guix copy}"
  20185. msgstr ""
  20186. #. type: cindex
  20187. #: guix-git/doc/guix.texi:13936
  20188. #, no-wrap
  20189. msgid "copy, of store items, over SSH"
  20190. msgstr ""
  20191. #. type: cindex
  20192. #: guix-git/doc/guix.texi:13937
  20193. #, no-wrap
  20194. msgid "SSH, copy of store items"
  20195. msgstr ""
  20196. #. type: cindex
  20197. #: guix-git/doc/guix.texi:13938
  20198. #, no-wrap
  20199. msgid "sharing store items across machines"
  20200. msgstr ""
  20201. #. type: cindex
  20202. #: guix-git/doc/guix.texi:13939
  20203. #, no-wrap
  20204. msgid "transferring store items across machines"
  20205. msgstr ""
  20206. #. type: Plain text
  20207. #: guix-git/doc/guix.texi:13946
  20208. 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}:"
  20209. msgstr ""
  20210. #. type: example
  20211. #: guix-git/doc/guix.texi:13950
  20212. #, no-wrap
  20213. msgid ""
  20214. "guix copy --to=@var{user}@@@var{host} \\\n"
  20215. " coreutils $(readlink -f ~/.guix-profile)\n"
  20216. msgstr ""
  20217. #. type: Plain text
  20218. #: guix-git/doc/guix.texi:13954
  20219. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  20220. msgstr ""
  20221. #. type: Plain text
  20222. #: guix-git/doc/guix.texi:13957
  20223. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  20224. msgstr ""
  20225. #. type: example
  20226. #: guix-git/doc/guix.texi:13960
  20227. #, no-wrap
  20228. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  20229. msgstr ""
  20230. #. type: Plain text
  20231. #: guix-git/doc/guix.texi:13965
  20232. 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."
  20233. msgstr ""
  20234. #. type: Plain text
  20235. #: guix-git/doc/guix.texi:13971
  20236. 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."
  20237. msgstr ""
  20238. #. type: example
  20239. #: guix-git/doc/guix.texi:13976
  20240. #, no-wrap
  20241. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  20242. msgstr ""
  20243. #. type: Plain text
  20244. #: guix-git/doc/guix.texi:13979
  20245. msgid "You must always specify one of the following options:"
  20246. msgstr ""
  20247. #. type: item
  20248. #: guix-git/doc/guix.texi:13981
  20249. #, no-wrap
  20250. msgid "--to=@var{spec}"
  20251. msgstr ""
  20252. #. type: itemx
  20253. #: guix-git/doc/guix.texi:13982
  20254. #, no-wrap
  20255. msgid "--from=@var{spec}"
  20256. msgstr ""
  20257. #. type: table
  20258. #: guix-git/doc/guix.texi:13986
  20259. 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}."
  20260. msgstr ""
  20261. #. type: Plain text
  20262. #: guix-git/doc/guix.texi:13990
  20263. 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}."
  20264. msgstr ""
  20265. #. type: Plain text
  20266. #: guix-git/doc/guix.texi:13994
  20267. 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})."
  20268. msgstr ""
  20269. #. type: section
  20270. #: guix-git/doc/guix.texi:13997
  20271. #, no-wrap
  20272. msgid "Invoking @command{guix container}"
  20273. msgstr ""
  20274. #. type: command{#1}
  20275. #: guix-git/doc/guix.texi:13999
  20276. #, no-wrap
  20277. msgid "guix container"
  20278. msgstr ""
  20279. #. type: quotation
  20280. #: guix-git/doc/guix.texi:14003
  20281. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  20282. msgstr ""
  20283. #. type: Plain text
  20284. #: guix-git/doc/guix.texi:14010
  20285. msgid "The purpose of @command{guix container} is to manipulate processes running within an isolated environment, commonly known as a ``container'', typically created by the @command{guix shell} (@pxref{Invoking guix shell}) and @command{guix system container} (@pxref{Invoking guix system}) commands."
  20286. msgstr ""
  20287. #. type: example
  20288. #: guix-git/doc/guix.texi:14015
  20289. #, no-wrap
  20290. msgid "guix container @var{action} @var{options}@dots{}\n"
  20291. msgstr ""
  20292. #. type: Plain text
  20293. #: guix-git/doc/guix.texi:14019
  20294. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  20295. msgstr ""
  20296. #. type: Plain text
  20297. #: guix-git/doc/guix.texi:14021
  20298. msgid "The following actions are available:"
  20299. msgstr ""
  20300. #. type: item
  20301. #: guix-git/doc/guix.texi:14023
  20302. #, no-wrap
  20303. msgid "exec"
  20304. msgstr ""
  20305. #. type: table
  20306. #: guix-git/doc/guix.texi:14025
  20307. msgid "Execute a command within the context of a running container."
  20308. msgstr ""
  20309. #. type: table
  20310. #: guix-git/doc/guix.texi:14027
  20311. msgid "The syntax is:"
  20312. msgstr ""
  20313. #. type: example
  20314. #: guix-git/doc/guix.texi:14030
  20315. #, no-wrap
  20316. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  20317. msgstr ""
  20318. #. type: table
  20319. #: guix-git/doc/guix.texi:14036
  20320. 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}."
  20321. msgstr ""
  20322. #. type: table
  20323. #: guix-git/doc/guix.texi:14040
  20324. 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:"
  20325. msgstr ""
  20326. #. type: example
  20327. #: guix-git/doc/guix.texi:14043
  20328. #, no-wrap
  20329. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  20330. msgstr ""
  20331. #. type: table
  20332. #: guix-git/doc/guix.texi:14047
  20333. 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."
  20334. msgstr ""
  20335. #. type: section
  20336. #: guix-git/doc/guix.texi:14051
  20337. #, no-wrap
  20338. msgid "Invoking @command{guix weather}"
  20339. msgstr ""
  20340. #. type: Plain text
  20341. #: guix-git/doc/guix.texi:14060
  20342. 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})."
  20343. msgstr ""
  20344. #. type: cindex
  20345. #: guix-git/doc/guix.texi:14061
  20346. #, no-wrap
  20347. msgid "statistics, for substitutes"
  20348. msgstr ""
  20349. #. type: cindex
  20350. #: guix-git/doc/guix.texi:14062
  20351. #, no-wrap
  20352. msgid "availability of substitutes"
  20353. msgstr ""
  20354. #. type: cindex
  20355. #: guix-git/doc/guix.texi:14063
  20356. #, no-wrap
  20357. msgid "substitute availability"
  20358. msgstr ""
  20359. #. type: cindex
  20360. #: guix-git/doc/guix.texi:14064
  20361. #, no-wrap
  20362. msgid "weather, substitute availability"
  20363. msgstr ""
  20364. #. type: Plain text
  20365. #: guix-git/doc/guix.texi:14066
  20366. msgid "Here's a sample run:"
  20367. msgstr ""
  20368. #. type: example
  20369. #: guix-git/doc/guix.texi:14078
  20370. #, no-wrap
  20371. msgid ""
  20372. "$ guix weather --substitute-urls=https://guix.example.org\n"
  20373. "computing 5,872 package derivations for x86_64-linux...\n"
  20374. "looking for 6,128 store items on https://guix.example.org..\n"
  20375. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  20376. "https://guix.example.org\n"
  20377. " 43.4% substitutes available (2,658 out of 6,128)\n"
  20378. " 7,032.5 MiB of nars (compressed)\n"
  20379. " 19,824.2 MiB on disk (uncompressed)\n"
  20380. " 0.030 seconds per request (182.9 seconds in total)\n"
  20381. " 33.5 requests per second\n"
  20382. "\n"
  20383. msgstr ""
  20384. #. type: example
  20385. #: guix-git/doc/guix.texi:14088
  20386. #, no-wrap
  20387. msgid ""
  20388. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  20389. " 867 queued builds\n"
  20390. " x86_64-linux: 518 (59.7%)\n"
  20391. " i686-linux: 221 (25.5%)\n"
  20392. " aarch64-linux: 128 (14.8%)\n"
  20393. " build rate: 23.41 builds per hour\n"
  20394. " x86_64-linux: 11.16 builds per hour\n"
  20395. " i686-linux: 6.03 builds per hour\n"
  20396. " aarch64-linux: 6.41 builds per hour\n"
  20397. msgstr ""
  20398. #. type: cindex
  20399. #: guix-git/doc/guix.texi:14090
  20400. #, no-wrap
  20401. msgid "continuous integration, statistics"
  20402. msgstr ""
  20403. #. type: Plain text
  20404. #: guix-git/doc/guix.texi:14101
  20405. 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)."
  20406. msgstr ""
  20407. #. type: Plain text
  20408. #: guix-git/doc/guix.texi:14107
  20409. 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."
  20410. msgstr ""
  20411. #. type: example
  20412. #: guix-git/doc/guix.texi:14112
  20413. #, no-wrap
  20414. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  20415. msgstr ""
  20416. #. type: Plain text
  20417. #: guix-git/doc/guix.texi:14120
  20418. 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%."
  20419. msgstr ""
  20420. #. type: Plain text
  20421. #: guix-git/doc/guix.texi:14122
  20422. msgid "The available options are listed below."
  20423. msgstr ""
  20424. #. type: table
  20425. #: guix-git/doc/guix.texi:14128
  20426. 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."
  20427. msgstr ""
  20428. #. type: table
  20429. #: guix-git/doc/guix.texi:14134
  20430. 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."
  20431. msgstr ""
  20432. #. type: table
  20433. #: guix-git/doc/guix.texi:14140
  20434. 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})."
  20435. msgstr ""
  20436. #. type: table
  20437. #: guix-git/doc/guix.texi:14143
  20438. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  20439. msgstr ""
  20440. #. type: item
  20441. #: guix-git/doc/guix.texi:14144
  20442. #, no-wrap
  20443. msgid "--coverage[=@var{count}]"
  20444. msgstr ""
  20445. #. type: itemx
  20446. #: guix-git/doc/guix.texi:14145
  20447. #, no-wrap
  20448. msgid "-c [@var{count}]"
  20449. msgstr ""
  20450. #. type: table
  20451. #: guix-git/doc/guix.texi:14151
  20452. 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:"
  20453. msgstr ""
  20454. #. type: example
  20455. #: guix-git/doc/guix.texi:14165
  20456. #, no-wrap
  20457. msgid ""
  20458. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  20459. "computing 8,983 package derivations for x86_64-linux...\n"
  20460. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  20461. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  20462. "@value{SUBSTITUTE-URLS}\n"
  20463. " 64.7% substitutes available (6,047 out of 9,343)\n"
  20464. "@dots{}\n"
  20465. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  20466. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  20467. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  20468. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  20469. " @dots{}\n"
  20470. msgstr ""
  20471. #. type: table
  20472. #: guix-git/doc/guix.texi:14171
  20473. 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."
  20474. msgstr ""
  20475. #. type: table
  20476. #: guix-git/doc/guix.texi:14175
  20477. 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."
  20478. msgstr ""
  20479. #. type: item
  20480. #: guix-git/doc/guix.texi:14176
  20481. #, no-wrap
  20482. msgid "--display-missing"
  20483. msgstr ""
  20484. #. type: table
  20485. #: guix-git/doc/guix.texi:14178
  20486. msgid "Display the list of store items for which substitutes are missing."
  20487. msgstr ""
  20488. #. type: section
  20489. #: guix-git/doc/guix.texi:14181
  20490. #, no-wrap
  20491. msgid "Invoking @command{guix processes}"
  20492. msgstr ""
  20493. #. type: Plain text
  20494. #: guix-git/doc/guix.texi:14189
  20495. 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:"
  20496. msgstr ""
  20497. #. type: example
  20498. #: guix-git/doc/guix.texi:14195
  20499. #, no-wrap
  20500. msgid ""
  20501. "$ sudo guix processes\n"
  20502. "SessionPID: 19002\n"
  20503. "ClientPID: 19090\n"
  20504. "ClientCommand: guix shell python\n"
  20505. "\n"
  20506. msgstr ""
  20507. #. type: example
  20508. #: guix-git/doc/guix.texi:14199
  20509. #, no-wrap
  20510. msgid ""
  20511. "SessionPID: 19402\n"
  20512. "ClientPID: 19367\n"
  20513. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  20514. "\n"
  20515. msgstr ""
  20516. #. type: example
  20517. #: guix-git/doc/guix.texi:14212
  20518. #, no-wrap
  20519. msgid ""
  20520. "SessionPID: 19444\n"
  20521. "ClientPID: 19419\n"
  20522. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  20523. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  20524. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  20525. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  20526. "ChildPID: 20495\n"
  20527. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  20528. "ChildPID: 27733\n"
  20529. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  20530. "ChildPID: 27793\n"
  20531. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  20532. msgstr ""
  20533. #. type: Plain text
  20534. #: guix-git/doc/guix.texi:14219
  20535. 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."
  20536. msgstr ""
  20537. #. type: Plain text
  20538. #: guix-git/doc/guix.texi:14226
  20539. 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})."
  20540. msgstr ""
  20541. #. type: Plain text
  20542. #: guix-git/doc/guix.texi:14231
  20543. 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:"
  20544. msgstr ""
  20545. #. type: example
  20546. #: guix-git/doc/guix.texi:14237
  20547. #, no-wrap
  20548. msgid ""
  20549. "$ sudo guix processes | \\\n"
  20550. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  20551. "ClientPID: 19419\n"
  20552. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  20553. msgstr ""
  20554. #. type: Plain text
  20555. #: guix-git/doc/guix.texi:14240
  20556. msgid "Additional options are listed below."
  20557. msgstr ""
  20558. #. type: table
  20559. #: guix-git/doc/guix.texi:14250
  20560. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  20561. msgstr ""
  20562. #. type: item
  20563. #: guix-git/doc/guix.texi:14251
  20564. #, no-wrap
  20565. msgid "normalized"
  20566. msgstr ""
  20567. #. type: table
  20568. #: guix-git/doc/guix.texi:14258
  20569. 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}."
  20570. msgstr ""
  20571. #. type: example
  20572. #: guix-git/doc/guix.texi:14268
  20573. #, no-wrap
  20574. msgid ""
  20575. "$ guix processes --format=normalized | \\\n"
  20576. " recsel \\\n"
  20577. " -j Session \\\n"
  20578. " -t ChildProcess \\\n"
  20579. " -p Session.PID,PID \\\n"
  20580. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  20581. "PID: 4435\n"
  20582. "Session_PID: 4278\n"
  20583. "\n"
  20584. msgstr ""
  20585. #. type: example
  20586. #: guix-git/doc/guix.texi:14271
  20587. #, no-wrap
  20588. msgid ""
  20589. "PID: 4554\n"
  20590. "Session_PID: 4278\n"
  20591. "\n"
  20592. msgstr ""
  20593. #. type: example
  20594. #: guix-git/doc/guix.texi:14274
  20595. #, no-wrap
  20596. msgid ""
  20597. "PID: 4646\n"
  20598. "Session_PID: 4278\n"
  20599. msgstr ""
  20600. #. type: cindex
  20601. #: guix-git/doc/guix.texi:14281
  20602. #, no-wrap
  20603. msgid "system configuration"
  20604. msgstr ""
  20605. #. type: Plain text
  20606. #: guix-git/doc/guix.texi:14287
  20607. 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."
  20608. msgstr ""
  20609. #. type: Plain text
  20610. #: guix-git/doc/guix.texi:14297
  20611. 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."
  20612. msgstr ""
  20613. #. type: Plain text
  20614. #: guix-git/doc/guix.texi:14302
  20615. 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."
  20616. msgstr ""
  20617. #. type: Plain text
  20618. #: guix-git/doc/guix.texi:14332
  20619. 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:"
  20620. msgstr ""
  20621. #. type: code{#1}
  20622. #: guix-git/doc/guix.texi:14333 guix-git/doc/guix.texi:35553
  20623. #, no-wrap
  20624. msgid "operating-system"
  20625. msgstr ""
  20626. #. type: include
  20627. #: guix-git/doc/guix.texi:14335
  20628. #, no-wrap
  20629. msgid "os-config-bare-bones.texi"
  20630. msgstr ""
  20631. #. type: Plain text
  20632. #: guix-git/doc/guix.texi:14342
  20633. 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."
  20634. msgstr ""
  20635. #. type: Plain text
  20636. #: guix-git/doc/guix.texi:14347
  20637. 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}."
  20638. msgstr ""
  20639. #. type: unnumberedsubsec
  20640. #: guix-git/doc/guix.texi:14348
  20641. #, no-wrap
  20642. msgid "Bootloader"
  20643. msgstr ""
  20644. #. type: cindex
  20645. #: guix-git/doc/guix.texi:14350
  20646. #, no-wrap
  20647. msgid "legacy boot, on Intel machines"
  20648. msgstr ""
  20649. #. type: cindex
  20650. #: guix-git/doc/guix.texi:14351
  20651. #, no-wrap
  20652. msgid "BIOS boot, on Intel machines"
  20653. msgstr ""
  20654. #. type: cindex
  20655. #: guix-git/doc/guix.texi:14352
  20656. #, no-wrap
  20657. msgid "UEFI boot"
  20658. msgstr ""
  20659. #. type: cindex
  20660. #: guix-git/doc/guix.texi:14353
  20661. #, no-wrap
  20662. msgid "EFI boot"
  20663. msgstr ""
  20664. #. type: Plain text
  20665. #: guix-git/doc/guix.texi:14359
  20666. 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:"
  20667. msgstr ""
  20668. #. type: lisp
  20669. #: guix-git/doc/guix.texi:14364
  20670. #, no-wrap
  20671. msgid ""
  20672. "(bootloader-configuration\n"
  20673. " (bootloader grub-efi-bootloader)\n"
  20674. " (targets '(\"/boot/efi\")))\n"
  20675. msgstr ""
  20676. #. type: Plain text
  20677. #: guix-git/doc/guix.texi:14368
  20678. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  20679. msgstr ""
  20680. #. type: unnumberedsubsec
  20681. #: guix-git/doc/guix.texi:14369
  20682. #, no-wrap
  20683. msgid "Globally-Visible Packages"
  20684. msgstr ""
  20685. #. type: vindex
  20686. #: guix-git/doc/guix.texi:14371
  20687. #, no-wrap
  20688. msgid "%base-packages"
  20689. msgstr ""
  20690. #. type: Plain text
  20691. #: guix-git/doc/guix.texi:14384
  20692. 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:"
  20693. msgstr ""
  20694. #. type: lisp
  20695. #: guix-git/doc/guix.texi:14388
  20696. #, no-wrap
  20697. msgid ""
  20698. "(use-modules (gnu packages))\n"
  20699. "(use-modules (gnu packages dns))\n"
  20700. "\n"
  20701. msgstr ""
  20702. #. type: lisp
  20703. #: guix-git/doc/guix.texi:14393
  20704. #, no-wrap
  20705. msgid ""
  20706. "(operating-system\n"
  20707. " ;; ...\n"
  20708. " (packages (cons (list isc-bind \"utils\")\n"
  20709. " %base-packages)))\n"
  20710. msgstr ""
  20711. #. type: findex
  20712. #: guix-git/doc/guix.texi:14395
  20713. #, no-wrap
  20714. msgid "specification->package"
  20715. msgstr ""
  20716. #. type: Plain text
  20717. #: guix-git/doc/guix.texi:14404
  20718. 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:"
  20719. msgstr ""
  20720. #. type: lisp
  20721. #: guix-git/doc/guix.texi:14407
  20722. #, no-wrap
  20723. msgid ""
  20724. "(use-modules (gnu packages))\n"
  20725. "\n"
  20726. msgstr ""
  20727. #. type: lisp
  20728. #: guix-git/doc/guix.texi:14413
  20729. #, no-wrap
  20730. msgid ""
  20731. "(operating-system\n"
  20732. " ;; ...\n"
  20733. " (packages (append (map specification->package\n"
  20734. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  20735. " %base-packages)))\n"
  20736. msgstr ""
  20737. #. type: unnumberedsubsec
  20738. #: guix-git/doc/guix.texi:14415
  20739. #, no-wrap
  20740. msgid "System Services"
  20741. msgstr ""
  20742. #. type: cindex
  20743. #: guix-git/doc/guix.texi:14417 guix-git/doc/guix.texi:34307
  20744. #: guix-git/doc/guix.texi:35783
  20745. #, no-wrap
  20746. msgid "services"
  20747. msgstr ""
  20748. #. type: vindex
  20749. #: guix-git/doc/guix.texi:14418
  20750. #, no-wrap
  20751. msgid "%base-services"
  20752. msgstr ""
  20753. #. type: Plain text
  20754. #: guix-git/doc/guix.texi:14428
  20755. 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})."
  20756. msgstr ""
  20757. #. type: cindex
  20758. #: guix-git/doc/guix.texi:14429
  20759. #, no-wrap
  20760. msgid "customization, of services"
  20761. msgstr ""
  20762. #. type: findex
  20763. #: guix-git/doc/guix.texi:14430
  20764. #, no-wrap
  20765. msgid "modify-services"
  20766. msgstr ""
  20767. #. type: Plain text
  20768. #: guix-git/doc/guix.texi:14434
  20769. 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."
  20770. msgstr ""
  20771. #. type: anchor{#1}
  20772. #: guix-git/doc/guix.texi:14440
  20773. msgid "auto-login to TTY"
  20774. msgstr ""
  20775. #. type: Plain text
  20776. #: guix-git/doc/guix.texi:14440
  20777. 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:"
  20778. msgstr ""
  20779. #. type: lisp
  20780. #: guix-git/doc/guix.texi:14457
  20781. #, no-wrap
  20782. msgid ""
  20783. "(define %my-services\n"
  20784. " ;; My very own list of services.\n"
  20785. " (modify-services %base-services\n"
  20786. " (guix-service-type config =>\n"
  20787. " (guix-configuration\n"
  20788. " (inherit config)\n"
  20789. " ;; Fetch substitutes from example.org.\n"
  20790. " (substitute-urls\n"
  20791. " (list \"https://example.org/guix\"\n"
  20792. " \"https://ci.guix.gnu.org\"))))\n"
  20793. " (mingetty-service-type config =>\n"
  20794. " (mingetty-configuration\n"
  20795. " (inherit config)\n"
  20796. " ;; Automatially log in as \"guest\".\n"
  20797. " (auto-login \"guest\")))))\n"
  20798. "\n"
  20799. msgstr ""
  20800. #. type: lisp
  20801. #: guix-git/doc/guix.texi:14461
  20802. #, no-wrap
  20803. msgid ""
  20804. "(operating-system\n"
  20805. " ;; @dots{}\n"
  20806. " (services %my-services))\n"
  20807. msgstr ""
  20808. #. type: Plain text
  20809. #: guix-git/doc/guix.texi:14474
  20810. 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."
  20811. msgstr ""
  20812. #. type: Plain text
  20813. #: guix-git/doc/guix.texi:14481
  20814. msgid "The configuration for a typical ``desktop'' usage, with an encrypted root partition, a swap file on the root partition, the X11 display server, GNOME and Xfce (users can choose which of these desktop environments to use at the log-in screen by pressing @kbd{F1}), network management, power management, and more, would look like this:"
  20815. msgstr ""
  20816. #. type: include
  20817. #: guix-git/doc/guix.texi:14483
  20818. #, no-wrap
  20819. msgid "os-config-desktop.texi"
  20820. msgstr ""
  20821. #. type: Plain text
  20822. #: guix-git/doc/guix.texi:14488
  20823. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  20824. msgstr ""
  20825. #. type: include
  20826. #: guix-git/doc/guix.texi:14490
  20827. #, no-wrap
  20828. msgid "os-config-lightweight-desktop.texi"
  20829. msgstr ""
  20830. #. type: Plain text
  20831. #: guix-git/doc/guix.texi:14496
  20832. 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."
  20833. msgstr ""
  20834. #. type: Plain text
  20835. #: guix-git/doc/guix.texi:14500
  20836. 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."
  20837. msgstr ""
  20838. #. type: Plain text
  20839. #: guix-git/doc/guix.texi:14507
  20840. 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:"
  20841. msgstr ""
  20842. #. type: lisp
  20843. #: guix-git/doc/guix.texi:14512
  20844. #, no-wrap
  20845. msgid ""
  20846. "(remove (lambda (service)\n"
  20847. " (eq? (service-kind service) avahi-service-type))\n"
  20848. " %desktop-services)\n"
  20849. msgstr ""
  20850. #. type: Plain text
  20851. #: guix-git/doc/guix.texi:14515
  20852. msgid "Alternatively, the @code{modify-services} macro can be used:"
  20853. msgstr ""
  20854. #. type: lisp
  20855. #: guix-git/doc/guix.texi:14519
  20856. #, no-wrap
  20857. msgid ""
  20858. "(modify-services %desktop-services\n"
  20859. " (delete avahi-service-type))\n"
  20860. msgstr ""
  20861. #. type: unnumberedsubsec
  20862. #: guix-git/doc/guix.texi:14522
  20863. #, no-wrap
  20864. msgid "Instantiating the System"
  20865. msgstr ""
  20866. #. type: Plain text
  20867. #: guix-git/doc/guix.texi:14529
  20868. 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})."
  20869. msgstr ""
  20870. #. type: Plain text
  20871. #: guix-git/doc/guix.texi:14537
  20872. 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."
  20873. msgstr ""
  20874. #. type: cindex
  20875. #: guix-git/doc/guix.texi:14538
  20876. #, no-wrap
  20877. msgid "roll-back, of the operating system"
  20878. msgstr ""
  20879. #. type: Plain text
  20880. #: guix-git/doc/guix.texi:14548
  20881. 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}."
  20882. msgstr ""
  20883. #. type: Plain text
  20884. #: guix-git/doc/guix.texi:14554
  20885. 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})."
  20886. msgstr ""
  20887. #. type: unnumberedsubsec
  20888. #: guix-git/doc/guix.texi:14555
  20889. #, no-wrap
  20890. msgid "The Programming Interface"
  20891. msgstr ""
  20892. #. type: Plain text
  20893. #: guix-git/doc/guix.texi:14560
  20894. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  20895. msgstr ""
  20896. #. type: deffn
  20897. #: guix-git/doc/guix.texi:14561
  20898. #, no-wrap
  20899. msgid "{Monadic Procedure} operating-system-derivation os"
  20900. msgstr ""
  20901. #. type: deffn
  20902. #: guix-git/doc/guix.texi:14564
  20903. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  20904. msgstr ""
  20905. #. type: deffn
  20906. #: guix-git/doc/guix.texi:14568
  20907. 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}."
  20908. msgstr ""
  20909. #. type: Plain text
  20910. #: guix-git/doc/guix.texi:14573
  20911. 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!"
  20912. msgstr ""
  20913. #. type: section
  20914. #: guix-git/doc/guix.texi:14576
  20915. #, no-wrap
  20916. msgid "@code{operating-system} Reference"
  20917. msgstr ""
  20918. #. type: Plain text
  20919. #: guix-git/doc/guix.texi:14581
  20920. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  20921. msgstr ""
  20922. #. type: deftp
  20923. #: guix-git/doc/guix.texi:14582
  20924. #, no-wrap
  20925. msgid "{Data Type} operating-system"
  20926. msgstr ""
  20927. #. type: deftp
  20928. #: guix-git/doc/guix.texi:14586
  20929. 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})."
  20930. msgstr ""
  20931. #. type: item
  20932. #: guix-git/doc/guix.texi:14588
  20933. #, no-wrap
  20934. msgid "@code{kernel} (default: @code{linux-libre})"
  20935. msgstr ""
  20936. #. type: table
  20937. #: guix-git/doc/guix.texi:14593
  20938. 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.}."
  20939. msgstr ""
  20940. #. type: code{#1}
  20941. #: guix-git/doc/guix.texi:14594 guix-git/doc/guix.texi:30733
  20942. #, no-wrap
  20943. msgid "hurd"
  20944. msgstr ""
  20945. #. type: item
  20946. #: guix-git/doc/guix.texi:14595
  20947. #, no-wrap
  20948. msgid "@code{hurd} (default: @code{#f})"
  20949. msgstr ""
  20950. #. type: table
  20951. #: guix-git/doc/guix.texi:14600
  20952. 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."
  20953. msgstr ""
  20954. #. type: quotation
  20955. #: guix-git/doc/guix.texi:14603
  20956. msgid "This feature is experimental and only supported for disk images."
  20957. msgstr ""
  20958. #. type: item
  20959. #: guix-git/doc/guix.texi:14605
  20960. #, no-wrap
  20961. msgid "@code{kernel-loadable-modules} (default: '())"
  20962. msgstr ""
  20963. #. type: table
  20964. #: guix-git/doc/guix.texi:14608
  20965. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  20966. msgstr ""
  20967. #. type: item
  20968. #: guix-git/doc/guix.texi:14609
  20969. #, no-wrap
  20970. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  20971. msgstr ""
  20972. #. type: table
  20973. #: guix-git/doc/guix.texi:14612
  20974. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  20975. msgstr ""
  20976. #. type: code{#1}
  20977. #: guix-git/doc/guix.texi:14613 guix-git/doc/guix.texi:34539
  20978. #: guix-git/doc/guix.texi:34558
  20979. #, no-wrap
  20980. msgid "bootloader"
  20981. msgstr ""
  20982. #. type: table
  20983. #: guix-git/doc/guix.texi:14615
  20984. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  20985. msgstr ""
  20986. #. type: code{#1}
  20987. #: guix-git/doc/guix.texi:14616 guix-git/doc/guix.texi:34732
  20988. #, no-wrap
  20989. msgid "label"
  20990. msgstr ""
  20991. #. type: table
  20992. #: guix-git/doc/guix.texi:14619
  20993. 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."
  20994. msgstr ""
  20995. #. type: item
  20996. #: guix-git/doc/guix.texi:14620 guix-git/doc/guix.texi:16318
  20997. #: guix-git/doc/guix.texi:19503 guix-git/doc/guix.texi:34662
  20998. #, no-wrap
  20999. msgid "@code{keyboard-layout} (default: @code{#f})"
  21000. msgstr ""
  21001. #. type: table
  21002. #: guix-git/doc/guix.texi:14625
  21003. 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."
  21004. msgstr ""
  21005. #. type: table
  21006. #: guix-git/doc/guix.texi:14630
  21007. 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})."
  21008. msgstr ""
  21009. #. type: quotation
  21010. #: guix-git/doc/guix.texi:14637
  21011. 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."
  21012. msgstr ""
  21013. #. type: item
  21014. #: guix-git/doc/guix.texi:14639
  21015. #, no-wrap
  21016. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  21017. msgstr ""
  21018. #. type: cindex
  21019. #: guix-git/doc/guix.texi:14640 guix-git/doc/guix.texi:34344
  21020. #: guix-git/doc/guix.texi:34467
  21021. #, no-wrap
  21022. msgid "initrd"
  21023. msgstr ""
  21024. #. type: cindex
  21025. #: guix-git/doc/guix.texi:14641 guix-git/doc/guix.texi:34345
  21026. #: guix-git/doc/guix.texi:34468
  21027. #, no-wrap
  21028. msgid "initial RAM disk"
  21029. msgstr ""
  21030. #. type: table
  21031. #: guix-git/doc/guix.texi:14644
  21032. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  21033. msgstr ""
  21034. #. type: item
  21035. #: guix-git/doc/guix.texi:14645
  21036. #, no-wrap
  21037. msgid "@code{initrd} (default: @code{base-initrd})"
  21038. msgstr ""
  21039. #. type: table
  21040. #: guix-git/doc/guix.texi:14649
  21041. 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}."
  21042. msgstr ""
  21043. #. type: item
  21044. #: guix-git/doc/guix.texi:14650
  21045. #, no-wrap
  21046. msgid "@code{firmware} (default: @code{%base-firmware})"
  21047. msgstr ""
  21048. #. type: cindex
  21049. #: guix-git/doc/guix.texi:14651
  21050. #, no-wrap
  21051. msgid "firmware"
  21052. msgstr ""
  21053. #. type: table
  21054. #: guix-git/doc/guix.texi:14653
  21055. msgid "List of firmware packages loadable by the operating system kernel."
  21056. msgstr ""
  21057. #. type: table
  21058. #: guix-git/doc/guix.texi:14658
  21059. 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."
  21060. msgstr ""
  21061. #. type: code{#1}
  21062. #: guix-git/doc/guix.texi:14659 guix-git/doc/guix.texi:35572
  21063. #, no-wrap
  21064. msgid "host-name"
  21065. msgstr ""
  21066. #. type: table
  21067. #: guix-git/doc/guix.texi:14661
  21068. msgid "The host name."
  21069. msgstr ""
  21070. #. type: code{#1}
  21071. #: guix-git/doc/guix.texi:14662
  21072. #, no-wrap
  21073. msgid "hosts-file"
  21074. msgstr ""
  21075. #. type: cindex
  21076. #: guix-git/doc/guix.texi:14663
  21077. #, no-wrap
  21078. msgid "hosts file"
  21079. msgstr ""
  21080. #. type: table
  21081. #: guix-git/doc/guix.texi:14668
  21082. 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}."
  21083. msgstr ""
  21084. #. type: item
  21085. #: guix-git/doc/guix.texi:14669
  21086. #, no-wrap
  21087. msgid "@code{mapped-devices} (default: @code{'()})"
  21088. msgstr ""
  21089. #. type: table
  21090. #: guix-git/doc/guix.texi:14671
  21091. msgid "A list of mapped devices. @xref{Mapped Devices}."
  21092. msgstr ""
  21093. #. type: code{#1}
  21094. #: guix-git/doc/guix.texi:14672
  21095. #, no-wrap
  21096. msgid "file-systems"
  21097. msgstr ""
  21098. #. type: table
  21099. #: guix-git/doc/guix.texi:14674
  21100. msgid "A list of file systems. @xref{File Systems}."
  21101. msgstr ""
  21102. #. type: item
  21103. #: guix-git/doc/guix.texi:14675
  21104. #, no-wrap
  21105. msgid "@code{swap-devices} (default: @code{'()})"
  21106. msgstr ""
  21107. #. type: cindex
  21108. #: guix-git/doc/guix.texi:14676
  21109. #, no-wrap
  21110. msgid "swap devices"
  21111. msgstr ""
  21112. #. type: table
  21113. #: guix-git/doc/guix.texi:14678
  21114. msgid "A list of swap spaces. @xref{Swap Space}."
  21115. msgstr ""
  21116. #. type: item
  21117. #: guix-git/doc/guix.texi:14679
  21118. #, no-wrap
  21119. msgid "@code{users} (default: @code{%base-user-accounts})"
  21120. msgstr ""
  21121. #. type: itemx
  21122. #: guix-git/doc/guix.texi:14680
  21123. #, no-wrap
  21124. msgid "@code{groups} (default: @code{%base-groups})"
  21125. msgstr ""
  21126. #. type: table
  21127. #: guix-git/doc/guix.texi:14682
  21128. msgid "List of user accounts and groups. @xref{User Accounts}."
  21129. msgstr ""
  21130. #. type: table
  21131. #: guix-git/doc/guix.texi:14685
  21132. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  21133. msgstr ""
  21134. #. type: item
  21135. #: guix-git/doc/guix.texi:14686
  21136. #, no-wrap
  21137. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  21138. msgstr ""
  21139. #. type: table
  21140. #: guix-git/doc/guix.texi:14690
  21141. 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."
  21142. msgstr ""
  21143. #. type: table
  21144. #: guix-git/doc/guix.texi:14692
  21145. msgid "For instance, a valid value may look like this:"
  21146. msgstr ""
  21147. #. type: lisp
  21148. #: guix-git/doc/guix.texi:14698
  21149. #, no-wrap
  21150. msgid ""
  21151. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  21152. " (\".guile\" ,(plain-file \"guile\"\n"
  21153. " \"(use-modules (ice-9 readline))\n"
  21154. " (activate-readline)\")))\n"
  21155. msgstr ""
  21156. #. type: item
  21157. #: guix-git/doc/guix.texi:14700
  21158. #, no-wrap
  21159. msgid "@code{issue} (default: @code{%default-issue})"
  21160. msgstr ""
  21161. #. type: table
  21162. #: guix-git/doc/guix.texi:14703
  21163. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  21164. msgstr ""
  21165. #. type: item
  21166. #: guix-git/doc/guix.texi:14704
  21167. #, no-wrap
  21168. msgid "@code{packages} (default: @code{%base-packages})"
  21169. msgstr ""
  21170. #. type: table
  21171. #: guix-git/doc/guix.texi:14708
  21172. 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:"
  21173. msgstr ""
  21174. #. type: lisp
  21175. #: guix-git/doc/guix.texi:14713
  21176. #, no-wrap
  21177. msgid ""
  21178. "(cons* git ; the default \"out\" output\n"
  21179. " (list git \"send-email\") ; another output of git\n"
  21180. " %base-packages) ; the default set\n"
  21181. msgstr ""
  21182. #. type: table
  21183. #: guix-git/doc/guix.texi:14718
  21184. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  21185. msgstr ""
  21186. #. type: code{#1}
  21187. #: guix-git/doc/guix.texi:14719
  21188. #, no-wrap
  21189. msgid "timezone"
  21190. msgstr ""
  21191. #. type: table
  21192. #: guix-git/doc/guix.texi:14721
  21193. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  21194. msgstr ""
  21195. #. type: table
  21196. #: guix-git/doc/guix.texi:14725
  21197. 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."
  21198. msgstr ""
  21199. #. type: item
  21200. #: guix-git/doc/guix.texi:14726 guix-git/doc/guix.texi:21115
  21201. #, no-wrap
  21202. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  21203. msgstr ""
  21204. #. type: table
  21205. #: guix-git/doc/guix.texi:14729
  21206. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  21207. msgstr ""
  21208. #. type: item
  21209. #: guix-git/doc/guix.texi:14730
  21210. #, no-wrap
  21211. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  21212. msgstr ""
  21213. #. type: table
  21214. #: guix-git/doc/guix.texi:14733
  21215. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  21216. msgstr ""
  21217. #. type: item
  21218. #: guix-git/doc/guix.texi:14734
  21219. #, no-wrap
  21220. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  21221. msgstr ""
  21222. #. type: table
  21223. #: guix-git/doc/guix.texi:14738
  21224. 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."
  21225. msgstr ""
  21226. #. type: item
  21227. #: guix-git/doc/guix.texi:14739
  21228. #, no-wrap
  21229. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  21230. msgstr ""
  21231. #. type: table
  21232. #: guix-git/doc/guix.texi:14743
  21233. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  21234. msgstr ""
  21235. #. type: item
  21236. #: guix-git/doc/guix.texi:14744
  21237. #, no-wrap
  21238. msgid "@code{services} (default: @code{%base-services})"
  21239. msgstr ""
  21240. #. type: table
  21241. #: guix-git/doc/guix.texi:14746
  21242. msgid "A list of service objects denoting system services. @xref{Services}."
  21243. msgstr ""
  21244. #. type: cindex
  21245. #: guix-git/doc/guix.texi:14747
  21246. #, no-wrap
  21247. msgid "essential services"
  21248. msgstr ""
  21249. #. type: item
  21250. #: guix-git/doc/guix.texi:14748
  21251. #, no-wrap
  21252. msgid "@code{essential-services} (default: ...)"
  21253. msgstr ""
  21254. #. type: table
  21255. #: guix-git/doc/guix.texi:14753
  21256. 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."
  21257. msgstr ""
  21258. #. type: item
  21259. #: guix-git/doc/guix.texi:14754
  21260. #, no-wrap
  21261. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  21262. msgstr ""
  21263. #. type: cindex
  21264. #: guix-git/doc/guix.texi:14755
  21265. #, no-wrap
  21266. msgid "PAM"
  21267. msgstr ""
  21268. #. type: cindex
  21269. #: guix-git/doc/guix.texi:14756
  21270. #, no-wrap
  21271. msgid "pluggable authentication modules"
  21272. msgstr ""
  21273. #. type: table
  21274. #: guix-git/doc/guix.texi:14759
  21275. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  21276. msgstr ""
  21277. #. type: item
  21278. #: guix-git/doc/guix.texi:14760
  21279. #, no-wrap
  21280. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  21281. msgstr ""
  21282. #. type: table
  21283. #: guix-git/doc/guix.texi:14763
  21284. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  21285. msgstr ""
  21286. #. type: item
  21287. #: guix-git/doc/guix.texi:14764
  21288. #, no-wrap
  21289. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  21290. msgstr ""
  21291. #. type: cindex
  21292. #: guix-git/doc/guix.texi:14765
  21293. #, no-wrap
  21294. msgid "sudoers file"
  21295. msgstr ""
  21296. #. type: table
  21297. #: guix-git/doc/guix.texi:14768
  21298. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  21299. msgstr ""
  21300. #. type: table
  21301. #: guix-git/doc/guix.texi:14773
  21302. 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}."
  21303. msgstr ""
  21304. #. type: deffn
  21305. #: guix-git/doc/guix.texi:14776
  21306. #, no-wrap
  21307. msgid "{Scheme Syntax} this-operating-system"
  21308. msgstr ""
  21309. #. type: deffn
  21310. #: guix-git/doc/guix.texi:14779
  21311. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  21312. msgstr ""
  21313. #. type: deffn
  21314. #: guix-git/doc/guix.texi:14782
  21315. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  21316. msgstr ""
  21317. #. type: lisp
  21318. #: guix-git/doc/guix.texi:14785 guix-git/doc/guix.texi:18711
  21319. #, no-wrap
  21320. msgid ""
  21321. "(use-modules (gnu) (guix))\n"
  21322. "\n"
  21323. msgstr ""
  21324. #. type: lisp
  21325. #: guix-git/doc/guix.texi:14790
  21326. #, no-wrap
  21327. msgid ""
  21328. "(operating-system\n"
  21329. " ;; ...\n"
  21330. " (label (package-full-name\n"
  21331. " (operating-system-kernel this-operating-system))))\n"
  21332. msgstr ""
  21333. #. type: deffn
  21334. #: guix-git/doc/guix.texi:14794
  21335. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  21336. msgstr ""
  21337. #. type: Plain text
  21338. #: guix-git/doc/guix.texi:14805
  21339. 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:"
  21340. msgstr ""
  21341. #. type: lisp
  21342. #: guix-git/doc/guix.texi:14811
  21343. #, no-wrap
  21344. msgid ""
  21345. "(file-system\n"
  21346. " (mount-point \"/home\")\n"
  21347. " (device \"/dev/sda3\")\n"
  21348. " (type \"ext4\"))\n"
  21349. msgstr ""
  21350. #. type: Plain text
  21351. #: guix-git/doc/guix.texi:14815
  21352. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  21353. msgstr ""
  21354. #. type: deftp
  21355. #: guix-git/doc/guix.texi:14816
  21356. #, no-wrap
  21357. msgid "{Data Type} file-system"
  21358. msgstr ""
  21359. #. type: deftp
  21360. #: guix-git/doc/guix.texi:14819
  21361. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  21362. msgstr ""
  21363. #. type: item
  21364. #: guix-git/doc/guix.texi:14821 guix-git/doc/guix.texi:15201
  21365. #: guix-git/doc/guix.texi:17317
  21366. #, no-wrap
  21367. msgid "type"
  21368. msgstr ""
  21369. #. type: table
  21370. #: guix-git/doc/guix.texi:14824
  21371. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  21372. msgstr ""
  21373. #. type: code{#1}
  21374. #: guix-git/doc/guix.texi:14825
  21375. #, no-wrap
  21376. msgid "mount-point"
  21377. msgstr ""
  21378. #. type: table
  21379. #: guix-git/doc/guix.texi:14827
  21380. msgid "This designates the place where the file system is to be mounted."
  21381. msgstr ""
  21382. #. type: item
  21383. #: guix-git/doc/guix.texi:14828 guix-git/doc/guix.texi:17267
  21384. #, no-wrap
  21385. msgid "device"
  21386. msgstr ""
  21387. #. type: table
  21388. #: guix-git/doc/guix.texi:14838
  21389. 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.}."
  21390. msgstr ""
  21391. #. type: findex
  21392. #: guix-git/doc/guix.texi:14839
  21393. #, no-wrap
  21394. msgid "file-system-label"
  21395. msgstr ""
  21396. #. type: table
  21397. #: guix-git/doc/guix.texi:14844
  21398. 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:"
  21399. msgstr ""
  21400. #. type: lisp
  21401. #: guix-git/doc/guix.texi:14850
  21402. #, no-wrap
  21403. msgid ""
  21404. "(file-system\n"
  21405. " (mount-point \"/home\")\n"
  21406. " (type \"ext4\")\n"
  21407. " (device (file-system-label \"my-home\")))\n"
  21408. msgstr ""
  21409. #. type: code{#1}
  21410. #: guix-git/doc/guix.texi:14852 guix-git/doc/guix.texi:33130
  21411. #: guix-git/doc/guix.texi:33146
  21412. #, no-wrap
  21413. msgid "uuid"
  21414. msgstr ""
  21415. #. type: table
  21416. #: guix-git/doc/guix.texi:14860
  21417. 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:"
  21418. msgstr ""
  21419. #. type: lisp
  21420. #: guix-git/doc/guix.texi:14866
  21421. #, no-wrap
  21422. msgid ""
  21423. "(file-system\n"
  21424. " (mount-point \"/home\")\n"
  21425. " (type \"ext4\")\n"
  21426. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  21427. msgstr ""
  21428. #. type: table
  21429. #: guix-git/doc/guix.texi:14874
  21430. 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."
  21431. msgstr ""
  21432. #. type: item
  21433. #: guix-git/doc/guix.texi:14875
  21434. #, no-wrap
  21435. msgid "@code{flags} (default: @code{'()})"
  21436. msgstr ""
  21437. #. type: table
  21438. #: guix-git/doc/guix.texi:14885
  21439. 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."
  21440. msgstr ""
  21441. #. type: item
  21442. #: guix-git/doc/guix.texi:14886
  21443. #, no-wrap
  21444. msgid "@code{options} (default: @code{#f})"
  21445. msgstr ""
  21446. #. type: table
  21447. #: guix-git/doc/guix.texi:14895
  21448. 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."
  21449. msgstr ""
  21450. #. type: item
  21451. #: guix-git/doc/guix.texi:14896
  21452. #, no-wrap
  21453. msgid "@code{mount?} (default: @code{#t})"
  21454. msgstr ""
  21455. #. type: table
  21456. #: guix-git/doc/guix.texi:14901
  21457. 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."
  21458. msgstr ""
  21459. #. type: item
  21460. #: guix-git/doc/guix.texi:14902
  21461. #, no-wrap
  21462. msgid "@code{needed-for-boot?} (default: @code{#f})"
  21463. msgstr ""
  21464. #. type: table
  21465. #: guix-git/doc/guix.texi:14907
  21466. 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."
  21467. msgstr ""
  21468. #. type: item
  21469. #: guix-git/doc/guix.texi:14908
  21470. #, no-wrap
  21471. msgid "@code{check?} (default: @code{#t})"
  21472. msgstr ""
  21473. #. type: table
  21474. #: guix-git/doc/guix.texi:14912
  21475. 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."
  21476. msgstr ""
  21477. #. type: item
  21478. #: guix-git/doc/guix.texi:14913
  21479. #, no-wrap
  21480. msgid "@code{skip-check-if-clean?} (default: @code{#t})"
  21481. msgstr ""
  21482. #. type: table
  21483. #: guix-git/doc/guix.texi:14918
  21484. 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."
  21485. msgstr ""
  21486. #. type: table
  21487. #: guix-git/doc/guix.texi:14922
  21488. 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!"
  21489. msgstr ""
  21490. #. type: table
  21491. #: guix-git/doc/guix.texi:14926
  21492. 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."
  21493. msgstr ""
  21494. #. type: item
  21495. #: guix-git/doc/guix.texi:14927
  21496. #, no-wrap
  21497. msgid "@code{repair} (default: @code{'preen})"
  21498. msgstr ""
  21499. #. type: table
  21500. #: guix-git/doc/guix.texi:14930
  21501. msgid "When @code{check?} finds errors, it can (try to) repair them and continue booting. This option controls when and how to do so."
  21502. msgstr ""
  21503. #. type: table
  21504. #: guix-git/doc/guix.texi:14934
  21505. 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."
  21506. msgstr ""
  21507. #. type: table
  21508. #: guix-git/doc/guix.texi:14937
  21509. 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."
  21510. msgstr ""
  21511. #. type: table
  21512. #: guix-git/doc/guix.texi:14941
  21513. 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''."
  21514. msgstr ""
  21515. #. type: item
  21516. #: guix-git/doc/guix.texi:14942
  21517. #, no-wrap
  21518. msgid "@code{create-mount-point?} (default: @code{#f})"
  21519. msgstr ""
  21520. #. type: table
  21521. #: guix-git/doc/guix.texi:14944
  21522. msgid "When true, the mount point is created if it does not exist yet."
  21523. msgstr ""
  21524. #. type: item
  21525. #: guix-git/doc/guix.texi:14945
  21526. #, no-wrap
  21527. msgid "@code{mount-may-fail?} (default: @code{#f})"
  21528. msgstr ""
  21529. #. type: table
  21530. #: guix-git/doc/guix.texi:14950
  21531. 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."
  21532. msgstr ""
  21533. #. type: item
  21534. #: guix-git/doc/guix.texi:14951 guix-git/doc/guix.texi:15347
  21535. #, no-wrap
  21536. msgid "@code{dependencies} (default: @code{'()})"
  21537. msgstr ""
  21538. #. type: table
  21539. #: guix-git/doc/guix.texi:14955
  21540. 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."
  21541. msgstr ""
  21542. #. type: table
  21543. #: guix-git/doc/guix.texi:14959
  21544. 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}."
  21545. msgstr ""
  21546. #. type: table
  21547. #: guix-git/doc/guix.texi:14962
  21548. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  21549. msgstr ""
  21550. #. type: deffn
  21551. #: guix-git/doc/guix.texi:14965
  21552. #, no-wrap
  21553. msgid "{Scheme Procedure} file-system-label @var{str}"
  21554. msgstr ""
  21555. #. type: deffn
  21556. #: guix-git/doc/guix.texi:14968
  21557. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  21558. msgstr ""
  21559. #. type: lisp
  21560. #: guix-git/doc/guix.texi:14972
  21561. #, no-wrap
  21562. msgid ""
  21563. "(file-system-label \"home\")\n"
  21564. "@result{} #<file-system-label \"home\">\n"
  21565. msgstr ""
  21566. #. type: deffn
  21567. #: guix-git/doc/guix.texi:14976
  21568. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  21569. msgstr ""
  21570. #. type: Plain text
  21571. #: guix-git/doc/guix.texi:14980
  21572. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  21573. msgstr ""
  21574. #. type: defvr
  21575. #: guix-git/doc/guix.texi:14981
  21576. #, no-wrap
  21577. msgid "{Scheme Variable} %base-file-systems"
  21578. msgstr ""
  21579. #. type: defvr
  21580. #: guix-git/doc/guix.texi:14986
  21581. 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."
  21582. msgstr ""
  21583. #. type: defvr
  21584. #: guix-git/doc/guix.texi:14988
  21585. #, no-wrap
  21586. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  21587. msgstr ""
  21588. #. type: defvr
  21589. #: guix-git/doc/guix.texi:14994
  21590. 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}."
  21591. msgstr ""
  21592. #. type: defvr
  21593. #: guix-git/doc/guix.texi:14996
  21594. #, no-wrap
  21595. msgid "{Scheme Variable} %shared-memory-file-system"
  21596. msgstr ""
  21597. #. type: defvr
  21598. #: guix-git/doc/guix.texi:15000
  21599. 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})."
  21600. msgstr ""
  21601. #. type: defvr
  21602. #: guix-git/doc/guix.texi:15002
  21603. #, no-wrap
  21604. msgid "{Scheme Variable} %immutable-store"
  21605. msgstr ""
  21606. #. type: defvr
  21607. #: guix-git/doc/guix.texi:15007
  21608. 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."
  21609. msgstr ""
  21610. #. type: defvr
  21611. #: guix-git/doc/guix.texi:15010
  21612. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  21613. msgstr ""
  21614. #. type: defvr
  21615. #: guix-git/doc/guix.texi:15012
  21616. #, no-wrap
  21617. msgid "{Scheme Variable} %binary-format-file-system"
  21618. msgstr ""
  21619. #. type: defvr
  21620. #: guix-git/doc/guix.texi:15016
  21621. 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."
  21622. msgstr ""
  21623. #. type: defvr
  21624. #: guix-git/doc/guix.texi:15018
  21625. #, no-wrap
  21626. msgid "{Scheme Variable} %fuse-control-file-system"
  21627. msgstr ""
  21628. #. type: defvr
  21629. #: guix-git/doc/guix.texi:15022
  21630. 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."
  21631. msgstr ""
  21632. #. type: Plain text
  21633. #: guix-git/doc/guix.texi:15026
  21634. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  21635. msgstr ""
  21636. #. type: deffn
  21637. #: guix-git/doc/guix.texi:15027
  21638. #, no-wrap
  21639. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  21640. msgstr ""
  21641. #. type: deffn
  21642. #: guix-git/doc/guix.texi:15030
  21643. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  21644. msgstr ""
  21645. #. type: lisp
  21646. #: guix-git/doc/guix.texi:15034
  21647. #, no-wrap
  21648. msgid ""
  21649. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  21650. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  21651. "\n"
  21652. msgstr ""
  21653. #. type: lisp
  21654. #: guix-git/doc/guix.texi:15037
  21655. #, no-wrap
  21656. msgid ""
  21657. "(uuid \"1234-ABCD\" 'fat)\n"
  21658. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  21659. msgstr ""
  21660. #. type: deffn
  21661. #: guix-git/doc/guix.texi:15041
  21662. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  21663. msgstr ""
  21664. #. type: deffn
  21665. #: guix-git/doc/guix.texi:15044
  21666. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  21667. msgstr ""
  21668. #. type: subsection
  21669. #: guix-git/doc/guix.texi:15047 guix-git/doc/guix.texi:15048
  21670. #, no-wrap
  21671. msgid "Btrfs file system"
  21672. msgstr ""
  21673. #. type: Plain text
  21674. #: guix-git/doc/guix.texi:15054
  21675. 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."
  21676. msgstr ""
  21677. #. type: Plain text
  21678. #: guix-git/doc/guix.texi:15057
  21679. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  21680. msgstr ""
  21681. #. type: lisp
  21682. #: guix-git/doc/guix.texi:15063
  21683. #, no-wrap
  21684. msgid ""
  21685. "(file-system\n"
  21686. " (mount-point \"/home\")\n"
  21687. " (type \"btrfs\")\n"
  21688. " (device (file-system-label \"my-home\")))\n"
  21689. msgstr ""
  21690. #. type: Plain text
  21691. #: guix-git/doc/guix.texi:15069
  21692. 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}):"
  21693. msgstr ""
  21694. #. type: lisp
  21695. #: guix-git/doc/guix.texi:15077
  21696. #, no-wrap
  21697. msgid ""
  21698. "(file-system\n"
  21699. " (device (file-system-label \"my-btrfs-pool\"))\n"
  21700. " (mount-point \"/\")\n"
  21701. " (type \"btrfs\")\n"
  21702. " (options \"subvol=rootfs\")\n"
  21703. " (dependencies mapped-devices))\n"
  21704. msgstr ""
  21705. #. type: Plain text
  21706. #: guix-git/doc/guix.texi:15088
  21707. 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."
  21708. msgstr ""
  21709. #. type: Plain text
  21710. #: guix-git/doc/guix.texi:15096
  21711. 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.:"
  21712. msgstr ""
  21713. #. type: example
  21714. #: guix-git/doc/guix.texi:15103
  21715. #, no-wrap
  21716. msgid ""
  21717. "/ (top level)\n"
  21718. "├── rootfs (subvolume directory)\n"
  21719. " ├── gnu (normal directory)\n"
  21720. " ├── store (normal directory)\n"
  21721. "[...]\n"
  21722. msgstr ""
  21723. #. type: Plain text
  21724. #: guix-git/doc/guix.texi:15108
  21725. 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."
  21726. msgstr ""
  21727. #. type: Plain text
  21728. #: guix-git/doc/guix.texi:15111
  21729. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  21730. msgstr ""
  21731. #. type: example
  21732. #: guix-git/doc/guix.texi:15118
  21733. #, no-wrap
  21734. msgid ""
  21735. "/ (top level)\n"
  21736. "├── rootfs (subvolume)\n"
  21737. " ├── gnu (normal directory)\n"
  21738. " ├── store (subvolume)\n"
  21739. "[...]\n"
  21740. msgstr ""
  21741. #. type: Plain text
  21742. #: guix-git/doc/guix.texi:15125
  21743. 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}."
  21744. msgstr ""
  21745. #. type: Plain text
  21746. #: guix-git/doc/guix.texi:15127
  21747. msgid "Finally, a more contrived example of nested subvolumes:"
  21748. msgstr ""
  21749. #. type: example
  21750. #: guix-git/doc/guix.texi:15134
  21751. #, no-wrap
  21752. msgid ""
  21753. "/ (top level)\n"
  21754. "├── root-snapshots (subvolume)\n"
  21755. " ├── root-current (subvolume)\n"
  21756. " ├── guix-store (subvolume)\n"
  21757. "[...]\n"
  21758. msgstr ""
  21759. #. type: Plain text
  21760. #: guix-git/doc/guix.texi:15141
  21761. 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:"
  21762. msgstr ""
  21763. #. type: lisp
  21764. #: guix-git/doc/guix.texi:15149
  21765. #, no-wrap
  21766. msgid ""
  21767. "(file-system\n"
  21768. " (device (file-system-label \"btrfs-pool-1\"))\n"
  21769. " (mount-point \"/gnu/store\")\n"
  21770. " (type \"btrfs\")\n"
  21771. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  21772. "compress-force=zstd,space_cache=v2\"))\n"
  21773. msgstr ""
  21774. #. type: cindex
  21775. #: guix-git/doc/guix.texi:15154
  21776. #, no-wrap
  21777. msgid "device mapping"
  21778. msgstr ""
  21779. #. type: cindex
  21780. #: guix-git/doc/guix.texi:15155
  21781. #, no-wrap
  21782. msgid "mapped devices"
  21783. msgstr ""
  21784. #. type: Plain text
  21785. #: guix-git/doc/guix.texi:15172
  21786. 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."
  21787. msgstr ""
  21788. #. type: Plain text
  21789. #: guix-git/doc/guix.texi:15175
  21790. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  21791. msgstr ""
  21792. #. type: deftp
  21793. #: guix-git/doc/guix.texi:15176
  21794. #, no-wrap
  21795. msgid "{Data Type} mapped-device"
  21796. msgstr ""
  21797. #. type: deftp
  21798. #: guix-git/doc/guix.texi:15179
  21799. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  21800. msgstr ""
  21801. #. type: table
  21802. #: guix-git/doc/guix.texi:15186
  21803. 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."
  21804. msgstr ""
  21805. #. type: code{#1}
  21806. #: guix-git/doc/guix.texi:15187 guix-git/doc/guix.texi:15342
  21807. #, no-wrap
  21808. msgid "target"
  21809. msgstr ""
  21810. #. type: table
  21811. #: guix-git/doc/guix.texi:15196
  21812. 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\"}."
  21813. msgstr ""
  21814. #. type: code{#1}
  21815. #: guix-git/doc/guix.texi:15197 guix-git/doc/guix.texi:34634
  21816. #, no-wrap
  21817. msgid "targets"
  21818. msgstr ""
  21819. #. type: table
  21820. #: guix-git/doc/guix.texi:15200
  21821. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  21822. msgstr ""
  21823. #. type: table
  21824. #: guix-git/doc/guix.texi:15204
  21825. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  21826. msgstr ""
  21827. #. type: defvr
  21828. #: guix-git/doc/guix.texi:15207
  21829. #, no-wrap
  21830. msgid "{Scheme Variable} luks-device-mapping"
  21831. msgstr ""
  21832. #. type: defvr
  21833. #: guix-git/doc/guix.texi:15211
  21834. 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."
  21835. msgstr ""
  21836. #. type: defvr
  21837. #: guix-git/doc/guix.texi:15213
  21838. #, no-wrap
  21839. msgid "{Scheme Variable} raid-device-mapping"
  21840. msgstr ""
  21841. #. type: defvr
  21842. #: guix-git/doc/guix.texi:15218
  21843. 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."
  21844. msgstr ""
  21845. #. type: cindex
  21846. #: guix-git/doc/guix.texi:15220
  21847. #, no-wrap
  21848. msgid "LVM, logical volume manager"
  21849. msgstr ""
  21850. #. type: defvr
  21851. #: guix-git/doc/guix.texi:15221
  21852. #, no-wrap
  21853. msgid "{Scheme Variable} lvm-device-mapping"
  21854. msgstr ""
  21855. #. type: defvr
  21856. #: guix-git/doc/guix.texi:15226
  21857. 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."
  21858. msgstr ""
  21859. #. type: cindex
  21860. #: guix-git/doc/guix.texi:15228
  21861. #, no-wrap
  21862. msgid "disk encryption"
  21863. msgstr ""
  21864. #. type: cindex
  21865. #: guix-git/doc/guix.texi:15229
  21866. #, no-wrap
  21867. msgid "LUKS"
  21868. msgstr ""
  21869. #. type: Plain text
  21870. #: guix-git/doc/guix.texi:15237
  21871. 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})."
  21872. msgstr ""
  21873. #. type: lisp
  21874. #: guix-git/doc/guix.texi:15243
  21875. #, no-wrap
  21876. msgid ""
  21877. "(mapped-device\n"
  21878. " (source \"/dev/sda3\")\n"
  21879. " (target \"home\")\n"
  21880. " (type luks-device-mapping))\n"
  21881. msgstr ""
  21882. #. type: Plain text
  21883. #: guix-git/doc/guix.texi:15248
  21884. 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:"
  21885. msgstr ""
  21886. #. type: example
  21887. #: guix-git/doc/guix.texi:15251
  21888. #, no-wrap
  21889. msgid "cryptsetup luksUUID /dev/sda3\n"
  21890. msgstr ""
  21891. #. type: Plain text
  21892. #: guix-git/doc/guix.texi:15254
  21893. msgid "and use it as follows:"
  21894. msgstr ""
  21895. #. type: lisp
  21896. #: guix-git/doc/guix.texi:15260
  21897. #, no-wrap
  21898. msgid ""
  21899. "(mapped-device\n"
  21900. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  21901. " (target \"home\")\n"
  21902. " (type luks-device-mapping))\n"
  21903. msgstr ""
  21904. #. type: cindex
  21905. #: guix-git/doc/guix.texi:15262
  21906. #, no-wrap
  21907. msgid "swap encryption"
  21908. msgstr ""
  21909. #. type: Plain text
  21910. #: guix-git/doc/guix.texi:15269
  21911. msgid "It is also desirable to encrypt swap space, since swap space may contain sensitive data. One way to accomplish that is to use a swap file in a file system on a device mapped via LUKS encryption. In this way, the swap file is encrypted because the entire device is encrypted. @xref{Swap Space}, or @xref{Preparing for Installation,,Disk Partitioning}, for an example."
  21912. msgstr ""
  21913. #. type: Plain text
  21914. #: guix-git/doc/guix.texi:15272
  21915. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  21916. msgstr ""
  21917. #. type: lisp
  21918. #: guix-git/doc/guix.texi:15278
  21919. #, no-wrap
  21920. msgid ""
  21921. "(mapped-device\n"
  21922. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  21923. " (target \"/dev/md0\")\n"
  21924. " (type raid-device-mapping))\n"
  21925. msgstr ""
  21926. #. type: Plain text
  21927. #: guix-git/doc/guix.texi:15285
  21928. 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."
  21929. msgstr ""
  21930. #. type: Plain text
  21931. #: guix-git/doc/guix.texi:15288
  21932. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  21933. msgstr ""
  21934. #. type: lisp
  21935. #: guix-git/doc/guix.texi:15294
  21936. #, no-wrap
  21937. msgid ""
  21938. "(mapped-device\n"
  21939. " (source \"vg0\")\n"
  21940. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  21941. " (type lvm-device-mapping))\n"
  21942. msgstr ""
  21943. #. type: Plain text
  21944. #: guix-git/doc/guix.texi:15299
  21945. 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})."
  21946. msgstr ""
  21947. #. type: cindex
  21948. #: guix-git/doc/guix.texi:15302
  21949. #, no-wrap
  21950. msgid "swap space"
  21951. msgstr ""
  21952. #. type: Plain text
  21953. #: guix-git/doc/guix.texi:15312
  21954. msgid "Swap space, as it is commonly called, is a disk area specifically designated for paging: the process in charge of memory management (the Linux kernel or Hurd's default pager) can decide that some memory pages stored in RAM which belong to a running program but are unused should be stored on disk instead. It unloads those from the RAM, freeing up precious fast memory, and writes them to the swap space. If the program tries to access that very page, the memory management process loads it back into memory for the program to use."
  21955. msgstr ""
  21956. #. type: Plain text
  21957. #: guix-git/doc/guix.texi:15318
  21958. msgid "A common misconception about swap is that it is only useful when small amounts of RAM are available to the system. However, it should be noted that kernels often use all available RAM for disk access caching to make I/O faster, and thus paging out unused portions of program memory will expand the RAM available for such caching."
  21959. msgstr ""
  21960. #. type: Plain text
  21961. #: guix-git/doc/guix.texi:15322
  21962. msgid "For a more detailed description of how memory is managed from the viewpoint of a monolithic kernel, @xref{Memory Concepts,,, libc, The GNU C Library Reference Manual}."
  21963. msgstr ""
  21964. #. type: Plain text
  21965. #: guix-git/doc/guix.texi:15331
  21966. msgid "The Linux kernel has support for swap partitions and swap files: the former uses a whole disk partition for paging, whereas the second uses a file on a file system for that (the file system driver needs to support it). On a comparable setup, both have the same performance, so one should consider ease of use when deciding between them. Partitions are ``simpler'' and do not need file system support, but need to be allocated at disk formatting time (logical volumes notwithstanding), whereas files can be allocated and deallocated at any time."
  21967. msgstr ""
  21968. #. type: Plain text
  21969. #: guix-git/doc/guix.texi:15336
  21970. msgid "Note that swap space is not zeroed on shutdown, so sensitive data (such as passwords) may linger on it if it was paged out. As such, you should consider having your swap reside on an encrypted device (@pxref{Mapped Devices})."
  21971. msgstr ""
  21972. #. type: deftp
  21973. #: guix-git/doc/guix.texi:15337
  21974. #, no-wrap
  21975. msgid "{Data Type} swap-space"
  21976. msgstr ""
  21977. #. type: deftp
  21978. #: guix-git/doc/guix.texi:15340
  21979. msgid "Objects of this type represent swap spaces. They contain the following members:"
  21980. msgstr ""
  21981. #. type: table
  21982. #: guix-git/doc/guix.texi:15346
  21983. msgid "The device or file to use, either a UUID, a @code{file-system-label} or a string, as in the definition of a @code{file-system} (@pxref{File Systems})."
  21984. msgstr ""
  21985. #. type: table
  21986. #: guix-git/doc/guix.texi:15353
  21987. msgid "A list of @code{file-system} or @code{mapped-device} objects, upon which the availability of the space depends. Note that just like for @code{file-system} objects, dependencies which are needed for boot and mounted in early userspace are not managed by the Shepherd, and so automatically filtered out for you."
  21988. msgstr ""
  21989. #. type: item
  21990. #: guix-git/doc/guix.texi:15354
  21991. #, no-wrap
  21992. msgid "@code{priority} (default: @code{#f})"
  21993. msgstr ""
  21994. #. type: table
  21995. #: guix-git/doc/guix.texi:15361
  21996. msgid "Only supported by the Linux kernel. Either @code{#f} to disable swap priority, or an integer between 0 and 32767. The kernel will first use swap spaces of higher priority when paging, and use same priority spaces on a round-robin basis. The kernel will use swap spaces without a set priority after prioritized spaces, and in the order that they appeared in (not round-robin)."
  21997. msgstr ""
  21998. #. type: item
  21999. #: guix-git/doc/guix.texi:15362
  22000. #, no-wrap
  22001. msgid "@code{discard?} (default: @code{#f})"
  22002. msgstr ""
  22003. #. type: table
  22004. #: guix-git/doc/guix.texi:15366
  22005. msgid "Only supported by the Linux kernel. When true, the kernel will notify the disk controller of discarded pages, for example with the TRIM operation on Solid State Drives."
  22006. msgstr ""
  22007. #. type: Plain text
  22008. #: guix-git/doc/guix.texi:15371
  22009. msgid "Here are some examples:"
  22010. msgstr ""
  22011. #. type: lisp
  22012. #: guix-git/doc/guix.texi:15374
  22013. #, no-wrap
  22014. msgid "(swap-space (target (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22015. msgstr ""
  22016. #. type: Plain text
  22017. #: guix-git/doc/guix.texi:15379
  22018. 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."
  22019. msgstr ""
  22020. #. type: lisp
  22021. #: guix-git/doc/guix.texi:15384
  22022. #, no-wrap
  22023. msgid ""
  22024. "(swap-space\n"
  22025. " (target (file-system-label \"swap\"))\n"
  22026. " (dependencies (list lvm-device)))\n"
  22027. msgstr ""
  22028. #. type: Plain text
  22029. #: guix-git/doc/guix.texi:15390
  22030. msgid "Use the partition with label @code{swap}, which can be found after the @var{lvm-device} mapped device has been opened. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition."
  22031. msgstr ""
  22032. #. type: lisp
  22033. #: guix-git/doc/guix.texi:15395
  22034. #, no-wrap
  22035. msgid ""
  22036. "(swap-space\n"
  22037. " (target \"/btrfs/swapfile\")\n"
  22038. " (dependencies (list btrfs-fs)))\n"
  22039. msgstr ""
  22040. #. type: Plain text
  22041. #: guix-git/doc/guix.texi:15399
  22042. msgid "Use the file @file{/btrfs/swapfile} as swap space, which is present on the @var{btrfs-fs} filesystem."
  22043. msgstr ""
  22044. #. type: cindex
  22045. #: guix-git/doc/guix.texi:15403
  22046. #, no-wrap
  22047. msgid "users"
  22048. msgstr ""
  22049. #. type: cindex
  22050. #: guix-git/doc/guix.texi:15404
  22051. #, no-wrap
  22052. msgid "accounts"
  22053. msgstr ""
  22054. #. type: cindex
  22055. #: guix-git/doc/guix.texi:15405
  22056. #, no-wrap
  22057. msgid "user accounts"
  22058. msgstr ""
  22059. #. type: Plain text
  22060. #: guix-git/doc/guix.texi:15409
  22061. 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:"
  22062. msgstr ""
  22063. #. type: lisp
  22064. #: guix-git/doc/guix.texi:15419
  22065. #, no-wrap
  22066. msgid ""
  22067. "(user-account\n"
  22068. " (name \"alice\")\n"
  22069. " (group \"users\")\n"
  22070. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  22071. " \"audio\" ;sound card\n"
  22072. " \"video\" ;video devices such as webcams\n"
  22073. " \"cdrom\")) ;the good ol' CD-ROM\n"
  22074. " (comment \"Bob's sister\"))\n"
  22075. msgstr ""
  22076. #. type: Plain text
  22077. #: guix-git/doc/guix.texi:15423
  22078. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  22079. msgstr ""
  22080. #. type: lisp
  22081. #: guix-git/doc/guix.texi:15431
  22082. #, no-wrap
  22083. msgid ""
  22084. "(user-account\n"
  22085. " (name \"bob\")\n"
  22086. " (group \"users\")\n"
  22087. " (comment \"Alice's bro\")\n"
  22088. " (shell (file-append zsh \"/bin/zsh\"))\n"
  22089. " (home-directory \"/home/robert\"))\n"
  22090. msgstr ""
  22091. #. type: Plain text
  22092. #: guix-git/doc/guix.texi:15440
  22093. 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."
  22094. msgstr ""
  22095. #. type: deftp
  22096. #: guix-git/doc/guix.texi:15441
  22097. #, no-wrap
  22098. msgid "{Data Type} user-account"
  22099. msgstr ""
  22100. #. type: deftp
  22101. #: guix-git/doc/guix.texi:15444
  22102. msgid "Objects of this type represent user accounts. The following members may be specified:"
  22103. msgstr ""
  22104. #. type: table
  22105. #: guix-git/doc/guix.texi:15448
  22106. msgid "The name of the user account."
  22107. msgstr ""
  22108. #. type: itemx
  22109. #: guix-git/doc/guix.texi:15449 guix-git/doc/guix.texi:34298
  22110. #, no-wrap
  22111. msgid "group"
  22112. msgstr ""
  22113. #. type: cindex
  22114. #: guix-git/doc/guix.texi:15450 guix-git/doc/guix.texi:15534
  22115. #, no-wrap
  22116. msgid "groups"
  22117. msgstr ""
  22118. #. type: table
  22119. #: guix-git/doc/guix.texi:15453
  22120. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  22121. msgstr ""
  22122. #. type: item
  22123. #: guix-git/doc/guix.texi:15454
  22124. #, no-wrap
  22125. msgid "@code{supplementary-groups} (default: @code{'()})"
  22126. msgstr ""
  22127. #. type: table
  22128. #: guix-git/doc/guix.texi:15457
  22129. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  22130. msgstr ""
  22131. #. type: item
  22132. #: guix-git/doc/guix.texi:15458
  22133. #, no-wrap
  22134. msgid "@code{uid} (default: @code{#f})"
  22135. msgstr ""
  22136. #. type: table
  22137. #: guix-git/doc/guix.texi:15462
  22138. 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."
  22139. msgstr ""
  22140. #. type: item
  22141. #: guix-git/doc/guix.texi:15463 guix-git/doc/guix.texi:18217
  22142. #, no-wrap
  22143. msgid "@code{comment} (default: @code{\"\"})"
  22144. msgstr ""
  22145. #. type: table
  22146. #: guix-git/doc/guix.texi:15465
  22147. msgid "A comment about the account, such as the account owner's full name."
  22148. msgstr ""
  22149. #. type: table
  22150. #: guix-git/doc/guix.texi:15470
  22151. msgid "Note that, for non-system accounts, users are free to change their real name as it appears in @file{/etc/passwd} using the @command{chfn} command. When they do, their choice prevails over the system administrator's choice; reconfiguring does @emph{not} change their name."
  22152. msgstr ""
  22153. #. type: code{#1}
  22154. #: guix-git/doc/guix.texi:15471
  22155. #, no-wrap
  22156. msgid "home-directory"
  22157. msgstr ""
  22158. #. type: table
  22159. #: guix-git/doc/guix.texi:15473
  22160. msgid "This is the name of the home directory for the account."
  22161. msgstr ""
  22162. #. type: item
  22163. #: guix-git/doc/guix.texi:15474
  22164. #, no-wrap
  22165. msgid "@code{create-home-directory?} (default: @code{#t})"
  22166. msgstr ""
  22167. #. type: table
  22168. #: guix-git/doc/guix.texi:15477
  22169. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  22170. msgstr ""
  22171. #. type: item
  22172. #: guix-git/doc/guix.texi:15478
  22173. #, no-wrap
  22174. msgid "@code{shell} (default: Bash)"
  22175. msgstr ""
  22176. #. type: table
  22177. #: guix-git/doc/guix.texi:15482
  22178. 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:"
  22179. msgstr ""
  22180. #. type: lisp
  22181. #: guix-git/doc/guix.texi:15485
  22182. #, no-wrap
  22183. msgid "(file-append bash \"/bin/bash\")\n"
  22184. msgstr ""
  22185. #. type: table
  22186. #: guix-git/doc/guix.texi:15489
  22187. msgid "... and to the Zsh executable like that:"
  22188. msgstr ""
  22189. #. type: lisp
  22190. #: guix-git/doc/guix.texi:15492
  22191. #, no-wrap
  22192. msgid "(file-append zsh \"/bin/zsh\")\n"
  22193. msgstr ""
  22194. #. type: item
  22195. #: guix-git/doc/guix.texi:15494 guix-git/doc/guix.texi:15552
  22196. #, no-wrap
  22197. msgid "@code{system?} (default: @code{#f})"
  22198. msgstr ""
  22199. #. type: table
  22200. #: guix-git/doc/guix.texi:15498
  22201. 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."
  22202. msgstr ""
  22203. #. type: anchor{#1}
  22204. #: guix-git/doc/guix.texi:15500
  22205. msgid "user-account-password"
  22206. msgstr ""
  22207. #. type: cindex
  22208. #: guix-git/doc/guix.texi:15500
  22209. #, no-wrap
  22210. msgid "password, for user accounts"
  22211. msgstr ""
  22212. #. type: item
  22213. #: guix-git/doc/guix.texi:15501 guix-git/doc/guix.texi:15556
  22214. #, no-wrap
  22215. msgid "@code{password} (default: @code{#f})"
  22216. msgstr ""
  22217. #. type: table
  22218. #: guix-git/doc/guix.texi:15507
  22219. 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."
  22220. msgstr ""
  22221. #. type: table
  22222. #: guix-git/doc/guix.texi:15511
  22223. 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:"
  22224. msgstr ""
  22225. #. type: lisp
  22226. #: guix-git/doc/guix.texi:15516
  22227. #, no-wrap
  22228. msgid ""
  22229. "(user-account\n"
  22230. " (name \"charlie\")\n"
  22231. " (group \"users\")\n"
  22232. "\n"
  22233. msgstr ""
  22234. #. type: lisp
  22235. #: guix-git/doc/guix.texi:15519
  22236. #, no-wrap
  22237. msgid ""
  22238. " ;; Specify a SHA-512-hashed initial password.\n"
  22239. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  22240. msgstr ""
  22241. #. type: quotation
  22242. #: guix-git/doc/guix.texi:15525
  22243. 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."
  22244. msgstr ""
  22245. #. type: table
  22246. #: guix-git/doc/guix.texi:15530
  22247. 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."
  22248. msgstr ""
  22249. #. type: Plain text
  22250. #: guix-git/doc/guix.texi:15536
  22251. msgid "User group declarations are even simpler:"
  22252. msgstr ""
  22253. #. type: lisp
  22254. #: guix-git/doc/guix.texi:15539
  22255. #, no-wrap
  22256. msgid "(user-group (name \"students\"))\n"
  22257. msgstr ""
  22258. #. type: deftp
  22259. #: guix-git/doc/guix.texi:15541
  22260. #, no-wrap
  22261. msgid "{Data Type} user-group"
  22262. msgstr ""
  22263. #. type: deftp
  22264. #: guix-git/doc/guix.texi:15543
  22265. msgid "This type is for, well, user groups. There are just a few fields:"
  22266. msgstr ""
  22267. #. type: table
  22268. #: guix-git/doc/guix.texi:15547
  22269. msgid "The name of the group."
  22270. msgstr ""
  22271. #. type: item
  22272. #: guix-git/doc/guix.texi:15548 guix-git/doc/guix.texi:30819
  22273. #, no-wrap
  22274. msgid "@code{id} (default: @code{#f})"
  22275. msgstr ""
  22276. #. type: table
  22277. #: guix-git/doc/guix.texi:15551
  22278. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  22279. msgstr ""
  22280. #. type: table
  22281. #: guix-git/doc/guix.texi:15555
  22282. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  22283. msgstr ""
  22284. #. type: table
  22285. #: guix-git/doc/guix.texi:15559
  22286. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  22287. msgstr ""
  22288. #. type: Plain text
  22289. #: guix-git/doc/guix.texi:15565
  22290. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  22291. msgstr ""
  22292. #. type: defvr
  22293. #: guix-git/doc/guix.texi:15566
  22294. #, no-wrap
  22295. msgid "{Scheme Variable} %base-groups"
  22296. msgstr ""
  22297. #. type: defvr
  22298. #: guix-git/doc/guix.texi:15571
  22299. 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''."
  22300. msgstr ""
  22301. #. type: defvr
  22302. #: guix-git/doc/guix.texi:15573
  22303. #, no-wrap
  22304. msgid "{Scheme Variable} %base-user-accounts"
  22305. msgstr ""
  22306. #. type: defvr
  22307. #: guix-git/doc/guix.texi:15576
  22308. 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."
  22309. msgstr ""
  22310. #. type: defvr
  22311. #: guix-git/doc/guix.texi:15579
  22312. 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."
  22313. msgstr ""
  22314. #. type: cindex
  22315. #: guix-git/doc/guix.texi:15585
  22316. #, no-wrap
  22317. msgid "keymap"
  22318. msgstr ""
  22319. #. type: Plain text
  22320. #: guix-git/doc/guix.texi:15593
  22321. 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."
  22322. msgstr ""
  22323. #. type: cindex
  22324. #: guix-git/doc/guix.texi:15594
  22325. #, no-wrap
  22326. msgid "keyboard layout, definition"
  22327. msgstr ""
  22328. #. type: Plain text
  22329. #: guix-git/doc/guix.texi:15596
  22330. msgid "There are three components that will want to know about your keyboard layout:"
  22331. msgstr ""
  22332. #. type: itemize
  22333. #: guix-git/doc/guix.texi:15603
  22334. 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."
  22335. msgstr ""
  22336. #. type: itemize
  22337. #: guix-git/doc/guix.texi:15608
  22338. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  22339. msgstr ""
  22340. #. type: itemize
  22341. #: guix-git/doc/guix.texi:15612
  22342. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  22343. msgstr ""
  22344. #. type: Plain text
  22345. #: guix-git/doc/guix.texi:15616
  22346. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  22347. msgstr ""
  22348. #. type: cindex
  22349. #: guix-git/doc/guix.texi:15617
  22350. #, no-wrap
  22351. msgid "XKB, keyboard layouts"
  22352. msgstr ""
  22353. #. type: Plain text
  22354. #: guix-git/doc/guix.texi:15625
  22355. 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."
  22356. msgstr ""
  22357. #. type: deffn
  22358. #: guix-git/doc/guix.texi:15626
  22359. #, no-wrap
  22360. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  22361. msgstr ""
  22362. #. type: deffn
  22363. #: guix-git/doc/guix.texi:15629
  22364. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  22365. msgstr ""
  22366. #. type: deffn
  22367. #: guix-git/doc/guix.texi:15633
  22368. 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."
  22369. msgstr ""
  22370. #. type: Plain text
  22371. #: guix-git/doc/guix.texi:15636
  22372. msgid "Here are a few examples:"
  22373. msgstr ""
  22374. #. type: lisp
  22375. #: guix-git/doc/guix.texi:15641
  22376. #, no-wrap
  22377. msgid ""
  22378. ";; The German QWERTZ layout. Here we assume a standard\n"
  22379. ";; \"pc105\" keyboard model.\n"
  22380. "(keyboard-layout \"de\")\n"
  22381. "\n"
  22382. msgstr ""
  22383. #. type: lisp
  22384. #: guix-git/doc/guix.texi:15644
  22385. #, no-wrap
  22386. msgid ""
  22387. ";; The bépo variant of the French layout.\n"
  22388. "(keyboard-layout \"fr\" \"bepo\")\n"
  22389. "\n"
  22390. msgstr ""
  22391. #. type: lisp
  22392. #: guix-git/doc/guix.texi:15647
  22393. #, no-wrap
  22394. msgid ""
  22395. ";; The Catalan layout.\n"
  22396. "(keyboard-layout \"es\" \"cat\")\n"
  22397. "\n"
  22398. msgstr ""
  22399. #. type: lisp
  22400. #: guix-git/doc/guix.texi:15650
  22401. #, no-wrap
  22402. msgid ""
  22403. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  22404. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  22405. "\n"
  22406. msgstr ""
  22407. #. type: lisp
  22408. #: guix-git/doc/guix.texi:15657
  22409. #, no-wrap
  22410. msgid ""
  22411. ";; The Latin American Spanish layout. In addition, the\n"
  22412. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  22413. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  22414. ";; accented letters.\n"
  22415. "(keyboard-layout \"latam\"\n"
  22416. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  22417. "\n"
  22418. msgstr ""
  22419. #. type: lisp
  22420. #: guix-git/doc/guix.texi:15660
  22421. #, no-wrap
  22422. msgid ""
  22423. ";; The Russian layout for a ThinkPad keyboard.\n"
  22424. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  22425. "\n"
  22426. msgstr ""
  22427. #. type: lisp
  22428. #: guix-git/doc/guix.texi:15665
  22429. #, no-wrap
  22430. msgid ""
  22431. ";; The \"US international\" layout, which is the US layout plus\n"
  22432. ";; dead keys to enter accented characters. This is for an\n"
  22433. ";; Apple MacBook keyboard.\n"
  22434. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  22435. msgstr ""
  22436. #. type: Plain text
  22437. #: guix-git/doc/guix.texi:15669
  22438. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  22439. msgstr ""
  22440. #. type: cindex
  22441. #: guix-git/doc/guix.texi:15670
  22442. #, no-wrap
  22443. msgid "keyboard layout, configuration"
  22444. msgstr ""
  22445. #. type: Plain text
  22446. #: guix-git/doc/guix.texi:15674
  22447. 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:"
  22448. msgstr ""
  22449. #. type: findex
  22450. #: guix-git/doc/guix.texi:15675
  22451. #, no-wrap
  22452. msgid "set-xorg-configuration"
  22453. msgstr ""
  22454. #. type: lisp
  22455. #: guix-git/doc/guix.texi:15679
  22456. #, no-wrap
  22457. msgid ""
  22458. ";; Using the Turkish layout for the bootloader, the console,\n"
  22459. ";; and for Xorg.\n"
  22460. "\n"
  22461. msgstr ""
  22462. #. type: lisp
  22463. #: guix-git/doc/guix.texi:15691
  22464. #, no-wrap
  22465. msgid ""
  22466. "(operating-system\n"
  22467. " ;; ...\n"
  22468. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  22469. " (bootloader (bootloader-configuration\n"
  22470. " (bootloader grub-efi-bootloader)\n"
  22471. " (targets '(\"/boot/efi\"))\n"
  22472. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  22473. " (services (cons (set-xorg-configuration\n"
  22474. " (xorg-configuration ;for Xorg\n"
  22475. " (keyboard-layout keyboard-layout)))\n"
  22476. " %desktop-services)))\n"
  22477. msgstr ""
  22478. #. type: Plain text
  22479. #: guix-git/doc/guix.texi:15698
  22480. 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."
  22481. msgstr ""
  22482. #. type: Plain text
  22483. #: guix-git/doc/guix.texi:15701
  22484. 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:"
  22485. msgstr ""
  22486. #. type: itemize
  22487. #: guix-git/doc/guix.texi:15706
  22488. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  22489. msgstr ""
  22490. #. type: itemize
  22491. #: guix-git/doc/guix.texi:15711
  22492. 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:"
  22493. msgstr ""
  22494. #. type: example
  22495. #: guix-git/doc/guix.texi:15714
  22496. #, no-wrap
  22497. msgid "setxkbmap us dvorak\n"
  22498. msgstr ""
  22499. #. type: itemize
  22500. #: guix-git/doc/guix.texi:15721
  22501. 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:"
  22502. msgstr ""
  22503. #. type: example
  22504. #: guix-git/doc/guix.texi:15724
  22505. #, no-wrap
  22506. msgid "loadkeys fr-bepo\n"
  22507. msgstr ""
  22508. #. type: cindex
  22509. #: guix-git/doc/guix.texi:15730
  22510. #, no-wrap
  22511. msgid "locale"
  22512. msgstr ""
  22513. #. type: Plain text
  22514. #: guix-git/doc/guix.texi:15737
  22515. 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."
  22516. msgstr ""
  22517. #. type: cindex
  22518. #: guix-git/doc/guix.texi:15738
  22519. #, no-wrap
  22520. msgid "locale definition"
  22521. msgstr ""
  22522. #. type: Plain text
  22523. #: guix-git/doc/guix.texi:15742
  22524. 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}})."
  22525. msgstr ""
  22526. #. type: Plain text
  22527. #: guix-git/doc/guix.texi:15751
  22528. 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."
  22529. msgstr ""
  22530. #. type: Plain text
  22531. #: guix-git/doc/guix.texi:15754
  22532. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  22533. msgstr ""
  22534. #. type: lisp
  22535. #: guix-git/doc/guix.texi:15759
  22536. #, no-wrap
  22537. msgid ""
  22538. "(cons (locale-definition\n"
  22539. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  22540. " %default-locale-definitions)\n"
  22541. msgstr ""
  22542. #. type: Plain text
  22543. #: guix-git/doc/guix.texi:15763
  22544. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  22545. msgstr ""
  22546. #. type: lisp
  22547. #: guix-git/doc/guix.texi:15768
  22548. #, no-wrap
  22549. msgid ""
  22550. "(list (locale-definition\n"
  22551. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  22552. " (charset \"EUC-JP\")))\n"
  22553. msgstr ""
  22554. #. type: Plain text
  22555. #: guix-git/doc/guix.texi:15777
  22556. 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})."
  22557. msgstr ""
  22558. #. type: Plain text
  22559. #: guix-git/doc/guix.texi:15780
  22560. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  22561. msgstr ""
  22562. #. type: deftp
  22563. #: guix-git/doc/guix.texi:15781
  22564. #, no-wrap
  22565. msgid "{Data Type} locale-definition"
  22566. msgstr ""
  22567. #. type: deftp
  22568. #: guix-git/doc/guix.texi:15783
  22569. msgid "This is the data type of a locale definition."
  22570. msgstr ""
  22571. #. type: table
  22572. #: guix-git/doc/guix.texi:15789
  22573. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  22574. msgstr ""
  22575. #. type: table
  22576. #: guix-git/doc/guix.texi:15793
  22577. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  22578. msgstr ""
  22579. #. type: item
  22580. #: guix-git/doc/guix.texi:15794
  22581. #, no-wrap
  22582. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  22583. msgstr ""
  22584. #. type: table
  22585. #: guix-git/doc/guix.texi:15798
  22586. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  22587. msgstr ""
  22588. #. type: defvr
  22589. #: guix-git/doc/guix.texi:15802
  22590. #, no-wrap
  22591. msgid "{Scheme Variable} %default-locale-definitions"
  22592. msgstr ""
  22593. #. type: defvr
  22594. #: guix-git/doc/guix.texi:15806
  22595. 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."
  22596. msgstr ""
  22597. #. type: cindex
  22598. #: guix-git/doc/guix.texi:15807
  22599. #, no-wrap
  22600. msgid "locale name"
  22601. msgstr ""
  22602. #. type: cindex
  22603. #: guix-git/doc/guix.texi:15808
  22604. #, no-wrap
  22605. msgid "normalized codeset in locale names"
  22606. msgstr ""
  22607. #. type: defvr
  22608. #: guix-git/doc/guix.texi:15814
  22609. 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}."
  22610. msgstr ""
  22611. #. type: subsection
  22612. #: guix-git/doc/guix.texi:15816
  22613. #, no-wrap
  22614. msgid "Locale Data Compatibility Considerations"
  22615. msgstr ""
  22616. #. type: cindex
  22617. #: guix-git/doc/guix.texi:15818
  22618. #, no-wrap
  22619. msgid "incompatibility, of locale data"
  22620. msgstr ""
  22621. #. type: Plain text
  22622. #: guix-git/doc/guix.texi:15825
  22623. 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."
  22624. msgstr ""
  22625. #. type: Plain text
  22626. #: guix-git/doc/guix.texi:15837
  22627. 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."
  22628. msgstr ""
  22629. #. type: Plain text
  22630. #: guix-git/doc/guix.texi:15842
  22631. 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."
  22632. msgstr ""
  22633. #. type: Plain text
  22634. #: guix-git/doc/guix.texi:15846
  22635. 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})."
  22636. msgstr ""
  22637. #. type: Plain text
  22638. #: guix-git/doc/guix.texi:15853
  22639. 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}:"
  22640. msgstr ""
  22641. #. type: lisp
  22642. #: guix-git/doc/guix.texi:15856
  22643. #, no-wrap
  22644. msgid ""
  22645. "(use-package-modules base)\n"
  22646. "\n"
  22647. msgstr ""
  22648. #. type: lisp
  22649. #: guix-git/doc/guix.texi:15860
  22650. #, no-wrap
  22651. msgid ""
  22652. "(operating-system\n"
  22653. " ;; @dots{}\n"
  22654. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  22655. msgstr ""
  22656. #. type: Plain text
  22657. #: guix-git/doc/guix.texi:15865
  22658. 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}."
  22659. msgstr ""
  22660. #. type: cindex
  22661. #: guix-git/doc/guix.texi:15870
  22662. #, no-wrap
  22663. msgid "system services"
  22664. msgstr ""
  22665. #. type: Plain text
  22666. #: guix-git/doc/guix.texi:15876
  22667. 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."
  22668. msgstr ""
  22669. #. type: Plain text
  22670. #: guix-git/doc/guix.texi:15883
  22671. 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:"
  22672. msgstr ""
  22673. #. type: example
  22674. #: guix-git/doc/guix.texi:15886
  22675. #, no-wrap
  22676. msgid "# herd status\n"
  22677. msgstr ""
  22678. #. type: Plain text
  22679. #: guix-git/doc/guix.texi:15891
  22680. 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:"
  22681. msgstr ""
  22682. #. type: example
  22683. #: guix-git/doc/guix.texi:15895
  22684. #, no-wrap
  22685. msgid ""
  22686. "# herd doc nscd\n"
  22687. "Run libc's name service cache daemon (nscd).\n"
  22688. "\n"
  22689. msgstr ""
  22690. #. type: example
  22691. #: guix-git/doc/guix.texi:15898
  22692. #, no-wrap
  22693. msgid ""
  22694. "# herd doc nscd action invalidate\n"
  22695. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  22696. msgstr ""
  22697. #. type: Plain text
  22698. #: guix-git/doc/guix.texi:15903
  22699. 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:"
  22700. msgstr ""
  22701. #. type: example
  22702. #: guix-git/doc/guix.texi:15910
  22703. #, no-wrap
  22704. msgid ""
  22705. "# herd stop nscd\n"
  22706. "Service nscd has been stopped.\n"
  22707. "# herd restart xorg-server\n"
  22708. "Service xorg-server has been stopped.\n"
  22709. "Service xorg-server has been started.\n"
  22710. msgstr ""
  22711. #. type: Plain text
  22712. #: guix-git/doc/guix.texi:15915
  22713. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  22714. msgstr ""
  22715. #. type: subsection
  22716. #: guix-git/doc/guix.texi:15951 guix-git/doc/guix.texi:24198
  22717. #: guix-git/doc/guix.texi:24199
  22718. #, no-wrap
  22719. msgid "File-Sharing Services"
  22720. msgstr ""
  22721. #. type: menuentry
  22722. #: guix-git/doc/guix.texi:15951
  22723. msgid "File-sharing services."
  22724. msgstr ""
  22725. #. type: Plain text
  22726. #: guix-git/doc/guix.texi:15959
  22727. 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."
  22728. msgstr ""
  22729. #. type: defvr
  22730. #: guix-git/doc/guix.texi:15960
  22731. #, no-wrap
  22732. msgid "{Scheme Variable} %base-services"
  22733. msgstr ""
  22734. #. type: defvr
  22735. #: guix-git/doc/guix.texi:15966
  22736. 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."
  22737. msgstr ""
  22738. #. type: defvr
  22739. #: guix-git/doc/guix.texi:15971
  22740. 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:"
  22741. msgstr ""
  22742. #. type: lisp
  22743. #: guix-git/doc/guix.texi:15976
  22744. #, no-wrap
  22745. msgid ""
  22746. "(append (list (service avahi-service-type)\n"
  22747. " (service openssh-service-type))\n"
  22748. " %base-services)\n"
  22749. msgstr ""
  22750. #. type: defvr
  22751. #: guix-git/doc/guix.texi:15979
  22752. #, no-wrap
  22753. msgid "{Scheme Variable} special-files-service-type"
  22754. msgstr ""
  22755. #. type: defvr
  22756. #: guix-git/doc/guix.texi:15982
  22757. 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}."
  22758. msgstr ""
  22759. #. type: defvr
  22760. #: guix-git/doc/guix.texi:15986
  22761. 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:"
  22762. msgstr ""
  22763. #. type: file{#1}
  22764. #: guix-git/doc/guix.texi:15987
  22765. #, no-wrap
  22766. msgid "/bin/sh"
  22767. msgstr ""
  22768. #. type: cindex
  22769. #: guix-git/doc/guix.texi:15988
  22770. #, no-wrap
  22771. msgid "@file{sh}, in @file{/bin}"
  22772. msgstr ""
  22773. #. type: lisp
  22774. #: guix-git/doc/guix.texi:15991
  22775. #, no-wrap
  22776. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  22777. msgstr ""
  22778. #. type: file{#1}
  22779. #: guix-git/doc/guix.texi:15993
  22780. #, no-wrap
  22781. msgid "/usr/bin/env"
  22782. msgstr ""
  22783. #. type: cindex
  22784. #: guix-git/doc/guix.texi:15994
  22785. #, no-wrap
  22786. msgid "@file{env}, in @file{/usr/bin}"
  22787. msgstr ""
  22788. #. type: defvr
  22789. #: guix-git/doc/guix.texi:15997
  22790. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  22791. msgstr ""
  22792. #. type: lisp
  22793. #: guix-git/doc/guix.texi:16001
  22794. #, no-wrap
  22795. msgid ""
  22796. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  22797. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  22798. msgstr ""
  22799. #. type: defvr
  22800. #: guix-git/doc/guix.texi:16008
  22801. 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)."
  22802. msgstr ""
  22803. #. type: deffn
  22804. #: guix-git/doc/guix.texi:16010
  22805. #, no-wrap
  22806. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  22807. msgstr ""
  22808. #. type: deffn
  22809. #: guix-git/doc/guix.texi:16012
  22810. msgid "Use @var{target} as the ``special file'' @var{file}."
  22811. msgstr ""
  22812. #. type: deffn
  22813. #: guix-git/doc/guix.texi:16016
  22814. 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:"
  22815. msgstr ""
  22816. #. type: lisp
  22817. #: guix-git/doc/guix.texi:16020
  22818. #, no-wrap
  22819. msgid ""
  22820. "(extra-special-file \"/usr/bin/env\"\n"
  22821. " (file-append coreutils \"/bin/env\"))\n"
  22822. msgstr ""
  22823. #. type: deffn
  22824. #: guix-git/doc/guix.texi:16023
  22825. #, no-wrap
  22826. msgid "{Scheme Procedure} host-name-service @var{name}"
  22827. msgstr ""
  22828. #. type: deffn
  22829. #: guix-git/doc/guix.texi:16025
  22830. msgid "Return a service that sets the host name to @var{name}."
  22831. msgstr ""
  22832. #. type: defvr
  22833. #: guix-git/doc/guix.texi:16027
  22834. #, no-wrap
  22835. msgid "{Scheme Variable} console-font-service-type"
  22836. msgstr ""
  22837. #. type: defvr
  22838. #: guix-git/doc/guix.texi:16032
  22839. 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:"
  22840. msgstr ""
  22841. #. type: lisp
  22842. #: guix-git/doc/guix.texi:16041
  22843. #, no-wrap
  22844. msgid ""
  22845. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  22846. " (\"tty2\" . ,(file-append\n"
  22847. " font-tamzen\n"
  22848. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  22849. " (\"tty3\" . ,(file-append\n"
  22850. " font-terminus\n"
  22851. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  22852. msgstr ""
  22853. #. type: deffn
  22854. #: guix-git/doc/guix.texi:16044
  22855. #, no-wrap
  22856. msgid "{Scheme Procedure} login-service @var{config}"
  22857. msgstr ""
  22858. #. type: deffn
  22859. #: guix-git/doc/guix.texi:16048
  22860. 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."
  22861. msgstr ""
  22862. #. type: deftp
  22863. #: guix-git/doc/guix.texi:16050
  22864. #, no-wrap
  22865. msgid "{Data Type} login-configuration"
  22866. msgstr ""
  22867. #. type: deftp
  22868. #: guix-git/doc/guix.texi:16052
  22869. msgid "This is the data type representing the configuration of login."
  22870. msgstr ""
  22871. #. type: code{#1}
  22872. #: guix-git/doc/guix.texi:16055
  22873. #, no-wrap
  22874. msgid "motd"
  22875. msgstr ""
  22876. #. type: cindex
  22877. #: guix-git/doc/guix.texi:16056
  22878. #, no-wrap
  22879. msgid "message of the day"
  22880. msgstr ""
  22881. #. type: table
  22882. #: guix-git/doc/guix.texi:16058
  22883. msgid "A file-like object containing the ``message of the day''."
  22884. msgstr ""
  22885. #. type: item
  22886. #: guix-git/doc/guix.texi:16059 guix-git/doc/guix.texi:19280
  22887. #, no-wrap
  22888. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  22889. msgstr ""
  22890. #. type: table
  22891. #: guix-git/doc/guix.texi:16062
  22892. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  22893. msgstr ""
  22894. #. type: deffn
  22895. #: guix-git/doc/guix.texi:16066
  22896. #, no-wrap
  22897. msgid "{Scheme Procedure} mingetty-service @var{config}"
  22898. msgstr ""
  22899. #. type: deffn
  22900. #: guix-git/doc/guix.texi:16070
  22901. 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."
  22902. msgstr ""
  22903. #. type: deftp
  22904. #: guix-git/doc/guix.texi:16072
  22905. #, no-wrap
  22906. msgid "{Data Type} mingetty-configuration"
  22907. msgstr ""
  22908. #. type: deftp
  22909. #: guix-git/doc/guix.texi:16075
  22910. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  22911. msgstr ""
  22912. #. type: code{#1}
  22913. #: guix-git/doc/guix.texi:16078 guix-git/doc/guix.texi:16117
  22914. #: guix-git/doc/guix.texi:33550
  22915. #, no-wrap
  22916. msgid "tty"
  22917. msgstr ""
  22918. #. type: table
  22919. #: guix-git/doc/guix.texi:16080
  22920. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  22921. msgstr ""
  22922. #. type: item
  22923. #: guix-git/doc/guix.texi:16081 guix-git/doc/guix.texi:16146
  22924. #: guix-git/doc/guix.texi:16305
  22925. #, no-wrap
  22926. msgid "@code{auto-login} (default: @code{#f})"
  22927. msgstr ""
  22928. #. type: table
  22929. #: guix-git/doc/guix.texi:16085
  22930. 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."
  22931. msgstr ""
  22932. #. type: item
  22933. #: guix-git/doc/guix.texi:16086
  22934. #, no-wrap
  22935. msgid "@code{login-program} (default: @code{#f})"
  22936. msgstr ""
  22937. #. type: table
  22938. #: guix-git/doc/guix.texi:16090
  22939. 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."
  22940. msgstr ""
  22941. #. type: item
  22942. #: guix-git/doc/guix.texi:16091
  22943. #, no-wrap
  22944. msgid "@code{login-pause?} (default: @code{#f})"
  22945. msgstr ""
  22946. #. type: table
  22947. #: guix-git/doc/guix.texi:16094
  22948. 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."
  22949. msgstr ""
  22950. #. type: item
  22951. #: guix-git/doc/guix.texi:16095
  22952. #, no-wrap
  22953. msgid "@code{clear-on-logout?} (default: @code{#t})"
  22954. msgstr ""
  22955. #. type: table
  22956. #: guix-git/doc/guix.texi:16097
  22957. msgid "When set to @code{#t}, the screen will be cleared after logout."
  22958. msgstr ""
  22959. #. type: item
  22960. #: guix-git/doc/guix.texi:16098
  22961. #, no-wrap
  22962. msgid "@code{mingetty} (default: @var{mingetty})"
  22963. msgstr ""
  22964. #. type: table
  22965. #: guix-git/doc/guix.texi:16100
  22966. msgid "The Mingetty package to use."
  22967. msgstr ""
  22968. #. type: deffn
  22969. #: guix-git/doc/guix.texi:16104
  22970. #, no-wrap
  22971. msgid "{Scheme Procedure} agetty-service @var{config}"
  22972. msgstr ""
  22973. #. type: deffn
  22974. #: guix-git/doc/guix.texi:16108
  22975. 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."
  22976. msgstr ""
  22977. #. type: deftp
  22978. #: guix-git/doc/guix.texi:16110
  22979. #, no-wrap
  22980. msgid "{Data Type} agetty-configuration"
  22981. msgstr ""
  22982. #. type: deftp
  22983. #: guix-git/doc/guix.texi:16114
  22984. 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."
  22985. msgstr ""
  22986. #. type: table
  22987. #: guix-git/doc/guix.texi:16121
  22988. 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."
  22989. msgstr ""
  22990. #. type: table
  22991. #: guix-git/doc/guix.texi:16125
  22992. 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."
  22993. msgstr ""
  22994. #. type: table
  22995. #: guix-git/doc/guix.texi:16129
  22996. 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."
  22997. msgstr ""
  22998. #. type: table
  22999. #: guix-git/doc/guix.texi:16133
  23000. 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."
  23001. msgstr ""
  23002. #. type: item
  23003. #: guix-git/doc/guix.texi:16134 guix-git/doc/guix.texi:33711
  23004. #, no-wrap
  23005. msgid "@code{baud-rate} (default: @code{#f})"
  23006. msgstr ""
  23007. #. type: table
  23008. #: guix-git/doc/guix.texi:16137
  23009. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  23010. msgstr ""
  23011. #. type: item
  23012. #: guix-git/doc/guix.texi:16138
  23013. #, no-wrap
  23014. msgid "@code{term} (default: @code{#f})"
  23015. msgstr ""
  23016. #. type: table
  23017. #: guix-git/doc/guix.texi:16141
  23018. msgid "A string containing the value used for the @env{TERM} environment variable."
  23019. msgstr ""
  23020. #. type: item
  23021. #: guix-git/doc/guix.texi:16142
  23022. #, no-wrap
  23023. msgid "@code{eight-bits?} (default: @code{#f})"
  23024. msgstr ""
  23025. #. type: table
  23026. #: guix-git/doc/guix.texi:16145
  23027. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  23028. msgstr ""
  23029. #. type: table
  23030. #: guix-git/doc/guix.texi:16149 guix-git/doc/guix.texi:16308
  23031. 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."
  23032. msgstr ""
  23033. #. type: item
  23034. #: guix-git/doc/guix.texi:16150
  23035. #, no-wrap
  23036. msgid "@code{no-reset?} (default: @code{#f})"
  23037. msgstr ""
  23038. #. type: table
  23039. #: guix-git/doc/guix.texi:16152
  23040. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  23041. msgstr ""
  23042. #. type: item
  23043. #: guix-git/doc/guix.texi:16153
  23044. #, no-wrap
  23045. msgid "@code{host} (default: @code{#f})"
  23046. msgstr ""
  23047. #. type: table
  23048. #: guix-git/doc/guix.texi:16156
  23049. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  23050. msgstr ""
  23051. #. type: item
  23052. #: guix-git/doc/guix.texi:16157
  23053. #, no-wrap
  23054. msgid "@code{remote?} (default: @code{#f})"
  23055. msgstr ""
  23056. #. type: table
  23057. #: guix-git/doc/guix.texi:16161
  23058. 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}."
  23059. msgstr ""
  23060. #. type: item
  23061. #: guix-git/doc/guix.texi:16162
  23062. #, no-wrap
  23063. msgid "@code{flow-control?} (default: @code{#f})"
  23064. msgstr ""
  23065. #. type: table
  23066. #: guix-git/doc/guix.texi:16164
  23067. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  23068. msgstr ""
  23069. #. type: item
  23070. #: guix-git/doc/guix.texi:16165
  23071. #, no-wrap
  23072. msgid "@code{no-issue?} (default: @code{#f})"
  23073. msgstr ""
  23074. #. type: table
  23075. #: guix-git/doc/guix.texi:16168
  23076. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  23077. msgstr ""
  23078. #. type: item
  23079. #: guix-git/doc/guix.texi:16169
  23080. #, no-wrap
  23081. msgid "@code{init-string} (default: @code{#f})"
  23082. msgstr ""
  23083. #. type: table
  23084. #: guix-git/doc/guix.texi:16172
  23085. 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."
  23086. msgstr ""
  23087. #. type: item
  23088. #: guix-git/doc/guix.texi:16173
  23089. #, no-wrap
  23090. msgid "@code{no-clear?} (default: @code{#f})"
  23091. msgstr ""
  23092. #. type: table
  23093. #: guix-git/doc/guix.texi:16176
  23094. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  23095. msgstr ""
  23096. #. type: item
  23097. #: guix-git/doc/guix.texi:16177
  23098. #, no-wrap
  23099. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  23100. msgstr ""
  23101. #. type: table
  23102. #: guix-git/doc/guix.texi:16181
  23103. 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."
  23104. msgstr ""
  23105. #. type: item
  23106. #: guix-git/doc/guix.texi:16182
  23107. #, no-wrap
  23108. msgid "@code{local-line} (default: @code{#f})"
  23109. msgstr ""
  23110. #. type: table
  23111. #: guix-git/doc/guix.texi:16186
  23112. 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}."
  23113. msgstr ""
  23114. #. type: item
  23115. #: guix-git/doc/guix.texi:16187
  23116. #, no-wrap
  23117. msgid "@code{extract-baud?} (default: @code{#f})"
  23118. msgstr ""
  23119. #. type: table
  23120. #: guix-git/doc/guix.texi:16190
  23121. 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."
  23122. msgstr ""
  23123. #. type: item
  23124. #: guix-git/doc/guix.texi:16191
  23125. #, no-wrap
  23126. msgid "@code{skip-login?} (default: @code{#f})"
  23127. msgstr ""
  23128. #. type: table
  23129. #: guix-git/doc/guix.texi:16195
  23130. 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."
  23131. msgstr ""
  23132. #. type: item
  23133. #: guix-git/doc/guix.texi:16196
  23134. #, no-wrap
  23135. msgid "@code{no-newline?} (default: @code{#f})"
  23136. msgstr ""
  23137. #. type: table
  23138. #: guix-git/doc/guix.texi:16199
  23139. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  23140. msgstr ""
  23141. #. type: item
  23142. #: guix-git/doc/guix.texi:16201
  23143. #, no-wrap
  23144. msgid "@code{login-options} (default: @code{#f})"
  23145. msgstr ""
  23146. #. type: table
  23147. #: guix-git/doc/guix.texi:16206
  23148. 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."
  23149. msgstr ""
  23150. #. type: item
  23151. #: guix-git/doc/guix.texi:16207
  23152. #, no-wrap
  23153. msgid "@code{login-pause} (default: @code{#f})"
  23154. msgstr ""
  23155. #. type: table
  23156. #: guix-git/doc/guix.texi:16211
  23157. 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."
  23158. msgstr ""
  23159. #. type: item
  23160. #: guix-git/doc/guix.texi:16212
  23161. #, no-wrap
  23162. msgid "@code{chroot} (default: @code{#f})"
  23163. msgstr ""
  23164. #. type: table
  23165. #: guix-git/doc/guix.texi:16215
  23166. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  23167. msgstr ""
  23168. #. type: item
  23169. #: guix-git/doc/guix.texi:16216
  23170. #, no-wrap
  23171. msgid "@code{hangup?} (default: @code{#f})"
  23172. msgstr ""
  23173. #. type: table
  23174. #: guix-git/doc/guix.texi:16219
  23175. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  23176. msgstr ""
  23177. #. type: item
  23178. #: guix-git/doc/guix.texi:16220
  23179. #, no-wrap
  23180. msgid "@code{keep-baud?} (default: @code{#f})"
  23181. msgstr ""
  23182. #. type: table
  23183. #: guix-git/doc/guix.texi:16224
  23184. 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."
  23185. msgstr ""
  23186. #. type: item
  23187. #: guix-git/doc/guix.texi:16225
  23188. #, no-wrap
  23189. msgid "@code{timeout} (default: @code{#f})"
  23190. msgstr ""
  23191. #. type: table
  23192. #: guix-git/doc/guix.texi:16228
  23193. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  23194. msgstr ""
  23195. #. type: item
  23196. #: guix-git/doc/guix.texi:16229
  23197. #, no-wrap
  23198. msgid "@code{detect-case?} (default: @code{#f})"
  23199. msgstr ""
  23200. #. type: table
  23201. #: guix-git/doc/guix.texi:16235
  23202. 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."
  23203. msgstr ""
  23204. #. type: item
  23205. #: guix-git/doc/guix.texi:16236
  23206. #, no-wrap
  23207. msgid "@code{wait-cr?} (default: @code{#f})"
  23208. msgstr ""
  23209. #. type: table
  23210. #: guix-git/doc/guix.texi:16241
  23211. 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."
  23212. msgstr ""
  23213. #. type: item
  23214. #: guix-git/doc/guix.texi:16242
  23215. #, no-wrap
  23216. msgid "@code{no-hints?} (default: @code{#f})"
  23217. msgstr ""
  23218. #. type: table
  23219. #: guix-git/doc/guix.texi:16245
  23220. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  23221. msgstr ""
  23222. #. type: item
  23223. #: guix-git/doc/guix.texi:16246
  23224. #, no-wrap
  23225. msgid "@code{no-hostname?} (default: @code{#f})"
  23226. msgstr ""
  23227. #. type: table
  23228. #: guix-git/doc/guix.texi:16249
  23229. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  23230. msgstr ""
  23231. #. type: item
  23232. #: guix-git/doc/guix.texi:16250
  23233. #, no-wrap
  23234. msgid "@code{long-hostname?} (default: @code{#f})"
  23235. msgstr ""
  23236. #. type: table
  23237. #: guix-git/doc/guix.texi:16254
  23238. 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."
  23239. msgstr ""
  23240. #. type: item
  23241. #: guix-git/doc/guix.texi:16255
  23242. #, no-wrap
  23243. msgid "@code{erase-characters} (default: @code{#f})"
  23244. msgstr ""
  23245. #. type: table
  23246. #: guix-git/doc/guix.texi:16258
  23247. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  23248. msgstr ""
  23249. #. type: item
  23250. #: guix-git/doc/guix.texi:16259
  23251. #, no-wrap
  23252. msgid "@code{kill-characters} (default: @code{#f})"
  23253. msgstr ""
  23254. #. type: table
  23255. #: guix-git/doc/guix.texi:16263
  23256. 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."
  23257. msgstr ""
  23258. #. type: item
  23259. #: guix-git/doc/guix.texi:16264
  23260. #, no-wrap
  23261. msgid "@code{chdir} (default: @code{#f})"
  23262. msgstr ""
  23263. #. type: table
  23264. #: guix-git/doc/guix.texi:16267
  23265. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  23266. msgstr ""
  23267. #. type: item
  23268. #: guix-git/doc/guix.texi:16268
  23269. #, no-wrap
  23270. msgid "@code{delay} (default: @code{#f})"
  23271. msgstr ""
  23272. #. type: table
  23273. #: guix-git/doc/guix.texi:16271
  23274. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  23275. msgstr ""
  23276. #. type: item
  23277. #: guix-git/doc/guix.texi:16272
  23278. #, no-wrap
  23279. msgid "@code{nice} (default: @code{#f})"
  23280. msgstr ""
  23281. #. type: table
  23282. #: guix-git/doc/guix.texi:16275
  23283. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  23284. msgstr ""
  23285. #. type: item
  23286. #: guix-git/doc/guix.texi:16276 guix-git/doc/guix.texi:16564
  23287. #: guix-git/doc/guix.texi:17478 guix-git/doc/guix.texi:25181
  23288. #: guix-git/doc/guix.texi:26658 guix-git/doc/guix.texi:29074
  23289. #: guix-git/doc/guix.texi:29869 guix-git/doc/guix.texi:31622
  23290. #: guix-git/doc/guix.texi:34051
  23291. #, no-wrap
  23292. msgid "@code{extra-options} (default: @code{'()})"
  23293. msgstr ""
  23294. #. type: table
  23295. #: guix-git/doc/guix.texi:16279
  23296. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  23297. msgstr ""
  23298. #. type: deffn
  23299. #: guix-git/doc/guix.texi:16283
  23300. #, no-wrap
  23301. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  23302. msgstr ""
  23303. #. type: deffn
  23304. #: guix-git/doc/guix.texi:16287
  23305. 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."
  23306. msgstr ""
  23307. #. type: deftp
  23308. #: guix-git/doc/guix.texi:16289
  23309. #, no-wrap
  23310. msgid "{Data Type} kmscon-configuration"
  23311. msgstr ""
  23312. #. type: deftp
  23313. #: guix-git/doc/guix.texi:16292
  23314. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  23315. msgstr ""
  23316. #. type: code{#1}
  23317. #: guix-git/doc/guix.texi:16295
  23318. #, no-wrap
  23319. msgid "virtual-terminal"
  23320. msgstr ""
  23321. #. type: table
  23322. #: guix-git/doc/guix.texi:16297
  23323. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  23324. msgstr ""
  23325. #. type: item
  23326. #: guix-git/doc/guix.texi:16298
  23327. #, no-wrap
  23328. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  23329. msgstr ""
  23330. #. type: table
  23331. #: guix-git/doc/guix.texi:16301
  23332. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  23333. msgstr ""
  23334. #. type: item
  23335. #: guix-git/doc/guix.texi:16302
  23336. #, no-wrap
  23337. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  23338. msgstr ""
  23339. #. type: table
  23340. #: guix-git/doc/guix.texi:16304
  23341. msgid "A list of arguments to pass to @command{login}."
  23342. msgstr ""
  23343. #. type: item
  23344. #: guix-git/doc/guix.texi:16309
  23345. #, no-wrap
  23346. msgid "@code{hardware-acceleration?} (default: #f)"
  23347. msgstr ""
  23348. #. type: table
  23349. #: guix-git/doc/guix.texi:16311
  23350. msgid "Whether to use hardware acceleration."
  23351. msgstr ""
  23352. #. type: item
  23353. #: guix-git/doc/guix.texi:16312
  23354. #, no-wrap
  23355. msgid "@code{font-engine} (default: @code{\"pango\"})"
  23356. msgstr ""
  23357. #. type: table
  23358. #: guix-git/doc/guix.texi:16314
  23359. msgid "Font engine used in Kmscon."
  23360. msgstr ""
  23361. #. type: item
  23362. #: guix-git/doc/guix.texi:16315
  23363. #, no-wrap
  23364. msgid "@code{font-size} (default: @code{12})"
  23365. msgstr ""
  23366. #. type: table
  23367. #: guix-git/doc/guix.texi:16317
  23368. msgid "Font size used in Kmscon."
  23369. msgstr ""
  23370. #. type: table
  23371. #: guix-git/doc/guix.texi:16321
  23372. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  23373. msgstr ""
  23374. #. type: table
  23375. #: guix-git/doc/guix.texi:16325
  23376. 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."
  23377. msgstr ""
  23378. #. type: item
  23379. #: guix-git/doc/guix.texi:16326
  23380. #, no-wrap
  23381. msgid "@code{kmscon} (default: @var{kmscon})"
  23382. msgstr ""
  23383. #. type: table
  23384. #: guix-git/doc/guix.texi:16328
  23385. msgid "The Kmscon package to use."
  23386. msgstr ""
  23387. #. type: cindex
  23388. #: guix-git/doc/guix.texi:16332
  23389. #, no-wrap
  23390. msgid "name service cache daemon"
  23391. msgstr ""
  23392. #. type: cindex
  23393. #: guix-git/doc/guix.texi:16333
  23394. #, no-wrap
  23395. msgid "nscd"
  23396. msgstr ""
  23397. #. type: deffn
  23398. #: guix-git/doc/guix.texi:16334
  23399. #, no-wrap
  23400. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  23401. msgstr ""
  23402. #. type: deffn
  23403. #: guix-git/doc/guix.texi:16339
  23404. 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."
  23405. msgstr ""
  23406. #. type: deffn
  23407. #: guix-git/doc/guix.texi:16341
  23408. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  23409. msgstr ""
  23410. #. type: item
  23411. #: guix-git/doc/guix.texi:16343
  23412. #, no-wrap
  23413. msgid "invalidate"
  23414. msgstr ""
  23415. #. type: cindex
  23416. #: guix-git/doc/guix.texi:16344
  23417. #, no-wrap
  23418. msgid "cache invalidation, nscd"
  23419. msgstr ""
  23420. #. type: cindex
  23421. #: guix-git/doc/guix.texi:16345
  23422. #, no-wrap
  23423. msgid "nscd, cache invalidation"
  23424. msgstr ""
  23425. #. type: table
  23426. #: guix-git/doc/guix.texi:16347
  23427. msgid "This invalidate the given cache. For instance, running:"
  23428. msgstr ""
  23429. #. type: example
  23430. #: guix-git/doc/guix.texi:16350
  23431. #, no-wrap
  23432. msgid "herd invalidate nscd hosts\n"
  23433. msgstr ""
  23434. #. type: table
  23435. #: guix-git/doc/guix.texi:16354
  23436. msgid "invalidates the host name lookup cache of nscd."
  23437. msgstr ""
  23438. #. type: item
  23439. #: guix-git/doc/guix.texi:16355
  23440. #, no-wrap
  23441. msgid "statistics"
  23442. msgstr ""
  23443. #. type: table
  23444. #: guix-git/doc/guix.texi:16358
  23445. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  23446. msgstr ""
  23447. #. type: defvr
  23448. #: guix-git/doc/guix.texi:16362
  23449. #, no-wrap
  23450. msgid "{Scheme Variable} %nscd-default-configuration"
  23451. msgstr ""
  23452. #. type: defvr
  23453. #: guix-git/doc/guix.texi:16366
  23454. 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."
  23455. msgstr ""
  23456. #. type: deftp
  23457. #: guix-git/doc/guix.texi:16368
  23458. #, no-wrap
  23459. msgid "{Data Type} nscd-configuration"
  23460. msgstr ""
  23461. #. type: deftp
  23462. #: guix-git/doc/guix.texi:16371
  23463. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  23464. msgstr ""
  23465. #. type: item
  23466. #: guix-git/doc/guix.texi:16374
  23467. #, no-wrap
  23468. msgid "@code{name-services} (default: @code{'()})"
  23469. msgstr ""
  23470. #. type: table
  23471. #: guix-git/doc/guix.texi:16377
  23472. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  23473. msgstr ""
  23474. #. type: item
  23475. #: guix-git/doc/guix.texi:16378
  23476. #, no-wrap
  23477. msgid "@code{glibc} (default: @var{glibc})"
  23478. msgstr ""
  23479. #. type: table
  23480. #: guix-git/doc/guix.texi:16381
  23481. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  23482. msgstr ""
  23483. #. type: item
  23484. #: guix-git/doc/guix.texi:16382
  23485. #, no-wrap
  23486. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  23487. msgstr ""
  23488. #. type: table
  23489. #: guix-git/doc/guix.texi:16385
  23490. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  23491. msgstr ""
  23492. #. type: item
  23493. #: guix-git/doc/guix.texi:16386
  23494. #, no-wrap
  23495. msgid "@code{debug-level} (default: @code{0})"
  23496. msgstr ""
  23497. #. type: table
  23498. #: guix-git/doc/guix.texi:16389
  23499. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  23500. msgstr ""
  23501. #. type: item
  23502. #: guix-git/doc/guix.texi:16390
  23503. #, no-wrap
  23504. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  23505. msgstr ""
  23506. #. type: table
  23507. #: guix-git/doc/guix.texi:16393
  23508. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  23509. msgstr ""
  23510. #. type: deftp
  23511. #: guix-git/doc/guix.texi:16397
  23512. #, no-wrap
  23513. msgid "{Data Type} nscd-cache"
  23514. msgstr ""
  23515. #. type: deftp
  23516. #: guix-git/doc/guix.texi:16399
  23517. msgid "Data type representing a cache database of nscd and its parameters."
  23518. msgstr ""
  23519. #. type: cindex
  23520. #: guix-git/doc/guix.texi:16402 guix-git/doc/guix.texi:21071
  23521. #, no-wrap
  23522. msgid "database"
  23523. msgstr ""
  23524. #. type: table
  23525. #: guix-git/doc/guix.texi:16407
  23526. 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})."
  23527. msgstr ""
  23528. #. type: code{#1}
  23529. #: guix-git/doc/guix.texi:16408
  23530. #, no-wrap
  23531. msgid "positive-time-to-live"
  23532. msgstr ""
  23533. #. type: itemx
  23534. #: guix-git/doc/guix.texi:16409
  23535. #, no-wrap
  23536. msgid "@code{negative-time-to-live} (default: @code{20})"
  23537. msgstr ""
  23538. #. type: table
  23539. #: guix-git/doc/guix.texi:16412
  23540. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  23541. msgstr ""
  23542. #. type: item
  23543. #: guix-git/doc/guix.texi:16413
  23544. #, no-wrap
  23545. msgid "@code{check-files?} (default: @code{#t})"
  23546. msgstr ""
  23547. #. type: table
  23548. #: guix-git/doc/guix.texi:16416
  23549. msgid "Whether to check for updates of the files corresponding to @var{database}."
  23550. msgstr ""
  23551. #. type: table
  23552. #: guix-git/doc/guix.texi:16420
  23553. 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."
  23554. msgstr ""
  23555. #. type: item
  23556. #: guix-git/doc/guix.texi:16421
  23557. #, no-wrap
  23558. msgid "@code{persistent?} (default: @code{#t})"
  23559. msgstr ""
  23560. #. type: table
  23561. #: guix-git/doc/guix.texi:16423
  23562. msgid "Whether the cache should be stored persistently on disk."
  23563. msgstr ""
  23564. #. type: item
  23565. #: guix-git/doc/guix.texi:16424
  23566. #, no-wrap
  23567. msgid "@code{shared?} (default: @code{#t})"
  23568. msgstr ""
  23569. #. type: table
  23570. #: guix-git/doc/guix.texi:16426
  23571. msgid "Whether the cache should be shared among users."
  23572. msgstr ""
  23573. #. type: item
  23574. #: guix-git/doc/guix.texi:16427
  23575. #, no-wrap
  23576. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  23577. msgstr ""
  23578. #. type: table
  23579. #: guix-git/doc/guix.texi:16429
  23580. msgid "Maximum size in bytes of the database cache."
  23581. msgstr ""
  23582. #. type: defvr
  23583. #: guix-git/doc/guix.texi:16436
  23584. #, no-wrap
  23585. msgid "{Scheme Variable} %nscd-default-caches"
  23586. msgstr ""
  23587. #. type: defvr
  23588. #: guix-git/doc/guix.texi:16439
  23589. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  23590. msgstr ""
  23591. #. type: defvr
  23592. #: guix-git/doc/guix.texi:16445
  23593. 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."
  23594. msgstr ""
  23595. #. type: anchor{#1}
  23596. #: guix-git/doc/guix.texi:16448
  23597. msgid "syslog-configuration-type"
  23598. msgstr ""
  23599. #. type: cindex
  23600. #: guix-git/doc/guix.texi:16448 guix-git/doc/guix.texi:16464
  23601. #, no-wrap
  23602. msgid "syslog"
  23603. msgstr ""
  23604. #. type: cindex
  23605. #: guix-git/doc/guix.texi:16449 guix-git/doc/guix.texi:17035
  23606. #, no-wrap
  23607. msgid "logging"
  23608. msgstr ""
  23609. #. type: deftp
  23610. #: guix-git/doc/guix.texi:16450
  23611. #, no-wrap
  23612. msgid "{Data Type} syslog-configuration"
  23613. msgstr ""
  23614. #. type: deftp
  23615. #: guix-git/doc/guix.texi:16452
  23616. msgid "This data type represents the configuration of the syslog daemon."
  23617. msgstr ""
  23618. #. type: item
  23619. #: guix-git/doc/guix.texi:16454
  23620. #, no-wrap
  23621. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  23622. msgstr ""
  23623. #. type: table
  23624. #: guix-git/doc/guix.texi:16456
  23625. msgid "The syslog daemon to use."
  23626. msgstr ""
  23627. #. type: item
  23628. #: guix-git/doc/guix.texi:16457
  23629. #, no-wrap
  23630. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  23631. msgstr ""
  23632. #. type: table
  23633. #: guix-git/doc/guix.texi:16459
  23634. msgid "The syslog configuration file to use."
  23635. msgstr ""
  23636. #. type: anchor{#1}
  23637. #: guix-git/doc/guix.texi:16464
  23638. msgid "syslog-service"
  23639. msgstr ""
  23640. #. type: deffn
  23641. #: guix-git/doc/guix.texi:16465
  23642. #, no-wrap
  23643. msgid "{Scheme Procedure} syslog-service @var{config}"
  23644. msgstr ""
  23645. #. type: deffn
  23646. #: guix-git/doc/guix.texi:16467
  23647. msgid "Return a service that runs a syslog daemon according to @var{config}."
  23648. msgstr ""
  23649. #. type: deffn
  23650. #: guix-git/doc/guix.texi:16470
  23651. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  23652. msgstr ""
  23653. #. type: defvr
  23654. #: guix-git/doc/guix.texi:16472
  23655. #, no-wrap
  23656. msgid "{Scheme Variable} guix-service-type"
  23657. msgstr ""
  23658. #. type: defvr
  23659. #: guix-git/doc/guix.texi:16476
  23660. 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."
  23661. msgstr ""
  23662. #. type: anchor{#1}
  23663. #: guix-git/doc/guix.texi:16479
  23664. msgid "guix-configuration-type"
  23665. msgstr ""
  23666. #. type: deftp
  23667. #: guix-git/doc/guix.texi:16479
  23668. #, no-wrap
  23669. msgid "{Data Type} guix-configuration"
  23670. msgstr ""
  23671. #. type: deftp
  23672. #: guix-git/doc/guix.texi:16482
  23673. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  23674. msgstr ""
  23675. #. type: item
  23676. #: guix-git/doc/guix.texi:16484
  23677. #, no-wrap
  23678. msgid "@code{guix} (default: @var{guix})"
  23679. msgstr ""
  23680. #. type: table
  23681. #: guix-git/doc/guix.texi:16486 guix-git/doc/guix.texi:16763
  23682. msgid "The Guix package to use."
  23683. msgstr ""
  23684. #. type: item
  23685. #: guix-git/doc/guix.texi:16487
  23686. #, no-wrap
  23687. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  23688. msgstr ""
  23689. #. type: table
  23690. #: guix-git/doc/guix.texi:16489
  23691. msgid "Name of the group for build user accounts."
  23692. msgstr ""
  23693. #. type: item
  23694. #: guix-git/doc/guix.texi:16490
  23695. #, no-wrap
  23696. msgid "@code{build-accounts} (default: @code{10})"
  23697. msgstr ""
  23698. #. type: table
  23699. #: guix-git/doc/guix.texi:16492
  23700. msgid "Number of build user accounts to create."
  23701. msgstr ""
  23702. #. type: item
  23703. #: guix-git/doc/guix.texi:16493
  23704. #, no-wrap
  23705. msgid "@code{authorize-key?} (default: @code{#t})"
  23706. msgstr ""
  23707. #. type: table
  23708. #: guix-git/doc/guix.texi:16500
  23709. 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})."
  23710. msgstr ""
  23711. #. type: table
  23712. #: guix-git/doc/guix.texi:16506
  23713. 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."
  23714. msgstr ""
  23715. #. type: quotation
  23716. #: guix-git/doc/guix.texi:16513
  23717. 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}."
  23718. msgstr ""
  23719. #. type: vindex
  23720. #: guix-git/doc/guix.texi:16515
  23721. #, no-wrap
  23722. msgid "%default-authorized-guix-keys"
  23723. msgstr ""
  23724. #. type: item
  23725. #: guix-git/doc/guix.texi:16516
  23726. #, no-wrap
  23727. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  23728. msgstr ""
  23729. #. type: table
  23730. #: guix-git/doc/guix.texi:16522
  23731. 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."
  23732. msgstr ""
  23733. #. type: item
  23734. #: guix-git/doc/guix.texi:16523
  23735. #, no-wrap
  23736. msgid "@code{use-substitutes?} (default: @code{#t})"
  23737. msgstr ""
  23738. #. type: table
  23739. #: guix-git/doc/guix.texi:16525
  23740. msgid "Whether to use substitutes."
  23741. msgstr ""
  23742. #. type: item
  23743. #: guix-git/doc/guix.texi:16526 guix-git/doc/guix.texi:29171
  23744. #, no-wrap
  23745. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  23746. msgstr ""
  23747. #. type: table
  23748. #: guix-git/doc/guix.texi:16528 guix-git/doc/guix.texi:29173
  23749. msgid "The list of URLs where to look for substitutes by default."
  23750. msgstr ""
  23751. #. type: table
  23752. #: guix-git/doc/guix.texi:16535
  23753. 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:"
  23754. msgstr ""
  23755. #. type: lisp
  23756. #: guix-git/doc/guix.texi:16544
  23757. #, no-wrap
  23758. msgid ""
  23759. "(guix-configuration\n"
  23760. " (substitute-urls\n"
  23761. " (append (list \"https://guix.example.org\")\n"
  23762. " %default-substitute-urls))\n"
  23763. " (authorized-keys\n"
  23764. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  23765. " %default-authorized-guix-keys)))\n"
  23766. msgstr ""
  23767. #. type: table
  23768. #: guix-git/doc/guix.texi:16549
  23769. 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."
  23770. msgstr ""
  23771. #. type: item
  23772. #: guix-git/doc/guix.texi:16550
  23773. #, no-wrap
  23774. msgid "@code{max-silent-time} (default: @code{0})"
  23775. msgstr ""
  23776. #. type: itemx
  23777. #: guix-git/doc/guix.texi:16551
  23778. #, no-wrap
  23779. msgid "@code{timeout} (default: @code{0})"
  23780. msgstr ""
  23781. #. type: table
  23782. #: guix-git/doc/guix.texi:16555
  23783. 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."
  23784. msgstr ""
  23785. #. type: item
  23786. #: guix-git/doc/guix.texi:16556
  23787. #, no-wrap
  23788. msgid "@code{log-compression} (default: @code{'bzip2})"
  23789. msgstr ""
  23790. #. type: table
  23791. #: guix-git/doc/guix.texi:16559
  23792. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  23793. msgstr ""
  23794. #. type: item
  23795. #: guix-git/doc/guix.texi:16560
  23796. #, no-wrap
  23797. msgid "@code{discover?} (default: @code{#f})"
  23798. msgstr ""
  23799. #. type: table
  23800. #: guix-git/doc/guix.texi:16566
  23801. msgid "List of extra command-line options for @command{guix-daemon}."
  23802. msgstr ""
  23803. #. type: item
  23804. #: guix-git/doc/guix.texi:16567
  23805. #, no-wrap
  23806. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  23807. msgstr ""
  23808. #. type: table
  23809. #: guix-git/doc/guix.texi:16570
  23810. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  23811. msgstr ""
  23812. #. type: cindex
  23813. #: guix-git/doc/guix.texi:16571
  23814. #, no-wrap
  23815. msgid "HTTP proxy, for @code{guix-daemon}"
  23816. msgstr ""
  23817. #. type: cindex
  23818. #: guix-git/doc/guix.texi:16572
  23819. #, no-wrap
  23820. msgid "proxy, for @code{guix-daemon} HTTP access"
  23821. msgstr ""
  23822. #. type: item
  23823. #: guix-git/doc/guix.texi:16573
  23824. #, no-wrap
  23825. msgid "@code{http-proxy} (default: @code{#f})"
  23826. msgstr ""
  23827. #. type: table
  23828. #: guix-git/doc/guix.texi:16576
  23829. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  23830. msgstr ""
  23831. #. type: table
  23832. #: guix-git/doc/guix.texi:16579
  23833. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  23834. msgstr ""
  23835. #. type: example
  23836. #: guix-git/doc/guix.texi:16582
  23837. #, no-wrap
  23838. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  23839. msgstr ""
  23840. #. type: table
  23841. #: guix-git/doc/guix.texi:16585
  23842. msgid "To clear the proxy settings, run:"
  23843. msgstr ""
  23844. #. type: example
  23845. #: guix-git/doc/guix.texi:16588
  23846. #, no-wrap
  23847. msgid "herd set-http-proxy guix-daemon\n"
  23848. msgstr ""
  23849. #. type: item
  23850. #: guix-git/doc/guix.texi:16590
  23851. #, no-wrap
  23852. msgid "@code{tmpdir} (default: @code{#f})"
  23853. msgstr ""
  23854. #. type: table
  23855. #: guix-git/doc/guix.texi:16592
  23856. msgid "A directory path where the @command{guix-daemon} will perform builds."
  23857. msgstr ""
  23858. #. type: deffn
  23859. #: guix-git/doc/guix.texi:16596
  23860. #, no-wrap
  23861. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  23862. msgstr ""
  23863. #. type: deffn
  23864. #: guix-git/doc/guix.texi:16602
  23865. 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."
  23866. msgstr ""
  23867. #. type: deffn
  23868. #: guix-git/doc/guix.texi:16605
  23869. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  23870. msgstr ""
  23871. #. type: deffn
  23872. #: guix-git/doc/guix.texi:16607
  23873. #, no-wrap
  23874. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  23875. msgstr ""
  23876. #. type: deffn
  23877. #: guix-git/doc/guix.texi:16610
  23878. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  23879. msgstr ""
  23880. #. type: deffn
  23881. #: guix-git/doc/guix.texi:16614
  23882. 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."
  23883. msgstr ""
  23884. #. type: lisp
  23885. #: guix-git/doc/guix.texi:16622
  23886. #, no-wrap
  23887. msgid ""
  23888. "(define %example-udev-rule\n"
  23889. " (udev-rule\n"
  23890. " \"90-usb-thing.rules\"\n"
  23891. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  23892. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  23893. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  23894. msgstr ""
  23895. #. type: deffn
  23896. #: guix-git/doc/guix.texi:16625
  23897. #, no-wrap
  23898. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  23899. msgstr ""
  23900. #. type: deffn
  23901. #: guix-git/doc/guix.texi:16632
  23902. 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."
  23903. msgstr ""
  23904. #. type: deffn
  23905. #: guix-git/doc/guix.texi:16635
  23906. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  23907. msgstr ""
  23908. #. type: lisp
  23909. #: guix-git/doc/guix.texi:16642
  23910. #, no-wrap
  23911. msgid ""
  23912. "(operating-system\n"
  23913. " ;; @dots{}\n"
  23914. " (services\n"
  23915. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  23916. " %desktop-services)))\n"
  23917. msgstr ""
  23918. #. type: deffn
  23919. #: guix-git/doc/guix.texi:16645
  23920. #, no-wrap
  23921. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  23922. msgstr ""
  23923. #. type: deffn
  23924. #: guix-git/doc/guix.texi:16648
  23925. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  23926. msgstr ""
  23927. #. type: deffn
  23928. #: guix-git/doc/guix.texi:16650
  23929. msgid "The following example showcases how we can use an existing rule file."
  23930. msgstr ""
  23931. #. type: lisp
  23932. #: guix-git/doc/guix.texi:16655
  23933. #, no-wrap
  23934. msgid ""
  23935. "(use-modules (guix download) ;for url-fetch\n"
  23936. " (guix packages) ;for origin\n"
  23937. " @dots{})\n"
  23938. "\n"
  23939. msgstr ""
  23940. #. type: lisp
  23941. #: guix-git/doc/guix.texi:16666
  23942. #, no-wrap
  23943. msgid ""
  23944. "(define %android-udev-rules\n"
  23945. " (file->udev-rule\n"
  23946. " \"51-android-udev.rules\"\n"
  23947. " (let ((version \"20170910\"))\n"
  23948. " (origin\n"
  23949. " (method url-fetch)\n"
  23950. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  23951. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  23952. " (sha256\n"
  23953. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  23954. msgstr ""
  23955. #. type: Plain text
  23956. #: guix-git/doc/guix.texi:16675
  23957. 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."
  23958. msgstr ""
  23959. #. type: Plain text
  23960. #: guix-git/doc/guix.texi:16684
  23961. 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."
  23962. msgstr ""
  23963. #. type: lisp
  23964. #: guix-git/doc/guix.texi:16689
  23965. #, no-wrap
  23966. msgid ""
  23967. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  23968. " (gnu system shadow) ;for user-group\n"
  23969. " @dots{})\n"
  23970. "\n"
  23971. msgstr ""
  23972. #. type: lisp
  23973. #: guix-git/doc/guix.texi:16702
  23974. #, no-wrap
  23975. msgid ""
  23976. "(operating-system\n"
  23977. " ;; @dots{}\n"
  23978. " (users (cons (user-account\n"
  23979. " ;; @dots{}\n"
  23980. " (supplementary-groups\n"
  23981. " '(\"adbusers\" ;for adb\n"
  23982. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  23983. " ;; @dots{}\n"
  23984. " (services\n"
  23985. " (cons (udev-rules-service 'android android-udev-rules\n"
  23986. " #:groups '(\"adbusers\"))\n"
  23987. " %desktop-services)))\n"
  23988. msgstr ""
  23989. #. type: defvr
  23990. #: guix-git/doc/guix.texi:16704
  23991. #, no-wrap
  23992. msgid "{Scheme Variable} urandom-seed-service-type"
  23993. msgstr ""
  23994. #. type: defvr
  23995. #: guix-git/doc/guix.texi:16709
  23996. 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."
  23997. msgstr ""
  23998. #. type: defvr
  23999. #: guix-git/doc/guix.texi:16711
  24000. #, no-wrap
  24001. msgid "{Scheme Variable} %random-seed-file"
  24002. msgstr ""
  24003. #. type: defvr
  24004. #: guix-git/doc/guix.texi:16715
  24005. 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}."
  24006. msgstr ""
  24007. #. type: cindex
  24008. #: guix-git/doc/guix.texi:16717
  24009. #, no-wrap
  24010. msgid "mouse"
  24011. msgstr ""
  24012. #. type: cindex
  24013. #: guix-git/doc/guix.texi:16718
  24014. #, no-wrap
  24015. msgid "gpm"
  24016. msgstr ""
  24017. #. type: defvr
  24018. #: guix-git/doc/guix.texi:16719
  24019. #, no-wrap
  24020. msgid "{Scheme Variable} gpm-service-type"
  24021. msgstr ""
  24022. #. type: defvr
  24023. #: guix-git/doc/guix.texi:16724
  24024. 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."
  24025. msgstr ""
  24026. #. type: defvr
  24027. #: guix-git/doc/guix.texi:16727
  24028. 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}."
  24029. msgstr ""
  24030. #. type: deftp
  24031. #: guix-git/doc/guix.texi:16729
  24032. #, no-wrap
  24033. msgid "{Data Type} gpm-configuration"
  24034. msgstr ""
  24035. #. type: deftp
  24036. #: guix-git/doc/guix.texi:16731
  24037. msgid "Data type representing the configuration of GPM."
  24038. msgstr ""
  24039. #. type: item
  24040. #: guix-git/doc/guix.texi:16733
  24041. #, no-wrap
  24042. msgid "@code{options} (default: @code{%default-gpm-options})"
  24043. msgstr ""
  24044. #. type: table
  24045. #: guix-git/doc/guix.texi:16738
  24046. 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."
  24047. msgstr ""
  24048. #. type: item
  24049. #: guix-git/doc/guix.texi:16739
  24050. #, no-wrap
  24051. msgid "@code{gpm} (default: @code{gpm})"
  24052. msgstr ""
  24053. #. type: table
  24054. #: guix-git/doc/guix.texi:16741
  24055. msgid "The GPM package to use."
  24056. msgstr ""
  24057. #. type: anchor{#1}
  24058. #: guix-git/doc/guix.texi:16746
  24059. msgid "guix-publish-service-type"
  24060. msgstr ""
  24061. #. type: deffn
  24062. #: guix-git/doc/guix.texi:16746
  24063. #, no-wrap
  24064. msgid "{Scheme Variable} guix-publish-service-type"
  24065. msgstr ""
  24066. #. type: deffn
  24067. #: guix-git/doc/guix.texi:16750
  24068. 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."
  24069. msgstr ""
  24070. #. type: deffn
  24071. #: guix-git/doc/guix.texi:16754
  24072. 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."
  24073. msgstr ""
  24074. #. type: deftp
  24075. #: guix-git/doc/guix.texi:16756
  24076. #, no-wrap
  24077. msgid "{Data Type} guix-publish-configuration"
  24078. msgstr ""
  24079. #. type: deftp
  24080. #: guix-git/doc/guix.texi:16759
  24081. msgid "Data type representing the configuration of the @code{guix publish} service."
  24082. msgstr ""
  24083. #. type: item
  24084. #: guix-git/doc/guix.texi:16761
  24085. #, no-wrap
  24086. msgid "@code{guix} (default: @code{guix})"
  24087. msgstr ""
  24088. #. type: item
  24089. #: guix-git/doc/guix.texi:16764 guix-git/doc/guix.texi:31477
  24090. #, no-wrap
  24091. msgid "@code{port} (default: @code{80})"
  24092. msgstr ""
  24093. #. type: table
  24094. #: guix-git/doc/guix.texi:16766
  24095. msgid "The TCP port to listen for connections."
  24096. msgstr ""
  24097. #. type: item
  24098. #: guix-git/doc/guix.texi:16767 guix-git/doc/guix.texi:29054
  24099. #: guix-git/doc/guix.texi:32858
  24100. #, no-wrap
  24101. msgid "@code{host} (default: @code{\"localhost\"})"
  24102. msgstr ""
  24103. #. type: table
  24104. #: guix-git/doc/guix.texi:16770
  24105. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  24106. msgstr ""
  24107. #. type: item
  24108. #: guix-git/doc/guix.texi:16771
  24109. #, no-wrap
  24110. msgid "@code{advertise?} (default: @code{#f})"
  24111. msgstr ""
  24112. #. type: table
  24113. #: guix-git/doc/guix.texi:16774
  24114. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  24115. msgstr ""
  24116. #. type: table
  24117. #: guix-git/doc/guix.texi:16778
  24118. 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."
  24119. msgstr ""
  24120. #. type: item
  24121. #: guix-git/doc/guix.texi:16779
  24122. #, no-wrap
  24123. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  24124. msgstr ""
  24125. #. type: table
  24126. #: guix-git/doc/guix.texi:16783
  24127. 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:"
  24128. msgstr ""
  24129. #. type: lisp
  24130. #: guix-git/doc/guix.texi:16786
  24131. #, no-wrap
  24132. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  24133. msgstr ""
  24134. #. type: table
  24135. #: guix-git/doc/guix.texi:16792
  24136. 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."
  24137. msgstr ""
  24138. #. type: table
  24139. #: guix-git/doc/guix.texi:16794
  24140. msgid "An empty list disables compression altogether."
  24141. msgstr ""
  24142. #. type: item
  24143. #: guix-git/doc/guix.texi:16795
  24144. #, no-wrap
  24145. msgid "@code{nar-path} (default: @code{\"nar\"})"
  24146. msgstr ""
  24147. #. type: table
  24148. #: guix-git/doc/guix.texi:16798
  24149. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  24150. msgstr ""
  24151. #. type: item
  24152. #: guix-git/doc/guix.texi:16799
  24153. #, no-wrap
  24154. msgid "@code{cache} (default: @code{#f})"
  24155. msgstr ""
  24156. #. type: table
  24157. #: guix-git/doc/guix.texi:16805
  24158. 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."
  24159. msgstr ""
  24160. #. type: item
  24161. #: guix-git/doc/guix.texi:16806
  24162. #, no-wrap
  24163. msgid "@code{workers} (default: @code{#f})"
  24164. msgstr ""
  24165. #. type: table
  24166. #: guix-git/doc/guix.texi:16810
  24167. 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."
  24168. msgstr ""
  24169. #. type: item
  24170. #: guix-git/doc/guix.texi:16811
  24171. #, no-wrap
  24172. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  24173. msgstr ""
  24174. #. type: table
  24175. #: guix-git/doc/guix.texi:16816
  24176. 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."
  24177. msgstr ""
  24178. #. type: item
  24179. #: guix-git/doc/guix.texi:16817
  24180. #, no-wrap
  24181. msgid "@code{ttl} (default: @code{#f})"
  24182. msgstr ""
  24183. #. type: table
  24184. #: guix-git/doc/guix.texi:16821
  24185. 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."
  24186. msgstr ""
  24187. #. type: anchor{#1}
  24188. #: guix-git/doc/guix.texi:16825
  24189. msgid "rngd-service"
  24190. msgstr ""
  24191. #. type: deffn
  24192. #: guix-git/doc/guix.texi:16825
  24193. #, no-wrap
  24194. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  24195. msgstr ""
  24196. #. type: deffn
  24197. #: guix-git/doc/guix.texi:16830
  24198. 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."
  24199. msgstr ""
  24200. #. type: anchor{#1}
  24201. #: guix-git/doc/guix.texi:16833
  24202. msgid "pam-limits-service"
  24203. msgstr ""
  24204. #. type: cindex
  24205. #: guix-git/doc/guix.texi:16833
  24206. #, no-wrap
  24207. msgid "session limits"
  24208. msgstr ""
  24209. #. type: cindex
  24210. #: guix-git/doc/guix.texi:16834
  24211. #, no-wrap
  24212. msgid "ulimit"
  24213. msgstr ""
  24214. #. type: cindex
  24215. #: guix-git/doc/guix.texi:16835
  24216. #, no-wrap
  24217. msgid "priority"
  24218. msgstr ""
  24219. #. type: cindex
  24220. #: guix-git/doc/guix.texi:16836
  24221. #, no-wrap
  24222. msgid "realtime"
  24223. msgstr ""
  24224. #. type: cindex
  24225. #: guix-git/doc/guix.texi:16837
  24226. #, no-wrap
  24227. msgid "jackd"
  24228. msgstr ""
  24229. #. type: cindex
  24230. #: guix-git/doc/guix.texi:16838
  24231. #, no-wrap
  24232. msgid "nofile"
  24233. msgstr ""
  24234. #. type: cindex
  24235. #: guix-git/doc/guix.texi:16839
  24236. #, no-wrap
  24237. msgid "open file descriptors"
  24238. msgstr ""
  24239. #. type: deffn
  24240. #: guix-git/doc/guix.texi:16840
  24241. #, no-wrap
  24242. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  24243. msgstr ""
  24244. #. type: deffn
  24245. #: guix-git/doc/guix.texi:16847
  24246. 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."
  24247. msgstr ""
  24248. #. type: deffn
  24249. #: guix-git/doc/guix.texi:16850
  24250. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  24251. msgstr ""
  24252. #. type: lisp
  24253. #: guix-git/doc/guix.texi:16856
  24254. #, no-wrap
  24255. msgid ""
  24256. "(pam-limits-service\n"
  24257. " (list\n"
  24258. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  24259. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  24260. msgstr ""
  24261. #. type: deffn
  24262. #: guix-git/doc/guix.texi:16862
  24263. 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."
  24264. msgstr ""
  24265. #. type: deffn
  24266. #: guix-git/doc/guix.texi:16865
  24267. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  24268. msgstr ""
  24269. #. type: lisp
  24270. #: guix-git/doc/guix.texi:16870
  24271. #, no-wrap
  24272. msgid ""
  24273. "(pam-limits-service\n"
  24274. " (list\n"
  24275. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  24276. msgstr ""
  24277. #. type: deffn
  24278. #: guix-git/doc/guix.texi:16878
  24279. 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."
  24280. msgstr ""
  24281. #. type: cindex
  24282. #: guix-git/doc/guix.texi:16883 guix-git/doc/guix.texi:37407
  24283. #, no-wrap
  24284. msgid "cron"
  24285. msgstr ""
  24286. #. type: cindex
  24287. #: guix-git/doc/guix.texi:16884 guix-git/doc/guix.texi:37408
  24288. #, no-wrap
  24289. msgid "mcron"
  24290. msgstr ""
  24291. #. type: cindex
  24292. #: guix-git/doc/guix.texi:16885 guix-git/doc/guix.texi:37409
  24293. #, no-wrap
  24294. msgid "scheduling jobs"
  24295. msgstr ""
  24296. #. type: Plain text
  24297. #: guix-git/doc/guix.texi:16892
  24298. 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."
  24299. msgstr ""
  24300. #. type: Plain text
  24301. #: guix-git/doc/guix.texi:16900
  24302. 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})."
  24303. msgstr ""
  24304. #. type: lisp
  24305. #: guix-git/doc/guix.texi:16904
  24306. #, no-wrap
  24307. msgid ""
  24308. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  24309. "(use-package-modules base idutils)\n"
  24310. "\n"
  24311. msgstr ""
  24312. #. type: lisp
  24313. #: guix-git/doc/guix.texi:16914
  24314. #, no-wrap
  24315. msgid ""
  24316. "(define updatedb-job\n"
  24317. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  24318. " ;; job's action as a Scheme procedure.\n"
  24319. " #~(job '(next-hour '(3))\n"
  24320. " (lambda ()\n"
  24321. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  24322. " \"updatedb\"\n"
  24323. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  24324. " \"updatedb\"))\n"
  24325. "\n"
  24326. msgstr ""
  24327. #. type: lisp
  24328. #: guix-git/doc/guix.texi:16920
  24329. #, no-wrap
  24330. msgid ""
  24331. "(define garbage-collector-job\n"
  24332. " ;; Collect garbage 5 minutes after midnight every day.\n"
  24333. " ;; The job's action is a shell command.\n"
  24334. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  24335. " \"guix gc -F 1G\"))\n"
  24336. "\n"
  24337. msgstr ""
  24338. #. type: lisp
  24339. #: guix-git/doc/guix.texi:16927
  24340. #, no-wrap
  24341. msgid ""
  24342. "(define idutils-job\n"
  24343. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  24344. " ;; and 19:15PM. This runs from the user's home directory.\n"
  24345. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  24346. " (string-append #$idutils \"/bin/mkid src\")\n"
  24347. " #:user \"charlie\"))\n"
  24348. "\n"
  24349. msgstr ""
  24350. #. type: lisp
  24351. #: guix-git/doc/guix.texi:16930
  24352. #, no-wrap
  24353. msgid ""
  24354. "(operating-system\n"
  24355. " ;; @dots{}\n"
  24356. "\n"
  24357. msgstr ""
  24358. #. type: lisp
  24359. #: guix-git/doc/guix.texi:16940
  24360. #, no-wrap
  24361. msgid ""
  24362. " ;; %BASE-SERVICES already includes an instance of\n"
  24363. " ;; 'mcron-service-type', which we extend with additional\n"
  24364. " ;; jobs using 'simple-service'.\n"
  24365. " (services (cons (simple-service 'my-cron-jobs\n"
  24366. " mcron-service-type\n"
  24367. " (list garbage-collector-job\n"
  24368. " updatedb-job\n"
  24369. " idutils-job))\n"
  24370. " %base-services)))\n"
  24371. msgstr ""
  24372. #. type: quotation
  24373. #: guix-git/doc/guix.texi:16942
  24374. #, no-wrap
  24375. msgid "Tip"
  24376. msgstr ""
  24377. #. type: quotation
  24378. #: guix-git/doc/guix.texi:16948
  24379. 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!"
  24380. msgstr ""
  24381. #. type: Plain text
  24382. #: guix-git/doc/guix.texi:16955
  24383. 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."
  24384. msgstr ""
  24385. #. type: lisp
  24386. #: guix-git/doc/guix.texi:16971
  24387. #, no-wrap
  24388. msgid ""
  24389. "(define %battery-alert-job\n"
  24390. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  24391. " #~(job\n"
  24392. " '(next-minute (range 0 60 1))\n"
  24393. " #$(program-file\n"
  24394. " \"battery-alert.scm\"\n"
  24395. " (with-imported-modules (source-module-closure\n"
  24396. " '((guix build utils)))\n"
  24397. " #~(begin\n"
  24398. " (use-modules (guix build utils)\n"
  24399. " (ice-9 popen)\n"
  24400. " (ice-9 regex)\n"
  24401. " (ice-9 textual-ports)\n"
  24402. " (srfi srfi-2))\n"
  24403. "\n"
  24404. msgstr ""
  24405. #. type: lisp
  24406. #: guix-git/doc/guix.texi:16973
  24407. #, no-wrap
  24408. msgid ""
  24409. " (define %min-level 20)\n"
  24410. "\n"
  24411. msgstr ""
  24412. #. type: lisp
  24413. #: guix-git/doc/guix.texi:16984
  24414. #, no-wrap
  24415. msgid ""
  24416. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  24417. " (and-let* ((input-pipe (open-pipe*\n"
  24418. " OPEN_READ\n"
  24419. " #$(file-append acpi \"/bin/acpi\")))\n"
  24420. " (output (get-string-all input-pipe))\n"
  24421. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  24422. " (level (string->number (match:substring m 1)))\n"
  24423. " ((< level %min-level)))\n"
  24424. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  24425. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  24426. msgstr ""
  24427. #. type: Plain text
  24428. #: guix-git/doc/guix.texi:16989
  24429. 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."
  24430. msgstr ""
  24431. #. type: Plain text
  24432. #: guix-git/doc/guix.texi:16992
  24433. 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:"
  24434. msgstr ""
  24435. #. type: example
  24436. #: guix-git/doc/guix.texi:16995
  24437. #, no-wrap
  24438. msgid "# herd schedule mcron\n"
  24439. msgstr ""
  24440. #. type: Plain text
  24441. #: guix-git/doc/guix.texi:17000
  24442. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  24443. msgstr ""
  24444. #. type: example
  24445. #: guix-git/doc/guix.texi:17003
  24446. #, no-wrap
  24447. msgid "# herd schedule mcron 10\n"
  24448. msgstr ""
  24449. #. type: defvr
  24450. #: guix-git/doc/guix.texi:17005
  24451. #, no-wrap
  24452. msgid "{Scheme Variable} mcron-service-type"
  24453. msgstr ""
  24454. #. type: defvr
  24455. #: guix-git/doc/guix.texi:17008
  24456. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  24457. msgstr ""
  24458. #. type: defvr
  24459. #: guix-git/doc/guix.texi:17013 guix-git/doc/guix.texi:37428
  24460. 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."
  24461. msgstr ""
  24462. #. type: deftp
  24463. #: guix-git/doc/guix.texi:17015
  24464. #, no-wrap
  24465. msgid "{Data Type} mcron-configuration"
  24466. msgstr ""
  24467. #. type: deftp
  24468. #: guix-git/doc/guix.texi:17017 guix-git/doc/guix.texi:37432
  24469. msgid "Data type representing the configuration of mcron."
  24470. msgstr ""
  24471. #. type: item
  24472. #: guix-git/doc/guix.texi:17019 guix-git/doc/guix.texi:37434
  24473. #, no-wrap
  24474. msgid "@code{mcron} (default: @var{mcron})"
  24475. msgstr ""
  24476. #. type: table
  24477. #: guix-git/doc/guix.texi:17021 guix-git/doc/guix.texi:37436
  24478. msgid "The mcron package to use."
  24479. msgstr ""
  24480. #. type: code{#1}
  24481. #: guix-git/doc/guix.texi:17022 guix-git/doc/guix.texi:17091
  24482. #: guix-git/doc/guix.texi:37437
  24483. #, no-wrap
  24484. msgid "jobs"
  24485. msgstr ""
  24486. #. type: table
  24487. #: guix-git/doc/guix.texi:17026 guix-git/doc/guix.texi:37441
  24488. 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})."
  24489. msgstr ""
  24490. #. type: cindex
  24491. #: guix-git/doc/guix.texi:17033
  24492. #, no-wrap
  24493. msgid "rottlog"
  24494. msgstr ""
  24495. #. type: cindex
  24496. #: guix-git/doc/guix.texi:17034
  24497. #, no-wrap
  24498. msgid "log rotation"
  24499. msgstr ""
  24500. #. type: Plain text
  24501. #: guix-git/doc/guix.texi:17041
  24502. 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})."
  24503. msgstr ""
  24504. #. type: Plain text
  24505. #: guix-git/doc/guix.texi:17047
  24506. 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):"
  24507. msgstr ""
  24508. #. type: lisp
  24509. #: guix-git/doc/guix.texi:17051
  24510. #, no-wrap
  24511. msgid ""
  24512. "(use-modules (guix) (gnu))\n"
  24513. "(use-service-modules admin)\n"
  24514. "\n"
  24515. msgstr ""
  24516. #. type: lisp
  24517. #: guix-git/doc/guix.texi:17055
  24518. #, no-wrap
  24519. msgid ""
  24520. "(define my-log-files\n"
  24521. " ;; Log files that I want to rotate.\n"
  24522. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  24523. "\n"
  24524. msgstr ""
  24525. #. type: lisp
  24526. #: guix-git/doc/guix.texi:17064
  24527. #, no-wrap
  24528. msgid ""
  24529. "(operating-system\n"
  24530. " ;; @dots{}\n"
  24531. " (services (cons (simple-service 'rotate-my-stuff\n"
  24532. " rottlog-service-type\n"
  24533. " (list (log-rotation\n"
  24534. " (frequency 'daily)\n"
  24535. " (files my-log-files))))\n"
  24536. " %base-services)))\n"
  24537. msgstr ""
  24538. #. type: defvr
  24539. #: guix-git/doc/guix.texi:17066
  24540. #, no-wrap
  24541. msgid "{Scheme Variable} rottlog-service-type"
  24542. msgstr ""
  24543. #. type: defvr
  24544. #: guix-git/doc/guix.texi:17069
  24545. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  24546. msgstr ""
  24547. #. type: defvr
  24548. #: guix-git/doc/guix.texi:17072
  24549. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  24550. msgstr ""
  24551. #. type: defvr
  24552. #: guix-git/doc/guix.texi:17075
  24553. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  24554. msgstr ""
  24555. #. type: deftp
  24556. #: guix-git/doc/guix.texi:17077
  24557. #, no-wrap
  24558. msgid "{Data Type} rottlog-configuration"
  24559. msgstr ""
  24560. #. type: deftp
  24561. #: guix-git/doc/guix.texi:17079
  24562. msgid "Data type representing the configuration of rottlog."
  24563. msgstr ""
  24564. #. type: item
  24565. #: guix-git/doc/guix.texi:17081
  24566. #, no-wrap
  24567. msgid "@code{rottlog} (default: @code{rottlog})"
  24568. msgstr ""
  24569. #. type: table
  24570. #: guix-git/doc/guix.texi:17083
  24571. msgid "The Rottlog package to use."
  24572. msgstr ""
  24573. #. type: item
  24574. #: guix-git/doc/guix.texi:17084
  24575. #, no-wrap
  24576. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  24577. msgstr ""
  24578. #. type: table
  24579. #: guix-git/doc/guix.texi:17087
  24580. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  24581. msgstr ""
  24582. #. type: item
  24583. #: guix-git/doc/guix.texi:17088
  24584. #, no-wrap
  24585. msgid "@code{rotations} (default: @code{%default-rotations})"
  24586. msgstr ""
  24587. #. type: table
  24588. #: guix-git/doc/guix.texi:17090
  24589. msgid "A list of @code{log-rotation} objects as defined below."
  24590. msgstr ""
  24591. #. type: table
  24592. #: guix-git/doc/guix.texi:17094
  24593. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  24594. msgstr ""
  24595. #. type: deftp
  24596. #: guix-git/doc/guix.texi:17097
  24597. #, no-wrap
  24598. msgid "{Data Type} log-rotation"
  24599. msgstr ""
  24600. #. type: deftp
  24601. #: guix-git/doc/guix.texi:17099
  24602. msgid "Data type representing the rotation of a group of log files."
  24603. msgstr ""
  24604. #. type: deftp
  24605. #: guix-git/doc/guix.texi:17103
  24606. 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:"
  24607. msgstr ""
  24608. #. type: lisp
  24609. #: guix-git/doc/guix.texi:17112
  24610. #, no-wrap
  24611. msgid ""
  24612. "(log-rotation\n"
  24613. " (frequency 'daily)\n"
  24614. " (files '(\"/var/log/apache/*\"))\n"
  24615. " (options '(\"storedir apache-archives\"\n"
  24616. " \"rotate 6\"\n"
  24617. " \"notifempty\"\n"
  24618. " \"nocompress\")))\n"
  24619. msgstr ""
  24620. #. type: deftp
  24621. #: guix-git/doc/guix.texi:17115
  24622. msgid "The list of fields is as follows:"
  24623. msgstr ""
  24624. #. type: item
  24625. #: guix-git/doc/guix.texi:17117
  24626. #, no-wrap
  24627. msgid "@code{frequency} (default: @code{'weekly})"
  24628. msgstr ""
  24629. #. type: table
  24630. #: guix-git/doc/guix.texi:17119
  24631. msgid "The log rotation frequency, a symbol."
  24632. msgstr ""
  24633. #. type: code{#1}
  24634. #: guix-git/doc/guix.texi:17120
  24635. #, no-wrap
  24636. msgid "files"
  24637. msgstr ""
  24638. #. type: table
  24639. #: guix-git/doc/guix.texi:17122
  24640. msgid "The list of files or file glob patterns to rotate."
  24641. msgstr ""
  24642. #. type: item
  24643. #: guix-git/doc/guix.texi:17123
  24644. #, no-wrap
  24645. msgid "@code{options} (default: @code{'()})"
  24646. msgstr ""
  24647. #. type: table
  24648. #: guix-git/doc/guix.texi:17126
  24649. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  24650. msgstr ""
  24651. #. type: item
  24652. #: guix-git/doc/guix.texi:17127
  24653. #, no-wrap
  24654. msgid "@code{post-rotate} (default: @code{#f})"
  24655. msgstr ""
  24656. #. type: table
  24657. #: guix-git/doc/guix.texi:17129
  24658. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  24659. msgstr ""
  24660. #. type: defvr
  24661. #: guix-git/doc/guix.texi:17132
  24662. #, no-wrap
  24663. msgid "{Scheme Variable} %default-rotations"
  24664. msgstr ""
  24665. #. type: defvr
  24666. #: guix-git/doc/guix.texi:17135
  24667. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  24668. msgstr ""
  24669. #. type: defvr
  24670. #: guix-git/doc/guix.texi:17137
  24671. #, no-wrap
  24672. msgid "{Scheme Variable} %rotated-files"
  24673. msgstr ""
  24674. #. type: defvr
  24675. #: guix-git/doc/guix.texi:17141
  24676. 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\")}."
  24677. msgstr ""
  24678. #. type: Plain text
  24679. #: guix-git/doc/guix.texi:17154
  24680. msgid "The @code{(gnu services networking)} module provides services to configure network interfaces and set up networking on your machine. Those services provide different ways for you to set up your machine: by declaring a static network configuration, by running a Dynamic Host Configuration Protocol (DHCP) client, or by running daemons such as NetworkManager and Connman that automate the whole process, automatically adapt to connectivity changes, and provide a high-level user interface."
  24681. msgstr ""
  24682. #. type: Plain text
  24683. #: guix-git/doc/guix.texi:17160
  24684. msgid "On a laptop, NetworkManager and Connman are by far the most convenient options, which is why the default desktop services include NetworkManager (@pxref{Desktop Services, @code{%desktop-services}}). For a server, or for a virtual machine or a container, static network configuration or a simple DHCP client are often more appropriate."
  24685. msgstr ""
  24686. #. type: Plain text
  24687. #: guix-git/doc/guix.texi:17163
  24688. msgid "This section describes the various network setup services available, starting with static network configuration."
  24689. msgstr ""
  24690. #. type: defvr
  24691. #: guix-git/doc/guix.texi:17164
  24692. #, no-wrap
  24693. msgid "{Scheme Variable} static-networking-service-type"
  24694. msgstr ""
  24695. #. type: defvr
  24696. #: guix-git/doc/guix.texi:17169
  24697. msgid "This is the type for statically-configured network interfaces. Its value must be a list of @code{static-networking} records. Each of them declares a set of @dfn{addresses}, @dfn{routes}, and @dfn{links}, as show below."
  24698. msgstr ""
  24699. #. type: cindex
  24700. #: guix-git/doc/guix.texi:17170
  24701. #, no-wrap
  24702. msgid "network interface controller (NIC)"
  24703. msgstr ""
  24704. #. type: cindex
  24705. #: guix-git/doc/guix.texi:17171
  24706. #, no-wrap
  24707. msgid "NIC, networking interface controller"
  24708. msgstr ""
  24709. #. type: defvr
  24710. #: guix-git/doc/guix.texi:17174
  24711. msgid "Here is the simplest configuration, with only one network interface controller (NIC) and only IPv4 connectivity:"
  24712. msgstr ""
  24713. #. type: lisp
  24714. #: guix-git/doc/guix.texi:17188
  24715. #, no-wrap
  24716. msgid ""
  24717. ";; Static networking for one NIC, IPv4-only.\n"
  24718. "(service static-networking-service-type\n"
  24719. " (list (static-networking\n"
  24720. " (addresses\n"
  24721. " (list (network-address\n"
  24722. " (device \"eno1\")\n"
  24723. " (value \"10.0.2.15/24\"))))\n"
  24724. " (routes\n"
  24725. " (list (network-route\n"
  24726. " (destination \"default\")\n"
  24727. " (gateway \"10.0.2.2\"))))\n"
  24728. " (name-servers '(\"10.0.2.3\")))))\n"
  24729. msgstr ""
  24730. #. type: defvr
  24731. #: guix-git/doc/guix.texi:17197
  24732. msgid "The snippet above can be added to the @code{services} field of your operating system configuration (@pxref{Using the Configuration System}). It will configure your machine to have 10.0.2.15 as its IP address, with a 24-bit netmask for the local network---meaning that any 10.0.2.@var{x} address is on the local area network (LAN). Traffic to addresses outside the local network is routed @i{via} 10.0.2.2. Host names are resolved by sending domain name system (DNS) queries to 10.0.2.3."
  24733. msgstr ""
  24734. #. type: deftp
  24735. #: guix-git/doc/guix.texi:17199
  24736. #, no-wrap
  24737. msgid "{Data Type} static-networking"
  24738. msgstr ""
  24739. #. type: deftp
  24740. #: guix-git/doc/guix.texi:17201
  24741. msgid "This is the data type representing a static network configuration."
  24742. msgstr ""
  24743. #. type: deftp
  24744. #: guix-git/doc/guix.texi:17205
  24745. msgid "As an example, here is how you would declare the configuration of a machine with a single network interface controller (NIC) available as @code{eno1}, and with one IPv4 and one IPv6 address:"
  24746. msgstr ""
  24747. #. type: lisp
  24748. #: guix-git/doc/guix.texi:17222
  24749. #, no-wrap
  24750. msgid ""
  24751. ";; Network configuration for one NIC, IPv4 + IPv6.\n"
  24752. "(static-networking\n"
  24753. " (addresses (list (network-address\n"
  24754. " (device \"eno1\")\n"
  24755. " (value \"10.0.2.15/24\"))\n"
  24756. " (network-address\n"
  24757. " (device \"eno1\")\n"
  24758. " (value \"2001:123:4567:101::1/64\"))))\n"
  24759. " (routes (list (network-route\n"
  24760. " (destination \"default\")\n"
  24761. " (gateway \"10.0.2.2\"))\n"
  24762. " (network-route\n"
  24763. " (destination \"default\")\n"
  24764. " (gateway \"2020:321:4567:42::1\"))))\n"
  24765. " (name-servers '(\"10.0.2.3\")))\n"
  24766. msgstr ""
  24767. #. type: deftp
  24768. #: guix-git/doc/guix.texi:17228
  24769. msgid "If you are familiar with the @command{ip} command of the @uref{https://wiki.linuxfoundation.org/networking/iproute2, @code{iproute2} package} found on Linux-based systems, the declaration above is equivalent to typing:"
  24770. msgstr ""
  24771. #. type: example
  24772. #: guix-git/doc/guix.texi:17234
  24773. #, no-wrap
  24774. msgid ""
  24775. "ip address add 10.0.2.15/24 dev eno1\n"
  24776. "ip address add 2001:123:4567:101::1/64 dev eno1\n"
  24777. "ip route add default via inet 10.0.2.2\n"
  24778. "ip route add default via inet6 2020:321:4567:42::1\n"
  24779. msgstr ""
  24780. #. type: deftp
  24781. #: guix-git/doc/guix.texi:17239
  24782. msgid "Run @command{man 8 ip} for more info. Venerable GNU/Linux users will certainly know how to do it with @command{ifconfig} and @command{route}, but we'll spare you that."
  24783. msgstr ""
  24784. #. type: deftp
  24785. #: guix-git/doc/guix.texi:17241
  24786. msgid "The available fields of this data type are as follows:"
  24787. msgstr ""
  24788. #. type: code{#1}
  24789. #: guix-git/doc/guix.texi:17243
  24790. #, no-wrap
  24791. msgid "addresses"
  24792. msgstr ""
  24793. #. type: itemx
  24794. #: guix-git/doc/guix.texi:17244
  24795. #, no-wrap
  24796. msgid "@code{links} (default: @code{'()})"
  24797. msgstr ""
  24798. #. type: itemx
  24799. #: guix-git/doc/guix.texi:17245
  24800. #, no-wrap
  24801. msgid "@code{routes} (default: @code{'()})"
  24802. msgstr ""
  24803. #. type: table
  24804. #: guix-git/doc/guix.texi:17248
  24805. msgid "The list of @code{network-address}, @code{network-link}, and @code{network-route} records for this network (see below)."
  24806. msgstr ""
  24807. #. type: item
  24808. #: guix-git/doc/guix.texi:17249
  24809. #, no-wrap
  24810. msgid "@code{name-servers} (default: @code{'()})"
  24811. msgstr ""
  24812. #. type: table
  24813. #: guix-git/doc/guix.texi:17252
  24814. msgid "The list of IP addresses (strings) of domain name servers. These IP addresses go to @file{/etc/resolv.conf}."
  24815. msgstr ""
  24816. #. type: item
  24817. #: guix-git/doc/guix.texi:17253
  24818. #, no-wrap
  24819. msgid "@code{provision} (default: @code{'(networking)})"
  24820. msgstr ""
  24821. #. type: table
  24822. #: guix-git/doc/guix.texi:17256
  24823. msgid "If true, this should be a list of symbols for the Shepherd service corresponding to this network configuration."
  24824. msgstr ""
  24825. #. type: item
  24826. #: guix-git/doc/guix.texi:17257
  24827. #, no-wrap
  24828. msgid "@code{requirement} (default @code{'()})"
  24829. msgstr ""
  24830. #. type: table
  24831. #: guix-git/doc/guix.texi:17259
  24832. msgid "The list of Shepherd services depended on."
  24833. msgstr ""
  24834. #. type: deftp
  24835. #: guix-git/doc/guix.texi:17262
  24836. #, no-wrap
  24837. msgid "{Data Type} network-address"
  24838. msgstr ""
  24839. #. type: deftp
  24840. #: guix-git/doc/guix.texi:17265
  24841. msgid "This is the data type representing the IP address of a network interface."
  24842. msgstr ""
  24843. #. type: table
  24844. #: guix-git/doc/guix.texi:17270
  24845. msgid "The name of the network interface for this address---e.g., @code{\"eno1\"}."
  24846. msgstr ""
  24847. #. type: item
  24848. #: guix-git/doc/guix.texi:17271
  24849. #, no-wrap
  24850. msgid "value"
  24851. msgstr ""
  24852. #. type: table
  24853. #: guix-git/doc/guix.texi:17275
  24854. msgid "The actual IP address and network mask, in @uref{https://en.wikipedia.org/wiki/CIDR#CIDR_notation, @acronym{CIDR, Classless Inter-Domain Routing} notation}, as a string."
  24855. msgstr ""
  24856. #. type: table
  24857. #: guix-git/doc/guix.texi:17279
  24858. msgid "For example, @code{\"10.0.2.15/24\"} denotes IPv4 address 10.0.2.15 on a 24-bit sub-network---all 10.0.2.@var{x} addresses are on the same local network."
  24859. msgstr ""
  24860. #. type: item
  24861. #: guix-git/doc/guix.texi:17280
  24862. #, no-wrap
  24863. msgid "ipv6?"
  24864. msgstr ""
  24865. #. type: table
  24866. #: guix-git/doc/guix.texi:17283
  24867. msgid "Whether @code{value} denotes an IPv6 address. By default this is automatically determined."
  24868. msgstr ""
  24869. #. type: deftp
  24870. #: guix-git/doc/guix.texi:17286
  24871. #, no-wrap
  24872. msgid "{Data Type} network-route"
  24873. msgstr ""
  24874. #. type: deftp
  24875. #: guix-git/doc/guix.texi:17288
  24876. msgid "This is the data type representing a network route."
  24877. msgstr ""
  24878. #. type: code{#1}
  24879. #: guix-git/doc/guix.texi:17290
  24880. #, no-wrap
  24881. msgid "destination"
  24882. msgstr ""
  24883. #. type: table
  24884. #: guix-git/doc/guix.texi:17293
  24885. msgid "The route destination (a string), either an IP address or @code{\"default\"} to denote the default route."
  24886. msgstr ""
  24887. #. type: item
  24888. #: guix-git/doc/guix.texi:17294
  24889. #, no-wrap
  24890. msgid "@code{source} (default: @code{#f})"
  24891. msgstr ""
  24892. #. type: table
  24893. #: guix-git/doc/guix.texi:17296
  24894. msgid "The route source."
  24895. msgstr ""
  24896. #. type: item
  24897. #: guix-git/doc/guix.texi:17297 guix-git/doc/guix.texi:34761
  24898. #, no-wrap
  24899. msgid "@code{device} (default: @code{#f})"
  24900. msgstr ""
  24901. #. type: table
  24902. #: guix-git/doc/guix.texi:17299
  24903. msgid "The device used for this route---e.g., @code{\"eno2\"}."
  24904. msgstr ""
  24905. #. type: item
  24906. #: guix-git/doc/guix.texi:17300
  24907. #, no-wrap
  24908. msgid "@code{ipv6?} (default: auto)"
  24909. msgstr ""
  24910. #. type: table
  24911. #: guix-git/doc/guix.texi:17303
  24912. msgid "Whether this is an IPv6 route. By default this is automatically determined based on @code{destination} or @code{gateway}."
  24913. msgstr ""
  24914. #. type: item
  24915. #: guix-git/doc/guix.texi:17304
  24916. #, no-wrap
  24917. msgid "@code{gateway} (default: @code{#f})"
  24918. msgstr ""
  24919. #. type: table
  24920. #: guix-git/doc/guix.texi:17306
  24921. msgid "IP address (a string) through which traffic is routed."
  24922. msgstr ""
  24923. #. type: deftp
  24924. #: guix-git/doc/guix.texi:17309
  24925. #, no-wrap
  24926. msgid "{Data Type} network-link"
  24927. msgstr ""
  24928. #. type: deftp
  24929. #: guix-git/doc/guix.texi:17312
  24930. msgid "Data type for a network link (@pxref{Link,,, guile-netlink, Guile-Netlink Manual})."
  24931. msgstr ""
  24932. #. type: table
  24933. #: guix-git/doc/guix.texi:17316
  24934. msgid "The name of the link---e.g., @code{\"v0p0\"}."
  24935. msgstr ""
  24936. #. type: table
  24937. #: guix-git/doc/guix.texi:17319
  24938. msgid "A symbol denoting the type of the link---e.g., @code{'veth}."
  24939. msgstr ""
  24940. #. type: item
  24941. #: guix-git/doc/guix.texi:17320
  24942. #, no-wrap
  24943. msgid "arguments"
  24944. msgstr ""
  24945. #. type: table
  24946. #: guix-git/doc/guix.texi:17322
  24947. msgid "List of arguments for this type of link."
  24948. msgstr ""
  24949. #. type: cindex
  24950. #: guix-git/doc/guix.texi:17325
  24951. #, no-wrap
  24952. msgid "loopback device"
  24953. msgstr ""
  24954. #. type: defvr
  24955. #: guix-git/doc/guix.texi:17326
  24956. #, no-wrap
  24957. msgid "{Scheme Variable} %loopback-static-networking"
  24958. msgstr ""
  24959. #. type: defvr
  24960. #: guix-git/doc/guix.texi:17330
  24961. msgid "This is the @code{static-networking} record representing the ``loopback device'', @code{lo}, for IP addresses 127.0.0.1 and ::1, and providing the @code{loopback} Shepherd service."
  24962. msgstr ""
  24963. #. type: cindex
  24964. #: guix-git/doc/guix.texi:17332
  24965. #, no-wrap
  24966. msgid "networking, with QEMU"
  24967. msgstr ""
  24968. #. type: cindex
  24969. #: guix-git/doc/guix.texi:17333
  24970. #, no-wrap
  24971. msgid "QEMU, networking"
  24972. msgstr ""
  24973. #. type: defvr
  24974. #: guix-git/doc/guix.texi:17334
  24975. #, no-wrap
  24976. msgid "{Scheme Variable} %qemu-static-networking"
  24977. msgstr ""
  24978. #. type: defvr
  24979. #: guix-git/doc/guix.texi:17338
  24980. msgid "This is the @code{static-networking} record representing network setup when using QEMU's user-mode network stack on @code{eth0} (@pxref{Using the user mode network stack,,, QEMU, QEMU Documentation})."
  24981. msgstr ""
  24982. #. type: cindex
  24983. #: guix-git/doc/guix.texi:17340
  24984. #, no-wrap
  24985. msgid "DHCP, networking service"
  24986. msgstr ""
  24987. #. type: defvr
  24988. #: guix-git/doc/guix.texi:17341
  24989. #, no-wrap
  24990. msgid "{Scheme Variable} dhcp-client-service-type"
  24991. msgstr ""
  24992. #. type: defvr
  24993. #: guix-git/doc/guix.texi:17345
  24994. 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."
  24995. msgstr ""
  24996. #. type: cindex
  24997. #: guix-git/doc/guix.texi:17347
  24998. #, no-wrap
  24999. msgid "NetworkManager"
  25000. msgstr ""
  25001. #. type: defvr
  25002. #: guix-git/doc/guix.texi:17349
  25003. #, no-wrap
  25004. msgid "{Scheme Variable} network-manager-service-type"
  25005. msgstr ""
  25006. #. type: defvr
  25007. #: guix-git/doc/guix.texi:17354
  25008. 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."
  25009. msgstr ""
  25010. #. type: defvr
  25011. #: guix-git/doc/guix.texi:17357 guix-git/doc/guix.texi:17509
  25012. #: guix-git/doc/guix.texi:17538
  25013. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  25014. msgstr ""
  25015. #. type: deftp
  25016. #: guix-git/doc/guix.texi:17359
  25017. #, no-wrap
  25018. msgid "{Data Type} network-manager-configuration"
  25019. msgstr ""
  25020. #. type: deftp
  25021. #: guix-git/doc/guix.texi:17361
  25022. msgid "Data type representing the configuration of NetworkManager."
  25023. msgstr ""
  25024. #. type: item
  25025. #: guix-git/doc/guix.texi:17363
  25026. #, no-wrap
  25027. msgid "@code{network-manager} (default: @code{network-manager})"
  25028. msgstr ""
  25029. #. type: table
  25030. #: guix-git/doc/guix.texi:17365
  25031. msgid "The NetworkManager package to use."
  25032. msgstr ""
  25033. #. type: item
  25034. #: guix-git/doc/guix.texi:17366
  25035. #, no-wrap
  25036. msgid "@code{dns} (default: @code{\"default\"})"
  25037. msgstr ""
  25038. #. type: table
  25039. #: guix-git/doc/guix.texi:17369
  25040. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  25041. msgstr ""
  25042. #. type: table
  25043. #: guix-git/doc/guix.texi:17374
  25044. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  25045. msgstr ""
  25046. #. type: item
  25047. #: guix-git/doc/guix.texi:17375
  25048. #, no-wrap
  25049. msgid "dnsmasq"
  25050. msgstr ""
  25051. #. type: table
  25052. #: guix-git/doc/guix.texi:17379
  25053. 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."
  25054. msgstr ""
  25055. #. type: table
  25056. #: guix-git/doc/guix.texi:17385
  25057. 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)."
  25058. msgstr ""
  25059. #. type: table
  25060. #: guix-git/doc/guix.texi:17392
  25061. 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:"
  25062. msgstr ""
  25063. #. type: example
  25064. #: guix-git/doc/guix.texi:17399
  25065. #, no-wrap
  25066. msgid ""
  25067. "nmcli connection add type tun \\\n"
  25068. " connection.interface-name tap0 \\\n"
  25069. " tun.mode tap tun.owner $(id -u) \\\n"
  25070. " ipv4.method shared \\\n"
  25071. " ipv4.addresses 172.28.112.1/24\n"
  25072. msgstr ""
  25073. #. type: table
  25074. #: guix-git/doc/guix.texi:17404
  25075. 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-...}."
  25076. msgstr ""
  25077. #. type: table
  25078. #: guix-git/doc/guix.texi:17407
  25079. msgid "NetworkManager will not modify @code{resolv.conf}."
  25080. msgstr ""
  25081. #. type: item
  25082. #: guix-git/doc/guix.texi:17409
  25083. #, no-wrap
  25084. msgid "@code{vpn-plugins} (default: @code{'()})"
  25085. msgstr ""
  25086. #. type: table
  25087. #: guix-git/doc/guix.texi:17413
  25088. 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."
  25089. msgstr ""
  25090. #. type: cindex
  25091. #: guix-git/doc/guix.texi:17417
  25092. #, no-wrap
  25093. msgid "Connman"
  25094. msgstr ""
  25095. #. type: deffn
  25096. #: guix-git/doc/guix.texi:17418
  25097. #, no-wrap
  25098. msgid "{Scheme Variable} connman-service-type"
  25099. msgstr ""
  25100. #. type: deffn
  25101. #: guix-git/doc/guix.texi:17421
  25102. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  25103. msgstr ""
  25104. #. type: deffn
  25105. #: guix-git/doc/guix.texi:17424
  25106. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  25107. msgstr ""
  25108. #. type: lisp
  25109. #: guix-git/doc/guix.texi:17429
  25110. #, no-wrap
  25111. msgid ""
  25112. "(service connman-service-type\n"
  25113. " (connman-configuration\n"
  25114. " (disable-vpn? #t)))\n"
  25115. msgstr ""
  25116. #. type: deffn
  25117. #: guix-git/doc/guix.texi:17432
  25118. msgid "See below for details about @code{connman-configuration}."
  25119. msgstr ""
  25120. #. type: deftp
  25121. #: guix-git/doc/guix.texi:17434
  25122. #, no-wrap
  25123. msgid "{Data Type} connman-configuration"
  25124. msgstr ""
  25125. #. type: deftp
  25126. #: guix-git/doc/guix.texi:17436
  25127. msgid "Data Type representing the configuration of connman."
  25128. msgstr ""
  25129. #. type: item
  25130. #: guix-git/doc/guix.texi:17438
  25131. #, no-wrap
  25132. msgid "@code{connman} (default: @var{connman})"
  25133. msgstr ""
  25134. #. type: table
  25135. #: guix-git/doc/guix.texi:17440
  25136. msgid "The connman package to use."
  25137. msgstr ""
  25138. #. type: item
  25139. #: guix-git/doc/guix.texi:17441
  25140. #, no-wrap
  25141. msgid "@code{disable-vpn?} (default: @code{#f})"
  25142. msgstr ""
  25143. #. type: table
  25144. #: guix-git/doc/guix.texi:17443
  25145. msgid "When true, disable connman's vpn plugin."
  25146. msgstr ""
  25147. #. type: cindex
  25148. #: guix-git/doc/guix.texi:17446
  25149. #, no-wrap
  25150. msgid "WPA Supplicant"
  25151. msgstr ""
  25152. #. type: defvr
  25153. #: guix-git/doc/guix.texi:17447
  25154. #, no-wrap
  25155. msgid "{Scheme Variable} wpa-supplicant-service-type"
  25156. msgstr ""
  25157. #. type: defvr
  25158. #: guix-git/doc/guix.texi:17451
  25159. 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."
  25160. msgstr ""
  25161. #. type: deftp
  25162. #: guix-git/doc/guix.texi:17453
  25163. #, no-wrap
  25164. msgid "{Data Type} wpa-supplicant-configuration"
  25165. msgstr ""
  25166. #. type: deftp
  25167. #: guix-git/doc/guix.texi:17455
  25168. msgid "Data type representing the configuration of WPA Supplicant."
  25169. msgstr ""
  25170. #. type: deftp
  25171. #: guix-git/doc/guix.texi:17457 guix-git/doc/guix.texi:32945
  25172. msgid "It takes the following parameters:"
  25173. msgstr ""
  25174. #. type: item
  25175. #: guix-git/doc/guix.texi:17459
  25176. #, no-wrap
  25177. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  25178. msgstr ""
  25179. #. type: table
  25180. #: guix-git/doc/guix.texi:17461
  25181. msgid "The WPA Supplicant package to use."
  25182. msgstr ""
  25183. #. type: item
  25184. #: guix-git/doc/guix.texi:17462
  25185. #, no-wrap
  25186. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  25187. msgstr ""
  25188. #. type: table
  25189. #: guix-git/doc/guix.texi:17464
  25190. msgid "List of services that should be started before WPA Supplicant starts."
  25191. msgstr ""
  25192. #. type: item
  25193. #: guix-git/doc/guix.texi:17465
  25194. #, no-wrap
  25195. msgid "@code{dbus?} (default: @code{#t})"
  25196. msgstr ""
  25197. #. type: table
  25198. #: guix-git/doc/guix.texi:17467
  25199. msgid "Whether to listen for requests on D-Bus."
  25200. msgstr ""
  25201. #. type: item
  25202. #: guix-git/doc/guix.texi:17468
  25203. #, no-wrap
  25204. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  25205. msgstr ""
  25206. #. type: table
  25207. #: guix-git/doc/guix.texi:17470
  25208. msgid "Where to store the PID file."
  25209. msgstr ""
  25210. #. type: item
  25211. #: guix-git/doc/guix.texi:17471 guix-git/doc/guix.texi:31246
  25212. #: guix-git/doc/guix.texi:31388
  25213. #, no-wrap
  25214. msgid "@code{interface} (default: @code{#f})"
  25215. msgstr ""
  25216. #. type: table
  25217. #: guix-git/doc/guix.texi:17474
  25218. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  25219. msgstr ""
  25220. #. type: item
  25221. #: guix-git/doc/guix.texi:17475 guix-git/doc/guix.texi:17591
  25222. #: guix-git/doc/guix.texi:22879
  25223. #, no-wrap
  25224. msgid "@code{config-file} (default: @code{#f})"
  25225. msgstr ""
  25226. #. type: table
  25227. #: guix-git/doc/guix.texi:17477
  25228. msgid "Optional configuration file to use."
  25229. msgstr ""
  25230. #. type: table
  25231. #: guix-git/doc/guix.texi:17480
  25232. msgid "List of additional command-line arguments to pass to the daemon."
  25233. msgstr ""
  25234. #. type: cindex
  25235. #: guix-git/doc/guix.texi:17483
  25236. #, no-wrap
  25237. msgid "wicd"
  25238. msgstr ""
  25239. #. type: cindex
  25240. #: guix-git/doc/guix.texi:17486
  25241. #, no-wrap
  25242. msgid "network management"
  25243. msgstr ""
  25244. #. type: deffn
  25245. #: guix-git/doc/guix.texi:17487
  25246. #, no-wrap
  25247. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  25248. msgstr ""
  25249. #. type: deffn
  25250. #: guix-git/doc/guix.texi:17490
  25251. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  25252. msgstr ""
  25253. #. type: deffn
  25254. #: guix-git/doc/guix.texi:17495
  25255. 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."
  25256. msgstr ""
  25257. #. type: cindex
  25258. #: guix-git/doc/guix.texi:17497
  25259. #, no-wrap
  25260. msgid "ModemManager"
  25261. msgstr ""
  25262. #. type: Plain text
  25263. #: guix-git/doc/guix.texi:17500
  25264. msgid "Some networking devices such as modems require special care, and this is what the services below focus on."
  25265. msgstr ""
  25266. #. type: defvr
  25267. #: guix-git/doc/guix.texi:17501
  25268. #, no-wrap
  25269. msgid "{Scheme Variable} modem-manager-service-type"
  25270. msgstr ""
  25271. #. type: defvr
  25272. #: guix-git/doc/guix.texi:17506
  25273. 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."
  25274. msgstr ""
  25275. #. type: deftp
  25276. #: guix-git/doc/guix.texi:17511
  25277. #, no-wrap
  25278. msgid "{Data Type} modem-manager-configuration"
  25279. msgstr ""
  25280. #. type: deftp
  25281. #: guix-git/doc/guix.texi:17513
  25282. msgid "Data type representing the configuration of ModemManager."
  25283. msgstr ""
  25284. #. type: item
  25285. #: guix-git/doc/guix.texi:17515
  25286. #, no-wrap
  25287. msgid "@code{modem-manager} (default: @code{modem-manager})"
  25288. msgstr ""
  25289. #. type: table
  25290. #: guix-git/doc/guix.texi:17517
  25291. msgid "The ModemManager package to use."
  25292. msgstr ""
  25293. #. type: cindex
  25294. #: guix-git/doc/guix.texi:17521
  25295. #, no-wrap
  25296. msgid "USB_ModeSwitch"
  25297. msgstr ""
  25298. #. type: cindex
  25299. #: guix-git/doc/guix.texi:17522
  25300. #, no-wrap
  25301. msgid "Modeswitching"
  25302. msgstr ""
  25303. #. type: defvr
  25304. #: guix-git/doc/guix.texi:17524
  25305. #, no-wrap
  25306. msgid "{Scheme Variable} usb-modeswitch-service-type"
  25307. msgstr ""
  25308. #. type: defvr
  25309. #: guix-git/doc/guix.texi:17529
  25310. 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."
  25311. msgstr ""
  25312. #. type: defvr
  25313. #: guix-git/doc/guix.texi:17535
  25314. 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."
  25315. msgstr ""
  25316. #. type: deftp
  25317. #: guix-git/doc/guix.texi:17540
  25318. #, no-wrap
  25319. msgid "{Data Type} usb-modeswitch-configuration"
  25320. msgstr ""
  25321. #. type: deftp
  25322. #: guix-git/doc/guix.texi:17542
  25323. msgid "Data type representing the configuration of USB_ModeSwitch."
  25324. msgstr ""
  25325. #. type: item
  25326. #: guix-git/doc/guix.texi:17544
  25327. #, no-wrap
  25328. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  25329. msgstr ""
  25330. #. type: table
  25331. #: guix-git/doc/guix.texi:17546
  25332. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  25333. msgstr ""
  25334. #. type: item
  25335. #: guix-git/doc/guix.texi:17547
  25336. #, no-wrap
  25337. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  25338. msgstr ""
  25339. #. type: table
  25340. #: guix-git/doc/guix.texi:17550
  25341. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  25342. msgstr ""
  25343. #. type: item
  25344. #: guix-git/doc/guix.texi:17551
  25345. #, no-wrap
  25346. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  25347. msgstr ""
  25348. #. type: table
  25349. #: guix-git/doc/guix.texi:17556
  25350. 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."
  25351. msgstr ""
  25352. #. type: Plain text
  25353. #: guix-git/doc/guix.texi:17570
  25354. msgid "The @code{(gnu services networking)} module discussed in the previous section provides services for more advanced setups: providing a DHCP service for others to use, filtering packets with iptables or nftables, running a WiFi access point with @command{hostapd}, running the @command{inetd} ``superdaemon'', and more. This section describes those."
  25355. msgstr ""
  25356. #. type: deffn
  25357. #: guix-git/doc/guix.texi:17571
  25358. #, no-wrap
  25359. msgid "{Scheme Procedure} dhcpd-service-type"
  25360. msgstr ""
  25361. #. type: deffn
  25362. #: guix-git/doc/guix.texi:17575
  25363. 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:"
  25364. msgstr ""
  25365. #. type: lisp
  25366. #: guix-git/doc/guix.texi:17581
  25367. #, no-wrap
  25368. msgid ""
  25369. "(service dhcpd-service-type\n"
  25370. " (dhcpd-configuration\n"
  25371. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  25372. " (interfaces '(\"enp0s25\"))))\n"
  25373. msgstr ""
  25374. #. type: deftp
  25375. #: guix-git/doc/guix.texi:17584
  25376. #, no-wrap
  25377. msgid "{Data Type} dhcpd-configuration"
  25378. msgstr ""
  25379. #. type: item
  25380. #: guix-git/doc/guix.texi:17586
  25381. #, no-wrap
  25382. msgid "@code{package} (default: @code{isc-dhcp})"
  25383. msgstr ""
  25384. #. type: table
  25385. #: guix-git/doc/guix.texi:17591
  25386. 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}."
  25387. msgstr ""
  25388. #. type: table
  25389. #: guix-git/doc/guix.texi:17596
  25390. 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."
  25391. msgstr ""
  25392. #. type: item
  25393. #: guix-git/doc/guix.texi:17596
  25394. #, no-wrap
  25395. msgid "@code{version} (default: @code{\"4\"})"
  25396. msgstr ""
  25397. #. type: table
  25398. #: guix-git/doc/guix.texi:17601
  25399. 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."
  25400. msgstr ""
  25401. #. type: item
  25402. #: guix-git/doc/guix.texi:17601
  25403. #, no-wrap
  25404. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  25405. msgstr ""
  25406. #. type: table
  25407. #: guix-git/doc/guix.texi:17604
  25408. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  25409. msgstr ""
  25410. #. type: item
  25411. #: guix-git/doc/guix.texi:17604
  25412. #, no-wrap
  25413. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  25414. msgstr ""
  25415. #. type: table
  25416. #: guix-git/doc/guix.texi:17607
  25417. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  25418. msgstr ""
  25419. #. type: item
  25420. #: guix-git/doc/guix.texi:17607
  25421. #, no-wrap
  25422. msgid "@code{interfaces} (default: @code{'()})"
  25423. msgstr ""
  25424. #. type: table
  25425. #: guix-git/doc/guix.texi:17613
  25426. 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."
  25427. msgstr ""
  25428. #. type: cindex
  25429. #: guix-git/doc/guix.texi:17616
  25430. #, no-wrap
  25431. msgid "hostapd service, for Wi-Fi access points"
  25432. msgstr ""
  25433. #. type: cindex
  25434. #: guix-git/doc/guix.texi:17617
  25435. #, no-wrap
  25436. msgid "Wi-Fi access points, hostapd service"
  25437. msgstr ""
  25438. #. type: defvr
  25439. #: guix-git/doc/guix.texi:17618
  25440. #, no-wrap
  25441. msgid "{Scheme Variable} hostapd-service-type"
  25442. msgstr ""
  25443. #. type: defvr
  25444. #: guix-git/doc/guix.texi:17623
  25445. 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:"
  25446. msgstr ""
  25447. #. type: lisp
  25448. #: guix-git/doc/guix.texi:17631
  25449. #, no-wrap
  25450. msgid ""
  25451. ";; Use wlan1 to run the access point for \"My Network\".\n"
  25452. "(service hostapd-service-type\n"
  25453. " (hostapd-configuration\n"
  25454. " (interface \"wlan1\")\n"
  25455. " (ssid \"My Network\")\n"
  25456. " (channel 12)))\n"
  25457. msgstr ""
  25458. #. type: deftp
  25459. #: guix-git/doc/guix.texi:17634
  25460. #, no-wrap
  25461. msgid "{Data Type} hostapd-configuration"
  25462. msgstr ""
  25463. #. type: deftp
  25464. #: guix-git/doc/guix.texi:17637
  25465. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  25466. msgstr ""
  25467. #. type: item
  25468. #: guix-git/doc/guix.texi:17639
  25469. #, no-wrap
  25470. msgid "@code{package} (default: @code{hostapd})"
  25471. msgstr ""
  25472. #. type: table
  25473. #: guix-git/doc/guix.texi:17641
  25474. msgid "The hostapd package to use."
  25475. msgstr ""
  25476. #. type: item
  25477. #: guix-git/doc/guix.texi:17642
  25478. #, no-wrap
  25479. msgid "@code{interface} (default: @code{\"wlan0\"})"
  25480. msgstr ""
  25481. #. type: table
  25482. #: guix-git/doc/guix.texi:17644
  25483. msgid "The network interface to run the WiFi access point."
  25484. msgstr ""
  25485. #. type: code{#1}
  25486. #: guix-git/doc/guix.texi:17645
  25487. #, no-wrap
  25488. msgid "ssid"
  25489. msgstr ""
  25490. #. type: table
  25491. #: guix-git/doc/guix.texi:17648
  25492. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  25493. msgstr ""
  25494. #. type: item
  25495. #: guix-git/doc/guix.texi:17649
  25496. #, no-wrap
  25497. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  25498. msgstr ""
  25499. #. type: table
  25500. #: guix-git/doc/guix.texi:17651
  25501. msgid "Whether to broadcast this SSID."
  25502. msgstr ""
  25503. #. type: item
  25504. #: guix-git/doc/guix.texi:17652
  25505. #, no-wrap
  25506. msgid "@code{channel} (default: @code{1})"
  25507. msgstr ""
  25508. #. type: table
  25509. #: guix-git/doc/guix.texi:17654
  25510. msgid "The WiFi channel to use."
  25511. msgstr ""
  25512. #. type: item
  25513. #: guix-git/doc/guix.texi:17655
  25514. #, no-wrap
  25515. msgid "@code{driver} (default: @code{\"nl80211\"})"
  25516. msgstr ""
  25517. #. type: table
  25518. #: guix-git/doc/guix.texi:17659
  25519. 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."
  25520. msgstr ""
  25521. #. type: item
  25522. #: guix-git/doc/guix.texi:17660 guix-git/doc/guix.texi:23728
  25523. #: guix-git/doc/guix.texi:26807
  25524. #, no-wrap
  25525. msgid "@code{extra-settings} (default: @code{\"\"})"
  25526. msgstr ""
  25527. #. type: table
  25528. #: guix-git/doc/guix.texi:17664
  25529. 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."
  25530. msgstr ""
  25531. #. type: defvr
  25532. #: guix-git/doc/guix.texi:17667
  25533. #, no-wrap
  25534. msgid "{Scheme Variable} simulated-wifi-service-type"
  25535. msgstr ""
  25536. #. type: defvr
  25537. #: guix-git/doc/guix.texi:17674
  25538. 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."
  25539. msgstr ""
  25540. #. type: defvr
  25541. #: guix-git/doc/guix.texi:17676
  25542. msgid "The service's value is a @code{hostapd-configuration} record."
  25543. msgstr ""
  25544. #. type: cindex
  25545. #: guix-git/doc/guix.texi:17679
  25546. #, no-wrap
  25547. msgid "iptables"
  25548. msgstr ""
  25549. #. type: defvr
  25550. #: guix-git/doc/guix.texi:17680
  25551. #, no-wrap
  25552. msgid "{Scheme Variable} iptables-service-type"
  25553. msgstr ""
  25554. #. type: defvr
  25555. #: guix-git/doc/guix.texi:17686
  25556. 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."
  25557. msgstr ""
  25558. #. type: lisp
  25559. #: guix-git/doc/guix.texi:17708
  25560. #, no-wrap
  25561. msgid ""
  25562. "(service iptables-service-type\n"
  25563. " (iptables-configuration\n"
  25564. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  25565. ":INPUT ACCEPT\n"
  25566. ":FORWARD ACCEPT\n"
  25567. ":OUTPUT ACCEPT\n"
  25568. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  25569. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  25570. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  25571. "COMMIT\n"
  25572. "\"))\n"
  25573. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  25574. ":INPUT ACCEPT\n"
  25575. ":FORWARD ACCEPT\n"
  25576. ":OUTPUT ACCEPT\n"
  25577. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  25578. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  25579. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  25580. "COMMIT\n"
  25581. "\"))))\n"
  25582. msgstr ""
  25583. #. type: deftp
  25584. #: guix-git/doc/guix.texi:17711
  25585. #, no-wrap
  25586. msgid "{Data Type} iptables-configuration"
  25587. msgstr ""
  25588. #. type: deftp
  25589. #: guix-git/doc/guix.texi:17713
  25590. msgid "The data type representing the configuration of iptables."
  25591. msgstr ""
  25592. #. type: item
  25593. #: guix-git/doc/guix.texi:17715
  25594. #, no-wrap
  25595. msgid "@code{iptables} (default: @code{iptables})"
  25596. msgstr ""
  25597. #. type: table
  25598. #: guix-git/doc/guix.texi:17718
  25599. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  25600. msgstr ""
  25601. #. type: item
  25602. #: guix-git/doc/guix.texi:17718
  25603. #, no-wrap
  25604. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  25605. msgstr ""
  25606. #. type: table
  25607. #: guix-git/doc/guix.texi:17722
  25608. 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})."
  25609. msgstr ""
  25610. #. type: item
  25611. #: guix-git/doc/guix.texi:17722
  25612. #, no-wrap
  25613. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  25614. msgstr ""
  25615. #. type: table
  25616. #: guix-git/doc/guix.texi:17726
  25617. 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})."
  25618. msgstr ""
  25619. #. type: cindex
  25620. #: guix-git/doc/guix.texi:17729
  25621. #, no-wrap
  25622. msgid "nftables"
  25623. msgstr ""
  25624. #. type: defvr
  25625. #: guix-git/doc/guix.texi:17730
  25626. #, no-wrap
  25627. msgid "{Scheme Variable} nftables-service-type"
  25628. msgstr ""
  25629. #. type: defvr
  25630. #: guix-git/doc/guix.texi:17738
  25631. 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:"
  25632. msgstr ""
  25633. #. type: lisp
  25634. #: guix-git/doc/guix.texi:17741
  25635. #, no-wrap
  25636. msgid "(service nftables-service-type)\n"
  25637. msgstr ""
  25638. #. type: deftp
  25639. #: guix-git/doc/guix.texi:17744
  25640. #, no-wrap
  25641. msgid "{Data Type} nftables-configuration"
  25642. msgstr ""
  25643. #. type: deftp
  25644. #: guix-git/doc/guix.texi:17746
  25645. msgid "The data type representing the configuration of nftables."
  25646. msgstr ""
  25647. #. type: item
  25648. #: guix-git/doc/guix.texi:17748
  25649. #, no-wrap
  25650. msgid "@code{package} (default: @code{nftables})"
  25651. msgstr ""
  25652. #. type: table
  25653. #: guix-git/doc/guix.texi:17750
  25654. msgid "The nftables package that provides @command{nft}."
  25655. msgstr ""
  25656. #. type: item
  25657. #: guix-git/doc/guix.texi:17750
  25658. #, no-wrap
  25659. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  25660. msgstr ""
  25661. #. type: table
  25662. #: guix-git/doc/guix.texi:17753
  25663. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  25664. msgstr ""
  25665. #. type: cindex
  25666. #: guix-git/doc/guix.texi:17756
  25667. #, no-wrap
  25668. msgid "NTP (Network Time Protocol), service"
  25669. msgstr ""
  25670. #. type: cindex
  25671. #: guix-git/doc/guix.texi:17757
  25672. #, no-wrap
  25673. msgid "ntpd, service for the Network Time Protocol daemon"
  25674. msgstr ""
  25675. #. type: cindex
  25676. #: guix-git/doc/guix.texi:17758
  25677. #, no-wrap
  25678. msgid "real time clock"
  25679. msgstr ""
  25680. #. type: defvr
  25681. #: guix-git/doc/guix.texi:17759
  25682. #, no-wrap
  25683. msgid "{Scheme Variable} ntp-service-type"
  25684. msgstr ""
  25685. #. type: defvr
  25686. #: guix-git/doc/guix.texi:17763
  25687. 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."
  25688. msgstr ""
  25689. #. type: defvr
  25690. #: guix-git/doc/guix.texi:17766
  25691. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  25692. msgstr ""
  25693. #. type: deftp
  25694. #: guix-git/doc/guix.texi:17768
  25695. #, no-wrap
  25696. msgid "{Data Type} ntp-configuration"
  25697. msgstr ""
  25698. #. type: deftp
  25699. #: guix-git/doc/guix.texi:17770
  25700. msgid "This is the data type for the NTP service configuration."
  25701. msgstr ""
  25702. #. type: item
  25703. #: guix-git/doc/guix.texi:17772
  25704. #, no-wrap
  25705. msgid "@code{servers} (default: @code{%ntp-servers})"
  25706. msgstr ""
  25707. #. type: table
  25708. #: guix-git/doc/guix.texi:17776
  25709. 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."
  25710. msgstr ""
  25711. #. type: item
  25712. #: guix-git/doc/guix.texi:17777
  25713. #, no-wrap
  25714. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  25715. msgstr ""
  25716. #. type: table
  25717. #: guix-git/doc/guix.texi:17780
  25718. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  25719. msgstr ""
  25720. #. type: item
  25721. #: guix-git/doc/guix.texi:17781
  25722. #, no-wrap
  25723. msgid "@code{ntp} (default: @code{ntp})"
  25724. msgstr ""
  25725. #. type: table
  25726. #: guix-git/doc/guix.texi:17783
  25727. msgid "The NTP package to use."
  25728. msgstr ""
  25729. #. type: defvr
  25730. #: guix-git/doc/guix.texi:17786
  25731. #, no-wrap
  25732. msgid "{Scheme Variable} %ntp-servers"
  25733. msgstr ""
  25734. #. type: defvr
  25735. #: guix-git/doc/guix.texi:17789
  25736. 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}."
  25737. msgstr ""
  25738. #. type: deftp
  25739. #: guix-git/doc/guix.texi:17791
  25740. #, no-wrap
  25741. msgid "{Data Type} ntp-server"
  25742. msgstr ""
  25743. #. type: deftp
  25744. #: guix-git/doc/guix.texi:17793
  25745. msgid "The data type representing the configuration of a NTP server."
  25746. msgstr ""
  25747. #. type: item
  25748. #: guix-git/doc/guix.texi:17795
  25749. #, no-wrap
  25750. msgid "@code{type} (default: @code{'server})"
  25751. msgstr ""
  25752. #. type: table
  25753. #: guix-git/doc/guix.texi:17798
  25754. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  25755. msgstr ""
  25756. #. type: code{#1}
  25757. #: guix-git/doc/guix.texi:17799
  25758. #, no-wrap
  25759. msgid "address"
  25760. msgstr ""
  25761. #. type: table
  25762. #: guix-git/doc/guix.texi:17801
  25763. msgid "The address of the server, as a string."
  25764. msgstr ""
  25765. #. type: code{#1}
  25766. #: guix-git/doc/guix.texi:17802 guix-git/doc/guix.texi:33774
  25767. #: guix-git/doc/guix.texi:33794
  25768. #, no-wrap
  25769. msgid "options"
  25770. msgstr ""
  25771. #. type: table
  25772. #: guix-git/doc/guix.texi:17807
  25773. 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."
  25774. msgstr ""
  25775. #. type: example
  25776. #: guix-git/doc/guix.texi:17813
  25777. #, no-wrap
  25778. msgid ""
  25779. "(ntp-server\n"
  25780. " (type 'server)\n"
  25781. " (address \"some.ntp.server.org\")\n"
  25782. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  25783. msgstr ""
  25784. #. type: cindex
  25785. #: guix-git/doc/guix.texi:17817
  25786. #, no-wrap
  25787. msgid "OpenNTPD"
  25788. msgstr ""
  25789. #. type: deffn
  25790. #: guix-git/doc/guix.texi:17818
  25791. #, no-wrap
  25792. msgid "{Scheme Procedure} openntpd-service-type"
  25793. msgstr ""
  25794. #. type: deffn
  25795. #: guix-git/doc/guix.texi:17822
  25796. 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."
  25797. msgstr ""
  25798. #. type: lisp
  25799. #: guix-git/doc/guix.texi:17831
  25800. #, no-wrap
  25801. msgid ""
  25802. "(service\n"
  25803. " openntpd-service-type\n"
  25804. " (openntpd-configuration\n"
  25805. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  25806. " (sensor '(\"udcf0 correction 70000\"))\n"
  25807. " (constraint-from '(\"www.gnu.org\"))\n"
  25808. " (constraints-from '(\"https://www.google.com/\"))))\n"
  25809. "\n"
  25810. msgstr ""
  25811. #. type: defvr
  25812. #: guix-git/doc/guix.texi:17835
  25813. #, no-wrap
  25814. msgid "{Scheme Variable} %openntpd-servers"
  25815. msgstr ""
  25816. #. type: defvr
  25817. #: guix-git/doc/guix.texi:17838
  25818. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  25819. msgstr ""
  25820. #. type: deftp
  25821. #: guix-git/doc/guix.texi:17840
  25822. #, no-wrap
  25823. msgid "{Data Type} openntpd-configuration"
  25824. msgstr ""
  25825. #. type: item
  25826. #: guix-git/doc/guix.texi:17842
  25827. #, no-wrap
  25828. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  25829. msgstr ""
  25830. #. type: table
  25831. #: guix-git/doc/guix.texi:17844
  25832. msgid "The openntpd executable to use."
  25833. msgstr ""
  25834. #. type: item
  25835. #: guix-git/doc/guix.texi:17844
  25836. #, no-wrap
  25837. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  25838. msgstr ""
  25839. #. type: table
  25840. #: guix-git/doc/guix.texi:17846
  25841. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  25842. msgstr ""
  25843. #. type: item
  25844. #: guix-git/doc/guix.texi:17846
  25845. #, no-wrap
  25846. msgid "@code{query-from} (default: @code{'()})"
  25847. msgstr ""
  25848. #. type: table
  25849. #: guix-git/doc/guix.texi:17848
  25850. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  25851. msgstr ""
  25852. #. type: item
  25853. #: guix-git/doc/guix.texi:17848
  25854. #, no-wrap
  25855. msgid "@code{sensor} (default: @code{'()})"
  25856. msgstr ""
  25857. #. type: table
  25858. #: guix-git/doc/guix.texi:17853
  25859. 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."
  25860. msgstr ""
  25861. #. type: item
  25862. #: guix-git/doc/guix.texi:17853
  25863. #, no-wrap
  25864. msgid "@code{server} (default: @code{'()})"
  25865. msgstr ""
  25866. #. type: table
  25867. #: guix-git/doc/guix.texi:17855
  25868. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  25869. msgstr ""
  25870. #. type: item
  25871. #: guix-git/doc/guix.texi:17855
  25872. #, no-wrap
  25873. msgid "@code{servers} (default: @code{%openntp-servers})"
  25874. msgstr ""
  25875. #. type: table
  25876. #: guix-git/doc/guix.texi:17857
  25877. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  25878. msgstr ""
  25879. #. type: item
  25880. #: guix-git/doc/guix.texi:17857
  25881. #, no-wrap
  25882. msgid "@code{constraint-from} (default: @code{'()})"
  25883. msgstr ""
  25884. #. type: table
  25885. #: guix-git/doc/guix.texi:17864
  25886. 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."
  25887. msgstr ""
  25888. #. type: item
  25889. #: guix-git/doc/guix.texi:17864
  25890. #, no-wrap
  25891. msgid "@code{constraints-from} (default: @code{'()})"
  25892. msgstr ""
  25893. #. type: table
  25894. #: guix-git/doc/guix.texi:17868
  25895. 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."
  25896. msgstr ""
  25897. #. type: cindex
  25898. #: guix-git/doc/guix.texi:17871
  25899. #, no-wrap
  25900. msgid "inetd"
  25901. msgstr ""
  25902. #. type: deffn
  25903. #: guix-git/doc/guix.texi:17872
  25904. #, no-wrap
  25905. msgid "{Scheme variable} inetd-service-type"
  25906. msgstr ""
  25907. #. type: deffn
  25908. #: guix-git/doc/guix.texi:17877
  25909. 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."
  25910. msgstr ""
  25911. #. type: deffn
  25912. #: guix-git/doc/guix.texi:17883
  25913. 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}:"
  25914. msgstr ""
  25915. #. type: lisp
  25916. #: guix-git/doc/guix.texi:17906
  25917. #, no-wrap
  25918. msgid ""
  25919. "(service\n"
  25920. " inetd-service-type\n"
  25921. " (inetd-configuration\n"
  25922. " (entries (list\n"
  25923. " (inetd-entry\n"
  25924. " (name \"echo\")\n"
  25925. " (socket-type 'stream)\n"
  25926. " (protocol \"tcp\")\n"
  25927. " (wait? #f)\n"
  25928. " (user \"root\"))\n"
  25929. " (inetd-entry\n"
  25930. " (node \"127.0.0.1\")\n"
  25931. " (name \"smtp\")\n"
  25932. " (socket-type 'stream)\n"
  25933. " (protocol \"tcp\")\n"
  25934. " (wait? #f)\n"
  25935. " (user \"root\")\n"
  25936. " (program (file-append openssh \"/bin/ssh\"))\n"
  25937. " (arguments\n"
  25938. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  25939. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  25940. msgstr ""
  25941. #. type: deffn
  25942. #: guix-git/doc/guix.texi:17909
  25943. msgid "See below for more details about @code{inetd-configuration}."
  25944. msgstr ""
  25945. #. type: deftp
  25946. #: guix-git/doc/guix.texi:17911
  25947. #, no-wrap
  25948. msgid "{Data Type} inetd-configuration"
  25949. msgstr ""
  25950. #. type: deftp
  25951. #: guix-git/doc/guix.texi:17913
  25952. msgid "Data type representing the configuration of @command{inetd}."
  25953. msgstr ""
  25954. #. type: item
  25955. #: guix-git/doc/guix.texi:17915
  25956. #, no-wrap
  25957. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  25958. msgstr ""
  25959. #. type: table
  25960. #: guix-git/doc/guix.texi:17917
  25961. msgid "The @command{inetd} executable to use."
  25962. msgstr ""
  25963. #. type: item
  25964. #: guix-git/doc/guix.texi:17918 guix-git/doc/guix.texi:27655
  25965. #, no-wrap
  25966. msgid "@code{entries} (default: @code{'()})"
  25967. msgstr ""
  25968. #. type: table
  25969. #: guix-git/doc/guix.texi:17921
  25970. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  25971. msgstr ""
  25972. #. type: deftp
  25973. #: guix-git/doc/guix.texi:17924
  25974. #, no-wrap
  25975. msgid "{Data Type} inetd-entry"
  25976. msgstr ""
  25977. #. type: deftp
  25978. #: guix-git/doc/guix.texi:17928
  25979. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  25980. msgstr ""
  25981. #. type: item
  25982. #: guix-git/doc/guix.texi:17930
  25983. #, no-wrap
  25984. msgid "@code{node} (default: @code{#f})"
  25985. msgstr ""
  25986. #. type: table
  25987. #: guix-git/doc/guix.texi:17935
  25988. 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."
  25989. msgstr ""
  25990. #. type: table
  25991. #: guix-git/doc/guix.texi:17937
  25992. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  25993. msgstr ""
  25994. #. type: code{#1}
  25995. #: guix-git/doc/guix.texi:17937
  25996. #, no-wrap
  25997. msgid "socket-type"
  25998. msgstr ""
  25999. #. type: table
  26000. #: guix-git/doc/guix.texi:17940
  26001. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  26002. msgstr ""
  26003. #. type: code{#1}
  26004. #: guix-git/doc/guix.texi:17940
  26005. #, no-wrap
  26006. msgid "protocol"
  26007. msgstr ""
  26008. #. type: table
  26009. #: guix-git/doc/guix.texi:17942
  26010. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  26011. msgstr ""
  26012. #. type: item
  26013. #: guix-git/doc/guix.texi:17942
  26014. #, no-wrap
  26015. msgid "@code{wait?} (default: @code{#t})"
  26016. msgstr ""
  26017. #. type: table
  26018. #: guix-git/doc/guix.texi:17945
  26019. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  26020. msgstr ""
  26021. #. type: table
  26022. #: guix-git/doc/guix.texi:17950
  26023. 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\"}."
  26024. msgstr ""
  26025. #. type: item
  26026. #: guix-git/doc/guix.texi:17950
  26027. #, no-wrap
  26028. msgid "@code{program} (default: @code{\"internal\"})"
  26029. msgstr ""
  26030. #. type: table
  26031. #: guix-git/doc/guix.texi:17953
  26032. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  26033. msgstr ""
  26034. #. type: table
  26035. #: guix-git/doc/guix.texi:17958
  26036. 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\")}."
  26037. msgstr ""
  26038. #. type: deftp
  26039. #: guix-git/doc/guix.texi:17962
  26040. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  26041. msgstr ""
  26042. #. type: cindex
  26043. #: guix-git/doc/guix.texi:17964
  26044. #, no-wrap
  26045. msgid "opendht, distributed hash table network service"
  26046. msgstr ""
  26047. #. type: cindex
  26048. #: guix-git/doc/guix.texi:17965
  26049. #, no-wrap
  26050. msgid "dhtproxy, for use with jami"
  26051. msgstr ""
  26052. #. type: defvr
  26053. #: guix-git/doc/guix.texi:17966
  26054. #, no-wrap
  26055. msgid "{Scheme Variable} opendht-service-type"
  26056. msgstr ""
  26057. #. type: defvr
  26058. #: guix-git/doc/guix.texi:17971
  26059. 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."
  26060. msgstr ""
  26061. #. type: quotation
  26062. #: guix-git/doc/guix.texi:17981
  26063. 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."
  26064. msgstr ""
  26065. #. type: defvr
  26066. #: guix-git/doc/guix.texi:17985
  26067. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  26068. msgstr ""
  26069. #. type: deftp
  26070. #: guix-git/doc/guix.texi:17987
  26071. #, no-wrap
  26072. msgid "{Data Type} opendht-configuration"
  26073. msgstr ""
  26074. #. type: deftp
  26075. #: guix-git/doc/guix.texi:17989
  26076. msgid "This is the data type for the OpenDHT service configuration."
  26077. msgstr ""
  26078. #. type: deftp
  26079. #: guix-git/doc/guix.texi:17994
  26080. msgid "Available @code{opendht-configuration} fields are:"
  26081. msgstr ""
  26082. #. type: deftypevr
  26083. #: guix-git/doc/guix.texi:17995
  26084. #, no-wrap
  26085. msgid "{@code{opendht-configuration} parameter} package opendht"
  26086. msgstr ""
  26087. #. type: deftypevr
  26088. #: guix-git/doc/guix.texi:17997
  26089. msgid "The @code{opendht} package to use."
  26090. msgstr ""
  26091. #. type: deftypevr
  26092. #: guix-git/doc/guix.texi:18000
  26093. #, no-wrap
  26094. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  26095. msgstr ""
  26096. #. type: deftypevr
  26097. #: guix-git/doc/guix.texi:18002
  26098. msgid "Whether to enable the multicast local peer discovery mechanism."
  26099. msgstr ""
  26100. #. type: deftypevr
  26101. #: guix-git/doc/guix.texi:18004 guix-git/doc/guix.texi:18012
  26102. #: guix-git/doc/guix.texi:18020 guix-git/doc/guix.texi:19712
  26103. #: guix-git/doc/guix.texi:19788 guix-git/doc/guix.texi:19830
  26104. #: guix-git/doc/guix.texi:19850 guix-git/doc/guix.texi:19856
  26105. #: guix-git/doc/guix.texi:19872 guix-git/doc/guix.texi:19960
  26106. #: guix-git/doc/guix.texi:20048 guix-git/doc/guix.texi:20361
  26107. #: guix-git/doc/guix.texi:20374 guix-git/doc/guix.texi:21492
  26108. #: guix-git/doc/guix.texi:22970 guix-git/doc/guix.texi:23076
  26109. #: guix-git/doc/guix.texi:23141 guix-git/doc/guix.texi:23150
  26110. #: guix-git/doc/guix.texi:24383 guix-git/doc/guix.texi:24427
  26111. #: guix-git/doc/guix.texi:24444 guix-git/doc/guix.texi:24452
  26112. #: guix-git/doc/guix.texi:24467 guix-git/doc/guix.texi:24485
  26113. #: guix-git/doc/guix.texi:24509 guix-git/doc/guix.texi:24562
  26114. #: guix-git/doc/guix.texi:24695 guix-git/doc/guix.texi:24729
  26115. #: guix-git/doc/guix.texi:24765 guix-git/doc/guix.texi:24781
  26116. #: guix-git/doc/guix.texi:24809 guix-git/doc/guix.texi:24870
  26117. #: guix-git/doc/guix.texi:24953 guix-git/doc/guix.texi:28367
  26118. #: guix-git/doc/guix.texi:28381 guix-git/doc/guix.texi:28403
  26119. #: guix-git/doc/guix.texi:28522 guix-git/doc/guix.texi:28536
  26120. #: guix-git/doc/guix.texi:28557 guix-git/doc/guix.texi:28578
  26121. #: guix-git/doc/guix.texi:28585 guix-git/doc/guix.texi:28630
  26122. #: guix-git/doc/guix.texi:28637 guix-git/doc/guix.texi:29426
  26123. #: guix-git/doc/guix.texi:29440 guix-git/doc/guix.texi:29612
  26124. #: guix-git/doc/guix.texi:29657 guix-git/doc/guix.texi:29744
  26125. #: guix-git/doc/guix.texi:29946 guix-git/doc/guix.texi:29979
  26126. #: guix-git/doc/guix.texi:30119 guix-git/doc/guix.texi:30130
  26127. #: guix-git/doc/guix.texi:30381 guix-git/doc/guix.texi:31900
  26128. #: guix-git/doc/guix.texi:31909 guix-git/doc/guix.texi:31917
  26129. #: guix-git/doc/guix.texi:31925 guix-git/doc/guix.texi:31941
  26130. #: guix-git/doc/guix.texi:31957 guix-git/doc/guix.texi:31965
  26131. #: guix-git/doc/guix.texi:31973 guix-git/doc/guix.texi:31982
  26132. #: guix-git/doc/guix.texi:31991 guix-git/doc/guix.texi:32007
  26133. #: guix-git/doc/guix.texi:32071 guix-git/doc/guix.texi:32177
  26134. #: guix-git/doc/guix.texi:32185 guix-git/doc/guix.texi:32193
  26135. #: guix-git/doc/guix.texi:32218 guix-git/doc/guix.texi:32272
  26136. #: guix-git/doc/guix.texi:32320 guix-git/doc/guix.texi:32521
  26137. #: guix-git/doc/guix.texi:32528
  26138. msgid "Defaults to @samp{#f}."
  26139. msgstr ""
  26140. #. type: deftypevr
  26141. #: guix-git/doc/guix.texi:18007
  26142. #, no-wrap
  26143. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  26144. msgstr ""
  26145. #. type: deftypevr
  26146. #: guix-git/doc/guix.texi:18010
  26147. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  26148. msgstr ""
  26149. #. type: deftypevr
  26150. #: guix-git/doc/guix.texi:18015
  26151. #, no-wrap
  26152. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  26153. msgstr ""
  26154. #. type: deftypevr
  26155. #: guix-git/doc/guix.texi:18018
  26156. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  26157. msgstr ""
  26158. #. type: deftypevr
  26159. #: guix-git/doc/guix.texi:18023
  26160. #, no-wrap
  26161. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  26162. msgstr ""
  26163. #. type: deftypevr
  26164. #: guix-git/doc/guix.texi:18029
  26165. 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."
  26166. msgstr ""
  26167. #. type: deftypevr
  26168. #: guix-git/doc/guix.texi:18031
  26169. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  26170. msgstr ""
  26171. #. type: deftypevr
  26172. #: guix-git/doc/guix.texi:18034
  26173. #, no-wrap
  26174. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  26175. msgstr ""
  26176. #. type: deftypevr
  26177. #: guix-git/doc/guix.texi:18037
  26178. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  26179. msgstr ""
  26180. #. type: deftypevr
  26181. #: guix-git/doc/guix.texi:18039
  26182. msgid "Defaults to @samp{4222}."
  26183. msgstr ""
  26184. #. type: deftypevr
  26185. #: guix-git/doc/guix.texi:18042
  26186. #, no-wrap
  26187. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  26188. msgstr ""
  26189. #. type: deftypevr
  26190. #: guix-git/doc/guix.texi:18044
  26191. msgid "Spawn a proxy server listening on the specified port."
  26192. msgstr ""
  26193. #. type: deftypevr
  26194. #: guix-git/doc/guix.texi:18046 guix-git/doc/guix.texi:18053
  26195. #: guix-git/doc/guix.texi:24391 guix-git/doc/guix.texi:24435
  26196. #: guix-git/doc/guix.texi:24648 guix-git/doc/guix.texi:24704
  26197. #: guix-git/doc/guix.texi:24878 guix-git/doc/guix.texi:24889
  26198. #: guix-git/doc/guix.texi:24962 guix-git/doc/guix.texi:25687
  26199. #: guix-git/doc/guix.texi:25730 guix-git/doc/guix.texi:25738
  26200. #: guix-git/doc/guix.texi:25746 guix-git/doc/guix.texi:25754
  26201. #: guix-git/doc/guix.texi:25763 guix-git/doc/guix.texi:25771
  26202. #: guix-git/doc/guix.texi:25778 guix-git/doc/guix.texi:25786
  26203. #: guix-git/doc/guix.texi:25794 guix-git/doc/guix.texi:25804
  26204. #: guix-git/doc/guix.texi:25811 guix-git/doc/guix.texi:25835
  26205. #: guix-git/doc/guix.texi:25843 guix-git/doc/guix.texi:25869
  26206. #: guix-git/doc/guix.texi:25878 guix-git/doc/guix.texi:25887
  26207. #: guix-git/doc/guix.texi:25896 guix-git/doc/guix.texi:25905
  26208. #: guix-git/doc/guix.texi:25914 guix-git/doc/guix.texi:25922
  26209. #: guix-git/doc/guix.texi:25930 guix-git/doc/guix.texi:25937
  26210. #: guix-git/doc/guix.texi:25945 guix-git/doc/guix.texi:25952
  26211. #: guix-git/doc/guix.texi:25960 guix-git/doc/guix.texi:25968
  26212. #: guix-git/doc/guix.texi:25977 guix-git/doc/guix.texi:25986
  26213. #: guix-git/doc/guix.texi:25994 guix-git/doc/guix.texi:26002
  26214. #: guix-git/doc/guix.texi:26010 guix-git/doc/guix.texi:26021
  26215. #: guix-git/doc/guix.texi:26031 guix-git/doc/guix.texi:26042
  26216. #: guix-git/doc/guix.texi:26051 guix-git/doc/guix.texi:26061
  26217. #: guix-git/doc/guix.texi:26069 guix-git/doc/guix.texi:26080
  26218. #: guix-git/doc/guix.texi:26089 guix-git/doc/guix.texi:26099
  26219. #: guix-git/doc/guix.texi:29339 guix-git/doc/guix.texi:29346
  26220. #: guix-git/doc/guix.texi:29353 guix-git/doc/guix.texi:29360
  26221. #: guix-git/doc/guix.texi:29367 guix-git/doc/guix.texi:29374
  26222. #: guix-git/doc/guix.texi:29382 guix-git/doc/guix.texi:29390
  26223. #: guix-git/doc/guix.texi:29397 guix-git/doc/guix.texi:29404
  26224. #: guix-git/doc/guix.texi:29411 guix-git/doc/guix.texi:29418
  26225. #: guix-git/doc/guix.texi:29448 guix-git/doc/guix.texi:29486
  26226. #: guix-git/doc/guix.texi:29493 guix-git/doc/guix.texi:29502
  26227. #: guix-git/doc/guix.texi:29524 guix-git/doc/guix.texi:29532
  26228. #: guix-git/doc/guix.texi:29539 guix-git/doc/guix.texi:29694
  26229. #: guix-git/doc/guix.texi:29714 guix-git/doc/guix.texi:29729
  26230. #: guix-git/doc/guix.texi:29736 guix-git/doc/guix.texi:32473
  26231. #: guix-git/doc/guix.texi:32481 guix-git/doc/guix.texi:32489
  26232. #: guix-git/doc/guix.texi:32497 guix-git/doc/guix.texi:32505
  26233. #: guix-git/doc/guix.texi:32513
  26234. msgid "Defaults to @samp{disabled}."
  26235. msgstr ""
  26236. #. type: deftypevr
  26237. #: guix-git/doc/guix.texi:18049
  26238. #, no-wrap
  26239. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  26240. msgstr ""
  26241. #. type: deftypevr
  26242. #: guix-git/doc/guix.texi:18051
  26243. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  26244. msgstr ""
  26245. #. type: cindex
  26246. #: guix-git/doc/guix.texi:18057
  26247. #, no-wrap
  26248. msgid "Tor"
  26249. msgstr ""
  26250. #. type: defvr
  26251. #: guix-git/doc/guix.texi:18058
  26252. #, no-wrap
  26253. msgid "{Scheme Variable} tor-service-type"
  26254. msgstr ""
  26255. #. type: defvr
  26256. #: guix-git/doc/guix.texi:18063
  26257. 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."
  26258. msgstr ""
  26259. #. type: deftp
  26260. #: guix-git/doc/guix.texi:18066
  26261. #, no-wrap
  26262. msgid "{Data Type} tor-configuration"
  26263. msgstr ""
  26264. #. type: item
  26265. #: guix-git/doc/guix.texi:18068
  26266. #, no-wrap
  26267. msgid "@code{tor} (default: @code{tor})"
  26268. msgstr ""
  26269. #. type: table
  26270. #: guix-git/doc/guix.texi:18073
  26271. 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."
  26272. msgstr ""
  26273. #. type: item
  26274. #: guix-git/doc/guix.texi:18074
  26275. #, no-wrap
  26276. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  26277. msgstr ""
  26278. #. type: table
  26279. #: guix-git/doc/guix.texi:18080
  26280. 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."
  26281. msgstr ""
  26282. #. type: item
  26283. #: guix-git/doc/guix.texi:18081
  26284. #, no-wrap
  26285. msgid "@code{hidden-services} (default: @code{'()})"
  26286. msgstr ""
  26287. #. type: table
  26288. #: guix-git/doc/guix.texi:18087
  26289. 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."
  26290. msgstr ""
  26291. #. type: item
  26292. #: guix-git/doc/guix.texi:18088
  26293. #, no-wrap
  26294. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  26295. msgstr ""
  26296. #. type: table
  26297. #: guix-git/doc/guix.texi:18095
  26298. 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."
  26299. msgstr ""
  26300. #. type: table
  26301. #: guix-git/doc/guix.texi:18100
  26302. 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."
  26303. msgstr ""
  26304. #. type: item
  26305. #: guix-git/doc/guix.texi:18101
  26306. #, no-wrap
  26307. msgid "@code{control-socket?} (default: @code{#f})"
  26308. msgstr ""
  26309. #. type: table
  26310. #: guix-git/doc/guix.texi:18107
  26311. 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."
  26312. msgstr ""
  26313. #. type: cindex
  26314. #: guix-git/doc/guix.texi:18111
  26315. #, no-wrap
  26316. msgid "hidden service"
  26317. msgstr ""
  26318. #. type: deffn
  26319. #: guix-git/doc/guix.texi:18112
  26320. #, no-wrap
  26321. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  26322. msgstr ""
  26323. #. type: deffn
  26324. #: guix-git/doc/guix.texi:18115
  26325. 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:"
  26326. msgstr ""
  26327. #. type: example
  26328. #: guix-git/doc/guix.texi:18119
  26329. #, no-wrap
  26330. msgid ""
  26331. " '((22 \"127.0.0.1:22\")\n"
  26332. " (80 \"127.0.0.1:8080\"))\n"
  26333. msgstr ""
  26334. #. type: deffn
  26335. #: guix-git/doc/guix.texi:18123
  26336. 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."
  26337. msgstr ""
  26338. #. type: deffn
  26339. #: guix-git/doc/guix.texi:18127
  26340. 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."
  26341. msgstr ""
  26342. #. type: deffn
  26343. #: guix-git/doc/guix.texi:18130
  26344. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  26345. msgstr ""
  26346. #. type: Plain text
  26347. #: guix-git/doc/guix.texi:18133
  26348. msgid "The @code{(gnu services rsync)} module provides the following services:"
  26349. msgstr ""
  26350. #. type: Plain text
  26351. #: guix-git/doc/guix.texi:18137
  26352. 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."
  26353. msgstr ""
  26354. #. type: deffn
  26355. #: guix-git/doc/guix.texi:18138
  26356. #, no-wrap
  26357. msgid "{Scheme Variable} rsync-service-type"
  26358. msgstr ""
  26359. #. type: deffn
  26360. #: guix-git/doc/guix.texi:18142
  26361. 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:"
  26362. msgstr ""
  26363. #. type: lisp
  26364. #: guix-git/doc/guix.texi:18155
  26365. #, no-wrap
  26366. msgid ""
  26367. ";; Export two directories over rsync. By default rsync listens on\n"
  26368. ";; all the network interfaces.\n"
  26369. "(service rsync-service-type\n"
  26370. " (rsync-configuration\n"
  26371. " (modules (list (rsync-module\n"
  26372. " (name \"music\")\n"
  26373. " (file-name \"/srv/zik\")\n"
  26374. " (read-only? #f))\n"
  26375. " (rsync-module\n"
  26376. " (name \"movies\")\n"
  26377. " (file-name \"/home/charlie/movies\"))))))\n"
  26378. msgstr ""
  26379. #. type: deffn
  26380. #: guix-git/doc/guix.texi:18158
  26381. msgid "See below for details about @code{rsync-configuration}."
  26382. msgstr ""
  26383. #. type: deftp
  26384. #: guix-git/doc/guix.texi:18160
  26385. #, no-wrap
  26386. msgid "{Data Type} rsync-configuration"
  26387. msgstr ""
  26388. #. type: deftp
  26389. #: guix-git/doc/guix.texi:18162
  26390. msgid "Data type representing the configuration for @code{rsync-service}."
  26391. msgstr ""
  26392. #. type: item
  26393. #: guix-git/doc/guix.texi:18164
  26394. #, no-wrap
  26395. msgid "@code{package} (default: @var{rsync})"
  26396. msgstr ""
  26397. #. type: table
  26398. #: guix-git/doc/guix.texi:18166
  26399. msgid "@code{rsync} package to use."
  26400. msgstr ""
  26401. #. type: item
  26402. #: guix-git/doc/guix.texi:18167 guix-git/doc/guix.texi:31480
  26403. #, no-wrap
  26404. msgid "@code{address} (default: @code{#f})"
  26405. msgstr ""
  26406. #. type: table
  26407. #: guix-git/doc/guix.texi:18170
  26408. msgid "IP address on which @command{rsync} listens for incoming connections. If unspecified, it defaults to listening on all available addresses."
  26409. msgstr ""
  26410. #. type: item
  26411. #: guix-git/doc/guix.texi:18171
  26412. #, no-wrap
  26413. msgid "@code{port-number} (default: @code{873})"
  26414. msgstr ""
  26415. #. type: table
  26416. #: guix-git/doc/guix.texi:18175
  26417. 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."
  26418. msgstr ""
  26419. #. type: item
  26420. #: guix-git/doc/guix.texi:18176
  26421. #, no-wrap
  26422. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  26423. msgstr ""
  26424. #. type: table
  26425. #: guix-git/doc/guix.texi:18178
  26426. msgid "Name of the file where @command{rsync} writes its PID."
  26427. msgstr ""
  26428. #. type: item
  26429. #: guix-git/doc/guix.texi:18179
  26430. #, no-wrap
  26431. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  26432. msgstr ""
  26433. #. type: table
  26434. #: guix-git/doc/guix.texi:18181
  26435. msgid "Name of the file where @command{rsync} writes its lock file."
  26436. msgstr ""
  26437. #. type: item
  26438. #: guix-git/doc/guix.texi:18182
  26439. #, no-wrap
  26440. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  26441. msgstr ""
  26442. #. type: table
  26443. #: guix-git/doc/guix.texi:18184
  26444. msgid "Name of the file where @command{rsync} writes its log file."
  26445. msgstr ""
  26446. #. type: item
  26447. #: guix-git/doc/guix.texi:18185 guix-git/doc/guix.texi:35582
  26448. #, no-wrap
  26449. msgid "@code{user} (default: @code{\"root\"})"
  26450. msgstr ""
  26451. #. type: table
  26452. #: guix-git/doc/guix.texi:18187
  26453. msgid "Owner of the @code{rsync} process."
  26454. msgstr ""
  26455. #. type: item
  26456. #: guix-git/doc/guix.texi:18188
  26457. #, no-wrap
  26458. msgid "@code{group} (default: @code{\"root\"})"
  26459. msgstr ""
  26460. #. type: table
  26461. #: guix-git/doc/guix.texi:18190
  26462. msgid "Group of the @code{rsync} process."
  26463. msgstr ""
  26464. #. type: item
  26465. #: guix-git/doc/guix.texi:18191
  26466. #, no-wrap
  26467. msgid "@code{uid} (default: @code{\"rsyncd\"})"
  26468. msgstr ""
  26469. #. type: table
  26470. #: guix-git/doc/guix.texi:18194
  26471. 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}."
  26472. msgstr ""
  26473. #. type: item
  26474. #: guix-git/doc/guix.texi:18195
  26475. #, no-wrap
  26476. msgid "@code{gid} (default: @code{\"rsyncd\"})"
  26477. msgstr ""
  26478. #. type: table
  26479. #: guix-git/doc/guix.texi:18197 guix-git/doc/guix.texi:18676
  26480. msgid "Group name or group ID that will be used when accessing the module."
  26481. msgstr ""
  26482. #. type: item
  26483. #: guix-git/doc/guix.texi:18198 guix-git/doc/guix.texi:36378
  26484. #, no-wrap
  26485. msgid "@code{modules} (default: @code{%default-modules})"
  26486. msgstr ""
  26487. #. type: table
  26488. #: guix-git/doc/guix.texi:18201
  26489. msgid "List of ``modules''---i.e., directories exported over rsync. Each element must be a @code{rsync-module} record, as described below."
  26490. msgstr ""
  26491. #. type: deftp
  26492. #: guix-git/doc/guix.texi:18204
  26493. #, no-wrap
  26494. msgid "{Data Type} rsync-module"
  26495. msgstr ""
  26496. #. type: deftp
  26497. #: guix-git/doc/guix.texi:18207
  26498. msgid "This is the data type for rsync ``modules''. A module is a directory exported over the rsync protocol. The available fields are as follows:"
  26499. msgstr ""
  26500. #. type: table
  26501. #: guix-git/doc/guix.texi:18213
  26502. msgid "The module name. This is the name that shows up in URLs. For example, if the module is called @code{music}, the corresponding URL will be @code{rsync://host.example.org/music}."
  26503. msgstr ""
  26504. #. type: code{#1}
  26505. #: guix-git/doc/guix.texi:18214
  26506. #, fuzzy, no-wrap
  26507. msgid "file-name"
  26508. msgstr "نام بسته"
  26509. #. type: table
  26510. #: guix-git/doc/guix.texi:18216
  26511. msgid "Name of the directory being exported."
  26512. msgstr ""
  26513. #. type: table
  26514. #: guix-git/doc/guix.texi:18220
  26515. msgid "Comment associated with the module. Client user interfaces may display it when they obtain the list of available modules."
  26516. msgstr ""
  26517. #. type: item
  26518. #: guix-git/doc/guix.texi:18221
  26519. #, no-wrap
  26520. msgid "@code{read-only?} (default: @code{#t})"
  26521. msgstr ""
  26522. #. type: table
  26523. #: guix-git/doc/guix.texi:18225
  26524. msgid "Whether or not client will be able to upload files. If this is false, the uploads will be authorized if permissions on the daemon side permit it."
  26525. msgstr ""
  26526. #. type: item
  26527. #: guix-git/doc/guix.texi:18226
  26528. #, no-wrap
  26529. msgid "@code{chroot?} (default: @code{#t})"
  26530. msgstr ""
  26531. #. type: table
  26532. #: guix-git/doc/guix.texi:18230
  26533. msgid "When this is true, the rsync daemon changes root to the module's directory before starting file transfers with the client. This improves security, but requires rsync to run as root."
  26534. msgstr ""
  26535. #. type: item
  26536. #: guix-git/doc/guix.texi:18231
  26537. #, no-wrap
  26538. msgid "@code{timeout} (default: @code{300})"
  26539. msgstr ""
  26540. #. type: table
  26541. #: guix-git/doc/guix.texi:18234
  26542. msgid "Idle time in seconds after which the daemon closes a connection with the client."
  26543. msgstr ""
  26544. #. type: Plain text
  26545. #: guix-git/doc/guix.texi:18238
  26546. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  26547. msgstr ""
  26548. #. type: cindex
  26549. #: guix-git/doc/guix.texi:18238
  26550. #, no-wrap
  26551. msgid "syncthing"
  26552. msgstr ""
  26553. #. type: Plain text
  26554. #: guix-git/doc/guix.texi:18243
  26555. 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."
  26556. msgstr ""
  26557. #. type: deffn
  26558. #: guix-git/doc/guix.texi:18244
  26559. #, no-wrap
  26560. msgid "{Scheme Variable} syncthing-service-type"
  26561. msgstr ""
  26562. #. type: deffn
  26563. #: guix-git/doc/guix.texi:18248
  26564. 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:"
  26565. msgstr ""
  26566. #. type: lisp
  26567. #: guix-git/doc/guix.texi:18252
  26568. #, no-wrap
  26569. msgid ""
  26570. "(service syncthing-service-type\n"
  26571. " (syncthing-configuration (user \"alice\")))\n"
  26572. msgstr ""
  26573. #. type: deffn
  26574. #: guix-git/doc/guix.texi:18255
  26575. msgid "See below for details about @code{syncthing-configuration}."
  26576. msgstr ""
  26577. #. type: deftp
  26578. #: guix-git/doc/guix.texi:18256
  26579. #, no-wrap
  26580. msgid "{Data Type} syncthing-configuration"
  26581. msgstr ""
  26582. #. type: deftp
  26583. #: guix-git/doc/guix.texi:18258
  26584. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  26585. msgstr ""
  26586. #. type: item
  26587. #: guix-git/doc/guix.texi:18260
  26588. #, no-wrap
  26589. msgid "@code{syncthing} (default: @var{syncthing})"
  26590. msgstr ""
  26591. #. type: table
  26592. #: guix-git/doc/guix.texi:18262
  26593. msgid "@code{syncthing} package to use."
  26594. msgstr ""
  26595. #. type: item
  26596. #: guix-git/doc/guix.texi:18263
  26597. #, no-wrap
  26598. msgid "@code{arguments} (default: @var{'()})"
  26599. msgstr ""
  26600. #. type: table
  26601. #: guix-git/doc/guix.texi:18265
  26602. msgid "List of command-line arguments passing to @code{syncthing} binary."
  26603. msgstr ""
  26604. #. type: item
  26605. #: guix-git/doc/guix.texi:18266
  26606. #, no-wrap
  26607. msgid "@code{logflags} (default: @var{0})"
  26608. msgstr ""
  26609. #. type: table
  26610. #: guix-git/doc/guix.texi:18269
  26611. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  26612. msgstr ""
  26613. #. type: item
  26614. #: guix-git/doc/guix.texi:18270
  26615. #, no-wrap
  26616. msgid "@code{user} (default: @var{#f})"
  26617. msgstr ""
  26618. #. type: table
  26619. #: guix-git/doc/guix.texi:18273
  26620. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  26621. msgstr ""
  26622. #. type: item
  26623. #: guix-git/doc/guix.texi:18274
  26624. #, no-wrap
  26625. msgid "@code{group} (default: @var{\"users\"})"
  26626. msgstr ""
  26627. #. type: table
  26628. #: guix-git/doc/guix.texi:18277
  26629. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  26630. msgstr ""
  26631. #. type: item
  26632. #: guix-git/doc/guix.texi:18278
  26633. #, no-wrap
  26634. msgid "@code{home} (default: @var{#f})"
  26635. msgstr ""
  26636. #. type: table
  26637. #: guix-git/doc/guix.texi:18281
  26638. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  26639. msgstr ""
  26640. #. type: Plain text
  26641. #: guix-git/doc/guix.texi:18287
  26642. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  26643. msgstr ""
  26644. #. type: cindex
  26645. #: guix-git/doc/guix.texi:18287 guix-git/doc/guix.texi:18326
  26646. #: guix-git/doc/guix.texi:35715
  26647. #, no-wrap
  26648. msgid "SSH"
  26649. msgstr ""
  26650. #. type: cindex
  26651. #: guix-git/doc/guix.texi:18288 guix-git/doc/guix.texi:18327
  26652. #: guix-git/doc/guix.texi:35716
  26653. #, no-wrap
  26654. msgid "SSH server"
  26655. msgstr ""
  26656. #. type: deffn
  26657. #: guix-git/doc/guix.texi:18290
  26658. #, no-wrap
  26659. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  26660. msgstr ""
  26661. #. type: deffn
  26662. #: guix-git/doc/guix.texi:18299
  26663. 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."
  26664. msgstr ""
  26665. #. type: deffn
  26666. #: guix-git/doc/guix.texi:18305
  26667. 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}."
  26668. msgstr ""
  26669. #. type: deffn
  26670. #: guix-git/doc/guix.texi:18309
  26671. 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."
  26672. msgstr ""
  26673. #. type: deffn
  26674. #: guix-git/doc/guix.texi:18314
  26675. 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})."
  26676. msgstr ""
  26677. #. type: deffn
  26678. #: guix-git/doc/guix.texi:18318
  26679. 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."
  26680. msgstr ""
  26681. #. type: deffn
  26682. #: guix-git/doc/guix.texi:18322
  26683. 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."
  26684. msgstr ""
  26685. #. type: deffn
  26686. #: guix-git/doc/guix.texi:18324
  26687. msgid "The other options should be self-descriptive."
  26688. msgstr ""
  26689. #. type: deffn
  26690. #: guix-git/doc/guix.texi:18328
  26691. #, no-wrap
  26692. msgid "{Scheme Variable} openssh-service-type"
  26693. msgstr ""
  26694. #. type: deffn
  26695. #: guix-git/doc/guix.texi:18332
  26696. 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:"
  26697. msgstr ""
  26698. #. type: lisp
  26699. #: guix-git/doc/guix.texi:18341
  26700. #, no-wrap
  26701. msgid ""
  26702. "(service openssh-service-type\n"
  26703. " (openssh-configuration\n"
  26704. " (x11-forwarding? #t)\n"
  26705. " (permit-root-login 'prohibit-password)\n"
  26706. " (authorized-keys\n"
  26707. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  26708. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  26709. msgstr ""
  26710. #. type: deffn
  26711. #: guix-git/doc/guix.texi:18344
  26712. msgid "See below for details about @code{openssh-configuration}."
  26713. msgstr ""
  26714. #. type: deffn
  26715. #: guix-git/doc/guix.texi:18347
  26716. msgid "This service can be extended with extra authorized keys, as in this example:"
  26717. msgstr ""
  26718. #. type: lisp
  26719. #: guix-git/doc/guix.texi:18352
  26720. #, no-wrap
  26721. msgid ""
  26722. "(service-extension openssh-service-type\n"
  26723. " (const `((\"charlie\"\n"
  26724. " ,(local-file \"charlie.pub\")))))\n"
  26725. msgstr ""
  26726. #. type: deftp
  26727. #: guix-git/doc/guix.texi:18355
  26728. #, no-wrap
  26729. msgid "{Data Type} openssh-configuration"
  26730. msgstr ""
  26731. #. type: deftp
  26732. #: guix-git/doc/guix.texi:18357
  26733. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  26734. msgstr ""
  26735. #. type: item
  26736. #: guix-git/doc/guix.texi:18359
  26737. #, no-wrap
  26738. msgid "@code{openssh} (default @var{openssh})"
  26739. msgstr ""
  26740. #. type: table
  26741. #: guix-git/doc/guix.texi:18361
  26742. msgid "The Openssh package to use."
  26743. msgstr ""
  26744. #. type: item
  26745. #: guix-git/doc/guix.texi:18362
  26746. #, no-wrap
  26747. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  26748. msgstr ""
  26749. #. type: table
  26750. #: guix-git/doc/guix.texi:18364
  26751. msgid "Name of the file where @command{sshd} writes its PID."
  26752. msgstr ""
  26753. #. type: item
  26754. #: guix-git/doc/guix.texi:18365
  26755. #, no-wrap
  26756. msgid "@code{port-number} (default: @code{22})"
  26757. msgstr ""
  26758. #. type: table
  26759. #: guix-git/doc/guix.texi:18367
  26760. msgid "TCP port on which @command{sshd} listens for incoming connections."
  26761. msgstr ""
  26762. #. type: item
  26763. #: guix-git/doc/guix.texi:18368
  26764. #, no-wrap
  26765. msgid "@code{permit-root-login} (default: @code{#f})"
  26766. msgstr ""
  26767. #. type: table
  26768. #: guix-git/doc/guix.texi:18373
  26769. 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."
  26770. msgstr ""
  26771. #. type: item
  26772. #: guix-git/doc/guix.texi:18374 guix-git/doc/guix.texi:18535
  26773. #, no-wrap
  26774. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  26775. msgstr ""
  26776. #. type: table
  26777. #: guix-git/doc/guix.texi:18377
  26778. msgid "When true, users with empty passwords may log in. When false, they may not."
  26779. msgstr ""
  26780. #. type: item
  26781. #: guix-git/doc/guix.texi:18378 guix-git/doc/guix.texi:18538
  26782. #, no-wrap
  26783. msgid "@code{password-authentication?} (default: @code{#t})"
  26784. msgstr ""
  26785. #. type: table
  26786. #: guix-git/doc/guix.texi:18381
  26787. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  26788. msgstr ""
  26789. #. type: item
  26790. #: guix-git/doc/guix.texi:18382
  26791. #, no-wrap
  26792. msgid "@code{public-key-authentication?} (default: @code{#t})"
  26793. msgstr ""
  26794. #. type: table
  26795. #: guix-git/doc/guix.texi:18385
  26796. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  26797. msgstr ""
  26798. #. type: table
  26799. #: guix-git/doc/guix.texi:18388
  26800. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  26801. msgstr ""
  26802. #. type: item
  26803. #: guix-git/doc/guix.texi:18389
  26804. #, no-wrap
  26805. msgid "@code{x11-forwarding?} (default: @code{#f})"
  26806. msgstr ""
  26807. #. type: table
  26808. #: guix-git/doc/guix.texi:18393
  26809. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  26810. msgstr ""
  26811. #. type: item
  26812. #: guix-git/doc/guix.texi:18394
  26813. #, no-wrap
  26814. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  26815. msgstr ""
  26816. #. type: table
  26817. #: guix-git/doc/guix.texi:18396
  26818. msgid "Whether to allow agent forwarding."
  26819. msgstr ""
  26820. #. type: item
  26821. #: guix-git/doc/guix.texi:18397
  26822. #, no-wrap
  26823. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  26824. msgstr ""
  26825. #. type: table
  26826. #: guix-git/doc/guix.texi:18399
  26827. msgid "Whether to allow TCP forwarding."
  26828. msgstr ""
  26829. #. type: item
  26830. #: guix-git/doc/guix.texi:18400
  26831. #, no-wrap
  26832. msgid "@code{gateway-ports?} (default: @code{#f})"
  26833. msgstr ""
  26834. #. type: table
  26835. #: guix-git/doc/guix.texi:18402
  26836. msgid "Whether to allow gateway ports."
  26837. msgstr ""
  26838. #. type: item
  26839. #: guix-git/doc/guix.texi:18403
  26840. #, no-wrap
  26841. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  26842. msgstr ""
  26843. #. type: table
  26844. #: guix-git/doc/guix.texi:18406
  26845. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  26846. msgstr ""
  26847. #. type: item
  26848. #: guix-git/doc/guix.texi:18407
  26849. #, no-wrap
  26850. msgid "@code{use-pam?} (default: @code{#t})"
  26851. msgstr ""
  26852. #. type: table
  26853. #: guix-git/doc/guix.texi:18413
  26854. 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."
  26855. msgstr ""
  26856. #. type: table
  26857. #: guix-git/doc/guix.texi:18418
  26858. 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?}."
  26859. msgstr ""
  26860. #. type: item
  26861. #: guix-git/doc/guix.texi:18419
  26862. #, no-wrap
  26863. msgid "@code{print-last-log?} (default: @code{#t})"
  26864. msgstr ""
  26865. #. type: table
  26866. #: guix-git/doc/guix.texi:18422
  26867. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  26868. msgstr ""
  26869. #. type: item
  26870. #: guix-git/doc/guix.texi:18423
  26871. #, no-wrap
  26872. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  26873. msgstr ""
  26874. #. type: table
  26875. #: guix-git/doc/guix.texi:18425
  26876. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  26877. msgstr ""
  26878. #. type: table
  26879. #: guix-git/doc/guix.texi:18429
  26880. 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."
  26881. msgstr ""
  26882. #. type: table
  26883. #: guix-git/doc/guix.texi:18432
  26884. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  26885. msgstr ""
  26886. #. type: lisp
  26887. #: guix-git/doc/guix.texi:18437
  26888. #, no-wrap
  26889. msgid ""
  26890. "(service openssh-service-type\n"
  26891. " (openssh-configuration\n"
  26892. " (subsystems\n"
  26893. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  26894. msgstr ""
  26895. #. type: item
  26896. #: guix-git/doc/guix.texi:18439
  26897. #, no-wrap
  26898. msgid "@code{accepted-environment} (default: @code{'()})"
  26899. msgstr ""
  26900. #. type: table
  26901. #: guix-git/doc/guix.texi:18441
  26902. msgid "List of strings describing which environment variables may be exported."
  26903. msgstr ""
  26904. #. type: table
  26905. #: guix-git/doc/guix.texi:18444
  26906. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  26907. msgstr ""
  26908. #. type: table
  26909. #: guix-git/doc/guix.texi:18449
  26910. 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."
  26911. msgstr ""
  26912. #. type: lisp
  26913. #: guix-git/doc/guix.texi:18454
  26914. #, no-wrap
  26915. msgid ""
  26916. "(service openssh-service-type\n"
  26917. " (openssh-configuration\n"
  26918. " (accepted-environment '(\"COLORTERM\"))))\n"
  26919. msgstr ""
  26920. #. type: item
  26921. #: guix-git/doc/guix.texi:18456
  26922. #, no-wrap
  26923. msgid "@code{authorized-keys} (default: @code{'()})"
  26924. msgstr ""
  26925. #. type: cindex
  26926. #: guix-git/doc/guix.texi:18457
  26927. #, no-wrap
  26928. msgid "authorized keys, SSH"
  26929. msgstr ""
  26930. #. type: cindex
  26931. #: guix-git/doc/guix.texi:18458
  26932. #, no-wrap
  26933. msgid "SSH authorized keys"
  26934. msgstr ""
  26935. #. type: table
  26936. #: guix-git/doc/guix.texi:18462
  26937. 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:"
  26938. msgstr ""
  26939. #. type: lisp
  26940. #: guix-git/doc/guix.texi:18469
  26941. #, no-wrap
  26942. msgid ""
  26943. "(openssh-configuration\n"
  26944. " (authorized-keys\n"
  26945. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  26946. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  26947. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  26948. msgstr ""
  26949. #. type: table
  26950. #: guix-git/doc/guix.texi:18474
  26951. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  26952. msgstr ""
  26953. #. type: table
  26954. #: guix-git/doc/guix.texi:18477
  26955. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  26956. msgstr ""
  26957. #. type: table
  26958. #: guix-git/doc/guix.texi:18480
  26959. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  26960. msgstr ""
  26961. #. type: item
  26962. #: guix-git/doc/guix.texi:18481 guix-git/doc/guix.texi:18912
  26963. #, no-wrap
  26964. msgid "@code{log-level} (default: @code{'info})"
  26965. msgstr ""
  26966. #. type: table
  26967. #: guix-git/doc/guix.texi:18485
  26968. 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."
  26969. msgstr ""
  26970. #. type: item
  26971. #: guix-git/doc/guix.texi:18486 guix-git/doc/guix.texi:21328
  26972. #: guix-git/doc/guix.texi:26469
  26973. #, no-wrap
  26974. msgid "@code{extra-content} (default: @code{\"\"})"
  26975. msgstr ""
  26976. #. type: table
  26977. #: guix-git/doc/guix.texi:18491
  26978. 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:"
  26979. msgstr ""
  26980. #. type: lisp
  26981. #: guix-git/doc/guix.texi:18497
  26982. #, no-wrap
  26983. msgid ""
  26984. "(openssh-configuration\n"
  26985. " (extra-content \"\\\n"
  26986. "Match Address 192.168.0.1\n"
  26987. " PermitRootLogin yes\"))\n"
  26988. msgstr ""
  26989. #. type: deffn
  26990. #: guix-git/doc/guix.texi:18502
  26991. #, no-wrap
  26992. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  26993. msgstr ""
  26994. #. type: deffn
  26995. #: guix-git/doc/guix.texi:18506
  26996. 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."
  26997. msgstr ""
  26998. #. type: deffn
  26999. #: guix-git/doc/guix.texi:18509
  27000. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  27001. msgstr ""
  27002. #. type: lisp
  27003. #: guix-git/doc/guix.texi:18513
  27004. #, no-wrap
  27005. msgid ""
  27006. "(dropbear-service (dropbear-configuration\n"
  27007. " (port-number 1234)))\n"
  27008. msgstr ""
  27009. #. type: deftp
  27010. #: guix-git/doc/guix.texi:18516
  27011. #, no-wrap
  27012. msgid "{Data Type} dropbear-configuration"
  27013. msgstr ""
  27014. #. type: deftp
  27015. #: guix-git/doc/guix.texi:18518
  27016. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  27017. msgstr ""
  27018. #. type: item
  27019. #: guix-git/doc/guix.texi:18520
  27020. #, no-wrap
  27021. msgid "@code{dropbear} (default: @var{dropbear})"
  27022. msgstr ""
  27023. #. type: table
  27024. #: guix-git/doc/guix.texi:18522
  27025. msgid "The Dropbear package to use."
  27026. msgstr ""
  27027. #. type: item
  27028. #: guix-git/doc/guix.texi:18523
  27029. #, no-wrap
  27030. msgid "@code{port-number} (default: 22)"
  27031. msgstr ""
  27032. #. type: table
  27033. #: guix-git/doc/guix.texi:18525
  27034. msgid "The TCP port where the daemon waits for incoming connections."
  27035. msgstr ""
  27036. #. type: item
  27037. #: guix-git/doc/guix.texi:18526
  27038. #, no-wrap
  27039. msgid "@code{syslog-output?} (default: @code{#t})"
  27040. msgstr ""
  27041. #. type: table
  27042. #: guix-git/doc/guix.texi:18528
  27043. msgid "Whether to enable syslog output."
  27044. msgstr ""
  27045. #. type: item
  27046. #: guix-git/doc/guix.texi:18529
  27047. #, no-wrap
  27048. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  27049. msgstr ""
  27050. #. type: table
  27051. #: guix-git/doc/guix.texi:18531
  27052. msgid "File name of the daemon's PID file."
  27053. msgstr ""
  27054. #. type: item
  27055. #: guix-git/doc/guix.texi:18532
  27056. #, no-wrap
  27057. msgid "@code{root-login?} (default: @code{#f})"
  27058. msgstr ""
  27059. #. type: table
  27060. #: guix-git/doc/guix.texi:18534
  27061. msgid "Whether to allow @code{root} logins."
  27062. msgstr ""
  27063. #. type: table
  27064. #: guix-git/doc/guix.texi:18537
  27065. msgid "Whether to allow empty passwords."
  27066. msgstr ""
  27067. #. type: table
  27068. #: guix-git/doc/guix.texi:18540
  27069. msgid "Whether to enable password-based authentication."
  27070. msgstr ""
  27071. #. type: cindex
  27072. #: guix-git/doc/guix.texi:18543
  27073. #, no-wrap
  27074. msgid "AutoSSH"
  27075. msgstr ""
  27076. #. type: deffn
  27077. #: guix-git/doc/guix.texi:18544
  27078. #, no-wrap
  27079. msgid "{Scheme Variable} autossh-service-type"
  27080. msgstr ""
  27081. #. type: deffn
  27082. #: guix-git/doc/guix.texi:18552
  27083. 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."
  27084. msgstr ""
  27085. #. type: deffn
  27086. #: guix-git/doc/guix.texi:18556
  27087. 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."
  27088. msgstr ""
  27089. #. type: deffn
  27090. #: guix-git/doc/guix.texi:18561
  27091. 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:"
  27092. msgstr ""
  27093. #. type: lisp
  27094. #: guix-git/doc/guix.texi:18567
  27095. #, no-wrap
  27096. msgid ""
  27097. "(service autossh-service-type\n"
  27098. " (autossh-configuration\n"
  27099. " (user \"pino\")\n"
  27100. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  27101. msgstr ""
  27102. #. type: deftp
  27103. #: guix-git/doc/guix.texi:18570
  27104. #, no-wrap
  27105. msgid "{Data Type} autossh-configuration"
  27106. msgstr ""
  27107. #. type: deftp
  27108. #: guix-git/doc/guix.texi:18572
  27109. msgid "This data type represents the configuration of an AutoSSH service."
  27110. msgstr ""
  27111. #. type: item
  27112. #: guix-git/doc/guix.texi:18575
  27113. #, no-wrap
  27114. msgid "@code{user} (default @code{\"autossh\"})"
  27115. msgstr ""
  27116. #. type: table
  27117. #: guix-git/doc/guix.texi:18578
  27118. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  27119. msgstr ""
  27120. #. type: item
  27121. #: guix-git/doc/guix.texi:18579
  27122. #, no-wrap
  27123. msgid "@code{poll} (default @code{600})"
  27124. msgstr ""
  27125. #. type: table
  27126. #: guix-git/doc/guix.texi:18581
  27127. msgid "Specifies the connection poll time in seconds."
  27128. msgstr ""
  27129. #. type: item
  27130. #: guix-git/doc/guix.texi:18582
  27131. #, no-wrap
  27132. msgid "@code{first-poll} (default @code{#f})"
  27133. msgstr ""
  27134. #. type: table
  27135. #: guix-git/doc/guix.texi:18588
  27136. 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}."
  27137. msgstr ""
  27138. #. type: item
  27139. #: guix-git/doc/guix.texi:18589
  27140. #, no-wrap
  27141. msgid "@code{gate-time} (default @code{30})"
  27142. msgstr ""
  27143. #. type: table
  27144. #: guix-git/doc/guix.texi:18592
  27145. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  27146. msgstr ""
  27147. #. type: item
  27148. #: guix-git/doc/guix.texi:18593
  27149. #, no-wrap
  27150. msgid "@code{log-level} (default @code{1})"
  27151. msgstr ""
  27152. #. type: table
  27153. #: guix-git/doc/guix.texi:18596
  27154. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  27155. msgstr ""
  27156. #. type: item
  27157. #: guix-git/doc/guix.texi:18597
  27158. #, no-wrap
  27159. msgid "@code{max-start} (default @code{#f})"
  27160. msgstr ""
  27161. #. type: table
  27162. #: guix-git/doc/guix.texi:18600
  27163. 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."
  27164. msgstr ""
  27165. #. type: item
  27166. #: guix-git/doc/guix.texi:18601
  27167. #, no-wrap
  27168. msgid "@code{message} (default @code{\"\"})"
  27169. msgstr ""
  27170. #. type: table
  27171. #: guix-git/doc/guix.texi:18603
  27172. msgid "The message to append to the echo message sent when testing connections."
  27173. msgstr ""
  27174. #. type: item
  27175. #: guix-git/doc/guix.texi:18604
  27176. #, no-wrap
  27177. msgid "@code{port} (default @code{\"0\"})"
  27178. msgstr ""
  27179. #. type: table
  27180. #: guix-git/doc/guix.texi:18614
  27181. 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."
  27182. msgstr ""
  27183. #. type: item
  27184. #: guix-git/doc/guix.texi:18615
  27185. #, no-wrap
  27186. msgid "@code{ssh-options} (default @code{'()})"
  27187. msgstr ""
  27188. #. type: table
  27189. #: guix-git/doc/guix.texi:18619
  27190. 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."
  27191. msgstr ""
  27192. #. type: cindex
  27193. #: guix-git/doc/guix.texi:18623
  27194. #, no-wrap
  27195. msgid "WebSSH"
  27196. msgstr ""
  27197. #. type: deffn
  27198. #: guix-git/doc/guix.texi:18624
  27199. #, no-wrap
  27200. msgid "{Scheme Variable} webssh-service-type"
  27201. msgstr ""
  27202. #. type: deffn
  27203. #: guix-git/doc/guix.texi:18630
  27204. 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."
  27205. msgstr ""
  27206. #. type: deffn
  27207. #: guix-git/doc/guix.texi:18636
  27208. 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:"
  27209. msgstr ""
  27210. #. type: lisp
  27211. #: guix-git/doc/guix.texi:18644
  27212. #, no-wrap
  27213. msgid ""
  27214. "(service webssh-service-type\n"
  27215. " (webssh-configuration (address \"127.0.0.1\")\n"
  27216. " (port 8888)\n"
  27217. " (policy 'reject)\n"
  27218. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  27219. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  27220. "\n"
  27221. msgstr ""
  27222. #. type: lisp
  27223. #: guix-git/doc/guix.texi:18660
  27224. #, no-wrap
  27225. msgid ""
  27226. "(service nginx-service-type\n"
  27227. " (nginx-configuration\n"
  27228. " (server-blocks\n"
  27229. " (list\n"
  27230. " (nginx-server-configuration\n"
  27231. " (inherit %webssh-configuration-nginx)\n"
  27232. " (server-name '(\"webssh.example.com\"))\n"
  27233. " (listen '(\"443 ssl\"))\n"
  27234. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  27235. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  27236. " (locations\n"
  27237. " (cons (nginx-location-configuration\n"
  27238. " (uri \"/.well-known\")\n"
  27239. " (body '(\"root /var/www;\")))\n"
  27240. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  27241. msgstr ""
  27242. #. type: deftp
  27243. #: guix-git/doc/guix.texi:18663
  27244. #, no-wrap
  27245. msgid "{Data Type} webssh-configuration"
  27246. msgstr ""
  27247. #. type: deftp
  27248. #: guix-git/doc/guix.texi:18665
  27249. msgid "Data type representing the configuration for @code{webssh-service}."
  27250. msgstr ""
  27251. #. type: item
  27252. #: guix-git/doc/guix.texi:18667
  27253. #, no-wrap
  27254. msgid "@code{package} (default: @var{webssh})"
  27255. msgstr ""
  27256. #. type: table
  27257. #: guix-git/doc/guix.texi:18669
  27258. msgid "@code{webssh} package to use."
  27259. msgstr ""
  27260. #. type: item
  27261. #: guix-git/doc/guix.texi:18670
  27262. #, no-wrap
  27263. msgid "@code{user-name} (default: @var{\"webssh\"})"
  27264. msgstr ""
  27265. #. type: table
  27266. #: guix-git/doc/guix.texi:18673
  27267. msgid "User name or user ID that file transfers to and from that module should take place."
  27268. msgstr ""
  27269. #. type: item
  27270. #: guix-git/doc/guix.texi:18674
  27271. #, no-wrap
  27272. msgid "@code{group-name} (default: @var{\"webssh\"})"
  27273. msgstr ""
  27274. #. type: item
  27275. #: guix-git/doc/guix.texi:18677
  27276. #, no-wrap
  27277. msgid "@code{address} (default: @var{#f})"
  27278. msgstr ""
  27279. #. type: table
  27280. #: guix-git/doc/guix.texi:18679
  27281. msgid "IP address on which @command{webssh} listens for incoming connections."
  27282. msgstr ""
  27283. #. type: item
  27284. #: guix-git/doc/guix.texi:18680
  27285. #, no-wrap
  27286. msgid "@code{port} (default: @var{8888})"
  27287. msgstr ""
  27288. #. type: table
  27289. #: guix-git/doc/guix.texi:18682
  27290. msgid "TCP port on which @command{webssh} listens for incoming connections."
  27291. msgstr ""
  27292. #. type: item
  27293. #: guix-git/doc/guix.texi:18683
  27294. #, no-wrap
  27295. msgid "@code{policy} (default: @var{#f})"
  27296. msgstr ""
  27297. #. type: table
  27298. #: guix-git/doc/guix.texi:18685
  27299. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  27300. msgstr ""
  27301. #. type: item
  27302. #: guix-git/doc/guix.texi:18686
  27303. #, no-wrap
  27304. msgid "@code{known-hosts} (default: @var{'()})"
  27305. msgstr ""
  27306. #. type: table
  27307. #: guix-git/doc/guix.texi:18688
  27308. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  27309. msgstr ""
  27310. #. type: item
  27311. #: guix-git/doc/guix.texi:18689
  27312. #, no-wrap
  27313. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  27314. msgstr ""
  27315. #. type: table
  27316. #: guix-git/doc/guix.texi:18691
  27317. msgid "Name of the file where @command{webssh} writes its log file."
  27318. msgstr ""
  27319. #. type: item
  27320. #: guix-git/doc/guix.texi:18692
  27321. #, no-wrap
  27322. msgid "@code{log-level} (default: @var{#f})"
  27323. msgstr ""
  27324. #. type: table
  27325. #: guix-git/doc/guix.texi:18694
  27326. msgid "Logging level."
  27327. msgstr ""
  27328. #. type: defvr
  27329. #: guix-git/doc/guix.texi:18698
  27330. #, no-wrap
  27331. msgid "{Scheme Variable} %facebook-host-aliases"
  27332. msgstr ""
  27333. #. type: defvr
  27334. #: guix-git/doc/guix.texi:18704
  27335. 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}."
  27336. msgstr ""
  27337. #. type: defvr
  27338. #: guix-git/doc/guix.texi:18708
  27339. 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}}):"
  27340. msgstr ""
  27341. #. type: lisp
  27342. #: guix-git/doc/guix.texi:18721
  27343. #, no-wrap
  27344. msgid ""
  27345. "(operating-system\n"
  27346. " (host-name \"mymachine\")\n"
  27347. " ;; ...\n"
  27348. " (hosts-file\n"
  27349. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  27350. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  27351. " (plain-file \"hosts\"\n"
  27352. " (string-append (local-host-aliases host-name)\n"
  27353. " %facebook-host-aliases))))\n"
  27354. msgstr ""
  27355. #. type: defvr
  27356. #: guix-git/doc/guix.texi:18725
  27357. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  27358. msgstr ""
  27359. #. type: Plain text
  27360. #: guix-git/doc/guix.texi:18728
  27361. msgid "The @code{(gnu services avahi)} provides the following definition."
  27362. msgstr ""
  27363. #. type: defvr
  27364. #: guix-git/doc/guix.texi:18729
  27365. #, no-wrap
  27366. msgid "{Scheme Variable} avahi-service-type"
  27367. msgstr ""
  27368. #. type: defvr
  27369. #: guix-git/doc/guix.texi:18734
  27370. 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."
  27371. msgstr ""
  27372. #. type: defvr
  27373. #: guix-git/doc/guix.texi:18739
  27374. 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."
  27375. msgstr ""
  27376. #. type: defvr
  27377. #: guix-git/doc/guix.texi:18742
  27378. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  27379. msgstr ""
  27380. #. type: deftp
  27381. #: guix-git/doc/guix.texi:18744
  27382. #, no-wrap
  27383. msgid "{Data Type} avahi-configuration"
  27384. msgstr ""
  27385. #. type: deftp
  27386. #: guix-git/doc/guix.texi:18746
  27387. msgid "Data type representation the configuration for Avahi."
  27388. msgstr ""
  27389. #. type: item
  27390. #: guix-git/doc/guix.texi:18749
  27391. #, no-wrap
  27392. msgid "@code{host-name} (default: @code{#f})"
  27393. msgstr ""
  27394. #. type: table
  27395. #: guix-git/doc/guix.texi:18752
  27396. 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."
  27397. msgstr ""
  27398. #. type: item
  27399. #: guix-git/doc/guix.texi:18753 guix-git/doc/guix.texi:29132
  27400. #, no-wrap
  27401. msgid "@code{publish?} (default: @code{#t})"
  27402. msgstr ""
  27403. #. type: table
  27404. #: guix-git/doc/guix.texi:18756
  27405. msgid "When true, allow host names and services to be published (broadcast) over the network."
  27406. msgstr ""
  27407. #. type: item
  27408. #: guix-git/doc/guix.texi:18757
  27409. #, no-wrap
  27410. msgid "@code{publish-workstation?} (default: @code{#t})"
  27411. msgstr ""
  27412. #. type: table
  27413. #: guix-git/doc/guix.texi:18761
  27414. 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:"
  27415. msgstr ""
  27416. #. type: example
  27417. #: guix-git/doc/guix.texi:18764
  27418. #, no-wrap
  27419. msgid "avahi-browse _workstation._tcp\n"
  27420. msgstr ""
  27421. #. type: item
  27422. #: guix-git/doc/guix.texi:18766
  27423. #, no-wrap
  27424. msgid "@code{wide-area?} (default: @code{#f})"
  27425. msgstr ""
  27426. #. type: table
  27427. #: guix-git/doc/guix.texi:18768
  27428. msgid "When true, DNS-SD over unicast DNS is enabled."
  27429. msgstr ""
  27430. #. type: item
  27431. #: guix-git/doc/guix.texi:18769
  27432. #, no-wrap
  27433. msgid "@code{ipv4?} (default: @code{#t})"
  27434. msgstr ""
  27435. #. type: itemx
  27436. #: guix-git/doc/guix.texi:18770
  27437. #, no-wrap
  27438. msgid "@code{ipv6?} (default: @code{#t})"
  27439. msgstr ""
  27440. #. type: table
  27441. #: guix-git/doc/guix.texi:18772
  27442. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  27443. msgstr ""
  27444. #. type: item
  27445. #: guix-git/doc/guix.texi:18773
  27446. #, no-wrap
  27447. msgid "@code{domains-to-browse} (default: @code{'()})"
  27448. msgstr ""
  27449. #. type: table
  27450. #: guix-git/doc/guix.texi:18775
  27451. msgid "This is a list of domains to browse."
  27452. msgstr ""
  27453. #. type: deffn
  27454. #: guix-git/doc/guix.texi:18778
  27455. #, no-wrap
  27456. msgid "{Scheme Variable} openvswitch-service-type"
  27457. msgstr ""
  27458. #. type: deffn
  27459. #: guix-git/doc/guix.texi:18782
  27460. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  27461. msgstr ""
  27462. #. type: deftp
  27463. #: guix-git/doc/guix.texi:18784
  27464. #, no-wrap
  27465. msgid "{Data Type} openvswitch-configuration"
  27466. msgstr ""
  27467. #. type: deftp
  27468. #: guix-git/doc/guix.texi:18788
  27469. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  27470. msgstr ""
  27471. #. type: item
  27472. #: guix-git/doc/guix.texi:18790
  27473. #, no-wrap
  27474. msgid "@code{package} (default: @var{openvswitch})"
  27475. msgstr ""
  27476. #. type: table
  27477. #: guix-git/doc/guix.texi:18792
  27478. msgid "Package object of the Open vSwitch."
  27479. msgstr ""
  27480. #. type: defvr
  27481. #: guix-git/doc/guix.texi:18796
  27482. #, no-wrap
  27483. msgid "{Scheme Variable} pagekite-service-type"
  27484. msgstr ""
  27485. #. type: defvr
  27486. #: guix-git/doc/guix.texi:18801
  27487. 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."
  27488. msgstr ""
  27489. #. type: defvr
  27490. #: guix-git/doc/guix.texi:18803
  27491. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  27492. msgstr ""
  27493. #. type: lisp
  27494. #: guix-git/doc/guix.texi:18810
  27495. #, no-wrap
  27496. msgid ""
  27497. "(service pagekite-service-type\n"
  27498. " (pagekite-configuration\n"
  27499. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  27500. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  27501. " (extra-file \"/etc/pagekite.rc\")))\n"
  27502. msgstr ""
  27503. #. type: deftp
  27504. #: guix-git/doc/guix.texi:18813
  27505. #, no-wrap
  27506. msgid "{Data Type} pagekite-configuration"
  27507. msgstr ""
  27508. #. type: deftp
  27509. #: guix-git/doc/guix.texi:18815
  27510. msgid "Data type representing the configuration of PageKite."
  27511. msgstr ""
  27512. #. type: item
  27513. #: guix-git/doc/guix.texi:18817
  27514. #, no-wrap
  27515. msgid "@code{package} (default: @var{pagekite})"
  27516. msgstr ""
  27517. #. type: table
  27518. #: guix-git/doc/guix.texi:18819
  27519. msgid "Package object of PageKite."
  27520. msgstr ""
  27521. #. type: item
  27522. #: guix-git/doc/guix.texi:18820
  27523. #, no-wrap
  27524. msgid "@code{kitename} (default: @code{#f})"
  27525. msgstr ""
  27526. #. type: table
  27527. #: guix-git/doc/guix.texi:18822
  27528. msgid "PageKite name for authenticating to the frontend server."
  27529. msgstr ""
  27530. #. type: item
  27531. #: guix-git/doc/guix.texi:18823
  27532. #, no-wrap
  27533. msgid "@code{kitesecret} (default: @code{#f})"
  27534. msgstr ""
  27535. #. type: table
  27536. #: guix-git/doc/guix.texi:18826
  27537. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  27538. msgstr ""
  27539. #. type: item
  27540. #: guix-git/doc/guix.texi:18827
  27541. #, no-wrap
  27542. msgid "@code{frontend} (default: @code{#f})"
  27543. msgstr ""
  27544. #. type: table
  27545. #: guix-git/doc/guix.texi:18830
  27546. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  27547. msgstr ""
  27548. #. type: item
  27549. #: guix-git/doc/guix.texi:18831
  27550. #, no-wrap
  27551. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  27552. msgstr ""
  27553. #. type: table
  27554. #: guix-git/doc/guix.texi:18834
  27555. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  27556. msgstr ""
  27557. #. type: item
  27558. #: guix-git/doc/guix.texi:18835
  27559. #, no-wrap
  27560. msgid "@code{extra-file} (default: @code{#f})"
  27561. msgstr ""
  27562. #. type: table
  27563. #: guix-git/doc/guix.texi:18838
  27564. 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."
  27565. msgstr ""
  27566. #. type: defvr
  27567. #: guix-git/doc/guix.texi:18842
  27568. #, no-wrap
  27569. msgid "{Scheme Variable} yggdrasil-service-type"
  27570. msgstr ""
  27571. #. type: defvr
  27572. #: guix-git/doc/guix.texi:18846
  27573. 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."
  27574. msgstr ""
  27575. #. type: quotation
  27576. #: guix-git/doc/guix.texi:18853
  27577. 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}"
  27578. msgstr ""
  27579. #. type: defvr
  27580. #: guix-git/doc/guix.texi:18857
  27581. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  27582. msgstr ""
  27583. #. type: defvr
  27584. #: guix-git/doc/guix.texi:18861
  27585. 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})."
  27586. msgstr ""
  27587. #. type: lisp
  27588. #: guix-git/doc/guix.texi:18873
  27589. #, no-wrap
  27590. msgid ""
  27591. ";; part of the operating-system declaration\n"
  27592. "(service yggdrasil-service-type\n"
  27593. " (yggdrasil-configuration\n"
  27594. " (autoconf? #f) ;; use only the public peers\n"
  27595. " (json-config\n"
  27596. " ;; choose one from\n"
  27597. " ;; https://github.com/yggdrasil-network/public-peers\n"
  27598. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  27599. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  27600. " ))\n"
  27601. msgstr ""
  27602. #. type: example
  27603. #: guix-git/doc/guix.texi:18880
  27604. #, no-wrap
  27605. msgid ""
  27606. "# sample content for /etc/yggdrasil-private.conf\n"
  27607. "@{\n"
  27608. " # Your public encryption key. Your peers may ask you for this to put\n"
  27609. " # into their AllowedEncryptionPublicKeys configuration.\n"
  27610. " EncryptionPublicKey: 378dc5...\n"
  27611. "\n"
  27612. msgstr ""
  27613. #. type: example
  27614. #: guix-git/doc/guix.texi:18883
  27615. #, no-wrap
  27616. msgid ""
  27617. " # Your private encryption key. DO NOT share this with anyone!\n"
  27618. " EncryptionPrivateKey: 0777...\n"
  27619. "\n"
  27620. msgstr ""
  27621. #. type: example
  27622. #: guix-git/doc/guix.texi:18887
  27623. #, no-wrap
  27624. msgid ""
  27625. " # Your public signing key. You should not ordinarily need to share\n"
  27626. " # this with anyone.\n"
  27627. " SigningPublicKey: e1664...\n"
  27628. "\n"
  27629. msgstr ""
  27630. #. type: example
  27631. #: guix-git/doc/guix.texi:18891
  27632. #, no-wrap
  27633. msgid ""
  27634. " # Your private signing key. DO NOT share this with anyone!\n"
  27635. " SigningPrivateKey: 0589d...\n"
  27636. "@}\n"
  27637. msgstr ""
  27638. #. type: deftp
  27639. #: guix-git/doc/guix.texi:18894
  27640. #, no-wrap
  27641. msgid "{Data Type} yggdrasil-configuration"
  27642. msgstr ""
  27643. #. type: deftp
  27644. #: guix-git/doc/guix.texi:18896
  27645. msgid "Data type representing the configuration of Yggdrasil."
  27646. msgstr ""
  27647. #. type: item
  27648. #: guix-git/doc/guix.texi:18898
  27649. #, no-wrap
  27650. msgid "@code{package} (default: @code{yggdrasil})"
  27651. msgstr ""
  27652. #. type: table
  27653. #: guix-git/doc/guix.texi:18900
  27654. msgid "Package object of Yggdrasil."
  27655. msgstr ""
  27656. #. type: item
  27657. #: guix-git/doc/guix.texi:18901
  27658. #, no-wrap
  27659. msgid "@code{json-config} (default: @code{'()})"
  27660. msgstr ""
  27661. #. type: table
  27662. #: guix-git/doc/guix.texi:18907
  27663. 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."
  27664. msgstr ""
  27665. #. type: item
  27666. #: guix-git/doc/guix.texi:18908
  27667. #, no-wrap
  27668. msgid "@code{autoconf?} (default: @code{#f})"
  27669. msgstr ""
  27670. #. type: table
  27671. #: guix-git/doc/guix.texi:18911
  27672. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  27673. msgstr ""
  27674. #. type: table
  27675. #: guix-git/doc/guix.texi:18914
  27676. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  27677. msgstr ""
  27678. #. type: item
  27679. #: guix-git/doc/guix.texi:18915
  27680. #, no-wrap
  27681. msgid "@code{log-to} (default: @code{'stdout})"
  27682. msgstr ""
  27683. #. type: table
  27684. #: guix-git/doc/guix.texi:18919
  27685. 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."
  27686. msgstr ""
  27687. #. type: item
  27688. #: guix-git/doc/guix.texi:18920
  27689. #, no-wrap
  27690. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  27691. msgstr ""
  27692. #. type: table
  27693. #: guix-git/doc/guix.texi:18927
  27694. 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:"
  27695. msgstr ""
  27696. #. type: code{#1}
  27697. #: guix-git/doc/guix.texi:18929
  27698. #, no-wrap
  27699. msgid "EncryptionPublicKey"
  27700. msgstr ""
  27701. #. type: code{#1}
  27702. #: guix-git/doc/guix.texi:18930
  27703. #, no-wrap
  27704. msgid "EncryptionPrivateKey"
  27705. msgstr ""
  27706. #. type: code{#1}
  27707. #: guix-git/doc/guix.texi:18931
  27708. #, no-wrap
  27709. msgid "SigningPublicKey"
  27710. msgstr ""
  27711. #. type: code{#1}
  27712. #: guix-git/doc/guix.texi:18932
  27713. #, no-wrap
  27714. msgid "SigningPrivateKey"
  27715. msgstr ""
  27716. #. type: cindex
  27717. #: guix-git/doc/guix.texi:18937
  27718. #, no-wrap
  27719. msgid "IPFS"
  27720. msgstr ""
  27721. #. type: defvr
  27722. #: guix-git/doc/guix.texi:18938
  27723. #, no-wrap
  27724. msgid "{Scheme Variable} ipfs-service-type"
  27725. msgstr ""
  27726. #. type: defvr
  27727. #: guix-git/doc/guix.texi:18942
  27728. 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."
  27729. msgstr ""
  27730. #. type: defvr
  27731. #: guix-git/doc/guix.texi:18944
  27732. msgid "Here's an example configuration, using some non-standard ports:"
  27733. msgstr ""
  27734. #. type: lisp
  27735. #: guix-git/doc/guix.texi:18950
  27736. #, no-wrap
  27737. msgid ""
  27738. "(service ipfs-service-type\n"
  27739. " (ipfs-configuration\n"
  27740. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  27741. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  27742. msgstr ""
  27743. #. type: deftp
  27744. #: guix-git/doc/guix.texi:18953
  27745. #, no-wrap
  27746. msgid "{Data Type} ipfs-configuration"
  27747. msgstr ""
  27748. #. type: deftp
  27749. #: guix-git/doc/guix.texi:18955
  27750. msgid "Data type representing the configuration of IPFS."
  27751. msgstr ""
  27752. #. type: item
  27753. #: guix-git/doc/guix.texi:18957
  27754. #, no-wrap
  27755. msgid "@code{package} (default: @code{go-ipfs})"
  27756. msgstr ""
  27757. #. type: table
  27758. #: guix-git/doc/guix.texi:18959
  27759. msgid "Package object of IPFS."
  27760. msgstr ""
  27761. #. type: item
  27762. #: guix-git/doc/guix.texi:18960
  27763. #, no-wrap
  27764. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  27765. msgstr ""
  27766. #. type: table
  27767. #: guix-git/doc/guix.texi:18962
  27768. msgid "Address of the gateway, in ‘multiaddress’ format."
  27769. msgstr ""
  27770. #. type: item
  27771. #: guix-git/doc/guix.texi:18963
  27772. #, no-wrap
  27773. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  27774. msgstr ""
  27775. #. type: table
  27776. #: guix-git/doc/guix.texi:18965
  27777. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  27778. msgstr ""
  27779. #. type: cindex
  27780. #: guix-git/doc/guix.texi:18968
  27781. #, no-wrap
  27782. msgid "keepalived"
  27783. msgstr ""
  27784. #. type: deffn
  27785. #: guix-git/doc/guix.texi:18969
  27786. #, no-wrap
  27787. msgid "{Scheme Variable} keepalived-service-type"
  27788. msgstr ""
  27789. #. type: deffn
  27790. #: guix-git/doc/guix.texi:18974
  27791. 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:"
  27792. msgstr ""
  27793. #. type: lisp
  27794. #: guix-git/doc/guix.texi:18979
  27795. #, no-wrap
  27796. msgid ""
  27797. "(service keepalived-service-type\n"
  27798. " (keepalived-configuration\n"
  27799. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  27800. msgstr ""
  27801. #. type: deffn
  27802. #: guix-git/doc/guix.texi:18982
  27803. msgid "where @file{keepalived-master.conf}:"
  27804. msgstr ""
  27805. #. type: example
  27806. #: guix-git/doc/guix.texi:18994
  27807. #, no-wrap
  27808. msgid ""
  27809. "vrrp_instance my-group @{\n"
  27810. " state MASTER\n"
  27811. " interface enp9s0\n"
  27812. " virtual_router_id 100\n"
  27813. " priority 100\n"
  27814. " unicast_peer @{ 10.0.0.2 @}\n"
  27815. " virtual_ipaddress @{\n"
  27816. " 10.0.0.4/24\n"
  27817. " @}\n"
  27818. "@}\n"
  27819. msgstr ""
  27820. #. type: deffn
  27821. #: guix-git/doc/guix.texi:18997
  27822. msgid "and for backup machine:"
  27823. msgstr ""
  27824. #. type: lisp
  27825. #: guix-git/doc/guix.texi:19002
  27826. #, no-wrap
  27827. msgid ""
  27828. "(service keepalived-service-type\n"
  27829. " (keepalived-configuration\n"
  27830. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  27831. msgstr ""
  27832. #. type: deffn
  27833. #: guix-git/doc/guix.texi:19005
  27834. msgid "where @file{keepalived-backup.conf}:"
  27835. msgstr ""
  27836. #. type: example
  27837. #: guix-git/doc/guix.texi:19017
  27838. #, no-wrap
  27839. msgid ""
  27840. "vrrp_instance my-group @{\n"
  27841. " state BACKUP\n"
  27842. " interface enp9s0\n"
  27843. " virtual_router_id 100\n"
  27844. " priority 99\n"
  27845. " unicast_peer @{ 10.0.0.3 @}\n"
  27846. " virtual_ipaddress @{\n"
  27847. " 10.0.0.4/24\n"
  27848. " @}\n"
  27849. "@}\n"
  27850. msgstr ""
  27851. #. type: cindex
  27852. #: guix-git/doc/guix.texi:19023
  27853. #, no-wrap
  27854. msgid "unattended upgrades"
  27855. msgstr ""
  27856. #. type: cindex
  27857. #: guix-git/doc/guix.texi:19024
  27858. #, no-wrap
  27859. msgid "upgrades, unattended"
  27860. msgstr ""
  27861. #. type: Plain text
  27862. #: guix-git/doc/guix.texi:19029
  27863. 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:"
  27864. msgstr ""
  27865. #. type: itemize
  27866. #: guix-git/doc/guix.texi:19034
  27867. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  27868. msgstr ""
  27869. #. type: itemize
  27870. #: guix-git/doc/guix.texi:19038
  27871. 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;"
  27872. msgstr ""
  27873. #. type: itemize
  27874. #: guix-git/doc/guix.texi:19041
  27875. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  27876. msgstr ""
  27877. #. type: itemize
  27878. #: guix-git/doc/guix.texi:19044
  27879. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  27880. msgstr ""
  27881. #. type: Plain text
  27882. #: guix-git/doc/guix.texi:19049
  27883. 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:"
  27884. msgstr ""
  27885. #. type: lisp
  27886. #: guix-git/doc/guix.texi:19052
  27887. #, no-wrap
  27888. msgid "(service unattended-upgrade-service-type)\n"
  27889. msgstr ""
  27890. #. type: Plain text
  27891. #: guix-git/doc/guix.texi:19059
  27892. 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."
  27893. msgstr ""
  27894. #. type: Plain text
  27895. #: guix-git/doc/guix.texi:19065
  27896. 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."
  27897. msgstr ""
  27898. #. type: Plain text
  27899. #: guix-git/doc/guix.texi:19069
  27900. 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)."
  27901. msgstr ""
  27902. #. type: defvr
  27903. #: guix-git/doc/guix.texi:19070
  27904. #, no-wrap
  27905. msgid "{Scheme Variable} unattended-upgrade-service-type"
  27906. msgstr ""
  27907. #. type: defvr
  27908. #: guix-git/doc/guix.texi:19074
  27909. 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."
  27910. msgstr ""
  27911. #. type: defvr
  27912. #: guix-git/doc/guix.texi:19077
  27913. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  27914. msgstr ""
  27915. #. type: deftp
  27916. #: guix-git/doc/guix.texi:19079
  27917. #, no-wrap
  27918. msgid "{Data Type} unattended-upgrade-configuration"
  27919. msgstr ""
  27920. #. type: deftp
  27921. #: guix-git/doc/guix.texi:19082
  27922. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  27923. msgstr ""
  27924. #. type: item
  27925. #: guix-git/doc/guix.texi:19084
  27926. #, no-wrap
  27927. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  27928. msgstr ""
  27929. #. type: table
  27930. #: guix-git/doc/guix.texi:19088
  27931. 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})."
  27932. msgstr ""
  27933. #. type: item
  27934. #: guix-git/doc/guix.texi:19089
  27935. #, no-wrap
  27936. msgid "@code{channels} (default: @code{#~%default-channels})"
  27937. msgstr ""
  27938. #. type: table
  27939. #: guix-git/doc/guix.texi:19093
  27940. 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."
  27941. msgstr ""
  27942. #. type: item
  27943. #: guix-git/doc/guix.texi:19094
  27944. #, no-wrap
  27945. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  27946. msgstr ""
  27947. #. type: table
  27948. #: guix-git/doc/guix.texi:19097
  27949. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  27950. msgstr ""
  27951. #. type: table
  27952. #: guix-git/doc/guix.texi:19103
  27953. 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:"
  27954. msgstr ""
  27955. #. type: lisp
  27956. #: guix-git/doc/guix.texi:19109
  27957. #, no-wrap
  27958. msgid ""
  27959. "(unattended-upgrade-configuration\n"
  27960. " (operating-system-file\n"
  27961. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  27962. " \"/config.scm\")))\n"
  27963. msgstr ""
  27964. #. type: table
  27965. #: guix-git/doc/guix.texi:19116
  27966. 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}."
  27967. msgstr ""
  27968. #. type: item
  27969. #: guix-git/doc/guix.texi:19117
  27970. #, no-wrap
  27971. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  27972. msgstr ""
  27973. #. type: table
  27974. #: guix-git/doc/guix.texi:19120
  27975. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  27976. msgstr ""
  27977. #. type: table
  27978. #: guix-git/doc/guix.texi:19127
  27979. 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."
  27980. msgstr ""
  27981. #. type: table
  27982. #: guix-git/doc/guix.texi:19131
  27983. 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}."
  27984. msgstr ""
  27985. #. type: table
  27986. #: guix-git/doc/guix.texi:19134
  27987. 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."
  27988. msgstr ""
  27989. #. type: item
  27990. #: guix-git/doc/guix.texi:19135
  27991. #, no-wrap
  27992. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  27993. msgstr ""
  27994. #. type: table
  27995. #: guix-git/doc/guix.texi:19139
  27996. 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."
  27997. msgstr ""
  27998. #. type: quotation
  27999. #: guix-git/doc/guix.texi:19144
  28000. 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."
  28001. msgstr ""
  28002. #. type: item
  28003. #: guix-git/doc/guix.texi:19146
  28004. #, no-wrap
  28005. msgid "@code{maximum-duration} (default: @code{3600})"
  28006. msgstr ""
  28007. #. type: table
  28008. #: guix-git/doc/guix.texi:19149
  28009. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  28010. msgstr ""
  28011. #. type: table
  28012. #: guix-git/doc/guix.texi:19152
  28013. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  28014. msgstr ""
  28015. #. type: item
  28016. #: guix-git/doc/guix.texi:19153
  28017. #, no-wrap
  28018. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  28019. msgstr ""
  28020. #. type: table
  28021. #: guix-git/doc/guix.texi:19155
  28022. msgid "File where unattended upgrades are logged."
  28023. msgstr ""
  28024. #. type: cindex
  28025. #: guix-git/doc/guix.texi:19161
  28026. #, no-wrap
  28027. msgid "X11"
  28028. msgstr ""
  28029. #. type: cindex
  28030. #: guix-git/doc/guix.texi:19162
  28031. #, no-wrap
  28032. msgid "X Window System"
  28033. msgstr ""
  28034. #. type: cindex
  28035. #: guix-git/doc/guix.texi:19163 guix-git/doc/guix.texi:19436
  28036. #, no-wrap
  28037. msgid "login manager"
  28038. msgstr ""
  28039. #. type: Plain text
  28040. #: guix-git/doc/guix.texi:19168
  28041. 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)."
  28042. msgstr ""
  28043. #. type: cindex
  28044. #: guix-git/doc/guix.texi:19169
  28045. #, no-wrap
  28046. msgid "GDM"
  28047. msgstr ""
  28048. #. type: cindex
  28049. #: guix-git/doc/guix.texi:19170
  28050. #, no-wrap
  28051. msgid "GNOME, login manager"
  28052. msgstr ""
  28053. #. type: Plain text
  28054. #: guix-git/doc/guix.texi:19174
  28055. 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."
  28056. msgstr ""
  28057. #. type: cindex
  28058. #: guix-git/doc/guix.texi:19175
  28059. #, no-wrap
  28060. msgid "window manager"
  28061. msgstr ""
  28062. #. type: Plain text
  28063. #: guix-git/doc/guix.texi:19180
  28064. 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})."
  28065. msgstr ""
  28066. #. type: anchor{#1}
  28067. #: guix-git/doc/guix.texi:19186
  28068. msgid "wayland-gdm"
  28069. msgstr ""
  28070. #. type: Plain text
  28071. #: guix-git/doc/guix.texi:19186
  28072. msgid "GDM also supports Wayland: it can itself use Wayland instead of X11 for its user interface, and it can also start Wayland sessions. The former is required for the latter, to enable, set @code{wayland?} to @code{#t} in @code{gdm-configuration}."
  28073. msgstr ""
  28074. #. type: defvr
  28075. #: guix-git/doc/guix.texi:19187
  28076. #, no-wrap
  28077. msgid "{Scheme Variable} gdm-service-type"
  28078. msgstr ""
  28079. #. type: defvr
  28080. #: guix-git/doc/guix.texi:19192
  28081. 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)."
  28082. msgstr ""
  28083. #. type: cindex
  28084. #: guix-git/doc/guix.texi:19193
  28085. #, no-wrap
  28086. msgid "session types"
  28087. msgstr ""
  28088. #. type: defvr
  28089. #: guix-git/doc/guix.texi:19201
  28090. msgid "GDM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} (for X11 sessions) and @file{/run/current-system/profile/share/wayland-sessions} (for Wayland sessions) and allows users to choose a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, @code{i3} and @code{sway} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen."
  28091. msgstr ""
  28092. #. type: defvr
  28093. #: guix-git/doc/guix.texi:19205
  28094. 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."
  28095. msgstr ""
  28096. #. type: deftp
  28097. #: guix-git/doc/guix.texi:19207
  28098. #, no-wrap
  28099. msgid "{Data Type} gdm-configuration"
  28100. msgstr ""
  28101. #. type: item
  28102. #: guix-git/doc/guix.texi:19209 guix-git/doc/guix.texi:19291
  28103. #, no-wrap
  28104. msgid "@code{auto-login?} (default: @code{#f})"
  28105. msgstr ""
  28106. #. type: itemx
  28107. #: guix-git/doc/guix.texi:19210
  28108. #, no-wrap
  28109. msgid "@code{default-user} (default: @code{#f})"
  28110. msgstr ""
  28111. #. type: table
  28112. #: guix-git/doc/guix.texi:19212
  28113. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  28114. msgstr ""
  28115. #. type: table
  28116. #: guix-git/doc/guix.texi:19215
  28117. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  28118. msgstr ""
  28119. #. type: item
  28120. #: guix-git/doc/guix.texi:19216 guix-git/doc/guix.texi:25077
  28121. #: guix-git/doc/guix.texi:26786 guix-git/doc/guix.texi:31266
  28122. #: guix-git/doc/guix.texi:31295 guix-git/doc/guix.texi:31324
  28123. #: guix-git/doc/guix.texi:31351 guix-git/doc/guix.texi:31406
  28124. #: guix-git/doc/guix.texi:31431 guix-git/doc/guix.texi:31458
  28125. #: guix-git/doc/guix.texi:31484 guix-git/doc/guix.texi:31526
  28126. #, no-wrap
  28127. msgid "@code{debug?} (default: @code{#f})"
  28128. msgstr ""
  28129. #. type: table
  28130. #: guix-git/doc/guix.texi:19218
  28131. msgid "When true, GDM writes debug messages to its log."
  28132. msgstr ""
  28133. #. type: item
  28134. #: guix-git/doc/guix.texi:19219
  28135. #, no-wrap
  28136. msgid "@code{gnome-shell-assets} (default: ...)"
  28137. msgstr ""
  28138. #. type: table
  28139. #: guix-git/doc/guix.texi:19221
  28140. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  28141. msgstr ""
  28142. #. type: item
  28143. #: guix-git/doc/guix.texi:19222
  28144. #, no-wrap
  28145. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  28146. msgstr ""
  28147. #. type: table
  28148. #: guix-git/doc/guix.texi:19224 guix-git/doc/guix.texi:19318
  28149. #: guix-git/doc/guix.texi:19402
  28150. msgid "Configuration of the Xorg graphical server."
  28151. msgstr ""
  28152. #. type: item
  28153. #: guix-git/doc/guix.texi:19225
  28154. #, no-wrap
  28155. msgid "@code{xsession} (default: @code{(xinitrc)})"
  28156. msgstr ""
  28157. #. type: table
  28158. #: guix-git/doc/guix.texi:19227 guix-git/doc/guix.texi:19417
  28159. msgid "Script to run before starting a X session."
  28160. msgstr ""
  28161. #. type: item
  28162. #: guix-git/doc/guix.texi:19228
  28163. #, no-wrap
  28164. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  28165. msgstr ""
  28166. #. type: table
  28167. #: guix-git/doc/guix.texi:19230
  28168. msgid "File name of the @code{dbus-daemon} executable."
  28169. msgstr ""
  28170. #. type: item
  28171. #: guix-git/doc/guix.texi:19231
  28172. #, no-wrap
  28173. msgid "@code{gdm} (default: @code{gdm})"
  28174. msgstr ""
  28175. #. type: table
  28176. #: guix-git/doc/guix.texi:19233
  28177. msgid "The GDM package to use."
  28178. msgstr ""
  28179. #. type: item
  28180. #: guix-git/doc/guix.texi:19234
  28181. #, no-wrap
  28182. msgid "@code{wayland?} (default: @code{#f})"
  28183. msgstr ""
  28184. #. type: table
  28185. #: guix-git/doc/guix.texi:19236
  28186. msgid "When true, enables Wayland in GDM, necessary to use Wayland sessions."
  28187. msgstr ""
  28188. #. type: item
  28189. #: guix-git/doc/guix.texi:19237
  28190. #, no-wrap
  28191. msgid "@code{wayland-session} (default: @code{gdm-wayland-session-wrapper})"
  28192. msgstr ""
  28193. #. type: table
  28194. #: guix-git/doc/guix.texi:19240
  28195. msgid "The Wayland session wrapper to use, needed to setup the environment."
  28196. msgstr ""
  28197. #. type: defvr
  28198. #: guix-git/doc/guix.texi:19243
  28199. #, no-wrap
  28200. msgid "{Scheme Variable} slim-service-type"
  28201. msgstr ""
  28202. #. type: defvr
  28203. #: guix-git/doc/guix.texi:19245
  28204. msgid "This is the type for the SLiM graphical login manager for X11."
  28205. msgstr ""
  28206. #. type: defvr
  28207. #: guix-git/doc/guix.texi:19249
  28208. 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."
  28209. msgstr ""
  28210. #. type: defvr
  28211. #: guix-git/doc/guix.texi:19256
  28212. 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."
  28213. msgstr ""
  28214. #. type: lisp
  28215. #: guix-git/doc/guix.texi:19261
  28216. #, no-wrap
  28217. msgid ""
  28218. "(use-modules (gnu services)\n"
  28219. " (gnu services desktop)\n"
  28220. " (gnu services xorg))\n"
  28221. "\n"
  28222. msgstr ""
  28223. #. type: lisp
  28224. #: guix-git/doc/guix.texi:19272
  28225. #, no-wrap
  28226. msgid ""
  28227. "(operating-system\n"
  28228. " ;; ...\n"
  28229. " (services (cons* (service slim-service-type (slim-configuration\n"
  28230. " (display \":0\")\n"
  28231. " (vt \"vt7\")))\n"
  28232. " (service slim-service-type (slim-configuration\n"
  28233. " (display \":1\")\n"
  28234. " (vt \"vt8\")))\n"
  28235. " (modify-services %desktop-services\n"
  28236. " (delete gdm-service-type)))))\n"
  28237. msgstr ""
  28238. #. type: deftp
  28239. #: guix-git/doc/guix.texi:19276
  28240. #, no-wrap
  28241. msgid "{Data Type} slim-configuration"
  28242. msgstr ""
  28243. #. type: deftp
  28244. #: guix-git/doc/guix.texi:19278
  28245. msgid "Data type representing the configuration of @code{slim-service-type}."
  28246. msgstr ""
  28247. #. type: table
  28248. #: guix-git/doc/guix.texi:19282
  28249. msgid "Whether to allow logins with empty passwords."
  28250. msgstr ""
  28251. #. type: item
  28252. #: guix-git/doc/guix.texi:19283
  28253. #, no-wrap
  28254. msgid "@code{gnupg?} (default: @code{#f})"
  28255. msgstr ""
  28256. #. type: table
  28257. #: guix-git/doc/guix.texi:19290
  28258. 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}."
  28259. msgstr ""
  28260. #. type: itemx
  28261. #: guix-git/doc/guix.texi:19292
  28262. #, no-wrap
  28263. msgid "@code{default-user} (default: @code{\"\"})"
  28264. msgstr ""
  28265. #. type: table
  28266. #: guix-git/doc/guix.texi:19294
  28267. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  28268. msgstr ""
  28269. #. type: table
  28270. #: guix-git/doc/guix.texi:19297
  28271. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  28272. msgstr ""
  28273. #. type: item
  28274. #: guix-git/doc/guix.texi:19298
  28275. #, no-wrap
  28276. msgid "@code{theme} (default: @code{%default-slim-theme})"
  28277. msgstr ""
  28278. #. type: itemx
  28279. #: guix-git/doc/guix.texi:19299
  28280. #, no-wrap
  28281. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  28282. msgstr ""
  28283. #. type: table
  28284. #: guix-git/doc/guix.texi:19301
  28285. msgid "The graphical theme to use and its name."
  28286. msgstr ""
  28287. #. type: item
  28288. #: guix-git/doc/guix.texi:19302
  28289. #, no-wrap
  28290. msgid "@code{auto-login-session} (default: @code{#f})"
  28291. msgstr ""
  28292. #. type: table
  28293. #: guix-git/doc/guix.texi:19305
  28294. 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\")}."
  28295. msgstr ""
  28296. #. type: table
  28297. #: guix-git/doc/guix.texi:19309
  28298. 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."
  28299. msgstr ""
  28300. #. type: quotation
  28301. #: guix-git/doc/guix.texi:19314
  28302. 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."
  28303. msgstr ""
  28304. #. type: item
  28305. #: guix-git/doc/guix.texi:19316 guix-git/doc/guix.texi:19400
  28306. #, no-wrap
  28307. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  28308. msgstr ""
  28309. #. type: item
  28310. #: guix-git/doc/guix.texi:19319
  28311. #, no-wrap
  28312. msgid "@code{display} (default @code{\":0\"})"
  28313. msgstr ""
  28314. #. type: table
  28315. #: guix-git/doc/guix.texi:19321
  28316. msgid "The display on which to start the Xorg graphical server."
  28317. msgstr ""
  28318. #. type: item
  28319. #: guix-git/doc/guix.texi:19322
  28320. #, no-wrap
  28321. msgid "@code{vt} (default @code{\"vt7\"})"
  28322. msgstr ""
  28323. #. type: table
  28324. #: guix-git/doc/guix.texi:19324
  28325. msgid "The VT on which to start the Xorg graphical server."
  28326. msgstr ""
  28327. #. type: item
  28328. #: guix-git/doc/guix.texi:19325
  28329. #, no-wrap
  28330. msgid "@code{xauth} (default: @code{xauth})"
  28331. msgstr ""
  28332. #. type: table
  28333. #: guix-git/doc/guix.texi:19327
  28334. msgid "The XAuth package to use."
  28335. msgstr ""
  28336. #. type: item
  28337. #: guix-git/doc/guix.texi:19328
  28338. #, no-wrap
  28339. msgid "@code{shepherd} (default: @code{shepherd})"
  28340. msgstr ""
  28341. #. type: table
  28342. #: guix-git/doc/guix.texi:19331
  28343. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  28344. msgstr ""
  28345. #. type: item
  28346. #: guix-git/doc/guix.texi:19332
  28347. #, no-wrap
  28348. msgid "@code{sessreg} (default: @code{sessreg})"
  28349. msgstr ""
  28350. #. type: table
  28351. #: guix-git/doc/guix.texi:19334
  28352. msgid "The sessreg package used in order to register the session."
  28353. msgstr ""
  28354. #. type: item
  28355. #: guix-git/doc/guix.texi:19335
  28356. #, no-wrap
  28357. msgid "@code{slim} (default: @code{slim})"
  28358. msgstr ""
  28359. #. type: table
  28360. #: guix-git/doc/guix.texi:19337
  28361. msgid "The SLiM package to use."
  28362. msgstr ""
  28363. #. type: defvr
  28364. #: guix-git/doc/guix.texi:19340
  28365. #, no-wrap
  28366. msgid "{Scheme Variable} %default-theme"
  28367. msgstr ""
  28368. #. type: defvrx
  28369. #: guix-git/doc/guix.texi:19341
  28370. #, no-wrap
  28371. msgid "{Scheme Variable} %default-theme-name"
  28372. msgstr ""
  28373. #. type: defvr
  28374. #: guix-git/doc/guix.texi:19343
  28375. msgid "The default SLiM theme and its name."
  28376. msgstr ""
  28377. #. type: deftp
  28378. #: guix-git/doc/guix.texi:19346 guix-git/doc/guix.texi:19453
  28379. #, no-wrap
  28380. msgid "{Data Type} sddm-configuration"
  28381. msgstr ""
  28382. #. type: deftp
  28383. #: guix-git/doc/guix.texi:19348
  28384. msgid "This is the data type representing the SDDM service configuration."
  28385. msgstr ""
  28386. #. type: item
  28387. #: guix-git/doc/guix.texi:19350
  28388. #, no-wrap
  28389. msgid "@code{display-server} (default: \"x11\")"
  28390. msgstr ""
  28391. #. type: table
  28392. #: guix-git/doc/guix.texi:19353
  28393. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  28394. msgstr ""
  28395. #. type: item
  28396. #: guix-git/doc/guix.texi:19354
  28397. #, no-wrap
  28398. msgid "@code{numlock} (default: \"on\")"
  28399. msgstr ""
  28400. #. type: table
  28401. #: guix-git/doc/guix.texi:19356
  28402. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  28403. msgstr ""
  28404. #. type: item
  28405. #: guix-git/doc/guix.texi:19357
  28406. #, no-wrap
  28407. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  28408. msgstr ""
  28409. #. type: table
  28410. #: guix-git/doc/guix.texi:19359
  28411. msgid "Command to run when halting."
  28412. msgstr ""
  28413. #. type: item
  28414. #: guix-git/doc/guix.texi:19360
  28415. #, no-wrap
  28416. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  28417. msgstr ""
  28418. #. type: table
  28419. #: guix-git/doc/guix.texi:19362
  28420. msgid "Command to run when rebooting."
  28421. msgstr ""
  28422. #. type: item
  28423. #: guix-git/doc/guix.texi:19363
  28424. #, no-wrap
  28425. msgid "@code{theme} (default \"maldives\")"
  28426. msgstr ""
  28427. #. type: table
  28428. #: guix-git/doc/guix.texi:19366
  28429. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  28430. msgstr ""
  28431. #. type: item
  28432. #: guix-git/doc/guix.texi:19367
  28433. #, no-wrap
  28434. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  28435. msgstr ""
  28436. #. type: table
  28437. #: guix-git/doc/guix.texi:19369
  28438. msgid "Directory to look for themes."
  28439. msgstr ""
  28440. #. type: item
  28441. #: guix-git/doc/guix.texi:19370
  28442. #, no-wrap
  28443. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  28444. msgstr ""
  28445. #. type: table
  28446. #: guix-git/doc/guix.texi:19372
  28447. msgid "Directory to look for faces."
  28448. msgstr ""
  28449. #. type: item
  28450. #: guix-git/doc/guix.texi:19373
  28451. #, no-wrap
  28452. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  28453. msgstr ""
  28454. #. type: table
  28455. #: guix-git/doc/guix.texi:19375
  28456. msgid "Default PATH to use."
  28457. msgstr ""
  28458. #. type: item
  28459. #: guix-git/doc/guix.texi:19376
  28460. #, no-wrap
  28461. msgid "@code{minimum-uid} (default: 1000)"
  28462. msgstr ""
  28463. #. type: table
  28464. #: guix-git/doc/guix.texi:19378
  28465. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  28466. msgstr ""
  28467. #. type: item
  28468. #: guix-git/doc/guix.texi:19379
  28469. #, no-wrap
  28470. msgid "@code{maximum-uid} (default: 2000)"
  28471. msgstr ""
  28472. #. type: table
  28473. #: guix-git/doc/guix.texi:19381
  28474. msgid "Maximum UID to display in SDDM."
  28475. msgstr ""
  28476. #. type: item
  28477. #: guix-git/doc/guix.texi:19382
  28478. #, no-wrap
  28479. msgid "@code{remember-last-user?} (default #t)"
  28480. msgstr ""
  28481. #. type: table
  28482. #: guix-git/doc/guix.texi:19384
  28483. msgid "Remember last user."
  28484. msgstr ""
  28485. #. type: item
  28486. #: guix-git/doc/guix.texi:19385
  28487. #, no-wrap
  28488. msgid "@code{remember-last-session?} (default #t)"
  28489. msgstr ""
  28490. #. type: table
  28491. #: guix-git/doc/guix.texi:19387
  28492. msgid "Remember last session."
  28493. msgstr ""
  28494. #. type: item
  28495. #: guix-git/doc/guix.texi:19388
  28496. #, no-wrap
  28497. msgid "@code{hide-users} (default \"\")"
  28498. msgstr ""
  28499. #. type: table
  28500. #: guix-git/doc/guix.texi:19390
  28501. msgid "Usernames to hide from SDDM greeter."
  28502. msgstr ""
  28503. #. type: item
  28504. #: guix-git/doc/guix.texi:19391
  28505. #, no-wrap
  28506. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  28507. msgstr ""
  28508. #. type: table
  28509. #: guix-git/doc/guix.texi:19393
  28510. msgid "Users with shells listed will be hidden from the SDDM greeter."
  28511. msgstr ""
  28512. #. type: item
  28513. #: guix-git/doc/guix.texi:19394
  28514. #, no-wrap
  28515. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  28516. msgstr ""
  28517. #. type: table
  28518. #: guix-git/doc/guix.texi:19396
  28519. msgid "Script to run before starting a wayland session."
  28520. msgstr ""
  28521. #. type: item
  28522. #: guix-git/doc/guix.texi:19397
  28523. #, no-wrap
  28524. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  28525. msgstr ""
  28526. #. type: table
  28527. #: guix-git/doc/guix.texi:19399
  28528. msgid "Directory to look for desktop files starting wayland sessions."
  28529. msgstr ""
  28530. #. type: item
  28531. #: guix-git/doc/guix.texi:19403
  28532. #, no-wrap
  28533. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  28534. msgstr ""
  28535. #. type: table
  28536. #: guix-git/doc/guix.texi:19405
  28537. msgid "Path to xauth."
  28538. msgstr ""
  28539. #. type: item
  28540. #: guix-git/doc/guix.texi:19406
  28541. #, no-wrap
  28542. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  28543. msgstr ""
  28544. #. type: table
  28545. #: guix-git/doc/guix.texi:19408
  28546. msgid "Path to Xephyr."
  28547. msgstr ""
  28548. #. type: item
  28549. #: guix-git/doc/guix.texi:19409
  28550. #, no-wrap
  28551. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  28552. msgstr ""
  28553. #. type: table
  28554. #: guix-git/doc/guix.texi:19411
  28555. msgid "Script to run after starting xorg-server."
  28556. msgstr ""
  28557. #. type: item
  28558. #: guix-git/doc/guix.texi:19412
  28559. #, no-wrap
  28560. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  28561. msgstr ""
  28562. #. type: table
  28563. #: guix-git/doc/guix.texi:19414
  28564. msgid "Script to run before stopping xorg-server."
  28565. msgstr ""
  28566. #. type: item
  28567. #: guix-git/doc/guix.texi:19415
  28568. #, no-wrap
  28569. msgid "@code{xsession-command} (default: @code{xinitrc})"
  28570. msgstr ""
  28571. #. type: item
  28572. #: guix-git/doc/guix.texi:19418
  28573. #, no-wrap
  28574. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  28575. msgstr ""
  28576. #. type: table
  28577. #: guix-git/doc/guix.texi:19420
  28578. msgid "Directory to look for desktop files starting X sessions."
  28579. msgstr ""
  28580. #. type: item
  28581. #: guix-git/doc/guix.texi:19421
  28582. #, no-wrap
  28583. msgid "@code{minimum-vt} (default: 7)"
  28584. msgstr ""
  28585. #. type: table
  28586. #: guix-git/doc/guix.texi:19423
  28587. msgid "Minimum VT to use."
  28588. msgstr ""
  28589. #. type: item
  28590. #: guix-git/doc/guix.texi:19424
  28591. #, no-wrap
  28592. msgid "@code{auto-login-user} (default \"\")"
  28593. msgstr ""
  28594. #. type: table
  28595. #: guix-git/doc/guix.texi:19426
  28596. msgid "User to use for auto-login."
  28597. msgstr ""
  28598. #. type: item
  28599. #: guix-git/doc/guix.texi:19427
  28600. #, no-wrap
  28601. msgid "@code{auto-login-session} (default \"\")"
  28602. msgstr ""
  28603. #. type: table
  28604. #: guix-git/doc/guix.texi:19429
  28605. msgid "Desktop file to use for auto-login."
  28606. msgstr ""
  28607. #. type: item
  28608. #: guix-git/doc/guix.texi:19430
  28609. #, no-wrap
  28610. msgid "@code{relogin?} (default #f)"
  28611. msgstr ""
  28612. #. type: table
  28613. #: guix-git/doc/guix.texi:19432
  28614. msgid "Relogin after logout."
  28615. msgstr ""
  28616. #. type: cindex
  28617. #: guix-git/doc/guix.texi:19437
  28618. #, no-wrap
  28619. msgid "X11 login"
  28620. msgstr ""
  28621. #. type: defvr
  28622. #: guix-git/doc/guix.texi:19438
  28623. #, no-wrap
  28624. msgid "{Scheme Variable} sddm-service-type"
  28625. msgstr ""
  28626. #. type: defvr
  28627. #: guix-git/doc/guix.texi:19442
  28628. 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)."
  28629. msgstr ""
  28630. #. type: defvr
  28631. #: guix-git/doc/guix.texi:19444
  28632. msgid "Here's an example use:"
  28633. msgstr ""
  28634. #. type: lisp
  28635. #: guix-git/doc/guix.texi:19450
  28636. #, no-wrap
  28637. msgid ""
  28638. "(service sddm-service-type\n"
  28639. " (sddm-configuration\n"
  28640. " (auto-login-user \"alice\")\n"
  28641. " (auto-login-session \"xfce.desktop\")))\n"
  28642. msgstr ""
  28643. #. type: deftp
  28644. #: guix-git/doc/guix.texi:19456
  28645. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  28646. msgstr ""
  28647. #. type: item
  28648. #: guix-git/doc/guix.texi:19458
  28649. #, no-wrap
  28650. msgid "@code{sddm} (default: @code{sddm})"
  28651. msgstr ""
  28652. #. type: table
  28653. #: guix-git/doc/guix.texi:19460
  28654. msgid "The SDDM package to use."
  28655. msgstr ""
  28656. #. type: item
  28657. #: guix-git/doc/guix.texi:19461
  28658. #, no-wrap
  28659. msgid "@code{display-server} (default: @code{\"x11\"})"
  28660. msgstr ""
  28661. #. type: table
  28662. #: guix-git/doc/guix.texi:19463
  28663. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  28664. msgstr ""
  28665. #. type: item
  28666. #: guix-git/doc/guix.texi:19466
  28667. #, no-wrap
  28668. msgid "@code{auto-login-user} (default: @code{\"\"})"
  28669. msgstr ""
  28670. #. type: table
  28671. #: guix-git/doc/guix.texi:19469
  28672. msgid "If non-empty, this is the user account under which to log in automatically."
  28673. msgstr ""
  28674. #. type: item
  28675. #: guix-git/doc/guix.texi:19470
  28676. #, no-wrap
  28677. msgid "@code{auto-login-session} (default: @code{\"\"})"
  28678. msgstr ""
  28679. #. type: table
  28680. #: guix-git/doc/guix.texi:19473
  28681. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  28682. msgstr ""
  28683. #. type: cindex
  28684. #: guix-git/doc/guix.texi:19476
  28685. #, no-wrap
  28686. msgid "Xorg, configuration"
  28687. msgstr ""
  28688. #. type: deftp
  28689. #: guix-git/doc/guix.texi:19477
  28690. #, no-wrap
  28691. msgid "{Data Type} xorg-configuration"
  28692. msgstr ""
  28693. #. type: deftp
  28694. #: guix-git/doc/guix.texi:19482
  28695. 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."
  28696. msgstr ""
  28697. #. type: item
  28698. #: guix-git/doc/guix.texi:19484
  28699. #, no-wrap
  28700. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  28701. msgstr ""
  28702. #. type: table
  28703. #: guix-git/doc/guix.texi:19487
  28704. 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."
  28705. msgstr ""
  28706. #. type: item
  28707. #: guix-git/doc/guix.texi:19488
  28708. #, no-wrap
  28709. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  28710. msgstr ""
  28711. #. type: table
  28712. #: guix-git/doc/guix.texi:19490
  28713. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  28714. msgstr ""
  28715. #. type: item
  28716. #: guix-git/doc/guix.texi:19491
  28717. #, no-wrap
  28718. msgid "@code{drivers} (default: @code{'()})"
  28719. msgstr ""
  28720. #. type: table
  28721. #: guix-git/doc/guix.texi:19495
  28722. 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\")}."
  28723. msgstr ""
  28724. #. type: item
  28725. #: guix-git/doc/guix.texi:19496
  28726. #, no-wrap
  28727. msgid "@code{resolutions} (default: @code{'()})"
  28728. msgstr ""
  28729. #. type: table
  28730. #: guix-git/doc/guix.texi:19500
  28731. 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))}."
  28732. msgstr ""
  28733. #. type: cindex
  28734. #: guix-git/doc/guix.texi:19501
  28735. #, no-wrap
  28736. msgid "keyboard layout, for Xorg"
  28737. msgstr ""
  28738. #. type: cindex
  28739. #: guix-git/doc/guix.texi:19502
  28740. #, no-wrap
  28741. msgid "keymap, for Xorg"
  28742. msgstr ""
  28743. #. type: table
  28744. #: guix-git/doc/guix.texi:19506
  28745. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  28746. msgstr ""
  28747. #. type: table
  28748. #: guix-git/doc/guix.texi:19510
  28749. 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."
  28750. msgstr ""
  28751. #. type: item
  28752. #: guix-git/doc/guix.texi:19511 guix-git/doc/guix.texi:21223
  28753. #: guix-git/doc/guix.texi:34046
  28754. #, no-wrap
  28755. msgid "@code{extra-config} (default: @code{'()})"
  28756. msgstr ""
  28757. #. type: table
  28758. #: guix-git/doc/guix.texi:19514 guix-git/doc/guix.texi:34050
  28759. 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."
  28760. msgstr ""
  28761. #. type: item
  28762. #: guix-git/doc/guix.texi:19515
  28763. #, no-wrap
  28764. msgid "@code{server} (default: @code{xorg-server})"
  28765. msgstr ""
  28766. #. type: table
  28767. #: guix-git/doc/guix.texi:19517
  28768. msgid "This is the package providing the Xorg server."
  28769. msgstr ""
  28770. #. type: item
  28771. #: guix-git/doc/guix.texi:19518
  28772. #, no-wrap
  28773. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  28774. msgstr ""
  28775. #. type: table
  28776. #: guix-git/doc/guix.texi:19521
  28777. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  28778. msgstr ""
  28779. #. type: deffn
  28780. #: guix-git/doc/guix.texi:19524
  28781. #, no-wrap
  28782. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  28783. msgstr ""
  28784. #. type: deffn
  28785. #: guix-git/doc/guix.texi:19528
  28786. 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."
  28787. msgstr ""
  28788. #. type: deffn
  28789. #: guix-git/doc/guix.texi:19532
  28790. 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."
  28791. msgstr ""
  28792. #. type: deffn
  28793. #: guix-git/doc/guix.texi:19534
  28794. #, no-wrap
  28795. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  28796. msgstr ""
  28797. #. type: deffn
  28798. #: guix-git/doc/guix.texi:19538
  28799. 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}."
  28800. msgstr ""
  28801. #. type: deffn
  28802. #: guix-git/doc/guix.texi:19540
  28803. msgid "Usually the X server is started by a login manager."
  28804. msgstr ""
  28805. #. type: deffn
  28806. #: guix-git/doc/guix.texi:19543
  28807. #, no-wrap
  28808. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  28809. msgstr ""
  28810. #. type: deffn
  28811. #: guix-git/doc/guix.texi:19547
  28812. 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:"
  28813. msgstr ""
  28814. #. type: lisp
  28815. #: guix-git/doc/guix.texi:19550
  28816. #, no-wrap
  28817. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  28818. msgstr ""
  28819. #. type: deffn
  28820. #: guix-git/doc/guix.texi:19553
  28821. msgid "makes the good ol' XlockMore usable."
  28822. msgstr ""
  28823. #. type: cindex
  28824. #: guix-git/doc/guix.texi:19559
  28825. #, no-wrap
  28826. msgid "printer support with CUPS"
  28827. msgstr ""
  28828. #. type: Plain text
  28829. #: guix-git/doc/guix.texi:19563
  28830. 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:"
  28831. msgstr ""
  28832. #. type: deffn
  28833. #: guix-git/doc/guix.texi:19564
  28834. #, no-wrap
  28835. msgid "{Scheme Variable} cups-service-type"
  28836. msgstr ""
  28837. #. type: deffn
  28838. #: guix-git/doc/guix.texi:19568
  28839. 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:"
  28840. msgstr ""
  28841. #. type: lisp
  28842. #: guix-git/doc/guix.texi:19570
  28843. #, no-wrap
  28844. msgid "(service cups-service-type)\n"
  28845. msgstr ""
  28846. #. type: Plain text
  28847. #: guix-git/doc/guix.texi:19580
  28848. 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."
  28849. msgstr ""
  28850. #. type: Plain text
  28851. #: guix-git/doc/guix.texi:19586
  28852. 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):"
  28853. msgstr ""
  28854. #. type: lisp
  28855. #: guix-git/doc/guix.texi:19593
  28856. #, no-wrap
  28857. msgid ""
  28858. "(service cups-service-type\n"
  28859. " (cups-configuration\n"
  28860. " (web-interface? #t)\n"
  28861. " (extensions\n"
  28862. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  28863. msgstr ""
  28864. #. type: Plain text
  28865. #: guix-git/doc/guix.texi:19598
  28866. 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."
  28867. msgstr ""
  28868. #. type: Plain text
  28869. #: guix-git/doc/guix.texi:19605
  28870. 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."
  28871. msgstr ""
  28872. #. type: Plain text
  28873. #: guix-git/doc/guix.texi:19616
  28874. msgid "Available @code{cups-configuration} fields are:"
  28875. msgstr ""
  28876. #. type: deftypevr
  28877. #: guix-git/doc/guix.texi:19617
  28878. #, no-wrap
  28879. msgid "{@code{cups-configuration} parameter} package cups"
  28880. msgstr ""
  28881. #. type: deftypevr
  28882. #: guix-git/doc/guix.texi:19619 guix-git/doc/guix.texi:20387
  28883. msgid "The CUPS package."
  28884. msgstr ""
  28885. #. type: deftypevr
  28886. #: guix-git/doc/guix.texi:19621
  28887. #, no-wrap
  28888. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  28889. msgstr ""
  28890. #. type: deftypevr
  28891. #: guix-git/doc/guix.texi:19623
  28892. msgid "Drivers and other extensions to the CUPS package."
  28893. msgstr ""
  28894. #. type: deftypevr
  28895. #: guix-git/doc/guix.texi:19625
  28896. #, no-wrap
  28897. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  28898. msgstr ""
  28899. #. type: deftypevr
  28900. #: guix-git/doc/guix.texi:19628
  28901. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  28902. msgstr ""
  28903. #. type: deftypevr
  28904. #: guix-git/doc/guix.texi:19630
  28905. msgid "Available @code{files-configuration} fields are:"
  28906. msgstr ""
  28907. #. type: deftypevr
  28908. #: guix-git/doc/guix.texi:19631
  28909. #, no-wrap
  28910. msgid "{@code{files-configuration} parameter} log-location access-log"
  28911. msgstr ""
  28912. #. type: deftypevr
  28913. #: guix-git/doc/guix.texi:19639
  28914. 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}."
  28915. msgstr ""
  28916. #. type: deftypevr
  28917. #: guix-git/doc/guix.texi:19641
  28918. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  28919. msgstr ""
  28920. #. type: deftypevr
  28921. #: guix-git/doc/guix.texi:19643
  28922. #, no-wrap
  28923. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  28924. msgstr ""
  28925. #. type: deftypevr
  28926. #: guix-git/doc/guix.texi:19645
  28927. msgid "Where CUPS should cache data."
  28928. msgstr ""
  28929. #. type: deftypevr
  28930. #: guix-git/doc/guix.texi:19647
  28931. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  28932. msgstr ""
  28933. #. type: deftypevr
  28934. #: guix-git/doc/guix.texi:19649
  28935. #, no-wrap
  28936. msgid "{@code{files-configuration} parameter} string config-file-perm"
  28937. msgstr ""
  28938. #. type: deftypevr
  28939. #: guix-git/doc/guix.texi:19652
  28940. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  28941. msgstr ""
  28942. #. type: deftypevr
  28943. #: guix-git/doc/guix.texi:19658
  28944. 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."
  28945. msgstr ""
  28946. #. type: deftypevr
  28947. #: guix-git/doc/guix.texi:19660
  28948. msgid "Defaults to @samp{\"0640\"}."
  28949. msgstr ""
  28950. #. type: deftypevr
  28951. #: guix-git/doc/guix.texi:19662
  28952. #, no-wrap
  28953. msgid "{@code{files-configuration} parameter} log-location error-log"
  28954. msgstr ""
  28955. #. type: deftypevr
  28956. #: guix-git/doc/guix.texi:19670
  28957. 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}."
  28958. msgstr ""
  28959. #. type: deftypevr
  28960. #: guix-git/doc/guix.texi:19672
  28961. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  28962. msgstr ""
  28963. #. type: deftypevr
  28964. #: guix-git/doc/guix.texi:19674
  28965. #, no-wrap
  28966. msgid "{@code{files-configuration} parameter} string fatal-errors"
  28967. msgstr ""
  28968. #. type: deftypevr
  28969. #: guix-git/doc/guix.texi:19677
  28970. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  28971. msgstr ""
  28972. #. type: table
  28973. #: guix-git/doc/guix.texi:19681
  28974. msgid "No errors are fatal."
  28975. msgstr ""
  28976. #. type: table
  28977. #: guix-git/doc/guix.texi:19684
  28978. msgid "All of the errors below are fatal."
  28979. msgstr ""
  28980. #. type: item
  28981. #: guix-git/doc/guix.texi:19685
  28982. #, no-wrap
  28983. msgid "browse"
  28984. msgstr ""
  28985. #. type: table
  28986. #: guix-git/doc/guix.texi:19688
  28987. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  28988. msgstr ""
  28989. #. type: item
  28990. #: guix-git/doc/guix.texi:19689
  28991. #, no-wrap
  28992. msgid "config"
  28993. msgstr ""
  28994. #. type: table
  28995. #: guix-git/doc/guix.texi:19691
  28996. msgid "Configuration file syntax errors are fatal."
  28997. msgstr ""
  28998. #. type: item
  28999. #: guix-git/doc/guix.texi:19692
  29000. #, no-wrap
  29001. msgid "listen"
  29002. msgstr ""
  29003. #. type: table
  29004. #: guix-git/doc/guix.texi:19695
  29005. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  29006. msgstr ""
  29007. #. type: item
  29008. #: guix-git/doc/guix.texi:19696
  29009. #, no-wrap
  29010. msgid "log"
  29011. msgstr ""
  29012. #. type: table
  29013. #: guix-git/doc/guix.texi:19698
  29014. msgid "Log file creation or write errors are fatal."
  29015. msgstr ""
  29016. #. type: item
  29017. #: guix-git/doc/guix.texi:19699
  29018. #, no-wrap
  29019. msgid "permissions"
  29020. msgstr ""
  29021. #. type: table
  29022. #: guix-git/doc/guix.texi:19702
  29023. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  29024. msgstr ""
  29025. #. type: deftypevr
  29026. #: guix-git/doc/guix.texi:19705
  29027. msgid "Defaults to @samp{\"all -browse\"}."
  29028. msgstr ""
  29029. #. type: deftypevr
  29030. #: guix-git/doc/guix.texi:19707
  29031. #, no-wrap
  29032. msgid "{@code{files-configuration} parameter} boolean file-device?"
  29033. msgstr ""
  29034. #. type: deftypevr
  29035. #: guix-git/doc/guix.texi:19710
  29036. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  29037. msgstr ""
  29038. #. type: deftypevr
  29039. #: guix-git/doc/guix.texi:19714
  29040. #, no-wrap
  29041. msgid "{@code{files-configuration} parameter} string group"
  29042. msgstr ""
  29043. #. type: deftypevr
  29044. #: guix-git/doc/guix.texi:19717
  29045. msgid "Specifies the group name or ID that will be used when executing external programs."
  29046. msgstr ""
  29047. #. type: deftypevr
  29048. #: guix-git/doc/guix.texi:19719 guix-git/doc/guix.texi:19805
  29049. msgid "Defaults to @samp{\"lp\"}."
  29050. msgstr ""
  29051. #. type: deftypevr
  29052. #: guix-git/doc/guix.texi:19721
  29053. #, no-wrap
  29054. msgid "{@code{files-configuration} parameter} string log-file-group"
  29055. msgstr ""
  29056. #. type: deftypevr
  29057. #: guix-git/doc/guix.texi:19723
  29058. msgid "Specifies the group name or ID that will be used for log files."
  29059. msgstr ""
  29060. #. type: deftypevr
  29061. #: guix-git/doc/guix.texi:19725
  29062. msgid "Defaults to @samp{\"lpadmin\"}."
  29063. msgstr ""
  29064. #. type: deftypevr
  29065. #: guix-git/doc/guix.texi:19727
  29066. #, no-wrap
  29067. msgid "{@code{files-configuration} parameter} string log-file-perm"
  29068. msgstr ""
  29069. #. type: deftypevr
  29070. #: guix-git/doc/guix.texi:19729
  29071. msgid "Specifies the permissions for all log files that the scheduler writes."
  29072. msgstr ""
  29073. #. type: deftypevr
  29074. #: guix-git/doc/guix.texi:19731
  29075. msgid "Defaults to @samp{\"0644\"}."
  29076. msgstr ""
  29077. #. type: deftypevr
  29078. #: guix-git/doc/guix.texi:19733
  29079. #, no-wrap
  29080. msgid "{@code{files-configuration} parameter} log-location page-log"
  29081. msgstr ""
  29082. #. type: deftypevr
  29083. #: guix-git/doc/guix.texi:19741
  29084. 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}."
  29085. msgstr ""
  29086. #. type: deftypevr
  29087. #: guix-git/doc/guix.texi:19743
  29088. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  29089. msgstr ""
  29090. #. type: deftypevr
  29091. #: guix-git/doc/guix.texi:19745
  29092. #, no-wrap
  29093. msgid "{@code{files-configuration} parameter} string remote-root"
  29094. msgstr ""
  29095. #. type: deftypevr
  29096. #: guix-git/doc/guix.texi:19748
  29097. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  29098. msgstr ""
  29099. #. type: deftypevr
  29100. #: guix-git/doc/guix.texi:19750
  29101. msgid "Defaults to @samp{\"remroot\"}."
  29102. msgstr ""
  29103. #. type: deftypevr
  29104. #: guix-git/doc/guix.texi:19752
  29105. #, no-wrap
  29106. msgid "{@code{files-configuration} parameter} file-name request-root"
  29107. msgstr ""
  29108. #. type: deftypevr
  29109. #: guix-git/doc/guix.texi:19755
  29110. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  29111. msgstr ""
  29112. #. type: deftypevr
  29113. #: guix-git/doc/guix.texi:19757
  29114. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  29115. msgstr ""
  29116. #. type: deftypevr
  29117. #: guix-git/doc/guix.texi:19759
  29118. #, no-wrap
  29119. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  29120. msgstr ""
  29121. #. type: deftypevr
  29122. #: guix-git/doc/guix.texi:19764
  29123. 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."
  29124. msgstr ""
  29125. #. type: deftypevr
  29126. #: guix-git/doc/guix.texi:19766
  29127. msgid "Defaults to @samp{strict}."
  29128. msgstr ""
  29129. #. type: deftypevr
  29130. #: guix-git/doc/guix.texi:19768
  29131. #, no-wrap
  29132. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  29133. msgstr ""
  29134. #. type: deftypevr
  29135. #: guix-git/doc/guix.texi:19773
  29136. 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."
  29137. msgstr ""
  29138. #. type: deftypevr
  29139. #: guix-git/doc/guix.texi:19775
  29140. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  29141. msgstr ""
  29142. #. type: deftypevr
  29143. #: guix-git/doc/guix.texi:19777
  29144. #, no-wrap
  29145. msgid "{@code{files-configuration} parameter} file-name server-root"
  29146. msgstr ""
  29147. #. type: deftypevr
  29148. #: guix-git/doc/guix.texi:19779
  29149. msgid "Specifies the directory containing the server configuration files."
  29150. msgstr ""
  29151. #. type: deftypevr
  29152. #: guix-git/doc/guix.texi:19781
  29153. msgid "Defaults to @samp{\"/etc/cups\"}."
  29154. msgstr ""
  29155. #. type: deftypevr
  29156. #: guix-git/doc/guix.texi:19783
  29157. #, no-wrap
  29158. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  29159. msgstr ""
  29160. #. type: deftypevr
  29161. #: guix-git/doc/guix.texi:19786
  29162. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  29163. msgstr ""
  29164. #. type: deftypevr
  29165. #: guix-git/doc/guix.texi:19790
  29166. #, no-wrap
  29167. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  29168. msgstr ""
  29169. #. type: deftypevr
  29170. #: guix-git/doc/guix.texi:19792
  29171. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  29172. msgstr ""
  29173. #. type: deftypevr
  29174. #: guix-git/doc/guix.texi:19794
  29175. #, no-wrap
  29176. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  29177. msgstr ""
  29178. #. type: deftypevr
  29179. #: guix-git/doc/guix.texi:19796
  29180. msgid "Specifies the directory where temporary files are stored."
  29181. msgstr ""
  29182. #. type: deftypevr
  29183. #: guix-git/doc/guix.texi:19798
  29184. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  29185. msgstr ""
  29186. #. type: deftypevr
  29187. #: guix-git/doc/guix.texi:19800
  29188. #, no-wrap
  29189. msgid "{@code{files-configuration} parameter} string user"
  29190. msgstr ""
  29191. #. type: deftypevr
  29192. #: guix-git/doc/guix.texi:19803
  29193. msgid "Specifies the user name or ID that is used when running external programs."
  29194. msgstr ""
  29195. #. type: deftypevr
  29196. #: guix-git/doc/guix.texi:19807
  29197. #, no-wrap
  29198. msgid "{@code{files-configuration} parameter} string set-env"
  29199. msgstr ""
  29200. #. type: deftypevr
  29201. #: guix-git/doc/guix.texi:19809
  29202. msgid "Set the specified environment variable to be passed to child processes."
  29203. msgstr ""
  29204. #. type: deftypevr
  29205. #: guix-git/doc/guix.texi:19811
  29206. msgid "Defaults to @samp{\"variable value\"}."
  29207. msgstr ""
  29208. #. type: deftypevr
  29209. #: guix-git/doc/guix.texi:19814
  29210. #, no-wrap
  29211. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  29212. msgstr ""
  29213. #. type: deftypevr
  29214. #: guix-git/doc/guix.texi:19821
  29215. 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."
  29216. msgstr ""
  29217. #. type: deftypevr
  29218. #: guix-git/doc/guix.texi:19823
  29219. msgid "Defaults to @samp{actions}."
  29220. msgstr ""
  29221. #. type: deftypevr
  29222. #: guix-git/doc/guix.texi:19825
  29223. #, no-wrap
  29224. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  29225. msgstr ""
  29226. #. type: deftypevr
  29227. #: guix-git/doc/guix.texi:19828
  29228. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  29229. msgstr ""
  29230. #. type: deftypevr
  29231. #: guix-git/doc/guix.texi:19832
  29232. #, no-wrap
  29233. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  29234. msgstr ""
  29235. #. type: deftypevr
  29236. #: guix-git/doc/guix.texi:19836
  29237. 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."
  29238. msgstr ""
  29239. #. type: deftypevr
  29240. #: guix-git/doc/guix.texi:19838
  29241. msgid "Defaults to @samp{\"_cups\"}."
  29242. msgstr ""
  29243. #. type: deftypevr
  29244. #: guix-git/doc/guix.texi:19840
  29245. #, no-wrap
  29246. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  29247. msgstr ""
  29248. #. type: deftypevr
  29249. #: guix-git/doc/guix.texi:19842
  29250. msgid "Specifies which protocols to use for local printer sharing."
  29251. msgstr ""
  29252. #. type: deftypevr
  29253. #: guix-git/doc/guix.texi:19844
  29254. msgid "Defaults to @samp{dnssd}."
  29255. msgstr ""
  29256. #. type: deftypevr
  29257. #: guix-git/doc/guix.texi:19846
  29258. #, no-wrap
  29259. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  29260. msgstr ""
  29261. #. type: deftypevr
  29262. #: guix-git/doc/guix.texi:19848
  29263. msgid "Specifies whether the CUPS web interface is advertised."
  29264. msgstr ""
  29265. #. type: deftypevr
  29266. #: guix-git/doc/guix.texi:19852
  29267. #, no-wrap
  29268. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  29269. msgstr ""
  29270. #. type: deftypevr
  29271. #: guix-git/doc/guix.texi:19854
  29272. msgid "Specifies whether shared printers are advertised."
  29273. msgstr ""
  29274. #. type: deftypevr
  29275. #: guix-git/doc/guix.texi:19858
  29276. #, no-wrap
  29277. msgid "{@code{cups-configuration} parameter} string classification"
  29278. msgstr ""
  29279. #. type: deftypevr
  29280. #: guix-git/doc/guix.texi:19863
  29281. 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."
  29282. msgstr ""
  29283. #. type: deftypevr
  29284. #: guix-git/doc/guix.texi:19865 guix-git/doc/guix.texi:20196
  29285. #: guix-git/doc/guix.texi:22180 guix-git/doc/guix.texi:22192
  29286. #: guix-git/doc/guix.texi:22220 guix-git/doc/guix.texi:22977
  29287. #: guix-git/doc/guix.texi:22991 guix-git/doc/guix.texi:22998
  29288. #: guix-git/doc/guix.texi:23005 guix-git/doc/guix.texi:23035
  29289. #: guix-git/doc/guix.texi:23133 guix-git/doc/guix.texi:25252
  29290. #: guix-git/doc/guix.texi:25278 guix-git/doc/guix.texi:25314
  29291. #: guix-git/doc/guix.texi:25360 guix-git/doc/guix.texi:25379
  29292. #: guix-git/doc/guix.texi:25418 guix-git/doc/guix.texi:25477
  29293. #: guix-git/doc/guix.texi:25487 guix-git/doc/guix.texi:30085
  29294. #: guix-git/doc/guix.texi:30093 guix-git/doc/guix.texi:30101
  29295. #: guix-git/doc/guix.texi:30109 guix-git/doc/guix.texi:30388
  29296. #: guix-git/doc/guix.texi:31743 guix-git/doc/guix.texi:31751
  29297. #: guix-git/doc/guix.texi:31759 guix-git/doc/guix.texi:31867
  29298. #: guix-git/doc/guix.texi:31892 guix-git/doc/guix.texi:32023
  29299. #: guix-git/doc/guix.texi:32031 guix-git/doc/guix.texi:32039
  29300. #: guix-git/doc/guix.texi:32047 guix-git/doc/guix.texi:32055
  29301. #: guix-git/doc/guix.texi:32063 guix-git/doc/guix.texi:32086
  29302. #: guix-git/doc/guix.texi:32094 guix-git/doc/guix.texi:32146
  29303. #: guix-git/doc/guix.texi:32162 guix-git/doc/guix.texi:32170
  29304. #: guix-git/doc/guix.texi:32209 guix-git/doc/guix.texi:32232
  29305. #: guix-git/doc/guix.texi:32254 guix-git/doc/guix.texi:32261
  29306. #: guix-git/doc/guix.texi:32296 guix-git/doc/guix.texi:32304
  29307. #: guix-git/doc/guix.texi:32328 guix-git/doc/guix.texi:32360
  29308. #: guix-git/doc/guix.texi:32389 guix-git/doc/guix.texi:32396
  29309. #: guix-git/doc/guix.texi:32403 guix-git/doc/guix.texi:32411
  29310. #: guix-git/doc/guix.texi:32425 guix-git/doc/guix.texi:32434
  29311. #: guix-git/doc/guix.texi:32444 guix-git/doc/guix.texi:32451
  29312. #: guix-git/doc/guix.texi:32458 guix-git/doc/guix.texi:32465
  29313. #: guix-git/doc/guix.texi:32536 guix-git/doc/guix.texi:32543
  29314. #: guix-git/doc/guix.texi:32550 guix-git/doc/guix.texi:32559
  29315. #: guix-git/doc/guix.texi:32575 guix-git/doc/guix.texi:32582
  29316. #: guix-git/doc/guix.texi:32589 guix-git/doc/guix.texi:32596
  29317. #: guix-git/doc/guix.texi:32604 guix-git/doc/guix.texi:32612
  29318. msgid "Defaults to @samp{\"\"}."
  29319. msgstr ""
  29320. #. type: deftypevr
  29321. #: guix-git/doc/guix.texi:19867
  29322. #, no-wrap
  29323. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  29324. msgstr ""
  29325. #. type: deftypevr
  29326. #: guix-git/doc/guix.texi:19870
  29327. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  29328. msgstr ""
  29329. #. type: deftypevr
  29330. #: guix-git/doc/guix.texi:19874
  29331. #, no-wrap
  29332. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  29333. msgstr ""
  29334. #. type: deftypevr
  29335. #: guix-git/doc/guix.texi:19876
  29336. msgid "Specifies the default type of authentication to use."
  29337. msgstr ""
  29338. #. type: deftypevr
  29339. #: guix-git/doc/guix.texi:19878
  29340. msgid "Defaults to @samp{Basic}."
  29341. msgstr ""
  29342. #. type: deftypevr
  29343. #: guix-git/doc/guix.texi:19880
  29344. #, no-wrap
  29345. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  29346. msgstr ""
  29347. #. type: deftypevr
  29348. #: guix-git/doc/guix.texi:19882
  29349. msgid "Specifies whether encryption will be used for authenticated requests."
  29350. msgstr ""
  29351. #. type: deftypevr
  29352. #: guix-git/doc/guix.texi:19884
  29353. msgid "Defaults to @samp{Required}."
  29354. msgstr ""
  29355. #. type: deftypevr
  29356. #: guix-git/doc/guix.texi:19886
  29357. #, no-wrap
  29358. msgid "{@code{cups-configuration} parameter} string default-language"
  29359. msgstr ""
  29360. #. type: deftypevr
  29361. #: guix-git/doc/guix.texi:19888
  29362. msgid "Specifies the default language to use for text and web content."
  29363. msgstr ""
  29364. #. type: deftypevr
  29365. #: guix-git/doc/guix.texi:19890
  29366. msgid "Defaults to @samp{\"en\"}."
  29367. msgstr ""
  29368. #. type: deftypevr
  29369. #: guix-git/doc/guix.texi:19892
  29370. #, no-wrap
  29371. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  29372. msgstr ""
  29373. #. type: deftypevr
  29374. #: guix-git/doc/guix.texi:19897
  29375. 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\"}."
  29376. msgstr ""
  29377. #. type: deftypevr
  29378. #: guix-git/doc/guix.texi:19899
  29379. msgid "Defaults to @samp{\"Auto\"}."
  29380. msgstr ""
  29381. #. type: deftypevr
  29382. #: guix-git/doc/guix.texi:19901
  29383. #, no-wrap
  29384. msgid "{@code{cups-configuration} parameter} string default-policy"
  29385. msgstr ""
  29386. #. type: deftypevr
  29387. #: guix-git/doc/guix.texi:19903
  29388. msgid "Specifies the default access policy to use."
  29389. msgstr ""
  29390. #. type: deftypevr
  29391. #: guix-git/doc/guix.texi:19905
  29392. msgid "Defaults to @samp{\"default\"}."
  29393. msgstr ""
  29394. #. type: deftypevr
  29395. #: guix-git/doc/guix.texi:19907
  29396. #, no-wrap
  29397. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  29398. msgstr ""
  29399. #. type: deftypevr
  29400. #: guix-git/doc/guix.texi:19909
  29401. msgid "Specifies whether local printers are shared by default."
  29402. msgstr ""
  29403. #. type: deftypevr
  29404. #: guix-git/doc/guix.texi:19911 guix-git/doc/guix.texi:19991
  29405. #: guix-git/doc/guix.texi:20281 guix-git/doc/guix.texi:23067
  29406. #: guix-git/doc/guix.texi:23118 guix-git/doc/guix.texi:23125
  29407. #: guix-git/doc/guix.texi:24407 guix-git/doc/guix.texi:24595
  29408. #: guix-git/doc/guix.texi:24712 guix-git/doc/guix.texi:24748
  29409. #: guix-git/doc/guix.texi:24799 guix-git/doc/guix.texi:24818
  29410. #: guix-git/doc/guix.texi:24828 guix-git/doc/guix.texi:24838
  29411. #: guix-git/doc/guix.texi:24897 guix-git/doc/guix.texi:24919
  29412. #: guix-git/doc/guix.texi:24944 guix-git/doc/guix.texi:24970
  29413. #: guix-git/doc/guix.texi:24988 guix-git/doc/guix.texi:28180
  29414. #: guix-git/doc/guix.texi:28208 guix-git/doc/guix.texi:28344
  29415. #: guix-git/doc/guix.texi:28351 guix-git/doc/guix.texi:28359
  29416. #: guix-git/doc/guix.texi:28396 guix-git/doc/guix.texi:28410
  29417. #: guix-git/doc/guix.texi:28499 guix-git/doc/guix.texi:28506
  29418. #: guix-git/doc/guix.texi:28514 guix-git/doc/guix.texi:29293
  29419. #: guix-git/doc/guix.texi:29433 guix-git/doc/guix.texi:29619
  29420. #: guix-git/doc/guix.texi:29626 guix-git/doc/guix.texi:29648
  29421. #: guix-git/doc/guix.texi:29687 guix-git/doc/guix.texi:29707
  29422. #: guix-git/doc/guix.texi:29721 guix-git/doc/guix.texi:29934
  29423. #: guix-git/doc/guix.texi:31845 guix-git/doc/guix.texi:31933
  29424. #: guix-git/doc/guix.texi:31949 guix-git/doc/guix.texi:31999
  29425. msgid "Defaults to @samp{#t}."
  29426. msgstr ""
  29427. #. type: deftypevr
  29428. #: guix-git/doc/guix.texi:19913
  29429. #, no-wrap
  29430. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  29431. msgstr ""
  29432. #. type: deftypevr
  29433. #: guix-git/doc/guix.texi:19917
  29434. 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."
  29435. msgstr ""
  29436. #. type: deftypevr
  29437. #: guix-git/doc/guix.texi:19919 guix-git/doc/guix.texi:19967
  29438. #: guix-git/doc/guix.texi:19976 guix-git/doc/guix.texi:20288
  29439. #: guix-git/doc/guix.texi:24757 guix-git/doc/guix.texi:24790
  29440. msgid "Defaults to @samp{30}."
  29441. msgstr ""
  29442. #. type: deftypevr
  29443. #: guix-git/doc/guix.texi:19921
  29444. #, no-wrap
  29445. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  29446. msgstr ""
  29447. #. type: deftypevr
  29448. #: guix-git/doc/guix.texi:19927
  29449. 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."
  29450. msgstr ""
  29451. #. type: deftypevr
  29452. #: guix-git/doc/guix.texi:19929
  29453. msgid "Defaults to @samp{stop-printer}."
  29454. msgstr ""
  29455. #. type: deftypevr
  29456. #: guix-git/doc/guix.texi:19931
  29457. #, no-wrap
  29458. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  29459. msgstr ""
  29460. #. type: deftypevr
  29461. #: guix-git/doc/guix.texi:19939
  29462. 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."
  29463. msgstr ""
  29464. #. type: deftypevr
  29465. #: guix-git/doc/guix.texi:19941 guix-git/doc/guix.texi:19949
  29466. #: guix-git/doc/guix.texi:19998 guix-git/doc/guix.texi:20114
  29467. #: guix-git/doc/guix.texi:20128 guix-git/doc/guix.texi:20135
  29468. #: guix-git/doc/guix.texi:21622 guix-git/doc/guix.texi:21638
  29469. #: guix-git/doc/guix.texi:22295 guix-git/doc/guix.texi:22307
  29470. #: guix-git/doc/guix.texi:23086 guix-git/doc/guix.texi:23095
  29471. #: guix-git/doc/guix.texi:23103 guix-git/doc/guix.texi:23111
  29472. #: guix-git/doc/guix.texi:29309 guix-git/doc/guix.texi:29634
  29473. #: guix-git/doc/guix.texi:31838 guix-git/doc/guix.texi:32138
  29474. #: guix-git/doc/guix.texi:32312
  29475. msgid "Defaults to @samp{0}."
  29476. msgstr ""
  29477. #. type: deftypevr
  29478. #: guix-git/doc/guix.texi:19943
  29479. #, no-wrap
  29480. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  29481. msgstr ""
  29482. #. type: deftypevr
  29483. #: guix-git/doc/guix.texi:19947
  29484. 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."
  29485. msgstr ""
  29486. #. type: deftypevr
  29487. #: guix-git/doc/guix.texi:19951
  29488. #, no-wrap
  29489. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  29490. msgstr ""
  29491. #. type: deftypevr
  29492. #: guix-git/doc/guix.texi:19958
  29493. 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."
  29494. msgstr ""
  29495. #. type: deftypevr
  29496. #: guix-git/doc/guix.texi:19962
  29497. #, no-wrap
  29498. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  29499. msgstr ""
  29500. #. type: deftypevr
  29501. #: guix-git/doc/guix.texi:19965
  29502. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  29503. msgstr ""
  29504. #. type: deftypevr
  29505. #: guix-git/doc/guix.texi:19969
  29506. #, no-wrap
  29507. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  29508. msgstr ""
  29509. #. type: deftypevr
  29510. #: guix-git/doc/guix.texi:19974
  29511. 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}."
  29512. msgstr ""
  29513. #. type: deftypevr
  29514. #: guix-git/doc/guix.texi:19978
  29515. #, no-wrap
  29516. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  29517. msgstr ""
  29518. #. type: deftypevr
  29519. #: guix-git/doc/guix.texi:19983
  29520. 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}."
  29521. msgstr ""
  29522. #. type: deftypevr
  29523. #: guix-git/doc/guix.texi:19985 guix-git/doc/guix.texi:24721
  29524. #: guix-git/doc/guix.texi:30186 guix-git/doc/guix.texi:30206
  29525. #: guix-git/doc/guix.texi:30222 guix-git/doc/guix.texi:30236
  29526. #: guix-git/doc/guix.texi:30243 guix-git/doc/guix.texi:30250
  29527. #: guix-git/doc/guix.texi:30257 guix-git/doc/guix.texi:30417
  29528. #: guix-git/doc/guix.texi:30433 guix-git/doc/guix.texi:30440
  29529. #: guix-git/doc/guix.texi:30447 guix-git/doc/guix.texi:30458
  29530. #: guix-git/doc/guix.texi:31790 guix-git/doc/guix.texi:31798
  29531. #: guix-git/doc/guix.texi:31806 guix-git/doc/guix.texi:31830
  29532. msgid "Defaults to @samp{5}."
  29533. msgstr ""
  29534. #. type: deftypevr
  29535. #: guix-git/doc/guix.texi:19987
  29536. #, no-wrap
  29537. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  29538. msgstr ""
  29539. #. type: deftypevr
  29540. #: guix-git/doc/guix.texi:19989
  29541. msgid "Specifies whether to support HTTP keep-alive connections."
  29542. msgstr ""
  29543. #. type: deftypevr
  29544. #: guix-git/doc/guix.texi:19993
  29545. #, no-wrap
  29546. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  29547. msgstr ""
  29548. #. type: deftypevr
  29549. #: guix-git/doc/guix.texi:19996
  29550. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  29551. msgstr ""
  29552. #. type: deftypevr
  29553. #: guix-git/doc/guix.texi:20000
  29554. #, no-wrap
  29555. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  29556. msgstr ""
  29557. #. type: deftypevr
  29558. #: guix-git/doc/guix.texi:20007
  29559. 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."
  29560. msgstr ""
  29561. #. type: deftypevr
  29562. #: guix-git/doc/guix.texi:20009
  29563. #, no-wrap
  29564. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  29565. msgstr ""
  29566. #. type: deftypevr
  29567. #: guix-git/doc/guix.texi:20016
  29568. 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."
  29569. msgstr ""
  29570. #. type: deftypevr
  29571. #: guix-git/doc/guix.texi:20018
  29572. msgid "Defaults to @samp{128}."
  29573. msgstr ""
  29574. #. type: deftypevr
  29575. #: guix-git/doc/guix.texi:20020
  29576. #, no-wrap
  29577. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  29578. msgstr ""
  29579. #. type: deftypevr
  29580. #: guix-git/doc/guix.texi:20022
  29581. msgid "Specifies a set of additional access controls."
  29582. msgstr ""
  29583. #. type: deftypevr
  29584. #: guix-git/doc/guix.texi:20024
  29585. msgid "Available @code{location-access-controls} fields are:"
  29586. msgstr ""
  29587. #. type: deftypevr
  29588. #: guix-git/doc/guix.texi:20025
  29589. #, no-wrap
  29590. msgid "{@code{location-access-controls} parameter} file-name path"
  29591. msgstr ""
  29592. #. type: deftypevr
  29593. #: guix-git/doc/guix.texi:20027
  29594. msgid "Specifies the URI path to which the access control applies."
  29595. msgstr ""
  29596. #. type: deftypevr
  29597. #: guix-git/doc/guix.texi:20029
  29598. #, no-wrap
  29599. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  29600. msgstr ""
  29601. #. type: deftypevr
  29602. #: guix-git/doc/guix.texi:20032
  29603. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  29604. msgstr ""
  29605. #. type: deftypevr
  29606. #: guix-git/doc/guix.texi:20034 guix-git/doc/guix.texi:20040
  29607. #: guix-git/doc/guix.texi:20054 guix-git/doc/guix.texi:20061
  29608. #: guix-git/doc/guix.texi:20203 guix-git/doc/guix.texi:20262
  29609. #: guix-git/doc/guix.texi:20340 guix-git/doc/guix.texi:20354
  29610. #: guix-git/doc/guix.texi:21502 guix-git/doc/guix.texi:21511
  29611. #: guix-git/doc/guix.texi:22781 guix-git/doc/guix.texi:22984
  29612. #: guix-git/doc/guix.texi:23012 guix-git/doc/guix.texi:23042
  29613. #: guix-git/doc/guix.texi:23157 guix-git/doc/guix.texi:23170
  29614. #: guix-git/doc/guix.texi:23177 guix-git/doc/guix.texi:24927
  29615. #: guix-git/doc/guix.texi:25322 guix-git/doc/guix.texi:25426
  29616. #: guix-git/doc/guix.texi:25853 guix-git/doc/guix.texi:25861
  29617. #: guix-git/doc/guix.texi:26106 guix-git/doc/guix.texi:28239
  29618. #: guix-git/doc/guix.texi:28417 guix-git/doc/guix.texi:28616
  29619. #: guix-git/doc/guix.texi:30077 guix-git/doc/guix.texi:30137
  29620. #: guix-git/doc/guix.texi:30145 guix-git/doc/guix.texi:31853
  29621. #: guix-git/doc/guix.texi:31860 guix-git/doc/guix.texi:32202
  29622. #: guix-git/doc/guix.texi:32280 guix-git/doc/guix.texi:32374
  29623. #: guix-git/doc/guix.texi:32382 guix-git/doc/guix.texi:32418
  29624. #: guix-git/doc/guix.texi:32568 guix-git/doc/guix.texi:32619
  29625. #: guix-git/doc/guix.texi:32628
  29626. msgid "Defaults to @samp{()}."
  29627. msgstr ""
  29628. #. type: deftypevr
  29629. #: guix-git/doc/guix.texi:20036
  29630. #, no-wrap
  29631. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  29632. msgstr ""
  29633. #. type: deftypevr
  29634. #: guix-git/doc/guix.texi:20038
  29635. msgid "Access controls for method-specific access to this path."
  29636. msgstr ""
  29637. #. type: deftypevr
  29638. #: guix-git/doc/guix.texi:20042
  29639. msgid "Available @code{method-access-controls} fields are:"
  29640. msgstr ""
  29641. #. type: deftypevr
  29642. #: guix-git/doc/guix.texi:20043
  29643. #, no-wrap
  29644. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  29645. msgstr ""
  29646. #. type: deftypevr
  29647. #: guix-git/doc/guix.texi:20046
  29648. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  29649. msgstr ""
  29650. #. type: deftypevr
  29651. #: guix-git/doc/guix.texi:20050
  29652. #, no-wrap
  29653. msgid "{@code{method-access-controls} parameter} method-list methods"
  29654. msgstr ""
  29655. #. type: deftypevr
  29656. #: guix-git/doc/guix.texi:20052
  29657. msgid "Methods to which this access control applies."
  29658. msgstr ""
  29659. #. type: deftypevr
  29660. #: guix-git/doc/guix.texi:20056
  29661. #, no-wrap
  29662. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  29663. msgstr ""
  29664. #. type: deftypevr
  29665. #: guix-git/doc/guix.texi:20059
  29666. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  29667. msgstr ""
  29668. #. type: deftypevr
  29669. #: guix-git/doc/guix.texi:20065
  29670. #, no-wrap
  29671. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  29672. msgstr ""
  29673. #. type: deftypevr
  29674. #: guix-git/doc/guix.texi:20069
  29675. 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."
  29676. msgstr ""
  29677. #. type: deftypevr
  29678. #: guix-git/doc/guix.texi:20071 guix-git/doc/guix.texi:20092
  29679. #: guix-git/doc/guix.texi:20099 guix-git/doc/guix.texi:22541
  29680. #: guix-git/doc/guix.texi:24459 guix-git/doc/guix.texi:24474
  29681. #: guix-git/doc/guix.texi:28601
  29682. msgid "Defaults to @samp{100}."
  29683. msgstr ""
  29684. #. type: deftypevr
  29685. #: guix-git/doc/guix.texi:20073
  29686. #, no-wrap
  29687. msgid "{@code{cups-configuration} parameter} log-level log-level"
  29688. msgstr ""
  29689. #. type: deftypevr
  29690. #: guix-git/doc/guix.texi:20076
  29691. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  29692. msgstr ""
  29693. #. type: deftypevr
  29694. #: guix-git/doc/guix.texi:20078 guix-git/doc/guix.texi:24936
  29695. msgid "Defaults to @samp{info}."
  29696. msgstr ""
  29697. #. type: deftypevr
  29698. #: guix-git/doc/guix.texi:20080
  29699. #, no-wrap
  29700. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  29701. msgstr ""
  29702. #. type: deftypevr
  29703. #: guix-git/doc/guix.texi:20083
  29704. 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."
  29705. msgstr ""
  29706. #. type: deftypevr
  29707. #: guix-git/doc/guix.texi:20085
  29708. msgid "Defaults to @samp{standard}."
  29709. msgstr ""
  29710. #. type: deftypevr
  29711. #: guix-git/doc/guix.texi:20087
  29712. #, no-wrap
  29713. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  29714. msgstr ""
  29715. #. type: deftypevr
  29716. #: guix-git/doc/guix.texi:20090
  29717. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  29718. msgstr ""
  29719. #. type: deftypevr
  29720. #: guix-git/doc/guix.texi:20094
  29721. #, no-wrap
  29722. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  29723. msgstr ""
  29724. #. type: deftypevr
  29725. #: guix-git/doc/guix.texi:20097
  29726. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  29727. msgstr ""
  29728. #. type: deftypevr
  29729. #: guix-git/doc/guix.texi:20101
  29730. #, no-wrap
  29731. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  29732. msgstr ""
  29733. #. type: deftypevr
  29734. #: guix-git/doc/guix.texi:20104
  29735. msgid "Specifies the maximum number of copies that a user can print of each job."
  29736. msgstr ""
  29737. #. type: deftypevr
  29738. #: guix-git/doc/guix.texi:20106
  29739. msgid "Defaults to @samp{9999}."
  29740. msgstr ""
  29741. #. type: deftypevr
  29742. #: guix-git/doc/guix.texi:20108
  29743. #, no-wrap
  29744. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  29745. msgstr ""
  29746. #. type: deftypevr
  29747. #: guix-git/doc/guix.texi:20112
  29748. 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."
  29749. msgstr ""
  29750. #. type: deftypevr
  29751. #: guix-git/doc/guix.texi:20116
  29752. #, no-wrap
  29753. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  29754. msgstr ""
  29755. #. type: deftypevr
  29756. #: guix-git/doc/guix.texi:20119
  29757. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  29758. msgstr ""
  29759. #. type: deftypevr
  29760. #: guix-git/doc/guix.texi:20121
  29761. msgid "Defaults to @samp{500}."
  29762. msgstr ""
  29763. #. type: deftypevr
  29764. #: guix-git/doc/guix.texi:20123
  29765. #, no-wrap
  29766. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  29767. msgstr ""
  29768. #. type: deftypevr
  29769. #: guix-git/doc/guix.texi:20126
  29770. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  29771. msgstr ""
  29772. #. type: deftypevr
  29773. #: guix-git/doc/guix.texi:20130
  29774. #, no-wrap
  29775. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  29776. msgstr ""
  29777. #. type: deftypevr
  29778. #: guix-git/doc/guix.texi:20133
  29779. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  29780. msgstr ""
  29781. #. type: deftypevr
  29782. #: guix-git/doc/guix.texi:20137
  29783. #, no-wrap
  29784. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  29785. msgstr ""
  29786. #. type: deftypevr
  29787. #: guix-git/doc/guix.texi:20140
  29788. 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."
  29789. msgstr ""
  29790. #. type: deftypevr
  29791. #: guix-git/doc/guix.texi:20142
  29792. msgid "Defaults to @samp{10800}."
  29793. msgstr ""
  29794. #. type: deftypevr
  29795. #: guix-git/doc/guix.texi:20144
  29796. #, no-wrap
  29797. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  29798. msgstr ""
  29799. #. type: deftypevr
  29800. #: guix-git/doc/guix.texi:20147
  29801. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  29802. msgstr ""
  29803. #. type: deftypevr
  29804. #: guix-git/doc/guix.texi:20149
  29805. msgid "Defaults to @samp{1048576}."
  29806. msgstr ""
  29807. #. type: deftypevr
  29808. #: guix-git/doc/guix.texi:20151
  29809. #, no-wrap
  29810. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  29811. msgstr ""
  29812. #. type: deftypevr
  29813. #: guix-git/doc/guix.texi:20154
  29814. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  29815. msgstr ""
  29816. #. type: deftypevr
  29817. #: guix-git/doc/guix.texi:20156 guix-git/doc/guix.texi:20367
  29818. msgid "Defaults to @samp{900}."
  29819. msgstr ""
  29820. #. type: deftypevr
  29821. #: guix-git/doc/guix.texi:20158
  29822. #, no-wrap
  29823. msgid "{@code{cups-configuration} parameter} string page-log-format"
  29824. msgstr ""
  29825. #. type: deftypevr
  29826. #: guix-git/doc/guix.texi:20163
  29827. 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:"
  29828. msgstr ""
  29829. #. type: item
  29830. #: guix-git/doc/guix.texi:20165
  29831. #, no-wrap
  29832. msgid "%%"
  29833. msgstr ""
  29834. #. type: table
  29835. #: guix-git/doc/guix.texi:20167
  29836. msgid "insert a single percent character"
  29837. msgstr ""
  29838. #. type: item
  29839. #: guix-git/doc/guix.texi:20168
  29840. #, no-wrap
  29841. msgid "%@{name@}"
  29842. msgstr ""
  29843. #. type: table
  29844. #: guix-git/doc/guix.texi:20170
  29845. msgid "insert the value of the specified IPP attribute"
  29846. msgstr ""
  29847. #. type: item
  29848. #: guix-git/doc/guix.texi:20171
  29849. #, no-wrap
  29850. msgid "%C"
  29851. msgstr ""
  29852. #. type: table
  29853. #: guix-git/doc/guix.texi:20173
  29854. msgid "insert the number of copies for the current page"
  29855. msgstr ""
  29856. #. type: item
  29857. #: guix-git/doc/guix.texi:20174
  29858. #, no-wrap
  29859. msgid "%P"
  29860. msgstr ""
  29861. #. type: table
  29862. #: guix-git/doc/guix.texi:20176
  29863. msgid "insert the current page number"
  29864. msgstr ""
  29865. #. type: item
  29866. #: guix-git/doc/guix.texi:20177
  29867. #, no-wrap
  29868. msgid "%T"
  29869. msgstr ""
  29870. #. type: table
  29871. #: guix-git/doc/guix.texi:20179
  29872. msgid "insert the current date and time in common log format"
  29873. msgstr ""
  29874. #. type: item
  29875. #: guix-git/doc/guix.texi:20180
  29876. #, no-wrap
  29877. msgid "%j"
  29878. msgstr ""
  29879. #. type: table
  29880. #: guix-git/doc/guix.texi:20182
  29881. msgid "insert the job ID"
  29882. msgstr ""
  29883. #. type: item
  29884. #: guix-git/doc/guix.texi:20183 guix-git/doc/guix.texi:22140
  29885. #, no-wrap
  29886. msgid "%p"
  29887. msgstr ""
  29888. #. type: table
  29889. #: guix-git/doc/guix.texi:20185
  29890. msgid "insert the printer name"
  29891. msgstr ""
  29892. #. type: item
  29893. #: guix-git/doc/guix.texi:20186 guix-git/doc/guix.texi:22163
  29894. #, no-wrap
  29895. msgid "%u"
  29896. msgstr ""
  29897. #. type: table
  29898. #: guix-git/doc/guix.texi:20188
  29899. msgid "insert the username"
  29900. msgstr ""
  29901. #. type: deftypevr
  29902. #: guix-git/doc/guix.texi:20194
  29903. 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."
  29904. msgstr ""
  29905. #. type: deftypevr
  29906. #: guix-git/doc/guix.texi:20198
  29907. #, no-wrap
  29908. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  29909. msgstr ""
  29910. #. type: deftypevr
  29911. #: guix-git/doc/guix.texi:20201
  29912. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  29913. msgstr ""
  29914. #. type: deftypevr
  29915. #: guix-git/doc/guix.texi:20205
  29916. #, no-wrap
  29917. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  29918. msgstr ""
  29919. #. type: deftypevr
  29920. #: guix-git/doc/guix.texi:20207
  29921. msgid "Specifies named access control policies."
  29922. msgstr ""
  29923. #. type: deftypevr
  29924. #: guix-git/doc/guix.texi:20209
  29925. msgid "Available @code{policy-configuration} fields are:"
  29926. msgstr ""
  29927. #. type: deftypevr
  29928. #: guix-git/doc/guix.texi:20210
  29929. #, no-wrap
  29930. msgid "{@code{policy-configuration} parameter} string name"
  29931. msgstr ""
  29932. #. type: deftypevr
  29933. #: guix-git/doc/guix.texi:20212
  29934. msgid "Name of the policy."
  29935. msgstr ""
  29936. #. type: deftypevr
  29937. #: guix-git/doc/guix.texi:20214
  29938. #, no-wrap
  29939. msgid "{@code{policy-configuration} parameter} string job-private-access"
  29940. msgstr ""
  29941. #. type: deftypevr
  29942. #: guix-git/doc/guix.texi:20224
  29943. 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}."
  29944. msgstr ""
  29945. #. type: deftypevr
  29946. #: guix-git/doc/guix.texi:20226 guix-git/doc/guix.texi:20248
  29947. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  29948. msgstr ""
  29949. #. type: deftypevr
  29950. #: guix-git/doc/guix.texi:20228
  29951. #, no-wrap
  29952. msgid "{@code{policy-configuration} parameter} string job-private-values"
  29953. msgstr ""
  29954. #. type: deftypevr
  29955. #: guix-git/doc/guix.texi:20231 guix-git/doc/guix.texi:20253
  29956. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  29957. msgstr ""
  29958. #. type: deftypevr
  29959. #: guix-git/doc/guix.texi:20234
  29960. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  29961. msgstr ""
  29962. #. type: deftypevr
  29963. #: guix-git/doc/guix.texi:20236
  29964. #, no-wrap
  29965. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  29966. msgstr ""
  29967. #. type: deftypevr
  29968. #: guix-git/doc/guix.texi:20246
  29969. 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}."
  29970. msgstr ""
  29971. #. type: deftypevr
  29972. #: guix-git/doc/guix.texi:20250
  29973. #, no-wrap
  29974. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  29975. msgstr ""
  29976. #. type: deftypevr
  29977. #: guix-git/doc/guix.texi:20256
  29978. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  29979. msgstr ""
  29980. #. type: deftypevr
  29981. #: guix-git/doc/guix.texi:20258
  29982. #, no-wrap
  29983. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  29984. msgstr ""
  29985. #. type: deftypevr
  29986. #: guix-git/doc/guix.texi:20260
  29987. msgid "Access control by IPP operation."
  29988. msgstr ""
  29989. #. type: deftypevr
  29990. #: guix-git/doc/guix.texi:20265
  29991. #, no-wrap
  29992. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  29993. msgstr ""
  29994. #. type: deftypevr
  29995. #: guix-git/doc/guix.texi:20270
  29996. 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."
  29997. msgstr ""
  29998. #. type: deftypevr
  29999. #: guix-git/doc/guix.texi:20272
  30000. msgid "Defaults to @samp{86400}."
  30001. msgstr ""
  30002. #. type: deftypevr
  30003. #: guix-git/doc/guix.texi:20274
  30004. #, no-wrap
  30005. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  30006. msgstr ""
  30007. #. type: deftypevr
  30008. #: guix-git/doc/guix.texi:20279
  30009. 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."
  30010. msgstr ""
  30011. #. type: deftypevr
  30012. #: guix-git/doc/guix.texi:20283
  30013. #, no-wrap
  30014. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  30015. msgstr ""
  30016. #. type: deftypevr
  30017. #: guix-git/doc/guix.texi:20286
  30018. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  30019. msgstr ""
  30020. #. type: deftypevr
  30021. #: guix-git/doc/guix.texi:20290
  30022. #, no-wrap
  30023. msgid "{@code{cups-configuration} parameter} string rip-cache"
  30024. msgstr ""
  30025. #. type: deftypevr
  30026. #: guix-git/doc/guix.texi:20293
  30027. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  30028. msgstr ""
  30029. #. type: deftypevr
  30030. #: guix-git/doc/guix.texi:20295
  30031. msgid "Defaults to @samp{\"128m\"}."
  30032. msgstr ""
  30033. #. type: deftypevr
  30034. #: guix-git/doc/guix.texi:20297
  30035. #, no-wrap
  30036. msgid "{@code{cups-configuration} parameter} string server-admin"
  30037. msgstr ""
  30038. #. type: deftypevr
  30039. #: guix-git/doc/guix.texi:20299
  30040. msgid "Specifies the email address of the server administrator."
  30041. msgstr ""
  30042. #. type: deftypevr
  30043. #: guix-git/doc/guix.texi:20301
  30044. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  30045. msgstr ""
  30046. #. type: deftypevr
  30047. #: guix-git/doc/guix.texi:20303
  30048. #, no-wrap
  30049. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  30050. msgstr ""
  30051. #. type: deftypevr
  30052. #: guix-git/doc/guix.texi:20311
  30053. 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{*}."
  30054. msgstr ""
  30055. #. type: deftypevr
  30056. #: guix-git/doc/guix.texi:20313
  30057. msgid "Defaults to @samp{*}."
  30058. msgstr ""
  30059. #. type: deftypevr
  30060. #: guix-git/doc/guix.texi:20315
  30061. #, no-wrap
  30062. msgid "{@code{cups-configuration} parameter} string server-name"
  30063. msgstr ""
  30064. #. type: deftypevr
  30065. #: guix-git/doc/guix.texi:20317
  30066. msgid "Specifies the fully-qualified host name of the server."
  30067. msgstr ""
  30068. #. type: deftypevr
  30069. #: guix-git/doc/guix.texi:20319 guix-git/doc/guix.texi:25449
  30070. #: guix-git/doc/guix.texi:25494
  30071. msgid "Defaults to @samp{\"localhost\"}."
  30072. msgstr ""
  30073. #. type: deftypevr
  30074. #: guix-git/doc/guix.texi:20321
  30075. #, no-wrap
  30076. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  30077. msgstr ""
  30078. #. type: deftypevr
  30079. #: guix-git/doc/guix.texi:20329
  30080. 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}."
  30081. msgstr ""
  30082. #. type: deftypevr
  30083. #: guix-git/doc/guix.texi:20331
  30084. msgid "Defaults to @samp{Minimal}."
  30085. msgstr ""
  30086. #. type: deftypevr
  30087. #: guix-git/doc/guix.texi:20333
  30088. #, no-wrap
  30089. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  30090. msgstr ""
  30091. #. type: deftypevr
  30092. #: guix-git/doc/guix.texi:20338
  30093. 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."
  30094. msgstr ""
  30095. #. type: deftypevr
  30096. #: guix-git/doc/guix.texi:20342
  30097. #, no-wrap
  30098. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  30099. msgstr ""
  30100. #. type: deftypevr
  30101. #: guix-git/doc/guix.texi:20352
  30102. 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."
  30103. msgstr ""
  30104. #. type: deftypevr
  30105. #: guix-git/doc/guix.texi:20356
  30106. #, no-wrap
  30107. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  30108. msgstr ""
  30109. #. type: deftypevr
  30110. #: guix-git/doc/guix.texi:20359
  30111. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  30112. msgstr ""
  30113. #. type: deftypevr
  30114. #: guix-git/doc/guix.texi:20363
  30115. #, no-wrap
  30116. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  30117. msgstr ""
  30118. #. type: deftypevr
  30119. #: guix-git/doc/guix.texi:20365
  30120. msgid "Specifies the HTTP request timeout, in seconds."
  30121. msgstr ""
  30122. #. type: deftypevr
  30123. #: guix-git/doc/guix.texi:20370
  30124. #, no-wrap
  30125. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  30126. msgstr ""
  30127. #. type: deftypevr
  30128. #: guix-git/doc/guix.texi:20372
  30129. msgid "Specifies whether the web interface is enabled."
  30130. msgstr ""
  30131. #. type: Plain text
  30132. #: guix-git/doc/guix.texi:20382
  30133. 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}."
  30134. msgstr ""
  30135. #. type: Plain text
  30136. #: guix-git/doc/guix.texi:20384
  30137. msgid "Available @code{opaque-cups-configuration} fields are:"
  30138. msgstr ""
  30139. #. type: deftypevr
  30140. #: guix-git/doc/guix.texi:20385
  30141. #, no-wrap
  30142. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  30143. msgstr ""
  30144. #. type: deftypevr
  30145. #: guix-git/doc/guix.texi:20389
  30146. #, no-wrap
  30147. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  30148. msgstr ""
  30149. #. type: deftypevr
  30150. #: guix-git/doc/guix.texi:20391
  30151. msgid "The contents of the @code{cupsd.conf}, as a string."
  30152. msgstr ""
  30153. #. type: deftypevr
  30154. #: guix-git/doc/guix.texi:20393
  30155. #, no-wrap
  30156. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  30157. msgstr ""
  30158. #. type: deftypevr
  30159. #: guix-git/doc/guix.texi:20395
  30160. msgid "The contents of the @code{cups-files.conf} file, as a string."
  30161. msgstr ""
  30162. #. type: Plain text
  30163. #: guix-git/doc/guix.texi:20400
  30164. 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:"
  30165. msgstr ""
  30166. #. type: lisp
  30167. #: guix-git/doc/guix.texi:20406
  30168. #, no-wrap
  30169. msgid ""
  30170. "(service cups-service-type\n"
  30171. " (opaque-cups-configuration\n"
  30172. " (cupsd.conf cupsd.conf)\n"
  30173. " (cups-files.conf cups-files.conf)))\n"
  30174. msgstr ""
  30175. #. type: Plain text
  30176. #: guix-git/doc/guix.texi:20417
  30177. 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."
  30178. msgstr ""
  30179. #. type: Plain text
  30180. #: guix-git/doc/guix.texi:20421
  30181. 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:"
  30182. msgstr ""
  30183. #. type: defvr
  30184. #: guix-git/doc/guix.texi:20422
  30185. #, no-wrap
  30186. msgid "{Scheme Variable} %desktop-services"
  30187. msgstr ""
  30188. #. type: defvr
  30189. #: guix-git/doc/guix.texi:20425
  30190. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  30191. msgstr ""
  30192. #. type: defvr
  30193. #: guix-git/doc/guix.texi:20436
  30194. 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})."
  30195. msgstr ""
  30196. #. type: Plain text
  30197. #: guix-git/doc/guix.texi:20441
  30198. 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}})."
  30199. msgstr ""
  30200. #. type: Plain text
  30201. #: guix-git/doc/guix.texi:20464
  30202. 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."
  30203. msgstr ""
  30204. #. type: Plain text
  30205. #: guix-git/doc/guix.texi:20474
  30206. msgid "The desktop environments in Guix use the Xorg display server by default. If you'd like to use the newer display server protocol called Wayland, you need to enable Wayland support in GDM (@pxref{wayland-gdm}). Another solution is to use the @code{sddm-service} instead of GDM as the graphical login manager. You should then select the ``GNOME (Wayland)'' session in SDDM@. Alternatively you can also try starting GNOME on Wayland manually from a TTY with the command ``XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session``. Currently only GNOME has support for Wayland."
  30207. msgstr ""
  30208. #. type: defvr
  30209. #: guix-git/doc/guix.texi:20475
  30210. #, no-wrap
  30211. msgid "{Scheme Variable} gnome-desktop-service-type"
  30212. msgstr ""
  30213. #. type: defvr
  30214. #: guix-git/doc/guix.texi:20479
  30215. 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)."
  30216. msgstr ""
  30217. #. type: defvr
  30218. #: guix-git/doc/guix.texi:20482
  30219. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  30220. msgstr ""
  30221. #. type: deftp
  30222. #: guix-git/doc/guix.texi:20484
  30223. #, no-wrap
  30224. msgid "{Data Type} gnome-desktop-configuration"
  30225. msgstr ""
  30226. #. type: deftp
  30227. #: guix-git/doc/guix.texi:20486
  30228. msgid "Configuration record for the GNOME desktop environment."
  30229. msgstr ""
  30230. #. type: item
  30231. #: guix-git/doc/guix.texi:20488
  30232. #, no-wrap
  30233. msgid "@code{gnome} (default: @code{gnome})"
  30234. msgstr ""
  30235. #. type: table
  30236. #: guix-git/doc/guix.texi:20490
  30237. msgid "The GNOME package to use."
  30238. msgstr ""
  30239. #. type: defvr
  30240. #: guix-git/doc/guix.texi:20493
  30241. #, no-wrap
  30242. msgid "{Scheme Variable} xfce-desktop-service-type"
  30243. msgstr ""
  30244. #. type: defvr
  30245. #: guix-git/doc/guix.texi:20497
  30246. 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)."
  30247. msgstr ""
  30248. #. type: defvr
  30249. #: guix-git/doc/guix.texi:20502
  30250. 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."
  30251. msgstr ""
  30252. #. type: defvr
  30253. #: guix-git/doc/guix.texi:20508
  30254. 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}."
  30255. msgstr ""
  30256. #. type: deftp
  30257. #: guix-git/doc/guix.texi:20510
  30258. #, no-wrap
  30259. msgid "{Data Type} xfce-desktop-configuration"
  30260. msgstr ""
  30261. #. type: deftp
  30262. #: guix-git/doc/guix.texi:20512
  30263. msgid "Configuration record for the Xfce desktop environment."
  30264. msgstr ""
  30265. #. type: item
  30266. #: guix-git/doc/guix.texi:20514
  30267. #, no-wrap
  30268. msgid "@code{xfce} (default: @code{xfce})"
  30269. msgstr ""
  30270. #. type: table
  30271. #: guix-git/doc/guix.texi:20516
  30272. msgid "The Xfce package to use."
  30273. msgstr ""
  30274. #. type: deffn
  30275. #: guix-git/doc/guix.texi:20519
  30276. #, no-wrap
  30277. msgid "{Scheme Variable} mate-desktop-service-type"
  30278. msgstr ""
  30279. #. type: deffn
  30280. #: guix-git/doc/guix.texi:20523
  30281. 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)."
  30282. msgstr ""
  30283. #. type: deffn
  30284. #: guix-git/doc/guix.texi:20527
  30285. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  30286. msgstr ""
  30287. #. type: deftp
  30288. #: guix-git/doc/guix.texi:20529
  30289. #, no-wrap
  30290. msgid "{Data Type} mate-desktop-configuration"
  30291. msgstr ""
  30292. #. type: deftp
  30293. #: guix-git/doc/guix.texi:20531
  30294. msgid "Configuration record for the MATE desktop environment."
  30295. msgstr ""
  30296. #. type: item
  30297. #: guix-git/doc/guix.texi:20533
  30298. #, no-wrap
  30299. msgid "@code{mate} (default: @code{mate})"
  30300. msgstr ""
  30301. #. type: table
  30302. #: guix-git/doc/guix.texi:20535
  30303. msgid "The MATE package to use."
  30304. msgstr ""
  30305. #. type: deffn
  30306. #: guix-git/doc/guix.texi:20538
  30307. #, no-wrap
  30308. msgid "{Scheme Variable} lxqt-desktop-service-type"
  30309. msgstr ""
  30310. #. type: deffn
  30311. #: guix-git/doc/guix.texi:20542
  30312. 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)."
  30313. msgstr ""
  30314. #. type: deffn
  30315. #: guix-git/doc/guix.texi:20545
  30316. msgid "This service adds the @code{lxqt} package to the system profile."
  30317. msgstr ""
  30318. #. type: deftp
  30319. #: guix-git/doc/guix.texi:20547
  30320. #, no-wrap
  30321. msgid "{Data Type} lxqt-desktop-configuration"
  30322. msgstr ""
  30323. #. type: deftp
  30324. #: guix-git/doc/guix.texi:20549
  30325. msgid "Configuration record for the LXQt desktop environment."
  30326. msgstr ""
  30327. #. type: item
  30328. #: guix-git/doc/guix.texi:20551
  30329. #, no-wrap
  30330. msgid "@code{lxqt} (default: @code{lxqt})"
  30331. msgstr ""
  30332. #. type: table
  30333. #: guix-git/doc/guix.texi:20553
  30334. msgid "The LXQT package to use."
  30335. msgstr ""
  30336. #. type: deffn
  30337. #: guix-git/doc/guix.texi:20556
  30338. #, no-wrap
  30339. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  30340. msgstr ""
  30341. #. type: deffn
  30342. #: guix-git/doc/guix.texi:20559
  30343. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  30344. msgstr ""
  30345. #. type: deftp
  30346. #: guix-git/doc/guix.texi:20561
  30347. #, no-wrap
  30348. msgid "{Data Type} enlightenment-desktop-service-configuration"
  30349. msgstr ""
  30350. #. type: item
  30351. #: guix-git/doc/guix.texi:20563
  30352. #, no-wrap
  30353. msgid "@code{enlightenment} (default: @code{enlightenment})"
  30354. msgstr ""
  30355. #. type: table
  30356. #: guix-git/doc/guix.texi:20565
  30357. msgid "The enlightenment package to use."
  30358. msgstr ""
  30359. #. type: Plain text
  30360. #: guix-git/doc/guix.texi:20573
  30361. 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}:"
  30362. msgstr ""
  30363. #. type: lisp
  30364. #: guix-git/doc/guix.texi:20584
  30365. #, no-wrap
  30366. msgid ""
  30367. "(use-modules (gnu))\n"
  30368. "(use-service-modules desktop)\n"
  30369. "(operating-system\n"
  30370. " ...\n"
  30371. " ;; cons* adds items to the list given as its last argument.\n"
  30372. " (services (cons* (service gnome-desktop-service-type)\n"
  30373. " (service xfce-desktop-service)\n"
  30374. " %desktop-services))\n"
  30375. " ...)\n"
  30376. msgstr ""
  30377. #. type: Plain text
  30378. #: guix-git/doc/guix.texi:20588
  30379. msgid "These desktop environments will then be available as options in the graphical login window."
  30380. msgstr ""
  30381. #. type: Plain text
  30382. #: guix-git/doc/guix.texi:20592
  30383. 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."
  30384. msgstr ""
  30385. #. type: deffn
  30386. #: guix-git/doc/guix.texi:20593
  30387. #, no-wrap
  30388. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  30389. msgstr ""
  30390. #. type: deffn
  30391. #: guix-git/doc/guix.texi:20596
  30392. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  30393. msgstr ""
  30394. #. type: deffn
  30395. #: guix-git/doc/guix.texi:20600
  30396. 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."
  30397. msgstr ""
  30398. #. type: deffn
  30399. #: guix-git/doc/guix.texi:20605
  30400. 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)}."
  30401. msgstr ""
  30402. #. type: deffn
  30403. #: guix-git/doc/guix.texi:20607
  30404. #, no-wrap
  30405. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  30406. msgstr ""
  30407. #. type: deffn
  30408. #: guix-git/doc/guix.texi:20613
  30409. 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."
  30410. msgstr ""
  30411. #. type: deffn
  30412. #: guix-git/doc/guix.texi:20617
  30413. 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."
  30414. msgstr ""
  30415. #. type: deffn
  30416. #: guix-git/doc/guix.texi:20622
  30417. 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:"
  30418. msgstr ""
  30419. #. type: item
  30420. #: guix-git/doc/guix.texi:20624
  30421. #, no-wrap
  30422. msgid "kill-user-processes?"
  30423. msgstr ""
  30424. #. type: code{#1}
  30425. #: guix-git/doc/guix.texi:20626 guix-git/doc/guix.texi:20646
  30426. #: guix-git/doc/guix.texi:20648 guix-git/doc/guix.texi:20650
  30427. #: guix-git/doc/guix.texi:20662
  30428. msgid "#f"
  30429. msgstr ""
  30430. #. type: item
  30431. #: guix-git/doc/guix.texi:20626
  30432. #, no-wrap
  30433. msgid "kill-only-users"
  30434. msgstr ""
  30435. #. type: code{#1}
  30436. #: guix-git/doc/guix.texi:20628 guix-git/doc/guix.texi:20668
  30437. msgid "()"
  30438. msgstr ""
  30439. #. type: item
  30440. #: guix-git/doc/guix.texi:20628
  30441. #, no-wrap
  30442. msgid "kill-exclude-users"
  30443. msgstr ""
  30444. #. type: code{#1}
  30445. #: guix-git/doc/guix.texi:20630
  30446. msgid "(\"root\")"
  30447. msgstr ""
  30448. #. type: item
  30449. #: guix-git/doc/guix.texi:20630
  30450. #, no-wrap
  30451. msgid "inhibit-delay-max-seconds"
  30452. msgstr ""
  30453. #. type: code{#1}
  30454. #: guix-git/doc/guix.texi:20632
  30455. msgid "5"
  30456. msgstr ""
  30457. #. type: item
  30458. #: guix-git/doc/guix.texi:20632
  30459. #, no-wrap
  30460. msgid "handle-power-key"
  30461. msgstr ""
  30462. #. type: code{#1}
  30463. #: guix-git/doc/guix.texi:20634
  30464. msgid "poweroff"
  30465. msgstr ""
  30466. #. type: item
  30467. #: guix-git/doc/guix.texi:20634
  30468. #, no-wrap
  30469. msgid "handle-suspend-key"
  30470. msgstr ""
  30471. #. type: code{#1}
  30472. #: guix-git/doc/guix.texi:20636 guix-git/doc/guix.texi:20640
  30473. msgid "suspend"
  30474. msgstr ""
  30475. #. type: item
  30476. #: guix-git/doc/guix.texi:20636
  30477. #, no-wrap
  30478. msgid "handle-hibernate-key"
  30479. msgstr ""
  30480. #. type: code{#1}
  30481. #: guix-git/doc/guix.texi:20638
  30482. msgid "hibernate"
  30483. msgstr ""
  30484. #. type: item
  30485. #: guix-git/doc/guix.texi:20638
  30486. #, no-wrap
  30487. msgid "handle-lid-switch"
  30488. msgstr ""
  30489. #. type: item
  30490. #: guix-git/doc/guix.texi:20640
  30491. #, no-wrap
  30492. msgid "handle-lid-switch-docked"
  30493. msgstr ""
  30494. #. type: code{#1}
  30495. #: guix-git/doc/guix.texi:20642 guix-git/doc/guix.texi:20644
  30496. #: guix-git/doc/guix.texi:20656
  30497. msgid "ignore"
  30498. msgstr ""
  30499. #. type: item
  30500. #: guix-git/doc/guix.texi:20642
  30501. #, no-wrap
  30502. msgid "handle-lid-switch-external-power"
  30503. msgstr ""
  30504. #. type: item
  30505. #: guix-git/doc/guix.texi:20644
  30506. #, no-wrap
  30507. msgid "power-key-ignore-inhibited?"
  30508. msgstr ""
  30509. #. type: item
  30510. #: guix-git/doc/guix.texi:20646
  30511. #, no-wrap
  30512. msgid "suspend-key-ignore-inhibited?"
  30513. msgstr ""
  30514. #. type: item
  30515. #: guix-git/doc/guix.texi:20648
  30516. #, no-wrap
  30517. msgid "hibernate-key-ignore-inhibited?"
  30518. msgstr ""
  30519. #. type: item
  30520. #: guix-git/doc/guix.texi:20650
  30521. #, no-wrap
  30522. msgid "lid-switch-ignore-inhibited?"
  30523. msgstr ""
  30524. #. type: code{#1}
  30525. #: guix-git/doc/guix.texi:20652 guix-git/doc/guix.texi:20664
  30526. msgid "#t"
  30527. msgstr ""
  30528. #. type: item
  30529. #: guix-git/doc/guix.texi:20652
  30530. #, no-wrap
  30531. msgid "holdoff-timeout-seconds"
  30532. msgstr ""
  30533. #. type: code{#1}
  30534. #: guix-git/doc/guix.texi:20654
  30535. msgid "30"
  30536. msgstr ""
  30537. #. type: item
  30538. #: guix-git/doc/guix.texi:20654
  30539. #, no-wrap
  30540. msgid "idle-action"
  30541. msgstr ""
  30542. #. type: item
  30543. #: guix-git/doc/guix.texi:20656
  30544. #, no-wrap
  30545. msgid "idle-action-seconds"
  30546. msgstr ""
  30547. #. type: code{#1}
  30548. #: guix-git/doc/guix.texi:20658
  30549. msgid "(* 30 60)"
  30550. msgstr ""
  30551. #. type: item
  30552. #: guix-git/doc/guix.texi:20658
  30553. #, no-wrap
  30554. msgid "runtime-directory-size-percent"
  30555. msgstr ""
  30556. #. type: code{#1}
  30557. #: guix-git/doc/guix.texi:20660
  30558. msgid "10"
  30559. msgstr ""
  30560. #. type: item
  30561. #: guix-git/doc/guix.texi:20660
  30562. #, no-wrap
  30563. msgid "runtime-directory-size"
  30564. msgstr ""
  30565. #. type: item
  30566. #: guix-git/doc/guix.texi:20662
  30567. #, no-wrap
  30568. msgid "remove-ipc?"
  30569. msgstr ""
  30570. #. type: item
  30571. #: guix-git/doc/guix.texi:20664
  30572. #, no-wrap
  30573. msgid "suspend-state"
  30574. msgstr ""
  30575. #. type: code{#1}
  30576. #: guix-git/doc/guix.texi:20666
  30577. msgid "(\"mem\" \"standby\" \"freeze\")"
  30578. msgstr ""
  30579. #. type: item
  30580. #: guix-git/doc/guix.texi:20666
  30581. #, no-wrap
  30582. msgid "suspend-mode"
  30583. msgstr ""
  30584. #. type: item
  30585. #: guix-git/doc/guix.texi:20668
  30586. #, no-wrap
  30587. msgid "hibernate-state"
  30588. msgstr ""
  30589. #. type: code{#1}
  30590. #: guix-git/doc/guix.texi:20670 guix-git/doc/guix.texi:20674
  30591. msgid "(\"disk\")"
  30592. msgstr ""
  30593. #. type: item
  30594. #: guix-git/doc/guix.texi:20670
  30595. #, no-wrap
  30596. msgid "hibernate-mode"
  30597. msgstr ""
  30598. #. type: code{#1}
  30599. #: guix-git/doc/guix.texi:20672
  30600. msgid "(\"platform\" \"shutdown\")"
  30601. msgstr ""
  30602. #. type: item
  30603. #: guix-git/doc/guix.texi:20672
  30604. #, no-wrap
  30605. msgid "hybrid-sleep-state"
  30606. msgstr ""
  30607. #. type: item
  30608. #: guix-git/doc/guix.texi:20674
  30609. #, no-wrap
  30610. msgid "hybrid-sleep-mode"
  30611. msgstr ""
  30612. #. type: code{#1}
  30613. #: guix-git/doc/guix.texi:20676
  30614. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  30615. msgstr ""
  30616. #. type: deffn
  30617. #: guix-git/doc/guix.texi:20679
  30618. #, no-wrap
  30619. msgid "{Scheme Procedure} accountsservice-service @"
  30620. msgstr ""
  30621. #. type: deffn
  30622. #: guix-git/doc/guix.texi:20687
  30623. 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."
  30624. msgstr ""
  30625. #. type: deffn
  30626. #: guix-git/doc/guix.texi:20690
  30627. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  30628. msgstr ""
  30629. #. type: deffn
  30630. #: guix-git/doc/guix.texi:20692
  30631. #, no-wrap
  30632. msgid "{Scheme Procedure} polkit-service @"
  30633. msgstr ""
  30634. #. type: deffn
  30635. #: guix-git/doc/guix.texi:20701
  30636. 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."
  30637. msgstr ""
  30638. #. type: defvr
  30639. #: guix-git/doc/guix.texi:20703
  30640. #, no-wrap
  30641. msgid "{Scheme Variable} polkit-wheel-service"
  30642. msgstr ""
  30643. #. type: defvr
  30644. #: guix-git/doc/guix.texi:20708
  30645. 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}."
  30646. msgstr ""
  30647. #. type: defvr
  30648. #: guix-git/doc/guix.texi:20710
  30649. #, no-wrap
  30650. msgid "{Scheme Variable} upower-service-type"
  30651. msgstr ""
  30652. #. type: defvr
  30653. #: guix-git/doc/guix.texi:20714
  30654. 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."
  30655. msgstr ""
  30656. #. type: defvr
  30657. #: guix-git/doc/guix.texi:20717
  30658. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  30659. msgstr ""
  30660. #. type: deftp
  30661. #: guix-git/doc/guix.texi:20719
  30662. #, no-wrap
  30663. msgid "{Data Type} upower-configuration"
  30664. msgstr ""
  30665. #. type: deftp
  30666. #: guix-git/doc/guix.texi:20721
  30667. msgid "Data type representation the configuration for UPower."
  30668. msgstr ""
  30669. #. type: item
  30670. #: guix-git/doc/guix.texi:20724
  30671. #, no-wrap
  30672. msgid "@code{upower} (default: @var{upower})"
  30673. msgstr ""
  30674. #. type: table
  30675. #: guix-git/doc/guix.texi:20726
  30676. msgid "Package to use for @code{upower}."
  30677. msgstr ""
  30678. #. type: item
  30679. #: guix-git/doc/guix.texi:20727
  30680. #, no-wrap
  30681. msgid "@code{watts-up-pro?} (default: @code{#f})"
  30682. msgstr ""
  30683. #. type: table
  30684. #: guix-git/doc/guix.texi:20729
  30685. msgid "Enable the Watts Up Pro device."
  30686. msgstr ""
  30687. #. type: item
  30688. #: guix-git/doc/guix.texi:20730
  30689. #, no-wrap
  30690. msgid "@code{poll-batteries?} (default: @code{#t})"
  30691. msgstr ""
  30692. #. type: table
  30693. #: guix-git/doc/guix.texi:20732
  30694. msgid "Enable polling the kernel for battery level changes."
  30695. msgstr ""
  30696. #. type: item
  30697. #: guix-git/doc/guix.texi:20733
  30698. #, no-wrap
  30699. msgid "@code{ignore-lid?} (default: @code{#f})"
  30700. msgstr ""
  30701. #. type: table
  30702. #: guix-git/doc/guix.texi:20735
  30703. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  30704. msgstr ""
  30705. #. type: item
  30706. #: guix-git/doc/guix.texi:20736
  30707. #, no-wrap
  30708. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  30709. msgstr ""
  30710. #. type: table
  30711. #: guix-git/doc/guix.texi:20739
  30712. 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."
  30713. msgstr ""
  30714. #. type: item
  30715. #: guix-git/doc/guix.texi:20740
  30716. #, no-wrap
  30717. msgid "@code{percentage-low} (default: @code{10})"
  30718. msgstr ""
  30719. #. type: table
  30720. #: guix-git/doc/guix.texi:20743
  30721. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  30722. msgstr ""
  30723. #. type: item
  30724. #: guix-git/doc/guix.texi:20744
  30725. #, no-wrap
  30726. msgid "@code{percentage-critical} (default: @code{3})"
  30727. msgstr ""
  30728. #. type: table
  30729. #: guix-git/doc/guix.texi:20747
  30730. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  30731. msgstr ""
  30732. #. type: item
  30733. #: guix-git/doc/guix.texi:20748
  30734. #, no-wrap
  30735. msgid "@code{percentage-action} (default: @code{2})"
  30736. msgstr ""
  30737. #. type: table
  30738. #: guix-git/doc/guix.texi:20751
  30739. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  30740. msgstr ""
  30741. #. type: item
  30742. #: guix-git/doc/guix.texi:20752
  30743. #, no-wrap
  30744. msgid "@code{time-low} (default: @code{1200})"
  30745. msgstr ""
  30746. #. type: table
  30747. #: guix-git/doc/guix.texi:20755
  30748. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  30749. msgstr ""
  30750. #. type: item
  30751. #: guix-git/doc/guix.texi:20756
  30752. #, no-wrap
  30753. msgid "@code{time-critical} (default: @code{300})"
  30754. msgstr ""
  30755. #. type: table
  30756. #: guix-git/doc/guix.texi:20759
  30757. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  30758. msgstr ""
  30759. #. type: item
  30760. #: guix-git/doc/guix.texi:20760
  30761. #, no-wrap
  30762. msgid "@code{time-action} (default: @code{120})"
  30763. msgstr ""
  30764. #. type: table
  30765. #: guix-git/doc/guix.texi:20763
  30766. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  30767. msgstr ""
  30768. #. type: item
  30769. #: guix-git/doc/guix.texi:20764
  30770. #, no-wrap
  30771. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  30772. msgstr ""
  30773. #. type: table
  30774. #: guix-git/doc/guix.texi:20767
  30775. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  30776. msgstr ""
  30777. #. type: table
  30778. #: guix-git/doc/guix.texi:20769
  30779. msgid "Possible values are:"
  30780. msgstr ""
  30781. #. type: code{#1}
  30782. #: guix-git/doc/guix.texi:20773
  30783. msgid "'power-off"
  30784. msgstr ""
  30785. #. type: code{#1}
  30786. #: guix-git/doc/guix.texi:20776
  30787. msgid "'hibernate"
  30788. msgstr ""
  30789. #. type: itemize
  30790. #: guix-git/doc/guix.texi:20779
  30791. msgid "@code{'hybrid-sleep}."
  30792. msgstr ""
  30793. #. type: deffn
  30794. #: guix-git/doc/guix.texi:20784
  30795. #, no-wrap
  30796. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  30797. msgstr ""
  30798. #. type: deffn
  30799. #: guix-git/doc/guix.texi:20794
  30800. 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."
  30801. msgstr ""
  30802. #. type: deffn
  30803. #: guix-git/doc/guix.texi:20796
  30804. #, no-wrap
  30805. msgid "{Scheme Variable} colord-service-type"
  30806. msgstr ""
  30807. #. type: deffn
  30808. #: guix-git/doc/guix.texi:20803
  30809. 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."
  30810. msgstr ""
  30811. #. type: cindex
  30812. #: guix-git/doc/guix.texi:20805
  30813. #, no-wrap
  30814. msgid "scanner access"
  30815. msgstr ""
  30816. #. type: defvr
  30817. #: guix-git/doc/guix.texi:20806
  30818. #, no-wrap
  30819. msgid "{Scheme Variable} sane-service-type"
  30820. msgstr ""
  30821. #. type: defvr
  30822. #: guix-git/doc/guix.texi:20812
  30823. 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."
  30824. msgstr ""
  30825. #. type: defvr
  30826. #: guix-git/doc/guix.texi:20814
  30827. #, no-wrap
  30828. msgid "{Scheme Variable} sane-backends-minimal"
  30829. msgstr ""
  30830. #. type: defvr
  30831. #: guix-git/doc/guix.texi:20817
  30832. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  30833. msgstr ""
  30834. #. type: defvr
  30835. #: guix-git/doc/guix.texi:20819
  30836. #, no-wrap
  30837. msgid "{Scheme Variable} sane-backends"
  30838. msgstr ""
  30839. #. type: defvr
  30840. #: guix-git/doc/guix.texi:20826
  30841. 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:"
  30842. msgstr ""
  30843. #. type: lisp
  30844. #: guix-git/doc/guix.texi:20835
  30845. #, no-wrap
  30846. msgid ""
  30847. "(use-modules (gnu))\n"
  30848. "(use-service-modules\n"
  30849. " @dots{}\n"
  30850. " desktop)\n"
  30851. "(use-package-modules\n"
  30852. " @dots{}\n"
  30853. " scanner)\n"
  30854. "\n"
  30855. msgstr ""
  30856. #. type: lisp
  30857. #: guix-git/doc/guix.texi:20840
  30858. #, no-wrap
  30859. msgid ""
  30860. "(define %my-desktop-services\n"
  30861. " ;; List of desktop services that supports a broader range of scanners.\n"
  30862. " (modify-services %desktop-services\n"
  30863. " (sane-service-type _ => sane-backends)))\n"
  30864. "\n"
  30865. msgstr ""
  30866. #. type: lisp
  30867. #: guix-git/doc/guix.texi:20844
  30868. #, no-wrap
  30869. msgid ""
  30870. "(operating-system\n"
  30871. " @dots{}\n"
  30872. " (services %my-desktop-services))\n"
  30873. msgstr ""
  30874. #. type: deffn
  30875. #: guix-git/doc/guix.texi:20847
  30876. #, no-wrap
  30877. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  30878. msgstr ""
  30879. #. type: deffn
  30880. #: guix-git/doc/guix.texi:20856
  30881. 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."
  30882. msgstr ""
  30883. #. type: defvr
  30884. #: guix-git/doc/guix.texi:20858
  30885. #, no-wrap
  30886. msgid "{Scheme Variable} %standard-geoclue-applications"
  30887. msgstr ""
  30888. #. type: defvr
  30889. #: guix-git/doc/guix.texi:20865
  30890. 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."
  30891. msgstr ""
  30892. #. type: deffn
  30893. #: guix-git/doc/guix.texi:20867
  30894. #, no-wrap
  30895. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  30896. msgstr ""
  30897. #. type: deffn
  30898. #: guix-git/doc/guix.texi:20880
  30899. 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."
  30900. msgstr ""
  30901. #. type: deffn
  30902. #: guix-git/doc/guix.texi:20882
  30903. #, no-wrap
  30904. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  30905. msgstr ""
  30906. #. type: deffn
  30907. #: guix-git/doc/guix.texi:20889
  30908. 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."
  30909. msgstr ""
  30910. #. type: deffn
  30911. #: guix-git/doc/guix.texi:20891
  30912. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  30913. msgstr ""
  30914. #. type: defvr
  30915. #: guix-git/doc/guix.texi:20893
  30916. #, no-wrap
  30917. msgid "{Scheme Variable} gnome-keyring-service-type"
  30918. msgstr ""
  30919. #. type: defvr
  30920. #: guix-git/doc/guix.texi:20897
  30921. 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)."
  30922. msgstr ""
  30923. #. type: defvr
  30924. #: guix-git/doc/guix.texi:20901
  30925. 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."
  30926. msgstr ""
  30927. #. type: deftp
  30928. #: guix-git/doc/guix.texi:20903
  30929. #, no-wrap
  30930. msgid "{Data Type} gnome-keyring-configuration"
  30931. msgstr ""
  30932. #. type: deftp
  30933. #: guix-git/doc/guix.texi:20905
  30934. msgid "Configuration record for the GNOME Keyring service."
  30935. msgstr ""
  30936. #. type: item
  30937. #: guix-git/doc/guix.texi:20907
  30938. #, no-wrap
  30939. msgid "@code{keyring} (default: @code{gnome-keyring})"
  30940. msgstr ""
  30941. #. type: table
  30942. #: guix-git/doc/guix.texi:20909
  30943. msgid "The GNOME keyring package to use."
  30944. msgstr ""
  30945. #. type: code{#1}
  30946. #: guix-git/doc/guix.texi:20910
  30947. #, no-wrap
  30948. msgid "pam-services"
  30949. msgstr ""
  30950. #. type: table
  30951. #: guix-git/doc/guix.texi:20915
  30952. 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}."
  30953. msgstr ""
  30954. #. type: table
  30955. #: guix-git/doc/guix.texi:20921
  30956. 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."
  30957. msgstr ""
  30958. #. type: table
  30959. #: guix-git/doc/guix.texi:20924
  30960. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  30961. msgstr ""
  30962. #. type: cindex
  30963. #: guix-git/doc/guix.texi:20931
  30964. #, no-wrap
  30965. msgid "sound support"
  30966. msgstr ""
  30967. #. type: cindex
  30968. #: guix-git/doc/guix.texi:20932
  30969. #, no-wrap
  30970. msgid "ALSA"
  30971. msgstr ""
  30972. #. type: cindex
  30973. #: guix-git/doc/guix.texi:20933
  30974. #, no-wrap
  30975. msgid "PulseAudio, sound support"
  30976. msgstr ""
  30977. #. type: Plain text
  30978. #: guix-git/doc/guix.texi:20938
  30979. 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."
  30980. msgstr ""
  30981. #. type: deffn
  30982. #: guix-git/doc/guix.texi:20939
  30983. #, no-wrap
  30984. msgid "{Scheme Variable} alsa-service-type"
  30985. msgstr ""
  30986. #. type: deffn
  30987. #: guix-git/doc/guix.texi:20944
  30988. 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:"
  30989. msgstr ""
  30990. #. type: lisp
  30991. #: guix-git/doc/guix.texi:20947
  30992. #, no-wrap
  30993. msgid "(service alsa-service-type)\n"
  30994. msgstr ""
  30995. #. type: deffn
  30996. #: guix-git/doc/guix.texi:20950
  30997. msgid "See below for details about @code{alsa-configuration}."
  30998. msgstr ""
  30999. #. type: deftp
  31000. #: guix-git/doc/guix.texi:20952
  31001. #, no-wrap
  31002. msgid "{Data Type} alsa-configuration"
  31003. msgstr ""
  31004. #. type: deftp
  31005. #: guix-git/doc/guix.texi:20954
  31006. msgid "Data type representing the configuration for @code{alsa-service}."
  31007. msgstr ""
  31008. #. type: item
  31009. #: guix-git/doc/guix.texi:20956
  31010. #, no-wrap
  31011. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  31012. msgstr ""
  31013. #. type: table
  31014. #: guix-git/doc/guix.texi:20958
  31015. msgid "@code{alsa-plugins} package to use."
  31016. msgstr ""
  31017. #. type: item
  31018. #: guix-git/doc/guix.texi:20959
  31019. #, no-wrap
  31020. msgid "@code{pulseaudio?} (default: @var{#t})"
  31021. msgstr ""
  31022. #. type: table
  31023. #: guix-git/doc/guix.texi:20962
  31024. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  31025. msgstr ""
  31026. #. type: table
  31027. #: guix-git/doc/guix.texi:20966
  31028. 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."
  31029. msgstr ""
  31030. #. type: item
  31031. #: guix-git/doc/guix.texi:20967
  31032. #, no-wrap
  31033. msgid "@code{extra-options} (default: @var{\"\"})"
  31034. msgstr ""
  31035. #. type: table
  31036. #: guix-git/doc/guix.texi:20969
  31037. msgid "String to append to the @file{/etc/asound.conf} file."
  31038. msgstr ""
  31039. #. type: Plain text
  31040. #: guix-git/doc/guix.texi:20975
  31041. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  31042. msgstr ""
  31043. #. type: example
  31044. #: guix-git/doc/guix.texi:20981
  31045. #, no-wrap
  31046. msgid ""
  31047. "# In guix, we have to specify the absolute path for plugins.\n"
  31048. "pcm_type.jack @{\n"
  31049. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  31050. "@}\n"
  31051. "\n"
  31052. msgstr ""
  31053. #. type: example
  31054. #: guix-git/doc/guix.texi:20990
  31055. #, no-wrap
  31056. msgid ""
  31057. "# Routing ALSA to jack:\n"
  31058. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  31059. "pcm.rawjack @{\n"
  31060. " type jack\n"
  31061. " playback_ports @{\n"
  31062. " 0 system:playback_1\n"
  31063. " 1 system:playback_2\n"
  31064. " @}\n"
  31065. "\n"
  31066. msgstr ""
  31067. #. type: example
  31068. #: guix-git/doc/guix.texi:20996
  31069. #, no-wrap
  31070. msgid ""
  31071. " capture_ports @{\n"
  31072. " 0 system:capture_1\n"
  31073. " 1 system:capture_2\n"
  31074. " @}\n"
  31075. "@}\n"
  31076. "\n"
  31077. msgstr ""
  31078. #. type: example
  31079. #: guix-git/doc/guix.texi:21003
  31080. #, no-wrap
  31081. msgid ""
  31082. "pcm.!default @{\n"
  31083. " type plug\n"
  31084. " slave @{\n"
  31085. " pcm \"rawjack\"\n"
  31086. " @}\n"
  31087. "@}\n"
  31088. msgstr ""
  31089. #. type: Plain text
  31090. #: guix-git/doc/guix.texi:21007
  31091. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  31092. msgstr ""
  31093. #. type: deffn
  31094. #: guix-git/doc/guix.texi:21008
  31095. #, no-wrap
  31096. msgid "{Scheme Variable} pulseaudio-service-type"
  31097. msgstr ""
  31098. #. type: deffn
  31099. #: guix-git/doc/guix.texi:21012
  31100. 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."
  31101. msgstr ""
  31102. #. type: quotation
  31103. #: guix-git/doc/guix.texi:21018
  31104. 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}."
  31105. msgstr ""
  31106. #. type: quotation
  31107. #: guix-git/doc/guix.texi:21026
  31108. 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."
  31109. msgstr ""
  31110. #. type: deftp
  31111. #: guix-git/doc/guix.texi:21029
  31112. #, no-wrap
  31113. msgid "{Data Type} pulseaudio-configuration"
  31114. msgstr ""
  31115. #. type: deftp
  31116. #: guix-git/doc/guix.texi:21031
  31117. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  31118. msgstr ""
  31119. #. type: item
  31120. #: guix-git/doc/guix.texi:21033
  31121. #, no-wrap
  31122. msgid "@code{client-conf} (default: @code{'()})"
  31123. msgstr ""
  31124. #. type: table
  31125. #: guix-git/doc/guix.texi:21038
  31126. 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."
  31127. msgstr ""
  31128. #. type: item
  31129. #: guix-git/doc/guix.texi:21039
  31130. #, no-wrap
  31131. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  31132. msgstr ""
  31133. #. type: table
  31134. #: guix-git/doc/guix.texi:21042
  31135. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  31136. msgstr ""
  31137. #. type: item
  31138. #: guix-git/doc/guix.texi:21043
  31139. #, no-wrap
  31140. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  31141. msgstr ""
  31142. #. type: table
  31143. #: guix-git/doc/guix.texi:21045
  31144. msgid "Script file to use as @file{default.pa}."
  31145. msgstr ""
  31146. #. type: item
  31147. #: guix-git/doc/guix.texi:21046
  31148. #, no-wrap
  31149. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  31150. msgstr ""
  31151. #. type: table
  31152. #: guix-git/doc/guix.texi:21048
  31153. msgid "Script file to use as @file{system.pa}."
  31154. msgstr ""
  31155. #. type: deffn
  31156. #: guix-git/doc/guix.texi:21051
  31157. #, no-wrap
  31158. msgid "{Scheme Variable} ladspa-service-type"
  31159. msgstr ""
  31160. #. type: deffn
  31161. #: guix-git/doc/guix.texi:21054
  31162. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  31163. msgstr ""
  31164. #. type: deffn
  31165. #: guix-git/doc/guix.texi:21057
  31166. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  31167. msgstr ""
  31168. #. type: lisp
  31169. #: guix-git/doc/guix.texi:21061
  31170. #, no-wrap
  31171. msgid ""
  31172. "(service ladspa-service-type\n"
  31173. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  31174. msgstr ""
  31175. #. type: deffn
  31176. #: guix-git/doc/guix.texi:21065
  31177. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  31178. msgstr ""
  31179. #. type: cindex
  31180. #: guix-git/doc/guix.texi:21072
  31181. #, no-wrap
  31182. msgid "SQL"
  31183. msgstr ""
  31184. #. type: Plain text
  31185. #: guix-git/doc/guix.texi:21074
  31186. msgid "The @code{(gnu services databases)} module provides the following services."
  31187. msgstr ""
  31188. #. type: subsubheading
  31189. #: guix-git/doc/guix.texi:21075
  31190. #, no-wrap
  31191. msgid "PostgreSQL"
  31192. msgstr ""
  31193. #. type: Plain text
  31194. #: guix-git/doc/guix.texi:21079
  31195. msgid "The following example describes a PostgreSQL service with the default configuration."
  31196. msgstr ""
  31197. #. type: lisp
  31198. #: guix-git/doc/guix.texi:21084
  31199. #, no-wrap
  31200. msgid ""
  31201. "(service postgresql-service-type\n"
  31202. " (postgresql-configuration\n"
  31203. " (postgresql postgresql-10)))\n"
  31204. msgstr ""
  31205. #. type: Plain text
  31206. #: guix-git/doc/guix.texi:21090
  31207. 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."
  31208. msgstr ""
  31209. #. type: Plain text
  31210. #: guix-git/doc/guix.texi:21097
  31211. 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."
  31212. msgstr ""
  31213. #. type: example
  31214. #: guix-git/doc/guix.texi:21102
  31215. #, no-wrap
  31216. msgid ""
  31217. "sudo -u postgres -s /bin/sh\n"
  31218. "createuser --interactive\n"
  31219. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  31220. msgstr ""
  31221. #. type: deftp
  31222. #: guix-git/doc/guix.texi:21104
  31223. #, no-wrap
  31224. msgid "{Data Type} postgresql-configuration"
  31225. msgstr ""
  31226. #. type: deftp
  31227. #: guix-git/doc/guix.texi:21107
  31228. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  31229. msgstr ""
  31230. #. type: code{#1}
  31231. #: guix-git/doc/guix.texi:21109
  31232. #, no-wrap
  31233. msgid "postgresql"
  31234. msgstr ""
  31235. #. type: table
  31236. #: guix-git/doc/guix.texi:21111
  31237. msgid "PostgreSQL package to use for the service."
  31238. msgstr ""
  31239. #. type: item
  31240. #: guix-git/doc/guix.texi:21112
  31241. #, no-wrap
  31242. msgid "@code{port} (default: @code{5432})"
  31243. msgstr ""
  31244. #. type: table
  31245. #: guix-git/doc/guix.texi:21114
  31246. msgid "Port on which PostgreSQL should listen."
  31247. msgstr ""
  31248. #. type: table
  31249. #: guix-git/doc/guix.texi:21117
  31250. msgid "Locale to use as the default when creating the database cluster."
  31251. msgstr ""
  31252. #. type: item
  31253. #: guix-git/doc/guix.texi:21118
  31254. #, no-wrap
  31255. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  31256. msgstr ""
  31257. #. type: table
  31258. #: guix-git/doc/guix.texi:21122
  31259. 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."
  31260. msgstr ""
  31261. #. type: item
  31262. #: guix-git/doc/guix.texi:21123
  31263. #, no-wrap
  31264. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  31265. msgstr ""
  31266. #. type: table
  31267. #: guix-git/doc/guix.texi:21127
  31268. 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."
  31269. msgstr ""
  31270. #. type: item
  31271. #: guix-git/doc/guix.texi:21128
  31272. #, no-wrap
  31273. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  31274. msgstr ""
  31275. #. type: table
  31276. #: guix-git/doc/guix.texi:21130
  31277. msgid "Directory in which to store the data."
  31278. msgstr ""
  31279. #. type: item
  31280. #: guix-git/doc/guix.texi:21131
  31281. #, no-wrap
  31282. msgid "@code{extension-packages} (default: @code{'()})"
  31283. msgstr ""
  31284. #. type: cindex
  31285. #: guix-git/doc/guix.texi:21132
  31286. #, no-wrap
  31287. msgid "postgresql extension-packages"
  31288. msgstr ""
  31289. #. type: table
  31290. #: guix-git/doc/guix.texi:21137
  31291. 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:"
  31292. msgstr ""
  31293. #. type: cindex
  31294. #: guix-git/doc/guix.texi:21138
  31295. #, no-wrap
  31296. msgid "postgis"
  31297. msgstr ""
  31298. #. type: lisp
  31299. #: guix-git/doc/guix.texi:21141
  31300. #, no-wrap
  31301. msgid ""
  31302. "(use-package-modules databases geo)\n"
  31303. "\n"
  31304. msgstr ""
  31305. #. type: lisp
  31306. #: guix-git/doc/guix.texi:21154
  31307. #, no-wrap
  31308. msgid ""
  31309. "(operating-system\n"
  31310. " ...\n"
  31311. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  31312. " ;; proper operation.\n"
  31313. " (packages (cons* postgresql %base-packages))\n"
  31314. " (services\n"
  31315. " (cons*\n"
  31316. " (service postgresql-service-type\n"
  31317. " (postgresql-configuration\n"
  31318. " (postgresql postgresql-10)\n"
  31319. " (extension-packages (list postgis))))\n"
  31320. " %base-services)))\n"
  31321. msgstr ""
  31322. #. type: table
  31323. #: guix-git/doc/guix.texi:21158
  31324. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  31325. msgstr ""
  31326. #. type: example
  31327. #: guix-git/doc/guix.texi:21165
  31328. #, no-wrap
  31329. msgid ""
  31330. "psql -U postgres\n"
  31331. "> create database postgistest;\n"
  31332. "> \\connect postgistest;\n"
  31333. "> create extension postgis;\n"
  31334. "> create extension postgis_topology;\n"
  31335. msgstr ""
  31336. #. type: table
  31337. #: guix-git/doc/guix.texi:21170
  31338. 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."
  31339. msgstr ""
  31340. #. type: deftp
  31341. #: guix-git/doc/guix.texi:21174
  31342. #, no-wrap
  31343. msgid "{Data Type} postgresql-config-file"
  31344. msgstr ""
  31345. #. type: deftp
  31346. #: guix-git/doc/guix.texi:21180
  31347. 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."
  31348. msgstr ""
  31349. #. type: lisp
  31350. #: guix-git/doc/guix.texi:21200
  31351. #, no-wrap
  31352. msgid ""
  31353. "(service postgresql-service-type\n"
  31354. " (postgresql-configuration\n"
  31355. " (config-file\n"
  31356. " (postgresql-config-file\n"
  31357. " (log-destination \"stderr\")\n"
  31358. " (hba-file\n"
  31359. " (plain-file \"pg_hba.conf\"\n"
  31360. " \"\n"
  31361. "local\tall\tall\t\t\ttrust\n"
  31362. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  31363. "host\tall\tall\t::1/128 \tmd5\"))\n"
  31364. " (extra-config\n"
  31365. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  31366. " (\"random_page_cost\" 2)\n"
  31367. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  31368. " (\"work_mem\" \"500 MB\")\n"
  31369. " (\"logging_collector\" #t)\n"
  31370. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  31371. msgstr ""
  31372. #. type: item
  31373. #: guix-git/doc/guix.texi:21203
  31374. #, no-wrap
  31375. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  31376. msgstr ""
  31377. #. type: table
  31378. #: guix-git/doc/guix.texi:21206
  31379. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  31380. msgstr ""
  31381. #. type: item
  31382. #: guix-git/doc/guix.texi:21207
  31383. #, no-wrap
  31384. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  31385. msgstr ""
  31386. #. type: table
  31387. #: guix-git/doc/guix.texi:21210
  31388. msgid "Filename or G-expression for the host-based authentication configuration."
  31389. msgstr ""
  31390. #. type: item
  31391. #: guix-git/doc/guix.texi:21211
  31392. #, no-wrap
  31393. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  31394. msgstr ""
  31395. #. type: table
  31396. #: guix-git/doc/guix.texi:21213
  31397. msgid "Filename or G-expression for the user name mapping configuration."
  31398. msgstr ""
  31399. #. type: item
  31400. #: guix-git/doc/guix.texi:21214
  31401. #, no-wrap
  31402. msgid "@code{socket-directory} (default: @code{\"/var/run/postgresql\"})"
  31403. msgstr ""
  31404. #. type: table
  31405. #: guix-git/doc/guix.texi:21219
  31406. 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."
  31407. msgstr ""
  31408. #. type: table
  31409. #: guix-git/doc/guix.texi:21222
  31410. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  31411. msgstr ""
  31412. #. type: table
  31413. #: guix-git/doc/guix.texi:21227
  31414. 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."
  31415. msgstr ""
  31416. #. type: table
  31417. #: guix-git/doc/guix.texi:21233
  31418. 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}."
  31419. msgstr ""
  31420. #. type: deffn
  31421. #: guix-git/doc/guix.texi:21237
  31422. #, no-wrap
  31423. msgid "{Scheme Variable} postgresql-role-service-type"
  31424. msgstr ""
  31425. #. type: deffn
  31426. #: guix-git/doc/guix.texi:21240
  31427. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  31428. msgstr ""
  31429. #. type: lisp
  31430. #: guix-git/doc/guix.texi:21248
  31431. #, no-wrap
  31432. msgid ""
  31433. "(service postgresql-role-service-type\n"
  31434. " (postgresql-role-configuration\n"
  31435. " (roles\n"
  31436. " (list (postgresql-role\n"
  31437. " (name \"test\")\n"
  31438. " (create-database? #t))))))\n"
  31439. msgstr ""
  31440. #. type: deffn
  31441. #: guix-git/doc/guix.texi:21252
  31442. msgid "This service can be extended with extra roles, as in this example:"
  31443. msgstr ""
  31444. #. type: lisp
  31445. #: guix-git/doc/guix.texi:21258
  31446. #, no-wrap
  31447. msgid ""
  31448. "(service-extension postgresql-role-service-type\n"
  31449. " (const (postgresql-role\n"
  31450. " (name \"alice\")\n"
  31451. " (create-database? #t))))\n"
  31452. msgstr ""
  31453. #. type: deftp
  31454. #: guix-git/doc/guix.texi:21261
  31455. #, no-wrap
  31456. msgid "{Data Type} postgresql-role"
  31457. msgstr ""
  31458. #. type: deftp
  31459. #: guix-git/doc/guix.texi:21267
  31460. 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."
  31461. msgstr ""
  31462. #. type: table
  31463. #: guix-git/doc/guix.texi:21271
  31464. msgid "The role name."
  31465. msgstr ""
  31466. #. type: item
  31467. #: guix-git/doc/guix.texi:21272
  31468. #, no-wrap
  31469. msgid "@code{permissions} (default: @code{'(createdb login)})"
  31470. msgstr ""
  31471. #. type: table
  31472. #: guix-git/doc/guix.texi:21276
  31473. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  31474. msgstr ""
  31475. #. type: item
  31476. #: guix-git/doc/guix.texi:21277
  31477. #, no-wrap
  31478. msgid "@code{create-database?} (default: @code{#f})"
  31479. msgstr ""
  31480. #. type: table
  31481. #: guix-git/doc/guix.texi:21279
  31482. msgid "Whether to create a database with the same name as the role."
  31483. msgstr ""
  31484. #. type: deftp
  31485. #: guix-git/doc/guix.texi:21283
  31486. #, no-wrap
  31487. msgid "{Data Type} postgresql-role-configuration"
  31488. msgstr ""
  31489. #. type: deftp
  31490. #: guix-git/doc/guix.texi:21286
  31491. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  31492. msgstr ""
  31493. #. type: item
  31494. #: guix-git/doc/guix.texi:21288
  31495. #, no-wrap
  31496. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  31497. msgstr ""
  31498. #. type: table
  31499. #: guix-git/doc/guix.texi:21290
  31500. msgid "The PostgreSQL host to connect to."
  31501. msgstr ""
  31502. #. type: item
  31503. #: guix-git/doc/guix.texi:21291
  31504. #, no-wrap
  31505. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  31506. msgstr ""
  31507. #. type: table
  31508. #: guix-git/doc/guix.texi:21293
  31509. msgid "File name of the log file."
  31510. msgstr ""
  31511. #. type: item
  31512. #: guix-git/doc/guix.texi:21294
  31513. #, no-wrap
  31514. msgid "@code{roles} (default: @code{'()})"
  31515. msgstr ""
  31516. #. type: table
  31517. #: guix-git/doc/guix.texi:21296
  31518. msgid "The initial PostgreSQL roles to create."
  31519. msgstr ""
  31520. #. type: subsubheading
  31521. #: guix-git/doc/guix.texi:21299
  31522. #, no-wrap
  31523. msgid "MariaDB/MySQL"
  31524. msgstr ""
  31525. #. type: defvr
  31526. #: guix-git/doc/guix.texi:21301
  31527. #, no-wrap
  31528. msgid "{Scheme Variable} mysql-service-type"
  31529. msgstr ""
  31530. #. type: defvr
  31531. #: guix-git/doc/guix.texi:21305
  31532. 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."
  31533. msgstr ""
  31534. #. type: deftp
  31535. #: guix-git/doc/guix.texi:21307
  31536. #, no-wrap
  31537. msgid "{Data Type} mysql-configuration"
  31538. msgstr ""
  31539. #. type: deftp
  31540. #: guix-git/doc/guix.texi:21309
  31541. msgid "Data type representing the configuration of @var{mysql-service-type}."
  31542. msgstr ""
  31543. #. type: item
  31544. #: guix-git/doc/guix.texi:21311
  31545. #, no-wrap
  31546. msgid "@code{mysql} (default: @var{mariadb})"
  31547. msgstr ""
  31548. #. type: table
  31549. #: guix-git/doc/guix.texi:21314
  31550. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  31551. msgstr ""
  31552. #. type: table
  31553. #: guix-git/doc/guix.texi:21317
  31554. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  31555. msgstr ""
  31556. #. type: item
  31557. #: guix-git/doc/guix.texi:21318 guix-git/doc/guix.texi:25138
  31558. #, no-wrap
  31559. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  31560. msgstr ""
  31561. #. type: table
  31562. #: guix-git/doc/guix.texi:21321
  31563. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  31564. msgstr ""
  31565. #. type: item
  31566. #: guix-git/doc/guix.texi:21322
  31567. #, no-wrap
  31568. msgid "@code{port} (default: @code{3306})"
  31569. msgstr ""
  31570. #. type: table
  31571. #: guix-git/doc/guix.texi:21324
  31572. msgid "TCP port on which the database server listens for incoming connections."
  31573. msgstr ""
  31574. #. type: item
  31575. #: guix-git/doc/guix.texi:21325
  31576. #, no-wrap
  31577. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  31578. msgstr ""
  31579. #. type: table
  31580. #: guix-git/doc/guix.texi:21327
  31581. msgid "Socket file to use for local (non-network) connections."
  31582. msgstr ""
  31583. #. type: table
  31584. #: guix-git/doc/guix.texi:21330
  31585. msgid "Additional settings for the @file{my.cnf} configuration file."
  31586. msgstr ""
  31587. #. type: item
  31588. #: guix-git/doc/guix.texi:21331
  31589. #, no-wrap
  31590. msgid "@code{extra-environment} (default: @code{#~'()})"
  31591. msgstr ""
  31592. #. type: table
  31593. #: guix-git/doc/guix.texi:21333
  31594. msgid "List of environment variables passed to the @command{mysqld} process."
  31595. msgstr ""
  31596. #. type: item
  31597. #: guix-git/doc/guix.texi:21334
  31598. #, no-wrap
  31599. msgid "@code{auto-upgrade?} (default: @code{#t})"
  31600. msgstr ""
  31601. #. type: table
  31602. #: guix-git/doc/guix.texi:21339
  31603. 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."
  31604. msgstr ""
  31605. #. type: subsubheading
  31606. #: guix-git/doc/guix.texi:21343
  31607. #, no-wrap
  31608. msgid "Memcached"
  31609. msgstr ""
  31610. #. type: defvr
  31611. #: guix-git/doc/guix.texi:21345
  31612. #, no-wrap
  31613. msgid "{Scheme Variable} memcached-service-type"
  31614. msgstr ""
  31615. #. type: defvr
  31616. #: guix-git/doc/guix.texi:21349
  31617. 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."
  31618. msgstr ""
  31619. #. type: lisp
  31620. #: guix-git/doc/guix.texi:21353
  31621. #, no-wrap
  31622. msgid "(service memcached-service-type)\n"
  31623. msgstr ""
  31624. #. type: deftp
  31625. #: guix-git/doc/guix.texi:21355
  31626. #, no-wrap
  31627. msgid "{Data Type} memcached-configuration"
  31628. msgstr ""
  31629. #. type: deftp
  31630. #: guix-git/doc/guix.texi:21357
  31631. msgid "Data type representing the configuration of memcached."
  31632. msgstr ""
  31633. #. type: item
  31634. #: guix-git/doc/guix.texi:21359
  31635. #, no-wrap
  31636. msgid "@code{memcached} (default: @code{memcached})"
  31637. msgstr ""
  31638. #. type: table
  31639. #: guix-git/doc/guix.texi:21361
  31640. msgid "The Memcached package to use."
  31641. msgstr ""
  31642. #. type: item
  31643. #: guix-git/doc/guix.texi:21362
  31644. #, no-wrap
  31645. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  31646. msgstr ""
  31647. #. type: table
  31648. #: guix-git/doc/guix.texi:21364
  31649. msgid "Network interfaces on which to listen."
  31650. msgstr ""
  31651. #. type: item
  31652. #: guix-git/doc/guix.texi:21365
  31653. #, no-wrap
  31654. msgid "@code{tcp-port} (default: @code{11211})"
  31655. msgstr ""
  31656. #. type: table
  31657. #: guix-git/doc/guix.texi:21367
  31658. msgid "Port on which to accept connections."
  31659. msgstr ""
  31660. #. type: item
  31661. #: guix-git/doc/guix.texi:21368
  31662. #, no-wrap
  31663. msgid "@code{udp-port} (default: @code{11211})"
  31664. msgstr ""
  31665. #. type: table
  31666. #: guix-git/doc/guix.texi:21371
  31667. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  31668. msgstr ""
  31669. #. type: item
  31670. #: guix-git/doc/guix.texi:21372
  31671. #, no-wrap
  31672. msgid "@code{additional-options} (default: @code{'()})"
  31673. msgstr ""
  31674. #. type: table
  31675. #: guix-git/doc/guix.texi:21374
  31676. msgid "Additional command line options to pass to @code{memcached}."
  31677. msgstr ""
  31678. #. type: subsubheading
  31679. #: guix-git/doc/guix.texi:21377
  31680. #, no-wrap
  31681. msgid "Redis"
  31682. msgstr ""
  31683. #. type: defvr
  31684. #: guix-git/doc/guix.texi:21379
  31685. #, no-wrap
  31686. msgid "{Scheme Variable} redis-service-type"
  31687. msgstr ""
  31688. #. type: defvr
  31689. #: guix-git/doc/guix.texi:21382
  31690. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  31691. msgstr ""
  31692. #. type: deftp
  31693. #: guix-git/doc/guix.texi:21384
  31694. #, no-wrap
  31695. msgid "{Data Type} redis-configuration"
  31696. msgstr ""
  31697. #. type: deftp
  31698. #: guix-git/doc/guix.texi:21386
  31699. msgid "Data type representing the configuration of redis."
  31700. msgstr ""
  31701. #. type: item
  31702. #: guix-git/doc/guix.texi:21388
  31703. #, no-wrap
  31704. msgid "@code{redis} (default: @code{redis})"
  31705. msgstr ""
  31706. #. type: table
  31707. #: guix-git/doc/guix.texi:21390
  31708. msgid "The Redis package to use."
  31709. msgstr ""
  31710. #. type: item
  31711. #: guix-git/doc/guix.texi:21391
  31712. #, no-wrap
  31713. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  31714. msgstr ""
  31715. #. type: table
  31716. #: guix-git/doc/guix.texi:21393
  31717. msgid "Network interface on which to listen."
  31718. msgstr ""
  31719. #. type: item
  31720. #: guix-git/doc/guix.texi:21394
  31721. #, no-wrap
  31722. msgid "@code{port} (default: @code{6379})"
  31723. msgstr ""
  31724. #. type: table
  31725. #: guix-git/doc/guix.texi:21397
  31726. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  31727. msgstr ""
  31728. #. type: item
  31729. #: guix-git/doc/guix.texi:21398
  31730. #, no-wrap
  31731. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  31732. msgstr ""
  31733. #. type: table
  31734. #: guix-git/doc/guix.texi:21400
  31735. msgid "Directory in which to store the database and related files."
  31736. msgstr ""
  31737. #. type: cindex
  31738. #: guix-git/doc/guix.texi:21406
  31739. #, no-wrap
  31740. msgid "mail"
  31741. msgstr ""
  31742. #. type: cindex
  31743. #: guix-git/doc/guix.texi:21407
  31744. #, no-wrap
  31745. msgid "email"
  31746. msgstr ""
  31747. #. type: Plain text
  31748. #: guix-git/doc/guix.texi:21412
  31749. 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."
  31750. msgstr ""
  31751. #. type: subsubheading
  31752. #: guix-git/doc/guix.texi:21413
  31753. #, no-wrap
  31754. msgid "Dovecot Service"
  31755. msgstr ""
  31756. #. type: deffn
  31757. #: guix-git/doc/guix.texi:21415
  31758. #, no-wrap
  31759. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  31760. msgstr ""
  31761. #. type: deffn
  31762. #: guix-git/doc/guix.texi:21417
  31763. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  31764. msgstr ""
  31765. #. type: Plain text
  31766. #: guix-git/doc/guix.texi:21427
  31767. 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."
  31768. msgstr ""
  31769. #. type: Plain text
  31770. #: guix-git/doc/guix.texi:21430
  31771. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  31772. msgstr ""
  31773. #. type: lisp
  31774. #: guix-git/doc/guix.texi:21435
  31775. #, no-wrap
  31776. msgid ""
  31777. "(dovecot-service #:config\n"
  31778. " (dovecot-configuration\n"
  31779. " (mail-location \"maildir:~/.mail\")))\n"
  31780. msgstr ""
  31781. #. type: Plain text
  31782. #: guix-git/doc/guix.texi:21443
  31783. 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."
  31784. msgstr ""
  31785. #. type: Plain text
  31786. #: guix-git/doc/guix.texi:21453
  31787. msgid "Available @code{dovecot-configuration} fields are:"
  31788. msgstr ""
  31789. #. type: deftypevr
  31790. #: guix-git/doc/guix.texi:21454
  31791. #, no-wrap
  31792. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  31793. msgstr ""
  31794. #. type: deftypevr
  31795. #: guix-git/doc/guix.texi:21456 guix-git/doc/guix.texi:22805
  31796. msgid "The dovecot package."
  31797. msgstr ""
  31798. #. type: deftypevr
  31799. #: guix-git/doc/guix.texi:21458
  31800. #, no-wrap
  31801. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  31802. msgstr ""
  31803. #. type: deftypevr
  31804. #: guix-git/doc/guix.texi:21464
  31805. 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."
  31806. msgstr ""
  31807. #. type: deftypevr
  31808. #: guix-git/doc/guix.texi:21466
  31809. #, no-wrap
  31810. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  31811. msgstr ""
  31812. #. type: deftypevr
  31813. #: guix-git/doc/guix.texi:21469
  31814. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  31815. msgstr ""
  31816. #. type: deftypevr
  31817. #: guix-git/doc/guix.texi:21471
  31818. msgid "Available @code{protocol-configuration} fields are:"
  31819. msgstr ""
  31820. #. type: deftypevr
  31821. #: guix-git/doc/guix.texi:21472
  31822. #, no-wrap
  31823. msgid "{@code{protocol-configuration} parameter} string name"
  31824. msgstr ""
  31825. #. type: deftypevr
  31826. #: guix-git/doc/guix.texi:21474
  31827. msgid "The name of the protocol."
  31828. msgstr ""
  31829. #. type: deftypevr
  31830. #: guix-git/doc/guix.texi:21476
  31831. #, no-wrap
  31832. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  31833. msgstr ""
  31834. #. type: deftypevr
  31835. #: guix-git/doc/guix.texi:21480
  31836. 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\"}."
  31837. msgstr ""
  31838. #. type: deftypevr
  31839. #: guix-git/doc/guix.texi:21482
  31840. #, no-wrap
  31841. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  31842. msgstr ""
  31843. #. type: deftypevr
  31844. #: guix-git/doc/guix.texi:21487
  31845. 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."
  31846. msgstr ""
  31847. #. type: deftypevr
  31848. #: guix-git/doc/guix.texi:21490
  31849. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  31850. msgstr ""
  31851. #. type: deftypevr
  31852. #: guix-git/doc/guix.texi:21495
  31853. #, no-wrap
  31854. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  31855. msgstr ""
  31856. #. type: deftypevr
  31857. #: guix-git/doc/guix.texi:21500
  31858. 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."
  31859. msgstr ""
  31860. #. type: deftypevr
  31861. #: guix-git/doc/guix.texi:21504
  31862. #, no-wrap
  31863. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  31864. msgstr ""
  31865. #. type: deftypevr
  31866. #: guix-git/doc/guix.texi:21509
  31867. 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."
  31868. msgstr ""
  31869. #. type: deftypevr
  31870. #: guix-git/doc/guix.texi:21514
  31871. #, no-wrap
  31872. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  31873. msgstr ""
  31874. #. type: deftypevr
  31875. #: guix-git/doc/guix.texi:21516
  31876. msgid "Space separated list of plugins to load."
  31877. msgstr ""
  31878. #. type: deftypevr
  31879. #: guix-git/doc/guix.texi:21518
  31880. #, no-wrap
  31881. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  31882. msgstr ""
  31883. #. type: deftypevr
  31884. #: guix-git/doc/guix.texi:21522
  31885. 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}."
  31886. msgstr ""
  31887. #. type: deftypevr
  31888. #: guix-git/doc/guix.texi:21526
  31889. #, no-wrap
  31890. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  31891. msgstr ""
  31892. #. type: deftypevr
  31893. #: guix-git/doc/guix.texi:21530
  31894. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  31895. msgstr ""
  31896. #. type: deftypevr
  31897. #: guix-git/doc/guix.texi:21532
  31898. msgid "Available @code{service-configuration} fields are:"
  31899. msgstr ""
  31900. #. type: deftypevr
  31901. #: guix-git/doc/guix.texi:21533
  31902. #, no-wrap
  31903. msgid "{@code{service-configuration} parameter} string kind"
  31904. msgstr ""
  31905. #. type: deftypevr
  31906. #: guix-git/doc/guix.texi:21538
  31907. 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."
  31908. msgstr ""
  31909. #. type: deftypevr
  31910. #: guix-git/doc/guix.texi:21540
  31911. #, no-wrap
  31912. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  31913. msgstr ""
  31914. #. type: deftypevr
  31915. #: guix-git/doc/guix.texi:21545
  31916. 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{()}."
  31917. msgstr ""
  31918. #. type: deftypevr
  31919. #: guix-git/doc/guix.texi:21547
  31920. msgid "Available @code{unix-listener-configuration} fields are:"
  31921. msgstr ""
  31922. #. type: deftypevr
  31923. #: guix-git/doc/guix.texi:21548
  31924. #, no-wrap
  31925. msgid "{@code{unix-listener-configuration} parameter} string path"
  31926. msgstr ""
  31927. #. type: deftypevr
  31928. #: guix-git/doc/guix.texi:21551 guix-git/doc/guix.texi:21574
  31929. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  31930. msgstr ""
  31931. #. type: deftypevr
  31932. #: guix-git/doc/guix.texi:21553
  31933. #, no-wrap
  31934. msgid "{@code{unix-listener-configuration} parameter} string mode"
  31935. msgstr ""
  31936. #. type: deftypevr
  31937. #: guix-git/doc/guix.texi:21556 guix-git/doc/guix.texi:21579
  31938. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  31939. msgstr ""
  31940. #. type: deftypevr
  31941. #: guix-git/doc/guix.texi:21558
  31942. #, no-wrap
  31943. msgid "{@code{unix-listener-configuration} parameter} string user"
  31944. msgstr ""
  31945. #. type: deftypevr
  31946. #: guix-git/doc/guix.texi:21561 guix-git/doc/guix.texi:21584
  31947. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  31948. msgstr ""
  31949. #. type: deftypevr
  31950. #: guix-git/doc/guix.texi:21563
  31951. #, no-wrap
  31952. msgid "{@code{unix-listener-configuration} parameter} string group"
  31953. msgstr ""
  31954. #. type: deftypevr
  31955. #: guix-git/doc/guix.texi:21566 guix-git/doc/guix.texi:21589
  31956. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  31957. msgstr ""
  31958. #. type: deftypevr
  31959. #: guix-git/doc/guix.texi:21570
  31960. msgid "Available @code{fifo-listener-configuration} fields are:"
  31961. msgstr ""
  31962. #. type: deftypevr
  31963. #: guix-git/doc/guix.texi:21571
  31964. #, no-wrap
  31965. msgid "{@code{fifo-listener-configuration} parameter} string path"
  31966. msgstr ""
  31967. #. type: deftypevr
  31968. #: guix-git/doc/guix.texi:21576
  31969. #, no-wrap
  31970. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  31971. msgstr ""
  31972. #. type: deftypevr
  31973. #: guix-git/doc/guix.texi:21581
  31974. #, no-wrap
  31975. msgid "{@code{fifo-listener-configuration} parameter} string user"
  31976. msgstr ""
  31977. #. type: deftypevr
  31978. #: guix-git/doc/guix.texi:21586
  31979. #, no-wrap
  31980. msgid "{@code{fifo-listener-configuration} parameter} string group"
  31981. msgstr ""
  31982. #. type: deftypevr
  31983. #: guix-git/doc/guix.texi:21593
  31984. msgid "Available @code{inet-listener-configuration} fields are:"
  31985. msgstr ""
  31986. #. type: deftypevr
  31987. #: guix-git/doc/guix.texi:21594
  31988. #, no-wrap
  31989. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  31990. msgstr ""
  31991. #. type: deftypevr
  31992. #: guix-git/doc/guix.texi:21596
  31993. msgid "The protocol to listen for."
  31994. msgstr ""
  31995. #. type: deftypevr
  31996. #: guix-git/doc/guix.texi:21598
  31997. #, no-wrap
  31998. msgid "{@code{inet-listener-configuration} parameter} string address"
  31999. msgstr ""
  32000. #. type: deftypevr
  32001. #: guix-git/doc/guix.texi:21601
  32002. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  32003. msgstr ""
  32004. #. type: deftypevr
  32005. #: guix-git/doc/guix.texi:21603
  32006. #, no-wrap
  32007. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  32008. msgstr ""
  32009. #. type: deftypevr
  32010. #: guix-git/doc/guix.texi:21605
  32011. msgid "The port on which to listen."
  32012. msgstr ""
  32013. #. type: deftypevr
  32014. #: guix-git/doc/guix.texi:21607
  32015. #, no-wrap
  32016. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  32017. msgstr ""
  32018. #. type: deftypevr
  32019. #: guix-git/doc/guix.texi:21611
  32020. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  32021. msgstr ""
  32022. #. type: deftypevr
  32023. #: guix-git/doc/guix.texi:21615
  32024. #, no-wrap
  32025. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  32026. msgstr ""
  32027. #. type: deftypevr
  32028. #: guix-git/doc/guix.texi:21620
  32029. 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."
  32030. msgstr ""
  32031. #. type: deftypevr
  32032. #: guix-git/doc/guix.texi:21625
  32033. #, no-wrap
  32034. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  32035. msgstr ""
  32036. #. type: deftypevr
  32037. #: guix-git/doc/guix.texi:21630
  32038. 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}."
  32039. msgstr ""
  32040. #. type: deftypevr
  32041. #: guix-git/doc/guix.texi:21633
  32042. #, no-wrap
  32043. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  32044. msgstr ""
  32045. #. type: deftypevr
  32046. #: guix-git/doc/guix.texi:21636
  32047. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  32048. msgstr ""
  32049. #. type: deftypevr
  32050. #: guix-git/doc/guix.texi:21641
  32051. #, no-wrap
  32052. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  32053. msgstr ""
  32054. #. type: deftypevr
  32055. #: guix-git/doc/guix.texi:21644
  32056. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  32057. msgstr ""
  32058. #. type: deftypevr
  32059. #: guix-git/doc/guix.texi:21646
  32060. #, no-wrap
  32061. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  32062. msgstr ""
  32063. #. type: deftypevr
  32064. #: guix-git/doc/guix.texi:21650
  32065. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  32066. msgstr ""
  32067. #. type: deftypevr
  32068. #: guix-git/doc/guix.texi:21654
  32069. #, no-wrap
  32070. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  32071. msgstr ""
  32072. #. type: deftypevr
  32073. #: guix-git/doc/guix.texi:21657
  32074. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  32075. msgstr ""
  32076. #. type: deftypevr
  32077. #: guix-git/doc/guix.texi:21659
  32078. msgid "Available @code{dict-configuration} fields are:"
  32079. msgstr ""
  32080. #. type: deftypevr
  32081. #: guix-git/doc/guix.texi:21660
  32082. #, no-wrap
  32083. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  32084. msgstr ""
  32085. #. type: deftypevr
  32086. #: guix-git/doc/guix.texi:21663
  32087. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  32088. msgstr ""
  32089. #. type: deftypevr
  32090. #: guix-git/doc/guix.texi:21667
  32091. #, no-wrap
  32092. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  32093. msgstr ""
  32094. #. type: deftypevr
  32095. #: guix-git/doc/guix.texi:21670
  32096. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  32097. msgstr ""
  32098. #. type: deftypevr
  32099. #: guix-git/doc/guix.texi:21672
  32100. msgid "Available @code{passdb-configuration} fields are:"
  32101. msgstr ""
  32102. #. type: deftypevr
  32103. #: guix-git/doc/guix.texi:21673
  32104. #, no-wrap
  32105. msgid "{@code{passdb-configuration} parameter} string driver"
  32106. msgstr ""
  32107. #. type: deftypevr
  32108. #: guix-git/doc/guix.texi:21678
  32109. 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\"}."
  32110. msgstr ""
  32111. #. type: deftypevr
  32112. #: guix-git/doc/guix.texi:21680
  32113. #, no-wrap
  32114. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  32115. msgstr ""
  32116. #. type: deftypevr
  32117. #: guix-git/doc/guix.texi:21683
  32118. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  32119. msgstr ""
  32120. #. type: deftypevr
  32121. #: guix-git/doc/guix.texi:21687
  32122. #, no-wrap
  32123. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  32124. msgstr ""
  32125. #. type: deftypevr
  32126. #: guix-git/doc/guix.texi:21690
  32127. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  32128. msgstr ""
  32129. #. type: deftypevr
  32130. #: guix-git/doc/guix.texi:21692
  32131. msgid "Available @code{userdb-configuration} fields are:"
  32132. msgstr ""
  32133. #. type: deftypevr
  32134. #: guix-git/doc/guix.texi:21693
  32135. #, no-wrap
  32136. msgid "{@code{userdb-configuration} parameter} string driver"
  32137. msgstr ""
  32138. #. type: deftypevr
  32139. #: guix-git/doc/guix.texi:21697
  32140. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  32141. msgstr ""
  32142. #. type: deftypevr
  32143. #: guix-git/doc/guix.texi:21699
  32144. #, no-wrap
  32145. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  32146. msgstr ""
  32147. #. type: deftypevr
  32148. #: guix-git/doc/guix.texi:21702
  32149. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  32150. msgstr ""
  32151. #. type: deftypevr
  32152. #: guix-git/doc/guix.texi:21704
  32153. #, no-wrap
  32154. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  32155. msgstr ""
  32156. #. type: deftypevr
  32157. #: guix-git/doc/guix.texi:21707
  32158. msgid "Override fields from passwd. Defaults to @samp{()}."
  32159. msgstr ""
  32160. #. type: deftypevr
  32161. #: guix-git/doc/guix.texi:21711
  32162. #, no-wrap
  32163. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  32164. msgstr ""
  32165. #. type: deftypevr
  32166. #: guix-git/doc/guix.texi:21714
  32167. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  32168. msgstr ""
  32169. #. type: deftypevr
  32170. #: guix-git/doc/guix.texi:21716
  32171. #, no-wrap
  32172. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  32173. msgstr ""
  32174. #. type: deftypevr
  32175. #: guix-git/doc/guix.texi:21719
  32176. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  32177. msgstr ""
  32178. #. type: deftypevr
  32179. #: guix-git/doc/guix.texi:21721
  32180. msgid "Available @code{namespace-configuration} fields are:"
  32181. msgstr ""
  32182. #. type: deftypevr
  32183. #: guix-git/doc/guix.texi:21722
  32184. #, no-wrap
  32185. msgid "{@code{namespace-configuration} parameter} string name"
  32186. msgstr ""
  32187. #. type: deftypevr
  32188. #: guix-git/doc/guix.texi:21724
  32189. msgid "Name for this namespace."
  32190. msgstr ""
  32191. #. type: deftypevr
  32192. #: guix-git/doc/guix.texi:21726
  32193. #, no-wrap
  32194. msgid "{@code{namespace-configuration} parameter} string type"
  32195. msgstr ""
  32196. #. type: deftypevr
  32197. #: guix-git/doc/guix.texi:21729
  32198. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  32199. msgstr ""
  32200. #. type: deftypevr
  32201. #: guix-git/doc/guix.texi:21731
  32202. #, no-wrap
  32203. msgid "{@code{namespace-configuration} parameter} string separator"
  32204. msgstr ""
  32205. #. type: deftypevr
  32206. #: guix-git/doc/guix.texi:21737
  32207. 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{\"\"}."
  32208. msgstr ""
  32209. #. type: deftypevr
  32210. #: guix-git/doc/guix.texi:21739
  32211. #, no-wrap
  32212. msgid "{@code{namespace-configuration} parameter} string prefix"
  32213. msgstr ""
  32214. #. type: deftypevr
  32215. #: guix-git/doc/guix.texi:21743
  32216. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  32217. msgstr ""
  32218. #. type: deftypevr
  32219. #: guix-git/doc/guix.texi:21745
  32220. #, no-wrap
  32221. msgid "{@code{namespace-configuration} parameter} string location"
  32222. msgstr ""
  32223. #. type: deftypevr
  32224. #: guix-git/doc/guix.texi:21749
  32225. 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{\"\"}."
  32226. msgstr ""
  32227. #. type: deftypevr
  32228. #: guix-git/doc/guix.texi:21751
  32229. #, no-wrap
  32230. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  32231. msgstr ""
  32232. #. type: deftypevr
  32233. #: guix-git/doc/guix.texi:21755
  32234. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  32235. msgstr ""
  32236. #. type: deftypevr
  32237. #: guix-git/doc/guix.texi:21757
  32238. #, no-wrap
  32239. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  32240. msgstr ""
  32241. #. type: deftypevr
  32242. #: guix-git/doc/guix.texi:21765
  32243. 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}."
  32244. msgstr ""
  32245. #. type: deftypevr
  32246. #: guix-git/doc/guix.texi:21767
  32247. #, no-wrap
  32248. msgid "{@code{namespace-configuration} parameter} boolean list?"
  32249. msgstr ""
  32250. #. type: deftypevr
  32251. #: guix-git/doc/guix.texi:21773
  32252. 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}."
  32253. msgstr ""
  32254. #. type: deftypevr
  32255. #: guix-git/doc/guix.texi:21775
  32256. #, no-wrap
  32257. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  32258. msgstr ""
  32259. #. type: deftypevr
  32260. #: guix-git/doc/guix.texi:21780
  32261. 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}."
  32262. msgstr ""
  32263. #. type: deftypevr
  32264. #: guix-git/doc/guix.texi:21782
  32265. #, no-wrap
  32266. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  32267. msgstr ""
  32268. #. type: deftypevr
  32269. #: guix-git/doc/guix.texi:21785
  32270. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  32271. msgstr ""
  32272. #. type: deftypevr
  32273. #: guix-git/doc/guix.texi:21787
  32274. msgid "Available @code{mailbox-configuration} fields are:"
  32275. msgstr ""
  32276. #. type: deftypevr
  32277. #: guix-git/doc/guix.texi:21788
  32278. #, no-wrap
  32279. msgid "{@code{mailbox-configuration} parameter} string name"
  32280. msgstr ""
  32281. #. type: deftypevr
  32282. #: guix-git/doc/guix.texi:21790
  32283. msgid "Name for this mailbox."
  32284. msgstr ""
  32285. #. type: deftypevr
  32286. #: guix-git/doc/guix.texi:21792
  32287. #, no-wrap
  32288. msgid "{@code{mailbox-configuration} parameter} string auto"
  32289. msgstr ""
  32290. #. type: deftypevr
  32291. #: guix-git/doc/guix.texi:21796
  32292. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  32293. msgstr ""
  32294. #. type: deftypevr
  32295. #: guix-git/doc/guix.texi:21798
  32296. #, no-wrap
  32297. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  32298. msgstr ""
  32299. #. type: deftypevr
  32300. #: guix-git/doc/guix.texi:21803
  32301. 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{()}."
  32302. msgstr ""
  32303. #. type: deftypevr
  32304. #: guix-git/doc/guix.texi:21809
  32305. #, no-wrap
  32306. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  32307. msgstr ""
  32308. #. type: deftypevr
  32309. #: guix-git/doc/guix.texi:21812
  32310. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  32311. msgstr ""
  32312. #. type: deftypevr
  32313. #: guix-git/doc/guix.texi:21814
  32314. #, no-wrap
  32315. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  32316. msgstr ""
  32317. #. type: deftypevr
  32318. #: guix-git/doc/guix.texi:21817
  32319. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  32320. msgstr ""
  32321. #. type: deftypevr
  32322. #: guix-git/doc/guix.texi:21819
  32323. #, no-wrap
  32324. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  32325. msgstr ""
  32326. #. type: deftypevr
  32327. #: guix-git/doc/guix.texi:21826
  32328. 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{()}."
  32329. msgstr ""
  32330. #. type: deftypevr
  32331. #: guix-git/doc/guix.texi:21828
  32332. #, no-wrap
  32333. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  32334. msgstr ""
  32335. #. type: deftypevr
  32336. #: guix-git/doc/guix.texi:21831
  32337. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  32338. msgstr ""
  32339. #. type: deftypevr
  32340. #: guix-git/doc/guix.texi:21833
  32341. #, no-wrap
  32342. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  32343. msgstr ""
  32344. #. type: deftypevr
  32345. #: guix-git/doc/guix.texi:21839
  32346. 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}."
  32347. msgstr ""
  32348. #. type: deftypevr
  32349. #: guix-git/doc/guix.texi:21841
  32350. #, no-wrap
  32351. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  32352. msgstr ""
  32353. #. type: deftypevr
  32354. #: guix-git/doc/guix.texi:21847
  32355. 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}."
  32356. msgstr ""
  32357. #. type: deftypevr
  32358. #: guix-git/doc/guix.texi:21849
  32359. #, no-wrap
  32360. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  32361. msgstr ""
  32362. #. type: deftypevr
  32363. #: guix-git/doc/guix.texi:21853
  32364. 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}."
  32365. msgstr ""
  32366. #. type: deftypevr
  32367. #: guix-git/doc/guix.texi:21855
  32368. #, no-wrap
  32369. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  32370. msgstr ""
  32371. #. type: deftypevr
  32372. #: guix-git/doc/guix.texi:21858
  32373. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  32374. msgstr ""
  32375. #. type: deftypevr
  32376. #: guix-git/doc/guix.texi:21860
  32377. #, no-wrap
  32378. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  32379. msgstr ""
  32380. #. type: deftypevr
  32381. #: guix-git/doc/guix.texi:21864
  32382. 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."
  32383. msgstr ""
  32384. #. type: deftypevr
  32385. #: guix-git/doc/guix.texi:21866
  32386. #, no-wrap
  32387. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  32388. msgstr ""
  32389. #. type: deftypevr
  32390. #: guix-git/doc/guix.texi:21873
  32391. 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}."
  32392. msgstr ""
  32393. #. type: deftypevr
  32394. #: guix-git/doc/guix.texi:21875
  32395. #, no-wrap
  32396. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  32397. msgstr ""
  32398. #. type: deftypevr
  32399. #: guix-git/doc/guix.texi:21880
  32400. 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}."
  32401. msgstr ""
  32402. #. type: deftypevr
  32403. #: guix-git/doc/guix.texi:21882
  32404. #, no-wrap
  32405. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  32406. msgstr ""
  32407. #. type: deftypevr
  32408. #: guix-git/doc/guix.texi:21890
  32409. 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\"}."
  32410. msgstr ""
  32411. #. type: deftypevr
  32412. #: guix-git/doc/guix.texi:21892
  32413. #, no-wrap
  32414. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  32415. msgstr ""
  32416. #. type: deftypevr
  32417. #: guix-git/doc/guix.texi:21896
  32418. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  32419. msgstr ""
  32420. #. type: deftypevr
  32421. #: guix-git/doc/guix.texi:21898
  32422. #, no-wrap
  32423. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  32424. msgstr ""
  32425. #. type: deftypevr
  32426. #: guix-git/doc/guix.texi:21904
  32427. 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{()}."
  32428. msgstr ""
  32429. #. type: deftypevr
  32430. #: guix-git/doc/guix.texi:21906
  32431. #, no-wrap
  32432. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  32433. msgstr ""
  32434. #. type: deftypevr
  32435. #: guix-git/doc/guix.texi:21911
  32436. 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{\"\"}."
  32437. msgstr ""
  32438. #. type: deftypevr
  32439. #: guix-git/doc/guix.texi:21913
  32440. #, no-wrap
  32441. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  32442. msgstr ""
  32443. #. type: deftypevr
  32444. #: guix-git/doc/guix.texi:21920
  32445. 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.-_@@\"}."
  32446. msgstr ""
  32447. #. type: deftypevr
  32448. #: guix-git/doc/guix.texi:21922
  32449. #, no-wrap
  32450. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  32451. msgstr ""
  32452. #. type: deftypevr
  32453. #: guix-git/doc/guix.texi:21928
  32454. 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{\"\"}."
  32455. msgstr ""
  32456. #. type: deftypevr
  32457. #: guix-git/doc/guix.texi:21930
  32458. #, no-wrap
  32459. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  32460. msgstr ""
  32461. #. type: deftypevr
  32462. #: guix-git/doc/guix.texi:21937
  32463. 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\"}."
  32464. msgstr ""
  32465. #. type: deftypevr
  32466. #: guix-git/doc/guix.texi:21939
  32467. #, no-wrap
  32468. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  32469. msgstr ""
  32470. #. type: deftypevr
  32471. #: guix-git/doc/guix.texi:21947
  32472. 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{\"\"}."
  32473. msgstr ""
  32474. #. type: deftypevr
  32475. #: guix-git/doc/guix.texi:21949
  32476. #, no-wrap
  32477. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  32478. msgstr ""
  32479. #. type: deftypevr
  32480. #: guix-git/doc/guix.texi:21953
  32481. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  32482. msgstr ""
  32483. #. type: deftypevr
  32484. #: guix-git/doc/guix.texi:21955
  32485. #, no-wrap
  32486. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  32487. msgstr ""
  32488. #. type: deftypevr
  32489. #: guix-git/doc/guix.texi:21960
  32490. 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}."
  32491. msgstr ""
  32492. #. type: deftypevr
  32493. #: guix-git/doc/guix.texi:21962
  32494. #, no-wrap
  32495. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  32496. msgstr ""
  32497. #. type: deftypevr
  32498. #: guix-git/doc/guix.texi:21967
  32499. 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{\"\"}."
  32500. msgstr ""
  32501. #. type: deftypevr
  32502. #: guix-git/doc/guix.texi:21969
  32503. #, no-wrap
  32504. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  32505. msgstr ""
  32506. #. type: deftypevr
  32507. #: guix-git/doc/guix.texi:21975
  32508. 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{\"\"}."
  32509. msgstr ""
  32510. #. type: deftypevr
  32511. #: guix-git/doc/guix.texi:21977
  32512. #, no-wrap
  32513. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  32514. msgstr ""
  32515. #. type: deftypevr
  32516. #: guix-git/doc/guix.texi:21982
  32517. 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}."
  32518. msgstr ""
  32519. #. type: deftypevr
  32520. #: guix-git/doc/guix.texi:21984
  32521. #, no-wrap
  32522. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  32523. msgstr ""
  32524. #. type: deftypevr
  32525. #: guix-git/doc/guix.texi:21987
  32526. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  32527. msgstr ""
  32528. #. type: deftypevr
  32529. #: guix-git/doc/guix.texi:21989
  32530. #, no-wrap
  32531. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  32532. msgstr ""
  32533. #. type: deftypevr
  32534. #: guix-git/doc/guix.texi:21992
  32535. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  32536. msgstr ""
  32537. #. type: deftypevr
  32538. #: guix-git/doc/guix.texi:21994
  32539. #, no-wrap
  32540. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  32541. msgstr ""
  32542. #. type: deftypevr
  32543. #: guix-git/doc/guix.texi:21998
  32544. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  32545. msgstr ""
  32546. #. type: deftypevr
  32547. #: guix-git/doc/guix.texi:22000
  32548. #, no-wrap
  32549. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  32550. msgstr ""
  32551. #. type: deftypevr
  32552. #: guix-git/doc/guix.texi:22005
  32553. 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}."
  32554. msgstr ""
  32555. #. type: deftypevr
  32556. #: guix-git/doc/guix.texi:22007
  32557. #, no-wrap
  32558. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  32559. msgstr ""
  32560. #. type: deftypevr
  32561. #: guix-git/doc/guix.texi:22013
  32562. 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."
  32563. msgstr ""
  32564. #. type: deftypevr
  32565. #: guix-git/doc/guix.texi:22015
  32566. #, no-wrap
  32567. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  32568. msgstr ""
  32569. #. type: deftypevr
  32570. #: guix-git/doc/guix.texi:22020
  32571. 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{()}."
  32572. msgstr ""
  32573. #. type: deftypevr
  32574. #: guix-git/doc/guix.texi:22022
  32575. #, no-wrap
  32576. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  32577. msgstr ""
  32578. #. type: deftypevr
  32579. #: guix-git/doc/guix.texi:22026
  32580. 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{()}."
  32581. msgstr ""
  32582. #. type: deftypevr
  32583. #: guix-git/doc/guix.texi:22028
  32584. #, no-wrap
  32585. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  32586. msgstr ""
  32587. #. type: deftypevr
  32588. #: guix-git/doc/guix.texi:22032
  32589. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  32590. msgstr ""
  32591. #. type: deftypevr
  32592. #: guix-git/doc/guix.texi:22034
  32593. #, no-wrap
  32594. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  32595. msgstr ""
  32596. #. type: deftypevr
  32597. #: guix-git/doc/guix.texi:22039
  32598. 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\"}."
  32599. msgstr ""
  32600. #. type: deftypevr
  32601. #: guix-git/doc/guix.texi:22041
  32602. #, no-wrap
  32603. msgid "{@code{dovecot-configuration} parameter} string log-path"
  32604. msgstr ""
  32605. #. type: deftypevr
  32606. #: guix-git/doc/guix.texi:22045
  32607. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  32608. msgstr ""
  32609. #. type: deftypevr
  32610. #: guix-git/doc/guix.texi:22047
  32611. #, no-wrap
  32612. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  32613. msgstr ""
  32614. #. type: deftypevr
  32615. #: guix-git/doc/guix.texi:22051
  32616. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  32617. msgstr ""
  32618. #. type: deftypevr
  32619. #: guix-git/doc/guix.texi:22053
  32620. #, no-wrap
  32621. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  32622. msgstr ""
  32623. #. type: deftypevr
  32624. #: guix-git/doc/guix.texi:22057
  32625. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  32626. msgstr ""
  32627. #. type: deftypevr
  32628. #: guix-git/doc/guix.texi:22059
  32629. #, no-wrap
  32630. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  32631. msgstr ""
  32632. #. type: deftypevr
  32633. #: guix-git/doc/guix.texi:22064
  32634. 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\"}."
  32635. msgstr ""
  32636. #. type: deftypevr
  32637. #: guix-git/doc/guix.texi:22066
  32638. #, no-wrap
  32639. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  32640. msgstr ""
  32641. #. type: deftypevr
  32642. #: guix-git/doc/guix.texi:22070
  32643. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  32644. msgstr ""
  32645. #. type: deftypevr
  32646. #: guix-git/doc/guix.texi:22072
  32647. #, no-wrap
  32648. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  32649. msgstr ""
  32650. #. type: deftypevr
  32651. #: guix-git/doc/guix.texi:22079
  32652. 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\"}."
  32653. msgstr ""
  32654. #. type: deftypevr
  32655. #: guix-git/doc/guix.texi:22081
  32656. #, no-wrap
  32657. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  32658. msgstr ""
  32659. #. type: deftypevr
  32660. #: guix-git/doc/guix.texi:22085
  32661. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  32662. msgstr ""
  32663. #. type: deftypevr
  32664. #: guix-git/doc/guix.texi:22087
  32665. #, no-wrap
  32666. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  32667. msgstr ""
  32668. #. type: deftypevr
  32669. #: guix-git/doc/guix.texi:22092
  32670. 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}."
  32671. msgstr ""
  32672. #. type: deftypevr
  32673. #: guix-git/doc/guix.texi:22094
  32674. #, no-wrap
  32675. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  32676. msgstr ""
  32677. #. type: deftypevr
  32678. #: guix-git/doc/guix.texi:22098
  32679. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  32680. msgstr ""
  32681. #. type: deftypevr
  32682. #: guix-git/doc/guix.texi:22100
  32683. #, no-wrap
  32684. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  32685. msgstr ""
  32686. #. type: deftypevr
  32687. #: guix-git/doc/guix.texi:22103
  32688. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  32689. msgstr ""
  32690. #. type: deftypevr
  32691. #: guix-git/doc/guix.texi:22105
  32692. #, no-wrap
  32693. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  32694. msgstr ""
  32695. #. type: deftypevr
  32696. #: guix-git/doc/guix.texi:22109
  32697. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  32698. msgstr ""
  32699. #. type: deftypevr
  32700. #: guix-git/doc/guix.texi:22111
  32701. #, no-wrap
  32702. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  32703. msgstr ""
  32704. #. type: deftypevr
  32705. #: guix-git/doc/guix.texi:22115
  32706. 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."
  32707. msgstr ""
  32708. #. type: deftypevr
  32709. #: guix-git/doc/guix.texi:22117
  32710. #, no-wrap
  32711. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  32712. msgstr ""
  32713. #. type: deftypevr
  32714. #: guix-git/doc/guix.texi:22121
  32715. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  32716. msgstr ""
  32717. #. type: deftypevr
  32718. #: guix-git/doc/guix.texi:22123
  32719. #, no-wrap
  32720. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  32721. msgstr ""
  32722. #. type: deftypevr
  32723. #: guix-git/doc/guix.texi:22127
  32724. 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@}>: \\\"\"}."
  32725. msgstr ""
  32726. #. type: deftypevr
  32727. #: guix-git/doc/guix.texi:22129
  32728. #, no-wrap
  32729. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  32730. msgstr ""
  32731. #. type: deftypevr
  32732. #: guix-git/doc/guix.texi:22131
  32733. msgid "Format to use for logging mail deliveries. You can use variables:"
  32734. msgstr ""
  32735. #. type: item
  32736. #: guix-git/doc/guix.texi:22132
  32737. #, no-wrap
  32738. msgid "%$"
  32739. msgstr ""
  32740. #. type: table
  32741. #: guix-git/doc/guix.texi:22134
  32742. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  32743. msgstr ""
  32744. #. type: item
  32745. #: guix-git/doc/guix.texi:22134
  32746. #, no-wrap
  32747. msgid "%m"
  32748. msgstr ""
  32749. #. type: table
  32750. #: guix-git/doc/guix.texi:22136
  32751. msgid "Message-ID"
  32752. msgstr ""
  32753. #. type: item
  32754. #: guix-git/doc/guix.texi:22136 guix-git/doc/guix.texi:22679
  32755. #, no-wrap
  32756. msgid "%s"
  32757. msgstr ""
  32758. #. type: table
  32759. #: guix-git/doc/guix.texi:22138
  32760. msgid "Subject"
  32761. msgstr ""
  32762. #. type: item
  32763. #: guix-git/doc/guix.texi:22138
  32764. #, no-wrap
  32765. msgid "%f"
  32766. msgstr ""
  32767. #. type: table
  32768. #: guix-git/doc/guix.texi:22140
  32769. msgid "From address"
  32770. msgstr ""
  32771. #. type: table
  32772. #: guix-git/doc/guix.texi:22142
  32773. msgid "Physical size"
  32774. msgstr ""
  32775. #. type: item
  32776. #: guix-git/doc/guix.texi:22142
  32777. #, no-wrap
  32778. msgid "%w"
  32779. msgstr ""
  32780. #. type: table
  32781. #: guix-git/doc/guix.texi:22144
  32782. msgid "Virtual size."
  32783. msgstr ""
  32784. #. type: deftypevr
  32785. #: guix-git/doc/guix.texi:22146
  32786. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  32787. msgstr ""
  32788. #. type: deftypevr
  32789. #: guix-git/doc/guix.texi:22148
  32790. #, no-wrap
  32791. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  32792. msgstr ""
  32793. #. type: deftypevr
  32794. #: guix-git/doc/guix.texi:22153
  32795. 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."
  32796. msgstr ""
  32797. #. type: deftypevr
  32798. #: guix-git/doc/guix.texi:22159
  32799. 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."
  32800. msgstr ""
  32801. #. type: deftypevr
  32802. #: guix-git/doc/guix.texi:22161
  32803. msgid "There are a few special variables you can use, e.g.:"
  32804. msgstr ""
  32805. #. type: table
  32806. #: guix-git/doc/guix.texi:22165
  32807. msgid "username"
  32808. msgstr ""
  32809. #. type: item
  32810. #: guix-git/doc/guix.texi:22165 guix-git/doc/guix.texi:22675
  32811. #, no-wrap
  32812. msgid "%n"
  32813. msgstr ""
  32814. #. type: table
  32815. #: guix-git/doc/guix.texi:22167
  32816. msgid "user part in user@@domain, same as %u if there's no domain"
  32817. msgstr ""
  32818. #. type: item
  32819. #: guix-git/doc/guix.texi:22167
  32820. #, no-wrap
  32821. msgid "%d"
  32822. msgstr ""
  32823. #. type: table
  32824. #: guix-git/doc/guix.texi:22169
  32825. msgid "domain part in user@@domain, empty if there's no domain"
  32826. msgstr ""
  32827. #. type: item
  32828. #: guix-git/doc/guix.texi:22169
  32829. #, no-wrap
  32830. msgid "%h"
  32831. msgstr ""
  32832. #. type: table
  32833. #: guix-git/doc/guix.texi:22171
  32834. msgid "home director"
  32835. msgstr ""
  32836. #. type: deftypevr
  32837. #: guix-git/doc/guix.texi:22174
  32838. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  32839. msgstr ""
  32840. #. type: item
  32841. #: guix-git/doc/guix.texi:22175
  32842. #, no-wrap
  32843. msgid "maildir:~/Maildir"
  32844. msgstr ""
  32845. #. type: item
  32846. #: guix-git/doc/guix.texi:22176
  32847. #, no-wrap
  32848. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  32849. msgstr ""
  32850. #. type: item
  32851. #: guix-git/doc/guix.texi:22177
  32852. #, no-wrap
  32853. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  32854. msgstr ""
  32855. #. type: deftypevr
  32856. #: guix-git/doc/guix.texi:22182
  32857. #, no-wrap
  32858. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  32859. msgstr ""
  32860. #. type: deftypevr
  32861. #: guix-git/doc/guix.texi:22187
  32862. 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{\"\"}."
  32863. msgstr ""
  32864. #. type: deftypevr
  32865. #: guix-git/doc/guix.texi:22189
  32866. #, no-wrap
  32867. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  32868. msgstr ""
  32869. #. type: deftypevr
  32870. #: guix-git/doc/guix.texi:22194
  32871. #, no-wrap
  32872. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  32873. msgstr ""
  32874. #. type: deftypevr
  32875. #: guix-git/doc/guix.texi:22200
  32876. 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{\"\"}."
  32877. msgstr ""
  32878. #. type: deftypevr
  32879. #: guix-git/doc/guix.texi:22202
  32880. #, no-wrap
  32881. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  32882. msgstr ""
  32883. #. type: deftypevr
  32884. #: guix-git/doc/guix.texi:22210
  32885. 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{\"\"}."
  32886. msgstr ""
  32887. #. type: deftypevr
  32888. #: guix-git/doc/guix.texi:22212
  32889. #, no-wrap
  32890. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  32891. msgstr ""
  32892. #. type: deftypevr
  32893. #: guix-git/doc/guix.texi:22215
  32894. 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}."
  32895. msgstr ""
  32896. #. type: deftypevr
  32897. #: guix-git/doc/guix.texi:22218
  32898. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  32899. msgstr ""
  32900. #. type: deftypevr
  32901. #: guix-git/doc/guix.texi:22223
  32902. #, no-wrap
  32903. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  32904. msgstr ""
  32905. #. type: deftypevr
  32906. #: guix-git/doc/guix.texi:22229
  32907. 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}."
  32908. msgstr ""
  32909. #. type: deftypevr
  32910. #: guix-git/doc/guix.texi:22231
  32911. #, no-wrap
  32912. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  32913. msgstr ""
  32914. #. type: deftypevr
  32915. #: guix-git/doc/guix.texi:22235
  32916. 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}."
  32917. msgstr ""
  32918. #. type: deftypevr
  32919. #: guix-git/doc/guix.texi:22237
  32920. #, no-wrap
  32921. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  32922. msgstr ""
  32923. #. type: deftypevr
  32924. #: guix-git/doc/guix.texi:22242
  32925. 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}."
  32926. msgstr ""
  32927. #. type: deftypevr
  32928. #: guix-git/doc/guix.texi:22244
  32929. #, no-wrap
  32930. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  32931. msgstr ""
  32932. #. type: deftypevr
  32933. #: guix-git/doc/guix.texi:22246
  32934. msgid "When to use fsync() or fdatasync() calls:"
  32935. msgstr ""
  32936. #. type: item
  32937. #: guix-git/doc/guix.texi:22247
  32938. #, no-wrap
  32939. msgid "optimized"
  32940. msgstr ""
  32941. #. type: table
  32942. #: guix-git/doc/guix.texi:22249
  32943. msgid "Whenever necessary to avoid losing important data"
  32944. msgstr ""
  32945. #. type: table
  32946. #: guix-git/doc/guix.texi:22251
  32947. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  32948. msgstr ""
  32949. #. type: table
  32950. #: guix-git/doc/guix.texi:22253
  32951. msgid "Never use it (best performance, but crashes can lose data)."
  32952. msgstr ""
  32953. #. type: deftypevr
  32954. #: guix-git/doc/guix.texi:22255
  32955. msgid "Defaults to @samp{\"optimized\"}."
  32956. msgstr ""
  32957. #. type: deftypevr
  32958. #: guix-git/doc/guix.texi:22257
  32959. #, no-wrap
  32960. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  32961. msgstr ""
  32962. #. type: deftypevr
  32963. #: guix-git/doc/guix.texi:22262
  32964. 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}."
  32965. msgstr ""
  32966. #. type: deftypevr
  32967. #: guix-git/doc/guix.texi:22264
  32968. #, no-wrap
  32969. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  32970. msgstr ""
  32971. #. type: deftypevr
  32972. #: guix-git/doc/guix.texi:22268
  32973. 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}."
  32974. msgstr ""
  32975. #. type: deftypevr
  32976. #: guix-git/doc/guix.texi:22270
  32977. #, no-wrap
  32978. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  32979. msgstr ""
  32980. #. type: deftypevr
  32981. #: guix-git/doc/guix.texi:22276
  32982. 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\"}."
  32983. msgstr ""
  32984. #. type: deftypevr
  32985. #: guix-git/doc/guix.texi:22278
  32986. #, no-wrap
  32987. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  32988. msgstr ""
  32989. #. type: deftypevr
  32990. #: guix-git/doc/guix.texi:22282
  32991. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  32992. msgstr ""
  32993. #. type: deftypevr
  32994. #: guix-git/doc/guix.texi:22284
  32995. #, no-wrap
  32996. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  32997. msgstr ""
  32998. #. type: deftypevr
  32999. #: guix-git/doc/guix.texi:22290
  33000. 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}."
  33001. msgstr ""
  33002. #. type: deftypevr
  33003. #: guix-git/doc/guix.texi:22292
  33004. #, no-wrap
  33005. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  33006. msgstr ""
  33007. #. type: deftypevr
  33008. #: guix-git/doc/guix.texi:22297
  33009. #, no-wrap
  33010. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  33011. msgstr ""
  33012. #. type: deftypevr
  33013. #: guix-git/doc/guix.texi:22302
  33014. 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}."
  33015. msgstr ""
  33016. #. type: deftypevr
  33017. #: guix-git/doc/guix.texi:22304
  33018. #, no-wrap
  33019. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  33020. msgstr ""
  33021. #. type: deftypevr
  33022. #: guix-git/doc/guix.texi:22309
  33023. #, no-wrap
  33024. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  33025. msgstr ""
  33026. #. type: deftypevr
  33027. #: guix-git/doc/guix.texi:22313
  33028. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  33029. msgstr ""
  33030. #. type: deftypevr
  33031. #: guix-git/doc/guix.texi:22315
  33032. #, no-wrap
  33033. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  33034. msgstr ""
  33035. #. type: deftypevr
  33036. #: guix-git/doc/guix.texi:22325
  33037. 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{()}."
  33038. msgstr ""
  33039. #. type: deftypevr
  33040. #: guix-git/doc/guix.texi:22327
  33041. #, no-wrap
  33042. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  33043. msgstr ""
  33044. #. type: deftypevr
  33045. #: guix-git/doc/guix.texi:22336
  33046. 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{\"\"}."
  33047. msgstr ""
  33048. #. type: deftypevr
  33049. #: guix-git/doc/guix.texi:22338
  33050. #, no-wrap
  33051. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  33052. msgstr ""
  33053. #. type: deftypevr
  33054. #: guix-git/doc/guix.texi:22342
  33055. 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\"}."
  33056. msgstr ""
  33057. #. type: deftypevr
  33058. #: guix-git/doc/guix.texi:22344
  33059. #, no-wrap
  33060. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  33061. msgstr ""
  33062. #. type: deftypevr
  33063. #: guix-git/doc/guix.texi:22347
  33064. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  33065. msgstr ""
  33066. #. type: deftypevr
  33067. #: guix-git/doc/guix.texi:22349
  33068. #, no-wrap
  33069. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  33070. msgstr ""
  33071. #. type: deftypevr
  33072. #: guix-git/doc/guix.texi:22353
  33073. 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{()}."
  33074. msgstr ""
  33075. #. type: deftypevr
  33076. #: guix-git/doc/guix.texi:22355
  33077. #, no-wrap
  33078. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  33079. msgstr ""
  33080. #. type: deftypevr
  33081. #: guix-git/doc/guix.texi:22360
  33082. 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}."
  33083. msgstr ""
  33084. #. type: deftypevr
  33085. #: guix-git/doc/guix.texi:22362
  33086. #, no-wrap
  33087. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  33088. msgstr ""
  33089. #. type: deftypevr
  33090. #: guix-git/doc/guix.texi:22369
  33091. 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\"}."
  33092. msgstr ""
  33093. #. type: deftypevr
  33094. #: guix-git/doc/guix.texi:22371
  33095. #, no-wrap
  33096. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  33097. msgstr ""
  33098. #. type: deftypevr
  33099. #: guix-git/doc/guix.texi:22378
  33100. 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}."
  33101. msgstr ""
  33102. #. type: deftypevr
  33103. #: guix-git/doc/guix.texi:22380
  33104. #, no-wrap
  33105. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  33106. msgstr ""
  33107. #. type: deftypevr
  33108. #: guix-git/doc/guix.texi:22388
  33109. 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}."
  33110. msgstr ""
  33111. #. type: deftypevr
  33112. #: guix-git/doc/guix.texi:22390
  33113. #, no-wrap
  33114. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  33115. msgstr ""
  33116. #. type: deftypevr
  33117. #: guix-git/doc/guix.texi:22395
  33118. 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}."
  33119. msgstr ""
  33120. #. type: deftypevr
  33121. #: guix-git/doc/guix.texi:22397
  33122. #, no-wrap
  33123. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  33124. msgstr ""
  33125. #. type: deftypevr
  33126. #: guix-git/doc/guix.texi:22402
  33127. 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}."
  33128. msgstr ""
  33129. #. type: deftypevr
  33130. #: guix-git/doc/guix.texi:22404
  33131. #, no-wrap
  33132. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  33133. msgstr ""
  33134. #. type: deftypevr
  33135. #: guix-git/doc/guix.texi:22407
  33136. msgid "Which locking methods to use for locking mbox. There are four available:"
  33137. msgstr ""
  33138. #. type: item
  33139. #: guix-git/doc/guix.texi:22409
  33140. #, no-wrap
  33141. msgid "dotlock"
  33142. msgstr ""
  33143. #. type: table
  33144. #: guix-git/doc/guix.texi:22413
  33145. 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."
  33146. msgstr ""
  33147. #. type: item
  33148. #: guix-git/doc/guix.texi:22413
  33149. #, no-wrap
  33150. msgid "dotlock-try"
  33151. msgstr ""
  33152. #. type: table
  33153. #: guix-git/doc/guix.texi:22416
  33154. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  33155. msgstr ""
  33156. #. type: item
  33157. #: guix-git/doc/guix.texi:22416
  33158. #, no-wrap
  33159. msgid "fcntl"
  33160. msgstr ""
  33161. #. type: table
  33162. #: guix-git/doc/guix.texi:22418
  33163. msgid "Use this if possible. Works with NFS too if lockd is used."
  33164. msgstr ""
  33165. #. type: item
  33166. #: guix-git/doc/guix.texi:22418
  33167. #, no-wrap
  33168. msgid "flock"
  33169. msgstr ""
  33170. #. type: table
  33171. #: guix-git/doc/guix.texi:22420 guix-git/doc/guix.texi:22422
  33172. msgid "May not exist in all systems. Doesn't work with NFS."
  33173. msgstr ""
  33174. #. type: item
  33175. #: guix-git/doc/guix.texi:22420
  33176. #, no-wrap
  33177. msgid "lockf"
  33178. msgstr ""
  33179. #. type: deftypevr
  33180. #: guix-git/doc/guix.texi:22428
  33181. 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."
  33182. msgstr ""
  33183. #. type: deftypevr
  33184. #: guix-git/doc/guix.texi:22430
  33185. #, no-wrap
  33186. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  33187. msgstr ""
  33188. #. type: deftypevr
  33189. #: guix-git/doc/guix.texi:22434
  33190. #, no-wrap
  33191. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  33192. msgstr ""
  33193. #. type: deftypevr
  33194. #: guix-git/doc/guix.texi:22437
  33195. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  33196. msgstr ""
  33197. #. type: deftypevr
  33198. #: guix-git/doc/guix.texi:22439
  33199. #, no-wrap
  33200. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  33201. msgstr ""
  33202. #. type: deftypevr
  33203. #: guix-git/doc/guix.texi:22443
  33204. 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\"}."
  33205. msgstr ""
  33206. #. type: deftypevr
  33207. #: guix-git/doc/guix.texi:22445
  33208. #, no-wrap
  33209. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  33210. msgstr ""
  33211. #. type: deftypevr
  33212. #: guix-git/doc/guix.texi:22456
  33213. 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}."
  33214. msgstr ""
  33215. #. type: deftypevr
  33216. #: guix-git/doc/guix.texi:22458
  33217. #, no-wrap
  33218. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  33219. msgstr ""
  33220. #. type: deftypevr
  33221. #: guix-git/doc/guix.texi:22463
  33222. 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}."
  33223. msgstr ""
  33224. #. type: deftypevr
  33225. #: guix-git/doc/guix.texi:22465
  33226. #, no-wrap
  33227. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  33228. msgstr ""
  33229. #. type: deftypevr
  33230. #: guix-git/doc/guix.texi:22471
  33231. 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}."
  33232. msgstr ""
  33233. #. type: deftypevr
  33234. #: guix-git/doc/guix.texi:22473
  33235. #, no-wrap
  33236. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  33237. msgstr ""
  33238. #. type: deftypevr
  33239. #: guix-git/doc/guix.texi:22478
  33240. 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}."
  33241. msgstr ""
  33242. #. type: deftypevr
  33243. #: guix-git/doc/guix.texi:22480
  33244. #, no-wrap
  33245. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  33246. msgstr ""
  33247. #. type: deftypevr
  33248. #: guix-git/doc/guix.texi:22483
  33249. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  33250. msgstr ""
  33251. #. type: deftypevr
  33252. #: guix-git/doc/guix.texi:22485
  33253. #, no-wrap
  33254. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  33255. msgstr ""
  33256. #. type: deftypevr
  33257. #: guix-git/doc/guix.texi:22490
  33258. 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\"}."
  33259. msgstr ""
  33260. #. type: deftypevr
  33261. #: guix-git/doc/guix.texi:22492
  33262. #, no-wrap
  33263. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  33264. msgstr ""
  33265. #. type: deftypevr
  33266. #: guix-git/doc/guix.texi:22497
  33267. 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}."
  33268. msgstr ""
  33269. #. type: deftypevr
  33270. #: guix-git/doc/guix.texi:22499
  33271. #, no-wrap
  33272. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  33273. msgstr ""
  33274. #. type: deftypevr
  33275. #: guix-git/doc/guix.texi:22503
  33276. 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."
  33277. msgstr ""
  33278. #. type: deftypevr
  33279. #: guix-git/doc/guix.texi:22505
  33280. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  33281. msgstr ""
  33282. #. type: deftypevr
  33283. #: guix-git/doc/guix.texi:22508
  33284. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  33285. msgstr ""
  33286. #. type: deftypevr
  33287. #: guix-git/doc/guix.texi:22510
  33288. #, no-wrap
  33289. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  33290. msgstr ""
  33291. #. type: deftypevr
  33292. #: guix-git/doc/guix.texi:22515
  33293. 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}."
  33294. msgstr ""
  33295. #. type: deftypevr
  33296. #: guix-git/doc/guix.texi:22517
  33297. #, no-wrap
  33298. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  33299. msgstr ""
  33300. #. type: deftypevr
  33301. #: guix-git/doc/guix.texi:22519
  33302. msgid "File system backend to use for saving attachments:"
  33303. msgstr ""
  33304. #. type: item
  33305. #: guix-git/doc/guix.texi:22520
  33306. #, no-wrap
  33307. msgid "posix"
  33308. msgstr ""
  33309. #. type: table
  33310. #: guix-git/doc/guix.texi:22522
  33311. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  33312. msgstr ""
  33313. #. type: item
  33314. #: guix-git/doc/guix.texi:22522
  33315. #, no-wrap
  33316. msgid "sis posix"
  33317. msgstr ""
  33318. #. type: table
  33319. #: guix-git/doc/guix.texi:22524
  33320. msgid "SiS with immediate byte-by-byte comparison during saving"
  33321. msgstr ""
  33322. #. type: item
  33323. #: guix-git/doc/guix.texi:22524
  33324. #, no-wrap
  33325. msgid "sis-queue posix"
  33326. msgstr ""
  33327. #. type: table
  33328. #: guix-git/doc/guix.texi:22526
  33329. msgid "SiS with delayed comparison and deduplication."
  33330. msgstr ""
  33331. #. type: deftypevr
  33332. #: guix-git/doc/guix.texi:22528
  33333. msgid "Defaults to @samp{\"sis posix\"}."
  33334. msgstr ""
  33335. #. type: deftypevr
  33336. #: guix-git/doc/guix.texi:22530
  33337. #, no-wrap
  33338. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  33339. msgstr ""
  33340. #. type: deftypevr
  33341. #: guix-git/doc/guix.texi:22536
  33342. 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@}\"}."
  33343. msgstr ""
  33344. #. type: deftypevr
  33345. #: guix-git/doc/guix.texi:22538
  33346. #, no-wrap
  33347. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  33348. msgstr ""
  33349. #. type: deftypevr
  33350. #: guix-git/doc/guix.texi:22543
  33351. #, no-wrap
  33352. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  33353. msgstr ""
  33354. #. type: deftypevr
  33355. #: guix-git/doc/guix.texi:22546 guix-git/doc/guix.texi:30171
  33356. msgid "Defaults to @samp{1000}."
  33357. msgstr ""
  33358. #. type: deftypevr
  33359. #: guix-git/doc/guix.texi:22548
  33360. #, no-wrap
  33361. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  33362. msgstr ""
  33363. #. type: deftypevr
  33364. #: guix-git/doc/guix.texi:22553
  33365. 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}."
  33366. msgstr ""
  33367. #. type: deftypevr
  33368. #: guix-git/doc/guix.texi:22555
  33369. #, no-wrap
  33370. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  33371. msgstr ""
  33372. #. type: deftypevr
  33373. #: guix-git/doc/guix.texi:22560
  33374. 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\"}."
  33375. msgstr ""
  33376. #. type: deftypevr
  33377. #: guix-git/doc/guix.texi:22562
  33378. #, no-wrap
  33379. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  33380. msgstr ""
  33381. #. type: deftypevr
  33382. #: guix-git/doc/guix.texi:22567
  33383. 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\"}."
  33384. msgstr ""
  33385. #. type: deftypevr
  33386. #: guix-git/doc/guix.texi:22569
  33387. #, no-wrap
  33388. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  33389. msgstr ""
  33390. #. type: deftypevr
  33391. #: guix-git/doc/guix.texi:22572
  33392. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  33393. msgstr ""
  33394. #. type: deftypevr
  33395. #: guix-git/doc/guix.texi:22574
  33396. #, no-wrap
  33397. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  33398. msgstr ""
  33399. #. type: deftypevr
  33400. #: guix-git/doc/guix.texi:22577
  33401. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  33402. msgstr ""
  33403. #. type: deftypevr
  33404. #: guix-git/doc/guix.texi:22579
  33405. #, no-wrap
  33406. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  33407. msgstr ""
  33408. #. type: deftypevr
  33409. #: guix-git/doc/guix.texi:22584
  33410. 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\"}."
  33411. msgstr ""
  33412. #. type: deftypevr
  33413. #: guix-git/doc/guix.texi:22586
  33414. #, no-wrap
  33415. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  33416. msgstr ""
  33417. #. type: deftypevr
  33418. #: guix-git/doc/guix.texi:22592
  33419. 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{\"\"}."
  33420. msgstr ""
  33421. #. type: deftypevr
  33422. #: guix-git/doc/guix.texi:22594
  33423. #, no-wrap
  33424. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  33425. msgstr ""
  33426. #. type: deftypevr
  33427. #: guix-git/doc/guix.texi:22600
  33428. 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{\"\"}."
  33429. msgstr ""
  33430. #. type: deftypevr
  33431. #: guix-git/doc/guix.texi:22602
  33432. #, no-wrap
  33433. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  33434. msgstr ""
  33435. #. type: deftypevr
  33436. #: guix-git/doc/guix.texi:22605
  33437. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  33438. msgstr ""
  33439. #. type: deftypevr
  33440. #: guix-git/doc/guix.texi:22607
  33441. #, no-wrap
  33442. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  33443. msgstr ""
  33444. #. type: deftypevr
  33445. #: guix-git/doc/guix.texi:22611
  33446. 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}."
  33447. msgstr ""
  33448. #. type: deftypevr
  33449. #: guix-git/doc/guix.texi:22613
  33450. #, no-wrap
  33451. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  33452. msgstr ""
  33453. #. type: deftypevr
  33454. #: guix-git/doc/guix.texi:22618
  33455. 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\"}."
  33456. msgstr ""
  33457. #. type: deftypevr
  33458. #: guix-git/doc/guix.texi:22620
  33459. #, no-wrap
  33460. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  33461. msgstr ""
  33462. #. type: deftypevr
  33463. #: guix-git/doc/guix.texi:22623
  33464. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  33465. msgstr ""
  33466. #. type: deftypevr
  33467. #: guix-git/doc/guix.texi:22625
  33468. #, no-wrap
  33469. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  33470. msgstr ""
  33471. #. type: deftypevr
  33472. #: guix-git/doc/guix.texi:22628
  33473. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  33474. msgstr ""
  33475. #. type: deftypevr
  33476. #: guix-git/doc/guix.texi:22630
  33477. #, no-wrap
  33478. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  33479. msgstr ""
  33480. #. type: deftypevr
  33481. #: guix-git/doc/guix.texi:22633
  33482. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  33483. msgstr ""
  33484. #. type: deftypevr
  33485. #: guix-git/doc/guix.texi:22635
  33486. #, no-wrap
  33487. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  33488. msgstr ""
  33489. #. type: deftypevr
  33490. #: guix-git/doc/guix.texi:22639
  33491. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  33492. msgstr ""
  33493. #. type: deftypevr
  33494. #: guix-git/doc/guix.texi:22641
  33495. #, no-wrap
  33496. msgid "{@code{dovecot-configuration} parameter} string hostname"
  33497. msgstr ""
  33498. #. type: deftypevr
  33499. #: guix-git/doc/guix.texi:22645
  33500. 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{\"\"}."
  33501. msgstr ""
  33502. #. type: deftypevr
  33503. #: guix-git/doc/guix.texi:22647
  33504. #, no-wrap
  33505. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  33506. msgstr ""
  33507. #. type: deftypevr
  33508. #: guix-git/doc/guix.texi:22651
  33509. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  33510. msgstr ""
  33511. #. type: deftypevr
  33512. #: guix-git/doc/guix.texi:22653
  33513. #, no-wrap
  33514. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  33515. msgstr ""
  33516. #. type: deftypevr
  33517. #: guix-git/doc/guix.texi:22656
  33518. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  33519. msgstr ""
  33520. #. type: deftypevr
  33521. #: guix-git/doc/guix.texi:22658
  33522. #, no-wrap
  33523. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  33524. msgstr ""
  33525. #. type: deftypevr
  33526. #: guix-git/doc/guix.texi:22662
  33527. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  33528. msgstr ""
  33529. #. type: deftypevr
  33530. #: guix-git/doc/guix.texi:22664
  33531. #, no-wrap
  33532. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  33533. msgstr ""
  33534. #. type: deftypevr
  33535. #: guix-git/doc/guix.texi:22668
  33536. 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\"}."
  33537. msgstr ""
  33538. #. type: deftypevr
  33539. #: guix-git/doc/guix.texi:22670
  33540. #, no-wrap
  33541. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  33542. msgstr ""
  33543. #. type: deftypevr
  33544. #: guix-git/doc/guix.texi:22673
  33545. msgid "Human readable error message for rejection mails. You can use variables:"
  33546. msgstr ""
  33547. #. type: table
  33548. #: guix-git/doc/guix.texi:22677
  33549. msgid "CRLF"
  33550. msgstr ""
  33551. #. type: item
  33552. #: guix-git/doc/guix.texi:22677
  33553. #, no-wrap
  33554. msgid "%r"
  33555. msgstr ""
  33556. #. type: table
  33557. #: guix-git/doc/guix.texi:22679
  33558. msgid "reason"
  33559. msgstr ""
  33560. #. type: table
  33561. #: guix-git/doc/guix.texi:22681
  33562. msgid "original subject"
  33563. msgstr ""
  33564. #. type: item
  33565. #: guix-git/doc/guix.texi:22681
  33566. #, no-wrap
  33567. msgid "%t"
  33568. msgstr ""
  33569. #. type: table
  33570. #: guix-git/doc/guix.texi:22683
  33571. msgid "recipient"
  33572. msgstr ""
  33573. #. type: deftypevr
  33574. #: guix-git/doc/guix.texi:22685
  33575. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  33576. msgstr ""
  33577. #. type: deftypevr
  33578. #: guix-git/doc/guix.texi:22687
  33579. #, no-wrap
  33580. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  33581. msgstr ""
  33582. #. type: deftypevr
  33583. #: guix-git/doc/guix.texi:22691
  33584. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  33585. msgstr ""
  33586. #. type: deftypevr
  33587. #: guix-git/doc/guix.texi:22693
  33588. #, no-wrap
  33589. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  33590. msgstr ""
  33591. #. type: deftypevr
  33592. #: guix-git/doc/guix.texi:22699
  33593. 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{\"\"}."
  33594. msgstr ""
  33595. #. type: deftypevr
  33596. #: guix-git/doc/guix.texi:22701
  33597. #, no-wrap
  33598. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  33599. msgstr ""
  33600. #. type: deftypevr
  33601. #: guix-git/doc/guix.texi:22705
  33602. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  33603. msgstr ""
  33604. #. type: deftypevr
  33605. #: guix-git/doc/guix.texi:22707
  33606. #, no-wrap
  33607. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  33608. msgstr ""
  33609. #. type: deftypevr
  33610. #: guix-git/doc/guix.texi:22711
  33611. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  33612. msgstr ""
  33613. #. type: deftypevr
  33614. #: guix-git/doc/guix.texi:22713
  33615. #, no-wrap
  33616. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  33617. msgstr ""
  33618. #. type: deftypevr
  33619. #: guix-git/doc/guix.texi:22719
  33620. 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}."
  33621. msgstr ""
  33622. #. type: deftypevr
  33623. #: guix-git/doc/guix.texi:22721
  33624. #, no-wrap
  33625. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  33626. msgstr ""
  33627. #. type: deftypevr
  33628. #: guix-git/doc/guix.texi:22723
  33629. msgid "IMAP logout format string:"
  33630. msgstr ""
  33631. #. type: item
  33632. #: guix-git/doc/guix.texi:22724
  33633. #, no-wrap
  33634. msgid "%i"
  33635. msgstr ""
  33636. #. type: table
  33637. #: guix-git/doc/guix.texi:22726
  33638. msgid "total number of bytes read from client"
  33639. msgstr ""
  33640. #. type: item
  33641. #: guix-git/doc/guix.texi:22726
  33642. #, no-wrap
  33643. msgid "%o"
  33644. msgstr ""
  33645. #. type: table
  33646. #: guix-git/doc/guix.texi:22728
  33647. msgid "total number of bytes sent to client."
  33648. msgstr ""
  33649. #. type: deftypevr
  33650. #: guix-git/doc/guix.texi:22731
  33651. 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@}\"}."
  33652. msgstr ""
  33653. #. type: deftypevr
  33654. #: guix-git/doc/guix.texi:22733
  33655. #, no-wrap
  33656. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  33657. msgstr ""
  33658. #. type: deftypevr
  33659. #: guix-git/doc/guix.texi:22737
  33660. 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{\"\"}."
  33661. msgstr ""
  33662. #. type: deftypevr
  33663. #: guix-git/doc/guix.texi:22739
  33664. #, no-wrap
  33665. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  33666. msgstr ""
  33667. #. type: deftypevr
  33668. #: guix-git/doc/guix.texi:22743
  33669. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  33670. msgstr ""
  33671. #. type: deftypevr
  33672. #: guix-git/doc/guix.texi:22745
  33673. #, no-wrap
  33674. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  33675. msgstr ""
  33676. #. type: deftypevr
  33677. #: guix-git/doc/guix.texi:22751
  33678. 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{\"\"}."
  33679. msgstr ""
  33680. #. type: deftypevr
  33681. #: guix-git/doc/guix.texi:22753
  33682. #, no-wrap
  33683. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  33684. msgstr ""
  33685. #. type: deftypevr
  33686. #: guix-git/doc/guix.texi:22756
  33687. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  33688. msgstr ""
  33689. #. type: deftypevr
  33690. #: guix-git/doc/guix.texi:22758
  33691. #, no-wrap
  33692. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  33693. msgstr ""
  33694. #. type: deftypevr
  33695. #: guix-git/doc/guix.texi:22760
  33696. msgid "Workarounds for various client bugs:"
  33697. msgstr ""
  33698. #. type: item
  33699. #: guix-git/doc/guix.texi:22762
  33700. #, no-wrap
  33701. msgid "delay-newmail"
  33702. msgstr ""
  33703. #. type: table
  33704. #: guix-git/doc/guix.texi:22769
  33705. 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\"."
  33706. msgstr ""
  33707. #. type: item
  33708. #: guix-git/doc/guix.texi:22770
  33709. #, no-wrap
  33710. msgid "tb-extra-mailbox-sep"
  33711. msgstr ""
  33712. #. type: table
  33713. #: guix-git/doc/guix.texi:22774
  33714. 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."
  33715. msgstr ""
  33716. #. type: item
  33717. #: guix-git/doc/guix.texi:22775
  33718. #, no-wrap
  33719. msgid "tb-lsub-flags"
  33720. msgstr ""
  33721. #. type: table
  33722. #: guix-git/doc/guix.texi:22779
  33723. 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."
  33724. msgstr ""
  33725. #. type: deftypevr
  33726. #: guix-git/doc/guix.texi:22783
  33727. #, no-wrap
  33728. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  33729. msgstr ""
  33730. #. type: deftypevr
  33731. #: guix-git/doc/guix.texi:22786
  33732. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  33733. msgstr ""
  33734. #. type: Plain text
  33735. #: guix-git/doc/guix.texi:22794
  33736. 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."
  33737. msgstr ""
  33738. #. type: Plain text
  33739. #: guix-git/doc/guix.texi:22800
  33740. 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."
  33741. msgstr ""
  33742. #. type: Plain text
  33743. #: guix-git/doc/guix.texi:22802
  33744. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  33745. msgstr ""
  33746. #. type: deftypevr
  33747. #: guix-git/doc/guix.texi:22803
  33748. #, no-wrap
  33749. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  33750. msgstr ""
  33751. #. type: deftypevr
  33752. #: guix-git/doc/guix.texi:22807
  33753. #, no-wrap
  33754. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  33755. msgstr ""
  33756. #. type: deftypevr
  33757. #: guix-git/doc/guix.texi:22809
  33758. msgid "The contents of the @code{dovecot.conf}, as a string."
  33759. msgstr ""
  33760. #. type: Plain text
  33761. #: guix-git/doc/guix.texi:22813
  33762. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  33763. msgstr ""
  33764. #. type: lisp
  33765. #: guix-git/doc/guix.texi:22818
  33766. #, no-wrap
  33767. msgid ""
  33768. "(dovecot-service #:config\n"
  33769. " (opaque-dovecot-configuration\n"
  33770. " (string \"\")))\n"
  33771. msgstr ""
  33772. #. type: subsubheading
  33773. #: guix-git/doc/guix.texi:22820
  33774. #, no-wrap
  33775. msgid "OpenSMTPD Service"
  33776. msgstr ""
  33777. #. type: deffn
  33778. #: guix-git/doc/guix.texi:22822
  33779. #, no-wrap
  33780. msgid "{Scheme Variable} opensmtpd-service-type"
  33781. msgstr ""
  33782. #. type: deffn
  33783. #: guix-git/doc/guix.texi:22826
  33784. 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:"
  33785. msgstr ""
  33786. #. type: lisp
  33787. #: guix-git/doc/guix.texi:22831
  33788. #, no-wrap
  33789. msgid ""
  33790. "(service opensmtpd-service-type\n"
  33791. " (opensmtpd-configuration\n"
  33792. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  33793. msgstr ""
  33794. #. type: deftp
  33795. #: guix-git/doc/guix.texi:22834
  33796. #, no-wrap
  33797. msgid "{Data Type} opensmtpd-configuration"
  33798. msgstr ""
  33799. #. type: deftp
  33800. #: guix-git/doc/guix.texi:22836
  33801. msgid "Data type representing the configuration of opensmtpd."
  33802. msgstr ""
  33803. #. type: item
  33804. #: guix-git/doc/guix.texi:22838
  33805. #, no-wrap
  33806. msgid "@code{package} (default: @var{opensmtpd})"
  33807. msgstr ""
  33808. #. type: table
  33809. #: guix-git/doc/guix.texi:22840
  33810. msgid "Package object of the OpenSMTPD SMTP server."
  33811. msgstr ""
  33812. #. type: item
  33813. #: guix-git/doc/guix.texi:22841
  33814. #, no-wrap
  33815. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  33816. msgstr ""
  33817. #. type: table
  33818. #: guix-git/doc/guix.texi:22846
  33819. 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."
  33820. msgstr ""
  33821. #. type: subsubheading
  33822. #: guix-git/doc/guix.texi:22850
  33823. #, no-wrap
  33824. msgid "Exim Service"
  33825. msgstr ""
  33826. #. type: cindex
  33827. #: guix-git/doc/guix.texi:22852
  33828. #, no-wrap
  33829. msgid "mail transfer agent (MTA)"
  33830. msgstr ""
  33831. #. type: cindex
  33832. #: guix-git/doc/guix.texi:22853
  33833. #, no-wrap
  33834. msgid "MTA (mail transfer agent)"
  33835. msgstr ""
  33836. #. type: cindex
  33837. #: guix-git/doc/guix.texi:22854
  33838. #, no-wrap
  33839. msgid "SMTP"
  33840. msgstr ""
  33841. #. type: deffn
  33842. #: guix-git/doc/guix.texi:22856
  33843. #, no-wrap
  33844. msgid "{Scheme Variable} exim-service-type"
  33845. msgstr ""
  33846. #. type: deffn
  33847. #: guix-git/doc/guix.texi:22860
  33848. 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:"
  33849. msgstr ""
  33850. #. type: lisp
  33851. #: guix-git/doc/guix.texi:22865
  33852. #, no-wrap
  33853. msgid ""
  33854. "(service exim-service-type\n"
  33855. " (exim-configuration\n"
  33856. " (config-file (local-file \"./my-exim.conf\"))))\n"
  33857. msgstr ""
  33858. #. type: Plain text
  33859. #: guix-git/doc/guix.texi:22871
  33860. 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)."
  33861. msgstr ""
  33862. #. type: deftp
  33863. #: guix-git/doc/guix.texi:22872
  33864. #, no-wrap
  33865. msgid "{Data Type} exim-configuration"
  33866. msgstr ""
  33867. #. type: deftp
  33868. #: guix-git/doc/guix.texi:22874
  33869. msgid "Data type representing the configuration of exim."
  33870. msgstr ""
  33871. #. type: item
  33872. #: guix-git/doc/guix.texi:22876
  33873. #, no-wrap
  33874. msgid "@code{package} (default: @var{exim})"
  33875. msgstr ""
  33876. #. type: table
  33877. #: guix-git/doc/guix.texi:22878
  33878. msgid "Package object of the Exim server."
  33879. msgstr ""
  33880. #. type: table
  33881. #: guix-git/doc/guix.texi:22885
  33882. 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."
  33883. msgstr ""
  33884. #. type: subsubheading
  33885. #: guix-git/doc/guix.texi:22889
  33886. #, no-wrap
  33887. msgid "Getmail service"
  33888. msgstr ""
  33889. #. type: cindex
  33890. #: guix-git/doc/guix.texi:22891
  33891. #, no-wrap
  33892. msgid "IMAP"
  33893. msgstr ""
  33894. #. type: cindex
  33895. #: guix-git/doc/guix.texi:22892
  33896. #, no-wrap
  33897. msgid "POP"
  33898. msgstr ""
  33899. #. type: deffn
  33900. #: guix-git/doc/guix.texi:22894
  33901. #, no-wrap
  33902. msgid "{Scheme Variable} getmail-service-type"
  33903. msgstr ""
  33904. #. type: deffn
  33905. #: guix-git/doc/guix.texi:22897
  33906. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  33907. msgstr ""
  33908. #. type: Plain text
  33909. #: guix-git/doc/guix.texi:22900
  33910. msgid "Available @code{getmail-configuration} fields are:"
  33911. msgstr ""
  33912. #. type: deftypevr
  33913. #: guix-git/doc/guix.texi:22901
  33914. #, no-wrap
  33915. msgid "{@code{getmail-configuration} parameter} symbol name"
  33916. msgstr ""
  33917. #. type: deftypevr
  33918. #: guix-git/doc/guix.texi:22903
  33919. msgid "A symbol to identify the getmail service."
  33920. msgstr ""
  33921. #. type: deftypevr
  33922. #: guix-git/doc/guix.texi:22905
  33923. msgid "Defaults to @samp{\"unset\"}."
  33924. msgstr ""
  33925. #. type: deftypevr
  33926. #: guix-git/doc/guix.texi:22908
  33927. #, no-wrap
  33928. msgid "{@code{getmail-configuration} parameter} package package"
  33929. msgstr ""
  33930. #. type: deftypevr
  33931. #: guix-git/doc/guix.texi:22910
  33932. msgid "The getmail package to use."
  33933. msgstr ""
  33934. #. type: deftypevr
  33935. #: guix-git/doc/guix.texi:22913
  33936. #, no-wrap
  33937. msgid "{@code{getmail-configuration} parameter} string user"
  33938. msgstr ""
  33939. #. type: deftypevr
  33940. #: guix-git/doc/guix.texi:22915
  33941. msgid "The user to run getmail as."
  33942. msgstr ""
  33943. #. type: deftypevr
  33944. #: guix-git/doc/guix.texi:22917 guix-git/doc/guix.texi:22924
  33945. msgid "Defaults to @samp{\"getmail\"}."
  33946. msgstr ""
  33947. #. type: deftypevr
  33948. #: guix-git/doc/guix.texi:22920
  33949. #, no-wrap
  33950. msgid "{@code{getmail-configuration} parameter} string group"
  33951. msgstr ""
  33952. #. type: deftypevr
  33953. #: guix-git/doc/guix.texi:22922
  33954. msgid "The group to run getmail as."
  33955. msgstr ""
  33956. #. type: deftypevr
  33957. #: guix-git/doc/guix.texi:22927
  33958. #, no-wrap
  33959. msgid "{@code{getmail-configuration} parameter} string directory"
  33960. msgstr ""
  33961. #. type: deftypevr
  33962. #: guix-git/doc/guix.texi:22929
  33963. msgid "The getmail directory to use."
  33964. msgstr ""
  33965. #. type: deftypevr
  33966. #: guix-git/doc/guix.texi:22931
  33967. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  33968. msgstr ""
  33969. #. type: deftypevr
  33970. #: guix-git/doc/guix.texi:22934
  33971. #, no-wrap
  33972. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  33973. msgstr ""
  33974. #. type: deftypevr
  33975. #: guix-git/doc/guix.texi:22936
  33976. msgid "The getmail configuration file to use."
  33977. msgstr ""
  33978. #. type: deftypevr
  33979. #: guix-git/doc/guix.texi:22938
  33980. msgid "Available @code{getmail-configuration-file} fields are:"
  33981. msgstr ""
  33982. #. type: deftypevr
  33983. #: guix-git/doc/guix.texi:22939
  33984. #, no-wrap
  33985. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  33986. msgstr ""
  33987. #. type: deftypevr
  33988. #: guix-git/doc/guix.texi:22941
  33989. msgid "What mail account to retrieve mail from, and how to access that account."
  33990. msgstr ""
  33991. #. type: deftypevr
  33992. #: guix-git/doc/guix.texi:22943
  33993. msgid "Available @code{getmail-retriever-configuration} fields are:"
  33994. msgstr ""
  33995. #. type: deftypevr
  33996. #: guix-git/doc/guix.texi:22944
  33997. #, no-wrap
  33998. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  33999. msgstr ""
  34000. #. type: deftypevr
  34001. #: guix-git/doc/guix.texi:22947
  34002. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  34003. msgstr ""
  34004. #. type: deftypevr
  34005. #: guix-git/doc/guix.texi:22949
  34006. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  34007. msgstr ""
  34008. #. type: deftypevr
  34009. #: guix-git/doc/guix.texi:22952
  34010. #, no-wrap
  34011. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  34012. msgstr ""
  34013. #. type: deftypevr
  34014. #: guix-git/doc/guix.texi:22954 guix-git/doc/guix.texi:22961
  34015. msgid "Username to login to the mail server with."
  34016. msgstr ""
  34017. #. type: deftypevr
  34018. #: guix-git/doc/guix.texi:22956 guix-git/doc/guix.texi:22963
  34019. #: guix-git/doc/guix.texi:23027
  34020. msgid "Defaults to @samp{unset}."
  34021. msgstr ""
  34022. #. type: deftypevr
  34023. #: guix-git/doc/guix.texi:22959
  34024. #, no-wrap
  34025. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  34026. msgstr ""
  34027. #. type: deftypevr
  34028. #: guix-git/doc/guix.texi:22966
  34029. #, no-wrap
  34030. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  34031. msgstr ""
  34032. #. type: deftypevr
  34033. #: guix-git/doc/guix.texi:22968
  34034. msgid "Port number to connect to."
  34035. msgstr ""
  34036. #. type: deftypevr
  34037. #: guix-git/doc/guix.texi:22973
  34038. #, no-wrap
  34039. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  34040. msgstr ""
  34041. #. type: deftypevr
  34042. #: guix-git/doc/guix.texi:22975 guix-git/doc/guix.texi:22982
  34043. msgid "Override fields from passwd."
  34044. msgstr ""
  34045. #. type: deftypevr
  34046. #: guix-git/doc/guix.texi:22980
  34047. #, no-wrap
  34048. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  34049. msgstr ""
  34050. #. type: deftypevr
  34051. #: guix-git/doc/guix.texi:22987
  34052. #, no-wrap
  34053. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  34054. msgstr ""
  34055. #. type: deftypevr
  34056. #: guix-git/doc/guix.texi:22989
  34057. msgid "PEM-formatted key file to use for the TLS negotiation."
  34058. msgstr ""
  34059. #. type: deftypevr
  34060. #: guix-git/doc/guix.texi:22994
  34061. #, no-wrap
  34062. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  34063. msgstr ""
  34064. #. type: deftypevr
  34065. #: guix-git/doc/guix.texi:22996
  34066. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  34067. msgstr ""
  34068. #. type: deftypevr
  34069. #: guix-git/doc/guix.texi:23001
  34070. #, no-wrap
  34071. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  34072. msgstr ""
  34073. #. type: deftypevr
  34074. #: guix-git/doc/guix.texi:23003
  34075. msgid "CA certificates to use."
  34076. msgstr ""
  34077. #. type: deftypevr
  34078. #: guix-git/doc/guix.texi:23008
  34079. #, no-wrap
  34080. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  34081. msgstr ""
  34082. #. type: deftypevr
  34083. #: guix-git/doc/guix.texi:23010
  34084. msgid "Extra retriever parameters."
  34085. msgstr ""
  34086. #. type: deftypevr
  34087. #: guix-git/doc/guix.texi:23017
  34088. #, no-wrap
  34089. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  34090. msgstr ""
  34091. #. type: deftypevr
  34092. #: guix-git/doc/guix.texi:23019
  34093. msgid "What to do with retrieved messages."
  34094. msgstr ""
  34095. #. type: deftypevr
  34096. #: guix-git/doc/guix.texi:23021
  34097. msgid "Available @code{getmail-destination-configuration} fields are:"
  34098. msgstr ""
  34099. #. type: deftypevr
  34100. #: guix-git/doc/guix.texi:23022
  34101. #, no-wrap
  34102. msgid "{@code{getmail-destination-configuration} parameter} string type"
  34103. msgstr ""
  34104. #. type: deftypevr
  34105. #: guix-git/doc/guix.texi:23025
  34106. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  34107. msgstr ""
  34108. #. type: deftypevr
  34109. #: guix-git/doc/guix.texi:23030
  34110. #, no-wrap
  34111. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  34112. msgstr ""
  34113. #. type: deftypevr
  34114. #: guix-git/doc/guix.texi:23033
  34115. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  34116. msgstr ""
  34117. #. type: deftypevr
  34118. #: guix-git/doc/guix.texi:23038
  34119. #, no-wrap
  34120. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  34121. msgstr ""
  34122. #. type: deftypevr
  34123. #: guix-git/doc/guix.texi:23040
  34124. msgid "Extra destination parameters"
  34125. msgstr ""
  34126. #. type: deftypevr
  34127. #: guix-git/doc/guix.texi:23047
  34128. #, no-wrap
  34129. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  34130. msgstr ""
  34131. #. type: deftypevr
  34132. #: guix-git/doc/guix.texi:23049
  34133. msgid "Configure getmail."
  34134. msgstr ""
  34135. #. type: deftypevr
  34136. #: guix-git/doc/guix.texi:23051
  34137. msgid "Available @code{getmail-options-configuration} fields are:"
  34138. msgstr ""
  34139. #. type: deftypevr
  34140. #: guix-git/doc/guix.texi:23052
  34141. #, no-wrap
  34142. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  34143. msgstr ""
  34144. #. type: deftypevr
  34145. #: guix-git/doc/guix.texi:23057
  34146. 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."
  34147. msgstr ""
  34148. #. type: deftypevr
  34149. #: guix-git/doc/guix.texi:23059 guix-git/doc/guix.texi:29641
  34150. #: guix-git/doc/guix.texi:30229 guix-git/doc/guix.texi:30374
  34151. msgid "Defaults to @samp{1}."
  34152. msgstr ""
  34153. #. type: deftypevr
  34154. #: guix-git/doc/guix.texi:23062
  34155. #, no-wrap
  34156. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  34157. msgstr ""
  34158. #. type: deftypevr
  34159. #: guix-git/doc/guix.texi:23065
  34160. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  34161. msgstr ""
  34162. #. type: deftypevr
  34163. #: guix-git/doc/guix.texi:23070
  34164. #, no-wrap
  34165. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  34166. msgstr ""
  34167. #. type: deftypevr
  34168. #: guix-git/doc/guix.texi:23074
  34169. 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."
  34170. msgstr ""
  34171. #. type: deftypevr
  34172. #: guix-git/doc/guix.texi:23079
  34173. #, no-wrap
  34174. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  34175. msgstr ""
  34176. #. type: deftypevr
  34177. #: guix-git/doc/guix.texi:23084
  34178. 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."
  34179. msgstr ""
  34180. #. type: deftypevr
  34181. #: guix-git/doc/guix.texi:23089
  34182. #, no-wrap
  34183. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  34184. msgstr ""
  34185. #. type: deftypevr
  34186. #: guix-git/doc/guix.texi:23093
  34187. 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."
  34188. msgstr ""
  34189. #. type: deftypevr
  34190. #: guix-git/doc/guix.texi:23098
  34191. #, no-wrap
  34192. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  34193. msgstr ""
  34194. #. type: deftypevr
  34195. #: guix-git/doc/guix.texi:23101
  34196. 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."
  34197. msgstr ""
  34198. #. type: deftypevr
  34199. #: guix-git/doc/guix.texi:23106
  34200. #, no-wrap
  34201. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  34202. msgstr ""
  34203. #. type: deftypevr
  34204. #: guix-git/doc/guix.texi:23109
  34205. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  34206. msgstr ""
  34207. #. type: deftypevr
  34208. #: guix-git/doc/guix.texi:23114
  34209. #, no-wrap
  34210. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  34211. msgstr ""
  34212. #. type: deftypevr
  34213. #: guix-git/doc/guix.texi:23116
  34214. msgid "If true, getmail will add a Delivered-To header to messages."
  34215. msgstr ""
  34216. #. type: deftypevr
  34217. #: guix-git/doc/guix.texi:23121
  34218. #, no-wrap
  34219. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  34220. msgstr ""
  34221. #. type: deftypevr
  34222. #: guix-git/doc/guix.texi:23123
  34223. msgid "If set, getmail adds a Received header to the messages."
  34224. msgstr ""
  34225. #. type: deftypevr
  34226. #: guix-git/doc/guix.texi:23128
  34227. #, no-wrap
  34228. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  34229. msgstr ""
  34230. #. type: deftypevr
  34231. #: guix-git/doc/guix.texi:23131
  34232. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  34233. msgstr ""
  34234. #. type: deftypevr
  34235. #: guix-git/doc/guix.texi:23136
  34236. #, no-wrap
  34237. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  34238. msgstr ""
  34239. #. type: deftypevr
  34240. #: guix-git/doc/guix.texi:23139
  34241. msgid "If true, getmail will record a log of its actions using the system logger."
  34242. msgstr ""
  34243. #. type: deftypevr
  34244. #: guix-git/doc/guix.texi:23144
  34245. #, no-wrap
  34246. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  34247. msgstr ""
  34248. #. type: deftypevr
  34249. #: guix-git/doc/guix.texi:23148
  34250. 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."
  34251. msgstr ""
  34252. #. type: deftypevr
  34253. #: guix-git/doc/guix.texi:23153
  34254. #, no-wrap
  34255. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  34256. msgstr ""
  34257. #. type: deftypevr
  34258. #: guix-git/doc/guix.texi:23155
  34259. msgid "Extra options to include."
  34260. msgstr ""
  34261. #. type: deftypevr
  34262. #: guix-git/doc/guix.texi:23164
  34263. #, no-wrap
  34264. msgid "{@code{getmail-configuration} parameter} list idle"
  34265. msgstr ""
  34266. #. type: deftypevr
  34267. #: guix-git/doc/guix.texi:23168
  34268. 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."
  34269. msgstr ""
  34270. #. type: deftypevr
  34271. #: guix-git/doc/guix.texi:23173
  34272. #, no-wrap
  34273. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  34274. msgstr ""
  34275. #. type: deftypevr
  34276. #: guix-git/doc/guix.texi:23175
  34277. msgid "Environment variables to set for getmail."
  34278. msgstr ""
  34279. #. type: subsubheading
  34280. #: guix-git/doc/guix.texi:23180
  34281. #, no-wrap
  34282. msgid "Mail Aliases Service"
  34283. msgstr ""
  34284. #. type: cindex
  34285. #: guix-git/doc/guix.texi:23182
  34286. #, no-wrap
  34287. msgid "email aliases"
  34288. msgstr ""
  34289. #. type: cindex
  34290. #: guix-git/doc/guix.texi:23183
  34291. #, no-wrap
  34292. msgid "aliases, for email addresses"
  34293. msgstr ""
  34294. #. type: deffn
  34295. #: guix-git/doc/guix.texi:23185
  34296. #, no-wrap
  34297. msgid "{Scheme Variable} mail-aliases-service-type"
  34298. msgstr ""
  34299. #. type: deffn
  34300. #: guix-git/doc/guix.texi:23188
  34301. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  34302. msgstr ""
  34303. #. type: lisp
  34304. #: guix-git/doc/guix.texi:23193
  34305. #, no-wrap
  34306. msgid ""
  34307. "(service mail-aliases-service-type\n"
  34308. " '((\"postmaster\" \"bob\")\n"
  34309. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  34310. msgstr ""
  34311. #. type: Plain text
  34312. #: guix-git/doc/guix.texi:23201
  34313. 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."
  34314. msgstr ""
  34315. #. type: Plain text
  34316. #: guix-git/doc/guix.texi:23207
  34317. 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})."
  34318. msgstr ""
  34319. #. type: cindex
  34320. #: guix-git/doc/guix.texi:23208 guix-git/doc/guix.texi:23209
  34321. #, no-wrap
  34322. msgid "GNU Mailutils IMAP4 Daemon"
  34323. msgstr ""
  34324. #. type: deffn
  34325. #: guix-git/doc/guix.texi:23211
  34326. #, no-wrap
  34327. msgid "{Scheme Variable} imap4d-service-type"
  34328. msgstr ""
  34329. #. type: deffn
  34330. #: guix-git/doc/guix.texi:23215
  34331. 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:"
  34332. msgstr ""
  34333. #. type: lisp
  34334. #: guix-git/doc/guix.texi:23220
  34335. #, no-wrap
  34336. msgid ""
  34337. "(service imap4d-service-type\n"
  34338. " (imap4d-configuration\n"
  34339. " (config-file (local-file \"imap4d.conf\"))))\n"
  34340. msgstr ""
  34341. #. type: deftp
  34342. #: guix-git/doc/guix.texi:23223
  34343. #, no-wrap
  34344. msgid "{Data Type} imap4d-configuration"
  34345. msgstr ""
  34346. #. type: deftp
  34347. #: guix-git/doc/guix.texi:23225
  34348. msgid "Data type representing the configuration of @command{imap4d}."
  34349. msgstr ""
  34350. #. type: item
  34351. #: guix-git/doc/guix.texi:23227
  34352. #, no-wrap
  34353. msgid "@code{package} (default: @code{mailutils})"
  34354. msgstr ""
  34355. #. type: table
  34356. #: guix-git/doc/guix.texi:23229
  34357. msgid "The package that provides @command{imap4d}."
  34358. msgstr ""
  34359. #. type: item
  34360. #: guix-git/doc/guix.texi:23230
  34361. #, no-wrap
  34362. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  34363. msgstr ""
  34364. #. type: table
  34365. #: guix-git/doc/guix.texi:23234
  34366. 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."
  34367. msgstr ""
  34368. #. type: subsubheading
  34369. #: guix-git/doc/guix.texi:23238
  34370. #, no-wrap
  34371. msgid "Radicale Service"
  34372. msgstr ""
  34373. #. type: cindex
  34374. #: guix-git/doc/guix.texi:23239
  34375. #, no-wrap
  34376. msgid "CalDAV"
  34377. msgstr ""
  34378. #. type: cindex
  34379. #: guix-git/doc/guix.texi:23240
  34380. #, no-wrap
  34381. msgid "CardDAV"
  34382. msgstr ""
  34383. #. type: deffn
  34384. #: guix-git/doc/guix.texi:23242
  34385. #, no-wrap
  34386. msgid "{Scheme Variable} radicale-service-type"
  34387. msgstr ""
  34388. #. type: deffn
  34389. #: guix-git/doc/guix.texi:23245
  34390. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  34391. msgstr ""
  34392. #. type: deftp
  34393. #: guix-git/doc/guix.texi:23247
  34394. #, no-wrap
  34395. msgid "{Data Type} radicale-configuration"
  34396. msgstr ""
  34397. #. type: deftp
  34398. #: guix-git/doc/guix.texi:23249
  34399. msgid "Data type representing the configuration of @command{radicale}."
  34400. msgstr ""
  34401. #. type: item
  34402. #: guix-git/doc/guix.texi:23251
  34403. #, no-wrap
  34404. msgid "@code{package} (default: @code{radicale})"
  34405. msgstr ""
  34406. #. type: table
  34407. #: guix-git/doc/guix.texi:23253
  34408. msgid "The package that provides @command{radicale}."
  34409. msgstr ""
  34410. #. type: item
  34411. #: guix-git/doc/guix.texi:23254
  34412. #, no-wrap
  34413. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  34414. msgstr ""
  34415. #. type: table
  34416. #: guix-git/doc/guix.texi:23258
  34417. 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."
  34418. msgstr ""
  34419. #. type: cindex
  34420. #: guix-git/doc/guix.texi:23265
  34421. #, no-wrap
  34422. msgid "messaging"
  34423. msgstr ""
  34424. #. type: cindex
  34425. #: guix-git/doc/guix.texi:23266
  34426. #, no-wrap
  34427. msgid "jabber"
  34428. msgstr ""
  34429. #. type: cindex
  34430. #: guix-git/doc/guix.texi:23267
  34431. #, no-wrap
  34432. msgid "XMPP"
  34433. msgstr ""
  34434. #. type: Plain text
  34435. #: guix-git/doc/guix.texi:23271
  34436. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  34437. msgstr ""
  34438. #. type: subsubheading
  34439. #: guix-git/doc/guix.texi:23272
  34440. #, no-wrap
  34441. msgid "Prosody Service"
  34442. msgstr ""
  34443. #. type: deffn
  34444. #: guix-git/doc/guix.texi:23274
  34445. #, no-wrap
  34446. msgid "{Scheme Variable} prosody-service-type"
  34447. msgstr ""
  34448. #. type: deffn
  34449. #: guix-git/doc/guix.texi:23278
  34450. 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:"
  34451. msgstr ""
  34452. #. type: lisp
  34453. #: guix-git/doc/guix.texi:23293
  34454. #, no-wrap
  34455. msgid ""
  34456. "(service prosody-service-type\n"
  34457. " (prosody-configuration\n"
  34458. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  34459. " (int-components\n"
  34460. " (list\n"
  34461. " (int-component-configuration\n"
  34462. " (hostname \"conference.example.net\")\n"
  34463. " (plugin \"muc\")\n"
  34464. " (mod-muc (mod-muc-configuration)))))\n"
  34465. " (virtualhosts\n"
  34466. " (list\n"
  34467. " (virtualhost-configuration\n"
  34468. " (domain \"example.net\"))))))\n"
  34469. msgstr ""
  34470. #. type: deffn
  34471. #: guix-git/doc/guix.texi:23296
  34472. msgid "See below for details about @code{prosody-configuration}."
  34473. msgstr ""
  34474. #. type: Plain text
  34475. #: guix-git/doc/guix.texi:23302
  34476. 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."
  34477. msgstr ""
  34478. #. type: Plain text
  34479. #: guix-git/doc/guix.texi:23305
  34480. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  34481. msgstr ""
  34482. #. type: Plain text
  34483. #: guix-git/doc/guix.texi:23309
  34484. 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}."
  34485. msgstr ""
  34486. #. type: example
  34487. #: guix-git/doc/guix.texi:23312
  34488. #, no-wrap
  34489. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  34490. msgstr ""
  34491. #. type: Plain text
  34492. #: guix-git/doc/guix.texi:23319
  34493. 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}."
  34494. msgstr ""
  34495. #. type: Plain text
  34496. #: guix-git/doc/guix.texi:23323
  34497. 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."
  34498. msgstr ""
  34499. #. type: Plain text
  34500. #: guix-git/doc/guix.texi:23326
  34501. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  34502. msgstr ""
  34503. #. type: Plain text
  34504. #: guix-git/doc/guix.texi:23336
  34505. msgid "Available @code{prosody-configuration} fields are:"
  34506. msgstr ""
  34507. #. type: deftypevr
  34508. #: guix-git/doc/guix.texi:23337
  34509. #, no-wrap
  34510. msgid "{@code{prosody-configuration} parameter} package prosody"
  34511. msgstr ""
  34512. #. type: deftypevr
  34513. #: guix-git/doc/guix.texi:23339
  34514. msgid "The Prosody package."
  34515. msgstr ""
  34516. #. type: deftypevr
  34517. #: guix-git/doc/guix.texi:23341
  34518. #, no-wrap
  34519. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  34520. msgstr ""
  34521. #. type: deftypevr
  34522. #: guix-git/doc/guix.texi:23345
  34523. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  34524. msgstr ""
  34525. #. type: deftypevr
  34526. #: guix-git/doc/guix.texi:23347
  34527. #, no-wrap
  34528. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  34529. msgstr ""
  34530. #. type: deftypevr
  34531. #: guix-git/doc/guix.texi:23351
  34532. 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{()}."
  34533. msgstr ""
  34534. #. type: deftypevr
  34535. #: guix-git/doc/guix.texi:23353
  34536. #, no-wrap
  34537. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  34538. msgstr ""
  34539. #. type: deftypevr
  34540. #: guix-git/doc/guix.texi:23358
  34541. 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\"}."
  34542. msgstr ""
  34543. #. type: deftypevr
  34544. #: guix-git/doc/guix.texi:23360
  34545. #, no-wrap
  34546. msgid "{@code{prosody-configuration} parameter} string-list admins"
  34547. msgstr ""
  34548. #. type: deftypevr
  34549. #: guix-git/doc/guix.texi:23366
  34550. 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{()}."
  34551. msgstr ""
  34552. #. type: deftypevr
  34553. #: guix-git/doc/guix.texi:23368
  34554. #, no-wrap
  34555. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  34556. msgstr ""
  34557. #. type: deftypevr
  34558. #: guix-git/doc/guix.texi:23372
  34559. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  34560. msgstr ""
  34561. #. type: deftypevr
  34562. #: guix-git/doc/guix.texi:23374
  34563. #, no-wrap
  34564. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  34565. msgstr ""
  34566. #. type: deftypevr
  34567. #: guix-git/doc/guix.texi:23380
  34568. 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\")}."
  34569. msgstr ""
  34570. #. type: deftypevr
  34571. #: guix-git/doc/guix.texi:23382
  34572. #, no-wrap
  34573. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  34574. msgstr ""
  34575. #. type: deftypevr
  34576. #: guix-git/doc/guix.texi:23386
  34577. 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{()}."
  34578. msgstr ""
  34579. #. type: deftypevr
  34580. #: guix-git/doc/guix.texi:23388
  34581. #, no-wrap
  34582. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  34583. msgstr ""
  34584. #. type: deftypevr
  34585. #: guix-git/doc/guix.texi:23393
  34586. 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\"}."
  34587. msgstr ""
  34588. #. type: deftypevr
  34589. #: guix-git/doc/guix.texi:23395
  34590. #, no-wrap
  34591. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  34592. msgstr ""
  34593. #. type: deftypevr
  34594. #: guix-git/doc/guix.texi:23399
  34595. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  34596. msgstr ""
  34597. #. type: deftypevr
  34598. #: guix-git/doc/guix.texi:23401
  34599. #, no-wrap
  34600. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  34601. msgstr ""
  34602. #. type: deftypevr
  34603. #: guix-git/doc/guix.texi:23406
  34604. 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}."
  34605. msgstr ""
  34606. #. type: deftypevr
  34607. #: guix-git/doc/guix.texi:23408
  34608. msgid "Available @code{ssl-configuration} fields are:"
  34609. msgstr ""
  34610. #. type: deftypevr
  34611. #: guix-git/doc/guix.texi:23409
  34612. #, no-wrap
  34613. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  34614. msgstr ""
  34615. #. type: deftypevr
  34616. #: guix-git/doc/guix.texi:23411
  34617. msgid "This determines what handshake to use."
  34618. msgstr ""
  34619. #. type: deftypevr
  34620. #: guix-git/doc/guix.texi:23413
  34621. #, no-wrap
  34622. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  34623. msgstr ""
  34624. #. type: deftypevr
  34625. #: guix-git/doc/guix.texi:23415
  34626. msgid "Path to your private key file."
  34627. msgstr ""
  34628. #. type: deftypevr
  34629. #: guix-git/doc/guix.texi:23417
  34630. #, no-wrap
  34631. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  34632. msgstr ""
  34633. #. type: deftypevr
  34634. #: guix-git/doc/guix.texi:23419
  34635. msgid "Path to your certificate file."
  34636. msgstr ""
  34637. #. type: deftypevr
  34638. #: guix-git/doc/guix.texi:23421
  34639. #, no-wrap
  34640. msgid "{@code{ssl-configuration} parameter} file-object capath"
  34641. msgstr ""
  34642. #. type: deftypevr
  34643. #: guix-git/doc/guix.texi:23425
  34644. 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\"}."
  34645. msgstr ""
  34646. #. type: deftypevr
  34647. #: guix-git/doc/guix.texi:23427
  34648. #, no-wrap
  34649. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  34650. msgstr ""
  34651. #. type: deftypevr
  34652. #: guix-git/doc/guix.texi:23430
  34653. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  34654. msgstr ""
  34655. #. type: deftypevr
  34656. #: guix-git/doc/guix.texi:23432
  34657. #, no-wrap
  34658. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  34659. msgstr ""
  34660. #. type: deftypevr
  34661. #: guix-git/doc/guix.texi:23435
  34662. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  34663. msgstr ""
  34664. #. type: deftypevr
  34665. #: guix-git/doc/guix.texi:23437
  34666. #, no-wrap
  34667. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  34668. msgstr ""
  34669. #. type: deftypevr
  34670. #: guix-git/doc/guix.texi:23441
  34671. 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."
  34672. msgstr ""
  34673. #. type: deftypevr
  34674. #: guix-git/doc/guix.texi:23443
  34675. #, no-wrap
  34676. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  34677. msgstr ""
  34678. #. type: deftypevr
  34679. #: guix-git/doc/guix.texi:23446
  34680. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  34681. msgstr ""
  34682. #. type: deftypevr
  34683. #: guix-git/doc/guix.texi:23448
  34684. #, no-wrap
  34685. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  34686. msgstr ""
  34687. #. type: deftypevr
  34688. #: guix-git/doc/guix.texi:23451
  34689. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  34690. msgstr ""
  34691. #. type: deftypevr
  34692. #: guix-git/doc/guix.texi:23453
  34693. #, no-wrap
  34694. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  34695. msgstr ""
  34696. #. type: deftypevr
  34697. #: guix-git/doc/guix.texi:23457
  34698. 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}"
  34699. msgstr ""
  34700. #. type: deftypevr
  34701. #: guix-git/doc/guix.texi:23459
  34702. #, no-wrap
  34703. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  34704. msgstr ""
  34705. #. type: deftypevr
  34706. #: guix-git/doc/guix.texi:23462
  34707. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  34708. msgstr ""
  34709. #. type: deftypevr
  34710. #: guix-git/doc/guix.texi:23464
  34711. #, no-wrap
  34712. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  34713. msgstr ""
  34714. #. type: deftypevr
  34715. #: guix-git/doc/guix.texi:23466
  34716. msgid "A list of ``extra'' verification options."
  34717. msgstr ""
  34718. #. type: deftypevr
  34719. #: guix-git/doc/guix.texi:23468
  34720. #, no-wrap
  34721. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  34722. msgstr ""
  34723. #. type: deftypevr
  34724. #: guix-git/doc/guix.texi:23470
  34725. msgid "Password for encrypted private keys."
  34726. msgstr ""
  34727. #. type: deftypevr
  34728. #: guix-git/doc/guix.texi:23474
  34729. #, no-wrap
  34730. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  34731. msgstr ""
  34732. #. type: deftypevr
  34733. #: guix-git/doc/guix.texi:23478
  34734. 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}."
  34735. msgstr ""
  34736. #. type: deftypevr
  34737. #: guix-git/doc/guix.texi:23480
  34738. #, no-wrap
  34739. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  34740. msgstr ""
  34741. #. type: deftypevr
  34742. #: guix-git/doc/guix.texi:23484
  34743. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  34744. msgstr ""
  34745. #. type: deftypevr
  34746. #: guix-git/doc/guix.texi:23486
  34747. #, no-wrap
  34748. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  34749. msgstr ""
  34750. #. type: deftypevr
  34751. #: guix-git/doc/guix.texi:23490
  34752. 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}."
  34753. msgstr ""
  34754. #. type: deftypevr
  34755. #: guix-git/doc/guix.texi:23492
  34756. #, no-wrap
  34757. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  34758. msgstr ""
  34759. #. type: deftypevr
  34760. #: guix-git/doc/guix.texi:23498
  34761. 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}."
  34762. msgstr ""
  34763. #. type: deftypevr
  34764. #: guix-git/doc/guix.texi:23500
  34765. #, no-wrap
  34766. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  34767. msgstr ""
  34768. #. type: deftypevr
  34769. #: guix-git/doc/guix.texi:23506
  34770. 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{()}."
  34771. msgstr ""
  34772. #. type: deftypevr
  34773. #: guix-git/doc/guix.texi:23508
  34774. #, no-wrap
  34775. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  34776. msgstr ""
  34777. #. type: deftypevr
  34778. #: guix-git/doc/guix.texi:23513
  34779. 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{()}."
  34780. msgstr ""
  34781. #. type: deftypevr
  34782. #: guix-git/doc/guix.texi:23515
  34783. #, no-wrap
  34784. msgid "{@code{prosody-configuration} parameter} string authentication"
  34785. msgstr ""
  34786. #. type: deftypevr
  34787. #: guix-git/doc/guix.texi:23523
  34788. 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\"}."
  34789. msgstr ""
  34790. #. type: deftypevr
  34791. #: guix-git/doc/guix.texi:23525
  34792. #, no-wrap
  34793. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  34794. msgstr ""
  34795. #. type: deftypevr
  34796. #: guix-git/doc/guix.texi:23529
  34797. 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\"}."
  34798. msgstr ""
  34799. #. type: deftypevr
  34800. #: guix-git/doc/guix.texi:23531
  34801. #, no-wrap
  34802. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  34803. msgstr ""
  34804. #. type: deftypevr
  34805. #: guix-git/doc/guix.texi:23534
  34806. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  34807. msgstr ""
  34808. #. type: deftypevr
  34809. #: guix-git/doc/guix.texi:23536
  34810. #, no-wrap
  34811. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  34812. msgstr ""
  34813. #. type: deftypevr
  34814. #: guix-git/doc/guix.texi:23538
  34815. msgid "Maximum allowed size of the HTTP body (in bytes)."
  34816. msgstr ""
  34817. #. type: deftypevr
  34818. #: guix-git/doc/guix.texi:23540
  34819. #, no-wrap
  34820. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  34821. msgstr ""
  34822. #. type: deftypevr
  34823. #: guix-git/doc/guix.texi:23545
  34824. 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}."
  34825. msgstr ""
  34826. #. type: deftypevr
  34827. #: guix-git/doc/guix.texi:23547
  34828. #, no-wrap
  34829. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  34830. msgstr ""
  34831. #. type: deftypevr
  34832. #: guix-git/doc/guix.texi:23552
  34833. 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."
  34834. msgstr ""
  34835. #. type: deftypevr
  34836. #: guix-git/doc/guix.texi:23558
  34837. 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."
  34838. msgstr ""
  34839. #. type: deftypevr
  34840. #: guix-git/doc/guix.texi:23560
  34841. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  34842. msgstr ""
  34843. #. type: deftypevr
  34844. #: guix-git/doc/guix.texi:23562
  34845. msgid "Available @code{virtualhost-configuration} fields are:"
  34846. msgstr ""
  34847. #. type: deftypevr
  34848. #: guix-git/doc/guix.texi:23564 guix-git/doc/guix.texi:23586
  34849. #: guix-git/doc/guix.texi:23639
  34850. 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:"
  34851. msgstr ""
  34852. #. type: deftypevr
  34853. #: guix-git/doc/guix.texi:23564
  34854. #, no-wrap
  34855. msgid "{@code{virtualhost-configuration} parameter} string domain"
  34856. msgstr ""
  34857. #. type: deftypevr
  34858. #: guix-git/doc/guix.texi:23566
  34859. msgid "Domain you wish Prosody to serve."
  34860. msgstr ""
  34861. #. type: deftypevr
  34862. #: guix-git/doc/guix.texi:23570
  34863. #, no-wrap
  34864. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  34865. msgstr ""
  34866. #. type: deftypevr
  34867. #: guix-git/doc/guix.texi:23575
  34868. 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."
  34869. msgstr ""
  34870. #. type: deftypevr
  34871. #: guix-git/doc/guix.texi:23579
  34872. 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."
  34873. msgstr ""
  34874. #. type: deftypevr
  34875. #: guix-git/doc/guix.texi:23582
  34876. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  34877. msgstr ""
  34878. #. type: deftypevr
  34879. #: guix-git/doc/guix.texi:23584
  34880. msgid "Available @code{int-component-configuration} fields are:"
  34881. msgstr ""
  34882. #. type: deftypevr
  34883. #: guix-git/doc/guix.texi:23586
  34884. #, no-wrap
  34885. msgid "{@code{int-component-configuration} parameter} string hostname"
  34886. msgstr ""
  34887. #. type: deftypevr
  34888. #: guix-git/doc/guix.texi:23588 guix-git/doc/guix.texi:23645
  34889. msgid "Hostname of the component."
  34890. msgstr ""
  34891. #. type: deftypevr
  34892. #: guix-git/doc/guix.texi:23590
  34893. #, no-wrap
  34894. msgid "{@code{int-component-configuration} parameter} string plugin"
  34895. msgstr ""
  34896. #. type: deftypevr
  34897. #: guix-git/doc/guix.texi:23592
  34898. msgid "Plugin you wish to use for the component."
  34899. msgstr ""
  34900. #. type: deftypevr
  34901. #: guix-git/doc/guix.texi:23594
  34902. #, no-wrap
  34903. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  34904. msgstr ""
  34905. #. type: deftypevr
  34906. #: guix-git/doc/guix.texi:23597
  34907. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  34908. msgstr ""
  34909. #. type: deftypevr
  34910. #: guix-git/doc/guix.texi:23601
  34911. 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."
  34912. msgstr ""
  34913. #. type: deftypevr
  34914. #: guix-git/doc/guix.texi:23603
  34915. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  34916. msgstr ""
  34917. #. type: deftypevr
  34918. #: guix-git/doc/guix.texi:23605
  34919. msgid "Available @code{mod-muc-configuration} fields are:"
  34920. msgstr ""
  34921. #. type: deftypevr
  34922. #: guix-git/doc/guix.texi:23606
  34923. #, no-wrap
  34924. msgid "{@code{mod-muc-configuration} parameter} string name"
  34925. msgstr ""
  34926. #. type: deftypevr
  34927. #: guix-git/doc/guix.texi:23609
  34928. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  34929. msgstr ""
  34930. #. type: deftypevr
  34931. #: guix-git/doc/guix.texi:23611
  34932. #, no-wrap
  34933. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  34934. msgstr ""
  34935. #. type: deftypevr
  34936. #: guix-git/doc/guix.texi:23618
  34937. 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}."
  34938. msgstr ""
  34939. #. type: deftypevr
  34940. #: guix-git/doc/guix.texi:23620
  34941. #, no-wrap
  34942. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  34943. msgstr ""
  34944. #. type: deftypevr
  34945. #: guix-git/doc/guix.texi:23624
  34946. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  34947. msgstr ""
  34948. #. type: deftypevr
  34949. #: guix-git/doc/guix.texi:23630
  34950. #, no-wrap
  34951. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  34952. msgstr ""
  34953. #. type: deftypevr
  34954. #: guix-git/doc/guix.texi:23635
  34955. 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{()}."
  34956. msgstr ""
  34957. #. type: deftypevr
  34958. #: guix-git/doc/guix.texi:23637
  34959. msgid "Available @code{ext-component-configuration} fields are:"
  34960. msgstr ""
  34961. #. type: deftypevr
  34962. #: guix-git/doc/guix.texi:23639
  34963. #, no-wrap
  34964. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  34965. msgstr ""
  34966. #. type: deftypevr
  34967. #: guix-git/doc/guix.texi:23641
  34968. msgid "Password which the component will use to log in."
  34969. msgstr ""
  34970. #. type: deftypevr
  34971. #: guix-git/doc/guix.texi:23643
  34972. #, no-wrap
  34973. msgid "{@code{ext-component-configuration} parameter} string hostname"
  34974. msgstr ""
  34975. #. type: deftypevr
  34976. #: guix-git/doc/guix.texi:23649
  34977. #, no-wrap
  34978. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  34979. msgstr ""
  34980. #. type: deftypevr
  34981. #: guix-git/doc/guix.texi:23652
  34982. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  34983. msgstr ""
  34984. #. type: deftypevr
  34985. #: guix-git/doc/guix.texi:23654
  34986. #, no-wrap
  34987. msgid "{@code{prosody-configuration} parameter} string component-interface"
  34988. msgstr ""
  34989. #. type: deftypevr
  34990. #: guix-git/doc/guix.texi:23657
  34991. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  34992. msgstr ""
  34993. #. type: deftypevr
  34994. #: guix-git/doc/guix.texi:23659
  34995. #, no-wrap
  34996. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  34997. msgstr ""
  34998. #. type: deftypevr
  34999. #: guix-git/doc/guix.texi:23661
  35000. msgid "Raw content that will be added to the configuration file."
  35001. msgstr ""
  35002. #. type: Plain text
  35003. #: guix-git/doc/guix.texi:23669
  35004. 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:"
  35005. msgstr ""
  35006. #. type: deftypevr
  35007. #: guix-git/doc/guix.texi:23670
  35008. #, no-wrap
  35009. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  35010. msgstr ""
  35011. #. type: deftypevr
  35012. #: guix-git/doc/guix.texi:23672
  35013. msgid "The prosody package."
  35014. msgstr ""
  35015. #. type: deftypevr
  35016. #: guix-git/doc/guix.texi:23674
  35017. #, no-wrap
  35018. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  35019. msgstr ""
  35020. #. type: deftypevr
  35021. #: guix-git/doc/guix.texi:23676
  35022. msgid "The contents of the @code{prosody.cfg.lua} to use."
  35023. msgstr ""
  35024. #. type: Plain text
  35025. #: guix-git/doc/guix.texi:23680
  35026. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  35027. msgstr ""
  35028. #. type: lisp
  35029. #: guix-git/doc/guix.texi:23685
  35030. #, no-wrap
  35031. msgid ""
  35032. "(service prosody-service-type\n"
  35033. " (opaque-prosody-configuration\n"
  35034. " (prosody.cfg.lua \"\")))\n"
  35035. msgstr ""
  35036. #. type: subsubheading
  35037. #: guix-git/doc/guix.texi:23689
  35038. #, no-wrap
  35039. msgid "BitlBee Service"
  35040. msgstr ""
  35041. #. type: cindex
  35042. #: guix-git/doc/guix.texi:23691 guix-git/doc/guix.texi:23735
  35043. #, no-wrap
  35044. msgid "IRC (Internet Relay Chat)"
  35045. msgstr ""
  35046. #. type: cindex
  35047. #: guix-git/doc/guix.texi:23692
  35048. #, no-wrap
  35049. msgid "IRC gateway"
  35050. msgstr ""
  35051. #. type: Plain text
  35052. #: guix-git/doc/guix.texi:23695
  35053. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  35054. msgstr ""
  35055. #. type: defvr
  35056. #: guix-git/doc/guix.texi:23696
  35057. #, no-wrap
  35058. msgid "{Scheme Variable} bitlbee-service-type"
  35059. msgstr ""
  35060. #. type: defvr
  35061. #: guix-git/doc/guix.texi:23700
  35062. 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)."
  35063. msgstr ""
  35064. #. type: defvr
  35065. #: guix-git/doc/guix.texi:23703
  35066. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  35067. msgstr ""
  35068. #. type: lisp
  35069. #: guix-git/doc/guix.texi:23706
  35070. #, no-wrap
  35071. msgid "(service bitlbee-service-type)\n"
  35072. msgstr ""
  35073. #. type: deftp
  35074. #: guix-git/doc/guix.texi:23709
  35075. #, no-wrap
  35076. msgid "{Data Type} bitlbee-configuration"
  35077. msgstr ""
  35078. #. type: deftp
  35079. #: guix-git/doc/guix.texi:23711
  35080. msgid "This is the configuration for BitlBee, with the following fields:"
  35081. msgstr ""
  35082. #. type: item
  35083. #: guix-git/doc/guix.texi:23713
  35084. #, no-wrap
  35085. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  35086. msgstr ""
  35087. #. type: itemx
  35088. #: guix-git/doc/guix.texi:23714
  35089. #, no-wrap
  35090. msgid "@code{port} (default: @code{6667})"
  35091. msgstr ""
  35092. #. type: table
  35093. #: guix-git/doc/guix.texi:23717
  35094. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  35095. msgstr ""
  35096. #. type: table
  35097. #: guix-git/doc/guix.texi:23721
  35098. 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."
  35099. msgstr ""
  35100. #. type: item
  35101. #: guix-git/doc/guix.texi:23722
  35102. #, no-wrap
  35103. msgid "@code{bitlbee} (default: @code{bitlbee})"
  35104. msgstr ""
  35105. #. type: table
  35106. #: guix-git/doc/guix.texi:23724
  35107. msgid "The BitlBee package to use."
  35108. msgstr ""
  35109. #. type: item
  35110. #: guix-git/doc/guix.texi:23725
  35111. #, no-wrap
  35112. msgid "@code{plugins} (default: @code{'()})"
  35113. msgstr ""
  35114. #. type: table
  35115. #: guix-git/doc/guix.texi:23727
  35116. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  35117. msgstr ""
  35118. #. type: table
  35119. #: guix-git/doc/guix.texi:23730
  35120. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  35121. msgstr ""
  35122. #. type: subsubheading
  35123. #: guix-git/doc/guix.texi:23733
  35124. #, no-wrap
  35125. msgid "Quassel Service"
  35126. msgstr ""
  35127. #. type: Plain text
  35128. #: guix-git/doc/guix.texi:23739
  35129. 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."
  35130. msgstr ""
  35131. #. type: defvr
  35132. #: guix-git/doc/guix.texi:23740
  35133. #, no-wrap
  35134. msgid "{Scheme Variable} quassel-service-type"
  35135. msgstr ""
  35136. #. type: defvr
  35137. #: guix-git/doc/guix.texi:23744
  35138. 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)."
  35139. msgstr ""
  35140. #. type: deftp
  35141. #: guix-git/doc/guix.texi:23746
  35142. #, no-wrap
  35143. msgid "{Data Type} quassel-configuration"
  35144. msgstr ""
  35145. #. type: deftp
  35146. #: guix-git/doc/guix.texi:23748
  35147. msgid "This is the configuration for Quassel, with the following fields:"
  35148. msgstr ""
  35149. #. type: item
  35150. #: guix-git/doc/guix.texi:23750
  35151. #, no-wrap
  35152. msgid "@code{quassel} (default: @code{quassel})"
  35153. msgstr ""
  35154. #. type: table
  35155. #: guix-git/doc/guix.texi:23752
  35156. msgid "The Quassel package to use."
  35157. msgstr ""
  35158. #. type: item
  35159. #: guix-git/doc/guix.texi:23753
  35160. #, no-wrap
  35161. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  35162. msgstr ""
  35163. #. type: item
  35164. #: guix-git/doc/guix.texi:23754
  35165. #, no-wrap
  35166. msgid "@code{port} (default: @code{4242})"
  35167. msgstr ""
  35168. #. type: table
  35169. #: guix-git/doc/guix.texi:23758
  35170. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  35171. msgstr ""
  35172. #. type: item
  35173. #: guix-git/doc/guix.texi:23759
  35174. #, no-wrap
  35175. msgid "@code{loglevel} (default: @code{\"Info\"})"
  35176. msgstr ""
  35177. #. type: table
  35178. #: guix-git/doc/guix.texi:23762
  35179. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  35180. msgstr ""
  35181. #. type: cindex
  35182. #: guix-git/doc/guix.texi:23768
  35183. #, no-wrap
  35184. msgid "telephony, services"
  35185. msgstr ""
  35186. #. type: Plain text
  35187. #: guix-git/doc/guix.texi:23772
  35188. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  35189. msgstr ""
  35190. #. type: subsubheading
  35191. #: guix-git/doc/guix.texi:23773
  35192. #, no-wrap
  35193. msgid "Jami"
  35194. msgstr ""
  35195. #. type: cindex
  35196. #: guix-git/doc/guix.texi:23775
  35197. #, no-wrap
  35198. msgid "jami, service"
  35199. msgstr ""
  35200. #. type: Plain text
  35201. #: guix-git/doc/guix.texi:23781
  35202. 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:"
  35203. msgstr ""
  35204. #. type: lisp
  35205. #: guix-git/doc/guix.texi:23790
  35206. #, no-wrap
  35207. msgid ""
  35208. "(service jami-service-type\n"
  35209. " (jami-configuration\n"
  35210. " (accounts\n"
  35211. " (list (jami-account\n"
  35212. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  35213. " (jami-account\n"
  35214. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  35215. msgstr ""
  35216. #. type: Plain text
  35217. #: guix-git/doc/guix.texi:23795
  35218. 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."
  35219. msgstr ""
  35220. #. type: Plain text
  35221. #: guix-git/doc/guix.texi:23800
  35222. 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}."
  35223. msgstr ""
  35224. #. type: Plain text
  35225. #: guix-git/doc/guix.texi:23803
  35226. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  35227. msgstr ""
  35228. #. type: lisp
  35229. #: guix-git/doc/guix.texi:23815
  35230. #, no-wrap
  35231. msgid ""
  35232. "(service jami-service-type\n"
  35233. " (jami-configuration\n"
  35234. " (accounts\n"
  35235. " (list (jami-account\n"
  35236. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  35237. " (peer-discovery? #t)\n"
  35238. " (rendezvous-point? #t)\n"
  35239. " (allowed-contacts\n"
  35240. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  35241. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  35242. msgstr ""
  35243. #. type: Plain text
  35244. #: guix-git/doc/guix.texi:23821
  35245. 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."
  35246. msgstr ""
  35247. #. type: Plain text
  35248. #: guix-git/doc/guix.texi:23824
  35249. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  35250. msgstr ""
  35251. #. type: example
  35252. #: guix-git/doc/guix.texi:23836
  35253. #, no-wrap
  35254. msgid ""
  35255. "# herd doc jami list-actions\n"
  35256. "(list-accounts\n"
  35257. " list-account-details\n"
  35258. " list-banned-contacts\n"
  35259. " list-contacts\n"
  35260. " list-moderators\n"
  35261. " add-moderator\n"
  35262. " ban-contact\n"
  35263. " enable-account\n"
  35264. " disable-account)\n"
  35265. msgstr ""
  35266. #. type: Plain text
  35267. #: guix-git/doc/guix.texi:23843
  35268. 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."
  35269. msgstr ""
  35270. #. type: Plain text
  35271. #: guix-git/doc/guix.texi:23849
  35272. 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:"
  35273. msgstr ""
  35274. #. type: example
  35275. #: guix-git/doc/guix.texi:23853
  35276. #, no-wrap
  35277. msgid ""
  35278. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  35279. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  35280. "\n"
  35281. msgstr ""
  35282. #. type: example
  35283. #: guix-git/doc/guix.texi:23857
  35284. #, no-wrap
  35285. msgid ""
  35286. "# herd list-moderators jami\n"
  35287. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  35288. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  35289. "\n"
  35290. msgstr ""
  35291. #. type: Plain text
  35292. #: guix-git/doc/guix.texi:23862
  35293. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  35294. msgstr ""
  35295. #. type: example
  35296. #: guix-git/doc/guix.texi:23865
  35297. #, no-wrap
  35298. msgid ""
  35299. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  35300. "\n"
  35301. msgstr ""
  35302. #. type: example
  35303. #: guix-git/doc/guix.texi:23869
  35304. #, no-wrap
  35305. msgid ""
  35306. "# herd list-banned-contacts jami\n"
  35307. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  35308. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  35309. "\n"
  35310. msgstr ""
  35311. #. type: Plain text
  35312. #: guix-git/doc/guix.texi:23873
  35313. msgid "Banned contacts are also stripped from their moderation privileges."
  35314. msgstr ""
  35315. #. type: Plain text
  35316. #: guix-git/doc/guix.texi:23878
  35317. 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:"
  35318. msgstr ""
  35319. #. type: example
  35320. #: guix-git/doc/guix.texi:23881
  35321. #, no-wrap
  35322. msgid ""
  35323. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  35324. "\n"
  35325. msgstr ""
  35326. #. type: example
  35327. #: guix-git/doc/guix.texi:23885
  35328. #, no-wrap
  35329. msgid ""
  35330. "# herd list-accounts jami\n"
  35331. "The following Jami accounts are available:\n"
  35332. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  35333. "\n"
  35334. msgstr ""
  35335. #. type: Plain text
  35336. #: guix-git/doc/guix.texi:23896
  35337. 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:"
  35338. msgstr ""
  35339. #. type: example
  35340. #: guix-git/doc/guix.texi:23901
  35341. #, no-wrap
  35342. msgid ""
  35343. "# herd list-account-details jami | \\\n"
  35344. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  35345. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  35346. msgstr ""
  35347. #. type: Plain text
  35348. #: guix-git/doc/guix.texi:23904
  35349. msgid "The remaining actions should be self-explanatory."
  35350. msgstr ""
  35351. #. type: Plain text
  35352. #: guix-git/doc/guix.texi:23906
  35353. msgid "The complete set of available configuration options is detailed below."
  35354. msgstr ""
  35355. #. type: deftp
  35356. #: guix-git/doc/guix.texi:23910
  35357. #, no-wrap
  35358. msgid "{Data Type} jami-configuration"
  35359. msgstr ""
  35360. #. type: deftp
  35361. #: guix-git/doc/guix.texi:23912
  35362. msgid "Available @code{jami-configuration} fields are:"
  35363. msgstr ""
  35364. #. type: item
  35365. #: guix-git/doc/guix.texi:23914
  35366. #, no-wrap
  35367. msgid "@code{jamid} (default: @code{libring}) (type: package)"
  35368. msgstr ""
  35369. #. type: table
  35370. #: guix-git/doc/guix.texi:23916
  35371. msgid "The Jami daemon package to use."
  35372. msgstr ""
  35373. #. type: item
  35374. #: guix-git/doc/guix.texi:23917
  35375. #, no-wrap
  35376. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  35377. msgstr ""
  35378. #. type: table
  35379. #: guix-git/doc/guix.texi:23919
  35380. msgid "The D-Bus package to use to start the required D-Bus session."
  35381. msgstr ""
  35382. #. type: item
  35383. #: guix-git/doc/guix.texi:23920
  35384. #, no-wrap
  35385. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  35386. msgstr ""
  35387. #. type: table
  35388. #: guix-git/doc/guix.texi:23922
  35389. msgid "The nss-certs package to use to provide TLS certificates."
  35390. msgstr ""
  35391. #. type: item
  35392. #: guix-git/doc/guix.texi:23923
  35393. #, no-wrap
  35394. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  35395. msgstr ""
  35396. #. type: table
  35397. #: guix-git/doc/guix.texi:23925
  35398. msgid "Whether to enable logging to syslog."
  35399. msgstr ""
  35400. #. type: item
  35401. #: guix-git/doc/guix.texi:23926
  35402. #, no-wrap
  35403. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  35404. msgstr ""
  35405. #. type: table
  35406. #: guix-git/doc/guix.texi:23928
  35407. msgid "Whether to enable debug level messages."
  35408. msgstr ""
  35409. #. type: item
  35410. #: guix-git/doc/guix.texi:23929
  35411. #, no-wrap
  35412. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  35413. msgstr ""
  35414. #. type: table
  35415. #: guix-git/doc/guix.texi:23931
  35416. msgid "Whether to force automatic answer to incoming calls."
  35417. msgstr ""
  35418. #. type: item
  35419. #: guix-git/doc/guix.texi:23932
  35420. #, no-wrap
  35421. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  35422. msgstr ""
  35423. #. type: table
  35424. #: guix-git/doc/guix.texi:23937
  35425. 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."
  35426. msgstr ""
  35427. #. type: deftp
  35428. #: guix-git/doc/guix.texi:23943
  35429. #, no-wrap
  35430. msgid "{Data Type} jami-account"
  35431. msgstr ""
  35432. #. type: deftp
  35433. #: guix-git/doc/guix.texi:23945
  35434. msgid "Available @code{jami-account} fields are:"
  35435. msgstr ""
  35436. #. type: item
  35437. #: guix-git/doc/guix.texi:23947
  35438. #, no-wrap
  35439. msgid "@code{archive} (type: string-or-computed-file)"
  35440. msgstr ""
  35441. #. type: table
  35442. #: guix-git/doc/guix.texi:23953
  35443. 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."
  35444. msgstr ""
  35445. #. type: item
  35446. #: guix-git/doc/guix.texi:23954
  35447. #, no-wrap
  35448. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  35449. msgstr ""
  35450. #. type: table
  35451. #: guix-git/doc/guix.texi:23961
  35452. 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."
  35453. msgstr ""
  35454. #. type: item
  35455. #: guix-git/doc/guix.texi:23962
  35456. #, no-wrap
  35457. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  35458. msgstr ""
  35459. #. type: table
  35460. #: guix-git/doc/guix.texi:23968
  35461. 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."
  35462. msgstr ""
  35463. #. type: item
  35464. #: guix-git/doc/guix.texi:23969
  35465. #, no-wrap
  35466. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  35467. msgstr ""
  35468. #. type: table
  35469. #: guix-git/doc/guix.texi:23973
  35470. 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."
  35471. msgstr ""
  35472. #. type: item
  35473. #: guix-git/doc/guix.texi:23974
  35474. #, no-wrap
  35475. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  35476. msgstr ""
  35477. #. type: table
  35478. #: guix-git/doc/guix.texi:23980
  35479. 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."
  35480. msgstr ""
  35481. #. type: item
  35482. #: guix-git/doc/guix.texi:23981
  35483. #, no-wrap
  35484. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  35485. msgstr ""
  35486. #. type: table
  35487. #: guix-git/doc/guix.texi:23985
  35488. 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."
  35489. msgstr ""
  35490. #. type: item
  35491. #: guix-git/doc/guix.texi:23986
  35492. #, no-wrap
  35493. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  35494. msgstr ""
  35495. #. type: table
  35496. #: guix-git/doc/guix.texi:23989
  35497. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  35498. msgstr ""
  35499. #. type: cindex
  35500. #: guix-git/doc/guix.texi:23994 guix-git/doc/guix.texi:23996
  35501. #, no-wrap
  35502. msgid "Murmur (VoIP server)"
  35503. msgstr ""
  35504. #. type: cindex
  35505. #: guix-git/doc/guix.texi:23997
  35506. #, no-wrap
  35507. msgid "VoIP server"
  35508. msgstr ""
  35509. #. type: Plain text
  35510. #: guix-git/doc/guix.texi:24001
  35511. 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."
  35512. msgstr ""
  35513. #. type: deftp
  35514. #: guix-git/doc/guix.texi:24002
  35515. #, no-wrap
  35516. msgid "{Data Type} murmur-configuration"
  35517. msgstr ""
  35518. #. type: deftp
  35519. #: guix-git/doc/guix.texi:24005
  35520. msgid "The service type for the Murmur server. An example configuration can look like this:"
  35521. msgstr ""
  35522. #. type: lisp
  35523. #: guix-git/doc/guix.texi:24014
  35524. #, no-wrap
  35525. msgid ""
  35526. "(service murmur-service-type\n"
  35527. " (murmur-configuration\n"
  35528. " (welcome-text\n"
  35529. " \"Welcome to this Mumble server running on Guix!\")\n"
  35530. " (cert-required? #t) ;disallow text password logins\n"
  35531. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  35532. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  35533. msgstr ""
  35534. #. type: deftp
  35535. #: guix-git/doc/guix.texi:24018
  35536. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  35537. msgstr ""
  35538. #. type: deftp
  35539. #: guix-git/doc/guix.texi:24027
  35540. 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."
  35541. msgstr ""
  35542. #. type: deftp
  35543. #: guix-git/doc/guix.texi:24029
  35544. msgid "Available @code{murmur-configuration} fields are:"
  35545. msgstr ""
  35546. #. type: item
  35547. #: guix-git/doc/guix.texi:24031
  35548. #, no-wrap
  35549. msgid "@code{package} (default: @code{mumble})"
  35550. msgstr ""
  35551. #. type: table
  35552. #: guix-git/doc/guix.texi:24033
  35553. msgid "Package that contains @code{bin/murmurd}."
  35554. msgstr ""
  35555. #. type: item
  35556. #: guix-git/doc/guix.texi:24034
  35557. #, no-wrap
  35558. msgid "@code{user} (default: @code{\"murmur\"})"
  35559. msgstr ""
  35560. #. type: table
  35561. #: guix-git/doc/guix.texi:24036
  35562. msgid "User who will run the Murmur server."
  35563. msgstr ""
  35564. #. type: item
  35565. #: guix-git/doc/guix.texi:24037
  35566. #, no-wrap
  35567. msgid "@code{group} (default: @code{\"murmur\"})"
  35568. msgstr ""
  35569. #. type: table
  35570. #: guix-git/doc/guix.texi:24039
  35571. msgid "Group of the user who will run the murmur server."
  35572. msgstr ""
  35573. #. type: item
  35574. #: guix-git/doc/guix.texi:24040
  35575. #, no-wrap
  35576. msgid "@code{port} (default: @code{64738})"
  35577. msgstr ""
  35578. #. type: table
  35579. #: guix-git/doc/guix.texi:24042
  35580. msgid "Port on which the server will listen."
  35581. msgstr ""
  35582. #. type: item
  35583. #: guix-git/doc/guix.texi:24043
  35584. #, no-wrap
  35585. msgid "@code{welcome-text} (default: @code{\"\"})"
  35586. msgstr ""
  35587. #. type: table
  35588. #: guix-git/doc/guix.texi:24045
  35589. msgid "Welcome text sent to clients when they connect."
  35590. msgstr ""
  35591. #. type: item
  35592. #: guix-git/doc/guix.texi:24046
  35593. #, no-wrap
  35594. msgid "@code{server-password} (default: @code{\"\"})"
  35595. msgstr ""
  35596. #. type: table
  35597. #: guix-git/doc/guix.texi:24048
  35598. msgid "Password the clients have to enter in order to connect."
  35599. msgstr ""
  35600. #. type: item
  35601. #: guix-git/doc/guix.texi:24049
  35602. #, no-wrap
  35603. msgid "@code{max-users} (default: @code{100})"
  35604. msgstr ""
  35605. #. type: table
  35606. #: guix-git/doc/guix.texi:24051
  35607. msgid "Maximum of users that can be connected to the server at once."
  35608. msgstr ""
  35609. #. type: item
  35610. #: guix-git/doc/guix.texi:24052
  35611. #, no-wrap
  35612. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  35613. msgstr ""
  35614. #. type: table
  35615. #: guix-git/doc/guix.texi:24054
  35616. msgid "Maximum voice traffic a user can send per second."
  35617. msgstr ""
  35618. #. type: item
  35619. #: guix-git/doc/guix.texi:24055
  35620. #, no-wrap
  35621. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  35622. msgstr ""
  35623. #. type: table
  35624. #: guix-git/doc/guix.texi:24058
  35625. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  35626. msgstr ""
  35627. #. type: item
  35628. #: guix-git/doc/guix.texi:24059
  35629. #, no-wrap
  35630. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  35631. msgstr ""
  35632. #. type: table
  35633. #: guix-git/doc/guix.texi:24062
  35634. msgid "File name of the log file. The service's user will become the owner of the directory."
  35635. msgstr ""
  35636. #. type: item
  35637. #: guix-git/doc/guix.texi:24063
  35638. #, no-wrap
  35639. msgid "@code{autoban-attempts} (default: @code{10})"
  35640. msgstr ""
  35641. #. type: table
  35642. #: guix-git/doc/guix.texi:24066
  35643. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  35644. msgstr ""
  35645. #. type: item
  35646. #: guix-git/doc/guix.texi:24067
  35647. #, no-wrap
  35648. msgid "@code{autoban-timeframe} (default: @code{120})"
  35649. msgstr ""
  35650. #. type: table
  35651. #: guix-git/doc/guix.texi:24069
  35652. msgid "Timeframe for autoban in seconds."
  35653. msgstr ""
  35654. #. type: item
  35655. #: guix-git/doc/guix.texi:24070
  35656. #, no-wrap
  35657. msgid "@code{autoban-time} (default: @code{300})"
  35658. msgstr ""
  35659. #. type: table
  35660. #: guix-git/doc/guix.texi:24073
  35661. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  35662. msgstr ""
  35663. #. type: item
  35664. #: guix-git/doc/guix.texi:24074
  35665. #, no-wrap
  35666. msgid "@code{opus-threshold} (default: @code{100})"
  35667. msgstr ""
  35668. #. type: table
  35669. #: guix-git/doc/guix.texi:24077
  35670. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  35671. msgstr ""
  35672. #. type: item
  35673. #: guix-git/doc/guix.texi:24078
  35674. #, no-wrap
  35675. msgid "@code{channel-nesting-limit} (default: @code{10})"
  35676. msgstr ""
  35677. #. type: table
  35678. #: guix-git/doc/guix.texi:24080
  35679. msgid "How deep channels can be nested at maximum."
  35680. msgstr ""
  35681. #. type: item
  35682. #: guix-git/doc/guix.texi:24081
  35683. #, no-wrap
  35684. msgid "@code{channelname-regex} (default: @code{#f})"
  35685. msgstr ""
  35686. #. type: table
  35687. #: guix-git/doc/guix.texi:24083
  35688. msgid "A string in form of a Qt regular expression that channel names must conform to."
  35689. msgstr ""
  35690. #. type: item
  35691. #: guix-git/doc/guix.texi:24084
  35692. #, no-wrap
  35693. msgid "@code{username-regex} (default: @code{#f})"
  35694. msgstr ""
  35695. #. type: table
  35696. #: guix-git/doc/guix.texi:24086
  35697. msgid "A string in form of a Qt regular expression that user names must conform to."
  35698. msgstr ""
  35699. #. type: item
  35700. #: guix-git/doc/guix.texi:24087
  35701. #, no-wrap
  35702. msgid "@code{text-message-length} (default: @code{5000})"
  35703. msgstr ""
  35704. #. type: table
  35705. #: guix-git/doc/guix.texi:24089
  35706. msgid "Maximum size in bytes that a user can send in one text chat message."
  35707. msgstr ""
  35708. #. type: item
  35709. #: guix-git/doc/guix.texi:24090
  35710. #, no-wrap
  35711. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  35712. msgstr ""
  35713. #. type: table
  35714. #: guix-git/doc/guix.texi:24092
  35715. msgid "Maximum size in bytes that a user can send in one image message."
  35716. msgstr ""
  35717. #. type: item
  35718. #: guix-git/doc/guix.texi:24093
  35719. #, no-wrap
  35720. msgid "@code{cert-required?} (default: @code{#f})"
  35721. msgstr ""
  35722. #. type: table
  35723. #: guix-git/doc/guix.texi:24096
  35724. 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."
  35725. msgstr ""
  35726. #. type: item
  35727. #: guix-git/doc/guix.texi:24097
  35728. #, no-wrap
  35729. msgid "@code{remember-channel?} (default: @code{#f})"
  35730. msgstr ""
  35731. #. type: table
  35732. #: guix-git/doc/guix.texi:24100
  35733. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  35734. msgstr ""
  35735. #. type: item
  35736. #: guix-git/doc/guix.texi:24101
  35737. #, no-wrap
  35738. msgid "@code{allow-html?} (default: @code{#f})"
  35739. msgstr ""
  35740. #. type: table
  35741. #: guix-git/doc/guix.texi:24103
  35742. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  35743. msgstr ""
  35744. #. type: item
  35745. #: guix-git/doc/guix.texi:24104
  35746. #, no-wrap
  35747. msgid "@code{allow-ping?} (default: @code{#f})"
  35748. msgstr ""
  35749. #. type: table
  35750. #: guix-git/doc/guix.texi:24108
  35751. 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."
  35752. msgstr ""
  35753. #. type: table
  35754. #: guix-git/doc/guix.texi:24110
  35755. msgid "Disabling this setting will prevent public listing of the server."
  35756. msgstr ""
  35757. #. type: item
  35758. #: guix-git/doc/guix.texi:24111
  35759. #, no-wrap
  35760. msgid "@code{bonjour?} (default: @code{#f})"
  35761. msgstr ""
  35762. #. type: table
  35763. #: guix-git/doc/guix.texi:24113
  35764. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  35765. msgstr ""
  35766. #. type: item
  35767. #: guix-git/doc/guix.texi:24114
  35768. #, no-wrap
  35769. msgid "@code{send-version?} (default: @code{#f})"
  35770. msgstr ""
  35771. #. type: table
  35772. #: guix-git/doc/guix.texi:24116
  35773. msgid "Should the murmur server version be exposed in ping requests."
  35774. msgstr ""
  35775. #. type: item
  35776. #: guix-git/doc/guix.texi:24117
  35777. #, no-wrap
  35778. msgid "@code{log-days} (default: @code{31})"
  35779. msgstr ""
  35780. #. type: table
  35781. #: guix-git/doc/guix.texi:24121
  35782. 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."
  35783. msgstr ""
  35784. #. type: item
  35785. #: guix-git/doc/guix.texi:24122
  35786. #, no-wrap
  35787. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  35788. msgstr ""
  35789. #. type: table
  35790. #: guix-git/doc/guix.texi:24124
  35791. msgid "Should logged ips be obfuscated to protect the privacy of users."
  35792. msgstr ""
  35793. #. type: item
  35794. #: guix-git/doc/guix.texi:24125
  35795. #, no-wrap
  35796. msgid "@code{ssl-cert} (default: @code{#f})"
  35797. msgstr ""
  35798. #. type: table
  35799. #: guix-git/doc/guix.texi:24127
  35800. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  35801. msgstr ""
  35802. #. type: lisp
  35803. #: guix-git/doc/guix.texi:24130
  35804. #, no-wrap
  35805. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  35806. msgstr ""
  35807. #. type: item
  35808. #: guix-git/doc/guix.texi:24131
  35809. #, no-wrap
  35810. msgid "@code{ssl-key} (default: @code{#f})"
  35811. msgstr ""
  35812. #. type: table
  35813. #: guix-git/doc/guix.texi:24133
  35814. msgid "Filepath to the ssl private key used for encrypted connections."
  35815. msgstr ""
  35816. #. type: lisp
  35817. #: guix-git/doc/guix.texi:24135
  35818. #, no-wrap
  35819. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  35820. msgstr ""
  35821. #. type: item
  35822. #: guix-git/doc/guix.texi:24137
  35823. #, no-wrap
  35824. msgid "@code{ssl-dh-params} (default: @code{#f})"
  35825. msgstr ""
  35826. #. type: table
  35827. #: guix-git/doc/guix.texi:24142
  35828. 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."
  35829. msgstr ""
  35830. #. type: item
  35831. #: guix-git/doc/guix.texi:24143
  35832. #, no-wrap
  35833. msgid "@code{ssl-ciphers} (default: @code{#f})"
  35834. msgstr ""
  35835. #. type: table
  35836. #: guix-git/doc/guix.texi:24146
  35837. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  35838. msgstr ""
  35839. #. type: table
  35840. #: guix-git/doc/guix.texi:24150
  35841. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  35842. msgstr ""
  35843. #. type: table
  35844. #: guix-git/doc/guix.texi:24155
  35845. 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."
  35846. msgstr ""
  35847. #. type: table
  35848. #: guix-git/doc/guix.texi:24159
  35849. 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."
  35850. msgstr ""
  35851. #. type: item
  35852. #: guix-git/doc/guix.texi:24160
  35853. #, no-wrap
  35854. msgid "@code{public-registration} (default: @code{#f})"
  35855. msgstr ""
  35856. #. type: table
  35857. #: guix-git/doc/guix.texi:24162
  35858. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  35859. msgstr ""
  35860. #. type: table
  35861. #: guix-git/doc/guix.texi:24167
  35862. 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}."
  35863. msgstr ""
  35864. #. type: table
  35865. #: guix-git/doc/guix.texi:24169
  35866. msgid "It might take a few hours until it shows up in the public list."
  35867. msgstr ""
  35868. #. type: item
  35869. #: guix-git/doc/guix.texi:24170 guix-git/doc/guix.texi:26407
  35870. #, no-wrap
  35871. msgid "@code{file} (default: @code{#f})"
  35872. msgstr ""
  35873. #. type: table
  35874. #: guix-git/doc/guix.texi:24172
  35875. msgid "Optional alternative override for this configuration."
  35876. msgstr ""
  35877. #. type: deftp
  35878. #: guix-git/doc/guix.texi:24175
  35879. #, no-wrap
  35880. msgid "{Data Type} murmur-public-registration-configuration"
  35881. msgstr ""
  35882. #. type: deftp
  35883. #: guix-git/doc/guix.texi:24177
  35884. msgid "Configuration for public registration of a murmur service."
  35885. msgstr ""
  35886. #. type: table
  35887. #: guix-git/doc/guix.texi:24181
  35888. msgid "This is a display name for your server. Not to be confused with the hostname."
  35889. msgstr ""
  35890. #. type: itemx
  35891. #: guix-git/doc/guix.texi:24182 guix-git/doc/guix.texi:33135
  35892. #: guix-git/doc/guix.texi:34304
  35893. #, no-wrap
  35894. msgid "password"
  35895. msgstr ""
  35896. #. type: table
  35897. #: guix-git/doc/guix.texi:24185
  35898. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  35899. msgstr ""
  35900. #. type: table
  35901. #: guix-git/doc/guix.texi:24189
  35902. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  35903. msgstr ""
  35904. #. type: item
  35905. #: guix-git/doc/guix.texi:24190 guix-git/doc/guix.texi:27292
  35906. #, no-wrap
  35907. msgid "@code{hostname} (default: @code{#f})"
  35908. msgstr ""
  35909. #. type: table
  35910. #: guix-git/doc/guix.texi:24193
  35911. 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."
  35912. msgstr ""
  35913. #. type: Plain text
  35914. #: guix-git/doc/guix.texi:24203
  35915. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  35916. msgstr ""
  35917. #. type: subsubheading
  35918. #: guix-git/doc/guix.texi:24204
  35919. #, no-wrap
  35920. msgid "Transmission Daemon Service"
  35921. msgstr ""
  35922. #. type: Plain text
  35923. #: guix-git/doc/guix.texi:24212
  35924. 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."
  35925. msgstr ""
  35926. #. type: deffn
  35927. #: guix-git/doc/guix.texi:24213
  35928. #, no-wrap
  35929. msgid "{Scheme Variable} transmission-daemon-service-type"
  35930. msgstr ""
  35931. #. type: deffn
  35932. #: guix-git/doc/guix.texi:24217
  35933. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  35934. msgstr ""
  35935. #. type: lisp
  35936. #: guix-git/doc/guix.texi:24228
  35937. #, no-wrap
  35938. msgid ""
  35939. "(service transmission-daemon-service-type\n"
  35940. " (transmission-daemon-configuration\n"
  35941. " ;; Restrict access to the RPC (\"control\") interface\n"
  35942. " (rpc-authentication-required? #t)\n"
  35943. " (rpc-username \"transmission\")\n"
  35944. " (rpc-password\n"
  35945. " (transmission-password-hash\n"
  35946. " \"transmission\" ; desired password\n"
  35947. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  35948. "\n"
  35949. msgstr ""
  35950. #. type: lisp
  35951. #: guix-git/doc/guix.texi:24233
  35952. #, no-wrap
  35953. msgid ""
  35954. " ;; Accept requests from this and other hosts on the\n"
  35955. " ;; local network\n"
  35956. " (rpc-whitelist-enabled? #t)\n"
  35957. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  35958. "\n"
  35959. msgstr ""
  35960. #. type: lisp
  35961. #: guix-git/doc/guix.texi:24237
  35962. #, no-wrap
  35963. msgid ""
  35964. " ;; Limit bandwidth use during work hours\n"
  35965. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  35966. " (alt-speed-up 512) ; 512 kB/s\n"
  35967. "\n"
  35968. msgstr ""
  35969. #. type: lisp
  35970. #: guix-git/doc/guix.texi:24244
  35971. #, no-wrap
  35972. msgid ""
  35973. " (alt-speed-time-enabled? #t)\n"
  35974. " (alt-speed-time-day 'weekdays)\n"
  35975. " (alt-speed-time-begin\n"
  35976. " (+ (* 60 8) 30)) ; 8:30 am\n"
  35977. " (alt-speed-time-end\n"
  35978. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  35979. msgstr ""
  35980. #. type: Plain text
  35981. #: guix-git/doc/guix.texi:24257
  35982. 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."
  35983. msgstr ""
  35984. #. type: Plain text
  35985. #: guix-git/doc/guix.texi:24265
  35986. 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."
  35987. msgstr ""
  35988. #. type: deffn
  35989. #: guix-git/doc/guix.texi:24266
  35990. #, no-wrap
  35991. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  35992. msgstr ""
  35993. #. type: deffn
  35994. #: guix-git/doc/guix.texi:24270
  35995. 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."
  35996. msgstr ""
  35997. #. type: deffn
  35998. #: guix-git/doc/guix.texi:24274
  35999. 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."
  36000. msgstr ""
  36001. #. type: deffn
  36002. #: guix-git/doc/guix.texi:24276
  36003. #, no-wrap
  36004. msgid "{Scheme Procedure} transmission-random-salt"
  36005. msgstr ""
  36006. #. type: deffn
  36007. #: guix-git/doc/guix.texi:24280
  36008. 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."
  36009. msgstr ""
  36010. #. type: Plain text
  36011. #: guix-git/doc/guix.texi:24286
  36012. 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:"
  36013. msgstr ""
  36014. #. type: example
  36015. #: guix-git/doc/guix.texi:24292
  36016. #, no-wrap
  36017. msgid ""
  36018. "$ guix repl\n"
  36019. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  36020. "scheme@@(guix-user)> (transmission-random-salt)\n"
  36021. "$1 = \"uKd1uMs9\"\n"
  36022. msgstr ""
  36023. #. type: Plain text
  36024. #: guix-git/doc/guix.texi:24295
  36025. msgid "Alternatively, a complete password hash can generated in a single step:"
  36026. msgstr ""
  36027. #. type: example
  36028. #: guix-git/doc/guix.texi:24300
  36029. #, no-wrap
  36030. msgid ""
  36031. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  36032. "(transmission-random-salt))\n"
  36033. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  36034. msgstr ""
  36035. #. type: Plain text
  36036. #: guix-git/doc/guix.texi:24305
  36037. 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."
  36038. msgstr ""
  36039. #. type: Plain text
  36040. #: guix-git/doc/guix.texi:24314
  36041. 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."
  36042. msgstr ""
  36043. #. type: Plain text
  36044. #: guix-git/doc/guix.texi:24321
  36045. 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.)"
  36046. msgstr ""
  36047. #. type: Plain text
  36048. #: guix-git/doc/guix.texi:24326
  36049. 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:"
  36050. msgstr ""
  36051. #. type: example
  36052. #: guix-git/doc/guix.texi:24329
  36053. #, no-wrap
  36054. msgid "# herd reload transmission-daemon\n"
  36055. msgstr ""
  36056. #. type: Plain text
  36057. #: guix-git/doc/guix.texi:24333
  36058. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  36059. msgstr ""
  36060. #. type: deftp
  36061. #: guix-git/doc/guix.texi:24334
  36062. #, no-wrap
  36063. msgid "{Data Type} transmission-daemon-configuration"
  36064. msgstr ""
  36065. #. type: deftp
  36066. #: guix-git/doc/guix.texi:24338
  36067. 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."
  36068. msgstr ""
  36069. #. type: Plain text
  36070. #: guix-git/doc/guix.texi:24352
  36071. msgid "Available @code{transmission-daemon-configuration} fields are:"
  36072. msgstr ""
  36073. #. type: deftypevr
  36074. #: guix-git/doc/guix.texi:24353
  36075. #, no-wrap
  36076. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  36077. msgstr ""
  36078. #. type: deftypevr
  36079. #: guix-git/doc/guix.texi:24355
  36080. msgid "The Transmission package to use."
  36081. msgstr ""
  36082. #. type: deftypevr
  36083. #: guix-git/doc/guix.texi:24358
  36084. #, no-wrap
  36085. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  36086. msgstr ""
  36087. #. type: deftypevr
  36088. #: guix-git/doc/guix.texi:24364
  36089. 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."
  36090. msgstr ""
  36091. #. type: deftypevr
  36092. #: guix-git/doc/guix.texi:24366 guix-git/doc/guix.texi:24738
  36093. #: guix-git/doc/guix.texi:32101 guix-git/doc/guix.texi:32336
  36094. #: guix-git/doc/guix.texi:32344 guix-git/doc/guix.texi:32352
  36095. msgid "Defaults to @samp{10}."
  36096. msgstr ""
  36097. #. type: deftypevr
  36098. #: guix-git/doc/guix.texi:24369
  36099. #, no-wrap
  36100. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  36101. msgstr ""
  36102. #. type: deftypevr
  36103. #: guix-git/doc/guix.texi:24371
  36104. msgid "The directory to which torrent files are downloaded."
  36105. msgstr ""
  36106. #. type: deftypevr
  36107. #: guix-git/doc/guix.texi:24373
  36108. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  36109. msgstr ""
  36110. #. type: deftypevr
  36111. #: guix-git/doc/guix.texi:24376
  36112. #, no-wrap
  36113. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  36114. msgstr ""
  36115. #. type: deftypevr
  36116. #: guix-git/doc/guix.texi:24381
  36117. 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}."
  36118. msgstr ""
  36119. #. type: deftypevr
  36120. #: guix-git/doc/guix.texi:24386
  36121. #, no-wrap
  36122. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  36123. msgstr ""
  36124. #. type: deftypevr
  36125. #: guix-git/doc/guix.texi:24389
  36126. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  36127. msgstr ""
  36128. #. type: deftypevr
  36129. #: guix-git/doc/guix.texi:24394
  36130. #, no-wrap
  36131. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  36132. msgstr ""
  36133. #. type: deftypevr
  36134. #: guix-git/doc/guix.texi:24397
  36135. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  36136. msgstr ""
  36137. #. type: deftypevr
  36138. #: guix-git/doc/guix.texi:24399
  36139. msgid "Defaults to @samp{18}."
  36140. msgstr ""
  36141. #. type: deftypevr
  36142. #: guix-git/doc/guix.texi:24402
  36143. #, no-wrap
  36144. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  36145. msgstr ""
  36146. #. type: deftypevr
  36147. #: guix-git/doc/guix.texi:24405
  36148. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  36149. msgstr ""
  36150. #. type: deftypevr
  36151. #: guix-git/doc/guix.texi:24410
  36152. #, no-wrap
  36153. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  36154. msgstr ""
  36155. #. type: deftypevr
  36156. #: guix-git/doc/guix.texi:24415
  36157. 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."
  36158. msgstr ""
  36159. #. type: deftypevr
  36160. #: guix-git/doc/guix.texi:24417
  36161. msgid "Defaults to @samp{fast}."
  36162. msgstr ""
  36163. #. type: deftypevr
  36164. #: guix-git/doc/guix.texi:24420
  36165. #, no-wrap
  36166. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  36167. msgstr ""
  36168. #. type: deftypevr
  36169. #: guix-git/doc/guix.texi:24425
  36170. 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})."
  36171. msgstr ""
  36172. #. type: deftypevr
  36173. #: guix-git/doc/guix.texi:24430
  36174. #, no-wrap
  36175. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  36176. msgstr ""
  36177. #. type: deftypevr
  36178. #: guix-git/doc/guix.texi:24433
  36179. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  36180. msgstr ""
  36181. #. type: deftypevr
  36182. #: guix-git/doc/guix.texi:24438
  36183. #, no-wrap
  36184. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  36185. msgstr ""
  36186. #. type: deftypevr
  36187. #: guix-git/doc/guix.texi:24442
  36188. 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?})."
  36189. msgstr ""
  36190. #. type: deftypevr
  36191. #: guix-git/doc/guix.texi:24447
  36192. #, no-wrap
  36193. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  36194. msgstr ""
  36195. #. type: deftypevr
  36196. #: guix-git/doc/guix.texi:24450
  36197. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  36198. msgstr ""
  36199. #. type: deftypevr
  36200. #: guix-git/doc/guix.texi:24455
  36201. #, no-wrap
  36202. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  36203. msgstr ""
  36204. #. type: deftypevr
  36205. #: guix-git/doc/guix.texi:24457
  36206. msgid "The default global-maximum download speed, in kilobytes per second."
  36207. msgstr ""
  36208. #. type: deftypevr
  36209. #: guix-git/doc/guix.texi:24462
  36210. #, no-wrap
  36211. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  36212. msgstr ""
  36213. #. type: deftypevr
  36214. #: guix-git/doc/guix.texi:24465
  36215. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  36216. msgstr ""
  36217. #. type: deftypevr
  36218. #: guix-git/doc/guix.texi:24470
  36219. #, no-wrap
  36220. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  36221. msgstr ""
  36222. #. type: deftypevr
  36223. #: guix-git/doc/guix.texi:24472
  36224. msgid "The default global-maximum upload speed, in kilobytes per second."
  36225. msgstr ""
  36226. #. type: deftypevr
  36227. #: guix-git/doc/guix.texi:24477
  36228. #, no-wrap
  36229. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  36230. msgstr ""
  36231. #. type: deftypevr
  36232. #: guix-git/doc/guix.texi:24483
  36233. 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?}."
  36234. msgstr ""
  36235. #. type: deftypevr
  36236. #: guix-git/doc/guix.texi:24488
  36237. #, no-wrap
  36238. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  36239. msgstr ""
  36240. #. type: deftypevr
  36241. #: guix-git/doc/guix.texi:24490
  36242. msgid "The alternate global-maximum download speed, in kilobytes per second."
  36243. msgstr ""
  36244. #. type: deftypevr
  36245. #: guix-git/doc/guix.texi:24492 guix-git/doc/guix.texi:24499
  36246. #: guix-git/doc/guix.texi:24671 guix-git/doc/guix.texi:32108
  36247. #: guix-git/doc/guix.texi:32123
  36248. msgid "Defaults to @samp{50}."
  36249. msgstr ""
  36250. #. type: deftypevr
  36251. #: guix-git/doc/guix.texi:24495
  36252. #, no-wrap
  36253. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  36254. msgstr ""
  36255. #. type: deftypevr
  36256. #: guix-git/doc/guix.texi:24497
  36257. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  36258. msgstr ""
  36259. #. type: deftypevr
  36260. #: guix-git/doc/guix.texi:24502
  36261. #, no-wrap
  36262. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  36263. msgstr ""
  36264. #. type: deftypevr
  36265. #: guix-git/doc/guix.texi:24507
  36266. 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}."
  36267. msgstr ""
  36268. #. type: deftypevr
  36269. #: guix-git/doc/guix.texi:24512
  36270. #, no-wrap
  36271. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  36272. msgstr ""
  36273. #. type: deftypevr
  36274. #: guix-git/doc/guix.texi:24517
  36275. 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}."
  36276. msgstr ""
  36277. #. type: deftypevr
  36278. #: guix-git/doc/guix.texi:24519
  36279. msgid "Defaults to @samp{all}."
  36280. msgstr ""
  36281. #. type: deftypevr
  36282. #: guix-git/doc/guix.texi:24522
  36283. #, no-wrap
  36284. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  36285. msgstr ""
  36286. #. type: deftypevr
  36287. #: guix-git/doc/guix.texi:24525
  36288. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  36289. msgstr ""
  36290. #. type: deftypevr
  36291. #: guix-git/doc/guix.texi:24527
  36292. msgid "Defaults to @samp{540}."
  36293. msgstr ""
  36294. #. type: deftypevr
  36295. #: guix-git/doc/guix.texi:24530
  36296. #, no-wrap
  36297. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  36298. msgstr ""
  36299. #. type: deftypevr
  36300. #: guix-git/doc/guix.texi:24533
  36301. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  36302. msgstr ""
  36303. #. type: deftypevr
  36304. #: guix-git/doc/guix.texi:24535
  36305. msgid "Defaults to @samp{1020}."
  36306. msgstr ""
  36307. #. type: deftypevr
  36308. #: guix-git/doc/guix.texi:24538
  36309. #, no-wrap
  36310. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  36311. msgstr ""
  36312. #. type: deftypevr
  36313. #: guix-git/doc/guix.texi:24541
  36314. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  36315. msgstr ""
  36316. #. type: deftypevr
  36317. #: guix-git/doc/guix.texi:24543 guix-git/doc/guix.texi:24846
  36318. #: guix-git/doc/guix.texi:29969
  36319. msgid "Defaults to @samp{\"0.0.0.0\"}."
  36320. msgstr ""
  36321. #. type: deftypevr
  36322. #: guix-git/doc/guix.texi:24546
  36323. #, no-wrap
  36324. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  36325. msgstr ""
  36326. #. type: deftypevr
  36327. #: guix-git/doc/guix.texi:24549
  36328. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  36329. msgstr ""
  36330. #. type: deftypevr
  36331. #: guix-git/doc/guix.texi:24551
  36332. msgid "Defaults to @samp{\"::\"}."
  36333. msgstr ""
  36334. #. type: deftypevr
  36335. #: guix-git/doc/guix.texi:24554
  36336. #, no-wrap
  36337. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  36338. msgstr ""
  36339. #. type: deftypevr
  36340. #: guix-git/doc/guix.texi:24560
  36341. 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}."
  36342. msgstr ""
  36343. #. type: deftypevr
  36344. #: guix-git/doc/guix.texi:24565
  36345. #, no-wrap
  36346. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  36347. msgstr ""
  36348. #. type: deftypevr
  36349. #: guix-git/doc/guix.texi:24568
  36350. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  36351. msgstr ""
  36352. #. type: deftypevr
  36353. #: guix-git/doc/guix.texi:24570
  36354. msgid "Defaults to @samp{49152}."
  36355. msgstr ""
  36356. #. type: deftypevr
  36357. #: guix-git/doc/guix.texi:24573
  36358. #, no-wrap
  36359. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  36360. msgstr ""
  36361. #. type: deftypevr
  36362. #: guix-git/doc/guix.texi:24576
  36363. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  36364. msgstr ""
  36365. #. type: deftypevr
  36366. #: guix-git/doc/guix.texi:24578
  36367. msgid "Defaults to @samp{65535}."
  36368. msgstr ""
  36369. #. type: deftypevr
  36370. #: guix-git/doc/guix.texi:24581
  36371. #, no-wrap
  36372. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  36373. msgstr ""
  36374. #. type: deftypevr
  36375. #: guix-git/doc/guix.texi:24584
  36376. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  36377. msgstr ""
  36378. #. type: deftypevr
  36379. #: guix-git/doc/guix.texi:24586
  36380. msgid "Defaults to @samp{51413}."
  36381. msgstr ""
  36382. #. type: deftypevr
  36383. #: guix-git/doc/guix.texi:24589
  36384. #, no-wrap
  36385. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  36386. msgstr ""
  36387. #. type: deftypevr
  36388. #: guix-git/doc/guix.texi:24593
  36389. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  36390. msgstr ""
  36391. #. type: deftypevr
  36392. #: guix-git/doc/guix.texi:24598
  36393. #, no-wrap
  36394. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  36395. msgstr ""
  36396. #. type: deftypevr
  36397. #: guix-git/doc/guix.texi:24603
  36398. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  36399. msgstr ""
  36400. #. type: deftypevr
  36401. #: guix-git/doc/guix.texi:24605
  36402. msgid "Defaults to @samp{prefer-encrypted-connections}."
  36403. msgstr ""
  36404. #. type: deftypevr
  36405. #: guix-git/doc/guix.texi:24608
  36406. #, no-wrap
  36407. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  36408. msgstr ""
  36409. #. type: deftypevr
  36410. #: guix-git/doc/guix.texi:24613
  36411. 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)."
  36412. msgstr ""
  36413. #. type: deftypevr
  36414. #: guix-git/doc/guix.texi:24622
  36415. 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."
  36416. msgstr ""
  36417. #. type: deftypevr
  36418. #: guix-git/doc/guix.texi:24630
  36419. 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:"
  36420. msgstr ""
  36421. #. type: lisp
  36422. #: guix-git/doc/guix.texi:24637
  36423. #, no-wrap
  36424. msgid ""
  36425. "(service sysctl-service-type\n"
  36426. " (sysctl-configuration\n"
  36427. " (settings\n"
  36428. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  36429. " \"reno cubic lp\"))))\n"
  36430. msgstr ""
  36431. #. type: deftypevr
  36432. #: guix-git/doc/guix.texi:24640
  36433. msgid "The Transmission Daemon configuration can then be updated with"
  36434. msgstr ""
  36435. #. type: lisp
  36436. #: guix-git/doc/guix.texi:24643
  36437. #, no-wrap
  36438. msgid "(peer-congestion-algorithm \"lp\")\n"
  36439. msgstr ""
  36440. #. type: deftypevr
  36441. #: guix-git/doc/guix.texi:24646
  36442. msgid "and the system reconfigured to have the changes take effect."
  36443. msgstr ""
  36444. #. type: deftypevr
  36445. #: guix-git/doc/guix.texi:24651
  36446. #, no-wrap
  36447. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  36448. msgstr ""
  36449. #. type: deftypevr
  36450. #: guix-git/doc/guix.texi:24655
  36451. 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}."
  36452. msgstr ""
  36453. #. type: deftypevr
  36454. #: guix-git/doc/guix.texi:24657
  36455. msgid "Defaults to @samp{default}."
  36456. msgstr ""
  36457. #. type: deftypevr
  36458. #: guix-git/doc/guix.texi:24660
  36459. #, no-wrap
  36460. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  36461. msgstr ""
  36462. #. type: deftypevr
  36463. #: guix-git/doc/guix.texi:24662
  36464. msgid "The global limit on the number of connected peers."
  36465. msgstr ""
  36466. #. type: deftypevr
  36467. #: guix-git/doc/guix.texi:24664
  36468. msgid "Defaults to @samp{200}."
  36469. msgstr ""
  36470. #. type: deftypevr
  36471. #: guix-git/doc/guix.texi:24667
  36472. #, no-wrap
  36473. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  36474. msgstr ""
  36475. #. type: deftypevr
  36476. #: guix-git/doc/guix.texi:24669
  36477. msgid "The per-torrent limit on the number of connected peers."
  36478. msgstr ""
  36479. #. type: deftypevr
  36480. #: guix-git/doc/guix.texi:24674
  36481. #, no-wrap
  36482. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  36483. msgstr ""
  36484. #. type: deftypevr
  36485. #: guix-git/doc/guix.texi:24677
  36486. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  36487. msgstr ""
  36488. #. type: deftypevr
  36489. #: guix-git/doc/guix.texi:24679
  36490. msgid "Defaults to @samp{14}."
  36491. msgstr ""
  36492. #. type: deftypevr
  36493. #: guix-git/doc/guix.texi:24682
  36494. #, no-wrap
  36495. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  36496. msgstr ""
  36497. #. type: deftypevr
  36498. #: guix-git/doc/guix.texi:24685
  36499. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  36500. msgstr ""
  36501. #. type: deftypevr
  36502. #: guix-git/doc/guix.texi:24687
  36503. msgid "Defaults to @samp{6}."
  36504. msgstr ""
  36505. #. type: deftypevr
  36506. #: guix-git/doc/guix.texi:24690
  36507. #, no-wrap
  36508. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  36509. msgstr ""
  36510. #. type: deftypevr
  36511. #: guix-git/doc/guix.texi:24693
  36512. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  36513. msgstr ""
  36514. #. type: deftypevr
  36515. #: guix-git/doc/guix.texi:24698
  36516. #, no-wrap
  36517. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  36518. msgstr ""
  36519. #. type: deftypevr
  36520. #: guix-git/doc/guix.texi:24702
  36521. 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}."
  36522. msgstr ""
  36523. #. type: deftypevr
  36524. #: guix-git/doc/guix.texi:24707
  36525. #, no-wrap
  36526. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  36527. msgstr ""
  36528. #. type: deftypevr
  36529. #: guix-git/doc/guix.texi:24710
  36530. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  36531. msgstr ""
  36532. #. type: deftypevr
  36533. #: guix-git/doc/guix.texi:24715
  36534. #, no-wrap
  36535. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  36536. msgstr ""
  36537. #. type: deftypevr
  36538. #: guix-git/doc/guix.texi:24719
  36539. 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}."
  36540. msgstr ""
  36541. #. type: deftypevr
  36542. #: guix-git/doc/guix.texi:24724
  36543. #, no-wrap
  36544. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  36545. msgstr ""
  36546. #. type: deftypevr
  36547. #: guix-git/doc/guix.texi:24727
  36548. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  36549. msgstr ""
  36550. #. type: deftypevr
  36551. #: guix-git/doc/guix.texi:24732
  36552. #, no-wrap
  36553. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  36554. msgstr ""
  36555. #. type: deftypevr
  36556. #: guix-git/doc/guix.texi:24736
  36557. 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}."
  36558. msgstr ""
  36559. #. type: deftypevr
  36560. #: guix-git/doc/guix.texi:24741
  36561. #, no-wrap
  36562. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  36563. msgstr ""
  36564. #. type: deftypevr
  36565. #: guix-git/doc/guix.texi:24746
  36566. 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."
  36567. msgstr ""
  36568. #. type: deftypevr
  36569. #: guix-git/doc/guix.texi:24751
  36570. #, no-wrap
  36571. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  36572. msgstr ""
  36573. #. type: deftypevr
  36574. #: guix-git/doc/guix.texi:24755
  36575. 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}."
  36576. msgstr ""
  36577. #. type: deftypevr
  36578. #: guix-git/doc/guix.texi:24760
  36579. #, no-wrap
  36580. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  36581. msgstr ""
  36582. #. type: deftypevr
  36583. #: guix-git/doc/guix.texi:24763
  36584. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  36585. msgstr ""
  36586. #. type: deftypevr
  36587. #: guix-git/doc/guix.texi:24768
  36588. #, no-wrap
  36589. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  36590. msgstr ""
  36591. #. type: deftypevr
  36592. #: guix-git/doc/guix.texi:24771
  36593. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  36594. msgstr ""
  36595. #. type: deftypevr
  36596. #: guix-git/doc/guix.texi:24773
  36597. msgid "Defaults to @samp{2.0}."
  36598. msgstr ""
  36599. #. type: deftypevr
  36600. #: guix-git/doc/guix.texi:24776
  36601. #, no-wrap
  36602. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  36603. msgstr ""
  36604. #. type: deftypevr
  36605. #: guix-git/doc/guix.texi:24779
  36606. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  36607. msgstr ""
  36608. #. type: deftypevr
  36609. #: guix-git/doc/guix.texi:24784
  36610. #, no-wrap
  36611. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  36612. msgstr ""
  36613. #. type: deftypevr
  36614. #: guix-git/doc/guix.texi:24788
  36615. 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}."
  36616. msgstr ""
  36617. #. type: deftypevr
  36618. #: guix-git/doc/guix.texi:24793
  36619. #, no-wrap
  36620. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  36621. msgstr ""
  36622. #. type: deftypevr
  36623. #: guix-git/doc/guix.texi:24797
  36624. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  36625. msgstr ""
  36626. #. type: deftypevr
  36627. #: guix-git/doc/guix.texi:24802
  36628. #, no-wrap
  36629. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  36630. msgstr ""
  36631. #. type: deftypevr
  36632. #: guix-git/doc/guix.texi:24807
  36633. 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."
  36634. msgstr ""
  36635. #. type: deftypevr
  36636. #: guix-git/doc/guix.texi:24812
  36637. #, no-wrap
  36638. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  36639. msgstr ""
  36640. #. type: deftypevr
  36641. #: guix-git/doc/guix.texi:24816
  36642. 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."
  36643. msgstr ""
  36644. #. type: deftypevr
  36645. #: guix-git/doc/guix.texi:24821
  36646. #, no-wrap
  36647. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  36648. msgstr ""
  36649. #. type: deftypevr
  36650. #: guix-git/doc/guix.texi:24826
  36651. 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."
  36652. msgstr ""
  36653. #. type: deftypevr
  36654. #: guix-git/doc/guix.texi:24831
  36655. #, no-wrap
  36656. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  36657. msgstr ""
  36658. #. type: deftypevr
  36659. #: guix-git/doc/guix.texi:24836
  36660. 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."
  36661. msgstr ""
  36662. #. type: deftypevr
  36663. #: guix-git/doc/guix.texi:24841
  36664. #, no-wrap
  36665. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  36666. msgstr ""
  36667. #. type: deftypevr
  36668. #: guix-git/doc/guix.texi:24844
  36669. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  36670. msgstr ""
  36671. #. type: deftypevr
  36672. #: guix-git/doc/guix.texi:24849
  36673. #, no-wrap
  36674. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  36675. msgstr ""
  36676. #. type: deftypevr
  36677. #: guix-git/doc/guix.texi:24851
  36678. msgid "The port on which to listen for @acronym{RPC} connections."
  36679. msgstr ""
  36680. #. type: deftypevr
  36681. #: guix-git/doc/guix.texi:24853
  36682. msgid "Defaults to @samp{9091}."
  36683. msgstr ""
  36684. #. type: deftypevr
  36685. #: guix-git/doc/guix.texi:24856
  36686. #, no-wrap
  36687. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  36688. msgstr ""
  36689. #. type: deftypevr
  36690. #: guix-git/doc/guix.texi:24858
  36691. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  36692. msgstr ""
  36693. #. type: deftypevr
  36694. #: guix-git/doc/guix.texi:24860
  36695. msgid "Defaults to @samp{\"/transmission/\"}."
  36696. msgstr ""
  36697. #. type: deftypevr
  36698. #: guix-git/doc/guix.texi:24863
  36699. #, no-wrap
  36700. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  36701. msgstr ""
  36702. #. type: deftypevr
  36703. #: guix-git/doc/guix.texi:24868
  36704. 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?}."
  36705. msgstr ""
  36706. #. type: deftypevr
  36707. #: guix-git/doc/guix.texi:24873
  36708. #, no-wrap
  36709. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  36710. msgstr ""
  36711. #. type: deftypevr
  36712. #: guix-git/doc/guix.texi:24876
  36713. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  36714. msgstr ""
  36715. #. type: deftypevr
  36716. #: guix-git/doc/guix.texi:24881
  36717. #, no-wrap
  36718. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  36719. msgstr ""
  36720. #. type: deftypevr
  36721. #: guix-git/doc/guix.texi:24887
  36722. 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."
  36723. msgstr ""
  36724. #. type: deftypevr
  36725. #: guix-git/doc/guix.texi:24892
  36726. #, no-wrap
  36727. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  36728. msgstr ""
  36729. #. type: deftypevr
  36730. #: guix-git/doc/guix.texi:24895
  36731. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  36732. msgstr ""
  36733. #. type: deftypevr
  36734. #: guix-git/doc/guix.texi:24900
  36735. #, no-wrap
  36736. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  36737. msgstr ""
  36738. #. type: deftypevr
  36739. #: guix-git/doc/guix.texi:24904
  36740. 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{*}."
  36741. msgstr ""
  36742. #. type: deftypevr
  36743. #: guix-git/doc/guix.texi:24906
  36744. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  36745. msgstr ""
  36746. #. type: deftypevr
  36747. #: guix-git/doc/guix.texi:24909
  36748. #, no-wrap
  36749. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  36750. msgstr ""
  36751. #. type: deftypevr
  36752. #: guix-git/doc/guix.texi:24914
  36753. 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."
  36754. msgstr ""
  36755. #. type: deftypevr
  36756. #: guix-git/doc/guix.texi:24917
  36757. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  36758. msgstr ""
  36759. #. type: deftypevr
  36760. #: guix-git/doc/guix.texi:24922
  36761. #, no-wrap
  36762. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  36763. msgstr ""
  36764. #. type: deftypevr
  36765. #: guix-git/doc/guix.texi:24925
  36766. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  36767. msgstr ""
  36768. #. type: deftypevr
  36769. #: guix-git/doc/guix.texi:24930
  36770. #, no-wrap
  36771. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  36772. msgstr ""
  36773. #. type: deftypevr
  36774. #: guix-git/doc/guix.texi:24934
  36775. 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}."
  36776. msgstr ""
  36777. #. type: deftypevr
  36778. #: guix-git/doc/guix.texi:24939
  36779. #, no-wrap
  36780. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  36781. msgstr ""
  36782. #. type: deftypevr
  36783. #: guix-git/doc/guix.texi:24942
  36784. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  36785. msgstr ""
  36786. #. type: deftypevr
  36787. #: guix-git/doc/guix.texi:24947
  36788. #, no-wrap
  36789. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  36790. msgstr ""
  36791. #. type: deftypevr
  36792. #: guix-git/doc/guix.texi:24951
  36793. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  36794. msgstr ""
  36795. #. type: deftypevr
  36796. #: guix-git/doc/guix.texi:24956
  36797. #, no-wrap
  36798. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  36799. msgstr ""
  36800. #. type: deftypevr
  36801. #: guix-git/doc/guix.texi:24960
  36802. 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}."
  36803. msgstr ""
  36804. #. type: deftypevr
  36805. #: guix-git/doc/guix.texi:24965
  36806. #, no-wrap
  36807. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  36808. msgstr ""
  36809. #. type: deftypevr
  36810. #: guix-git/doc/guix.texi:24968
  36811. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  36812. msgstr ""
  36813. #. type: deftypevr
  36814. #: guix-git/doc/guix.texi:24973
  36815. #, no-wrap
  36816. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  36817. msgstr ""
  36818. #. type: deftypevr
  36819. #: guix-git/doc/guix.texi:24977
  36820. 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."
  36821. msgstr ""
  36822. #. type: deftypevr
  36823. #: guix-git/doc/guix.texi:24979
  36824. msgid "Defaults to @samp{4}."
  36825. msgstr ""
  36826. #. type: deftypevr
  36827. #: guix-git/doc/guix.texi:24982
  36828. #, no-wrap
  36829. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  36830. msgstr ""
  36831. #. type: deftypevr
  36832. #: guix-git/doc/guix.texi:24986
  36833. 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."
  36834. msgstr ""
  36835. #. type: subsubheading
  36836. #: guix-git/doc/guix.texi:24999
  36837. #, no-wrap
  36838. msgid "Tailon Service"
  36839. msgstr ""
  36840. #. type: Plain text
  36841. #: guix-git/doc/guix.texi:25003
  36842. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  36843. msgstr ""
  36844. #. type: Plain text
  36845. #: guix-git/doc/guix.texi:25006
  36846. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  36847. msgstr ""
  36848. #. type: lisp
  36849. #: guix-git/doc/guix.texi:25009
  36850. #, no-wrap
  36851. msgid "(service tailon-service-type)\n"
  36852. msgstr ""
  36853. #. type: Plain text
  36854. #: guix-git/doc/guix.texi:25013
  36855. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  36856. msgstr ""
  36857. #. type: lisp
  36858. #: guix-git/doc/guix.texi:25020
  36859. #, no-wrap
  36860. msgid ""
  36861. "(service tailon-service-type\n"
  36862. " (tailon-configuration\n"
  36863. " (config-file\n"
  36864. " (tailon-configuration-file\n"
  36865. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  36866. msgstr ""
  36867. #. type: deftp
  36868. #: guix-git/doc/guix.texi:25023
  36869. #, no-wrap
  36870. msgid "{Data Type} tailon-configuration"
  36871. msgstr ""
  36872. #. type: deftp
  36873. #: guix-git/doc/guix.texi:25026
  36874. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  36875. msgstr ""
  36876. #. type: item
  36877. #: guix-git/doc/guix.texi:25028
  36878. #, no-wrap
  36879. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  36880. msgstr ""
  36881. #. type: table
  36882. #: guix-git/doc/guix.texi:25032
  36883. 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})."
  36884. msgstr ""
  36885. #. type: table
  36886. #: guix-git/doc/guix.texi:25035
  36887. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  36888. msgstr ""
  36889. #. type: lisp
  36890. #: guix-git/doc/guix.texi:25040
  36891. #, no-wrap
  36892. msgid ""
  36893. "(service tailon-service-type\n"
  36894. " (tailon-configuration\n"
  36895. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  36896. msgstr ""
  36897. #. type: item
  36898. #: guix-git/doc/guix.texi:25042
  36899. #, no-wrap
  36900. msgid "@code{package} (default: @code{tailon})"
  36901. msgstr ""
  36902. #. type: table
  36903. #: guix-git/doc/guix.texi:25044
  36904. msgid "The tailon package to use."
  36905. msgstr ""
  36906. #. type: deftp
  36907. #: guix-git/doc/guix.texi:25048
  36908. #, no-wrap
  36909. msgid "{Data Type} tailon-configuration-file"
  36910. msgstr ""
  36911. #. type: deftp
  36912. #: guix-git/doc/guix.texi:25051
  36913. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  36914. msgstr ""
  36915. #. type: item
  36916. #: guix-git/doc/guix.texi:25053
  36917. #, no-wrap
  36918. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  36919. msgstr ""
  36920. #. type: table
  36921. #: guix-git/doc/guix.texi:25058
  36922. 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."
  36923. msgstr ""
  36924. #. type: item
  36925. #: guix-git/doc/guix.texi:25059
  36926. #, no-wrap
  36927. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  36928. msgstr ""
  36929. #. type: table
  36930. #: guix-git/doc/guix.texi:25061
  36931. msgid "Address and port to which Tailon should bind on."
  36932. msgstr ""
  36933. #. type: item
  36934. #: guix-git/doc/guix.texi:25062
  36935. #, no-wrap
  36936. msgid "@code{relative-root} (default: @code{#f})"
  36937. msgstr ""
  36938. #. type: table
  36939. #: guix-git/doc/guix.texi:25064
  36940. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  36941. msgstr ""
  36942. #. type: item
  36943. #: guix-git/doc/guix.texi:25065
  36944. #, no-wrap
  36945. msgid "@code{allow-transfers?} (default: @code{#t})"
  36946. msgstr ""
  36947. #. type: table
  36948. #: guix-git/doc/guix.texi:25067
  36949. msgid "Allow downloading the log files in the web interface."
  36950. msgstr ""
  36951. #. type: item
  36952. #: guix-git/doc/guix.texi:25068
  36953. #, no-wrap
  36954. msgid "@code{follow-names?} (default: @code{#t})"
  36955. msgstr ""
  36956. #. type: table
  36957. #: guix-git/doc/guix.texi:25070
  36958. msgid "Allow tailing of not-yet existent files."
  36959. msgstr ""
  36960. #. type: item
  36961. #: guix-git/doc/guix.texi:25071
  36962. #, no-wrap
  36963. msgid "@code{tail-lines} (default: @code{200})"
  36964. msgstr ""
  36965. #. type: table
  36966. #: guix-git/doc/guix.texi:25073
  36967. msgid "Number of lines to read initially from each file."
  36968. msgstr ""
  36969. #. type: item
  36970. #: guix-git/doc/guix.texi:25074
  36971. #, no-wrap
  36972. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  36973. msgstr ""
  36974. #. type: table
  36975. #: guix-git/doc/guix.texi:25076
  36976. msgid "Commands to allow running. By default, @code{sed} is disabled."
  36977. msgstr ""
  36978. #. type: table
  36979. #: guix-git/doc/guix.texi:25079
  36980. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  36981. msgstr ""
  36982. #. type: item
  36983. #: guix-git/doc/guix.texi:25080
  36984. #, no-wrap
  36985. msgid "@code{wrap-lines} (default: @code{#t})"
  36986. msgstr ""
  36987. #. type: table
  36988. #: guix-git/doc/guix.texi:25084
  36989. 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."
  36990. msgstr ""
  36991. #. type: item
  36992. #: guix-git/doc/guix.texi:25085
  36993. #, no-wrap
  36994. msgid "@code{http-auth} (default: @code{#f})"
  36995. msgstr ""
  36996. #. type: table
  36997. #: guix-git/doc/guix.texi:25089
  36998. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  36999. msgstr ""
  37000. #. type: item
  37001. #: guix-git/doc/guix.texi:25090
  37002. #, no-wrap
  37003. msgid "@code{users} (default: @code{#f})"
  37004. msgstr ""
  37005. #. type: table
  37006. #: guix-git/doc/guix.texi:25095
  37007. 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."
  37008. msgstr ""
  37009. #. type: lisp
  37010. #: guix-git/doc/guix.texi:25101
  37011. #, no-wrap
  37012. msgid ""
  37013. "(tailon-configuration-file\n"
  37014. " (http-auth \"basic\")\n"
  37015. " (users '((\"user1\" . \"password1\")\n"
  37016. " (\"user2\" . \"password2\"))))\n"
  37017. msgstr ""
  37018. #. type: subsubheading
  37019. #: guix-git/doc/guix.texi:25107
  37020. #, no-wrap
  37021. msgid "Darkstat Service"
  37022. msgstr ""
  37023. #. type: cindex
  37024. #: guix-git/doc/guix.texi:25108
  37025. #, no-wrap
  37026. msgid "darkstat"
  37027. msgstr ""
  37028. #. type: Plain text
  37029. #: guix-git/doc/guix.texi:25111
  37030. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  37031. msgstr ""
  37032. #. type: defvar
  37033. #: guix-git/doc/guix.texi:25112
  37034. #, no-wrap
  37035. msgid "{Scheme Variable} darkstat-service-type"
  37036. msgstr ""
  37037. #. type: defvar
  37038. #: guix-git/doc/guix.texi:25117
  37039. 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:"
  37040. msgstr ""
  37041. #. type: lisp
  37042. #: guix-git/doc/guix.texi:25122
  37043. #, no-wrap
  37044. msgid ""
  37045. "(service darkstat-service-type\n"
  37046. " (darkstat-configuration\n"
  37047. " (interface \"eno1\")))\n"
  37048. msgstr ""
  37049. #. type: deftp
  37050. #: guix-git/doc/guix.texi:25125
  37051. #, no-wrap
  37052. msgid "{Data Type} darkstat-configuration"
  37053. msgstr ""
  37054. #. type: deftp
  37055. #: guix-git/doc/guix.texi:25127
  37056. msgid "Data type representing the configuration of @command{darkstat}."
  37057. msgstr ""
  37058. #. type: item
  37059. #: guix-git/doc/guix.texi:25129
  37060. #, no-wrap
  37061. msgid "@code{package} (default: @code{darkstat})"
  37062. msgstr ""
  37063. #. type: table
  37064. #: guix-git/doc/guix.texi:25131
  37065. msgid "The darkstat package to use."
  37066. msgstr ""
  37067. #. type: code{#1}
  37068. #: guix-git/doc/guix.texi:25132
  37069. #, no-wrap
  37070. msgid "interface"
  37071. msgstr ""
  37072. #. type: table
  37073. #: guix-git/doc/guix.texi:25134
  37074. msgid "Capture traffic on the specified network interface."
  37075. msgstr ""
  37076. #. type: item
  37077. #: guix-git/doc/guix.texi:25135
  37078. #, no-wrap
  37079. msgid "@code{port} (default: @code{\"667\"})"
  37080. msgstr ""
  37081. #. type: table
  37082. #: guix-git/doc/guix.texi:25137
  37083. msgid "Bind the web interface to the specified port."
  37084. msgstr ""
  37085. #. type: table
  37086. #: guix-git/doc/guix.texi:25140 guix-git/doc/guix.texi:25175
  37087. msgid "Bind the web interface to the specified address."
  37088. msgstr ""
  37089. #. type: item
  37090. #: guix-git/doc/guix.texi:25141
  37091. #, no-wrap
  37092. msgid "@code{base} (default: @code{\"/\"})"
  37093. msgstr ""
  37094. #. type: table
  37095. #: guix-git/doc/guix.texi:25144
  37096. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  37097. msgstr ""
  37098. #. type: subsubheading
  37099. #: guix-git/doc/guix.texi:25148
  37100. #, no-wrap
  37101. msgid "Prometheus Node Exporter Service"
  37102. msgstr ""
  37103. #. type: cindex
  37104. #: guix-git/doc/guix.texi:25150
  37105. #, no-wrap
  37106. msgid "prometheus-node-exporter"
  37107. msgstr ""
  37108. #. type: Plain text
  37109. #: guix-git/doc/guix.texi:25155
  37110. 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."
  37111. msgstr ""
  37112. #. type: defvar
  37113. #: guix-git/doc/guix.texi:25156
  37114. #, no-wrap
  37115. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  37116. msgstr ""
  37117. #. type: defvar
  37118. #: guix-git/doc/guix.texi:25160
  37119. 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}."
  37120. msgstr ""
  37121. #. type: lisp
  37122. #: guix-git/doc/guix.texi:25163
  37123. #, no-wrap
  37124. msgid "(service prometheus-node-exporter-service-type)\n"
  37125. msgstr ""
  37126. #. type: deftp
  37127. #: guix-git/doc/guix.texi:25166
  37128. #, no-wrap
  37129. msgid "{Data Type} prometheus-node-exporter-configuration"
  37130. msgstr ""
  37131. #. type: deftp
  37132. #: guix-git/doc/guix.texi:25168
  37133. msgid "Data type representing the configuration of @command{node_exporter}."
  37134. msgstr ""
  37135. #. type: item
  37136. #: guix-git/doc/guix.texi:25170
  37137. #, no-wrap
  37138. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  37139. msgstr ""
  37140. #. type: table
  37141. #: guix-git/doc/guix.texi:25172
  37142. msgid "The prometheus-node-exporter package to use."
  37143. msgstr ""
  37144. #. type: item
  37145. #: guix-git/doc/guix.texi:25173
  37146. #, no-wrap
  37147. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  37148. msgstr ""
  37149. #. type: item
  37150. #: guix-git/doc/guix.texi:25176
  37151. #, no-wrap
  37152. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  37153. msgstr ""
  37154. #. type: table
  37155. #: guix-git/doc/guix.texi:25180
  37156. 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."
  37157. msgstr ""
  37158. #. type: table
  37159. #: guix-git/doc/guix.texi:25183
  37160. msgid "Extra options to pass to the Prometheus node exporter."
  37161. msgstr ""
  37162. #. type: subsubheading
  37163. #: guix-git/doc/guix.texi:25187
  37164. #, no-wrap
  37165. msgid "Zabbix server"
  37166. msgstr ""
  37167. #. type: cindex
  37168. #: guix-git/doc/guix.texi:25188
  37169. #, no-wrap
  37170. msgid "zabbix zabbix-server"
  37171. msgstr ""
  37172. #. type: Plain text
  37173. #: guix-git/doc/guix.texi:25191
  37174. msgid "Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption:"
  37175. msgstr ""
  37176. #. type: item
  37177. #: guix-git/doc/guix.texi:25193
  37178. #, no-wrap
  37179. msgid "High performance, high capacity (able to monitor hundreds of thousands of devices)."
  37180. msgstr ""
  37181. #. type: item
  37182. #: guix-git/doc/guix.texi:25194
  37183. #, no-wrap
  37184. msgid "Auto-discovery of servers and network devices and interfaces."
  37185. msgstr ""
  37186. #. type: item
  37187. #: guix-git/doc/guix.texi:25195
  37188. #, no-wrap
  37189. msgid "Low-level discovery, allows to automatically start monitoring new items, file systems or network interfaces among others."
  37190. msgstr ""
  37191. #. type: item
  37192. #: guix-git/doc/guix.texi:25196
  37193. #, no-wrap
  37194. msgid "Distributed monitoring with centralized web administration."
  37195. msgstr ""
  37196. #. type: item
  37197. #: guix-git/doc/guix.texi:25197
  37198. #, no-wrap
  37199. msgid "Native high performance agents."
  37200. msgstr ""
  37201. #. type: item
  37202. #: guix-git/doc/guix.texi:25198
  37203. #, no-wrap
  37204. msgid "SLA, and ITIL KPI metrics on reporting."
  37205. msgstr ""
  37206. #. type: item
  37207. #: guix-git/doc/guix.texi:25199
  37208. #, no-wrap
  37209. msgid "High-level (business) view of monitored resources through user-defined visual console screens and dashboards."
  37210. msgstr ""
  37211. #. type: item
  37212. #: guix-git/doc/guix.texi:25200
  37213. #, no-wrap
  37214. msgid "Remote command execution through Zabbix proxies."
  37215. msgstr ""
  37216. #. type: Plain text
  37217. #: guix-git/doc/guix.texi:25206
  37218. msgid "Available @code{zabbix-server-configuration} fields are:"
  37219. msgstr ""
  37220. #. type: deftypevr
  37221. #: guix-git/doc/guix.texi:25207
  37222. #, no-wrap
  37223. msgid "{@code{zabbix-server-configuration} parameter} package zabbix-server"
  37224. msgstr ""
  37225. #. type: deftypevr
  37226. #: guix-git/doc/guix.texi:25209
  37227. msgid "The zabbix-server package."
  37228. msgstr ""
  37229. #. type: deftypevr
  37230. #: guix-git/doc/guix.texi:25212
  37231. #, no-wrap
  37232. msgid "{@code{zabbix-server-configuration} parameter} string user"
  37233. msgstr ""
  37234. #. type: deftypevr
  37235. #: guix-git/doc/guix.texi:25214
  37236. msgid "User who will run the Zabbix server."
  37237. msgstr ""
  37238. #. type: deftypevr
  37239. #: guix-git/doc/guix.texi:25216 guix-git/doc/guix.texi:25223
  37240. #: guix-git/doc/guix.texi:25237 guix-git/doc/guix.texi:25244
  37241. #: guix-git/doc/guix.texi:25345 guix-git/doc/guix.texi:25352
  37242. #: guix-git/doc/guix.texi:25463 guix-git/doc/guix.texi:25470
  37243. msgid "Defaults to @samp{\"zabbix\"}."
  37244. msgstr ""
  37245. #. type: deftypevr
  37246. #: guix-git/doc/guix.texi:25219
  37247. #, no-wrap
  37248. msgid "{@code{zabbix-server-configuration} parameter} group group"
  37249. msgstr ""
  37250. #. type: deftypevr
  37251. #: guix-git/doc/guix.texi:25221
  37252. msgid "Group who will run the Zabbix server."
  37253. msgstr ""
  37254. #. type: deftypevr
  37255. #: guix-git/doc/guix.texi:25226
  37256. #, no-wrap
  37257. msgid "{@code{zabbix-server-configuration} parameter} string db-host"
  37258. msgstr ""
  37259. #. type: deftypevr
  37260. #: guix-git/doc/guix.texi:25228 guix-git/doc/guix.texi:25447
  37261. msgid "Database host name."
  37262. msgstr ""
  37263. #. type: deftypevr
  37264. #: guix-git/doc/guix.texi:25230
  37265. msgid "Defaults to @samp{\"127.0.0.1\"}."
  37266. msgstr ""
  37267. #. type: deftypevr
  37268. #: guix-git/doc/guix.texi:25233
  37269. #, no-wrap
  37270. msgid "{@code{zabbix-server-configuration} parameter} string db-name"
  37271. msgstr ""
  37272. #. type: deftypevr
  37273. #: guix-git/doc/guix.texi:25235 guix-git/doc/guix.texi:25461
  37274. msgid "Database name."
  37275. msgstr ""
  37276. #. type: deftypevr
  37277. #: guix-git/doc/guix.texi:25240
  37278. #, no-wrap
  37279. msgid "{@code{zabbix-server-configuration} parameter} string db-user"
  37280. msgstr ""
  37281. #. type: deftypevr
  37282. #: guix-git/doc/guix.texi:25242 guix-git/doc/guix.texi:25468
  37283. msgid "Database user."
  37284. msgstr ""
  37285. #. type: deftypevr
  37286. #: guix-git/doc/guix.texi:25247
  37287. #, no-wrap
  37288. msgid "{@code{zabbix-server-configuration} parameter} string db-password"
  37289. msgstr ""
  37290. #. type: deftypevr
  37291. #: guix-git/doc/guix.texi:25250
  37292. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  37293. msgstr ""
  37294. #. type: deftypevr
  37295. #: guix-git/doc/guix.texi:25255
  37296. #, no-wrap
  37297. msgid "{@code{zabbix-server-configuration} parameter} number db-port"
  37298. msgstr ""
  37299. #. type: deftypevr
  37300. #: guix-git/doc/guix.texi:25257 guix-git/doc/guix.texi:25454
  37301. msgid "Database port."
  37302. msgstr ""
  37303. #. type: deftypevr
  37304. #: guix-git/doc/guix.texi:25259 guix-git/doc/guix.texi:25456
  37305. msgid "Defaults to @samp{5432}."
  37306. msgstr ""
  37307. #. type: deftypevr
  37308. #: guix-git/doc/guix.texi:25262
  37309. #, no-wrap
  37310. msgid "{@code{zabbix-server-configuration} parameter} string log-type"
  37311. msgstr ""
  37312. #. type: deftypevr
  37313. #: guix-git/doc/guix.texi:25264 guix-git/doc/guix.texi:25365
  37314. msgid "Specifies where log messages are written to:"
  37315. msgstr ""
  37316. #. type: itemize
  37317. #: guix-git/doc/guix.texi:25268 guix-git/doc/guix.texi:25369
  37318. msgid "@code{system} - syslog."
  37319. msgstr ""
  37320. #. type: itemize
  37321. #: guix-git/doc/guix.texi:25271 guix-git/doc/guix.texi:25372
  37322. msgid "@code{file} - file specified with @code{log-file} parameter."
  37323. msgstr ""
  37324. #. type: itemize
  37325. #: guix-git/doc/guix.texi:25274 guix-git/doc/guix.texi:25375
  37326. msgid "@code{console} - standard output."
  37327. msgstr ""
  37328. #. type: deftypevr
  37329. #: guix-git/doc/guix.texi:25281
  37330. #, no-wrap
  37331. msgid "{@code{zabbix-server-configuration} parameter} string log-file"
  37332. msgstr ""
  37333. #. type: deftypevr
  37334. #: guix-git/doc/guix.texi:25283 guix-git/doc/guix.texi:25384
  37335. msgid "Log file name for @code{log-type} @code{file} parameter."
  37336. msgstr ""
  37337. #. type: deftypevr
  37338. #: guix-git/doc/guix.texi:25285
  37339. msgid "Defaults to @samp{\"/var/log/zabbix/server.log\"}."
  37340. msgstr ""
  37341. #. type: deftypevr
  37342. #: guix-git/doc/guix.texi:25288
  37343. #, no-wrap
  37344. msgid "{@code{zabbix-server-configuration} parameter} string pid-file"
  37345. msgstr ""
  37346. #. type: deftypevr
  37347. #: guix-git/doc/guix.texi:25290 guix-git/doc/guix.texi:25391
  37348. msgid "Name of PID file."
  37349. msgstr ""
  37350. #. type: deftypevr
  37351. #: guix-git/doc/guix.texi:25292
  37352. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_server.pid\"}."
  37353. msgstr ""
  37354. #. type: deftypevr
  37355. #: guix-git/doc/guix.texi:25295
  37356. #, no-wrap
  37357. msgid "{@code{zabbix-server-configuration} parameter} string ssl-ca-location"
  37358. msgstr ""
  37359. #. type: deftypevr
  37360. #: guix-git/doc/guix.texi:25298
  37361. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  37362. msgstr ""
  37363. #. type: deftypevr
  37364. #: guix-git/doc/guix.texi:25300
  37365. msgid "Defaults to @samp{\"/etc/ssl/certs/ca-certificates.crt\"}."
  37366. msgstr ""
  37367. #. type: deftypevr
  37368. #: guix-git/doc/guix.texi:25303
  37369. #, no-wrap
  37370. msgid "{@code{zabbix-server-configuration} parameter} string ssl-cert-location"
  37371. msgstr ""
  37372. #. type: deftypevr
  37373. #: guix-git/doc/guix.texi:25305
  37374. msgid "Location of SSL client certificates."
  37375. msgstr ""
  37376. #. type: deftypevr
  37377. #: guix-git/doc/guix.texi:25307
  37378. msgid "Defaults to @samp{\"/etc/ssl/certs\"}."
  37379. msgstr ""
  37380. #. type: deftypevr
  37381. #: guix-git/doc/guix.texi:25310
  37382. #, no-wrap
  37383. msgid "{@code{zabbix-server-configuration} parameter} string extra-options"
  37384. msgstr ""
  37385. #. type: deftypevr
  37386. #: guix-git/doc/guix.texi:25312 guix-git/doc/guix.texi:25416
  37387. msgid "Extra options will be appended to Zabbix server configuration file."
  37388. msgstr ""
  37389. #. type: deftypevr
  37390. #: guix-git/doc/guix.texi:25317
  37391. #, no-wrap
  37392. msgid "{@code{zabbix-server-configuration} parameter} include-files include-files"
  37393. msgstr ""
  37394. #. type: deftypevr
  37395. #: guix-git/doc/guix.texi:25320 guix-git/doc/guix.texi:25424
  37396. msgid "You may include individual files or all files in a directory in the configuration file."
  37397. msgstr ""
  37398. #. type: subsubheading
  37399. #: guix-git/doc/guix.texi:25327
  37400. #, no-wrap
  37401. msgid "Zabbix agent"
  37402. msgstr ""
  37403. #. type: cindex
  37404. #: guix-git/doc/guix.texi:25328
  37405. #, no-wrap
  37406. msgid "zabbix zabbix-agent"
  37407. msgstr ""
  37408. #. type: Plain text
  37409. #: guix-git/doc/guix.texi:25331
  37410. msgid "Zabbix agent gathers information for Zabbix server."
  37411. msgstr ""
  37412. #. type: Plain text
  37413. #: guix-git/doc/guix.texi:25335
  37414. msgid "Available @code{zabbix-agent-configuration} fields are:"
  37415. msgstr ""
  37416. #. type: deftypevr
  37417. #: guix-git/doc/guix.texi:25336
  37418. #, no-wrap
  37419. msgid "{@code{zabbix-agent-configuration} parameter} package zabbix-agent"
  37420. msgstr ""
  37421. #. type: deftypevr
  37422. #: guix-git/doc/guix.texi:25338
  37423. msgid "The zabbix-agent package."
  37424. msgstr ""
  37425. #. type: deftypevr
  37426. #: guix-git/doc/guix.texi:25341
  37427. #, no-wrap
  37428. msgid "{@code{zabbix-agent-configuration} parameter} string user"
  37429. msgstr ""
  37430. #. type: deftypevr
  37431. #: guix-git/doc/guix.texi:25343
  37432. msgid "User who will run the Zabbix agent."
  37433. msgstr ""
  37434. #. type: deftypevr
  37435. #: guix-git/doc/guix.texi:25348
  37436. #, no-wrap
  37437. msgid "{@code{zabbix-agent-configuration} parameter} group group"
  37438. msgstr ""
  37439. #. type: deftypevr
  37440. #: guix-git/doc/guix.texi:25350
  37441. msgid "Group who will run the Zabbix agent."
  37442. msgstr ""
  37443. #. type: deftypevr
  37444. #: guix-git/doc/guix.texi:25355
  37445. #, no-wrap
  37446. msgid "{@code{zabbix-agent-configuration} parameter} string hostname"
  37447. msgstr ""
  37448. #. type: deftypevr
  37449. #: guix-git/doc/guix.texi:25358
  37450. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  37451. msgstr ""
  37452. #. type: deftypevr
  37453. #: guix-git/doc/guix.texi:25363
  37454. #, no-wrap
  37455. msgid "{@code{zabbix-agent-configuration} parameter} string log-type"
  37456. msgstr ""
  37457. #. type: deftypevr
  37458. #: guix-git/doc/guix.texi:25382
  37459. #, no-wrap
  37460. msgid "{@code{zabbix-agent-configuration} parameter} string log-file"
  37461. msgstr ""
  37462. #. type: deftypevr
  37463. #: guix-git/doc/guix.texi:25386
  37464. msgid "Defaults to @samp{\"/var/log/zabbix/agent.log\"}."
  37465. msgstr ""
  37466. #. type: deftypevr
  37467. #: guix-git/doc/guix.texi:25389
  37468. #, no-wrap
  37469. msgid "{@code{zabbix-agent-configuration} parameter} string pid-file"
  37470. msgstr ""
  37471. #. type: deftypevr
  37472. #: guix-git/doc/guix.texi:25393
  37473. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_agent.pid\"}."
  37474. msgstr ""
  37475. #. type: deftypevr
  37476. #: guix-git/doc/guix.texi:25396
  37477. #, no-wrap
  37478. msgid "{@code{zabbix-agent-configuration} parameter} list server"
  37479. msgstr ""
  37480. #. type: deftypevr
  37481. #: guix-git/doc/guix.texi:25400
  37482. 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."
  37483. msgstr ""
  37484. #. type: deftypevr
  37485. #: guix-git/doc/guix.texi:25402 guix-git/doc/guix.texi:25411
  37486. msgid "Defaults to @samp{(\"127.0.0.1\")}."
  37487. msgstr ""
  37488. #. type: deftypevr
  37489. #: guix-git/doc/guix.texi:25405
  37490. #, no-wrap
  37491. msgid "{@code{zabbix-agent-configuration} parameter} list server-active"
  37492. msgstr ""
  37493. #. type: deftypevr
  37494. #: guix-git/doc/guix.texi:25409
  37495. 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."
  37496. msgstr ""
  37497. #. type: deftypevr
  37498. #: guix-git/doc/guix.texi:25414
  37499. #, no-wrap
  37500. msgid "{@code{zabbix-agent-configuration} parameter} string extra-options"
  37501. msgstr ""
  37502. #. type: deftypevr
  37503. #: guix-git/doc/guix.texi:25421
  37504. #, no-wrap
  37505. msgid "{@code{zabbix-agent-configuration} parameter} include-files include-files"
  37506. msgstr ""
  37507. #. type: subsubheading
  37508. #: guix-git/doc/guix.texi:25431
  37509. #, no-wrap
  37510. msgid "Zabbix front-end"
  37511. msgstr ""
  37512. #. type: cindex
  37513. #: guix-git/doc/guix.texi:25432
  37514. #, no-wrap
  37515. msgid "zabbix zabbix-front-end"
  37516. msgstr ""
  37517. #. type: Plain text
  37518. #: guix-git/doc/guix.texi:25435
  37519. msgid "This service provides a WEB interface to Zabbix server."
  37520. msgstr ""
  37521. #. type: Plain text
  37522. #: guix-git/doc/guix.texi:25439
  37523. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  37524. msgstr ""
  37525. #. type: deftypevr
  37526. #: guix-git/doc/guix.texi:25440
  37527. #, no-wrap
  37528. msgid "{@code{zabbix-front-end-configuration} parameter} nginx-server-configuration-list nginx"
  37529. msgstr ""
  37530. #. type: deftypevr
  37531. #: guix-git/doc/guix.texi:25442 guix-git/doc/guix.texi:31735
  37532. msgid "NGINX configuration."
  37533. msgstr ""
  37534. #. type: deftypevr
  37535. #: guix-git/doc/guix.texi:25445
  37536. #, no-wrap
  37537. msgid "{@code{zabbix-front-end-configuration} parameter} string db-host"
  37538. msgstr ""
  37539. #. type: deftypevr
  37540. #: guix-git/doc/guix.texi:25452
  37541. #, no-wrap
  37542. msgid "{@code{zabbix-front-end-configuration} parameter} number db-port"
  37543. msgstr ""
  37544. #. type: deftypevr
  37545. #: guix-git/doc/guix.texi:25459
  37546. #, no-wrap
  37547. msgid "{@code{zabbix-front-end-configuration} parameter} string db-name"
  37548. msgstr ""
  37549. #. type: deftypevr
  37550. #: guix-git/doc/guix.texi:25466
  37551. #, no-wrap
  37552. msgid "{@code{zabbix-front-end-configuration} parameter} string db-user"
  37553. msgstr ""
  37554. #. type: deftypevr
  37555. #: guix-git/doc/guix.texi:25473
  37556. #, no-wrap
  37557. msgid "{@code{zabbix-front-end-configuration} parameter} string db-password"
  37558. msgstr ""
  37559. #. type: deftypevr
  37560. #: guix-git/doc/guix.texi:25475
  37561. msgid "Database password. Please, use @code{db-secret-file} instead."
  37562. msgstr ""
  37563. #. type: deftypevr
  37564. #: guix-git/doc/guix.texi:25480
  37565. #, no-wrap
  37566. msgid "{@code{zabbix-front-end-configuration} parameter} string db-secret-file"
  37567. msgstr ""
  37568. #. type: deftypevr
  37569. #: guix-git/doc/guix.texi:25485
  37570. 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']}."
  37571. msgstr ""
  37572. #. type: deftypevr
  37573. #: guix-git/doc/guix.texi:25490
  37574. #, no-wrap
  37575. msgid "{@code{zabbix-front-end-configuration} parameter} string zabbix-host"
  37576. msgstr ""
  37577. #. type: deftypevr
  37578. #: guix-git/doc/guix.texi:25492
  37579. msgid "Zabbix server hostname."
  37580. msgstr ""
  37581. #. type: deftypevr
  37582. #: guix-git/doc/guix.texi:25497
  37583. #, no-wrap
  37584. msgid "{@code{zabbix-front-end-configuration} parameter} number zabbix-port"
  37585. msgstr ""
  37586. #. type: deftypevr
  37587. #: guix-git/doc/guix.texi:25499
  37588. msgid "Zabbix server port."
  37589. msgstr ""
  37590. #. type: deftypevr
  37591. #: guix-git/doc/guix.texi:25501
  37592. msgid "Defaults to @samp{10051}."
  37593. msgstr ""
  37594. #. type: cindex
  37595. #: guix-git/doc/guix.texi:25509
  37596. #, no-wrap
  37597. msgid "Kerberos"
  37598. msgstr ""
  37599. #. type: Plain text
  37600. #: guix-git/doc/guix.texi:25513
  37601. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  37602. msgstr ""
  37603. #. type: subsubheading
  37604. #: guix-git/doc/guix.texi:25514
  37605. #, no-wrap
  37606. msgid "Krb5 Service"
  37607. msgstr ""
  37608. #. type: Plain text
  37609. #: guix-git/doc/guix.texi:25521
  37610. 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."
  37611. msgstr ""
  37612. #. type: Plain text
  37613. #: guix-git/doc/guix.texi:25525
  37614. 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."
  37615. msgstr ""
  37616. #. type: defvr
  37617. #: guix-git/doc/guix.texi:25526
  37618. #, no-wrap
  37619. msgid "{Scheme Variable} krb5-service-type"
  37620. msgstr ""
  37621. #. type: defvr
  37622. #: guix-git/doc/guix.texi:25528
  37623. msgid "A service type for Kerberos 5 clients."
  37624. msgstr ""
  37625. #. type: Plain text
  37626. #: guix-git/doc/guix.texi:25532
  37627. msgid "Here is an example of its use:"
  37628. msgstr ""
  37629. #. type: lisp
  37630. #: guix-git/doc/guix.texi:25546
  37631. #, no-wrap
  37632. msgid ""
  37633. "(service krb5-service-type\n"
  37634. " (krb5-configuration\n"
  37635. " (default-realm \"EXAMPLE.COM\")\n"
  37636. " (allow-weak-crypto? #t)\n"
  37637. " (realms (list\n"
  37638. " (krb5-realm\n"
  37639. " (name \"EXAMPLE.COM\")\n"
  37640. " (admin-server \"groucho.example.com\")\n"
  37641. " (kdc \"karl.example.com\"))\n"
  37642. " (krb5-realm\n"
  37643. " (name \"ARGRX.EDU\")\n"
  37644. " (admin-server \"kerb-admin.argrx.edu\")\n"
  37645. " (kdc \"keys.argrx.edu\"))))))\n"
  37646. msgstr ""
  37647. #. type: Plain text
  37648. #: guix-git/doc/guix.texi:25550
  37649. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  37650. msgstr ""
  37651. #. type: item
  37652. #: guix-git/doc/guix.texi:25551
  37653. #, no-wrap
  37654. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  37655. msgstr ""
  37656. #. type: itemize
  37657. #: guix-git/doc/guix.texi:25553
  37658. msgid "of which have distinct administration servers and key distribution centers;"
  37659. msgstr ""
  37660. #. type: item
  37661. #: guix-git/doc/guix.texi:25553
  37662. #, no-wrap
  37663. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  37664. msgstr ""
  37665. #. type: itemize
  37666. #: guix-git/doc/guix.texi:25555
  37667. msgid "specified by clients;"
  37668. msgstr ""
  37669. #. type: item
  37670. #: guix-git/doc/guix.texi:25555
  37671. #, no-wrap
  37672. msgid "Accepts services which only support encryption types known to be weak."
  37673. msgstr ""
  37674. #. type: Plain text
  37675. #: guix-git/doc/guix.texi:25563
  37676. 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."
  37677. msgstr ""
  37678. #. type: deftp
  37679. #: guix-git/doc/guix.texi:25565
  37680. #, no-wrap
  37681. msgid "{Data Type} krb5-realm"
  37682. msgstr ""
  37683. #. type: cindex
  37684. #: guix-git/doc/guix.texi:25566
  37685. #, no-wrap
  37686. msgid "realm, kerberos"
  37687. msgstr ""
  37688. #. type: table
  37689. #: guix-git/doc/guix.texi:25572
  37690. 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."
  37691. msgstr ""
  37692. #. type: code{#1}
  37693. #: guix-git/doc/guix.texi:25573
  37694. #, no-wrap
  37695. msgid "admin-server"
  37696. msgstr ""
  37697. #. type: table
  37698. #: guix-git/doc/guix.texi:25576
  37699. msgid "This field is a string identifying the host where the administration server is running."
  37700. msgstr ""
  37701. #. type: code{#1}
  37702. #: guix-git/doc/guix.texi:25577
  37703. #, no-wrap
  37704. msgid "kdc"
  37705. msgstr ""
  37706. #. type: table
  37707. #: guix-git/doc/guix.texi:25580
  37708. msgid "This field is a string identifying the key distribution center for the realm."
  37709. msgstr ""
  37710. #. type: deftp
  37711. #: guix-git/doc/guix.texi:25583
  37712. #, no-wrap
  37713. msgid "{Data Type} krb5-configuration"
  37714. msgstr ""
  37715. #. type: item
  37716. #: guix-git/doc/guix.texi:25586
  37717. #, no-wrap
  37718. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  37719. msgstr ""
  37720. #. type: table
  37721. #: guix-git/doc/guix.texi:25589
  37722. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  37723. msgstr ""
  37724. #. type: item
  37725. #: guix-git/doc/guix.texi:25590
  37726. #, no-wrap
  37727. msgid "@code{default-realm} (default: @code{#f})"
  37728. msgstr ""
  37729. #. type: table
  37730. #: guix-git/doc/guix.texi:25597
  37731. 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}."
  37732. msgstr ""
  37733. #. type: code{#1}
  37734. #: guix-git/doc/guix.texi:25598
  37735. #, no-wrap
  37736. msgid "realms"
  37737. msgstr ""
  37738. #. type: table
  37739. #: guix-git/doc/guix.texi:25603
  37740. 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."
  37741. msgstr ""
  37742. #. type: subsubheading
  37743. #: guix-git/doc/guix.texi:25607
  37744. #, no-wrap
  37745. msgid "PAM krb5 Service"
  37746. msgstr ""
  37747. #. type: cindex
  37748. #: guix-git/doc/guix.texi:25608
  37749. #, no-wrap
  37750. msgid "pam-krb5"
  37751. msgstr ""
  37752. #. type: Plain text
  37753. #: guix-git/doc/guix.texi:25614
  37754. 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."
  37755. msgstr ""
  37756. #. type: defvr
  37757. #: guix-git/doc/guix.texi:25615
  37758. #, no-wrap
  37759. msgid "{Scheme Variable} pam-krb5-service-type"
  37760. msgstr ""
  37761. #. type: defvr
  37762. #: guix-git/doc/guix.texi:25617
  37763. msgid "A service type for the Kerberos 5 PAM module."
  37764. msgstr ""
  37765. #. type: deftp
  37766. #: guix-git/doc/guix.texi:25619
  37767. #, no-wrap
  37768. msgid "{Data Type} pam-krb5-configuration"
  37769. msgstr ""
  37770. #. type: deftp
  37771. #: guix-git/doc/guix.texi:25622
  37772. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  37773. msgstr ""
  37774. #. type: item
  37775. #: guix-git/doc/guix.texi:25623
  37776. #, no-wrap
  37777. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  37778. msgstr ""
  37779. #. type: table
  37780. #: guix-git/doc/guix.texi:25625
  37781. msgid "The pam-krb5 package to use."
  37782. msgstr ""
  37783. #. type: item
  37784. #: guix-git/doc/guix.texi:25626
  37785. #, no-wrap
  37786. msgid "@code{minimum-uid} (default: @code{1000})"
  37787. msgstr ""
  37788. #. type: table
  37789. #: guix-git/doc/guix.texi:25629
  37790. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  37791. msgstr ""
  37792. #. type: cindex
  37793. #: guix-git/doc/guix.texi:25635
  37794. #, no-wrap
  37795. msgid "LDAP"
  37796. msgstr ""
  37797. #. type: cindex
  37798. #: guix-git/doc/guix.texi:25636
  37799. #, no-wrap
  37800. msgid "nslcd, LDAP service"
  37801. msgstr ""
  37802. #. type: Plain text
  37803. #: guix-git/doc/guix.texi:25643
  37804. 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."
  37805. msgstr ""
  37806. #. type: Plain text
  37807. #: guix-git/doc/guix.texi:25647
  37808. 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:"
  37809. msgstr ""
  37810. #. type: lisp
  37811. #: guix-git/doc/guix.texi:25670
  37812. #, no-wrap
  37813. msgid ""
  37814. "(use-service-modules authentication)\n"
  37815. "(use-modules (gnu system nss))\n"
  37816. "...\n"
  37817. "(operating-system\n"
  37818. " ...\n"
  37819. " (services\n"
  37820. " (cons*\n"
  37821. " (service nslcd-service-type)\n"
  37822. " (service dhcp-client-service-type)\n"
  37823. " %base-services))\n"
  37824. " (name-service-switch\n"
  37825. " (let ((services (list (name-service (name \"db\"))\n"
  37826. " (name-service (name \"files\"))\n"
  37827. " (name-service (name \"ldap\")))))\n"
  37828. " (name-service-switch\n"
  37829. " (inherit %mdns-host-lookup-nss)\n"
  37830. " (password services)\n"
  37831. " (shadow services)\n"
  37832. " (group services)\n"
  37833. " (netgroup services)\n"
  37834. " (gshadow services)))))\n"
  37835. msgstr ""
  37836. #. type: Plain text
  37837. #: guix-git/doc/guix.texi:25675
  37838. msgid "Available @code{nslcd-configuration} fields are:"
  37839. msgstr ""
  37840. #. type: deftypevr
  37841. #: guix-git/doc/guix.texi:25676
  37842. #, no-wrap
  37843. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  37844. msgstr ""
  37845. #. type: deftypevr
  37846. #: guix-git/doc/guix.texi:25678
  37847. msgid "The @code{nss-pam-ldapd} package to use."
  37848. msgstr ""
  37849. #. type: deftypevr
  37850. #: guix-git/doc/guix.texi:25681
  37851. #, no-wrap
  37852. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  37853. msgstr ""
  37854. #. type: deftypevr
  37855. #: guix-git/doc/guix.texi:25685
  37856. 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."
  37857. msgstr ""
  37858. #. type: deftypevr
  37859. #: guix-git/doc/guix.texi:25690
  37860. #, no-wrap
  37861. msgid "{@code{nslcd-configuration} parameter} string uid"
  37862. msgstr ""
  37863. #. type: deftypevr
  37864. #: guix-git/doc/guix.texi:25692
  37865. msgid "This specifies the user id with which the daemon should be run."
  37866. msgstr ""
  37867. #. type: deftypevr
  37868. #: guix-git/doc/guix.texi:25694 guix-git/doc/guix.texi:25701
  37869. msgid "Defaults to @samp{\"nslcd\"}."
  37870. msgstr ""
  37871. #. type: deftypevr
  37872. #: guix-git/doc/guix.texi:25697
  37873. #, no-wrap
  37874. msgid "{@code{nslcd-configuration} parameter} string gid"
  37875. msgstr ""
  37876. #. type: deftypevr
  37877. #: guix-git/doc/guix.texi:25699
  37878. msgid "This specifies the group id with which the daemon should be run."
  37879. msgstr ""
  37880. #. type: deftypevr
  37881. #: guix-git/doc/guix.texi:25704
  37882. #, no-wrap
  37883. msgid "{@code{nslcd-configuration} parameter} log-option log"
  37884. msgstr ""
  37885. #. type: deftypevr
  37886. #: guix-git/doc/guix.texi:25712
  37887. 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."
  37888. msgstr ""
  37889. #. type: deftypevr
  37890. #: guix-git/doc/guix.texi:25714
  37891. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  37892. msgstr ""
  37893. #. type: deftypevr
  37894. #: guix-git/doc/guix.texi:25717
  37895. #, no-wrap
  37896. msgid "{@code{nslcd-configuration} parameter} list uri"
  37897. msgstr ""
  37898. #. type: deftypevr
  37899. #: guix-git/doc/guix.texi:25720
  37900. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  37901. msgstr ""
  37902. #. type: deftypevr
  37903. #: guix-git/doc/guix.texi:25722
  37904. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  37905. msgstr ""
  37906. #. type: deftypevr
  37907. #: guix-git/doc/guix.texi:25725
  37908. #, no-wrap
  37909. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  37910. msgstr ""
  37911. #. type: deftypevr
  37912. #: guix-git/doc/guix.texi:25728
  37913. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  37914. msgstr ""
  37915. #. type: deftypevr
  37916. #: guix-git/doc/guix.texi:25733
  37917. #, no-wrap
  37918. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  37919. msgstr ""
  37920. #. type: deftypevr
  37921. #: guix-git/doc/guix.texi:25736
  37922. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  37923. msgstr ""
  37924. #. type: deftypevr
  37925. #: guix-git/doc/guix.texi:25741
  37926. #, no-wrap
  37927. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  37928. msgstr ""
  37929. #. type: deftypevr
  37930. #: guix-git/doc/guix.texi:25744
  37931. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  37932. msgstr ""
  37933. #. type: deftypevr
  37934. #: guix-git/doc/guix.texi:25749
  37935. #, no-wrap
  37936. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  37937. msgstr ""
  37938. #. type: deftypevr
  37939. #: guix-git/doc/guix.texi:25752
  37940. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  37941. msgstr ""
  37942. #. type: deftypevr
  37943. #: guix-git/doc/guix.texi:25757
  37944. #, no-wrap
  37945. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  37946. msgstr ""
  37947. #. type: deftypevr
  37948. #: guix-git/doc/guix.texi:25761
  37949. 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"
  37950. msgstr ""
  37951. #. type: deftypevr
  37952. #: guix-git/doc/guix.texi:25766
  37953. #, no-wrap
  37954. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  37955. msgstr ""
  37956. #. type: deftypevr
  37957. #: guix-git/doc/guix.texi:25769
  37958. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  37959. msgstr ""
  37960. #. type: deftypevr
  37961. #: guix-git/doc/guix.texi:25774
  37962. #, no-wrap
  37963. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  37964. msgstr ""
  37965. #. type: deftypevr
  37966. #: guix-git/doc/guix.texi:25776
  37967. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  37968. msgstr ""
  37969. #. type: deftypevr
  37970. #: guix-git/doc/guix.texi:25781
  37971. #, no-wrap
  37972. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  37973. msgstr ""
  37974. #. type: deftypevr
  37975. #: guix-git/doc/guix.texi:25784
  37976. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  37977. msgstr ""
  37978. #. type: deftypevr
  37979. #: guix-git/doc/guix.texi:25789
  37980. #, no-wrap
  37981. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  37982. msgstr ""
  37983. #. type: deftypevr
  37984. #: guix-git/doc/guix.texi:25792
  37985. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  37986. msgstr ""
  37987. #. type: deftypevr
  37988. #: guix-git/doc/guix.texi:25797
  37989. #, no-wrap
  37990. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  37991. msgstr ""
  37992. #. type: deftypevr
  37993. #: guix-git/doc/guix.texi:25802
  37994. 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."
  37995. msgstr ""
  37996. #. type: deftypevr
  37997. #: guix-git/doc/guix.texi:25807
  37998. #, no-wrap
  37999. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  38000. msgstr ""
  38001. #. type: deftypevr
  38002. #: guix-git/doc/guix.texi:25809
  38003. msgid "Set the name for the GSS-API Kerberos credentials cache."
  38004. msgstr ""
  38005. #. type: deftypevr
  38006. #: guix-git/doc/guix.texi:25814
  38007. #, no-wrap
  38008. msgid "{@code{nslcd-configuration} parameter} string base"
  38009. msgstr ""
  38010. #. type: deftypevr
  38011. #: guix-git/doc/guix.texi:25816
  38012. msgid "The directory search base."
  38013. msgstr ""
  38014. #. type: deftypevr
  38015. #: guix-git/doc/guix.texi:25818
  38016. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  38017. msgstr ""
  38018. #. type: deftypevr
  38019. #: guix-git/doc/guix.texi:25821
  38020. #, no-wrap
  38021. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  38022. msgstr ""
  38023. #. type: deftypevr
  38024. #: guix-git/doc/guix.texi:25825
  38025. 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."
  38026. msgstr ""
  38027. #. type: deftypevr
  38028. #: guix-git/doc/guix.texi:25827
  38029. msgid "Defaults to @samp{(subtree)}."
  38030. msgstr ""
  38031. #. type: deftypevr
  38032. #: guix-git/doc/guix.texi:25830
  38033. #, no-wrap
  38034. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  38035. msgstr ""
  38036. #. type: deftypevr
  38037. #: guix-git/doc/guix.texi:25833
  38038. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  38039. msgstr ""
  38040. #. type: deftypevr
  38041. #: guix-git/doc/guix.texi:25838
  38042. #, no-wrap
  38043. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  38044. msgstr ""
  38045. #. type: deftypevr
  38046. #: guix-git/doc/guix.texi:25841
  38047. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  38048. msgstr ""
  38049. #. type: deftypevr
  38050. #: guix-git/doc/guix.texi:25846
  38051. #, no-wrap
  38052. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  38053. msgstr ""
  38054. #. type: deftypevr
  38055. #: guix-git/doc/guix.texi:25851
  38056. 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."
  38057. msgstr ""
  38058. #. type: deftypevr
  38059. #: guix-git/doc/guix.texi:25856
  38060. #, no-wrap
  38061. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  38062. msgstr ""
  38063. #. type: deftypevr
  38064. #: guix-git/doc/guix.texi:25859
  38065. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  38066. msgstr ""
  38067. #. type: deftypevr
  38068. #: guix-git/doc/guix.texi:25864
  38069. #, no-wrap
  38070. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  38071. msgstr ""
  38072. #. type: deftypevr
  38073. #: guix-git/doc/guix.texi:25867
  38074. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  38075. msgstr ""
  38076. #. type: deftypevr
  38077. #: guix-git/doc/guix.texi:25872
  38078. #, no-wrap
  38079. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  38080. msgstr ""
  38081. #. type: deftypevr
  38082. #: guix-git/doc/guix.texi:25876
  38083. 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."
  38084. msgstr ""
  38085. #. type: deftypevr
  38086. #: guix-git/doc/guix.texi:25881
  38087. #, no-wrap
  38088. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  38089. msgstr ""
  38090. #. type: deftypevr
  38091. #: guix-git/doc/guix.texi:25885
  38092. 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."
  38093. msgstr ""
  38094. #. type: deftypevr
  38095. #: guix-git/doc/guix.texi:25890
  38096. #, no-wrap
  38097. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  38098. msgstr ""
  38099. #. type: deftypevr
  38100. #: guix-git/doc/guix.texi:25894
  38101. 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."
  38102. msgstr ""
  38103. #. type: deftypevr
  38104. #: guix-git/doc/guix.texi:25899
  38105. #, no-wrap
  38106. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  38107. msgstr ""
  38108. #. type: deftypevr
  38109. #: guix-git/doc/guix.texi:25903
  38110. 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."
  38111. msgstr ""
  38112. #. type: deftypevr
  38113. #: guix-git/doc/guix.texi:25908
  38114. #, no-wrap
  38115. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  38116. msgstr ""
  38117. #. type: deftypevr
  38118. #: guix-git/doc/guix.texi:25912
  38119. 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."
  38120. msgstr ""
  38121. #. type: deftypevr
  38122. #: guix-git/doc/guix.texi:25917
  38123. #, no-wrap
  38124. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  38125. msgstr ""
  38126. #. type: deftypevr
  38127. #: guix-git/doc/guix.texi:25920
  38128. 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."
  38129. msgstr ""
  38130. #. type: deftypevr
  38131. #: guix-git/doc/guix.texi:25925
  38132. #, no-wrap
  38133. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  38134. msgstr ""
  38135. #. type: deftypevr
  38136. #: guix-git/doc/guix.texi:25928
  38137. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  38138. msgstr ""
  38139. #. type: deftypevr
  38140. #: guix-git/doc/guix.texi:25933
  38141. #, no-wrap
  38142. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  38143. msgstr ""
  38144. #. type: deftypevr
  38145. #: guix-git/doc/guix.texi:25935
  38146. msgid "Specifies the path to the X.509 certificate for peer authentication."
  38147. msgstr ""
  38148. #. type: deftypevr
  38149. #: guix-git/doc/guix.texi:25940
  38150. #, no-wrap
  38151. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  38152. msgstr ""
  38153. #. type: deftypevr
  38154. #: guix-git/doc/guix.texi:25943
  38155. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  38156. msgstr ""
  38157. #. type: deftypevr
  38158. #: guix-git/doc/guix.texi:25948
  38159. #, no-wrap
  38160. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  38161. msgstr ""
  38162. #. type: deftypevr
  38163. #: guix-git/doc/guix.texi:25950
  38164. msgid "Specifies the ciphers to use for TLS as a string."
  38165. msgstr ""
  38166. #. type: deftypevr
  38167. #: guix-git/doc/guix.texi:25955
  38168. #, no-wrap
  38169. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  38170. msgstr ""
  38171. #. type: deftypevr
  38172. #: guix-git/doc/guix.texi:25958
  38173. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  38174. msgstr ""
  38175. #. type: deftypevr
  38176. #: guix-git/doc/guix.texi:25963
  38177. #, no-wrap
  38178. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  38179. msgstr ""
  38180. #. type: deftypevr
  38181. #: guix-git/doc/guix.texi:25966
  38182. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  38183. msgstr ""
  38184. #. type: deftypevr
  38185. #: guix-git/doc/guix.texi:25971
  38186. #, no-wrap
  38187. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  38188. msgstr ""
  38189. #. type: deftypevr
  38190. #: guix-git/doc/guix.texi:25975
  38191. 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."
  38192. msgstr ""
  38193. #. type: deftypevr
  38194. #: guix-git/doc/guix.texi:25980
  38195. #, no-wrap
  38196. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  38197. msgstr ""
  38198. #. type: deftypevr
  38199. #: guix-git/doc/guix.texi:25984
  38200. 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."
  38201. msgstr ""
  38202. #. type: deftypevr
  38203. #: guix-git/doc/guix.texi:25989
  38204. #, no-wrap
  38205. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  38206. msgstr ""
  38207. #. type: deftypevr
  38208. #: guix-git/doc/guix.texi:25992
  38209. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  38210. msgstr ""
  38211. #. type: deftypevr
  38212. #: guix-git/doc/guix.texi:25997
  38213. #, no-wrap
  38214. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  38215. msgstr ""
  38216. #. type: deftypevr
  38217. #: guix-git/doc/guix.texi:26000
  38218. 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."
  38219. msgstr ""
  38220. #. type: deftypevr
  38221. #: guix-git/doc/guix.texi:26005
  38222. #, no-wrap
  38223. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  38224. msgstr ""
  38225. #. type: deftypevr
  38226. #: guix-git/doc/guix.texi:26008
  38227. 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."
  38228. msgstr ""
  38229. #. type: deftypevr
  38230. #: guix-git/doc/guix.texi:26013
  38231. #, no-wrap
  38232. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  38233. msgstr ""
  38234. #. type: deftypevr
  38235. #: guix-git/doc/guix.texi:26019
  38236. 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."
  38237. msgstr ""
  38238. #. type: deftypevr
  38239. #: guix-git/doc/guix.texi:26024
  38240. #, no-wrap
  38241. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  38242. msgstr ""
  38243. #. type: deftypevr
  38244. #: guix-git/doc/guix.texi:26029
  38245. 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."
  38246. msgstr ""
  38247. #. type: deftypevr
  38248. #: guix-git/doc/guix.texi:26034
  38249. #, no-wrap
  38250. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  38251. msgstr ""
  38252. #. type: deftypevr
  38253. #: guix-git/doc/guix.texi:26040
  38254. 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."
  38255. msgstr ""
  38256. #. type: deftypevr
  38257. #: guix-git/doc/guix.texi:26045
  38258. #, no-wrap
  38259. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  38260. msgstr ""
  38261. #. type: deftypevr
  38262. #: guix-git/doc/guix.texi:26049
  38263. 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."
  38264. msgstr ""
  38265. #. type: deftypevr
  38266. #: guix-git/doc/guix.texi:26054
  38267. #, no-wrap
  38268. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  38269. msgstr ""
  38270. #. type: deftypevr
  38271. #: guix-git/doc/guix.texi:26059
  38272. 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."
  38273. msgstr ""
  38274. #. type: deftypevr
  38275. #: guix-git/doc/guix.texi:26064
  38276. #, no-wrap
  38277. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  38278. msgstr ""
  38279. #. type: deftypevr
  38280. #: guix-git/doc/guix.texi:26067
  38281. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  38282. msgstr ""
  38283. #. type: deftypevr
  38284. #: guix-git/doc/guix.texi:26072
  38285. #, no-wrap
  38286. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  38287. msgstr ""
  38288. #. type: deftypevr
  38289. #: guix-git/doc/guix.texi:26078
  38290. 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."
  38291. msgstr ""
  38292. #. type: deftypevr
  38293. #: guix-git/doc/guix.texi:26083
  38294. #, no-wrap
  38295. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  38296. msgstr ""
  38297. #. type: deftypevr
  38298. #: guix-git/doc/guix.texi:26087
  38299. 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."
  38300. msgstr ""
  38301. #. type: deftypevr
  38302. #: guix-git/doc/guix.texi:26092
  38303. #, no-wrap
  38304. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  38305. msgstr ""
  38306. #. type: deftypevr
  38307. #: guix-git/doc/guix.texi:26097
  38308. 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."
  38309. msgstr ""
  38310. #. type: deftypevr
  38311. #: guix-git/doc/guix.texi:26102
  38312. #, no-wrap
  38313. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  38314. msgstr ""
  38315. #. type: deftypevr
  38316. #: guix-git/doc/guix.texi:26104
  38317. msgid "List of pam service names for which LDAP authentication should suffice."
  38318. msgstr ""
  38319. #. type: cindex
  38320. #: guix-git/doc/guix.texi:26115
  38321. #, no-wrap
  38322. msgid "web"
  38323. msgstr ""
  38324. #. type: cindex
  38325. #: guix-git/doc/guix.texi:26116
  38326. #, no-wrap
  38327. msgid "www"
  38328. msgstr ""
  38329. #. type: cindex
  38330. #: guix-git/doc/guix.texi:26117
  38331. #, no-wrap
  38332. msgid "HTTP"
  38333. msgstr ""
  38334. #. type: Plain text
  38335. #: guix-git/doc/guix.texi:26120
  38336. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  38337. msgstr ""
  38338. #. type: subsubheading
  38339. #: guix-git/doc/guix.texi:26121
  38340. #, no-wrap
  38341. msgid "Apache HTTP Server"
  38342. msgstr ""
  38343. #. type: deffn
  38344. #: guix-git/doc/guix.texi:26123
  38345. #, no-wrap
  38346. msgid "{Scheme Variable} httpd-service-type"
  38347. msgstr ""
  38348. #. type: deffn
  38349. #: guix-git/doc/guix.texi:26127
  38350. 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."
  38351. msgstr ""
  38352. #. type: deffn
  38353. #: guix-git/doc/guix.texi:26129 guix-git/doc/guix.texi:26311
  38354. msgid "A simple example configuration is given below."
  38355. msgstr ""
  38356. #. type: lisp
  38357. #: guix-git/doc/guix.texi:26137
  38358. #, no-wrap
  38359. msgid ""
  38360. "(service httpd-service-type\n"
  38361. " (httpd-configuration\n"
  38362. " (config\n"
  38363. " (httpd-config-file\n"
  38364. " (server-name \"www.example.com\")\n"
  38365. " (document-root \"/srv/http/www.example.com\")))))\n"
  38366. msgstr ""
  38367. #. type: deffn
  38368. #: guix-git/doc/guix.texi:26141
  38369. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  38370. msgstr ""
  38371. #. type: lisp
  38372. #: guix-git/doc/guix.texi:26150 guix-git/doc/guix.texi:26290
  38373. #, no-wrap
  38374. msgid ""
  38375. "(simple-service 'www.example.com-server httpd-service-type\n"
  38376. " (list\n"
  38377. " (httpd-virtualhost\n"
  38378. " \"*:80\"\n"
  38379. " (list (string-join '(\"ServerName www.example.com\"\n"
  38380. " \"DocumentRoot /srv/http/www.example.com\")\n"
  38381. " \"\\n\")))))\n"
  38382. msgstr ""
  38383. #. type: Plain text
  38384. #: guix-git/doc/guix.texi:26156
  38385. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  38386. msgstr ""
  38387. #. type: deffn
  38388. #: guix-git/doc/guix.texi:26157
  38389. #, no-wrap
  38390. msgid "{Data Type} httpd-configuration"
  38391. msgstr ""
  38392. #. type: deffn
  38393. #: guix-git/doc/guix.texi:26159
  38394. msgid "This data type represents the configuration for the httpd service."
  38395. msgstr ""
  38396. #. type: item
  38397. #: guix-git/doc/guix.texi:26161
  38398. #, no-wrap
  38399. msgid "@code{package} (default: @code{httpd})"
  38400. msgstr ""
  38401. #. type: table
  38402. #: guix-git/doc/guix.texi:26163
  38403. msgid "The httpd package to use."
  38404. msgstr ""
  38405. #. type: item
  38406. #: guix-git/doc/guix.texi:26164 guix-git/doc/guix.texi:26253
  38407. #, no-wrap
  38408. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  38409. msgstr ""
  38410. #. type: table
  38411. #: guix-git/doc/guix.texi:26166
  38412. msgid "The pid file used by the shepherd-service."
  38413. msgstr ""
  38414. #. type: item
  38415. #: guix-git/doc/guix.texi:26167
  38416. #, no-wrap
  38417. msgid "@code{config} (default: @code{(httpd-config-file)})"
  38418. msgstr ""
  38419. #. type: table
  38420. #: guix-git/doc/guix.texi:26172
  38421. 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."
  38422. msgstr ""
  38423. #. type: deffn
  38424. #: guix-git/doc/guix.texi:26176
  38425. #, no-wrap
  38426. msgid "{Data Type} httpd-module"
  38427. msgstr ""
  38428. #. type: deffn
  38429. #: guix-git/doc/guix.texi:26178
  38430. msgid "This data type represents a module for the httpd service."
  38431. msgstr ""
  38432. #. type: table
  38433. #: guix-git/doc/guix.texi:26182
  38434. msgid "The name of the module."
  38435. msgstr ""
  38436. #. type: table
  38437. #: guix-git/doc/guix.texi:26188
  38438. 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\")}."
  38439. msgstr ""
  38440. #. type: defvr
  38441. #: guix-git/doc/guix.texi:26192
  38442. #, no-wrap
  38443. msgid "{Scheme Variable} %default-httpd-modules"
  38444. msgstr ""
  38445. #. type: defvr
  38446. #: guix-git/doc/guix.texi:26194
  38447. msgid "A default list of @code{httpd-module} objects."
  38448. msgstr ""
  38449. #. type: deffn
  38450. #: guix-git/doc/guix.texi:26196
  38451. #, no-wrap
  38452. msgid "{Data Type} httpd-config-file"
  38453. msgstr ""
  38454. #. type: deffn
  38455. #: guix-git/doc/guix.texi:26198
  38456. msgid "This data type represents a configuration file for the httpd service."
  38457. msgstr ""
  38458. #. type: item
  38459. #: guix-git/doc/guix.texi:26200
  38460. #, no-wrap
  38461. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  38462. msgstr ""
  38463. #. type: table
  38464. #: guix-git/doc/guix.texi:26203
  38465. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  38466. msgstr ""
  38467. #. type: table
  38468. #: guix-git/doc/guix.texi:26206
  38469. 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}:"
  38470. msgstr ""
  38471. #. type: lisp
  38472. #: guix-git/doc/guix.texi:26228
  38473. #, no-wrap
  38474. msgid ""
  38475. "(service httpd-service-type\n"
  38476. " (httpd-configuration\n"
  38477. " (config\n"
  38478. " (httpd-config-file\n"
  38479. " (modules (cons*\n"
  38480. " (httpd-module\n"
  38481. " (name \"proxy_module\")\n"
  38482. " (file \"modules/mod_proxy.so\"))\n"
  38483. " (httpd-module\n"
  38484. " (name \"proxy_fcgi_module\")\n"
  38485. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  38486. " %default-httpd-modules))\n"
  38487. " (extra-config (list \"\\\n"
  38488. "<FilesMatch \\\\.php$>\n"
  38489. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  38490. "</FilesMatch>\"))))))\n"
  38491. "(service php-fpm-service-type\n"
  38492. " (php-fpm-configuration\n"
  38493. " (socket \"/var/run/php-fpm.sock\")\n"
  38494. " (socket-group \"httpd\")))\n"
  38495. msgstr ""
  38496. #. type: item
  38497. #: guix-git/doc/guix.texi:26230
  38498. #, no-wrap
  38499. msgid "@code{server-root} (default: @code{httpd})"
  38500. msgstr ""
  38501. #. type: table
  38502. #: guix-git/doc/guix.texi:26234
  38503. 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."
  38504. msgstr ""
  38505. #. type: item
  38506. #: guix-git/doc/guix.texi:26235
  38507. #, no-wrap
  38508. msgid "@code{server-name} (default: @code{#f})"
  38509. msgstr ""
  38510. #. type: table
  38511. #: guix-git/doc/guix.texi:26239
  38512. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  38513. msgstr ""
  38514. #. type: table
  38515. #: guix-git/doc/guix.texi:26243
  38516. 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}."
  38517. msgstr ""
  38518. #. type: item
  38519. #: guix-git/doc/guix.texi:26244
  38520. #, no-wrap
  38521. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  38522. msgstr ""
  38523. #. type: table
  38524. #: guix-git/doc/guix.texi:26246
  38525. msgid "The @code{DocumentRoot} from which files will be served."
  38526. msgstr ""
  38527. #. type: item
  38528. #: guix-git/doc/guix.texi:26247
  38529. #, no-wrap
  38530. msgid "@code{listen} (default: @code{'(\"80\")})"
  38531. msgstr ""
  38532. #. type: table
  38533. #: guix-git/doc/guix.texi:26252
  38534. 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."
  38535. msgstr ""
  38536. #. type: table
  38537. #: guix-git/doc/guix.texi:26257
  38538. 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."
  38539. msgstr ""
  38540. #. type: item
  38541. #: guix-git/doc/guix.texi:26258
  38542. #, no-wrap
  38543. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  38544. msgstr ""
  38545. #. type: table
  38546. #: guix-git/doc/guix.texi:26260
  38547. msgid "The @code{ErrorLog} to which the server will log errors."
  38548. msgstr ""
  38549. #. type: item
  38550. #: guix-git/doc/guix.texi:26261 guix-git/doc/guix.texi:26823
  38551. #, no-wrap
  38552. msgid "@code{user} (default: @code{\"httpd\"})"
  38553. msgstr ""
  38554. #. type: table
  38555. #: guix-git/doc/guix.texi:26263
  38556. msgid "The @code{User} which the server will answer requests as."
  38557. msgstr ""
  38558. #. type: item
  38559. #: guix-git/doc/guix.texi:26264
  38560. #, no-wrap
  38561. msgid "@code{group} (default: @code{\"httpd\"})"
  38562. msgstr ""
  38563. #. type: table
  38564. #: guix-git/doc/guix.texi:26266
  38565. msgid "The @code{Group} which the server will answer requests as."
  38566. msgstr ""
  38567. #. type: item
  38568. #: guix-git/doc/guix.texi:26267
  38569. #, no-wrap
  38570. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  38571. msgstr ""
  38572. #. type: table
  38573. #: guix-git/doc/guix.texi:26270
  38574. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  38575. msgstr ""
  38576. #. type: table
  38577. #: guix-git/doc/guix.texi:26273
  38578. msgid "Any values which the service is extended with will be appended to this list."
  38579. msgstr ""
  38580. #. type: deffn
  38581. #: guix-git/doc/guix.texi:26277
  38582. #, no-wrap
  38583. msgid "{Data Type} httpd-virtualhost"
  38584. msgstr ""
  38585. #. type: deffn
  38586. #: guix-git/doc/guix.texi:26279
  38587. msgid "This data type represents a virtualhost configuration block for the httpd service."
  38588. msgstr ""
  38589. #. type: deffn
  38590. #: guix-git/doc/guix.texi:26281
  38591. msgid "These should be added to the extra-config for the httpd-service."
  38592. msgstr ""
  38593. #. type: code{#1}
  38594. #: guix-git/doc/guix.texi:26293
  38595. #, no-wrap
  38596. msgid "addresses-and-ports"
  38597. msgstr ""
  38598. #. type: table
  38599. #: guix-git/doc/guix.texi:26295
  38600. msgid "The addresses and ports for the @code{VirtualHost} directive."
  38601. msgstr ""
  38602. #. type: code{#1}
  38603. #: guix-git/doc/guix.texi:26296
  38604. #, no-wrap
  38605. msgid "contents"
  38606. msgstr ""
  38607. #. type: table
  38608. #: guix-git/doc/guix.texi:26299
  38609. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  38610. msgstr ""
  38611. #. type: subsubheading
  38612. #: guix-git/doc/guix.texi:26304
  38613. #, no-wrap
  38614. msgid "NGINX"
  38615. msgstr ""
  38616. #. type: deffn
  38617. #: guix-git/doc/guix.texi:26306
  38618. #, no-wrap
  38619. msgid "{Scheme Variable} nginx-service-type"
  38620. msgstr ""
  38621. #. type: deffn
  38622. #: guix-git/doc/guix.texi:26309
  38623. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  38624. msgstr ""
  38625. #. type: lisp
  38626. #: guix-git/doc/guix.texi:26319 guix-git/doc/guix.texi:26373
  38627. #, no-wrap
  38628. msgid ""
  38629. "(service nginx-service-type\n"
  38630. " (nginx-configuration\n"
  38631. " (server-blocks\n"
  38632. " (list (nginx-server-configuration\n"
  38633. " (server-name '(\"www.example.com\"))\n"
  38634. " (root \"/srv/http/www.example.com\"))))))\n"
  38635. msgstr ""
  38636. #. type: deffn
  38637. #: guix-git/doc/guix.texi:26324
  38638. 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:"
  38639. msgstr ""
  38640. #. type: lisp
  38641. #: guix-git/doc/guix.texi:26330
  38642. #, no-wrap
  38643. msgid ""
  38644. "(simple-service 'my-extra-server nginx-service-type\n"
  38645. " (list (nginx-server-configuration\n"
  38646. " (root \"/srv/http/extra-website\")\n"
  38647. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  38648. msgstr ""
  38649. #. type: Plain text
  38650. #: guix-git/doc/guix.texi:26341
  38651. 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."
  38652. msgstr ""
  38653. #. type: deffn
  38654. #: guix-git/doc/guix.texi:26342
  38655. #, no-wrap
  38656. msgid "{Data Type} nginx-configuration"
  38657. msgstr ""
  38658. #. type: deffn
  38659. #: guix-git/doc/guix.texi:26346
  38660. 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."
  38661. msgstr ""
  38662. #. type: item
  38663. #: guix-git/doc/guix.texi:26348
  38664. #, no-wrap
  38665. msgid "@code{nginx} (default: @code{nginx})"
  38666. msgstr ""
  38667. #. type: table
  38668. #: guix-git/doc/guix.texi:26350
  38669. msgid "The nginx package to use."
  38670. msgstr ""
  38671. #. type: item
  38672. #: guix-git/doc/guix.texi:26351
  38673. #, no-wrap
  38674. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  38675. msgstr ""
  38676. #. type: table
  38677. #: guix-git/doc/guix.texi:26353
  38678. msgid "The directory to which NGinx will write log files."
  38679. msgstr ""
  38680. #. type: item
  38681. #: guix-git/doc/guix.texi:26354
  38682. #, no-wrap
  38683. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  38684. msgstr ""
  38685. #. type: table
  38686. #: guix-git/doc/guix.texi:26357
  38687. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  38688. msgstr ""
  38689. #. type: item
  38690. #: guix-git/doc/guix.texi:26358
  38691. #, no-wrap
  38692. msgid "@code{server-blocks} (default: @code{'()})"
  38693. msgstr ""
  38694. #. type: table
  38695. #: guix-git/doc/guix.texi:26362
  38696. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  38697. msgstr ""
  38698. #. type: table
  38699. #: guix-git/doc/guix.texi:26366
  38700. 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."
  38701. msgstr ""
  38702. #. type: item
  38703. #: guix-git/doc/guix.texi:26375
  38704. #, no-wrap
  38705. msgid "@code{upstream-blocks} (default: @code{'()})"
  38706. msgstr ""
  38707. #. type: table
  38708. #: guix-git/doc/guix.texi:26379
  38709. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  38710. msgstr ""
  38711. #. type: table
  38712. #: guix-git/doc/guix.texi:26386
  38713. 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."
  38714. msgstr ""
  38715. #. type: lisp
  38716. #: guix-git/doc/guix.texi:26405
  38717. #, no-wrap
  38718. msgid ""
  38719. "(service\n"
  38720. " nginx-service-type\n"
  38721. " (nginx-configuration\n"
  38722. " (server-blocks\n"
  38723. " (list (nginx-server-configuration\n"
  38724. " (server-name '(\"www.example.com\"))\n"
  38725. " (root \"/srv/http/www.example.com\")\n"
  38726. " (locations\n"
  38727. " (list\n"
  38728. " (nginx-location-configuration\n"
  38729. " (uri \"/path1\")\n"
  38730. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  38731. " (upstream-blocks\n"
  38732. " (list (nginx-upstream-configuration\n"
  38733. " (name \"server-proxy\")\n"
  38734. " (servers (list \"server1.example.com\"\n"
  38735. " \"server2.example.com\")))))))\n"
  38736. msgstr ""
  38737. #. type: table
  38738. #: guix-git/doc/guix.texi:26413
  38739. 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."
  38740. msgstr ""
  38741. #. type: table
  38742. #: guix-git/doc/guix.texi:26417
  38743. 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."
  38744. msgstr ""
  38745. #. type: item
  38746. #: guix-git/doc/guix.texi:26418
  38747. #, no-wrap
  38748. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  38749. msgstr ""
  38750. #. type: table
  38751. #: guix-git/doc/guix.texi:26421
  38752. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  38753. msgstr ""
  38754. #. type: item
  38755. #: guix-git/doc/guix.texi:26422
  38756. #, no-wrap
  38757. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  38758. msgstr ""
  38759. #. type: table
  38760. #: guix-git/doc/guix.texi:26424
  38761. msgid "Maximum bucket size for the server names hash tables."
  38762. msgstr ""
  38763. #. type: table
  38764. #: guix-git/doc/guix.texi:26428
  38765. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  38766. msgstr ""
  38767. #. type: lisp
  38768. #: guix-git/doc/guix.texi:26436
  38769. #, no-wrap
  38770. msgid ""
  38771. "(modules\n"
  38772. " (list\n"
  38773. " (file-append nginx-accept-language-module \"\\\n"
  38774. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  38775. " (file-append nginx-lua-module \"\\\n"
  38776. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  38777. msgstr ""
  38778. #. type: item
  38779. #: guix-git/doc/guix.texi:26438
  38780. #, no-wrap
  38781. msgid "@code{lua-package-path} (default: @code{'()})"
  38782. msgstr ""
  38783. #. type: table
  38784. #: guix-git/doc/guix.texi:26441
  38785. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  38786. msgstr ""
  38787. #. type: lisp
  38788. #: guix-git/doc/guix.texi:26448
  38789. #, no-wrap
  38790. msgid ""
  38791. "(lua-package-path (list lua-resty-core\n"
  38792. " lua-resty-lrucache\n"
  38793. " lua-resty-signal\n"
  38794. " lua-tablepool\n"
  38795. " lua-resty-shell))\n"
  38796. msgstr ""
  38797. #. type: item
  38798. #: guix-git/doc/guix.texi:26450
  38799. #, no-wrap
  38800. msgid "@code{lua-package-cpath} (default: @code{'()})"
  38801. msgstr ""
  38802. #. type: table
  38803. #: guix-git/doc/guix.texi:26453
  38804. 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:"
  38805. msgstr ""
  38806. #. type: lisp
  38807. #: guix-git/doc/guix.texi:26456
  38808. #, no-wrap
  38809. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  38810. msgstr ""
  38811. #. type: item
  38812. #: guix-git/doc/guix.texi:26458
  38813. #, no-wrap
  38814. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  38815. msgstr ""
  38816. #. type: table
  38817. #: guix-git/doc/guix.texi:26461
  38818. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  38819. msgstr ""
  38820. #. type: lisp
  38821. #: guix-git/doc/guix.texi:26467
  38822. #, no-wrap
  38823. msgid ""
  38824. "(global-directives\n"
  38825. " `((worker_processes . 16)\n"
  38826. " (pcre_jit . on)\n"
  38827. " (events . ((worker_connections . 1024)))))\n"
  38828. msgstr ""
  38829. #. type: table
  38830. #: guix-git/doc/guix.texi:26472
  38831. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  38832. msgstr ""
  38833. #. type: deftp
  38834. #: guix-git/doc/guix.texi:26476
  38835. #, no-wrap
  38836. msgid "{Data Type} nginx-server-configuration"
  38837. msgstr ""
  38838. #. type: deftp
  38839. #: guix-git/doc/guix.texi:26479
  38840. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  38841. msgstr ""
  38842. #. type: item
  38843. #: guix-git/doc/guix.texi:26481
  38844. #, no-wrap
  38845. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  38846. msgstr ""
  38847. #. type: table
  38848. #: guix-git/doc/guix.texi:26486
  38849. 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:"
  38850. msgstr ""
  38851. #. type: lisp
  38852. #: guix-git/doc/guix.texi:26489
  38853. #, no-wrap
  38854. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  38855. msgstr ""
  38856. #. type: item
  38857. #: guix-git/doc/guix.texi:26491
  38858. #, no-wrap
  38859. msgid "@code{server-name} (default: @code{(list 'default)})"
  38860. msgstr ""
  38861. #. type: table
  38862. #: guix-git/doc/guix.texi:26494
  38863. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  38864. msgstr ""
  38865. #. type: item
  38866. #: guix-git/doc/guix.texi:26495
  38867. #, no-wrap
  38868. msgid "@code{root} (default: @code{\"/srv/http\"})"
  38869. msgstr ""
  38870. #. type: table
  38871. #: guix-git/doc/guix.texi:26497
  38872. msgid "Root of the website nginx will serve."
  38873. msgstr ""
  38874. #. type: item
  38875. #: guix-git/doc/guix.texi:26498
  38876. #, no-wrap
  38877. msgid "@code{locations} (default: @code{'()})"
  38878. msgstr ""
  38879. #. type: table
  38880. #: guix-git/doc/guix.texi:26502
  38881. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  38882. msgstr ""
  38883. #. type: item
  38884. #: guix-git/doc/guix.texi:26503
  38885. #, no-wrap
  38886. msgid "@code{index} (default: @code{(list \"index.html\")})"
  38887. msgstr ""
  38888. #. type: table
  38889. #: guix-git/doc/guix.texi:26506
  38890. 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."
  38891. msgstr ""
  38892. #. type: item
  38893. #: guix-git/doc/guix.texi:26507
  38894. #, no-wrap
  38895. msgid "@code{try-files} (default: @code{'()})"
  38896. msgstr ""
  38897. #. type: table
  38898. #: guix-git/doc/guix.texi:26510
  38899. 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."
  38900. msgstr ""
  38901. #. type: item
  38902. #: guix-git/doc/guix.texi:26511
  38903. #, no-wrap
  38904. msgid "@code{ssl-certificate} (default: @code{#f})"
  38905. msgstr ""
  38906. #. type: table
  38907. #: guix-git/doc/guix.texi:26514
  38908. 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."
  38909. msgstr ""
  38910. #. type: item
  38911. #: guix-git/doc/guix.texi:26515
  38912. #, no-wrap
  38913. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  38914. msgstr ""
  38915. #. type: table
  38916. #: guix-git/doc/guix.texi:26518
  38917. 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."
  38918. msgstr ""
  38919. #. type: item
  38920. #: guix-git/doc/guix.texi:26519
  38921. #, no-wrap
  38922. msgid "@code{server-tokens?} (default: @code{#f})"
  38923. msgstr ""
  38924. #. type: table
  38925. #: guix-git/doc/guix.texi:26521
  38926. msgid "Whether the server should add its configuration to response."
  38927. msgstr ""
  38928. #. type: item
  38929. #: guix-git/doc/guix.texi:26522
  38930. #, no-wrap
  38931. msgid "@code{raw-content} (default: @code{'()})"
  38932. msgstr ""
  38933. #. type: table
  38934. #: guix-git/doc/guix.texi:26524
  38935. msgid "A list of raw lines added to the server block."
  38936. msgstr ""
  38937. #. type: deftp
  38938. #: guix-git/doc/guix.texi:26528
  38939. #, no-wrap
  38940. msgid "{Data Type} nginx-upstream-configuration"
  38941. msgstr ""
  38942. #. type: deftp
  38943. #: guix-git/doc/guix.texi:26531
  38944. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  38945. msgstr ""
  38946. #. type: table
  38947. #: guix-git/doc/guix.texi:26535
  38948. msgid "Name for this group of servers."
  38949. msgstr ""
  38950. #. type: code{#1}
  38951. #: guix-git/doc/guix.texi:26536
  38952. #, no-wrap
  38953. msgid "servers"
  38954. msgstr ""
  38955. #. type: table
  38956. #: guix-git/doc/guix.texi:26543
  38957. 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."
  38958. msgstr ""
  38959. #. type: deftp
  38960. #: guix-git/doc/guix.texi:26547
  38961. #, no-wrap
  38962. msgid "{Data Type} nginx-location-configuration"
  38963. msgstr ""
  38964. #. type: deftp
  38965. #: guix-git/doc/guix.texi:26550
  38966. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  38967. msgstr ""
  38968. #. type: table
  38969. #: guix-git/doc/guix.texi:26554
  38970. msgid "URI which this location block matches."
  38971. msgstr ""
  38972. #. type: anchor{#1}
  38973. #: guix-git/doc/guix.texi:26556
  38974. msgid "nginx-location-configuration body"
  38975. msgstr ""
  38976. #. type: code{#1}
  38977. #: guix-git/doc/guix.texi:26556 guix-git/doc/guix.texi:26577
  38978. #, no-wrap
  38979. msgid "body"
  38980. msgstr ""
  38981. #. type: table
  38982. #: guix-git/doc/guix.texi:26563
  38983. 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;\")}."
  38984. msgstr ""
  38985. #. type: deftp
  38986. #: guix-git/doc/guix.texi:26567
  38987. #, no-wrap
  38988. msgid "{Data Type} nginx-named-location-configuration"
  38989. msgstr ""
  38990. #. type: deftp
  38991. #: guix-git/doc/guix.texi:26572
  38992. 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:"
  38993. msgstr ""
  38994. #. type: table
  38995. #: guix-git/doc/guix.texi:26576
  38996. msgid "Name to identify this location block."
  38997. msgstr ""
  38998. #. type: table
  38999. #: guix-git/doc/guix.texi:26582
  39000. 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."
  39001. msgstr ""
  39002. #. type: subsubheading
  39003. #: guix-git/doc/guix.texi:26586
  39004. #, no-wrap
  39005. msgid "Varnish Cache"
  39006. msgstr ""
  39007. #. type: cindex
  39008. #: guix-git/doc/guix.texi:26587
  39009. #, no-wrap
  39010. msgid "Varnish"
  39011. msgstr ""
  39012. #. type: Plain text
  39013. #: guix-git/doc/guix.texi:26592
  39014. 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."
  39015. msgstr ""
  39016. #. type: defvr
  39017. #: guix-git/doc/guix.texi:26593
  39018. #, no-wrap
  39019. msgid "{Scheme Variable} varnish-service-type"
  39020. msgstr ""
  39021. #. type: defvr
  39022. #: guix-git/doc/guix.texi:26595
  39023. msgid "Service type for the Varnish daemon."
  39024. msgstr ""
  39025. #. type: deftp
  39026. #: guix-git/doc/guix.texi:26597
  39027. #, no-wrap
  39028. msgid "{Data Type} varnish-configuration"
  39029. msgstr ""
  39030. #. type: deftp
  39031. #: guix-git/doc/guix.texi:26600
  39032. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  39033. msgstr ""
  39034. #. type: item
  39035. #: guix-git/doc/guix.texi:26602
  39036. #, no-wrap
  39037. msgid "@code{package} (default: @code{varnish})"
  39038. msgstr ""
  39039. #. type: table
  39040. #: guix-git/doc/guix.texi:26604
  39041. msgid "The Varnish package to use."
  39042. msgstr ""
  39043. #. type: item
  39044. #: guix-git/doc/guix.texi:26605
  39045. #, no-wrap
  39046. msgid "@code{name} (default: @code{\"default\"})"
  39047. msgstr ""
  39048. #. type: table
  39049. #: guix-git/doc/guix.texi:26610
  39050. 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."
  39051. msgstr ""
  39052. #. type: table
  39053. #: guix-git/doc/guix.texi:26613
  39054. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  39055. msgstr ""
  39056. #. type: item
  39057. #: guix-git/doc/guix.texi:26614
  39058. #, no-wrap
  39059. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  39060. msgstr ""
  39061. #. type: table
  39062. #: guix-git/doc/guix.texi:26616
  39063. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  39064. msgstr ""
  39065. #. type: item
  39066. #: guix-git/doc/guix.texi:26617
  39067. #, no-wrap
  39068. msgid "@code{vcl} (default: #f)"
  39069. msgstr ""
  39070. #. type: table
  39071. #: guix-git/doc/guix.texi:26622
  39072. 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."
  39073. msgstr ""
  39074. #. type: table
  39075. #: guix-git/doc/guix.texi:26626
  39076. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  39077. msgstr ""
  39078. #. type: lisp
  39079. #: guix-git/doc/guix.texi:26632
  39080. #, no-wrap
  39081. msgid ""
  39082. "(define %gnu-mirror\n"
  39083. " (plain-file \"gnu.vcl\"\n"
  39084. " \"vcl 4.1;\n"
  39085. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  39086. "\n"
  39087. msgstr ""
  39088. #. type: lisp
  39089. #: guix-git/doc/guix.texi:26640
  39090. #, no-wrap
  39091. msgid ""
  39092. "(operating-system\n"
  39093. " ;; @dots{}\n"
  39094. " (services (cons (service varnish-service-type\n"
  39095. " (varnish-configuration\n"
  39096. " (listen '(\":80\"))\n"
  39097. " (vcl %gnu-mirror)))\n"
  39098. " %base-services)))\n"
  39099. msgstr ""
  39100. #. type: table
  39101. #: guix-git/doc/guix.texi:26644
  39102. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  39103. msgstr ""
  39104. #. type: table
  39105. #: guix-git/doc/guix.texi:26648
  39106. 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."
  39107. msgstr ""
  39108. #. type: item
  39109. #: guix-git/doc/guix.texi:26649
  39110. #, no-wrap
  39111. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  39112. msgstr ""
  39113. #. type: table
  39114. #: guix-git/doc/guix.texi:26651
  39115. msgid "List of addresses Varnish will listen on."
  39116. msgstr ""
  39117. #. type: item
  39118. #: guix-git/doc/guix.texi:26652
  39119. #, no-wrap
  39120. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  39121. msgstr ""
  39122. #. type: table
  39123. #: guix-git/doc/guix.texi:26654
  39124. msgid "List of storage backends that will be available in VCL."
  39125. msgstr ""
  39126. #. type: item
  39127. #: guix-git/doc/guix.texi:26655
  39128. #, no-wrap
  39129. msgid "@code{parameters} (default: @code{'()})"
  39130. msgstr ""
  39131. #. type: table
  39132. #: guix-git/doc/guix.texi:26657
  39133. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  39134. msgstr ""
  39135. #. type: table
  39136. #: guix-git/doc/guix.texi:26660
  39137. msgid "Additional arguments to pass to the @command{varnishd} process."
  39138. msgstr ""
  39139. #. type: cindex
  39140. #: guix-git/doc/guix.texi:26664 guix-git/doc/guix.texi:26665
  39141. #, no-wrap
  39142. msgid "Patchwork"
  39143. msgstr ""
  39144. #. type: Plain text
  39145. #: guix-git/doc/guix.texi:26668
  39146. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  39147. msgstr ""
  39148. #. type: defvr
  39149. #: guix-git/doc/guix.texi:26669
  39150. #, no-wrap
  39151. msgid "{Scheme Variable} patchwork-service-type"
  39152. msgstr ""
  39153. #. type: defvr
  39154. #: guix-git/doc/guix.texi:26671
  39155. msgid "Service type for Patchwork."
  39156. msgstr ""
  39157. #. type: Plain text
  39158. #: guix-git/doc/guix.texi:26675
  39159. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  39160. msgstr ""
  39161. #. type: lisp
  39162. #: guix-git/doc/guix.texi:26695
  39163. #, no-wrap
  39164. msgid ""
  39165. "(service patchwork-service-type\n"
  39166. " (patchwork-configuration\n"
  39167. " (domain \"patchwork.example.com\")\n"
  39168. " (settings-module\n"
  39169. " (patchwork-settings-module\n"
  39170. " (allowed-hosts (list domain))\n"
  39171. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  39172. " (getmail-retriever-config\n"
  39173. " (getmail-retriever-configuration\n"
  39174. " (type \"SimpleIMAPSSLRetriever\")\n"
  39175. " (server \"imap.example.com\")\n"
  39176. " (port 993)\n"
  39177. " (username \"patchwork\")\n"
  39178. " (password-command\n"
  39179. " (list (file-append coreutils \"/bin/cat\")\n"
  39180. " \"/etc/getmail-patchwork-imap-password\"))\n"
  39181. " (extra-parameters\n"
  39182. " '((mailboxes . (\"Patches\"))))))))\n"
  39183. "\n"
  39184. msgstr ""
  39185. #. type: Plain text
  39186. #: guix-git/doc/guix.texi:26701
  39187. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  39188. msgstr ""
  39189. #. type: Plain text
  39190. #: guix-git/doc/guix.texi:26705
  39191. 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."
  39192. msgstr ""
  39193. #. type: Plain text
  39194. #: guix-git/doc/guix.texi:26709
  39195. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  39196. msgstr ""
  39197. #. type: deftp
  39198. #: guix-git/doc/guix.texi:26710
  39199. #, no-wrap
  39200. msgid "{Data Type} patchwork-configuration"
  39201. msgstr ""
  39202. #. type: deftp
  39203. #: guix-git/doc/guix.texi:26713
  39204. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  39205. msgstr ""
  39206. #. type: item
  39207. #: guix-git/doc/guix.texi:26715
  39208. #, no-wrap
  39209. msgid "@code{patchwork} (default: @code{patchwork})"
  39210. msgstr ""
  39211. #. type: table
  39212. #: guix-git/doc/guix.texi:26717
  39213. msgid "The Patchwork package to use."
  39214. msgstr ""
  39215. #. type: code{#1}
  39216. #: guix-git/doc/guix.texi:26718
  39217. #, no-wrap
  39218. msgid "domain"
  39219. msgstr ""
  39220. #. type: table
  39221. #: guix-git/doc/guix.texi:26721
  39222. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  39223. msgstr ""
  39224. #. type: code{#1}
  39225. #: guix-git/doc/guix.texi:26722
  39226. #, no-wrap
  39227. msgid "settings-module"
  39228. msgstr ""
  39229. #. type: table
  39230. #: guix-git/doc/guix.texi:26728
  39231. 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."
  39232. msgstr ""
  39233. #. type: item
  39234. #: guix-git/doc/guix.texi:26729
  39235. #, no-wrap
  39236. msgid "@code{static-path} (default: @code{\"/static/\"})"
  39237. msgstr ""
  39238. #. type: table
  39239. #: guix-git/doc/guix.texi:26731
  39240. msgid "The path under which the HTTPD service should serve the static files."
  39241. msgstr ""
  39242. #. type: code{#1}
  39243. #: guix-git/doc/guix.texi:26732
  39244. #, no-wrap
  39245. msgid "getmail-retriever-config"
  39246. msgstr ""
  39247. #. type: table
  39248. #: guix-git/doc/guix.texi:26736
  39249. 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."
  39250. msgstr ""
  39251. #. type: deftp
  39252. #: guix-git/doc/guix.texi:26740
  39253. #, no-wrap
  39254. msgid "{Data Type} patchwork-settings-module"
  39255. msgstr ""
  39256. #. type: deftp
  39257. #: guix-git/doc/guix.texi:26745
  39258. 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:"
  39259. msgstr ""
  39260. #. type: item
  39261. #: guix-git/doc/guix.texi:26747
  39262. #, no-wrap
  39263. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  39264. msgstr ""
  39265. #. type: table
  39266. #: guix-git/doc/guix.texi:26750
  39267. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  39268. msgstr ""
  39269. #. type: item
  39270. #: guix-git/doc/guix.texi:26751
  39271. #, no-wrap
  39272. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  39273. msgstr ""
  39274. #. type: table
  39275. #: guix-git/doc/guix.texi:26754
  39276. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  39277. msgstr ""
  39278. #. type: table
  39279. #: guix-git/doc/guix.texi:26757
  39280. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  39281. msgstr ""
  39282. #. type: table
  39283. #: guix-git/doc/guix.texi:26759
  39284. msgid "This setting relates to Django."
  39285. msgstr ""
  39286. #. type: code{#1}
  39287. #: guix-git/doc/guix.texi:26760
  39288. #, no-wrap
  39289. msgid "allowed-hosts"
  39290. msgstr ""
  39291. #. type: table
  39292. #: guix-git/doc/guix.texi:26763
  39293. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  39294. msgstr ""
  39295. #. type: table
  39296. #: guix-git/doc/guix.texi:26765 guix-git/doc/guix.texi:26779
  39297. #: guix-git/doc/guix.texi:26785 guix-git/doc/guix.texi:26791
  39298. msgid "This is a Django setting."
  39299. msgstr ""
  39300. #. type: code{#1}
  39301. #: guix-git/doc/guix.texi:26766
  39302. #, no-wrap
  39303. msgid "default-from-email"
  39304. msgstr ""
  39305. #. type: table
  39306. #: guix-git/doc/guix.texi:26768
  39307. msgid "The email address from which Patchwork should send email by default."
  39308. msgstr ""
  39309. #. type: table
  39310. #: guix-git/doc/guix.texi:26770 guix-git/doc/guix.texi:26796
  39311. #: guix-git/doc/guix.texi:26801 guix-git/doc/guix.texi:26806
  39312. msgid "This is a Patchwork setting."
  39313. msgstr ""
  39314. #. type: item
  39315. #: guix-git/doc/guix.texi:26771
  39316. #, no-wrap
  39317. msgid "@code{static-url} (default: @code{#f})"
  39318. msgstr ""
  39319. #. type: table
  39320. #: guix-git/doc/guix.texi:26774
  39321. 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{/}."
  39322. msgstr ""
  39323. #. type: table
  39324. #: guix-git/doc/guix.texi:26777
  39325. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  39326. msgstr ""
  39327. #. type: item
  39328. #: guix-git/doc/guix.texi:26780
  39329. #, no-wrap
  39330. msgid "@code{admins} (default: @code{'()})"
  39331. msgstr ""
  39332. #. type: table
  39333. #: guix-git/doc/guix.texi:26783
  39334. 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."
  39335. msgstr ""
  39336. #. type: table
  39337. #: guix-git/doc/guix.texi:26789
  39338. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  39339. msgstr ""
  39340. #. type: item
  39341. #: guix-git/doc/guix.texi:26792
  39342. #, no-wrap
  39343. msgid "@code{enable-rest-api?} (default: @code{#t})"
  39344. msgstr ""
  39345. #. type: table
  39346. #: guix-git/doc/guix.texi:26794
  39347. msgid "Whether to enable the Patchwork REST API."
  39348. msgstr ""
  39349. #. type: item
  39350. #: guix-git/doc/guix.texi:26797
  39351. #, no-wrap
  39352. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  39353. msgstr ""
  39354. #. type: table
  39355. #: guix-git/doc/guix.texi:26799
  39356. msgid "Whether to enable the XML RPC API."
  39357. msgstr ""
  39358. #. type: item
  39359. #: guix-git/doc/guix.texi:26802
  39360. #, no-wrap
  39361. msgid "@code{force-https-links?} (default: @code{#t})"
  39362. msgstr ""
  39363. #. type: table
  39364. #: guix-git/doc/guix.texi:26804
  39365. msgid "Whether to use HTTPS links on Patchwork pages."
  39366. msgstr ""
  39367. #. type: table
  39368. #: guix-git/doc/guix.texi:26809
  39369. msgid "Extra code to place at the end of the Patchwork settings module."
  39370. msgstr ""
  39371. #. type: deftp
  39372. #: guix-git/doc/guix.texi:26813
  39373. #, no-wrap
  39374. msgid "{Data Type} patchwork-database-configuration"
  39375. msgstr ""
  39376. #. type: deftp
  39377. #: guix-git/doc/guix.texi:26815
  39378. msgid "Data type representing the database configuration for Patchwork."
  39379. msgstr ""
  39380. #. type: item
  39381. #: guix-git/doc/guix.texi:26817
  39382. #, no-wrap
  39383. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  39384. msgstr ""
  39385. #. type: table
  39386. #: guix-git/doc/guix.texi:26819
  39387. msgid "The database engine to use."
  39388. msgstr ""
  39389. #. type: item
  39390. #: guix-git/doc/guix.texi:26820
  39391. #, no-wrap
  39392. msgid "@code{name} (default: @code{\"patchwork\"})"
  39393. msgstr ""
  39394. #. type: table
  39395. #: guix-git/doc/guix.texi:26822
  39396. msgid "The name of the database to use."
  39397. msgstr ""
  39398. #. type: table
  39399. #: guix-git/doc/guix.texi:26825
  39400. msgid "The user to connect to the database as."
  39401. msgstr ""
  39402. #. type: item
  39403. #: guix-git/doc/guix.texi:26826
  39404. #, no-wrap
  39405. msgid "@code{password} (default: @code{\"\"})"
  39406. msgstr ""
  39407. #. type: table
  39408. #: guix-git/doc/guix.texi:26828
  39409. msgid "The password to use when connecting to the database."
  39410. msgstr ""
  39411. #. type: item
  39412. #: guix-git/doc/guix.texi:26829
  39413. #, no-wrap
  39414. msgid "@code{host} (default: @code{\"\"})"
  39415. msgstr ""
  39416. #. type: table
  39417. #: guix-git/doc/guix.texi:26831
  39418. msgid "The host to make the database connection to."
  39419. msgstr ""
  39420. #. type: item
  39421. #: guix-git/doc/guix.texi:26832
  39422. #, no-wrap
  39423. msgid "@code{port} (default: @code{\"\"})"
  39424. msgstr ""
  39425. #. type: table
  39426. #: guix-git/doc/guix.texi:26834
  39427. msgid "The port on which to connect to the database."
  39428. msgstr ""
  39429. #. type: subsubheading
  39430. #: guix-git/doc/guix.texi:26838
  39431. #, no-wrap
  39432. msgid "Mumi"
  39433. msgstr ""
  39434. #. type: cindex
  39435. #: guix-git/doc/guix.texi:26840
  39436. #, no-wrap
  39437. msgid "Mumi, Debbugs Web interface"
  39438. msgstr ""
  39439. #. type: cindex
  39440. #: guix-git/doc/guix.texi:26841
  39441. #, no-wrap
  39442. msgid "Debbugs, Mumi Web interface"
  39443. msgstr ""
  39444. #. type: Plain text
  39445. #: guix-git/doc/guix.texi:26846
  39446. 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."
  39447. msgstr ""
  39448. #. type: defvr
  39449. #: guix-git/doc/guix.texi:26847
  39450. #, no-wrap
  39451. msgid "{Scheme Variable} mumi-service-type"
  39452. msgstr ""
  39453. #. type: defvr
  39454. #: guix-git/doc/guix.texi:26849
  39455. msgid "This is the service type for Mumi."
  39456. msgstr ""
  39457. #. type: deftp
  39458. #: guix-git/doc/guix.texi:26851
  39459. #, no-wrap
  39460. msgid "{Data Type} mumi-configuration"
  39461. msgstr ""
  39462. #. type: deftp
  39463. #: guix-git/doc/guix.texi:26854
  39464. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  39465. msgstr ""
  39466. #. type: item
  39467. #: guix-git/doc/guix.texi:26856
  39468. #, no-wrap
  39469. msgid "@code{mumi} (default: @code{mumi})"
  39470. msgstr ""
  39471. #. type: table
  39472. #: guix-git/doc/guix.texi:26858
  39473. msgid "The Mumi package to use."
  39474. msgstr ""
  39475. #. type: item
  39476. #: guix-git/doc/guix.texi:26859
  39477. #, no-wrap
  39478. msgid "@code{mailer?} (default: @code{#true})"
  39479. msgstr ""
  39480. #. type: table
  39481. #: guix-git/doc/guix.texi:26861
  39482. msgid "Whether to enable or disable the mailer component."
  39483. msgstr ""
  39484. #. type: code{#1}
  39485. #: guix-git/doc/guix.texi:26862
  39486. #, no-wrap
  39487. msgid "mumi-configuration-sender"
  39488. msgstr ""
  39489. #. type: table
  39490. #: guix-git/doc/guix.texi:26864
  39491. msgid "The email address used as the sender for comments."
  39492. msgstr ""
  39493. #. type: code{#1}
  39494. #: guix-git/doc/guix.texi:26865
  39495. #, no-wrap
  39496. msgid "mumi-configuration-smtp"
  39497. msgstr ""
  39498. #. type: table
  39499. #: guix-git/doc/guix.texi:26870
  39500. 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}."
  39501. msgstr ""
  39502. #. type: subsubheading
  39503. #: guix-git/doc/guix.texi:26875
  39504. #, no-wrap
  39505. msgid "FastCGI"
  39506. msgstr ""
  39507. #. type: cindex
  39508. #: guix-git/doc/guix.texi:26876
  39509. #, no-wrap
  39510. msgid "fastcgi"
  39511. msgstr ""
  39512. #. type: cindex
  39513. #: guix-git/doc/guix.texi:26877
  39514. #, no-wrap
  39515. msgid "fcgiwrap"
  39516. msgstr ""
  39517. #. type: Plain text
  39518. #: guix-git/doc/guix.texi:26884
  39519. 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."
  39520. msgstr ""
  39521. #. type: Plain text
  39522. #: guix-git/doc/guix.texi:26891
  39523. 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."
  39524. msgstr ""
  39525. #. type: defvr
  39526. #: guix-git/doc/guix.texi:26892
  39527. #, no-wrap
  39528. msgid "{Scheme Variable} fcgiwrap-service-type"
  39529. msgstr ""
  39530. #. type: defvr
  39531. #: guix-git/doc/guix.texi:26894
  39532. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  39533. msgstr ""
  39534. #. type: deftp
  39535. #: guix-git/doc/guix.texi:26896
  39536. #, no-wrap
  39537. msgid "{Data Type} fcgiwrap-configuration"
  39538. msgstr ""
  39539. #. type: deftp
  39540. #: guix-git/doc/guix.texi:26899
  39541. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  39542. msgstr ""
  39543. #. type: item
  39544. #: guix-git/doc/guix.texi:26900
  39545. #, no-wrap
  39546. msgid "@code{package} (default: @code{fcgiwrap})"
  39547. msgstr ""
  39548. #. type: table
  39549. #: guix-git/doc/guix.texi:26902
  39550. msgid "The fcgiwrap package to use."
  39551. msgstr ""
  39552. #. type: item
  39553. #: guix-git/doc/guix.texi:26903
  39554. #, no-wrap
  39555. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  39556. msgstr ""
  39557. #. type: table
  39558. #: guix-git/doc/guix.texi:26909
  39559. 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}."
  39560. msgstr ""
  39561. #. type: item
  39562. #: guix-git/doc/guix.texi:26910
  39563. #, no-wrap
  39564. msgid "@code{user} (default: @code{fcgiwrap})"
  39565. msgstr ""
  39566. #. type: itemx
  39567. #: guix-git/doc/guix.texi:26911
  39568. #, no-wrap
  39569. msgid "@code{group} (default: @code{fcgiwrap})"
  39570. msgstr ""
  39571. #. type: table
  39572. #: guix-git/doc/guix.texi:26916
  39573. 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."
  39574. msgstr ""
  39575. #. type: table
  39576. #: guix-git/doc/guix.texi:26923
  39577. 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."
  39578. msgstr ""
  39579. #. type: cindex
  39580. #: guix-git/doc/guix.texi:26926
  39581. #, no-wrap
  39582. msgid "php-fpm"
  39583. msgstr ""
  39584. #. type: Plain text
  39585. #: guix-git/doc/guix.texi:26929
  39586. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  39587. msgstr ""
  39588. #. type: Plain text
  39589. #: guix-git/doc/guix.texi:26931
  39590. msgid "These features include:"
  39591. msgstr ""
  39592. #. type: item
  39593. #: guix-git/doc/guix.texi:26932
  39594. #, no-wrap
  39595. msgid "Adaptive process spawning"
  39596. msgstr ""
  39597. #. type: item
  39598. #: guix-git/doc/guix.texi:26933
  39599. #, no-wrap
  39600. msgid "Basic statistics (similar to Apache's mod_status)"
  39601. msgstr ""
  39602. #. type: item
  39603. #: guix-git/doc/guix.texi:26934
  39604. #, no-wrap
  39605. msgid "Advanced process management with graceful stop/start"
  39606. msgstr ""
  39607. #. type: item
  39608. #: guix-git/doc/guix.texi:26935
  39609. #, no-wrap
  39610. msgid "Ability to start workers with different uid/gid/chroot/environment"
  39611. msgstr ""
  39612. #. type: itemize
  39613. #: guix-git/doc/guix.texi:26937
  39614. msgid "and different php.ini (replaces safe_mode)"
  39615. msgstr ""
  39616. #. type: item
  39617. #: guix-git/doc/guix.texi:26937
  39618. #, no-wrap
  39619. msgid "Stdout & stderr logging"
  39620. msgstr ""
  39621. #. type: item
  39622. #: guix-git/doc/guix.texi:26938
  39623. #, no-wrap
  39624. msgid "Emergency restart in case of accidental opcode cache destruction"
  39625. msgstr ""
  39626. #. type: item
  39627. #: guix-git/doc/guix.texi:26939
  39628. #, no-wrap
  39629. msgid "Accelerated upload support"
  39630. msgstr ""
  39631. #. type: item
  39632. #: guix-git/doc/guix.texi:26940
  39633. #, no-wrap
  39634. msgid "Support for a \"slowlog\""
  39635. msgstr ""
  39636. #. type: item
  39637. #: guix-git/doc/guix.texi:26941
  39638. #, no-wrap
  39639. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  39640. msgstr ""
  39641. #. type: itemize
  39642. #: guix-git/doc/guix.texi:26944
  39643. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  39644. msgstr ""
  39645. #. type: Plain text
  39646. #: guix-git/doc/guix.texi:26946
  39647. msgid "...@: and much more."
  39648. msgstr ""
  39649. #. type: defvr
  39650. #: guix-git/doc/guix.texi:26947
  39651. #, no-wrap
  39652. msgid "{Scheme Variable} php-fpm-service-type"
  39653. msgstr ""
  39654. #. type: defvr
  39655. #: guix-git/doc/guix.texi:26949
  39656. msgid "A Service type for @code{php-fpm}."
  39657. msgstr ""
  39658. #. type: deftp
  39659. #: guix-git/doc/guix.texi:26951
  39660. #, no-wrap
  39661. msgid "{Data Type} php-fpm-configuration"
  39662. msgstr ""
  39663. #. type: deftp
  39664. #: guix-git/doc/guix.texi:26953
  39665. msgid "Data Type for php-fpm service configuration."
  39666. msgstr ""
  39667. #. type: item
  39668. #: guix-git/doc/guix.texi:26954
  39669. #, no-wrap
  39670. msgid "@code{php} (default: @code{php})"
  39671. msgstr ""
  39672. #. type: table
  39673. #: guix-git/doc/guix.texi:26956
  39674. msgid "The php package to use."
  39675. msgstr ""
  39676. #. type: item
  39677. #: guix-git/doc/guix.texi:26956
  39678. #, no-wrap
  39679. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  39680. msgstr ""
  39681. #. type: table
  39682. #: guix-git/doc/guix.texi:26958
  39683. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  39684. msgstr ""
  39685. #. type: code{#1}
  39686. #: guix-git/doc/guix.texi:26959
  39687. #, no-wrap
  39688. msgid "\"ip.add.re.ss:port\""
  39689. msgstr ""
  39690. #. type: table
  39691. #: guix-git/doc/guix.texi:26961
  39692. msgid "Listen on a TCP socket to a specific address on a specific port."
  39693. msgstr ""
  39694. #. type: code{#1}
  39695. #: guix-git/doc/guix.texi:26961
  39696. #, no-wrap
  39697. msgid "\"port\""
  39698. msgstr ""
  39699. #. type: table
  39700. #: guix-git/doc/guix.texi:26963
  39701. msgid "Listen on a TCP socket to all addresses on a specific port."
  39702. msgstr ""
  39703. #. type: code{#1}
  39704. #: guix-git/doc/guix.texi:26963
  39705. #, no-wrap
  39706. msgid "\"/path/to/unix/socket\""
  39707. msgstr ""
  39708. #. type: table
  39709. #: guix-git/doc/guix.texi:26965
  39710. msgid "Listen on a unix socket."
  39711. msgstr ""
  39712. #. type: item
  39713. #: guix-git/doc/guix.texi:26967
  39714. #, no-wrap
  39715. msgid "@code{user} (default: @code{php-fpm})"
  39716. msgstr ""
  39717. #. type: table
  39718. #: guix-git/doc/guix.texi:26969
  39719. msgid "User who will own the php worker processes."
  39720. msgstr ""
  39721. #. type: item
  39722. #: guix-git/doc/guix.texi:26969
  39723. #, no-wrap
  39724. msgid "@code{group} (default: @code{php-fpm})"
  39725. msgstr ""
  39726. #. type: table
  39727. #: guix-git/doc/guix.texi:26971
  39728. msgid "Group of the worker processes."
  39729. msgstr ""
  39730. #. type: item
  39731. #: guix-git/doc/guix.texi:26971
  39732. #, no-wrap
  39733. msgid "@code{socket-user} (default: @code{php-fpm})"
  39734. msgstr ""
  39735. #. type: table
  39736. #: guix-git/doc/guix.texi:26973
  39737. msgid "User who can speak to the php-fpm socket."
  39738. msgstr ""
  39739. #. type: item
  39740. #: guix-git/doc/guix.texi:26973
  39741. #, no-wrap
  39742. msgid "@code{socket-group} (default: @code{nginx})"
  39743. msgstr ""
  39744. #. type: table
  39745. #: guix-git/doc/guix.texi:26975
  39746. msgid "Group that can speak to the php-fpm socket."
  39747. msgstr ""
  39748. #. type: item
  39749. #: guix-git/doc/guix.texi:26975
  39750. #, no-wrap
  39751. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  39752. msgstr ""
  39753. #. type: table
  39754. #: guix-git/doc/guix.texi:26978
  39755. msgid "The process id of the php-fpm process is written to this file once the service has started."
  39756. msgstr ""
  39757. #. type: item
  39758. #: guix-git/doc/guix.texi:26978
  39759. #, no-wrap
  39760. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  39761. msgstr ""
  39762. #. type: table
  39763. #: guix-git/doc/guix.texi:26980
  39764. msgid "Log for the php-fpm master process."
  39765. msgstr ""
  39766. #. type: item
  39767. #: guix-git/doc/guix.texi:26980
  39768. #, no-wrap
  39769. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  39770. msgstr ""
  39771. #. type: table
  39772. #: guix-git/doc/guix.texi:26983
  39773. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  39774. msgstr ""
  39775. #. type: code{#1}
  39776. #: guix-git/doc/guix.texi:26984
  39777. #, no-wrap
  39778. msgid "<php-fpm-dynamic-process-manager-configuration>"
  39779. msgstr ""
  39780. #. type: code{#1}
  39781. #: guix-git/doc/guix.texi:26985
  39782. #, no-wrap
  39783. msgid "<php-fpm-static-process-manager-configuration>"
  39784. msgstr ""
  39785. #. type: code{#1}
  39786. #: guix-git/doc/guix.texi:26986
  39787. #, no-wrap
  39788. msgid "<php-fpm-on-demand-process-manager-configuration>"
  39789. msgstr ""
  39790. #. type: item
  39791. #: guix-git/doc/guix.texi:26988
  39792. #, no-wrap
  39793. msgid "@code{display-errors} (default @code{#f})"
  39794. msgstr ""
  39795. #. type: table
  39796. #: guix-git/doc/guix.texi:26993
  39797. 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."
  39798. msgstr ""
  39799. #. type: item
  39800. #: guix-git/doc/guix.texi:26993
  39801. #, no-wrap
  39802. msgid "@code{timezone} (default @code{#f})"
  39803. msgstr ""
  39804. #. type: table
  39805. #: guix-git/doc/guix.texi:26995
  39806. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  39807. msgstr ""
  39808. #. type: item
  39809. #: guix-git/doc/guix.texi:26995
  39810. #, no-wrap
  39811. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  39812. msgstr ""
  39813. #. type: table
  39814. #: guix-git/doc/guix.texi:26998
  39815. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  39816. msgstr ""
  39817. #. type: item
  39818. #: guix-git/doc/guix.texi:26998
  39819. #, no-wrap
  39820. msgid "@code{file} (default @code{#f})"
  39821. msgstr ""
  39822. #. type: table
  39823. #: guix-git/doc/guix.texi:27001
  39824. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  39825. msgstr ""
  39826. #. type: item
  39827. #: guix-git/doc/guix.texi:27001
  39828. #, no-wrap
  39829. msgid "@code{php-ini-file} (default @code{#f})"
  39830. msgstr ""
  39831. #. type: table
  39832. #: guix-git/doc/guix.texi:27005
  39833. 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."
  39834. msgstr ""
  39835. #. type: table
  39836. #: guix-git/doc/guix.texi:27009
  39837. 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:"
  39838. msgstr ""
  39839. #. type: lisp
  39840. #: guix-git/doc/guix.texi:27014
  39841. #, no-wrap
  39842. msgid ""
  39843. "(define %local-php-ini\n"
  39844. " (plain-file \"php.ini\"\n"
  39845. " \"memory_limit = 2G\n"
  39846. "max_execution_time = 1800\"))\n"
  39847. "\n"
  39848. msgstr ""
  39849. #. type: lisp
  39850. #: guix-git/doc/guix.texi:27021
  39851. #, no-wrap
  39852. msgid ""
  39853. "(operating-system\n"
  39854. " ;; @dots{}\n"
  39855. " (services (cons (service php-fpm-service-type\n"
  39856. " (php-fpm-configuration\n"
  39857. " (php-ini-file %local-php-ini)))\n"
  39858. " %base-services)))\n"
  39859. msgstr ""
  39860. #. type: table
  39861. #: guix-git/doc/guix.texi:27026
  39862. 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."
  39863. msgstr ""
  39864. #. type: deftp
  39865. #: guix-git/doc/guix.texi:27029
  39866. #, no-wrap
  39867. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  39868. msgstr ""
  39869. #. type: deftp
  39870. #: guix-git/doc/guix.texi:27033
  39871. 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."
  39872. msgstr ""
  39873. #. type: item
  39874. #: guix-git/doc/guix.texi:27034 guix-git/doc/guix.texi:27050
  39875. #: guix-git/doc/guix.texi:27060
  39876. #, no-wrap
  39877. msgid "@code{max-children} (default: @code{5})"
  39878. msgstr ""
  39879. #. type: table
  39880. #: guix-git/doc/guix.texi:27036 guix-git/doc/guix.texi:27052
  39881. #: guix-git/doc/guix.texi:27062
  39882. msgid "Maximum of worker processes."
  39883. msgstr ""
  39884. #. type: item
  39885. #: guix-git/doc/guix.texi:27036
  39886. #, no-wrap
  39887. msgid "@code{start-servers} (default: @code{2})"
  39888. msgstr ""
  39889. #. type: table
  39890. #: guix-git/doc/guix.texi:27038
  39891. msgid "How many worker processes should be started on start-up."
  39892. msgstr ""
  39893. #. type: item
  39894. #: guix-git/doc/guix.texi:27038
  39895. #, no-wrap
  39896. msgid "@code{min-spare-servers} (default: @code{1})"
  39897. msgstr ""
  39898. #. type: table
  39899. #: guix-git/doc/guix.texi:27040
  39900. msgid "How many spare worker processes should be kept around at minimum."
  39901. msgstr ""
  39902. #. type: item
  39903. #: guix-git/doc/guix.texi:27040
  39904. #, no-wrap
  39905. msgid "@code{max-spare-servers} (default: @code{3})"
  39906. msgstr ""
  39907. #. type: table
  39908. #: guix-git/doc/guix.texi:27042
  39909. msgid "How many spare worker processes should be kept around at maximum."
  39910. msgstr ""
  39911. #. type: deftp
  39912. #: guix-git/doc/guix.texi:27045
  39913. #, no-wrap
  39914. msgid "{Data type} php-fpm-static-process-manager-configuration"
  39915. msgstr ""
  39916. #. type: deftp
  39917. #: guix-git/doc/guix.texi:27049
  39918. 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."
  39919. msgstr ""
  39920. #. type: deftp
  39921. #: guix-git/doc/guix.texi:27055
  39922. #, no-wrap
  39923. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  39924. msgstr ""
  39925. #. type: deftp
  39926. #: guix-git/doc/guix.texi:27059
  39927. 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."
  39928. msgstr ""
  39929. #. type: item
  39930. #: guix-git/doc/guix.texi:27062
  39931. #, no-wrap
  39932. msgid "@code{process-idle-timeout} (default: @code{10})"
  39933. msgstr ""
  39934. #. type: table
  39935. #: guix-git/doc/guix.texi:27064
  39936. msgid "The time in seconds after which a process with no requests is killed."
  39937. msgstr ""
  39938. #. type: deffn
  39939. #: guix-git/doc/guix.texi:27068
  39940. #, no-wrap
  39941. msgid "{Scheme Procedure} nginx-php-location @"
  39942. msgstr ""
  39943. #. type: deffn
  39944. #: guix-git/doc/guix.texi:27074
  39945. 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}."
  39946. msgstr ""
  39947. #. type: Plain text
  39948. #: guix-git/doc/guix.texi:27077
  39949. msgid "A simple services setup for nginx with php can look like this:"
  39950. msgstr ""
  39951. #. type: lisp
  39952. #: guix-git/doc/guix.texi:27090
  39953. #, no-wrap
  39954. msgid ""
  39955. "(services (cons* (service dhcp-client-service-type)\n"
  39956. " (service php-fpm-service-type)\n"
  39957. " (service nginx-service-type\n"
  39958. " (nginx-server-configuration\n"
  39959. " (server-name '(\"example.com\"))\n"
  39960. " (root \"/srv/http/\")\n"
  39961. " (locations\n"
  39962. " (list (nginx-php-location)))\n"
  39963. " (listen '(\"80\"))\n"
  39964. " (ssl-certificate #f)\n"
  39965. " (ssl-certificate-key #f)))\n"
  39966. " %base-services))\n"
  39967. msgstr ""
  39968. #. type: cindex
  39969. #: guix-git/doc/guix.texi:27092
  39970. #, no-wrap
  39971. msgid "cat-avatar-generator"
  39972. msgstr ""
  39973. #. type: Plain text
  39974. #: guix-git/doc/guix.texi:27096
  39975. 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."
  39976. msgstr ""
  39977. #. type: deffn
  39978. #: guix-git/doc/guix.texi:27097
  39979. #, no-wrap
  39980. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  39981. msgstr ""
  39982. #. type: deffn
  39983. #: guix-git/doc/guix.texi:27105
  39984. 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."
  39985. msgstr ""
  39986. #. type: Plain text
  39987. #: guix-git/doc/guix.texi:27108
  39988. msgid "A simple setup for cat-avatar-generator can look like this:"
  39989. msgstr ""
  39990. #. type: lisp
  39991. #: guix-git/doc/guix.texi:27115
  39992. #, no-wrap
  39993. msgid ""
  39994. "(services (cons* (cat-avatar-generator-service\n"
  39995. " #:configuration\n"
  39996. " (nginx-server-configuration\n"
  39997. " (server-name '(\"example.com\"))))\n"
  39998. " ...\n"
  39999. " %base-services))\n"
  40000. msgstr ""
  40001. #. type: subsubheading
  40002. #: guix-git/doc/guix.texi:27117
  40003. #, no-wrap
  40004. msgid "Hpcguix-web"
  40005. msgstr ""
  40006. #. type: cindex
  40007. #: guix-git/doc/guix.texi:27119
  40008. #, no-wrap
  40009. msgid "hpcguix-web"
  40010. msgstr ""
  40011. #. type: Plain text
  40012. #: guix-git/doc/guix.texi:27124
  40013. 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."
  40014. msgstr ""
  40015. #. type: defvr
  40016. #: guix-git/doc/guix.texi:27125
  40017. #, no-wrap
  40018. msgid "{Scheme Variable} hpcguix-web-service-type"
  40019. msgstr ""
  40020. #. type: defvr
  40021. #: guix-git/doc/guix.texi:27127
  40022. msgid "The service type for @code{hpcguix-web}."
  40023. msgstr ""
  40024. #. type: deftp
  40025. #: guix-git/doc/guix.texi:27129
  40026. #, no-wrap
  40027. msgid "{Data Type} hpcguix-web-configuration"
  40028. msgstr ""
  40029. #. type: deftp
  40030. #: guix-git/doc/guix.texi:27131
  40031. msgid "Data type for the hpcguix-web service configuration."
  40032. msgstr ""
  40033. #. type: code{#1}
  40034. #: guix-git/doc/guix.texi:27133
  40035. #, no-wrap
  40036. msgid "specs"
  40037. msgstr ""
  40038. #. type: table
  40039. #: guix-git/doc/guix.texi:27136
  40040. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  40041. msgstr ""
  40042. #. type: item
  40043. #: guix-git/doc/guix.texi:27138
  40044. #, no-wrap
  40045. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  40046. msgstr ""
  40047. #. type: table
  40048. #: guix-git/doc/guix.texi:27140
  40049. msgid "The page title prefix."
  40050. msgstr ""
  40051. #. type: item
  40052. #: guix-git/doc/guix.texi:27141
  40053. #, no-wrap
  40054. msgid "@code{guix-command} (default: @code{\"guix\"})"
  40055. msgstr ""
  40056. #. type: table
  40057. #: guix-git/doc/guix.texi:27143
  40058. msgid "The @command{guix} command."
  40059. msgstr ""
  40060. #. type: item
  40061. #: guix-git/doc/guix.texi:27144
  40062. #, no-wrap
  40063. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  40064. msgstr ""
  40065. #. type: table
  40066. #: guix-git/doc/guix.texi:27146
  40067. msgid "A procedure specifying how to filter packages that are displayed."
  40068. msgstr ""
  40069. #. type: item
  40070. #: guix-git/doc/guix.texi:27147
  40071. #, no-wrap
  40072. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  40073. msgstr ""
  40074. #. type: table
  40075. #: guix-git/doc/guix.texi:27149
  40076. msgid "Extension package for @code{hpcguix-web}."
  40077. msgstr ""
  40078. #. type: item
  40079. #: guix-git/doc/guix.texi:27150
  40080. #, no-wrap
  40081. msgid "@code{menu} (default: @code{'()})"
  40082. msgstr ""
  40083. #. type: table
  40084. #: guix-git/doc/guix.texi:27152
  40085. msgid "Additional entry in page @code{menu}."
  40086. msgstr ""
  40087. #. type: item
  40088. #: guix-git/doc/guix.texi:27153
  40089. #, no-wrap
  40090. msgid "@code{channels} (default: @code{%default-channels})"
  40091. msgstr ""
  40092. #. type: table
  40093. #: guix-git/doc/guix.texi:27155
  40094. msgid "List of channels from which the package list is built (@pxref{Channels})."
  40095. msgstr ""
  40096. #. type: item
  40097. #: guix-git/doc/guix.texi:27156
  40098. #, no-wrap
  40099. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  40100. msgstr ""
  40101. #. type: table
  40102. #: guix-git/doc/guix.texi:27159
  40103. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  40104. msgstr ""
  40105. #. type: table
  40106. #: guix-git/doc/guix.texi:27164
  40107. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  40108. msgstr ""
  40109. #. type: item
  40110. #: guix-git/doc/guix.texi:27165
  40111. #, no-wrap
  40112. msgid "@code{package} (default: @code{hpcguix-web})"
  40113. msgstr ""
  40114. #. type: table
  40115. #: guix-git/doc/guix.texi:27167
  40116. msgid "The hpcguix-web package to use."
  40117. msgstr ""
  40118. #. type: item
  40119. #: guix-git/doc/guix.texi:27168
  40120. #, no-wrap
  40121. msgid "@code{address} (default: @code{\"127.0.0.1\"})"
  40122. msgstr ""
  40123. #. type: table
  40124. #: guix-git/doc/guix.texi:27170
  40125. msgid "The IP address to listen to."
  40126. msgstr ""
  40127. #. type: item
  40128. #: guix-git/doc/guix.texi:27171
  40129. #, no-wrap
  40130. msgid "@code{port} (default: @code{5000})"
  40131. msgstr ""
  40132. #. type: table
  40133. #: guix-git/doc/guix.texi:27173
  40134. msgid "The port number to listen to."
  40135. msgstr ""
  40136. #. type: Plain text
  40137. #: guix-git/doc/guix.texi:27177
  40138. msgid "A typical hpcguix-web service declaration looks like this:"
  40139. msgstr ""
  40140. #. type: lisp
  40141. #: guix-git/doc/guix.texi:27186
  40142. #, no-wrap
  40143. msgid ""
  40144. "(service hpcguix-web-service-type\n"
  40145. " (hpcguix-web-configuration\n"
  40146. " (specs\n"
  40147. " #~(define site-config\n"
  40148. " (hpcweb-configuration\n"
  40149. " (title-prefix \"Guix-HPC - \")\n"
  40150. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  40151. msgstr ""
  40152. #. type: quotation
  40153. #: guix-git/doc/guix.texi:27193
  40154. 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."
  40155. msgstr ""
  40156. #. type: quotation
  40157. #: guix-git/doc/guix.texi:27197
  40158. 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."
  40159. msgstr ""
  40160. #. type: cindex
  40161. #: guix-git/doc/guix.texi:27199 guix-git/doc/guix.texi:27201
  40162. #, no-wrap
  40163. msgid "gmnisrv"
  40164. msgstr ""
  40165. #. type: Plain text
  40166. #: guix-git/doc/guix.texi:27204
  40167. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  40168. msgstr ""
  40169. #. type: deffn
  40170. #: guix-git/doc/guix.texi:27205
  40171. #, no-wrap
  40172. msgid "{Scheme Variable} gmnisrv-service-type"
  40173. msgstr ""
  40174. #. type: deffn
  40175. #: guix-git/doc/guix.texi:27208
  40176. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  40177. msgstr ""
  40178. #. type: lisp
  40179. #: guix-git/doc/guix.texi:27213
  40180. #, no-wrap
  40181. msgid ""
  40182. "(service gmnisrv-service-type\n"
  40183. " (gmnisrv-configuration\n"
  40184. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  40185. msgstr ""
  40186. #. type: deftp
  40187. #: guix-git/doc/guix.texi:27216
  40188. #, no-wrap
  40189. msgid "{Data Type} gmnisrv-configuration"
  40190. msgstr ""
  40191. #. type: deftp
  40192. #: guix-git/doc/guix.texi:27218
  40193. msgid "Data type representing the configuration of gmnisrv."
  40194. msgstr ""
  40195. #. type: item
  40196. #: guix-git/doc/guix.texi:27220
  40197. #, no-wrap
  40198. msgid "@code{package} (default: @var{gmnisrv})"
  40199. msgstr ""
  40200. #. type: table
  40201. #: guix-git/doc/guix.texi:27222
  40202. msgid "Package object of the gmnisrv server."
  40203. msgstr ""
  40204. #. type: item
  40205. #: guix-git/doc/guix.texi:27223
  40206. #, no-wrap
  40207. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  40208. msgstr ""
  40209. #. type: table
  40210. #: guix-git/doc/guix.texi:27229
  40211. 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}."
  40212. msgstr ""
  40213. #. type: subsubheading
  40214. #: guix-git/doc/guix.texi:27233
  40215. #, no-wrap
  40216. msgid "Agate"
  40217. msgstr ""
  40218. #. type: cindex
  40219. #: guix-git/doc/guix.texi:27235
  40220. #, no-wrap
  40221. msgid "agate"
  40222. msgstr ""
  40223. #. type: Plain text
  40224. #: guix-git/doc/guix.texi:27240
  40225. 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."
  40226. msgstr ""
  40227. #. type: deffn
  40228. #: guix-git/doc/guix.texi:27241
  40229. #, no-wrap
  40230. msgid "{Scheme Variable} agate-service-type"
  40231. msgstr ""
  40232. #. type: deffn
  40233. #: guix-git/doc/guix.texi:27244
  40234. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  40235. msgstr ""
  40236. #. type: lisp
  40237. #: guix-git/doc/guix.texi:27251
  40238. #, no-wrap
  40239. msgid ""
  40240. "(service agate-service-type\n"
  40241. "\t (agate-configuration\n"
  40242. "\t (content \"/srv/gemini\")\n"
  40243. "\t (cert \"/srv/cert.pem\")\n"
  40244. "\t (key \"/srv/key.rsa\")))\n"
  40245. msgstr ""
  40246. #. type: deffn
  40247. #: guix-git/doc/guix.texi:27256
  40248. 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."
  40249. msgstr ""
  40250. #. type: deffn
  40251. #: guix-git/doc/guix.texi:27259
  40252. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  40253. msgstr ""
  40254. #. type: example
  40255. #: guix-git/doc/guix.texi:27263
  40256. #, no-wrap
  40257. msgid ""
  40258. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  40259. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  40260. msgstr ""
  40261. #. type: deffn
  40262. #: guix-git/doc/guix.texi:27268
  40263. 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."
  40264. msgstr ""
  40265. #. type: deftp
  40266. #: guix-git/doc/guix.texi:27271
  40267. #, no-wrap
  40268. msgid "{Data Type} agate-configuration"
  40269. msgstr ""
  40270. #. type: deftp
  40271. #: guix-git/doc/guix.texi:27273
  40272. msgid "Data type representing the configuration of Agate."
  40273. msgstr ""
  40274. #. type: item
  40275. #: guix-git/doc/guix.texi:27275
  40276. #, no-wrap
  40277. msgid "@code{package} (default: @code{agate})"
  40278. msgstr ""
  40279. #. type: table
  40280. #: guix-git/doc/guix.texi:27277
  40281. msgid "The package object of the Agate server."
  40282. msgstr ""
  40283. #. type: item
  40284. #: guix-git/doc/guix.texi:27278
  40285. #, no-wrap
  40286. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  40287. msgstr ""
  40288. #. type: table
  40289. #: guix-git/doc/guix.texi:27280
  40290. msgid "The directory from which Agate will serve files."
  40291. msgstr ""
  40292. #. type: item
  40293. #: guix-git/doc/guix.texi:27281
  40294. #, no-wrap
  40295. msgid "@code{cert} (default: @code{#f})"
  40296. msgstr ""
  40297. #. type: table
  40298. #: guix-git/doc/guix.texi:27284
  40299. 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."
  40300. msgstr ""
  40301. #. type: item
  40302. #: guix-git/doc/guix.texi:27285 guix-git/doc/guix.texi:27721
  40303. #, no-wrap
  40304. msgid "@code{key} (default: @code{#f})"
  40305. msgstr ""
  40306. #. type: table
  40307. #: guix-git/doc/guix.texi:27288
  40308. 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."
  40309. msgstr ""
  40310. #. type: item
  40311. #: guix-git/doc/guix.texi:27289
  40312. #, no-wrap
  40313. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  40314. msgstr ""
  40315. #. type: table
  40316. #: guix-git/doc/guix.texi:27291
  40317. msgid "A list of the addresses to listen on."
  40318. msgstr ""
  40319. #. type: table
  40320. #: guix-git/doc/guix.texi:27294
  40321. msgid "The domain name of this Gemini server. Optional."
  40322. msgstr ""
  40323. #. type: item
  40324. #: guix-git/doc/guix.texi:27295
  40325. #, no-wrap
  40326. msgid "@code{lang} (default: @code{#f})"
  40327. msgstr ""
  40328. #. type: table
  40329. #: guix-git/doc/guix.texi:27297
  40330. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  40331. msgstr ""
  40332. #. type: item
  40333. #: guix-git/doc/guix.texi:27298
  40334. #, no-wrap
  40335. msgid "@code{silent?} (default: @code{#f})"
  40336. msgstr ""
  40337. #. type: table
  40338. #: guix-git/doc/guix.texi:27300
  40339. msgid "Set to @code{#t} to disable logging output."
  40340. msgstr ""
  40341. #. type: item
  40342. #: guix-git/doc/guix.texi:27301
  40343. #, no-wrap
  40344. msgid "@code{serve-secret?} (default: @code{#f})"
  40345. msgstr ""
  40346. #. type: table
  40347. #: guix-git/doc/guix.texi:27304
  40348. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  40349. msgstr ""
  40350. #. type: item
  40351. #: guix-git/doc/guix.texi:27305
  40352. #, no-wrap
  40353. msgid "@code{log-ip?} (default: @code{#t})"
  40354. msgstr ""
  40355. #. type: table
  40356. #: guix-git/doc/guix.texi:27307
  40357. msgid "Whether or not to output IP addresses when logging."
  40358. msgstr ""
  40359. #. type: item
  40360. #: guix-git/doc/guix.texi:27308
  40361. #, no-wrap
  40362. msgid "@code{user} (default: @code{\"agate\"})"
  40363. msgstr ""
  40364. #. type: table
  40365. #: guix-git/doc/guix.texi:27310
  40366. msgid "Owner of the @code{agate} process."
  40367. msgstr ""
  40368. #. type: item
  40369. #: guix-git/doc/guix.texi:27311
  40370. #, no-wrap
  40371. msgid "@code{group} (default: @code{\"agate\"})"
  40372. msgstr ""
  40373. #. type: table
  40374. #: guix-git/doc/guix.texi:27313
  40375. msgid "Owner's group of the @code{agate} process."
  40376. msgstr ""
  40377. #. type: item
  40378. #: guix-git/doc/guix.texi:27314
  40379. #, no-wrap
  40380. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  40381. msgstr ""
  40382. #. type: table
  40383. #: guix-git/doc/guix.texi:27316
  40384. msgid "The file which should store the logging output of Agate."
  40385. msgstr ""
  40386. #. type: cindex
  40387. #: guix-git/doc/guix.texi:27323
  40388. #, no-wrap
  40389. msgid "Web"
  40390. msgstr ""
  40391. #. type: cindex
  40392. #: guix-git/doc/guix.texi:27324
  40393. #, no-wrap
  40394. msgid "HTTP, HTTPS"
  40395. msgstr ""
  40396. #. type: cindex
  40397. #: guix-git/doc/guix.texi:27325
  40398. #, no-wrap
  40399. msgid "Let's Encrypt"
  40400. msgstr ""
  40401. #. type: cindex
  40402. #: guix-git/doc/guix.texi:27326
  40403. #, no-wrap
  40404. msgid "TLS certificates"
  40405. msgstr ""
  40406. #. type: Plain text
  40407. #: guix-git/doc/guix.texi:27333
  40408. 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."
  40409. msgstr ""
  40410. #. type: Plain text
  40411. #: guix-git/doc/guix.texi:27345
  40412. 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."
  40413. msgstr ""
  40414. #. type: Plain text
  40415. #: guix-git/doc/guix.texi:27352
  40416. 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)."
  40417. msgstr ""
  40418. #. type: Plain text
  40419. #: guix-git/doc/guix.texi:27358
  40420. 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."
  40421. msgstr ""
  40422. #. type: Plain text
  40423. #: guix-git/doc/guix.texi:27362
  40424. 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}."
  40425. msgstr ""
  40426. #. type: defvr
  40427. #: guix-git/doc/guix.texi:27363
  40428. #, no-wrap
  40429. msgid "{Scheme Variable} certbot-service-type"
  40430. msgstr ""
  40431. #. type: defvr
  40432. #: guix-git/doc/guix.texi:27366
  40433. 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:"
  40434. msgstr ""
  40435. #. type: lisp
  40436. #: guix-git/doc/guix.texi:27373
  40437. #, no-wrap
  40438. msgid ""
  40439. "(define %nginx-deploy-hook\n"
  40440. " (program-file\n"
  40441. " \"nginx-deploy-hook\"\n"
  40442. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  40443. " (kill pid SIGHUP))))\n"
  40444. "\n"
  40445. msgstr ""
  40446. #. type: lisp
  40447. #: guix-git/doc/guix.texi:27384
  40448. #, no-wrap
  40449. msgid ""
  40450. "(service certbot-service-type\n"
  40451. " (certbot-configuration\n"
  40452. " (email \"foo@@example.net\")\n"
  40453. " (certificates\n"
  40454. " (list\n"
  40455. " (certificate-configuration\n"
  40456. " (domains '(\"example.net\" \"www.example.net\"))\n"
  40457. " (deploy-hook %nginx-deploy-hook))\n"
  40458. " (certificate-configuration\n"
  40459. " (domains '(\"bar.example.net\")))))))\n"
  40460. msgstr ""
  40461. #. type: defvr
  40462. #: guix-git/doc/guix.texi:27387
  40463. msgid "See below for details about @code{certbot-configuration}."
  40464. msgstr ""
  40465. #. type: deftp
  40466. #: guix-git/doc/guix.texi:27389
  40467. #, no-wrap
  40468. msgid "{Data Type} certbot-configuration"
  40469. msgstr ""
  40470. #. type: deftp
  40471. #: guix-git/doc/guix.texi:27392
  40472. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  40473. msgstr ""
  40474. #. type: item
  40475. #: guix-git/doc/guix.texi:27394
  40476. #, no-wrap
  40477. msgid "@code{package} (default: @code{certbot})"
  40478. msgstr ""
  40479. #. type: table
  40480. #: guix-git/doc/guix.texi:27396
  40481. msgid "The certbot package to use."
  40482. msgstr ""
  40483. #. type: item
  40484. #: guix-git/doc/guix.texi:27397
  40485. #, no-wrap
  40486. msgid "@code{webroot} (default: @code{/var/www})"
  40487. msgstr ""
  40488. #. type: table
  40489. #: guix-git/doc/guix.texi:27400
  40490. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  40491. msgstr ""
  40492. #. type: item
  40493. #: guix-git/doc/guix.texi:27401
  40494. #, no-wrap
  40495. msgid "@code{certificates} (default: @code{()})"
  40496. msgstr ""
  40497. #. type: table
  40498. #: guix-git/doc/guix.texi:27405
  40499. 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}."
  40500. msgstr ""
  40501. #. type: item
  40502. #: guix-git/doc/guix.texi:27406
  40503. #, no-wrap
  40504. msgid "@code{email} (default: @code{#f})"
  40505. msgstr ""
  40506. #. type: table
  40507. #: guix-git/doc/guix.texi:27410
  40508. 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."
  40509. msgstr ""
  40510. #. type: item
  40511. #: guix-git/doc/guix.texi:27411 guix-git/doc/guix.texi:29158
  40512. #, no-wrap
  40513. msgid "@code{server} (default: @code{#f})"
  40514. msgstr ""
  40515. #. type: table
  40516. #: guix-git/doc/guix.texi:27414
  40517. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  40518. msgstr ""
  40519. #. type: item
  40520. #: guix-git/doc/guix.texi:27415
  40521. #, no-wrap
  40522. msgid "@code{rsa-key-size} (default: @code{2048})"
  40523. msgstr ""
  40524. #. type: table
  40525. #: guix-git/doc/guix.texi:27417
  40526. msgid "Size of the RSA key."
  40527. msgstr ""
  40528. #. type: item
  40529. #: guix-git/doc/guix.texi:27418
  40530. #, no-wrap
  40531. msgid "@code{default-location} (default: @i{see below})"
  40532. msgstr ""
  40533. #. type: table
  40534. #: guix-git/doc/guix.texi:27427
  40535. 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."
  40536. msgstr ""
  40537. #. type: table
  40538. #: guix-git/doc/guix.texi:27431
  40539. 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."
  40540. msgstr ""
  40541. #. type: table
  40542. #: guix-git/doc/guix.texi:27435
  40543. 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}."
  40544. msgstr ""
  40545. #. type: table
  40546. #: guix-git/doc/guix.texi:27437
  40547. msgid "Pass @code{#f} to not issue a default location."
  40548. msgstr ""
  40549. #. type: deftp
  40550. #: guix-git/doc/guix.texi:27440
  40551. #, no-wrap
  40552. msgid "{Data Type} certificate-configuration"
  40553. msgstr ""
  40554. #. type: deftp
  40555. #: guix-git/doc/guix.texi:27443
  40556. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  40557. msgstr ""
  40558. #. type: item
  40559. #: guix-git/doc/guix.texi:27445
  40560. #, no-wrap
  40561. msgid "@code{name} (default: @i{see below})"
  40562. msgstr ""
  40563. #. type: table
  40564. #: guix-git/doc/guix.texi:27449
  40565. 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}."
  40566. msgstr ""
  40567. #. type: table
  40568. #: guix-git/doc/guix.texi:27451
  40569. msgid "Its default is the first provided domain."
  40570. msgstr ""
  40571. #. type: item
  40572. #: guix-git/doc/guix.texi:27452
  40573. #, no-wrap
  40574. msgid "@code{domains} (default: @code{()})"
  40575. msgstr ""
  40576. #. type: table
  40577. #: guix-git/doc/guix.texi:27455
  40578. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  40579. msgstr ""
  40580. #. type: item
  40581. #: guix-git/doc/guix.texi:27456
  40582. #, no-wrap
  40583. msgid "@code{challenge} (default: @code{#f})"
  40584. msgstr ""
  40585. #. type: table
  40586. #: guix-git/doc/guix.texi:27463
  40587. 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."
  40588. msgstr ""
  40589. #. type: item
  40590. #: guix-git/doc/guix.texi:27464
  40591. #, no-wrap
  40592. msgid "@code{csr} (default: @code{#f})"
  40593. msgstr ""
  40594. #. type: table
  40595. #: guix-git/doc/guix.texi:27471
  40596. 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."
  40597. msgstr ""
  40598. #. type: item
  40599. #: guix-git/doc/guix.texi:27472
  40600. #, no-wrap
  40601. msgid "@code{authentication-hook} (default: @code{#f})"
  40602. msgstr ""
  40603. #. type: table
  40604. #: guix-git/doc/guix.texi:27478
  40605. 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."
  40606. msgstr ""
  40607. #. type: item
  40608. #: guix-git/doc/guix.texi:27479
  40609. #, no-wrap
  40610. msgid "@code{cleanup-hook} (default: @code{#f})"
  40611. msgstr ""
  40612. #. type: table
  40613. #: guix-git/doc/guix.texi:27485
  40614. 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."
  40615. msgstr ""
  40616. #. type: item
  40617. #: guix-git/doc/guix.texi:27486
  40618. #, no-wrap
  40619. msgid "@code{deploy-hook} (default: @code{#f})"
  40620. msgstr ""
  40621. #. type: table
  40622. #: guix-git/doc/guix.texi:27494
  40623. 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\"}."
  40624. msgstr ""
  40625. #. type: Plain text
  40626. #: guix-git/doc/guix.texi:27501
  40627. 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}."
  40628. msgstr ""
  40629. #. type: cindex
  40630. #: guix-git/doc/guix.texi:27503
  40631. #, no-wrap
  40632. msgid "DNS (domain name system)"
  40633. msgstr ""
  40634. #. type: cindex
  40635. #: guix-git/doc/guix.texi:27504
  40636. #, no-wrap
  40637. msgid "domain name system (DNS)"
  40638. msgstr ""
  40639. #. type: Plain text
  40640. #: guix-git/doc/guix.texi:27512
  40641. 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}."
  40642. msgstr ""
  40643. #. type: subsubheading
  40644. #: guix-git/doc/guix.texi:27513
  40645. #, no-wrap
  40646. msgid "Knot Service"
  40647. msgstr ""
  40648. #. type: Plain text
  40649. #: guix-git/doc/guix.texi:27517
  40650. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  40651. msgstr ""
  40652. #. type: lisp
  40653. #: guix-git/doc/guix.texi:27524
  40654. #, no-wrap
  40655. msgid ""
  40656. "(define-zone-entries example.org.zone\n"
  40657. ";; Name TTL Class Type Data\n"
  40658. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  40659. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  40660. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  40661. "\n"
  40662. msgstr ""
  40663. #. type: lisp
  40664. #: guix-git/doc/guix.texi:27531
  40665. #, no-wrap
  40666. msgid ""
  40667. "(define master-zone\n"
  40668. " (knot-zone-configuration\n"
  40669. " (domain \"example.org\")\n"
  40670. " (zone (zone-file\n"
  40671. " (origin \"example.org\")\n"
  40672. " (entries example.org.zone)))))\n"
  40673. "\n"
  40674. msgstr ""
  40675. #. type: lisp
  40676. #: guix-git/doc/guix.texi:27537
  40677. #, no-wrap
  40678. msgid ""
  40679. "(define slave-zone\n"
  40680. " (knot-zone-configuration\n"
  40681. " (domain \"plop.org\")\n"
  40682. " (dnssec-policy \"default\")\n"
  40683. " (master (list \"plop-master\"))))\n"
  40684. "\n"
  40685. msgstr ""
  40686. #. type: lisp
  40687. #: guix-git/doc/guix.texi:27542
  40688. #, no-wrap
  40689. msgid ""
  40690. "(define plop-master\n"
  40691. " (knot-remote-configuration\n"
  40692. " (id \"plop-master\")\n"
  40693. " (address (list \"208.76.58.171\"))))\n"
  40694. "\n"
  40695. msgstr ""
  40696. #. type: lisp
  40697. #: guix-git/doc/guix.texi:27551
  40698. #, no-wrap
  40699. msgid ""
  40700. "(operating-system\n"
  40701. " ;; ...\n"
  40702. " (services (cons* (service knot-service-type\n"
  40703. " (knot-configuration\n"
  40704. " (remotes (list plop-master))\n"
  40705. " (zones (list master-zone slave-zone))))\n"
  40706. " ;; ...\n"
  40707. " %base-services)))\n"
  40708. msgstr ""
  40709. #. type: deffn
  40710. #: guix-git/doc/guix.texi:27553
  40711. #, no-wrap
  40712. msgid "{Scheme Variable} knot-service-type"
  40713. msgstr ""
  40714. #. type: deffn
  40715. #: guix-git/doc/guix.texi:27555
  40716. msgid "This is the type for the Knot DNS server."
  40717. msgstr ""
  40718. #. type: deffn
  40719. #: guix-git/doc/guix.texi:27563
  40720. 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."
  40721. msgstr ""
  40722. #. type: deffn
  40723. #: guix-git/doc/guix.texi:27565
  40724. msgid "The following data types are used to configure the Knot DNS server:"
  40725. msgstr ""
  40726. #. type: deftp
  40727. #: guix-git/doc/guix.texi:27567
  40728. #, no-wrap
  40729. msgid "{Data Type} knot-key-configuration"
  40730. msgstr ""
  40731. #. type: deftp
  40732. #: guix-git/doc/guix.texi:27570
  40733. msgid "Data type representing a key. This type has the following parameters:"
  40734. msgstr ""
  40735. #. type: item
  40736. #: guix-git/doc/guix.texi:27572 guix-git/doc/guix.texi:27592
  40737. #: guix-git/doc/guix.texi:27707 guix-git/doc/guix.texi:27733
  40738. #: guix-git/doc/guix.texi:27768
  40739. #, no-wrap
  40740. msgid "@code{id} (default: @code{\"\"})"
  40741. msgstr ""
  40742. #. type: table
  40743. #: guix-git/doc/guix.texi:27575 guix-git/doc/guix.texi:27595
  40744. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  40745. msgstr ""
  40746. #. type: item
  40747. #: guix-git/doc/guix.texi:27576
  40748. #, no-wrap
  40749. msgid "@code{algorithm} (default: @code{#f})"
  40750. msgstr ""
  40751. #. type: table
  40752. #: guix-git/doc/guix.texi:27580
  40753. 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}."
  40754. msgstr ""
  40755. #. type: item
  40756. #: guix-git/doc/guix.texi:27581
  40757. #, no-wrap
  40758. msgid "@code{secret} (default: @code{\"\"})"
  40759. msgstr ""
  40760. #. type: table
  40761. #: guix-git/doc/guix.texi:27583
  40762. msgid "The secret key itself."
  40763. msgstr ""
  40764. #. type: deftp
  40765. #: guix-git/doc/guix.texi:27587
  40766. #, no-wrap
  40767. msgid "{Data Type} knot-acl-configuration"
  40768. msgstr ""
  40769. #. type: deftp
  40770. #: guix-git/doc/guix.texi:27590
  40771. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  40772. msgstr ""
  40773. #. type: item
  40774. #: guix-git/doc/guix.texi:27596 guix-git/doc/guix.texi:27711
  40775. #, no-wrap
  40776. msgid "@code{address} (default: @code{'()})"
  40777. msgstr ""
  40778. #. type: table
  40779. #: guix-git/doc/guix.texi:27600
  40780. 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."
  40781. msgstr ""
  40782. #. type: item
  40783. #: guix-git/doc/guix.texi:27601
  40784. #, no-wrap
  40785. msgid "@code{key} (default: @code{'()})"
  40786. msgstr ""
  40787. #. type: table
  40788. #: guix-git/doc/guix.texi:27605
  40789. 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."
  40790. msgstr ""
  40791. #. type: item
  40792. #: guix-git/doc/guix.texi:27606
  40793. #, no-wrap
  40794. msgid "@code{action} (default: @code{'()})"
  40795. msgstr ""
  40796. #. type: table
  40797. #: guix-git/doc/guix.texi:27610
  40798. 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}."
  40799. msgstr ""
  40800. #. type: item
  40801. #: guix-git/doc/guix.texi:27611
  40802. #, no-wrap
  40803. msgid "@code{deny?} (default: @code{#f})"
  40804. msgstr ""
  40805. #. type: table
  40806. #: guix-git/doc/guix.texi:27614
  40807. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  40808. msgstr ""
  40809. #. type: deftp
  40810. #: guix-git/doc/guix.texi:27618
  40811. #, no-wrap
  40812. msgid "{Data Type} zone-entry"
  40813. msgstr ""
  40814. #. type: deftp
  40815. #: guix-git/doc/guix.texi:27621
  40816. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  40817. msgstr ""
  40818. #. type: item
  40819. #: guix-git/doc/guix.texi:27623
  40820. #, no-wrap
  40821. msgid "@code{name} (default: @code{\"@@\"})"
  40822. msgstr ""
  40823. #. type: table
  40824. #: guix-git/doc/guix.texi:27629
  40825. 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}."
  40826. msgstr ""
  40827. #. type: item
  40828. #: guix-git/doc/guix.texi:27630
  40829. #, no-wrap
  40830. msgid "@code{ttl} (default: @code{\"\"})"
  40831. msgstr ""
  40832. #. type: table
  40833. #: guix-git/doc/guix.texi:27632
  40834. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  40835. msgstr ""
  40836. #. type: item
  40837. #: guix-git/doc/guix.texi:27633
  40838. #, no-wrap
  40839. msgid "@code{class} (default: @code{\"IN\"})"
  40840. msgstr ""
  40841. #. type: table
  40842. #: guix-git/doc/guix.texi:27636
  40843. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  40844. msgstr ""
  40845. #. type: item
  40846. #: guix-git/doc/guix.texi:27637
  40847. #, no-wrap
  40848. msgid "@code{type} (default: @code{\"A\"})"
  40849. msgstr ""
  40850. #. type: table
  40851. #: guix-git/doc/guix.texi:27641
  40852. 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."
  40853. msgstr ""
  40854. #. type: item
  40855. #: guix-git/doc/guix.texi:27642
  40856. #, no-wrap
  40857. msgid "@code{data} (default: @code{\"\"})"
  40858. msgstr ""
  40859. #. type: table
  40860. #: guix-git/doc/guix.texi:27646
  40861. 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."
  40862. msgstr ""
  40863. #. type: deftp
  40864. #: guix-git/doc/guix.texi:27650
  40865. #, no-wrap
  40866. msgid "{Data Type} zone-file"
  40867. msgstr ""
  40868. #. type: deftp
  40869. #: guix-git/doc/guix.texi:27653
  40870. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  40871. msgstr ""
  40872. #. type: table
  40873. #: guix-git/doc/guix.texi:27662
  40874. 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}."
  40875. msgstr ""
  40876. #. type: item
  40877. #: guix-git/doc/guix.texi:27663
  40878. #, no-wrap
  40879. msgid "@code{origin} (default: @code{\"\"})"
  40880. msgstr ""
  40881. #. type: table
  40882. #: guix-git/doc/guix.texi:27665
  40883. msgid "The name of your zone. This parameter cannot be empty."
  40884. msgstr ""
  40885. #. type: item
  40886. #: guix-git/doc/guix.texi:27666
  40887. #, no-wrap
  40888. msgid "@code{ns} (default: @code{\"ns\"})"
  40889. msgstr ""
  40890. #. type: table
  40891. #: guix-git/doc/guix.texi:27671
  40892. 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."
  40893. msgstr ""
  40894. #. type: item
  40895. #: guix-git/doc/guix.texi:27672
  40896. #, no-wrap
  40897. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  40898. msgstr ""
  40899. #. type: table
  40900. #: guix-git/doc/guix.texi:27675
  40901. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  40902. msgstr ""
  40903. #. type: item
  40904. #: guix-git/doc/guix.texi:27676
  40905. #, no-wrap
  40906. msgid "@code{serial} (default: @code{1})"
  40907. msgstr ""
  40908. #. type: table
  40909. #: guix-git/doc/guix.texi:27680
  40910. 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."
  40911. msgstr ""
  40912. #. type: item
  40913. #: guix-git/doc/guix.texi:27681
  40914. #, no-wrap
  40915. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  40916. msgstr ""
  40917. #. type: table
  40918. #: guix-git/doc/guix.texi:27685
  40919. 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)}."
  40920. msgstr ""
  40921. #. type: item
  40922. #: guix-git/doc/guix.texi:27686
  40923. #, no-wrap
  40924. msgid "@code{retry} (default: @code{(* 15 60)})"
  40925. msgstr ""
  40926. #. type: table
  40927. #: guix-git/doc/guix.texi:27689
  40928. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  40929. msgstr ""
  40930. #. type: item
  40931. #: guix-git/doc/guix.texi:27690
  40932. #, no-wrap
  40933. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  40934. msgstr ""
  40935. #. type: table
  40936. #: guix-git/doc/guix.texi:27694
  40937. 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."
  40938. msgstr ""
  40939. #. type: item
  40940. #: guix-git/doc/guix.texi:27695
  40941. #, no-wrap
  40942. msgid "@code{nx} (default: @code{3600})"
  40943. msgstr ""
  40944. #. type: table
  40945. #: guix-git/doc/guix.texi:27698
  40946. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  40947. msgstr ""
  40948. #. type: deftp
  40949. #: guix-git/doc/guix.texi:27702
  40950. #, no-wrap
  40951. msgid "{Data Type} knot-remote-configuration"
  40952. msgstr ""
  40953. #. type: deftp
  40954. #: guix-git/doc/guix.texi:27705
  40955. msgid "Data type representing a remote configuration. This type has the following parameters:"
  40956. msgstr ""
  40957. #. type: table
  40958. #: guix-git/doc/guix.texi:27710
  40959. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  40960. msgstr ""
  40961. #. type: table
  40962. #: guix-git/doc/guix.texi:27715
  40963. 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."
  40964. msgstr ""
  40965. #. type: item
  40966. #: guix-git/doc/guix.texi:27716
  40967. #, no-wrap
  40968. msgid "@code{via} (default: @code{'()})"
  40969. msgstr ""
  40970. #. type: table
  40971. #: guix-git/doc/guix.texi:27720
  40972. 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."
  40973. msgstr ""
  40974. #. type: table
  40975. #: guix-git/doc/guix.texi:27724
  40976. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  40977. msgstr ""
  40978. #. type: deftp
  40979. #: guix-git/doc/guix.texi:27728
  40980. #, no-wrap
  40981. msgid "{Data Type} knot-keystore-configuration"
  40982. msgstr ""
  40983. #. type: deftp
  40984. #: guix-git/doc/guix.texi:27731
  40985. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  40986. msgstr ""
  40987. #. type: table
  40988. #: guix-git/doc/guix.texi:27735
  40989. msgid "The id of the keystore. It must not be empty."
  40990. msgstr ""
  40991. #. type: item
  40992. #: guix-git/doc/guix.texi:27736
  40993. #, no-wrap
  40994. msgid "@code{backend} (default: @code{'pem})"
  40995. msgstr ""
  40996. #. type: table
  40997. #: guix-git/doc/guix.texi:27738
  40998. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  40999. msgstr ""
  41000. #. type: item
  41001. #: guix-git/doc/guix.texi:27739
  41002. #, no-wrap
  41003. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  41004. msgstr ""
  41005. #. type: table
  41006. #: guix-git/doc/guix.texi:27743
  41007. 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."
  41008. msgstr ""
  41009. #. type: deftp
  41010. #: guix-git/doc/guix.texi:27747
  41011. #, no-wrap
  41012. msgid "{Data Type} knot-policy-configuration"
  41013. msgstr ""
  41014. #. type: deftp
  41015. #: guix-git/doc/guix.texi:27751
  41016. 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."
  41017. msgstr ""
  41018. #. type: deftp
  41019. #: guix-git/doc/guix.texi:27758
  41020. 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."
  41021. msgstr ""
  41022. #. type: deftp
  41023. #: guix-git/doc/guix.texi:27764
  41024. 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."
  41025. msgstr ""
  41026. #. type: deftp
  41027. #: guix-git/doc/guix.texi:27766
  41028. msgid "This type has the following parameters:"
  41029. msgstr ""
  41030. #. type: table
  41031. #: guix-git/doc/guix.texi:27770
  41032. msgid "The id of the policy. It must not be empty."
  41033. msgstr ""
  41034. #. type: item
  41035. #: guix-git/doc/guix.texi:27771
  41036. #, no-wrap
  41037. msgid "@code{keystore} (default: @code{\"default\"})"
  41038. msgstr ""
  41039. #. type: table
  41040. #: guix-git/doc/guix.texi:27776
  41041. 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)."
  41042. msgstr ""
  41043. #. type: item
  41044. #: guix-git/doc/guix.texi:27777
  41045. #, no-wrap
  41046. msgid "@code{manual?} (default: @code{#f})"
  41047. msgstr ""
  41048. #. type: table
  41049. #: guix-git/doc/guix.texi:27779
  41050. msgid "Whether the key management is manual or automatic."
  41051. msgstr ""
  41052. #. type: item
  41053. #: guix-git/doc/guix.texi:27780
  41054. #, no-wrap
  41055. msgid "@code{single-type-signing?} (default: @code{#f})"
  41056. msgstr ""
  41057. #. type: table
  41058. #: guix-git/doc/guix.texi:27782
  41059. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  41060. msgstr ""
  41061. #. type: item
  41062. #: guix-git/doc/guix.texi:27783
  41063. #, no-wrap
  41064. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  41065. msgstr ""
  41066. #. type: table
  41067. #: guix-git/doc/guix.texi:27785
  41068. msgid "An algorithm of signing keys and issued signatures."
  41069. msgstr ""
  41070. #. type: item
  41071. #: guix-git/doc/guix.texi:27786
  41072. #, no-wrap
  41073. msgid "@code{ksk-size} (default: @code{256})"
  41074. msgstr ""
  41075. #. type: table
  41076. #: guix-git/doc/guix.texi:27789
  41077. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41078. msgstr ""
  41079. #. type: item
  41080. #: guix-git/doc/guix.texi:27790
  41081. #, no-wrap
  41082. msgid "@code{zsk-size} (default: @code{256})"
  41083. msgstr ""
  41084. #. type: table
  41085. #: guix-git/doc/guix.texi:27793
  41086. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41087. msgstr ""
  41088. #. type: item
  41089. #: guix-git/doc/guix.texi:27794
  41090. #, no-wrap
  41091. msgid "@code{dnskey-ttl} (default: @code{'default})"
  41092. msgstr ""
  41093. #. type: table
  41094. #: guix-git/doc/guix.texi:27797
  41095. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  41096. msgstr ""
  41097. #. type: item
  41098. #: guix-git/doc/guix.texi:27798
  41099. #, no-wrap
  41100. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  41101. msgstr ""
  41102. #. type: table
  41103. #: guix-git/doc/guix.texi:27800
  41104. msgid "The period between ZSK publication and the next rollover initiation."
  41105. msgstr ""
  41106. #. type: item
  41107. #: guix-git/doc/guix.texi:27801
  41108. #, no-wrap
  41109. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  41110. msgstr ""
  41111. #. type: table
  41112. #: guix-git/doc/guix.texi:27804
  41113. 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."
  41114. msgstr ""
  41115. #. type: item
  41116. #: guix-git/doc/guix.texi:27805
  41117. #, no-wrap
  41118. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  41119. msgstr ""
  41120. #. type: table
  41121. #: guix-git/doc/guix.texi:27807
  41122. msgid "A validity period of newly issued signatures."
  41123. msgstr ""
  41124. #. type: item
  41125. #: guix-git/doc/guix.texi:27808
  41126. #, no-wrap
  41127. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  41128. msgstr ""
  41129. #. type: table
  41130. #: guix-git/doc/guix.texi:27810
  41131. msgid "A period how long before a signature expiration the signature will be refreshed."
  41132. msgstr ""
  41133. #. type: item
  41134. #: guix-git/doc/guix.texi:27811
  41135. #, no-wrap
  41136. msgid "@code{nsec3?} (default: @code{#f})"
  41137. msgstr ""
  41138. #. type: table
  41139. #: guix-git/doc/guix.texi:27813
  41140. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  41141. msgstr ""
  41142. #. type: item
  41143. #: guix-git/doc/guix.texi:27814
  41144. #, no-wrap
  41145. msgid "@code{nsec3-iterations} (default: @code{5})"
  41146. msgstr ""
  41147. #. type: table
  41148. #: guix-git/doc/guix.texi:27816
  41149. msgid "The number of additional times the hashing is performed."
  41150. msgstr ""
  41151. #. type: item
  41152. #: guix-git/doc/guix.texi:27817
  41153. #, no-wrap
  41154. msgid "@code{nsec3-salt-length} (default: @code{8})"
  41155. msgstr ""
  41156. #. type: table
  41157. #: guix-git/doc/guix.texi:27820
  41158. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  41159. msgstr ""
  41160. #. type: item
  41161. #: guix-git/doc/guix.texi:27821
  41162. #, no-wrap
  41163. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  41164. msgstr ""
  41165. #. type: table
  41166. #: guix-git/doc/guix.texi:27823
  41167. msgid "The validity period of newly issued salt field."
  41168. msgstr ""
  41169. #. type: deftp
  41170. #: guix-git/doc/guix.texi:27827
  41171. #, no-wrap
  41172. msgid "{Data Type} knot-zone-configuration"
  41173. msgstr ""
  41174. #. type: deftp
  41175. #: guix-git/doc/guix.texi:27830
  41176. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  41177. msgstr ""
  41178. #. type: item
  41179. #: guix-git/doc/guix.texi:27832
  41180. #, no-wrap
  41181. msgid "@code{domain} (default: @code{\"\"})"
  41182. msgstr ""
  41183. #. type: table
  41184. #: guix-git/doc/guix.texi:27834
  41185. msgid "The domain served by this configuration. It must not be empty."
  41186. msgstr ""
  41187. #. type: item
  41188. #: guix-git/doc/guix.texi:27835
  41189. #, no-wrap
  41190. msgid "@code{file} (default: @code{\"\"})"
  41191. msgstr ""
  41192. #. type: table
  41193. #: guix-git/doc/guix.texi:27838
  41194. 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."
  41195. msgstr ""
  41196. #. type: item
  41197. #: guix-git/doc/guix.texi:27839
  41198. #, no-wrap
  41199. msgid "@code{zone} (default: @code{(zone-file)})"
  41200. msgstr ""
  41201. #. type: table
  41202. #: guix-git/doc/guix.texi:27842
  41203. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  41204. msgstr ""
  41205. #. type: item
  41206. #: guix-git/doc/guix.texi:27843
  41207. #, no-wrap
  41208. msgid "@code{master} (default: @code{'()})"
  41209. msgstr ""
  41210. #. type: table
  41211. #: guix-git/doc/guix.texi:27846
  41212. 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."
  41213. msgstr ""
  41214. #. type: item
  41215. #: guix-git/doc/guix.texi:27847
  41216. #, no-wrap
  41217. msgid "@code{ddns-master} (default: @code{#f})"
  41218. msgstr ""
  41219. #. type: table
  41220. #: guix-git/doc/guix.texi:27850
  41221. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  41222. msgstr ""
  41223. #. type: item
  41224. #: guix-git/doc/guix.texi:27851
  41225. #, no-wrap
  41226. msgid "@code{notify} (default: @code{'()})"
  41227. msgstr ""
  41228. #. type: table
  41229. #: guix-git/doc/guix.texi:27853
  41230. msgid "A list of slave remote identifiers."
  41231. msgstr ""
  41232. #. type: item
  41233. #: guix-git/doc/guix.texi:27854
  41234. #, no-wrap
  41235. msgid "@code{acl} (default: @code{'()})"
  41236. msgstr ""
  41237. #. type: table
  41238. #: guix-git/doc/guix.texi:27856
  41239. msgid "A list of acl identifiers."
  41240. msgstr ""
  41241. #. type: item
  41242. #: guix-git/doc/guix.texi:27857
  41243. #, no-wrap
  41244. msgid "@code{semantic-checks?} (default: @code{#f})"
  41245. msgstr ""
  41246. #. type: table
  41247. #: guix-git/doc/guix.texi:27859
  41248. msgid "When set, this adds more semantic checks to the zone."
  41249. msgstr ""
  41250. #. type: item
  41251. #: guix-git/doc/guix.texi:27860
  41252. #, no-wrap
  41253. msgid "@code{zonefile-sync} (default: @code{0})"
  41254. msgstr ""
  41255. #. type: table
  41256. #: guix-git/doc/guix.texi:27863
  41257. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  41258. msgstr ""
  41259. #. type: item
  41260. #: guix-git/doc/guix.texi:27864
  41261. #, no-wrap
  41262. msgid "@code{zonefile-load} (default: @code{#f})"
  41263. msgstr ""
  41264. #. type: table
  41265. #: guix-git/doc/guix.texi:27867
  41266. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  41267. msgstr ""
  41268. #. type: item
  41269. #: guix-git/doc/guix.texi:27869
  41270. #, no-wrap
  41271. msgid "@code{#f} for using the default value from Knot,"
  41272. msgstr ""
  41273. #. type: item
  41274. #: guix-git/doc/guix.texi:27870
  41275. #, no-wrap
  41276. msgid "@code{'none} for not using the zone file at all,"
  41277. msgstr ""
  41278. #. type: item
  41279. #: guix-git/doc/guix.texi:27871
  41280. #, no-wrap
  41281. msgid "@code{'difference} for computing the difference between already available"
  41282. msgstr ""
  41283. #. type: itemize
  41284. #: guix-git/doc/guix.texi:27873
  41285. msgid "contents and zone contents and applying it to the current zone contents,"
  41286. msgstr ""
  41287. #. type: item
  41288. #: guix-git/doc/guix.texi:27873
  41289. #, no-wrap
  41290. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  41291. msgstr ""
  41292. #. type: itemize
  41293. #: guix-git/doc/guix.texi:27876
  41294. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  41295. msgstr ""
  41296. #. type: item
  41297. #: guix-git/doc/guix.texi:27876
  41298. #, no-wrap
  41299. msgid "@code{'whole} for loading zone contents from the zone file."
  41300. msgstr ""
  41301. #. type: item
  41302. #: guix-git/doc/guix.texi:27879
  41303. #, no-wrap
  41304. msgid "@code{journal-content} (default: @code{#f})"
  41305. msgstr ""
  41306. #. type: table
  41307. #: guix-git/doc/guix.texi:27884
  41308. 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."
  41309. msgstr ""
  41310. #. type: item
  41311. #: guix-git/doc/guix.texi:27885
  41312. #, no-wrap
  41313. msgid "@code{max-journal-usage} (default: @code{#f})"
  41314. msgstr ""
  41315. #. type: table
  41316. #: guix-git/doc/guix.texi:27888
  41317. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  41318. msgstr ""
  41319. #. type: item
  41320. #: guix-git/doc/guix.texi:27889
  41321. #, no-wrap
  41322. msgid "@code{max-journal-depth} (default: @code{#f})"
  41323. msgstr ""
  41324. #. type: table
  41325. #: guix-git/doc/guix.texi:27892
  41326. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  41327. msgstr ""
  41328. #. type: item
  41329. #: guix-git/doc/guix.texi:27893
  41330. #, no-wrap
  41331. msgid "@code{max-zone-size} (default: @code{#f})"
  41332. msgstr ""
  41333. #. type: table
  41334. #: guix-git/doc/guix.texi:27897
  41335. 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."
  41336. msgstr ""
  41337. #. type: item
  41338. #: guix-git/doc/guix.texi:27898
  41339. #, no-wrap
  41340. msgid "@code{dnssec-policy} (default: @code{#f})"
  41341. msgstr ""
  41342. #. type: table
  41343. #: guix-git/doc/guix.texi:27902
  41344. 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."
  41345. msgstr ""
  41346. #. type: item
  41347. #: guix-git/doc/guix.texi:27903
  41348. #, no-wrap
  41349. msgid "@code{serial-policy} (default: @code{'increment})"
  41350. msgstr ""
  41351. #. type: table
  41352. #: guix-git/doc/guix.texi:27905
  41353. msgid "A policy between @code{'increment} and @code{'unixtime}."
  41354. msgstr ""
  41355. #. type: deftp
  41356. #: guix-git/doc/guix.texi:27909
  41357. #, no-wrap
  41358. msgid "{Data Type} knot-configuration"
  41359. msgstr ""
  41360. #. type: deftp
  41361. #: guix-git/doc/guix.texi:27912
  41362. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  41363. msgstr ""
  41364. #. type: item
  41365. #: guix-git/doc/guix.texi:27914
  41366. #, no-wrap
  41367. msgid "@code{knot} (default: @code{knot})"
  41368. msgstr ""
  41369. #. type: table
  41370. #: guix-git/doc/guix.texi:27916
  41371. msgid "The Knot package."
  41372. msgstr ""
  41373. #. type: item
  41374. #: guix-git/doc/guix.texi:27917
  41375. #, no-wrap
  41376. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  41377. msgstr ""
  41378. #. type: table
  41379. #: guix-git/doc/guix.texi:27919
  41380. msgid "The run directory. This directory will be used for pid file and sockets."
  41381. msgstr ""
  41382. #. type: item
  41383. #: guix-git/doc/guix.texi:27920
  41384. #, no-wrap
  41385. msgid "@code{includes} (default: @code{'()})"
  41386. msgstr ""
  41387. #. type: table
  41388. #: guix-git/doc/guix.texi:27923
  41389. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  41390. msgstr ""
  41391. #. type: cindex
  41392. #: guix-git/doc/guix.texi:27924
  41393. #, no-wrap
  41394. msgid "secrets, Knot service"
  41395. msgstr ""
  41396. #. type: table
  41397. #: guix-git/doc/guix.texi:27930
  41398. 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."
  41399. msgstr ""
  41400. #. type: table
  41401. #: guix-git/doc/guix.texi:27935
  41402. 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:"
  41403. msgstr ""
  41404. #. type: example
  41405. #: guix-git/doc/guix.texi:27939
  41406. #, no-wrap
  41407. msgid ""
  41408. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  41409. "chmod 600 /etc/knot/secrets.conf\n"
  41410. msgstr ""
  41411. #. type: table
  41412. #: guix-git/doc/guix.texi:27945
  41413. 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."
  41414. msgstr ""
  41415. #. type: table
  41416. #: guix-git/doc/guix.texi:27947
  41417. msgid "It can also be used to add configuration not supported by this interface."
  41418. msgstr ""
  41419. #. type: item
  41420. #: guix-git/doc/guix.texi:27948
  41421. #, no-wrap
  41422. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  41423. msgstr ""
  41424. #. type: table
  41425. #: guix-git/doc/guix.texi:27950 guix-git/doc/guix.texi:27953
  41426. msgid "An ip address on which to listen."
  41427. msgstr ""
  41428. #. type: item
  41429. #: guix-git/doc/guix.texi:27951
  41430. #, no-wrap
  41431. msgid "@code{listen-v6} (default: @code{\"::\"})"
  41432. msgstr ""
  41433. #. type: item
  41434. #: guix-git/doc/guix.texi:27954
  41435. #, no-wrap
  41436. msgid "@code{listen-port} (default: @code{53})"
  41437. msgstr ""
  41438. #. type: table
  41439. #: guix-git/doc/guix.texi:27956
  41440. msgid "A port on which to listen."
  41441. msgstr ""
  41442. #. type: item
  41443. #: guix-git/doc/guix.texi:27957
  41444. #, no-wrap
  41445. msgid "@code{keys} (default: @code{'()})"
  41446. msgstr ""
  41447. #. type: table
  41448. #: guix-git/doc/guix.texi:27959
  41449. msgid "The list of knot-key-configuration used by this configuration."
  41450. msgstr ""
  41451. #. type: item
  41452. #: guix-git/doc/guix.texi:27960
  41453. #, no-wrap
  41454. msgid "@code{acls} (default: @code{'()})"
  41455. msgstr ""
  41456. #. type: table
  41457. #: guix-git/doc/guix.texi:27962
  41458. msgid "The list of knot-acl-configuration used by this configuration."
  41459. msgstr ""
  41460. #. type: item
  41461. #: guix-git/doc/guix.texi:27963
  41462. #, no-wrap
  41463. msgid "@code{remotes} (default: @code{'()})"
  41464. msgstr ""
  41465. #. type: table
  41466. #: guix-git/doc/guix.texi:27965
  41467. msgid "The list of knot-remote-configuration used by this configuration."
  41468. msgstr ""
  41469. #. type: item
  41470. #: guix-git/doc/guix.texi:27966
  41471. #, no-wrap
  41472. msgid "@code{zones} (default: @code{'()})"
  41473. msgstr ""
  41474. #. type: table
  41475. #: guix-git/doc/guix.texi:27968
  41476. msgid "The list of knot-zone-configuration used by this configuration."
  41477. msgstr ""
  41478. #. type: subsubheading
  41479. #: guix-git/doc/guix.texi:27972
  41480. #, no-wrap
  41481. msgid "Knot Resolver Service"
  41482. msgstr ""
  41483. #. type: deffn
  41484. #: guix-git/doc/guix.texi:27974
  41485. #, no-wrap
  41486. msgid "{Scheme Variable} knot-resolver-service-type"
  41487. msgstr ""
  41488. #. type: deffn
  41489. #: guix-git/doc/guix.texi:27977
  41490. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  41491. msgstr ""
  41492. #. type: lisp
  41493. #: guix-git/doc/guix.texi:27987
  41494. #, no-wrap
  41495. msgid ""
  41496. "(service knot-resolver-service-type\n"
  41497. " (knot-resolver-configuration\n"
  41498. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  41499. "net.listen('192.168.0.1', 5353)\n"
  41500. "user('knot-resolver', 'knot-resolver')\n"
  41501. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  41502. "cache.size = 100 * MB\n"
  41503. "\"))))\n"
  41504. msgstr ""
  41505. #. type: deffn
  41506. #: guix-git/doc/guix.texi:27990
  41507. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  41508. msgstr ""
  41509. #. type: deftp
  41510. #: guix-git/doc/guix.texi:27992
  41511. #, no-wrap
  41512. msgid "{Data Type} knot-resolver-configuration"
  41513. msgstr ""
  41514. #. type: deftp
  41515. #: guix-git/doc/guix.texi:27994
  41516. msgid "Data type representing the configuration of knot-resolver."
  41517. msgstr ""
  41518. #. type: item
  41519. #: guix-git/doc/guix.texi:27996
  41520. #, no-wrap
  41521. msgid "@code{package} (default: @var{knot-resolver})"
  41522. msgstr ""
  41523. #. type: table
  41524. #: guix-git/doc/guix.texi:27998
  41525. msgid "Package object of the knot DNS resolver."
  41526. msgstr ""
  41527. #. type: item
  41528. #: guix-git/doc/guix.texi:27999
  41529. #, no-wrap
  41530. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  41531. msgstr ""
  41532. #. type: table
  41533. #: guix-git/doc/guix.texi:28002
  41534. 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}."
  41535. msgstr ""
  41536. #. type: item
  41537. #: guix-git/doc/guix.texi:28003
  41538. #, no-wrap
  41539. msgid "@code{garbage-collection-interval} (default: 1000)"
  41540. msgstr ""
  41541. #. type: table
  41542. #: guix-git/doc/guix.texi:28005
  41543. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  41544. msgstr ""
  41545. #. type: subsubheading
  41546. #: guix-git/doc/guix.texi:28010
  41547. #, no-wrap
  41548. msgid "Dnsmasq Service"
  41549. msgstr ""
  41550. #. type: deffn
  41551. #: guix-git/doc/guix.texi:28012
  41552. #, no-wrap
  41553. msgid "{Scheme Variable} dnsmasq-service-type"
  41554. msgstr ""
  41555. #. type: deffn
  41556. #: guix-git/doc/guix.texi:28015
  41557. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  41558. msgstr ""
  41559. #. type: lisp
  41560. #: guix-git/doc/guix.texi:28021
  41561. #, no-wrap
  41562. msgid ""
  41563. "(service dnsmasq-service-type\n"
  41564. " (dnsmasq-configuration\n"
  41565. " (no-resolv? #t)\n"
  41566. " (servers '(\"192.168.1.1\"))))\n"
  41567. msgstr ""
  41568. #. type: deftp
  41569. #: guix-git/doc/guix.texi:28024
  41570. #, no-wrap
  41571. msgid "{Data Type} dnsmasq-configuration"
  41572. msgstr ""
  41573. #. type: deftp
  41574. #: guix-git/doc/guix.texi:28026
  41575. msgid "Data type representing the configuration of dnsmasq."
  41576. msgstr ""
  41577. #. type: item
  41578. #: guix-git/doc/guix.texi:28028
  41579. #, no-wrap
  41580. msgid "@code{package} (default: @var{dnsmasq})"
  41581. msgstr ""
  41582. #. type: table
  41583. #: guix-git/doc/guix.texi:28030
  41584. msgid "Package object of the dnsmasq server."
  41585. msgstr ""
  41586. #. type: item
  41587. #: guix-git/doc/guix.texi:28031
  41588. #, no-wrap
  41589. msgid "@code{no-hosts?} (default: @code{#f})"
  41590. msgstr ""
  41591. #. type: table
  41592. #: guix-git/doc/guix.texi:28033
  41593. msgid "When true, don't read the hostnames in /etc/hosts."
  41594. msgstr ""
  41595. #. type: item
  41596. #: guix-git/doc/guix.texi:28034
  41597. #, no-wrap
  41598. msgid "@code{port} (default: @code{53})"
  41599. msgstr ""
  41600. #. type: table
  41601. #: guix-git/doc/guix.texi:28037
  41602. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  41603. msgstr ""
  41604. #. type: item
  41605. #: guix-git/doc/guix.texi:28038
  41606. #, no-wrap
  41607. msgid "@code{local-service?} (default: @code{#t})"
  41608. msgstr ""
  41609. #. type: table
  41610. #: guix-git/doc/guix.texi:28041
  41611. 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."
  41612. msgstr ""
  41613. #. type: item
  41614. #: guix-git/doc/guix.texi:28042
  41615. #, no-wrap
  41616. msgid "@code{listen-addresses} (default: @code{'()})"
  41617. msgstr ""
  41618. #. type: table
  41619. #: guix-git/doc/guix.texi:28044
  41620. msgid "Listen on the given IP addresses."
  41621. msgstr ""
  41622. #. type: item
  41623. #: guix-git/doc/guix.texi:28045
  41624. #, no-wrap
  41625. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  41626. msgstr ""
  41627. #. type: table
  41628. #: guix-git/doc/guix.texi:28047
  41629. msgid "The file to read the IP address of the upstream nameservers from."
  41630. msgstr ""
  41631. #. type: item
  41632. #: guix-git/doc/guix.texi:28048
  41633. #, no-wrap
  41634. msgid "@code{no-resolv?} (default: @code{#f})"
  41635. msgstr ""
  41636. #. type: table
  41637. #: guix-git/doc/guix.texi:28050
  41638. msgid "When true, don't read @var{resolv-file}."
  41639. msgstr ""
  41640. #. type: item
  41641. #: guix-git/doc/guix.texi:28051
  41642. #, no-wrap
  41643. msgid "@code{servers} (default: @code{'()})"
  41644. msgstr ""
  41645. #. type: table
  41646. #: guix-git/doc/guix.texi:28053
  41647. msgid "Specify IP address of upstream servers directly."
  41648. msgstr ""
  41649. #. type: item
  41650. #: guix-git/doc/guix.texi:28054
  41651. #, no-wrap
  41652. msgid "@code{addresses} (default: @code{'()})"
  41653. msgstr ""
  41654. #. type: table
  41655. #: guix-git/doc/guix.texi:28058
  41656. 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."
  41657. msgstr ""
  41658. #. type: table
  41659. #: guix-git/doc/guix.texi:28060
  41660. msgid "This is useful for redirecting hosts locally, for example:"
  41661. msgstr ""
  41662. #. type: lisp
  41663. #: guix-git/doc/guix.texi:28069
  41664. #, no-wrap
  41665. msgid ""
  41666. "(service dnsmasq-service-type\n"
  41667. " (dnsmasq-configuration\n"
  41668. " (addresses\n"
  41669. " '(; Redirect to a local web-server.\n"
  41670. " \"/example.org/127.0.0.1\"\n"
  41671. " ; Redirect subdomain to a specific IP.\n"
  41672. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  41673. msgstr ""
  41674. #. type: table
  41675. #: guix-git/doc/guix.texi:28072
  41676. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  41677. msgstr ""
  41678. #. type: item
  41679. #: guix-git/doc/guix.texi:28073
  41680. #, no-wrap
  41681. msgid "@code{cache-size} (default: @code{150})"
  41682. msgstr ""
  41683. #. type: table
  41684. #: guix-git/doc/guix.texi:28076
  41685. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  41686. msgstr ""
  41687. #. type: item
  41688. #: guix-git/doc/guix.texi:28077
  41689. #, no-wrap
  41690. msgid "@code{negative-cache?} (default: @code{#t})"
  41691. msgstr ""
  41692. #. type: table
  41693. #: guix-git/doc/guix.texi:28079
  41694. msgid "When false, disable negative caching."
  41695. msgstr ""
  41696. #. type: item
  41697. #: guix-git/doc/guix.texi:28080
  41698. #, no-wrap
  41699. msgid "@code{tftp-enable?} (default: @code{#f})"
  41700. msgstr ""
  41701. #. type: table
  41702. #: guix-git/doc/guix.texi:28082
  41703. msgid "Whether to enable the built-in TFTP server."
  41704. msgstr ""
  41705. #. type: item
  41706. #: guix-git/doc/guix.texi:28083
  41707. #, no-wrap
  41708. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  41709. msgstr ""
  41710. #. type: table
  41711. #: guix-git/doc/guix.texi:28085
  41712. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  41713. msgstr ""
  41714. #. type: item
  41715. #: guix-git/doc/guix.texi:28086
  41716. #, no-wrap
  41717. msgid "@code{tftp-single-port?} (default: @code{#f})"
  41718. msgstr ""
  41719. #. type: table
  41720. #: guix-git/doc/guix.texi:28088
  41721. msgid "Whether to use only one single port for TFTP."
  41722. msgstr ""
  41723. #. type: item
  41724. #: guix-git/doc/guix.texi:28089
  41725. #, no-wrap
  41726. msgid "@code{tftp-secure?} (default: @code{#f})"
  41727. msgstr ""
  41728. #. type: table
  41729. #: guix-git/doc/guix.texi:28091
  41730. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  41731. msgstr ""
  41732. #. type: table
  41733. #: guix-git/doc/guix.texi:28095
  41734. 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."
  41735. msgstr ""
  41736. #. type: item
  41737. #: guix-git/doc/guix.texi:28096
  41738. #, no-wrap
  41739. msgid "@code{tftp-max} (default: @code{#f})"
  41740. msgstr ""
  41741. #. type: table
  41742. #: guix-git/doc/guix.texi:28098
  41743. msgid "If set, sets the maximal number of concurrent connections allowed."
  41744. msgstr ""
  41745. #. type: item
  41746. #: guix-git/doc/guix.texi:28099
  41747. #, no-wrap
  41748. msgid "@code{tftp-mtu} (default: @code{#f})"
  41749. msgstr ""
  41750. #. type: table
  41751. #: guix-git/doc/guix.texi:28101
  41752. msgid "If set, sets the MTU for TFTP packets to that value."
  41753. msgstr ""
  41754. #. type: item
  41755. #: guix-git/doc/guix.texi:28102
  41756. #, no-wrap
  41757. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  41758. msgstr ""
  41759. #. type: table
  41760. #: guix-git/doc/guix.texi:28104
  41761. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  41762. msgstr ""
  41763. #. type: item
  41764. #: guix-git/doc/guix.texi:28105
  41765. #, no-wrap
  41766. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  41767. msgstr ""
  41768. #. type: table
  41769. #: guix-git/doc/guix.texi:28107
  41770. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  41771. msgstr ""
  41772. #. type: item
  41773. #: guix-git/doc/guix.texi:28108
  41774. #, no-wrap
  41775. msgid "@code{tftp-port-range} (default: @code{#f})"
  41776. msgstr ""
  41777. #. type: table
  41778. #: guix-git/doc/guix.texi:28111
  41779. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  41780. msgstr ""
  41781. #. type: item
  41782. #: guix-git/doc/guix.texi:28112
  41783. #, no-wrap
  41784. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  41785. msgstr ""
  41786. #. type: table
  41787. #: guix-git/doc/guix.texi:28119
  41788. 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."
  41789. msgstr ""
  41790. #. type: item
  41791. #: guix-git/doc/guix.texi:28120
  41792. #, no-wrap
  41793. msgid "@code{tftp-unique-root} (default: @code{#f})"
  41794. msgstr ""
  41795. #. type: table
  41796. #: guix-git/doc/guix.texi:28125
  41797. 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)."
  41798. msgstr ""
  41799. #. type: table
  41800. #: guix-git/doc/guix.texi:28134
  41801. 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."
  41802. msgstr ""
  41803. #. type: subsubheading
  41804. #: guix-git/doc/guix.texi:28138
  41805. #, no-wrap
  41806. msgid "ddclient Service"
  41807. msgstr ""
  41808. #. type: cindex
  41809. #: guix-git/doc/guix.texi:28140
  41810. #, no-wrap
  41811. msgid "ddclient"
  41812. msgstr ""
  41813. #. type: Plain text
  41814. #: guix-git/doc/guix.texi:28144
  41815. 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}."
  41816. msgstr ""
  41817. #. type: Plain text
  41818. #: guix-git/doc/guix.texi:28147
  41819. msgid "The following example show instantiates the service with its default configuration:"
  41820. msgstr ""
  41821. #. type: lisp
  41822. #: guix-git/doc/guix.texi:28150
  41823. #, no-wrap
  41824. msgid "(service ddclient-service-type)\n"
  41825. msgstr ""
  41826. #. type: Plain text
  41827. #: guix-git/doc/guix.texi:28159
  41828. 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."
  41829. msgstr ""
  41830. #. type: Plain text
  41831. #: guix-git/doc/guix.texi:28163
  41832. msgid "Available @code{ddclient-configuration} fields are:"
  41833. msgstr ""
  41834. #. type: deftypevr
  41835. #: guix-git/doc/guix.texi:28164
  41836. #, no-wrap
  41837. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  41838. msgstr ""
  41839. #. type: deftypevr
  41840. #: guix-git/doc/guix.texi:28166
  41841. msgid "The ddclient package."
  41842. msgstr ""
  41843. #. type: deftypevr
  41844. #: guix-git/doc/guix.texi:28169
  41845. #, no-wrap
  41846. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  41847. msgstr ""
  41848. #. type: deftypevr
  41849. #: guix-git/doc/guix.texi:28171
  41850. msgid "The period after which ddclient will retry to check IP and domain name."
  41851. msgstr ""
  41852. #. type: deftypevr
  41853. #: guix-git/doc/guix.texi:28173
  41854. msgid "Defaults to @samp{300}."
  41855. msgstr ""
  41856. #. type: deftypevr
  41857. #: guix-git/doc/guix.texi:28176
  41858. #, no-wrap
  41859. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  41860. msgstr ""
  41861. #. type: deftypevr
  41862. #: guix-git/doc/guix.texi:28178
  41863. msgid "Use syslog for the output."
  41864. msgstr ""
  41865. #. type: deftypevr
  41866. #: guix-git/doc/guix.texi:28183
  41867. #, no-wrap
  41868. msgid "{@code{ddclient-configuration} parameter} string mail"
  41869. msgstr ""
  41870. #. type: deftypevr
  41871. #: guix-git/doc/guix.texi:28185
  41872. msgid "Mail to user."
  41873. msgstr ""
  41874. #. type: deftypevr
  41875. #: guix-git/doc/guix.texi:28187 guix-git/doc/guix.texi:28194
  41876. #: guix-git/doc/guix.texi:29996
  41877. msgid "Defaults to @samp{\"root\"}."
  41878. msgstr ""
  41879. #. type: deftypevr
  41880. #: guix-git/doc/guix.texi:28190
  41881. #, no-wrap
  41882. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  41883. msgstr ""
  41884. #. type: deftypevr
  41885. #: guix-git/doc/guix.texi:28192
  41886. msgid "Mail failed update to user."
  41887. msgstr ""
  41888. #. type: deftypevr
  41889. #: guix-git/doc/guix.texi:28197
  41890. #, no-wrap
  41891. msgid "{@code{ddclient-configuration} parameter} string pid"
  41892. msgstr ""
  41893. #. type: deftypevr
  41894. #: guix-git/doc/guix.texi:28199
  41895. msgid "The ddclient PID file."
  41896. msgstr ""
  41897. #. type: deftypevr
  41898. #: guix-git/doc/guix.texi:28201
  41899. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  41900. msgstr ""
  41901. #. type: deftypevr
  41902. #: guix-git/doc/guix.texi:28204
  41903. #, no-wrap
  41904. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  41905. msgstr ""
  41906. #. type: deftypevr
  41907. #: guix-git/doc/guix.texi:28206
  41908. msgid "Enable SSL support."
  41909. msgstr ""
  41910. #. type: deftypevr
  41911. #: guix-git/doc/guix.texi:28211
  41912. #, no-wrap
  41913. msgid "{@code{ddclient-configuration} parameter} string user"
  41914. msgstr ""
  41915. #. type: deftypevr
  41916. #: guix-git/doc/guix.texi:28214
  41917. msgid "Specifies the user name or ID that is used when running ddclient program."
  41918. msgstr ""
  41919. #. type: deftypevr
  41920. #: guix-git/doc/guix.texi:28216 guix-git/doc/guix.texi:28223
  41921. msgid "Defaults to @samp{\"ddclient\"}."
  41922. msgstr ""
  41923. #. type: deftypevr
  41924. #: guix-git/doc/guix.texi:28219
  41925. #, no-wrap
  41926. msgid "{@code{ddclient-configuration} parameter} string group"
  41927. msgstr ""
  41928. #. type: deftypevr
  41929. #: guix-git/doc/guix.texi:28221
  41930. msgid "Group of the user who will run the ddclient program."
  41931. msgstr ""
  41932. #. type: deftypevr
  41933. #: guix-git/doc/guix.texi:28226
  41934. #, no-wrap
  41935. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  41936. msgstr ""
  41937. #. type: deftypevr
  41938. #: guix-git/doc/guix.texi:28230
  41939. 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."
  41940. msgstr ""
  41941. #. type: deftypevr
  41942. #: guix-git/doc/guix.texi:28232
  41943. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  41944. msgstr ""
  41945. #. type: deftypevr
  41946. #: guix-git/doc/guix.texi:28235
  41947. #, no-wrap
  41948. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  41949. msgstr ""
  41950. #. type: deftypevr
  41951. #: guix-git/doc/guix.texi:28237
  41952. msgid "Extra options will be appended to @file{ddclient.conf} file."
  41953. msgstr ""
  41954. #. type: cindex
  41955. #: guix-git/doc/guix.texi:28248
  41956. #, no-wrap
  41957. msgid "VPN (virtual private network)"
  41958. msgstr ""
  41959. #. type: cindex
  41960. #: guix-git/doc/guix.texi:28249
  41961. #, no-wrap
  41962. msgid "virtual private network (VPN)"
  41963. msgstr ""
  41964. #. type: Plain text
  41965. #: guix-git/doc/guix.texi:28253
  41966. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  41967. msgstr ""
  41968. #. type: subsubheading
  41969. #: guix-git/doc/guix.texi:28254
  41970. #, no-wrap
  41971. msgid "Bitmask"
  41972. msgstr ""
  41973. #. type: defvr
  41974. #: guix-git/doc/guix.texi:28256
  41975. #, no-wrap
  41976. msgid "{Scheme Variable} bitmask-service-type"
  41977. msgstr ""
  41978. #. type: defvr
  41979. #: guix-git/doc/guix.texi:28261
  41980. 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."
  41981. msgstr ""
  41982. #. type: subsubheading
  41983. #: guix-git/doc/guix.texi:28263
  41984. #, no-wrap
  41985. msgid "OpenVPN"
  41986. msgstr ""
  41987. #. type: Plain text
  41988. #: guix-git/doc/guix.texi:28267
  41989. 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@."
  41990. msgstr ""
  41991. #. type: deffn
  41992. #: guix-git/doc/guix.texi:28268
  41993. #, no-wrap
  41994. msgid "{Scheme Procedure} openvpn-client-service @"
  41995. msgstr ""
  41996. #. type: deffn
  41997. #: guix-git/doc/guix.texi:28270
  41998. msgid "[#:config (openvpn-client-configuration)]"
  41999. msgstr ""
  42000. #. type: deffn
  42001. #: guix-git/doc/guix.texi:28272
  42002. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  42003. msgstr ""
  42004. #. type: deffn
  42005. #: guix-git/doc/guix.texi:28274
  42006. #, no-wrap
  42007. msgid "{Scheme Procedure} openvpn-server-service @"
  42008. msgstr ""
  42009. #. type: deffn
  42010. #: guix-git/doc/guix.texi:28276
  42011. msgid "[#:config (openvpn-server-configuration)]"
  42012. msgstr ""
  42013. #. type: deffn
  42014. #: guix-git/doc/guix.texi:28278
  42015. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  42016. msgstr ""
  42017. #. type: deffn
  42018. #: guix-git/doc/guix.texi:28280
  42019. msgid "Both can be run simultaneously."
  42020. msgstr ""
  42021. #. type: Plain text
  42022. #: guix-git/doc/guix.texi:28285
  42023. msgid "Available @code{openvpn-client-configuration} fields are:"
  42024. msgstr ""
  42025. #. type: deftypevr
  42026. #: guix-git/doc/guix.texi:28286
  42027. #, no-wrap
  42028. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  42029. msgstr ""
  42030. #. type: deftypevr
  42031. #: guix-git/doc/guix.texi:28288 guix-git/doc/guix.texi:28443
  42032. msgid "The OpenVPN package."
  42033. msgstr ""
  42034. #. type: deftypevr
  42035. #: guix-git/doc/guix.texi:28291
  42036. #, no-wrap
  42037. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  42038. msgstr ""
  42039. #. type: deftypevr
  42040. #: guix-git/doc/guix.texi:28293 guix-git/doc/guix.texi:28448
  42041. msgid "The OpenVPN pid file."
  42042. msgstr ""
  42043. #. type: deftypevr
  42044. #: guix-git/doc/guix.texi:28295 guix-git/doc/guix.texi:28450
  42045. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  42046. msgstr ""
  42047. #. type: deftypevr
  42048. #: guix-git/doc/guix.texi:28298
  42049. #, no-wrap
  42050. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  42051. msgstr ""
  42052. #. type: deftypevr
  42053. #: guix-git/doc/guix.texi:28301 guix-git/doc/guix.texi:28456
  42054. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  42055. msgstr ""
  42056. #. type: deftypevr
  42057. #: guix-git/doc/guix.texi:28303 guix-git/doc/guix.texi:28458
  42058. msgid "Defaults to @samp{udp}."
  42059. msgstr ""
  42060. #. type: deftypevr
  42061. #: guix-git/doc/guix.texi:28306
  42062. #, no-wrap
  42063. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  42064. msgstr ""
  42065. #. type: deftypevr
  42066. #: guix-git/doc/guix.texi:28308 guix-git/doc/guix.texi:28463
  42067. msgid "The device type used to represent the VPN connection."
  42068. msgstr ""
  42069. #. type: deftypevr
  42070. #: guix-git/doc/guix.texi:28310 guix-git/doc/guix.texi:28465
  42071. msgid "Defaults to @samp{tun}."
  42072. msgstr ""
  42073. #. type: Plain text
  42074. #: guix-git/doc/guix.texi:28316 guix-git/doc/guix.texi:28471
  42075. 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}."
  42076. msgstr ""
  42077. #. type: deftypevr
  42078. #: guix-git/doc/guix.texi:28317
  42079. #, no-wrap
  42080. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  42081. msgstr ""
  42082. #. type: deftypevr
  42083. #: guix-git/doc/guix.texi:28319 guix-git/doc/guix.texi:28474
  42084. msgid "The certificate authority to check connections against."
  42085. msgstr ""
  42086. #. type: deftypevr
  42087. #: guix-git/doc/guix.texi:28321 guix-git/doc/guix.texi:28476
  42088. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  42089. msgstr ""
  42090. #. type: deftypevr
  42091. #: guix-git/doc/guix.texi:28324
  42092. #, no-wrap
  42093. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  42094. msgstr ""
  42095. #. type: deftypevr
  42096. #: guix-git/doc/guix.texi:28327 guix-git/doc/guix.texi:28482
  42097. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  42098. msgstr ""
  42099. #. type: deftypevr
  42100. #: guix-git/doc/guix.texi:28329 guix-git/doc/guix.texi:28484
  42101. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  42102. msgstr ""
  42103. #. type: deftypevr
  42104. #: guix-git/doc/guix.texi:28332
  42105. #, no-wrap
  42106. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  42107. msgstr ""
  42108. #. type: deftypevr
  42109. #: guix-git/doc/guix.texi:28335 guix-git/doc/guix.texi:28490
  42110. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  42111. msgstr ""
  42112. #. type: deftypevr
  42113. #: guix-git/doc/guix.texi:28337 guix-git/doc/guix.texi:28492
  42114. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  42115. msgstr ""
  42116. #. type: deftypevr
  42117. #: guix-git/doc/guix.texi:28340
  42118. #, no-wrap
  42119. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  42120. msgstr ""
  42121. #. type: deftypevr
  42122. #: guix-git/doc/guix.texi:28342 guix-git/doc/guix.texi:28497
  42123. msgid "Whether to use the lzo compression algorithm."
  42124. msgstr ""
  42125. #. type: deftypevr
  42126. #: guix-git/doc/guix.texi:28347
  42127. #, no-wrap
  42128. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  42129. msgstr ""
  42130. #. type: deftypevr
  42131. #: guix-git/doc/guix.texi:28349 guix-git/doc/guix.texi:28504
  42132. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  42133. msgstr ""
  42134. #. type: deftypevr
  42135. #: guix-git/doc/guix.texi:28354
  42136. #, no-wrap
  42137. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  42138. msgstr ""
  42139. #. type: deftypevr
  42140. #: guix-git/doc/guix.texi:28357 guix-git/doc/guix.texi:28512
  42141. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  42142. msgstr ""
  42143. #. type: deftypevr
  42144. #: guix-git/doc/guix.texi:28362
  42145. #, no-wrap
  42146. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  42147. msgstr ""
  42148. #. type: deftypevr
  42149. #: guix-git/doc/guix.texi:28365 guix-git/doc/guix.texi:28520
  42150. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  42151. msgstr ""
  42152. #. type: deftypevr
  42153. #: guix-git/doc/guix.texi:28369
  42154. #, no-wrap
  42155. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  42156. msgstr ""
  42157. #. type: deftypevr
  42158. #: guix-git/doc/guix.texi:28371 guix-git/doc/guix.texi:28526
  42159. msgid "Verbosity level."
  42160. msgstr ""
  42161. #. type: deftypevr
  42162. #: guix-git/doc/guix.texi:28373 guix-git/doc/guix.texi:28528
  42163. #: guix-git/doc/guix.texi:30264 guix-git/doc/guix.texi:30488
  42164. msgid "Defaults to @samp{3}."
  42165. msgstr ""
  42166. #. type: deftypevr
  42167. #: guix-git/doc/guix.texi:28376
  42168. #, no-wrap
  42169. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  42170. msgstr ""
  42171. #. type: deftypevr
  42172. #: guix-git/doc/guix.texi:28379 guix-git/doc/guix.texi:28534
  42173. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  42174. msgstr ""
  42175. #. type: deftypevr
  42176. #: guix-git/doc/guix.texi:28384
  42177. #, no-wrap
  42178. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  42179. msgstr ""
  42180. #. type: deftypevr
  42181. #: guix-git/doc/guix.texi:28388
  42182. 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."
  42183. msgstr ""
  42184. #. type: deftypevr
  42185. #: guix-git/doc/guix.texi:28390
  42186. msgid "Defaults to @samp{'disabled}."
  42187. msgstr ""
  42188. #. type: deftypevr
  42189. #: guix-git/doc/guix.texi:28392
  42190. #, no-wrap
  42191. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  42192. msgstr ""
  42193. #. type: deftypevr
  42194. #: guix-git/doc/guix.texi:28394
  42195. msgid "Whether to check the server certificate has server usage extension."
  42196. msgstr ""
  42197. #. type: deftypevr
  42198. #: guix-git/doc/guix.texi:28399
  42199. #, no-wrap
  42200. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  42201. msgstr ""
  42202. #. type: deftypevr
  42203. #: guix-git/doc/guix.texi:28401
  42204. msgid "Bind to a specific local port number."
  42205. msgstr ""
  42206. #. type: deftypevr
  42207. #: guix-git/doc/guix.texi:28406
  42208. #, no-wrap
  42209. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  42210. msgstr ""
  42211. #. type: deftypevr
  42212. #: guix-git/doc/guix.texi:28408
  42213. msgid "Retry resolving server address."
  42214. msgstr ""
  42215. #. type: deftypevr
  42216. #: guix-git/doc/guix.texi:28413
  42217. #, no-wrap
  42218. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  42219. msgstr ""
  42220. #. type: deftypevr
  42221. #: guix-git/doc/guix.texi:28415
  42222. msgid "A list of remote servers to connect to."
  42223. msgstr ""
  42224. #. type: deftypevr
  42225. #: guix-git/doc/guix.texi:28419
  42226. msgid "Available @code{openvpn-remote-configuration} fields are:"
  42227. msgstr ""
  42228. #. type: deftypevr
  42229. #: guix-git/doc/guix.texi:28420
  42230. #, no-wrap
  42231. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  42232. msgstr ""
  42233. #. type: deftypevr
  42234. #: guix-git/doc/guix.texi:28422
  42235. msgid "Server name."
  42236. msgstr ""
  42237. #. type: deftypevr
  42238. #: guix-git/doc/guix.texi:28424
  42239. msgid "Defaults to @samp{\"my-server\"}."
  42240. msgstr ""
  42241. #. type: deftypevr
  42242. #: guix-git/doc/guix.texi:28427
  42243. #, no-wrap
  42244. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  42245. msgstr ""
  42246. #. type: deftypevr
  42247. #: guix-git/doc/guix.texi:28429
  42248. msgid "Port number the server listens to."
  42249. msgstr ""
  42250. #. type: deftypevr
  42251. #: guix-git/doc/guix.texi:28431 guix-git/doc/guix.texi:28543
  42252. msgid "Defaults to @samp{1194}."
  42253. msgstr ""
  42254. #. type: Plain text
  42255. #: guix-git/doc/guix.texi:28440
  42256. msgid "Available @code{openvpn-server-configuration} fields are:"
  42257. msgstr ""
  42258. #. type: deftypevr
  42259. #: guix-git/doc/guix.texi:28441
  42260. #, no-wrap
  42261. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  42262. msgstr ""
  42263. #. type: deftypevr
  42264. #: guix-git/doc/guix.texi:28446
  42265. #, no-wrap
  42266. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  42267. msgstr ""
  42268. #. type: deftypevr
  42269. #: guix-git/doc/guix.texi:28453
  42270. #, no-wrap
  42271. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  42272. msgstr ""
  42273. #. type: deftypevr
  42274. #: guix-git/doc/guix.texi:28461
  42275. #, no-wrap
  42276. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  42277. msgstr ""
  42278. #. type: deftypevr
  42279. #: guix-git/doc/guix.texi:28472
  42280. #, no-wrap
  42281. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  42282. msgstr ""
  42283. #. type: deftypevr
  42284. #: guix-git/doc/guix.texi:28479
  42285. #, no-wrap
  42286. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  42287. msgstr ""
  42288. #. type: deftypevr
  42289. #: guix-git/doc/guix.texi:28487
  42290. #, no-wrap
  42291. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  42292. msgstr ""
  42293. #. type: deftypevr
  42294. #: guix-git/doc/guix.texi:28495
  42295. #, no-wrap
  42296. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  42297. msgstr ""
  42298. #. type: deftypevr
  42299. #: guix-git/doc/guix.texi:28502
  42300. #, no-wrap
  42301. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  42302. msgstr ""
  42303. #. type: deftypevr
  42304. #: guix-git/doc/guix.texi:28509
  42305. #, no-wrap
  42306. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  42307. msgstr ""
  42308. #. type: deftypevr
  42309. #: guix-git/doc/guix.texi:28517
  42310. #, no-wrap
  42311. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  42312. msgstr ""
  42313. #. type: deftypevr
  42314. #: guix-git/doc/guix.texi:28524
  42315. #, no-wrap
  42316. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  42317. msgstr ""
  42318. #. type: deftypevr
  42319. #: guix-git/doc/guix.texi:28531
  42320. #, no-wrap
  42321. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  42322. msgstr ""
  42323. #. type: deftypevr
  42324. #: guix-git/doc/guix.texi:28539
  42325. #, no-wrap
  42326. msgid "{@code{openvpn-server-configuration} parameter} number port"
  42327. msgstr ""
  42328. #. type: deftypevr
  42329. #: guix-git/doc/guix.texi:28541
  42330. msgid "Specifies the port number on which the server listens."
  42331. msgstr ""
  42332. #. type: deftypevr
  42333. #: guix-git/doc/guix.texi:28546
  42334. #, no-wrap
  42335. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  42336. msgstr ""
  42337. #. type: deftypevr
  42338. #: guix-git/doc/guix.texi:28548
  42339. msgid "An ip and mask specifying the subnet inside the virtual network."
  42340. msgstr ""
  42341. #. type: deftypevr
  42342. #: guix-git/doc/guix.texi:28550
  42343. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  42344. msgstr ""
  42345. #. type: deftypevr
  42346. #: guix-git/doc/guix.texi:28553
  42347. #, no-wrap
  42348. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  42349. msgstr ""
  42350. #. type: deftypevr
  42351. #: guix-git/doc/guix.texi:28555
  42352. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  42353. msgstr ""
  42354. #. type: deftypevr
  42355. #: guix-git/doc/guix.texi:28560
  42356. #, no-wrap
  42357. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  42358. msgstr ""
  42359. #. type: deftypevr
  42360. #: guix-git/doc/guix.texi:28562
  42361. msgid "The Diffie-Hellman parameters file."
  42362. msgstr ""
  42363. #. type: deftypevr
  42364. #: guix-git/doc/guix.texi:28564
  42365. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  42366. msgstr ""
  42367. #. type: deftypevr
  42368. #: guix-git/doc/guix.texi:28567
  42369. #, no-wrap
  42370. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  42371. msgstr ""
  42372. #. type: deftypevr
  42373. #: guix-git/doc/guix.texi:28569
  42374. msgid "The file that records client IPs."
  42375. msgstr ""
  42376. #. type: deftypevr
  42377. #: guix-git/doc/guix.texi:28571
  42378. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  42379. msgstr ""
  42380. #. type: deftypevr
  42381. #: guix-git/doc/guix.texi:28574
  42382. #, no-wrap
  42383. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  42384. msgstr ""
  42385. #. type: deftypevr
  42386. #: guix-git/doc/guix.texi:28576
  42387. msgid "When true, the server will act as a gateway for its clients."
  42388. msgstr ""
  42389. #. type: deftypevr
  42390. #: guix-git/doc/guix.texi:28581
  42391. #, no-wrap
  42392. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  42393. msgstr ""
  42394. #. type: deftypevr
  42395. #: guix-git/doc/guix.texi:28583
  42396. msgid "When true, clients are allowed to talk to each other inside the VPN."
  42397. msgstr ""
  42398. #. type: deftypevr
  42399. #: guix-git/doc/guix.texi:28588
  42400. #, no-wrap
  42401. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  42402. msgstr ""
  42403. #. type: deftypevr
  42404. #: guix-git/doc/guix.texi:28594
  42405. 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."
  42406. msgstr ""
  42407. #. type: deftypevr
  42408. #: guix-git/doc/guix.texi:28597
  42409. #, no-wrap
  42410. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  42411. msgstr ""
  42412. #. type: deftypevr
  42413. #: guix-git/doc/guix.texi:28599
  42414. msgid "The maximum number of clients."
  42415. msgstr ""
  42416. #. type: deftypevr
  42417. #: guix-git/doc/guix.texi:28604
  42418. #, no-wrap
  42419. msgid "{@code{openvpn-server-configuration} parameter} string status"
  42420. msgstr ""
  42421. #. type: deftypevr
  42422. #: guix-git/doc/guix.texi:28607
  42423. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  42424. msgstr ""
  42425. #. type: deftypevr
  42426. #: guix-git/doc/guix.texi:28609
  42427. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  42428. msgstr ""
  42429. #. type: deftypevr
  42430. #: guix-git/doc/guix.texi:28612
  42431. #, no-wrap
  42432. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  42433. msgstr ""
  42434. #. type: deftypevr
  42435. #: guix-git/doc/guix.texi:28614
  42436. msgid "The list of configuration for some clients."
  42437. msgstr ""
  42438. #. type: deftypevr
  42439. #: guix-git/doc/guix.texi:28618
  42440. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  42441. msgstr ""
  42442. #. type: deftypevr
  42443. #: guix-git/doc/guix.texi:28619
  42444. #, no-wrap
  42445. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  42446. msgstr ""
  42447. #. type: deftypevr
  42448. #: guix-git/doc/guix.texi:28621
  42449. msgid "Client name."
  42450. msgstr ""
  42451. #. type: deftypevr
  42452. #: guix-git/doc/guix.texi:28623
  42453. msgid "Defaults to @samp{\"client\"}."
  42454. msgstr ""
  42455. #. type: deftypevr
  42456. #: guix-git/doc/guix.texi:28626
  42457. #, no-wrap
  42458. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  42459. msgstr ""
  42460. #. type: deftypevr
  42461. #: guix-git/doc/guix.texi:28628
  42462. msgid "Client own network"
  42463. msgstr ""
  42464. #. type: deftypevr
  42465. #: guix-git/doc/guix.texi:28633
  42466. #, no-wrap
  42467. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  42468. msgstr ""
  42469. #. type: deftypevr
  42470. #: guix-git/doc/guix.texi:28635
  42471. msgid "Client VPN IP."
  42472. msgstr ""
  42473. #. type: subheading
  42474. #: guix-git/doc/guix.texi:28644
  42475. #, no-wrap
  42476. msgid "strongSwan"
  42477. msgstr ""
  42478. #. type: Plain text
  42479. #: guix-git/doc/guix.texi:28648
  42480. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  42481. msgstr ""
  42482. #. type: defvr
  42483. #: guix-git/doc/guix.texi:28649
  42484. #, no-wrap
  42485. msgid "{Scheme Variable} strongswan-service-type"
  42486. msgstr ""
  42487. #. type: defvr
  42488. #: guix-git/doc/guix.texi:28653
  42489. 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:"
  42490. msgstr ""
  42491. #. type: lisp
  42492. #: guix-git/doc/guix.texi:28659
  42493. #, no-wrap
  42494. msgid ""
  42495. "(service strongswan-service-type\n"
  42496. " (strongswan-configuration\n"
  42497. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  42498. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  42499. msgstr ""
  42500. #. type: deftp
  42501. #: guix-git/doc/guix.texi:28663
  42502. #, no-wrap
  42503. msgid "{Data Type} strongswan-configuration"
  42504. msgstr ""
  42505. #. type: deftp
  42506. #: guix-git/doc/guix.texi:28665
  42507. msgid "Data type representing the configuration of the StrongSwan service."
  42508. msgstr ""
  42509. #. type: code{#1}
  42510. #: guix-git/doc/guix.texi:28667
  42511. #, no-wrap
  42512. msgid "strongswan"
  42513. msgstr ""
  42514. #. type: table
  42515. #: guix-git/doc/guix.texi:28669
  42516. msgid "The strongSwan package to use for this service."
  42517. msgstr ""
  42518. #. type: item
  42519. #: guix-git/doc/guix.texi:28670
  42520. #, no-wrap
  42521. msgid "@code{ipsec-conf} (default: @code{#f})"
  42522. msgstr ""
  42523. #. type: table
  42524. #: guix-git/doc/guix.texi:28673
  42525. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  42526. msgstr ""
  42527. #. type: item
  42528. #: guix-git/doc/guix.texi:28674
  42529. #, no-wrap
  42530. msgid "@code{ipsec-secrets} (default @code{#f})"
  42531. msgstr ""
  42532. #. type: table
  42533. #: guix-git/doc/guix.texi:28677
  42534. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  42535. msgstr ""
  42536. #. type: subsubheading
  42537. #: guix-git/doc/guix.texi:28681
  42538. #, no-wrap
  42539. msgid "Wireguard"
  42540. msgstr ""
  42541. #. type: defvr
  42542. #: guix-git/doc/guix.texi:28683
  42543. #, no-wrap
  42544. msgid "{Scheme Variable} wireguard-service-type"
  42545. msgstr ""
  42546. #. type: defvr
  42547. #: guix-git/doc/guix.texi:28686
  42548. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  42549. msgstr ""
  42550. #. type: lisp
  42551. #: guix-git/doc/guix.texi:28697
  42552. #, no-wrap
  42553. msgid ""
  42554. "(service wireguard-service-type\n"
  42555. " (wireguard-configuration\n"
  42556. " (peers\n"
  42557. " (list\n"
  42558. " (wireguard-peer\n"
  42559. " (name \"my-peer\")\n"
  42560. " (endpoint \"my.wireguard.com:51820\")\n"
  42561. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  42562. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  42563. msgstr ""
  42564. #. type: deftp
  42565. #: guix-git/doc/guix.texi:28701
  42566. #, no-wrap
  42567. msgid "{Data Type} wireguard-configuration"
  42568. msgstr ""
  42569. #. type: deftp
  42570. #: guix-git/doc/guix.texi:28703
  42571. msgid "Data type representing the configuration of the Wireguard service."
  42572. msgstr ""
  42573. #. type: code{#1}
  42574. #: guix-git/doc/guix.texi:28705
  42575. #, no-wrap
  42576. msgid "wireguard"
  42577. msgstr ""
  42578. #. type: table
  42579. #: guix-git/doc/guix.texi:28707
  42580. msgid "The wireguard package to use for this service."
  42581. msgstr ""
  42582. #. type: item
  42583. #: guix-git/doc/guix.texi:28708
  42584. #, no-wrap
  42585. msgid "@code{interface} (default: @code{\"wg0\"})"
  42586. msgstr ""
  42587. #. type: table
  42588. #: guix-git/doc/guix.texi:28710
  42589. msgid "The interface name for the VPN."
  42590. msgstr ""
  42591. #. type: item
  42592. #: guix-git/doc/guix.texi:28711
  42593. #, no-wrap
  42594. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  42595. msgstr ""
  42596. #. type: table
  42597. #: guix-git/doc/guix.texi:28713
  42598. msgid "The IP addresses to be assigned to the above interface."
  42599. msgstr ""
  42600. #. type: item
  42601. #: guix-git/doc/guix.texi:28714
  42602. #, no-wrap
  42603. msgid "@code{port} (default: @code{51820})"
  42604. msgstr ""
  42605. #. type: table
  42606. #: guix-git/doc/guix.texi:28716
  42607. msgid "The port on which to listen for incoming connections."
  42608. msgstr ""
  42609. #. type: item
  42610. #: guix-git/doc/guix.texi:28717
  42611. #, no-wrap
  42612. msgid "@code{dns} (default: @code{#f})"
  42613. msgstr ""
  42614. #. type: table
  42615. #: guix-git/doc/guix.texi:28719
  42616. msgid "The DNS server(s) to announce to VPN clients via DHCP."
  42617. msgstr ""
  42618. #. type: item
  42619. #: guix-git/doc/guix.texi:28720
  42620. #, no-wrap
  42621. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  42622. msgstr ""
  42623. #. type: table
  42624. #: guix-git/doc/guix.texi:28723
  42625. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  42626. msgstr ""
  42627. #. type: item
  42628. #: guix-git/doc/guix.texi:28724
  42629. #, no-wrap
  42630. msgid "@code{peers} (default: @code{'()})"
  42631. msgstr ""
  42632. #. type: table
  42633. #: guix-git/doc/guix.texi:28727
  42634. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  42635. msgstr ""
  42636. #. type: deftp
  42637. #: guix-git/doc/guix.texi:28731
  42638. #, no-wrap
  42639. msgid "{Data Type} wireguard-peer"
  42640. msgstr ""
  42641. #. type: deftp
  42642. #: guix-git/doc/guix.texi:28733
  42643. msgid "Data type representing a Wireguard peer attached to a given interface."
  42644. msgstr ""
  42645. #. type: table
  42646. #: guix-git/doc/guix.texi:28737
  42647. msgid "The peer name."
  42648. msgstr ""
  42649. #. type: item
  42650. #: guix-git/doc/guix.texi:28738
  42651. #, no-wrap
  42652. msgid "@code{endpoint} (default: @code{#f})"
  42653. msgstr ""
  42654. #. type: table
  42655. #: guix-git/doc/guix.texi:28741
  42656. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  42657. msgstr ""
  42658. #. type: itemx
  42659. #: guix-git/doc/guix.texi:28742 guix-git/doc/guix.texi:29137
  42660. #: guix-git/doc/guix.texi:29174 guix-git/doc/guix.texi:34305
  42661. #, no-wrap
  42662. msgid "public-key"
  42663. msgstr ""
  42664. #. type: table
  42665. #: guix-git/doc/guix.texi:28744
  42666. msgid "The peer public-key represented as a base64 string."
  42667. msgstr ""
  42668. #. type: code{#1}
  42669. #: guix-git/doc/guix.texi:28745
  42670. #, no-wrap
  42671. msgid "allowed-ips"
  42672. msgstr ""
  42673. #. type: table
  42674. #: guix-git/doc/guix.texi:28748
  42675. 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."
  42676. msgstr ""
  42677. #. type: item
  42678. #: guix-git/doc/guix.texi:28749
  42679. #, no-wrap
  42680. msgid "@code{keep-alive} (default: @code{#f})"
  42681. msgstr ""
  42682. #. type: table
  42683. #: guix-git/doc/guix.texi:28754
  42684. 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."
  42685. msgstr ""
  42686. #. type: cindex
  42687. #: guix-git/doc/guix.texi:28760
  42688. #, no-wrap
  42689. msgid "NFS"
  42690. msgstr ""
  42691. #. type: Plain text
  42692. #: guix-git/doc/guix.texi:28765
  42693. 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)."
  42694. msgstr ""
  42695. #. type: Plain text
  42696. #: guix-git/doc/guix.texi:28769
  42697. 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}."
  42698. msgstr ""
  42699. #. type: subsubheading
  42700. #: guix-git/doc/guix.texi:28770
  42701. #, no-wrap
  42702. msgid "NFS Service"
  42703. msgstr ""
  42704. #. type: cindex
  42705. #: guix-git/doc/guix.texi:28771
  42706. #, no-wrap
  42707. msgid "NFS, server"
  42708. msgstr ""
  42709. #. type: Plain text
  42710. #: guix-git/doc/guix.texi:28776
  42711. 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."
  42712. msgstr ""
  42713. #. type: defvr
  42714. #: guix-git/doc/guix.texi:28777
  42715. #, no-wrap
  42716. msgid "{Scheme Variable} nfs-service-type"
  42717. msgstr ""
  42718. #. type: defvr
  42719. #: guix-git/doc/guix.texi:28779
  42720. msgid "A service type for a complete NFS server."
  42721. msgstr ""
  42722. #. type: deftp
  42723. #: guix-git/doc/guix.texi:28781
  42724. #, no-wrap
  42725. msgid "{Data Type} nfs-configuration"
  42726. msgstr ""
  42727. #. type: deftp
  42728. #: guix-git/doc/guix.texi:28784
  42729. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  42730. msgstr ""
  42731. #. type: deftp
  42732. #: guix-git/doc/guix.texi:28786
  42733. msgid "It has the following parameters:"
  42734. msgstr ""
  42735. #. type: item
  42736. #: guix-git/doc/guix.texi:28787 guix-git/doc/guix.texi:28912
  42737. #: guix-git/doc/guix.texi:28937
  42738. #, no-wrap
  42739. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  42740. msgstr ""
  42741. #. type: table
  42742. #: guix-git/doc/guix.texi:28789
  42743. msgid "The nfs-utils package to use."
  42744. msgstr ""
  42745. #. type: item
  42746. #: guix-git/doc/guix.texi:28790
  42747. #, no-wrap
  42748. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  42749. msgstr ""
  42750. #. type: table
  42751. #: guix-git/doc/guix.texi:28793
  42752. 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."
  42753. msgstr ""
  42754. #. type: item
  42755. #: guix-git/doc/guix.texi:28794
  42756. #, no-wrap
  42757. msgid "@code{exports} (default: @code{'()})"
  42758. msgstr ""
  42759. #. type: table
  42760. #: guix-git/doc/guix.texi:28799
  42761. 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:"
  42762. msgstr ""
  42763. #. type: lisp
  42764. #: guix-git/doc/guix.texi:28805
  42765. #, no-wrap
  42766. msgid ""
  42767. "(nfs-configuration\n"
  42768. " (exports\n"
  42769. " '((\"/export\"\n"
  42770. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  42771. msgstr ""
  42772. #. type: item
  42773. #: guix-git/doc/guix.texi:28807
  42774. #, no-wrap
  42775. msgid "@code{rpcmountd-port} (default: @code{#f})"
  42776. msgstr ""
  42777. #. type: table
  42778. #: guix-git/doc/guix.texi:28809
  42779. msgid "The network port that the @command{rpc.mountd} daemon should use."
  42780. msgstr ""
  42781. #. type: item
  42782. #: guix-git/doc/guix.texi:28810
  42783. #, no-wrap
  42784. msgid "@code{rpcstatd-port} (default: @code{#f})"
  42785. msgstr ""
  42786. #. type: table
  42787. #: guix-git/doc/guix.texi:28812
  42788. msgid "The network port that the @command{rpc.statd} daemon should use."
  42789. msgstr ""
  42790. #. type: item
  42791. #: guix-git/doc/guix.texi:28813 guix-git/doc/guix.texi:28861
  42792. #, no-wrap
  42793. msgid "@code{rpcbind} (default: @code{rpcbind})"
  42794. msgstr ""
  42795. #. type: table
  42796. #: guix-git/doc/guix.texi:28815 guix-git/doc/guix.texi:28863
  42797. msgid "The rpcbind package to use."
  42798. msgstr ""
  42799. #. type: item
  42800. #: guix-git/doc/guix.texi:28816
  42801. #, no-wrap
  42802. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  42803. msgstr ""
  42804. #. type: table
  42805. #: guix-git/doc/guix.texi:28818
  42806. msgid "The local NFSv4 domain name."
  42807. msgstr ""
  42808. #. type: item
  42809. #: guix-git/doc/guix.texi:28819
  42810. #, no-wrap
  42811. msgid "@code{nfsd-port} (default: @code{2049})"
  42812. msgstr ""
  42813. #. type: table
  42814. #: guix-git/doc/guix.texi:28821
  42815. msgid "The network port that the @command{nfsd} daemon should use."
  42816. msgstr ""
  42817. #. type: item
  42818. #: guix-git/doc/guix.texi:28822
  42819. #, no-wrap
  42820. msgid "@code{nfsd-threads} (default: @code{8})"
  42821. msgstr ""
  42822. #. type: table
  42823. #: guix-git/doc/guix.texi:28824
  42824. msgid "The number of threads used by the @command{nfsd} daemon."
  42825. msgstr ""
  42826. #. type: item
  42827. #: guix-git/doc/guix.texi:28825
  42828. #, no-wrap
  42829. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  42830. msgstr ""
  42831. #. type: table
  42832. #: guix-git/doc/guix.texi:28827
  42833. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  42834. msgstr ""
  42835. #. type: item
  42836. #: guix-git/doc/guix.texi:28828
  42837. #, no-wrap
  42838. msgid "@code{nfsd-udp?} (default: @code{#f})"
  42839. msgstr ""
  42840. #. type: table
  42841. #: guix-git/doc/guix.texi:28830
  42842. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  42843. msgstr ""
  42844. #. type: item
  42845. #: guix-git/doc/guix.texi:28831 guix-git/doc/guix.texi:28915
  42846. #: guix-git/doc/guix.texi:28940
  42847. #, no-wrap
  42848. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  42849. msgstr ""
  42850. #. type: table
  42851. #: guix-git/doc/guix.texi:28833 guix-git/doc/guix.texi:28917
  42852. #: guix-git/doc/guix.texi:28942
  42853. msgid "The directory where the pipefs file system is mounted."
  42854. msgstr ""
  42855. #. type: item
  42856. #: guix-git/doc/guix.texi:28834
  42857. #, no-wrap
  42858. msgid "@code{debug} (default: @code{'()\"})"
  42859. msgstr ""
  42860. #. type: table
  42861. #: guix-git/doc/guix.texi:28838
  42862. 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}."
  42863. msgstr ""
  42864. #. type: Plain text
  42865. #: guix-git/doc/guix.texi:28843
  42866. 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."
  42867. msgstr ""
  42868. #. type: subsubheading
  42869. #: guix-git/doc/guix.texi:28844
  42870. #, no-wrap
  42871. msgid "RPC Bind Service"
  42872. msgstr ""
  42873. #. type: cindex
  42874. #: guix-git/doc/guix.texi:28845
  42875. #, no-wrap
  42876. msgid "rpcbind"
  42877. msgstr ""
  42878. #. type: Plain text
  42879. #: guix-git/doc/guix.texi:28851
  42880. 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."
  42881. msgstr ""
  42882. #. type: defvr
  42883. #: guix-git/doc/guix.texi:28852
  42884. #, no-wrap
  42885. msgid "{Scheme Variable} rpcbind-service-type"
  42886. msgstr ""
  42887. #. type: defvr
  42888. #: guix-git/doc/guix.texi:28854
  42889. msgid "A service type for the RPC portmapper daemon."
  42890. msgstr ""
  42891. #. type: deftp
  42892. #: guix-git/doc/guix.texi:28857
  42893. #, no-wrap
  42894. msgid "{Data Type} rpcbind-configuration"
  42895. msgstr ""
  42896. #. type: deftp
  42897. #: guix-git/doc/guix.texi:28860
  42898. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  42899. msgstr ""
  42900. #. type: item
  42901. #: guix-git/doc/guix.texi:28864
  42902. #, no-wrap
  42903. msgid "@code{warm-start?} (default: @code{#t})"
  42904. msgstr ""
  42905. #. type: table
  42906. #: guix-git/doc/guix.texi:28868
  42907. 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."
  42908. msgstr ""
  42909. #. type: subsubheading
  42910. #: guix-git/doc/guix.texi:28872
  42911. #, no-wrap
  42912. msgid "Pipefs Pseudo File System"
  42913. msgstr ""
  42914. #. type: cindex
  42915. #: guix-git/doc/guix.texi:28873
  42916. #, no-wrap
  42917. msgid "pipefs"
  42918. msgstr ""
  42919. #. type: cindex
  42920. #: guix-git/doc/guix.texi:28874
  42921. #, no-wrap
  42922. msgid "rpc_pipefs"
  42923. msgstr ""
  42924. #. type: Plain text
  42925. #: guix-git/doc/guix.texi:28878
  42926. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  42927. msgstr ""
  42928. #. type: defvr
  42929. #: guix-git/doc/guix.texi:28879
  42930. #, no-wrap
  42931. msgid "{Scheme Variable} pipefs-service-type"
  42932. msgstr ""
  42933. #. type: defvr
  42934. #: guix-git/doc/guix.texi:28881
  42935. msgid "A service type for the pipefs pseudo file system."
  42936. msgstr ""
  42937. #. type: deftp
  42938. #: guix-git/doc/guix.texi:28883
  42939. #, no-wrap
  42940. msgid "{Data Type} pipefs-configuration"
  42941. msgstr ""
  42942. #. type: deftp
  42943. #: guix-git/doc/guix.texi:28886
  42944. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  42945. msgstr ""
  42946. #. type: item
  42947. #: guix-git/doc/guix.texi:28887
  42948. #, no-wrap
  42949. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  42950. msgstr ""
  42951. #. type: table
  42952. #: guix-git/doc/guix.texi:28889
  42953. msgid "The directory to which the file system is to be attached."
  42954. msgstr ""
  42955. #. type: subsubheading
  42956. #: guix-git/doc/guix.texi:28893
  42957. #, no-wrap
  42958. msgid "GSS Daemon Service"
  42959. msgstr ""
  42960. #. type: cindex
  42961. #: guix-git/doc/guix.texi:28894
  42962. #, no-wrap
  42963. msgid "GSSD"
  42964. msgstr ""
  42965. #. type: cindex
  42966. #: guix-git/doc/guix.texi:28895
  42967. #, no-wrap
  42968. msgid "GSS"
  42969. msgstr ""
  42970. #. type: cindex
  42971. #: guix-git/doc/guix.texi:28896
  42972. #, no-wrap
  42973. msgid "global security system"
  42974. msgstr ""
  42975. #. type: Plain text
  42976. #: guix-git/doc/guix.texi:28903
  42977. 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})."
  42978. msgstr ""
  42979. #. type: defvr
  42980. #: guix-git/doc/guix.texi:28904
  42981. #, no-wrap
  42982. msgid "{Scheme Variable} gss-service-type"
  42983. msgstr ""
  42984. #. type: defvr
  42985. #: guix-git/doc/guix.texi:28906
  42986. msgid "A service type for the Global Security System (GSS) daemon."
  42987. msgstr ""
  42988. #. type: deftp
  42989. #: guix-git/doc/guix.texi:28908
  42990. #, no-wrap
  42991. msgid "{Data Type} gss-configuration"
  42992. msgstr ""
  42993. #. type: deftp
  42994. #: guix-git/doc/guix.texi:28911
  42995. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  42996. msgstr ""
  42997. #. type: table
  42998. #: guix-git/doc/guix.texi:28914
  42999. msgid "The package in which the @command{rpc.gssd} command is to be found."
  43000. msgstr ""
  43001. #. type: subsubheading
  43002. #: guix-git/doc/guix.texi:28922
  43003. #, no-wrap
  43004. msgid "IDMAP Daemon Service"
  43005. msgstr ""
  43006. #. type: cindex
  43007. #: guix-git/doc/guix.texi:28923
  43008. #, no-wrap
  43009. msgid "idmapd"
  43010. msgstr ""
  43011. #. type: cindex
  43012. #: guix-git/doc/guix.texi:28924
  43013. #, no-wrap
  43014. msgid "name mapper"
  43015. msgstr ""
  43016. #. type: Plain text
  43017. #: guix-git/doc/guix.texi:28928
  43018. 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."
  43019. msgstr ""
  43020. #. type: defvr
  43021. #: guix-git/doc/guix.texi:28929
  43022. #, no-wrap
  43023. msgid "{Scheme Variable} idmap-service-type"
  43024. msgstr ""
  43025. #. type: defvr
  43026. #: guix-git/doc/guix.texi:28931
  43027. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  43028. msgstr ""
  43029. #. type: deftp
  43030. #: guix-git/doc/guix.texi:28933
  43031. #, no-wrap
  43032. msgid "{Data Type} idmap-configuration"
  43033. msgstr ""
  43034. #. type: deftp
  43035. #: guix-git/doc/guix.texi:28936
  43036. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  43037. msgstr ""
  43038. #. type: table
  43039. #: guix-git/doc/guix.texi:28939
  43040. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  43041. msgstr ""
  43042. #. type: item
  43043. #: guix-git/doc/guix.texi:28943
  43044. #, no-wrap
  43045. msgid "@code{domain} (default: @code{#f})"
  43046. msgstr ""
  43047. #. type: table
  43048. #: guix-git/doc/guix.texi:28947
  43049. 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."
  43050. msgstr ""
  43051. #. type: item
  43052. #: guix-git/doc/guix.texi:28948
  43053. #, no-wrap
  43054. msgid "@code{verbosity} (default: @code{0})"
  43055. msgstr ""
  43056. #. type: table
  43057. #: guix-git/doc/guix.texi:28950
  43058. msgid "The verbosity level of the daemon."
  43059. msgstr ""
  43060. #. type: Plain text
  43061. #: guix-git/doc/guix.texi:28961
  43062. 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})."
  43063. msgstr ""
  43064. #. type: Plain text
  43065. #: guix-git/doc/guix.texi:28963
  43066. msgid "The @code{(gnu services cuirass)} module provides the following service."
  43067. msgstr ""
  43068. #. type: defvr
  43069. #: guix-git/doc/guix.texi:28964
  43070. #, no-wrap
  43071. msgid "{Scheme Procedure} cuirass-service-type"
  43072. msgstr ""
  43073. #. type: defvr
  43074. #: guix-git/doc/guix.texi:28967
  43075. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  43076. msgstr ""
  43077. #. type: Plain text
  43078. #: guix-git/doc/guix.texi:28972
  43079. 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."
  43080. msgstr ""
  43081. #. type: lisp
  43082. #: guix-git/doc/guix.texi:28983
  43083. #, no-wrap
  43084. msgid ""
  43085. "(define %cuirass-specs\n"
  43086. " #~(list (specification\n"
  43087. " (name \"my-channel\")\n"
  43088. " (build '(channels my-channel))\n"
  43089. " (channels\n"
  43090. " (cons (channel\n"
  43091. " (name 'my-channel)\n"
  43092. " (url \"https://my-channel.git\"))\n"
  43093. " %default-channels)))))\n"
  43094. "\n"
  43095. msgstr ""
  43096. #. type: lisp
  43097. #: guix-git/doc/guix.texi:28987 guix-git/doc/guix.texi:29001
  43098. #, no-wrap
  43099. msgid ""
  43100. "(service cuirass-service-type\n"
  43101. " (cuirass-configuration\n"
  43102. " (specifications %cuirass-specs)))\n"
  43103. msgstr ""
  43104. #. type: Plain text
  43105. #: guix-git/doc/guix.texi:28991
  43106. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  43107. msgstr ""
  43108. #. type: lisp
  43109. #: guix-git/doc/guix.texi:28997
  43110. #, no-wrap
  43111. msgid ""
  43112. "(define %cuirass-specs\n"
  43113. " #~(list (specification\n"
  43114. " (name \"my-linux\")\n"
  43115. " (build '(packages \"linux-libre\")))))\n"
  43116. "\n"
  43117. msgstr ""
  43118. #. type: Plain text
  43119. #: guix-git/doc/guix.texi:29006
  43120. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  43121. msgstr ""
  43122. #. type: Plain text
  43123. #: guix-git/doc/guix.texi:29010
  43124. 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."
  43125. msgstr ""
  43126. #. type: deftp
  43127. #: guix-git/doc/guix.texi:29011
  43128. #, no-wrap
  43129. msgid "{Data Type} cuirass-configuration"
  43130. msgstr ""
  43131. #. type: deftp
  43132. #: guix-git/doc/guix.texi:29013
  43133. msgid "Data type representing the configuration of Cuirass."
  43134. msgstr ""
  43135. #. type: item
  43136. #: guix-git/doc/guix.texi:29015 guix-git/doc/guix.texi:29152
  43137. #, no-wrap
  43138. msgid "@code{cuirass} (default: @code{cuirass})"
  43139. msgstr ""
  43140. #. type: table
  43141. #: guix-git/doc/guix.texi:29017 guix-git/doc/guix.texi:29154
  43142. msgid "The Cuirass package to use."
  43143. msgstr ""
  43144. #. type: item
  43145. #: guix-git/doc/guix.texi:29018
  43146. #, no-wrap
  43147. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  43148. msgstr ""
  43149. #. type: table
  43150. #: guix-git/doc/guix.texi:29020 guix-git/doc/guix.texi:29124
  43151. #: guix-git/doc/guix.texi:29167
  43152. msgid "Location of the log file."
  43153. msgstr ""
  43154. #. type: item
  43155. #: guix-git/doc/guix.texi:29021
  43156. #, no-wrap
  43157. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  43158. msgstr ""
  43159. #. type: table
  43160. #: guix-git/doc/guix.texi:29023
  43161. msgid "Location of the log file used by the web interface."
  43162. msgstr ""
  43163. #. type: item
  43164. #: guix-git/doc/guix.texi:29024
  43165. #, no-wrap
  43166. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  43167. msgstr ""
  43168. #. type: table
  43169. #: guix-git/doc/guix.texi:29026
  43170. msgid "Location of the repository cache."
  43171. msgstr ""
  43172. #. type: item
  43173. #: guix-git/doc/guix.texi:29027
  43174. #, no-wrap
  43175. msgid "@code{user} (default: @code{\"cuirass\"})"
  43176. msgstr ""
  43177. #. type: table
  43178. #: guix-git/doc/guix.texi:29029
  43179. msgid "Owner of the @code{cuirass} process."
  43180. msgstr ""
  43181. #. type: item
  43182. #: guix-git/doc/guix.texi:29030
  43183. #, no-wrap
  43184. msgid "@code{group} (default: @code{\"cuirass\"})"
  43185. msgstr ""
  43186. #. type: table
  43187. #: guix-git/doc/guix.texi:29032
  43188. msgid "Owner's group of the @code{cuirass} process."
  43189. msgstr ""
  43190. #. type: item
  43191. #: guix-git/doc/guix.texi:29033
  43192. #, no-wrap
  43193. msgid "@code{interval} (default: @code{60})"
  43194. msgstr ""
  43195. #. type: table
  43196. #: guix-git/doc/guix.texi:29036
  43197. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  43198. msgstr ""
  43199. #. type: item
  43200. #: guix-git/doc/guix.texi:29037
  43201. #, no-wrap
  43202. msgid "@code{parameters} (default: @code{#f})"
  43203. msgstr ""
  43204. #. type: table
  43205. #: guix-git/doc/guix.texi:29040
  43206. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  43207. msgstr ""
  43208. #. type: item
  43209. #: guix-git/doc/guix.texi:29041
  43210. #, no-wrap
  43211. msgid "@code{remote-server} (default: @code{#f})"
  43212. msgstr ""
  43213. #. type: table
  43214. #: guix-git/doc/guix.texi:29044
  43215. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  43216. msgstr ""
  43217. #. type: item
  43218. #: guix-git/doc/guix.texi:29045
  43219. #, no-wrap
  43220. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  43221. msgstr ""
  43222. #. type: table
  43223. #: guix-git/doc/guix.texi:29050
  43224. 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\"}."
  43225. msgstr ""
  43226. #. type: item
  43227. #: guix-git/doc/guix.texi:29051
  43228. #, no-wrap
  43229. msgid "@code{port} (default: @code{8081})"
  43230. msgstr ""
  43231. #. type: table
  43232. #: guix-git/doc/guix.texi:29053
  43233. msgid "Port number used by the HTTP server."
  43234. msgstr ""
  43235. #. type: table
  43236. #: guix-git/doc/guix.texi:29057
  43237. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  43238. msgstr ""
  43239. #. type: item
  43240. #: guix-git/doc/guix.texi:29058
  43241. #, no-wrap
  43242. msgid "@code{specifications} (default: @code{#~'()})"
  43243. msgstr ""
  43244. #. type: table
  43245. #: guix-git/doc/guix.texi:29062
  43246. 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})."
  43247. msgstr ""
  43248. #. type: item
  43249. #: guix-git/doc/guix.texi:29063
  43250. #, no-wrap
  43251. msgid "@code{use-substitutes?} (default: @code{#f})"
  43252. msgstr ""
  43253. #. type: table
  43254. #: guix-git/doc/guix.texi:29066
  43255. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  43256. msgstr ""
  43257. #. type: item
  43258. #: guix-git/doc/guix.texi:29067 guix-git/doc/guix.texi:36336
  43259. #, no-wrap
  43260. msgid "@code{one-shot?} (default: @code{#f})"
  43261. msgstr ""
  43262. #. type: table
  43263. #: guix-git/doc/guix.texi:29069
  43264. msgid "Only evaluate specifications and build derivations once."
  43265. msgstr ""
  43266. #. type: item
  43267. #: guix-git/doc/guix.texi:29070
  43268. #, no-wrap
  43269. msgid "@code{fallback?} (default: @code{#f})"
  43270. msgstr ""
  43271. #. type: table
  43272. #: guix-git/doc/guix.texi:29073
  43273. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  43274. msgstr ""
  43275. #. type: table
  43276. #: guix-git/doc/guix.texi:29076
  43277. msgid "Extra options to pass when running the Cuirass processes."
  43278. msgstr ""
  43279. #. type: cindex
  43280. #: guix-git/doc/guix.texi:29080
  43281. #, no-wrap
  43282. msgid "remote build"
  43283. msgstr ""
  43284. #. type: subsubheading
  43285. #: guix-git/doc/guix.texi:29081
  43286. #, no-wrap
  43287. msgid "Cuirass remote building"
  43288. msgstr ""
  43289. #. type: Plain text
  43290. #: guix-git/doc/guix.texi:29084
  43291. msgid "Cuirass supports two mechanisms to build derivations."
  43292. msgstr ""
  43293. #. type: item
  43294. #: guix-git/doc/guix.texi:29086
  43295. #, no-wrap
  43296. msgid "Using the local Guix daemon."
  43297. msgstr ""
  43298. #. type: itemize
  43299. #: guix-git/doc/guix.texi:29090
  43300. 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."
  43301. msgstr ""
  43302. #. type: item
  43303. #: guix-git/doc/guix.texi:29091
  43304. #, no-wrap
  43305. msgid "Using the remote build mechanism."
  43306. msgstr ""
  43307. #. type: itemize
  43308. #: guix-git/doc/guix.texi:29095
  43309. 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."
  43310. msgstr ""
  43311. #. type: Plain text
  43312. #: guix-git/doc/guix.texi:29102
  43313. 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."
  43314. msgstr ""
  43315. #. type: Plain text
  43316. #: guix-git/doc/guix.texi:29107
  43317. 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."
  43318. msgstr ""
  43319. #. type: deftp
  43320. #: guix-git/doc/guix.texi:29108
  43321. #, no-wrap
  43322. msgid "{Data Type} cuirass-remote-server-configuration"
  43323. msgstr ""
  43324. #. type: deftp
  43325. #: guix-git/doc/guix.texi:29110
  43326. msgid "Data type representing the configuration of the Cuirass remote-server."
  43327. msgstr ""
  43328. #. type: item
  43329. #: guix-git/doc/guix.texi:29112
  43330. #, no-wrap
  43331. msgid "@code{backend-port} (default: @code{5555})"
  43332. msgstr ""
  43333. #. type: table
  43334. #: guix-git/doc/guix.texi:29115
  43335. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  43336. msgstr ""
  43337. #. type: item
  43338. #: guix-git/doc/guix.texi:29116
  43339. #, no-wrap
  43340. msgid "@code{log-port} (default: @code{5556})"
  43341. msgstr ""
  43342. #. type: table
  43343. #: guix-git/doc/guix.texi:29118
  43344. msgid "The TCP port of the log server. It defaults to @code{5556}."
  43345. msgstr ""
  43346. #. type: item
  43347. #: guix-git/doc/guix.texi:29119
  43348. #, no-wrap
  43349. msgid "@code{publish-port} (default: @code{5557})"
  43350. msgstr ""
  43351. #. type: table
  43352. #: guix-git/doc/guix.texi:29121
  43353. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  43354. msgstr ""
  43355. #. type: item
  43356. #: guix-git/doc/guix.texi:29122
  43357. #, no-wrap
  43358. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  43359. msgstr ""
  43360. #. type: item
  43361. #: guix-git/doc/guix.texi:29125
  43362. #, no-wrap
  43363. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  43364. msgstr ""
  43365. #. type: table
  43366. #: guix-git/doc/guix.texi:29127
  43367. msgid "Use @var{cache} directory to cache build log files."
  43368. msgstr ""
  43369. #. type: item
  43370. #: guix-git/doc/guix.texi:29128
  43371. #, no-wrap
  43372. msgid "@code{trigger-url} (default: @code{#f})"
  43373. msgstr ""
  43374. #. type: table
  43375. #: guix-git/doc/guix.texi:29131
  43376. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  43377. msgstr ""
  43378. #. type: table
  43379. #: guix-git/doc/guix.texi:29136
  43380. 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."
  43381. msgstr ""
  43382. #. type: code{#1}
  43383. #: guix-git/doc/guix.texi:29138 guix-git/doc/guix.texi:29175
  43384. #, no-wrap
  43385. msgid "private-key"
  43386. msgstr ""
  43387. #. type: Plain text
  43388. #: guix-git/doc/guix.texi:29147
  43389. 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."
  43390. msgstr ""
  43391. #. type: deftp
  43392. #: guix-git/doc/guix.texi:29148
  43393. #, no-wrap
  43394. msgid "{Data Type} cuirass-remote-worker-configuration"
  43395. msgstr ""
  43396. #. type: deftp
  43397. #: guix-git/doc/guix.texi:29150
  43398. msgid "Data type representing the configuration of the Cuirass remote-worker."
  43399. msgstr ""
  43400. #. type: item
  43401. #: guix-git/doc/guix.texi:29155
  43402. #, no-wrap
  43403. msgid "@code{workers} (default: @code{1})"
  43404. msgstr ""
  43405. #. type: table
  43406. #: guix-git/doc/guix.texi:29157
  43407. msgid "Start @var{workers} parallel workers."
  43408. msgstr ""
  43409. #. type: table
  43410. #: guix-git/doc/guix.texi:29161
  43411. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  43412. msgstr ""
  43413. #. type: item
  43414. #: guix-git/doc/guix.texi:29162
  43415. #, no-wrap
  43416. msgid "@code{systems} (default: @code{(list (%current-system))})"
  43417. msgstr ""
  43418. #. type: table
  43419. #: guix-git/doc/guix.texi:29164
  43420. msgid "Only request builds for the given @var{systems}."
  43421. msgstr ""
  43422. #. type: item
  43423. #: guix-git/doc/guix.texi:29165
  43424. #, no-wrap
  43425. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  43426. msgstr ""
  43427. #. type: item
  43428. #: guix-git/doc/guix.texi:29168
  43429. #, no-wrap
  43430. msgid "@code{publish-port} (default: @code{5558})"
  43431. msgstr ""
  43432. #. type: table
  43433. #: guix-git/doc/guix.texi:29170
  43434. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  43435. msgstr ""
  43436. #. type: subsubheading
  43437. #: guix-git/doc/guix.texi:29182
  43438. #, no-wrap
  43439. msgid "Laminar"
  43440. msgstr ""
  43441. #. type: Plain text
  43442. #: guix-git/doc/guix.texi:29187
  43443. 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."
  43444. msgstr ""
  43445. #. type: Plain text
  43446. #: guix-git/doc/guix.texi:29190
  43447. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  43448. msgstr ""
  43449. #. type: defvr
  43450. #: guix-git/doc/guix.texi:29191
  43451. #, no-wrap
  43452. msgid "{Scheme Procedure} laminar-service-type"
  43453. msgstr ""
  43454. #. type: defvr
  43455. #: guix-git/doc/guix.texi:29194
  43456. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  43457. msgstr ""
  43458. #. type: defvr
  43459. #: guix-git/doc/guix.texi:29198
  43460. 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."
  43461. msgstr ""
  43462. #. type: lisp
  43463. #: guix-git/doc/guix.texi:29201
  43464. #, no-wrap
  43465. msgid "(service laminar-service-type)\n"
  43466. msgstr ""
  43467. #. type: deftp
  43468. #: guix-git/doc/guix.texi:29204
  43469. #, no-wrap
  43470. msgid "{Data Type} laminar-configuration"
  43471. msgstr ""
  43472. #. type: deftp
  43473. #: guix-git/doc/guix.texi:29206
  43474. msgid "Data type representing the configuration of Laminar."
  43475. msgstr ""
  43476. #. type: item
  43477. #: guix-git/doc/guix.texi:29208
  43478. #, no-wrap
  43479. msgid "@code{laminar} (default: @code{laminar})"
  43480. msgstr ""
  43481. #. type: table
  43482. #: guix-git/doc/guix.texi:29210
  43483. msgid "The Laminar package to use."
  43484. msgstr ""
  43485. #. type: item
  43486. #: guix-git/doc/guix.texi:29211
  43487. #, no-wrap
  43488. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  43489. msgstr ""
  43490. #. type: table
  43491. #: guix-git/doc/guix.texi:29213
  43492. msgid "The directory for job configurations and run directories."
  43493. msgstr ""
  43494. #. type: item
  43495. #: guix-git/doc/guix.texi:29214
  43496. #, no-wrap
  43497. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  43498. msgstr ""
  43499. #. type: table
  43500. #: guix-git/doc/guix.texi:29217
  43501. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  43502. msgstr ""
  43503. #. type: item
  43504. #: guix-git/doc/guix.texi:29218
  43505. #, no-wrap
  43506. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  43507. msgstr ""
  43508. #. type: table
  43509. #: guix-git/doc/guix.texi:29221
  43510. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  43511. msgstr ""
  43512. #. type: item
  43513. #: guix-git/doc/guix.texi:29222
  43514. #, no-wrap
  43515. msgid "@code{title} (default: @code{\"Laminar\"})"
  43516. msgstr ""
  43517. #. type: table
  43518. #: guix-git/doc/guix.texi:29224
  43519. msgid "The page title to show in the web frontend."
  43520. msgstr ""
  43521. #. type: item
  43522. #: guix-git/doc/guix.texi:29225
  43523. #, no-wrap
  43524. msgid "@code{keep-rundirs} (default: @code{0})"
  43525. msgstr ""
  43526. #. type: table
  43527. #: guix-git/doc/guix.texi:29229
  43528. 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."
  43529. msgstr ""
  43530. #. type: item
  43531. #: guix-git/doc/guix.texi:29230
  43532. #, no-wrap
  43533. msgid "@code{archive-url} (default: @code{#f})"
  43534. msgstr ""
  43535. #. type: table
  43536. #: guix-git/doc/guix.texi:29233
  43537. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  43538. msgstr ""
  43539. #. type: item
  43540. #: guix-git/doc/guix.texi:29234
  43541. #, no-wrap
  43542. msgid "@code{base-url} (default: @code{#f})"
  43543. msgstr ""
  43544. #. type: table
  43545. #: guix-git/doc/guix.texi:29236
  43546. msgid "Base URL to use for links to laminar itself."
  43547. msgstr ""
  43548. #. type: cindex
  43549. #: guix-git/doc/guix.texi:29243
  43550. #, no-wrap
  43551. msgid "tlp"
  43552. msgstr ""
  43553. #. type: cindex
  43554. #: guix-git/doc/guix.texi:29244
  43555. #, no-wrap
  43556. msgid "power management with TLP"
  43557. msgstr ""
  43558. #. type: subsubheading
  43559. #: guix-git/doc/guix.texi:29245
  43560. #, no-wrap
  43561. msgid "TLP daemon"
  43562. msgstr ""
  43563. #. type: Plain text
  43564. #: guix-git/doc/guix.texi:29249
  43565. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  43566. msgstr ""
  43567. #. type: Plain text
  43568. #: guix-git/doc/guix.texi:29255
  43569. 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}."
  43570. msgstr ""
  43571. #. type: deffn
  43572. #: guix-git/doc/guix.texi:29256
  43573. #, no-wrap
  43574. msgid "{Scheme Variable} tlp-service-type"
  43575. msgstr ""
  43576. #. type: deffn
  43577. #: guix-git/doc/guix.texi:29260
  43578. 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}:"
  43579. msgstr ""
  43580. #. type: lisp
  43581. #: guix-git/doc/guix.texi:29265
  43582. #, no-wrap
  43583. msgid ""
  43584. "(service tlp-service-type\n"
  43585. " (tlp-configuration\n"
  43586. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  43587. " (sched-powersave-on-bat? #t)))\n"
  43588. msgstr ""
  43589. #. type: Plain text
  43590. #: guix-git/doc/guix.texi:29273
  43591. 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}."
  43592. msgstr ""
  43593. #. type: Plain text
  43594. #: guix-git/doc/guix.texi:29283
  43595. msgid "Available @code{tlp-configuration} fields are:"
  43596. msgstr ""
  43597. #. type: deftypevr
  43598. #: guix-git/doc/guix.texi:29284
  43599. #, no-wrap
  43600. msgid "{@code{tlp-configuration} parameter} package tlp"
  43601. msgstr ""
  43602. #. type: deftypevr
  43603. #: guix-git/doc/guix.texi:29286
  43604. msgid "The TLP package."
  43605. msgstr ""
  43606. #. type: deftypevr
  43607. #: guix-git/doc/guix.texi:29289
  43608. #, no-wrap
  43609. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  43610. msgstr ""
  43611. #. type: deftypevr
  43612. #: guix-git/doc/guix.texi:29291
  43613. msgid "Set to true if you wish to enable TLP."
  43614. msgstr ""
  43615. #. type: deftypevr
  43616. #: guix-git/doc/guix.texi:29296
  43617. #, no-wrap
  43618. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  43619. msgstr ""
  43620. #. type: deftypevr
  43621. #: guix-git/doc/guix.texi:29299
  43622. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  43623. msgstr ""
  43624. #. type: deftypevr
  43625. #: guix-git/doc/guix.texi:29301
  43626. msgid "Defaults to @samp{\"AC\"}."
  43627. msgstr ""
  43628. #. type: deftypevr
  43629. #: guix-git/doc/guix.texi:29304
  43630. #, no-wrap
  43631. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  43632. msgstr ""
  43633. #. type: deftypevr
  43634. #: guix-git/doc/guix.texi:29307
  43635. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  43636. msgstr ""
  43637. #. type: deftypevr
  43638. #: guix-git/doc/guix.texi:29312
  43639. #, no-wrap
  43640. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  43641. msgstr ""
  43642. #. type: deftypevr
  43643. #: guix-git/doc/guix.texi:29314
  43644. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  43645. msgstr ""
  43646. #. type: deftypevr
  43647. #: guix-git/doc/guix.texi:29316
  43648. msgid "Defaults to @samp{2}."
  43649. msgstr ""
  43650. #. type: deftypevr
  43651. #: guix-git/doc/guix.texi:29319
  43652. #, no-wrap
  43653. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  43654. msgstr ""
  43655. #. type: deftypevr
  43656. #: guix-git/doc/guix.texi:29321
  43657. msgid "Dirty pages flushing periodicity, expressed in seconds."
  43658. msgstr ""
  43659. #. type: deftypevr
  43660. #: guix-git/doc/guix.texi:29323 guix-git/doc/guix.texi:29546
  43661. #: guix-git/doc/guix.texi:31814 guix-git/doc/guix.texi:31822
  43662. msgid "Defaults to @samp{15}."
  43663. msgstr ""
  43664. #. type: deftypevr
  43665. #: guix-git/doc/guix.texi:29326
  43666. #, no-wrap
  43667. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  43668. msgstr ""
  43669. #. type: deftypevr
  43670. #: guix-git/doc/guix.texi:29328
  43671. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  43672. msgstr ""
  43673. #. type: deftypevr
  43674. #: guix-git/doc/guix.texi:29330
  43675. msgid "Defaults to @samp{60}."
  43676. msgstr ""
  43677. #. type: deftypevr
  43678. #: guix-git/doc/guix.texi:29333
  43679. #, no-wrap
  43680. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  43681. msgstr ""
  43682. #. type: deftypevr
  43683. #: guix-git/doc/guix.texi:29337
  43684. 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."
  43685. msgstr ""
  43686. #. type: deftypevr
  43687. #: guix-git/doc/guix.texi:29342
  43688. #, no-wrap
  43689. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  43690. msgstr ""
  43691. #. type: deftypevr
  43692. #: guix-git/doc/guix.texi:29344
  43693. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  43694. msgstr ""
  43695. #. type: deftypevr
  43696. #: guix-git/doc/guix.texi:29349
  43697. #, no-wrap
  43698. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  43699. msgstr ""
  43700. #. type: deftypevr
  43701. #: guix-git/doc/guix.texi:29351
  43702. msgid "Set the min available frequency for the scaling governor on AC."
  43703. msgstr ""
  43704. #. type: deftypevr
  43705. #: guix-git/doc/guix.texi:29356
  43706. #, no-wrap
  43707. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  43708. msgstr ""
  43709. #. type: deftypevr
  43710. #: guix-git/doc/guix.texi:29358
  43711. msgid "Set the max available frequency for the scaling governor on AC."
  43712. msgstr ""
  43713. #. type: deftypevr
  43714. #: guix-git/doc/guix.texi:29363
  43715. #, no-wrap
  43716. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  43717. msgstr ""
  43718. #. type: deftypevr
  43719. #: guix-git/doc/guix.texi:29365
  43720. msgid "Set the min available frequency for the scaling governor on BAT."
  43721. msgstr ""
  43722. #. type: deftypevr
  43723. #: guix-git/doc/guix.texi:29370
  43724. #, no-wrap
  43725. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  43726. msgstr ""
  43727. #. type: deftypevr
  43728. #: guix-git/doc/guix.texi:29372
  43729. msgid "Set the max available frequency for the scaling governor on BAT."
  43730. msgstr ""
  43731. #. type: deftypevr
  43732. #: guix-git/doc/guix.texi:29377
  43733. #, no-wrap
  43734. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  43735. msgstr ""
  43736. #. type: deftypevr
  43737. #: guix-git/doc/guix.texi:29380
  43738. 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."
  43739. msgstr ""
  43740. #. type: deftypevr
  43741. #: guix-git/doc/guix.texi:29385
  43742. #, no-wrap
  43743. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  43744. msgstr ""
  43745. #. type: deftypevr
  43746. #: guix-git/doc/guix.texi:29388
  43747. 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."
  43748. msgstr ""
  43749. #. type: deftypevr
  43750. #: guix-git/doc/guix.texi:29393
  43751. #, no-wrap
  43752. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  43753. msgstr ""
  43754. #. type: deftypevr
  43755. #: guix-git/doc/guix.texi:29395
  43756. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  43757. msgstr ""
  43758. #. type: deftypevr
  43759. #: guix-git/doc/guix.texi:29400
  43760. #, no-wrap
  43761. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  43762. msgstr ""
  43763. #. type: deftypevr
  43764. #: guix-git/doc/guix.texi:29402
  43765. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  43766. msgstr ""
  43767. #. type: deftypevr
  43768. #: guix-git/doc/guix.texi:29407
  43769. #, no-wrap
  43770. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  43771. msgstr ""
  43772. #. type: deftypevr
  43773. #: guix-git/doc/guix.texi:29409
  43774. msgid "Enable CPU turbo boost feature on AC mode."
  43775. msgstr ""
  43776. #. type: deftypevr
  43777. #: guix-git/doc/guix.texi:29414
  43778. #, no-wrap
  43779. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  43780. msgstr ""
  43781. #. type: deftypevr
  43782. #: guix-git/doc/guix.texi:29416
  43783. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  43784. msgstr ""
  43785. #. type: deftypevr
  43786. #: guix-git/doc/guix.texi:29421
  43787. #, no-wrap
  43788. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  43789. msgstr ""
  43790. #. type: deftypevr
  43791. #: guix-git/doc/guix.texi:29424
  43792. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  43793. msgstr ""
  43794. #. type: deftypevr
  43795. #: guix-git/doc/guix.texi:29429
  43796. #, no-wrap
  43797. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  43798. msgstr ""
  43799. #. type: deftypevr
  43800. #: guix-git/doc/guix.texi:29431
  43801. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  43802. msgstr ""
  43803. #. type: deftypevr
  43804. #: guix-git/doc/guix.texi:29436
  43805. #, no-wrap
  43806. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  43807. msgstr ""
  43808. #. type: deftypevr
  43809. #: guix-git/doc/guix.texi:29438
  43810. msgid "Enable Linux kernel NMI watchdog."
  43811. msgstr ""
  43812. #. type: deftypevr
  43813. #: guix-git/doc/guix.texi:29443
  43814. #, no-wrap
  43815. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  43816. msgstr ""
  43817. #. type: deftypevr
  43818. #: guix-git/doc/guix.texi:29446
  43819. 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\"}."
  43820. msgstr ""
  43821. #. type: deftypevr
  43822. #: guix-git/doc/guix.texi:29451
  43823. #, no-wrap
  43824. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  43825. msgstr ""
  43826. #. type: deftypevr
  43827. #: guix-git/doc/guix.texi:29454
  43828. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  43829. msgstr ""
  43830. #. type: deftypevr
  43831. #: guix-git/doc/guix.texi:29456 guix-git/doc/guix.texi:29554
  43832. #: guix-git/doc/guix.texi:29584
  43833. msgid "Defaults to @samp{\"performance\"}."
  43834. msgstr ""
  43835. #. type: deftypevr
  43836. #: guix-git/doc/guix.texi:29459
  43837. #, no-wrap
  43838. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  43839. msgstr ""
  43840. #. type: deftypevr
  43841. #: guix-git/doc/guix.texi:29461
  43842. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  43843. msgstr ""
  43844. #. type: deftypevr
  43845. #: guix-git/doc/guix.texi:29463 guix-git/doc/guix.texi:29561
  43846. msgid "Defaults to @samp{\"powersave\"}."
  43847. msgstr ""
  43848. #. type: deftypevr
  43849. #: guix-git/doc/guix.texi:29466
  43850. #, no-wrap
  43851. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  43852. msgstr ""
  43853. #. type: deftypevr
  43854. #: guix-git/doc/guix.texi:29468
  43855. msgid "Hard disk devices."
  43856. msgstr ""
  43857. #. type: deftypevr
  43858. #: guix-git/doc/guix.texi:29471
  43859. #, no-wrap
  43860. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  43861. msgstr ""
  43862. #. type: deftypevr
  43863. #: guix-git/doc/guix.texi:29473
  43864. msgid "Hard disk advanced power management level."
  43865. msgstr ""
  43866. #. type: deftypevr
  43867. #: guix-git/doc/guix.texi:29476
  43868. #, no-wrap
  43869. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  43870. msgstr ""
  43871. #. type: deftypevr
  43872. #: guix-git/doc/guix.texi:29478
  43873. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  43874. msgstr ""
  43875. #. type: deftypevr
  43876. #: guix-git/doc/guix.texi:29481
  43877. #, no-wrap
  43878. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  43879. msgstr ""
  43880. #. type: deftypevr
  43881. #: guix-git/doc/guix.texi:29484
  43882. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  43883. msgstr ""
  43884. #. type: deftypevr
  43885. #: guix-git/doc/guix.texi:29489
  43886. #, no-wrap
  43887. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  43888. msgstr ""
  43889. #. type: deftypevr
  43890. #: guix-git/doc/guix.texi:29491
  43891. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  43892. msgstr ""
  43893. #. type: deftypevr
  43894. #: guix-git/doc/guix.texi:29496
  43895. #, no-wrap
  43896. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  43897. msgstr ""
  43898. #. type: deftypevr
  43899. #: guix-git/doc/guix.texi:29500
  43900. 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."
  43901. msgstr ""
  43902. #. type: deftypevr
  43903. #: guix-git/doc/guix.texi:29505
  43904. #, no-wrap
  43905. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  43906. msgstr ""
  43907. #. type: deftypevr
  43908. #: guix-git/doc/guix.texi:29508
  43909. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  43910. msgstr ""
  43911. #. type: deftypevr
  43912. #: guix-git/doc/guix.texi:29510
  43913. msgid "Defaults to @samp{\"max_performance\"}."
  43914. msgstr ""
  43915. #. type: deftypevr
  43916. #: guix-git/doc/guix.texi:29513
  43917. #, no-wrap
  43918. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  43919. msgstr ""
  43920. #. type: deftypevr
  43921. #: guix-git/doc/guix.texi:29515
  43922. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  43923. msgstr ""
  43924. #. type: deftypevr
  43925. #: guix-git/doc/guix.texi:29517
  43926. msgid "Defaults to @samp{\"min_power\"}."
  43927. msgstr ""
  43928. #. type: deftypevr
  43929. #: guix-git/doc/guix.texi:29520
  43930. #, no-wrap
  43931. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  43932. msgstr ""
  43933. #. type: deftypevr
  43934. #: guix-git/doc/guix.texi:29522
  43935. msgid "Exclude specified SATA host devices for link power management."
  43936. msgstr ""
  43937. #. type: deftypevr
  43938. #: guix-git/doc/guix.texi:29527
  43939. #, no-wrap
  43940. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  43941. msgstr ""
  43942. #. type: deftypevr
  43943. #: guix-git/doc/guix.texi:29530
  43944. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  43945. msgstr ""
  43946. #. type: deftypevr
  43947. #: guix-git/doc/guix.texi:29535
  43948. #, no-wrap
  43949. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  43950. msgstr ""
  43951. #. type: deftypevr
  43952. #: guix-git/doc/guix.texi:29537
  43953. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  43954. msgstr ""
  43955. #. type: deftypevr
  43956. #: guix-git/doc/guix.texi:29542
  43957. #, no-wrap
  43958. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  43959. msgstr ""
  43960. #. type: deftypevr
  43961. #: guix-git/doc/guix.texi:29544
  43962. msgid "Seconds of inactivity before disk is suspended."
  43963. msgstr ""
  43964. #. type: deftypevr
  43965. #: guix-git/doc/guix.texi:29549
  43966. #, no-wrap
  43967. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  43968. msgstr ""
  43969. #. type: deftypevr
  43970. #: guix-git/doc/guix.texi:29552
  43971. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  43972. msgstr ""
  43973. #. type: deftypevr
  43974. #: guix-git/doc/guix.texi:29557
  43975. #, no-wrap
  43976. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  43977. msgstr ""
  43978. #. type: deftypevr
  43979. #: guix-git/doc/guix.texi:29559
  43980. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  43981. msgstr ""
  43982. #. type: deftypevr
  43983. #: guix-git/doc/guix.texi:29564
  43984. #, no-wrap
  43985. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  43986. msgstr ""
  43987. #. type: deftypevr
  43988. #: guix-git/doc/guix.texi:29567
  43989. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  43990. msgstr ""
  43991. #. type: deftypevr
  43992. #: guix-git/doc/guix.texi:29569
  43993. msgid "Defaults to @samp{\"high\"}."
  43994. msgstr ""
  43995. #. type: deftypevr
  43996. #: guix-git/doc/guix.texi:29572
  43997. #, no-wrap
  43998. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  43999. msgstr ""
  44000. #. type: deftypevr
  44001. #: guix-git/doc/guix.texi:29574
  44002. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  44003. msgstr ""
  44004. #. type: deftypevr
  44005. #: guix-git/doc/guix.texi:29576
  44006. msgid "Defaults to @samp{\"low\"}."
  44007. msgstr ""
  44008. #. type: deftypevr
  44009. #: guix-git/doc/guix.texi:29579
  44010. #, no-wrap
  44011. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  44012. msgstr ""
  44013. #. type: deftypevr
  44014. #: guix-git/doc/guix.texi:29582
  44015. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  44016. msgstr ""
  44017. #. type: deftypevr
  44018. #: guix-git/doc/guix.texi:29587
  44019. #, no-wrap
  44020. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  44021. msgstr ""
  44022. #. type: deftypevr
  44023. #: guix-git/doc/guix.texi:29589
  44024. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  44025. msgstr ""
  44026. #. type: deftypevr
  44027. #: guix-git/doc/guix.texi:29591
  44028. msgid "Defaults to @samp{\"battery\"}."
  44029. msgstr ""
  44030. #. type: deftypevr
  44031. #: guix-git/doc/guix.texi:29594
  44032. #, no-wrap
  44033. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  44034. msgstr ""
  44035. #. type: deftypevr
  44036. #: guix-git/doc/guix.texi:29596
  44037. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  44038. msgstr ""
  44039. #. type: deftypevr
  44040. #: guix-git/doc/guix.texi:29598 guix-git/doc/guix.texi:29605
  44041. #: guix-git/doc/guix.texi:29679
  44042. msgid "Defaults to @samp{\"auto\"}."
  44043. msgstr ""
  44044. #. type: deftypevr
  44045. #: guix-git/doc/guix.texi:29601
  44046. #, no-wrap
  44047. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  44048. msgstr ""
  44049. #. type: deftypevr
  44050. #: guix-git/doc/guix.texi:29603
  44051. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  44052. msgstr ""
  44053. #. type: deftypevr
  44054. #: guix-git/doc/guix.texi:29608
  44055. #, no-wrap
  44056. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  44057. msgstr ""
  44058. #. type: deftypevr
  44059. #: guix-git/doc/guix.texi:29610
  44060. msgid "Wifi power saving mode."
  44061. msgstr ""
  44062. #. type: deftypevr
  44063. #: guix-git/doc/guix.texi:29615
  44064. #, no-wrap
  44065. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  44066. msgstr ""
  44067. #. type: deftypevr
  44068. #: guix-git/doc/guix.texi:29617
  44069. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  44070. msgstr ""
  44071. #. type: deftypevr
  44072. #: guix-git/doc/guix.texi:29622
  44073. #, no-wrap
  44074. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  44075. msgstr ""
  44076. #. type: deftypevr
  44077. #: guix-git/doc/guix.texi:29624
  44078. msgid "Disable wake on LAN."
  44079. msgstr ""
  44080. #. type: deftypevr
  44081. #: guix-git/doc/guix.texi:29629
  44082. #, no-wrap
  44083. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  44084. msgstr ""
  44085. #. type: deftypevr
  44086. #: guix-git/doc/guix.texi:29632
  44087. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  44088. msgstr ""
  44089. #. type: deftypevr
  44090. #: guix-git/doc/guix.texi:29637
  44091. #, no-wrap
  44092. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  44093. msgstr ""
  44094. #. type: deftypevr
  44095. #: guix-git/doc/guix.texi:29639
  44096. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  44097. msgstr ""
  44098. #. type: deftypevr
  44099. #: guix-git/doc/guix.texi:29644
  44100. #, no-wrap
  44101. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  44102. msgstr ""
  44103. #. type: deftypevr
  44104. #: guix-git/doc/guix.texi:29646
  44105. msgid "Disable controller in powersaving mode on Intel HDA devices."
  44106. msgstr ""
  44107. #. type: deftypevr
  44108. #: guix-git/doc/guix.texi:29651
  44109. #, no-wrap
  44110. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  44111. msgstr ""
  44112. #. type: deftypevr
  44113. #: guix-git/doc/guix.texi:29655
  44114. 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."
  44115. msgstr ""
  44116. #. type: deftypevr
  44117. #: guix-git/doc/guix.texi:29660
  44118. #, no-wrap
  44119. msgid "{@code{tlp-configuration} parameter} string bay-device"
  44120. msgstr ""
  44121. #. type: deftypevr
  44122. #: guix-git/doc/guix.texi:29662
  44123. msgid "Name of the optical drive device to power off."
  44124. msgstr ""
  44125. #. type: deftypevr
  44126. #: guix-git/doc/guix.texi:29664
  44127. msgid "Defaults to @samp{\"sr0\"}."
  44128. msgstr ""
  44129. #. type: deftypevr
  44130. #: guix-git/doc/guix.texi:29667
  44131. #, no-wrap
  44132. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  44133. msgstr ""
  44134. #. type: deftypevr
  44135. #: guix-git/doc/guix.texi:29670
  44136. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  44137. msgstr ""
  44138. #. type: deftypevr
  44139. #: guix-git/doc/guix.texi:29672
  44140. msgid "Defaults to @samp{\"on\"}."
  44141. msgstr ""
  44142. #. type: deftypevr
  44143. #: guix-git/doc/guix.texi:29675
  44144. #, no-wrap
  44145. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  44146. msgstr ""
  44147. #. type: deftypevr
  44148. #: guix-git/doc/guix.texi:29677
  44149. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  44150. msgstr ""
  44151. #. type: deftypevr
  44152. #: guix-git/doc/guix.texi:29682
  44153. #, no-wrap
  44154. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  44155. msgstr ""
  44156. #. type: deftypevr
  44157. #: guix-git/doc/guix.texi:29685
  44158. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  44159. msgstr ""
  44160. #. type: deftypevr
  44161. #: guix-git/doc/guix.texi:29690
  44162. #, no-wrap
  44163. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  44164. msgstr ""
  44165. #. type: deftypevr
  44166. #: guix-git/doc/guix.texi:29692
  44167. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  44168. msgstr ""
  44169. #. type: deftypevr
  44170. #: guix-git/doc/guix.texi:29697
  44171. #, no-wrap
  44172. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  44173. msgstr ""
  44174. #. type: deftypevr
  44175. #: guix-git/doc/guix.texi:29700
  44176. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  44177. msgstr ""
  44178. #. type: deftypevr
  44179. #: guix-git/doc/guix.texi:29703
  44180. #, no-wrap
  44181. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  44182. msgstr ""
  44183. #. type: deftypevr
  44184. #: guix-git/doc/guix.texi:29705
  44185. msgid "Enable USB autosuspend feature."
  44186. msgstr ""
  44187. #. type: deftypevr
  44188. #: guix-git/doc/guix.texi:29710
  44189. #, no-wrap
  44190. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  44191. msgstr ""
  44192. #. type: deftypevr
  44193. #: guix-git/doc/guix.texi:29712
  44194. msgid "Exclude specified devices from USB autosuspend."
  44195. msgstr ""
  44196. #. type: deftypevr
  44197. #: guix-git/doc/guix.texi:29717
  44198. #, no-wrap
  44199. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  44200. msgstr ""
  44201. #. type: deftypevr
  44202. #: guix-git/doc/guix.texi:29719
  44203. msgid "Exclude WWAN devices from USB autosuspend."
  44204. msgstr ""
  44205. #. type: deftypevr
  44206. #: guix-git/doc/guix.texi:29724
  44207. #, no-wrap
  44208. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  44209. msgstr ""
  44210. #. type: deftypevr
  44211. #: guix-git/doc/guix.texi:29727
  44212. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  44213. msgstr ""
  44214. #. type: deftypevr
  44215. #: guix-git/doc/guix.texi:29732
  44216. #, no-wrap
  44217. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  44218. msgstr ""
  44219. #. type: deftypevr
  44220. #: guix-git/doc/guix.texi:29734
  44221. msgid "Enable USB autosuspend before shutdown."
  44222. msgstr ""
  44223. #. type: deftypevr
  44224. #: guix-git/doc/guix.texi:29739
  44225. #, no-wrap
  44226. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  44227. msgstr ""
  44228. #. type: deftypevr
  44229. #: guix-git/doc/guix.texi:29742
  44230. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  44231. msgstr ""
  44232. #. type: cindex
  44233. #: guix-git/doc/guix.texi:29747
  44234. #, no-wrap
  44235. msgid "thermald"
  44236. msgstr ""
  44237. #. type: cindex
  44238. #: guix-git/doc/guix.texi:29748
  44239. #, no-wrap
  44240. msgid "CPU frequency scaling with thermald"
  44241. msgstr ""
  44242. #. type: subsubheading
  44243. #: guix-git/doc/guix.texi:29749
  44244. #, no-wrap
  44245. msgid "Thermald daemon"
  44246. msgstr ""
  44247. #. type: Plain text
  44248. #: guix-git/doc/guix.texi:29753
  44249. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  44250. msgstr ""
  44251. #. type: defvr
  44252. #: guix-git/doc/guix.texi:29754
  44253. #, no-wrap
  44254. msgid "{Scheme Variable} thermald-service-type"
  44255. msgstr ""
  44256. #. type: defvr
  44257. #: guix-git/doc/guix.texi:29759
  44258. 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."
  44259. msgstr ""
  44260. #. type: deftp
  44261. #: guix-git/doc/guix.texi:29761
  44262. #, no-wrap
  44263. msgid "{Data Type} thermald-configuration"
  44264. msgstr ""
  44265. #. type: deftp
  44266. #: guix-git/doc/guix.texi:29763
  44267. msgid "Data type representing the configuration of @code{thermald-service-type}."
  44268. msgstr ""
  44269. #. type: item
  44270. #: guix-git/doc/guix.texi:29765
  44271. #, no-wrap
  44272. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  44273. msgstr ""
  44274. #. type: table
  44275. #: guix-git/doc/guix.texi:29767
  44276. msgid "Ignore cpuid check for supported CPU models."
  44277. msgstr ""
  44278. #. type: item
  44279. #: guix-git/doc/guix.texi:29768
  44280. #, no-wrap
  44281. msgid "@code{thermald} (default: @var{thermald})"
  44282. msgstr ""
  44283. #. type: table
  44284. #: guix-git/doc/guix.texi:29770
  44285. msgid "Package object of thermald."
  44286. msgstr ""
  44287. #. type: Plain text
  44288. #: guix-git/doc/guix.texi:29779
  44289. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  44290. msgstr ""
  44291. #. type: cindex
  44292. #: guix-git/doc/guix.texi:29780
  44293. #, no-wrap
  44294. msgid "mpd"
  44295. msgstr ""
  44296. #. type: subsubheading
  44297. #: guix-git/doc/guix.texi:29781
  44298. #, no-wrap
  44299. msgid "Music Player Daemon"
  44300. msgstr ""
  44301. #. type: Plain text
  44302. #: guix-git/doc/guix.texi:29786
  44303. 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."
  44304. msgstr ""
  44305. #. type: Plain text
  44306. #: guix-git/doc/guix.texi:29789
  44307. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  44308. msgstr ""
  44309. #. type: lisp
  44310. #: guix-git/doc/guix.texi:29795
  44311. #, no-wrap
  44312. msgid ""
  44313. "(service mpd-service-type\n"
  44314. " (mpd-configuration\n"
  44315. " (user \"bob\")\n"
  44316. " (port \"6666\")))\n"
  44317. msgstr ""
  44318. #. type: defvr
  44319. #: guix-git/doc/guix.texi:29797
  44320. #, no-wrap
  44321. msgid "{Scheme Variable} mpd-service-type"
  44322. msgstr ""
  44323. #. type: defvr
  44324. #: guix-git/doc/guix.texi:29799
  44325. msgid "The service type for @command{mpd}"
  44326. msgstr ""
  44327. #. type: deftp
  44328. #: guix-git/doc/guix.texi:29801
  44329. #, no-wrap
  44330. msgid "{Data Type} mpd-configuration"
  44331. msgstr ""
  44332. #. type: deftp
  44333. #: guix-git/doc/guix.texi:29803
  44334. msgid "Data type representing the configuration of @command{mpd}."
  44335. msgstr ""
  44336. #. type: item
  44337. #: guix-git/doc/guix.texi:29805
  44338. #, no-wrap
  44339. msgid "@code{user} (default: @code{\"mpd\"})"
  44340. msgstr ""
  44341. #. type: table
  44342. #: guix-git/doc/guix.texi:29807
  44343. msgid "The user to run mpd as."
  44344. msgstr ""
  44345. #. type: item
  44346. #: guix-git/doc/guix.texi:29808
  44347. #, no-wrap
  44348. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  44349. msgstr ""
  44350. #. type: table
  44351. #: guix-git/doc/guix.texi:29810
  44352. msgid "The directory to scan for music files."
  44353. msgstr ""
  44354. #. type: item
  44355. #: guix-git/doc/guix.texi:29811
  44356. #, no-wrap
  44357. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  44358. msgstr ""
  44359. #. type: table
  44360. #: guix-git/doc/guix.texi:29813
  44361. msgid "The directory to store playlists."
  44362. msgstr ""
  44363. #. type: item
  44364. #: guix-git/doc/guix.texi:29814
  44365. #, no-wrap
  44366. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  44367. msgstr ""
  44368. #. type: table
  44369. #: guix-git/doc/guix.texi:29816
  44370. msgid "The location of the music database."
  44371. msgstr ""
  44372. #. type: item
  44373. #: guix-git/doc/guix.texi:29817
  44374. #, no-wrap
  44375. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  44376. msgstr ""
  44377. #. type: table
  44378. #: guix-git/doc/guix.texi:29819
  44379. msgid "The location of the file that stores current MPD's state."
  44380. msgstr ""
  44381. #. type: item
  44382. #: guix-git/doc/guix.texi:29820
  44383. #, no-wrap
  44384. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  44385. msgstr ""
  44386. #. type: table
  44387. #: guix-git/doc/guix.texi:29822
  44388. msgid "The location of the sticker database."
  44389. msgstr ""
  44390. #. type: item
  44391. #: guix-git/doc/guix.texi:29823
  44392. #, no-wrap
  44393. msgid "@code{port} (default: @code{\"6600\"})"
  44394. msgstr ""
  44395. #. type: table
  44396. #: guix-git/doc/guix.texi:29825
  44397. msgid "The port to run mpd on."
  44398. msgstr ""
  44399. #. type: item
  44400. #: guix-git/doc/guix.texi:29826
  44401. #, no-wrap
  44402. msgid "@code{address} (default: @code{\"any\"})"
  44403. msgstr ""
  44404. #. type: table
  44405. #: guix-git/doc/guix.texi:29829
  44406. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  44407. msgstr ""
  44408. #. type: item
  44409. #: guix-git/doc/guix.texi:29830
  44410. #, no-wrap
  44411. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  44412. msgstr ""
  44413. #. type: table
  44414. #: guix-git/doc/guix.texi:29832
  44415. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  44416. msgstr ""
  44417. #. type: deftp
  44418. #: guix-git/doc/guix.texi:29836
  44419. #, no-wrap
  44420. msgid "{Data Type} mpd-output"
  44421. msgstr ""
  44422. #. type: deftp
  44423. #: guix-git/doc/guix.texi:29838
  44424. msgid "Data type representing an @command{mpd} audio output."
  44425. msgstr ""
  44426. #. type: item
  44427. #: guix-git/doc/guix.texi:29840
  44428. #, no-wrap
  44429. msgid "@code{name} (default: @code{\"MPD\"})"
  44430. msgstr ""
  44431. #. type: table
  44432. #: guix-git/doc/guix.texi:29842
  44433. msgid "The name of the audio output."
  44434. msgstr ""
  44435. #. type: item
  44436. #: guix-git/doc/guix.texi:29843
  44437. #, no-wrap
  44438. msgid "@code{type} (default: @code{\"pulse\"})"
  44439. msgstr ""
  44440. #. type: table
  44441. #: guix-git/doc/guix.texi:29845
  44442. msgid "The type of audio output."
  44443. msgstr ""
  44444. #. type: item
  44445. #: guix-git/doc/guix.texi:29846
  44446. #, no-wrap
  44447. msgid "@code{enabled?} (default: @code{#t})"
  44448. msgstr ""
  44449. #. type: table
  44450. #: guix-git/doc/guix.texi:29851
  44451. 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."
  44452. msgstr ""
  44453. #. type: item
  44454. #: guix-git/doc/guix.texi:29852
  44455. #, no-wrap
  44456. msgid "@code{tags?} (default: @code{#t})"
  44457. msgstr ""
  44458. #. type: table
  44459. #: guix-git/doc/guix.texi:29856
  44460. 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."
  44461. msgstr ""
  44462. #. type: item
  44463. #: guix-git/doc/guix.texi:29857
  44464. #, no-wrap
  44465. msgid "@code{always-on?} (default: @code{#f})"
  44466. msgstr ""
  44467. #. type: table
  44468. #: guix-git/doc/guix.texi:29861
  44469. 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."
  44470. msgstr ""
  44471. #. type: code{#1}
  44472. #: guix-git/doc/guix.texi:29862
  44473. #, no-wrap
  44474. msgid "mixer-type"
  44475. msgstr ""
  44476. #. type: table
  44477. #: guix-git/doc/guix.texi:29868
  44478. 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})."
  44479. msgstr ""
  44480. #. type: table
  44481. #: guix-git/doc/guix.texi:29872
  44482. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  44483. msgstr ""
  44484. #. type: Plain text
  44485. #: guix-git/doc/guix.texi:29878
  44486. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  44487. msgstr ""
  44488. #. type: lisp
  44489. #: guix-git/doc/guix.texi:29890
  44490. #, no-wrap
  44491. msgid ""
  44492. "(service mpd-service-type\n"
  44493. " (mpd-configuration\n"
  44494. " (outputs\n"
  44495. " (list (mpd-output\n"
  44496. " (name \"streaming\")\n"
  44497. " (type \"httpd\")\n"
  44498. " (mixer-type 'null)\n"
  44499. " (extra-options\n"
  44500. " `((encoder . \"vorbis\")\n"
  44501. " (port . \"8080\"))))))))\n"
  44502. msgstr ""
  44503. #. type: Plain text
  44504. #: guix-git/doc/guix.texi:29899
  44505. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  44506. msgstr ""
  44507. #. type: subsubheading
  44508. #: guix-git/doc/guix.texi:29900
  44509. #, no-wrap
  44510. msgid "Libvirt daemon"
  44511. msgstr ""
  44512. #. type: Plain text
  44513. #: guix-git/doc/guix.texi:29905
  44514. 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."
  44515. msgstr ""
  44516. #. type: deffn
  44517. #: guix-git/doc/guix.texi:29906
  44518. #, no-wrap
  44519. msgid "{Scheme Variable} libvirt-service-type"
  44520. msgstr ""
  44521. #. type: deffn
  44522. #: guix-git/doc/guix.texi:29909
  44523. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  44524. msgstr ""
  44525. #. type: lisp
  44526. #: guix-git/doc/guix.texi:29915
  44527. #, no-wrap
  44528. msgid ""
  44529. "(service libvirt-service-type\n"
  44530. " (libvirt-configuration\n"
  44531. " (unix-sock-group \"libvirt\")\n"
  44532. " (tls-port \"16555\")))\n"
  44533. msgstr ""
  44534. #. type: Plain text
  44535. #: guix-git/doc/guix.texi:29920
  44536. msgid "Available @code{libvirt-configuration} fields are:"
  44537. msgstr ""
  44538. #. type: deftypevr
  44539. #: guix-git/doc/guix.texi:29921
  44540. #, no-wrap
  44541. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  44542. msgstr ""
  44543. #. type: deftypevr
  44544. #: guix-git/doc/guix.texi:29923
  44545. msgid "Libvirt package."
  44546. msgstr ""
  44547. #. type: deftypevr
  44548. #: guix-git/doc/guix.texi:29926
  44549. #, no-wrap
  44550. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  44551. msgstr ""
  44552. #. type: deftypevr
  44553. #: guix-git/doc/guix.texi:29929
  44554. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  44555. msgstr ""
  44556. #. type: deftypevr
  44557. #: guix-git/doc/guix.texi:29932
  44558. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  44559. msgstr ""
  44560. #. type: deftypevr
  44561. #: guix-git/doc/guix.texi:29937
  44562. #, no-wrap
  44563. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  44564. msgstr ""
  44565. #. type: deftypevr
  44566. #: guix-git/doc/guix.texi:29940
  44567. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  44568. msgstr ""
  44569. #. type: deftypevr
  44570. #: guix-git/doc/guix.texi:29944
  44571. 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)."
  44572. msgstr ""
  44573. #. type: deftypevr
  44574. #: guix-git/doc/guix.texi:29949
  44575. #, no-wrap
  44576. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  44577. msgstr ""
  44578. #. type: deftypevr
  44579. #: guix-git/doc/guix.texi:29952
  44580. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  44581. msgstr ""
  44582. #. type: deftypevr
  44583. #: guix-git/doc/guix.texi:29954
  44584. msgid "Defaults to @samp{\"16514\"}."
  44585. msgstr ""
  44586. #. type: deftypevr
  44587. #: guix-git/doc/guix.texi:29957
  44588. #, no-wrap
  44589. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  44590. msgstr ""
  44591. #. type: deftypevr
  44592. #: guix-git/doc/guix.texi:29960
  44593. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  44594. msgstr ""
  44595. #. type: deftypevr
  44596. #: guix-git/doc/guix.texi:29962
  44597. msgid "Defaults to @samp{\"16509\"}."
  44598. msgstr ""
  44599. #. type: deftypevr
  44600. #: guix-git/doc/guix.texi:29965
  44601. #, no-wrap
  44602. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  44603. msgstr ""
  44604. #. type: deftypevr
  44605. #: guix-git/doc/guix.texi:29967
  44606. msgid "IP address or hostname used for client connections."
  44607. msgstr ""
  44608. #. type: deftypevr
  44609. #: guix-git/doc/guix.texi:29972
  44610. #, no-wrap
  44611. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  44612. msgstr ""
  44613. #. type: deftypevr
  44614. #: guix-git/doc/guix.texi:29974
  44615. msgid "Flag toggling mDNS advertisement of the libvirt service."
  44616. msgstr ""
  44617. #. type: deftypevr
  44618. #: guix-git/doc/guix.texi:29977
  44619. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  44620. msgstr ""
  44621. #. type: deftypevr
  44622. #: guix-git/doc/guix.texi:29982
  44623. #, no-wrap
  44624. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  44625. msgstr ""
  44626. #. type: deftypevr
  44627. #: guix-git/doc/guix.texi:29985
  44628. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  44629. msgstr ""
  44630. #. type: deftypevr
  44631. #: guix-git/doc/guix.texi:29987
  44632. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  44633. msgstr ""
  44634. #. type: deftypevr
  44635. #: guix-git/doc/guix.texi:29990
  44636. #, no-wrap
  44637. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  44638. msgstr ""
  44639. #. type: deftypevr
  44640. #: guix-git/doc/guix.texi:29994
  44641. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  44642. msgstr ""
  44643. #. type: deftypevr
  44644. #: guix-git/doc/guix.texi:29999
  44645. #, no-wrap
  44646. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  44647. msgstr ""
  44648. #. type: deftypevr
  44649. #: guix-git/doc/guix.texi:30002
  44650. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  44651. msgstr ""
  44652. #. type: deftypevr
  44653. #: guix-git/doc/guix.texi:30004 guix-git/doc/guix.texi:30022
  44654. msgid "Defaults to @samp{\"0777\"}."
  44655. msgstr ""
  44656. #. type: deftypevr
  44657. #: guix-git/doc/guix.texi:30007
  44658. #, no-wrap
  44659. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  44660. msgstr ""
  44661. #. type: deftypevr
  44662. #: guix-git/doc/guix.texi:30011
  44663. 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)"
  44664. msgstr ""
  44665. #. type: deftypevr
  44666. #: guix-git/doc/guix.texi:30013
  44667. msgid "Defaults to @samp{\"0770\"}."
  44668. msgstr ""
  44669. #. type: deftypevr
  44670. #: guix-git/doc/guix.texi:30016
  44671. #, no-wrap
  44672. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  44673. msgstr ""
  44674. #. type: deftypevr
  44675. #: guix-git/doc/guix.texi:30020
  44676. 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."
  44677. msgstr ""
  44678. #. type: deftypevr
  44679. #: guix-git/doc/guix.texi:30025
  44680. #, no-wrap
  44681. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  44682. msgstr ""
  44683. #. type: deftypevr
  44684. #: guix-git/doc/guix.texi:30027
  44685. msgid "The directory in which sockets will be found/created."
  44686. msgstr ""
  44687. #. type: deftypevr
  44688. #: guix-git/doc/guix.texi:30029
  44689. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  44690. msgstr ""
  44691. #. type: deftypevr
  44692. #: guix-git/doc/guix.texi:30032
  44693. #, no-wrap
  44694. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  44695. msgstr ""
  44696. #. type: deftypevr
  44697. #: guix-git/doc/guix.texi:30035
  44698. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  44699. msgstr ""
  44700. #. type: deftypevr
  44701. #: guix-git/doc/guix.texi:30037 guix-git/doc/guix.texi:30046
  44702. msgid "Defaults to @samp{\"polkit\"}."
  44703. msgstr ""
  44704. #. type: deftypevr
  44705. #: guix-git/doc/guix.texi:30040
  44706. #, no-wrap
  44707. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  44708. msgstr ""
  44709. #. type: deftypevr
  44710. #: guix-git/doc/guix.texi:30044
  44711. 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."
  44712. msgstr ""
  44713. #. type: deftypevr
  44714. #: guix-git/doc/guix.texi:30049
  44715. #, no-wrap
  44716. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  44717. msgstr ""
  44718. #. type: deftypevr
  44719. #: guix-git/doc/guix.texi:30053
  44720. 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."
  44721. msgstr ""
  44722. #. type: deftypevr
  44723. #: guix-git/doc/guix.texi:30055
  44724. msgid "Defaults to @samp{\"sasl\"}."
  44725. msgstr ""
  44726. #. type: deftypevr
  44727. #: guix-git/doc/guix.texi:30058
  44728. #, no-wrap
  44729. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  44730. msgstr ""
  44731. #. type: deftypevr
  44732. #: guix-git/doc/guix.texi:30062
  44733. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  44734. msgstr ""
  44735. #. type: deftypevr
  44736. #: guix-git/doc/guix.texi:30065
  44737. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  44738. msgstr ""
  44739. #. type: deftypevr
  44740. #: guix-git/doc/guix.texi:30067
  44741. msgid "Defaults to @samp{\"none\"}."
  44742. msgstr ""
  44743. #. type: deftypevr
  44744. #: guix-git/doc/guix.texi:30070
  44745. #, no-wrap
  44746. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  44747. msgstr ""
  44748. #. type: deftypevr
  44749. #: guix-git/doc/guix.texi:30072
  44750. msgid "API access control scheme."
  44751. msgstr ""
  44752. #. type: deftypevr
  44753. #: guix-git/doc/guix.texi:30075
  44754. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  44755. msgstr ""
  44756. #. type: deftypevr
  44757. #: guix-git/doc/guix.texi:30080
  44758. #, no-wrap
  44759. msgid "{@code{libvirt-configuration} parameter} string key-file"
  44760. msgstr ""
  44761. #. type: deftypevr
  44762. #: guix-git/doc/guix.texi:30083
  44763. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  44764. msgstr ""
  44765. #. type: deftypevr
  44766. #: guix-git/doc/guix.texi:30088
  44767. #, no-wrap
  44768. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  44769. msgstr ""
  44770. #. type: deftypevr
  44771. #: guix-git/doc/guix.texi:30091
  44772. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  44773. msgstr ""
  44774. #. type: deftypevr
  44775. #: guix-git/doc/guix.texi:30096
  44776. #, no-wrap
  44777. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  44778. msgstr ""
  44779. #. type: deftypevr
  44780. #: guix-git/doc/guix.texi:30099
  44781. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  44782. msgstr ""
  44783. #. type: deftypevr
  44784. #: guix-git/doc/guix.texi:30104
  44785. #, no-wrap
  44786. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  44787. msgstr ""
  44788. #. type: deftypevr
  44789. #: guix-git/doc/guix.texi:30107
  44790. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  44791. msgstr ""
  44792. #. type: deftypevr
  44793. #: guix-git/doc/guix.texi:30112
  44794. #, no-wrap
  44795. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  44796. msgstr ""
  44797. #. type: deftypevr
  44798. #: guix-git/doc/guix.texi:30114
  44799. msgid "Disable verification of our own server certificates."
  44800. msgstr ""
  44801. #. type: deftypevr
  44802. #: guix-git/doc/guix.texi:30117
  44803. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  44804. msgstr ""
  44805. #. type: deftypevr
  44806. #: guix-git/doc/guix.texi:30122
  44807. #, no-wrap
  44808. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  44809. msgstr ""
  44810. #. type: deftypevr
  44811. #: guix-git/doc/guix.texi:30124
  44812. msgid "Disable verification of client certificates."
  44813. msgstr ""
  44814. #. type: deftypevr
  44815. #: guix-git/doc/guix.texi:30128
  44816. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  44817. msgstr ""
  44818. #. type: deftypevr
  44819. #: guix-git/doc/guix.texi:30133
  44820. #, no-wrap
  44821. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  44822. msgstr ""
  44823. #. type: deftypevr
  44824. #: guix-git/doc/guix.texi:30135
  44825. msgid "Whitelist of allowed x509 Distinguished Name."
  44826. msgstr ""
  44827. #. type: deftypevr
  44828. #: guix-git/doc/guix.texi:30140
  44829. #, no-wrap
  44830. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  44831. msgstr ""
  44832. #. type: deftypevr
  44833. #: guix-git/doc/guix.texi:30143
  44834. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  44835. msgstr ""
  44836. #. type: deftypevr
  44837. #: guix-git/doc/guix.texi:30148
  44838. #, no-wrap
  44839. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  44840. msgstr ""
  44841. #. type: deftypevr
  44842. #: guix-git/doc/guix.texi:30152
  44843. 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."
  44844. msgstr ""
  44845. #. type: deftypevr
  44846. #: guix-git/doc/guix.texi:30154
  44847. msgid "Defaults to @samp{\"NORMAL\"}."
  44848. msgstr ""
  44849. #. type: deftypevr
  44850. #: guix-git/doc/guix.texi:30157
  44851. #, no-wrap
  44852. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  44853. msgstr ""
  44854. #. type: deftypevr
  44855. #: guix-git/doc/guix.texi:30160 guix-git/doc/guix.texi:30584
  44856. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  44857. msgstr ""
  44858. #. type: deftypevr
  44859. #: guix-git/doc/guix.texi:30162
  44860. msgid "Defaults to @samp{5000}."
  44861. msgstr ""
  44862. #. type: deftypevr
  44863. #: guix-git/doc/guix.texi:30165
  44864. #, no-wrap
  44865. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  44866. msgstr ""
  44867. #. type: deftypevr
  44868. #: guix-git/doc/guix.texi:30169
  44869. 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."
  44870. msgstr ""
  44871. #. type: deftypevr
  44872. #: guix-git/doc/guix.texi:30174
  44873. #, no-wrap
  44874. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  44875. msgstr ""
  44876. #. type: deftypevr
  44877. #: guix-git/doc/guix.texi:30177
  44878. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  44879. msgstr ""
  44880. #. type: deftypevr
  44881. #: guix-git/doc/guix.texi:30179 guix-git/doc/guix.texi:30197
  44882. #: guix-git/doc/guix.texi:30213
  44883. msgid "Defaults to @samp{20}."
  44884. msgstr ""
  44885. #. type: deftypevr
  44886. #: guix-git/doc/guix.texi:30182
  44887. #, no-wrap
  44888. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  44889. msgstr ""
  44890. #. type: deftypevr
  44891. #: guix-git/doc/guix.texi:30184
  44892. msgid "Number of workers to start up initially."
  44893. msgstr ""
  44894. #. type: deftypevr
  44895. #: guix-git/doc/guix.texi:30189
  44896. #, no-wrap
  44897. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  44898. msgstr ""
  44899. #. type: deftypevr
  44900. #: guix-git/doc/guix.texi:30191
  44901. msgid "Maximum number of worker threads."
  44902. msgstr ""
  44903. #. type: deftypevr
  44904. #: guix-git/doc/guix.texi:30195
  44905. 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."
  44906. msgstr ""
  44907. #. type: deftypevr
  44908. #: guix-git/doc/guix.texi:30200
  44909. #, no-wrap
  44910. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  44911. msgstr ""
  44912. #. type: deftypevr
  44913. #: guix-git/doc/guix.texi:30204
  44914. 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."
  44915. msgstr ""
  44916. #. type: deftypevr
  44917. #: guix-git/doc/guix.texi:30209
  44918. #, no-wrap
  44919. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  44920. msgstr ""
  44921. #. type: deftypevr
  44922. #: guix-git/doc/guix.texi:30211
  44923. msgid "Total global limit on concurrent RPC calls."
  44924. msgstr ""
  44925. #. type: deftypevr
  44926. #: guix-git/doc/guix.texi:30216
  44927. #, no-wrap
  44928. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  44929. msgstr ""
  44930. #. type: deftypevr
  44931. #: guix-git/doc/guix.texi:30220
  44932. 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."
  44933. msgstr ""
  44934. #. type: deftypevr
  44935. #: guix-git/doc/guix.texi:30225
  44936. #, no-wrap
  44937. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  44938. msgstr ""
  44939. #. type: deftypevr
  44940. #: guix-git/doc/guix.texi:30227
  44941. msgid "Same as @code{min-workers} but for the admin interface."
  44942. msgstr ""
  44943. #. type: deftypevr
  44944. #: guix-git/doc/guix.texi:30232
  44945. #, no-wrap
  44946. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  44947. msgstr ""
  44948. #. type: deftypevr
  44949. #: guix-git/doc/guix.texi:30234
  44950. msgid "Same as @code{max-workers} but for the admin interface."
  44951. msgstr ""
  44952. #. type: deftypevr
  44953. #: guix-git/doc/guix.texi:30239
  44954. #, no-wrap
  44955. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  44956. msgstr ""
  44957. #. type: deftypevr
  44958. #: guix-git/doc/guix.texi:30241
  44959. msgid "Same as @code{max-clients} but for the admin interface."
  44960. msgstr ""
  44961. #. type: deftypevr
  44962. #: guix-git/doc/guix.texi:30246
  44963. #, no-wrap
  44964. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  44965. msgstr ""
  44966. #. type: deftypevr
  44967. #: guix-git/doc/guix.texi:30248
  44968. msgid "Same as @code{max-queued-clients} but for the admin interface."
  44969. msgstr ""
  44970. #. type: deftypevr
  44971. #: guix-git/doc/guix.texi:30253
  44972. #, no-wrap
  44973. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  44974. msgstr ""
  44975. #. type: deftypevr
  44976. #: guix-git/doc/guix.texi:30255
  44977. msgid "Same as @code{max-client-requests} but for the admin interface."
  44978. msgstr ""
  44979. #. type: deftypevr
  44980. #: guix-git/doc/guix.texi:30260
  44981. #, no-wrap
  44982. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  44983. msgstr ""
  44984. #. type: deftypevr
  44985. #: guix-git/doc/guix.texi:30262 guix-git/doc/guix.texi:30486
  44986. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  44987. msgstr ""
  44988. #. type: deftypevr
  44989. #: guix-git/doc/guix.texi:30267
  44990. #, no-wrap
  44991. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  44992. msgstr ""
  44993. #. type: deftypevr
  44994. #: guix-git/doc/guix.texi:30269 guix-git/doc/guix.texi:30493
  44995. msgid "Logging filters."
  44996. msgstr ""
  44997. #. type: deftypevr
  44998. #: guix-git/doc/guix.texi:30272
  44999. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  45000. msgstr ""
  45001. #. type: itemize
  45002. #: guix-git/doc/guix.texi:30276 guix-git/doc/guix.texi:30500
  45003. msgid "x:name"
  45004. msgstr ""
  45005. #. type: itemize
  45006. #: guix-git/doc/guix.texi:30279 guix-git/doc/guix.texi:30503
  45007. msgid "x:+name"
  45008. msgstr ""
  45009. #. type: deftypevr
  45010. #: guix-git/doc/guix.texi:30290
  45011. 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:"
  45012. msgstr ""
  45013. #. type: itemize
  45014. #: guix-git/doc/guix.texi:30294 guix-git/doc/guix.texi:30339
  45015. #: guix-git/doc/guix.texi:30517 guix-git/doc/guix.texi:30562
  45016. msgid "1: DEBUG"
  45017. msgstr ""
  45018. #. type: itemize
  45019. #: guix-git/doc/guix.texi:30297 guix-git/doc/guix.texi:30342
  45020. #: guix-git/doc/guix.texi:30520 guix-git/doc/guix.texi:30565
  45021. msgid "2: INFO"
  45022. msgstr ""
  45023. #. type: itemize
  45024. #: guix-git/doc/guix.texi:30300 guix-git/doc/guix.texi:30345
  45025. #: guix-git/doc/guix.texi:30523 guix-git/doc/guix.texi:30568
  45026. msgid "3: WARNING"
  45027. msgstr ""
  45028. #. type: itemize
  45029. #: guix-git/doc/guix.texi:30303 guix-git/doc/guix.texi:30348
  45030. #: guix-git/doc/guix.texi:30526 guix-git/doc/guix.texi:30571
  45031. msgid "4: ERROR"
  45032. msgstr ""
  45033. #. type: deftypevr
  45034. #: guix-git/doc/guix.texi:30308 guix-git/doc/guix.texi:30531
  45035. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  45036. msgstr ""
  45037. #. type: deftypevr
  45038. #: guix-git/doc/guix.texi:30310 guix-git/doc/guix.texi:30533
  45039. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  45040. msgstr ""
  45041. #. type: deftypevr
  45042. #: guix-git/doc/guix.texi:30313
  45043. #, no-wrap
  45044. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  45045. msgstr ""
  45046. #. type: deftypevr
  45047. #: guix-git/doc/guix.texi:30315 guix-git/doc/guix.texi:30538
  45048. msgid "Logging outputs."
  45049. msgstr ""
  45050. #. type: deftypevr
  45051. #: guix-git/doc/guix.texi:30318
  45052. msgid "An output is one of the places to save logging information. The format for an output can be:"
  45053. msgstr ""
  45054. #. type: item
  45055. #: guix-git/doc/guix.texi:30320 guix-git/doc/guix.texi:30543
  45056. #, no-wrap
  45057. msgid "x:stderr"
  45058. msgstr ""
  45059. #. type: table
  45060. #: guix-git/doc/guix.texi:30322 guix-git/doc/guix.texi:30545
  45061. msgid "output goes to stderr"
  45062. msgstr ""
  45063. #. type: item
  45064. #: guix-git/doc/guix.texi:30323 guix-git/doc/guix.texi:30546
  45065. #, no-wrap
  45066. msgid "x:syslog:name"
  45067. msgstr ""
  45068. #. type: table
  45069. #: guix-git/doc/guix.texi:30325 guix-git/doc/guix.texi:30548
  45070. msgid "use syslog for the output and use the given name as the ident"
  45071. msgstr ""
  45072. #. type: item
  45073. #: guix-git/doc/guix.texi:30326 guix-git/doc/guix.texi:30549
  45074. #, no-wrap
  45075. msgid "x:file:file_path"
  45076. msgstr ""
  45077. #. type: table
  45078. #: guix-git/doc/guix.texi:30328 guix-git/doc/guix.texi:30551
  45079. msgid "output to a file, with the given filepath"
  45080. msgstr ""
  45081. #. type: item
  45082. #: guix-git/doc/guix.texi:30329 guix-git/doc/guix.texi:30552
  45083. #, no-wrap
  45084. msgid "x:journald"
  45085. msgstr ""
  45086. #. type: table
  45087. #: guix-git/doc/guix.texi:30331 guix-git/doc/guix.texi:30554
  45088. msgid "output to journald logging system"
  45089. msgstr ""
  45090. #. type: deftypevr
  45091. #: guix-git/doc/guix.texi:30335 guix-git/doc/guix.texi:30558
  45092. msgid "In all case the x prefix is the minimal level, acting as a filter"
  45093. msgstr ""
  45094. #. type: deftypevr
  45095. #: guix-git/doc/guix.texi:30353 guix-git/doc/guix.texi:30576
  45096. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  45097. msgstr ""
  45098. #. type: deftypevr
  45099. #: guix-git/doc/guix.texi:30355 guix-git/doc/guix.texi:30578
  45100. msgid "Defaults to @samp{\"3:stderr\"}."
  45101. msgstr ""
  45102. #. type: deftypevr
  45103. #: guix-git/doc/guix.texi:30358
  45104. #, no-wrap
  45105. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  45106. msgstr ""
  45107. #. type: deftypevr
  45108. #: guix-git/doc/guix.texi:30360
  45109. msgid "Allows usage of the auditing subsystem to be altered"
  45110. msgstr ""
  45111. #. type: itemize
  45112. #: guix-git/doc/guix.texi:30364
  45113. msgid "0: disable all auditing"
  45114. msgstr ""
  45115. #. type: itemize
  45116. #: guix-git/doc/guix.texi:30367
  45117. msgid "1: enable auditing, only if enabled on host"
  45118. msgstr ""
  45119. #. type: itemize
  45120. #: guix-git/doc/guix.texi:30370
  45121. msgid "2: enable auditing, and exit if disabled on host."
  45122. msgstr ""
  45123. #. type: deftypevr
  45124. #: guix-git/doc/guix.texi:30377
  45125. #, no-wrap
  45126. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  45127. msgstr ""
  45128. #. type: deftypevr
  45129. #: guix-git/doc/guix.texi:30379
  45130. msgid "Send audit messages via libvirt logging infrastructure."
  45131. msgstr ""
  45132. #. type: deftypevr
  45133. #: guix-git/doc/guix.texi:30384
  45134. #, no-wrap
  45135. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  45136. msgstr ""
  45137. #. type: deftypevr
  45138. #: guix-git/doc/guix.texi:30386
  45139. msgid "Host UUID@. UUID must not have all digits be the same."
  45140. msgstr ""
  45141. #. type: deftypevr
  45142. #: guix-git/doc/guix.texi:30391
  45143. #, no-wrap
  45144. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  45145. msgstr ""
  45146. #. type: deftypevr
  45147. #: guix-git/doc/guix.texi:30393
  45148. msgid "Source to read host UUID."
  45149. msgstr ""
  45150. #. type: itemize
  45151. #: guix-git/doc/guix.texi:30397
  45152. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  45153. msgstr ""
  45154. #. type: itemize
  45155. #: guix-git/doc/guix.texi:30400
  45156. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  45157. msgstr ""
  45158. #. type: deftypevr
  45159. #: guix-git/doc/guix.texi:30405
  45160. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  45161. msgstr ""
  45162. #. type: deftypevr
  45163. #: guix-git/doc/guix.texi:30407
  45164. msgid "Defaults to @samp{\"smbios\"}."
  45165. msgstr ""
  45166. #. type: deftypevr
  45167. #: guix-git/doc/guix.texi:30410
  45168. #, no-wrap
  45169. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  45170. msgstr ""
  45171. #. type: deftypevr
  45172. #: guix-git/doc/guix.texi:30415
  45173. 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."
  45174. msgstr ""
  45175. #. type: deftypevr
  45176. #: guix-git/doc/guix.texi:30420
  45177. #, no-wrap
  45178. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  45179. msgstr ""
  45180. #. type: deftypevr
  45181. #: guix-git/doc/guix.texi:30424
  45182. 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."
  45183. msgstr ""
  45184. #. type: deftypevr
  45185. #: guix-git/doc/guix.texi:30431
  45186. 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."
  45187. msgstr ""
  45188. #. type: deftypevr
  45189. #: guix-git/doc/guix.texi:30436
  45190. #, no-wrap
  45191. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  45192. msgstr ""
  45193. #. type: deftypevr
  45194. #: guix-git/doc/guix.texi:30438 guix-git/doc/guix.texi:30445
  45195. msgid "Same as above but for admin interface."
  45196. msgstr ""
  45197. #. type: deftypevr
  45198. #: guix-git/doc/guix.texi:30443
  45199. #, no-wrap
  45200. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  45201. msgstr ""
  45202. #. type: deftypevr
  45203. #: guix-git/doc/guix.texi:30450
  45204. #, no-wrap
  45205. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  45206. msgstr ""
  45207. #. type: deftypevr
  45208. #: guix-git/doc/guix.texi:30452
  45209. msgid "Timeout for Open vSwitch calls."
  45210. msgstr ""
  45211. #. type: deftypevr
  45212. #: guix-git/doc/guix.texi:30456
  45213. 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."
  45214. msgstr ""
  45215. #. type: subsubheading
  45216. #: guix-git/doc/guix.texi:30463
  45217. #, no-wrap
  45218. msgid "Virtlog daemon"
  45219. msgstr ""
  45220. #. type: Plain text
  45221. #: guix-git/doc/guix.texi:30466
  45222. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  45223. msgstr ""
  45224. #. type: Plain text
  45225. #: guix-git/doc/guix.texi:30472
  45226. 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."
  45227. msgstr ""
  45228. #. type: deffn
  45229. #: guix-git/doc/guix.texi:30473
  45230. #, no-wrap
  45231. msgid "{Scheme Variable} virtlog-service-type"
  45232. msgstr ""
  45233. #. type: deffn
  45234. #: guix-git/doc/guix.texi:30476
  45235. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  45236. msgstr ""
  45237. #. type: lisp
  45238. #: guix-git/doc/guix.texi:30481
  45239. #, no-wrap
  45240. msgid ""
  45241. "(service virtlog-service-type\n"
  45242. " (virtlog-configuration\n"
  45243. " (max-clients 1000)))\n"
  45244. msgstr ""
  45245. #. type: deftypevr
  45246. #: guix-git/doc/guix.texi:30484
  45247. #, no-wrap
  45248. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  45249. msgstr ""
  45250. #. type: deftypevr
  45251. #: guix-git/doc/guix.texi:30491
  45252. #, no-wrap
  45253. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  45254. msgstr ""
  45255. #. type: deftypevr
  45256. #: guix-git/doc/guix.texi:30496
  45257. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  45258. msgstr ""
  45259. #. type: deftypevr
  45260. #: guix-git/doc/guix.texi:30513
  45261. 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:"
  45262. msgstr ""
  45263. #. type: deftypevr
  45264. #: guix-git/doc/guix.texi:30536
  45265. #, no-wrap
  45266. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  45267. msgstr ""
  45268. #. type: deftypevr
  45269. #: guix-git/doc/guix.texi:30541
  45270. msgid "An output is one of the places to save logging information The format for an output can be:"
  45271. msgstr ""
  45272. #. type: deftypevr
  45273. #: guix-git/doc/guix.texi:30581
  45274. #, no-wrap
  45275. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  45276. msgstr ""
  45277. #. type: deftypevr
  45278. #: guix-git/doc/guix.texi:30586
  45279. msgid "Defaults to @samp{1024}."
  45280. msgstr ""
  45281. #. type: deftypevr
  45282. #: guix-git/doc/guix.texi:30589
  45283. #, no-wrap
  45284. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  45285. msgstr ""
  45286. #. type: deftypevr
  45287. #: guix-git/doc/guix.texi:30591
  45288. msgid "Maximum file size before rolling over."
  45289. msgstr ""
  45290. #. type: deftypevr
  45291. #: guix-git/doc/guix.texi:30593
  45292. msgid "Defaults to @samp{2MB}"
  45293. msgstr ""
  45294. #. type: deftypevr
  45295. #: guix-git/doc/guix.texi:30596
  45296. #, no-wrap
  45297. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  45298. msgstr ""
  45299. #. type: deftypevr
  45300. #: guix-git/doc/guix.texi:30598
  45301. msgid "Maximum number of backup files to keep."
  45302. msgstr ""
  45303. #. type: deftypevr
  45304. #: guix-git/doc/guix.texi:30600
  45305. msgid "Defaults to @samp{3}"
  45306. msgstr ""
  45307. #. type: anchor{#1}
  45308. #: guix-git/doc/guix.texi:30604
  45309. msgid "transparent-emulation-qemu"
  45310. msgstr ""
  45311. #. type: subsubheading
  45312. #: guix-git/doc/guix.texi:30604
  45313. #, no-wrap
  45314. msgid "Transparent Emulation with QEMU"
  45315. msgstr ""
  45316. #. type: cindex
  45317. #: guix-git/doc/guix.texi:30606 guix-git/doc/guix.texi:30686
  45318. #, no-wrap
  45319. msgid "emulation"
  45320. msgstr ""
  45321. #. type: code{#1}
  45322. #: guix-git/doc/guix.texi:30607
  45323. #, no-wrap
  45324. msgid "binfmt_misc"
  45325. msgstr ""
  45326. #. type: Plain text
  45327. #: guix-git/doc/guix.texi:30615
  45328. 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."
  45329. msgstr ""
  45330. #. type: defvr
  45331. #: guix-git/doc/guix.texi:30616
  45332. #, no-wrap
  45333. msgid "{Scheme Variable} qemu-binfmt-service-type"
  45334. msgstr ""
  45335. #. type: defvr
  45336. #: guix-git/doc/guix.texi:30621
  45337. 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:"
  45338. msgstr ""
  45339. #. type: lisp
  45340. #: guix-git/doc/guix.texi:30626
  45341. #, no-wrap
  45342. msgid ""
  45343. "(service qemu-binfmt-service-type\n"
  45344. " (qemu-binfmt-configuration\n"
  45345. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  45346. msgstr ""
  45347. #. type: defvr
  45348. #: guix-git/doc/guix.texi:30632
  45349. 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})."
  45350. msgstr ""
  45351. #. type: deftp
  45352. #: guix-git/doc/guix.texi:30634
  45353. #, no-wrap
  45354. msgid "{Data Type} qemu-binfmt-configuration"
  45355. msgstr ""
  45356. #. type: deftp
  45357. #: guix-git/doc/guix.texi:30636
  45358. msgid "This is the configuration for the @code{qemu-binfmt} service."
  45359. msgstr ""
  45360. #. type: item
  45361. #: guix-git/doc/guix.texi:30638
  45362. #, no-wrap
  45363. msgid "@code{platforms} (default: @code{'()})"
  45364. msgstr ""
  45365. #. type: table
  45366. #: guix-git/doc/guix.texi:30641
  45367. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  45368. msgstr ""
  45369. #. type: table
  45370. #: guix-git/doc/guix.texi:30644
  45371. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  45372. msgstr ""
  45373. #. type: lisp
  45374. #: guix-git/doc/guix.texi:30649
  45375. #, no-wrap
  45376. msgid ""
  45377. "(service qemu-binfmt-service-type\n"
  45378. " (qemu-binfmt-configuration\n"
  45379. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  45380. msgstr ""
  45381. #. type: table
  45382. #: guix-git/doc/guix.texi:30652
  45383. msgid "You can run:"
  45384. msgstr ""
  45385. #. type: example
  45386. #: guix-git/doc/guix.texi:30655
  45387. #, no-wrap
  45388. msgid "guix build -s armhf-linux inkscape\n"
  45389. msgstr ""
  45390. #. type: table
  45391. #: guix-git/doc/guix.texi:30662
  45392. 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!"
  45393. msgstr ""
  45394. #. type: item
  45395. #: guix-git/doc/guix.texi:30663
  45396. #, no-wrap
  45397. msgid "@code{qemu} (default: @code{qemu})"
  45398. msgstr ""
  45399. #. type: table
  45400. #: guix-git/doc/guix.texi:30665 guix-git/doc/guix.texi:30723
  45401. #: guix-git/doc/guix.texi:30805
  45402. msgid "The QEMU package to use."
  45403. msgstr ""
  45404. #. type: deffn
  45405. #: guix-git/doc/guix.texi:30668
  45406. #, no-wrap
  45407. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  45408. msgstr ""
  45409. #. type: deffn
  45410. #: guix-git/doc/guix.texi:30673
  45411. 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."
  45412. msgstr ""
  45413. #. type: deffn
  45414. #: guix-git/doc/guix.texi:30675
  45415. #, no-wrap
  45416. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  45417. msgstr ""
  45418. #. type: deffn
  45419. #: guix-git/doc/guix.texi:30677
  45420. msgid "Return true if @var{obj} is a platform object."
  45421. msgstr ""
  45422. #. type: deffn
  45423. #: guix-git/doc/guix.texi:30679
  45424. #, no-wrap
  45425. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  45426. msgstr ""
  45427. #. type: deffn
  45428. #: guix-git/doc/guix.texi:30681
  45429. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  45430. msgstr ""
  45431. #. type: subsubheading
  45432. #: guix-git/doc/guix.texi:30684
  45433. #, no-wrap
  45434. msgid "QEMU Guest Agent"
  45435. msgstr ""
  45436. #. type: Plain text
  45437. #: guix-git/doc/guix.texi:30692
  45438. msgid "The QEMU guest agent provides control over the emulated system to the host. The @code{qemu-guest-agent} service runs the agent on Guix guests. To control the agent from the host, open a socket by invoking QEMU with the following arguments:"
  45439. msgstr ""
  45440. #. type: example
  45441. #: guix-git/doc/guix.texi:30699
  45442. #, no-wrap
  45443. msgid ""
  45444. "qemu-system-x86_64 \\\n"
  45445. "\t-chardev socket,path=/tmp/qga.sock,server=on,wait=off,id=qga0 \\\n"
  45446. "\t-device virtio-serial \\\n"
  45447. "\t-device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 \\\n"
  45448. "\t...\n"
  45449. msgstr ""
  45450. #. type: Plain text
  45451. #: guix-git/doc/guix.texi:30703
  45452. msgid "This creates a socket at @file{/tmp/qga.sock} on the host. Once the guest agent is running, you can issue commands with @code{socat}:"
  45453. msgstr ""
  45454. #. type: example
  45455. #: guix-git/doc/guix.texi:30708
  45456. #, no-wrap
  45457. msgid ""
  45458. "$ guix shell socat -- socat unix-connect:/tmp/qga.sock stdio\n"
  45459. "@{\"execute\": \"guest-get-host-name\"@}\n"
  45460. "@{\"return\": @{\"host-name\": \"guix\"@}@}\n"
  45461. msgstr ""
  45462. #. type: Plain text
  45463. #: guix-git/doc/guix.texi:30712
  45464. msgid "See @url{https://wiki.qemu.org/Features/GuestAgent,QEMU guest agent documentation} for more options and commands."
  45465. msgstr ""
  45466. #. type: defvr
  45467. #: guix-git/doc/guix.texi:30713
  45468. #, no-wrap
  45469. msgid "{Scheme Variable} qemu-guest-agent-service-type"
  45470. msgstr ""
  45471. #. type: defvr
  45472. #: guix-git/doc/guix.texi:30715
  45473. msgid "Service type for the QEMU guest agent service."
  45474. msgstr ""
  45475. #. type: deftp
  45476. #: guix-git/doc/guix.texi:30717
  45477. #, no-wrap
  45478. msgid "{Data Type} qemu-guest-agent-configuration"
  45479. msgstr ""
  45480. #. type: deftp
  45481. #: guix-git/doc/guix.texi:30719
  45482. msgid "Configuration for the @code{qemu-guest-agent} service."
  45483. msgstr ""
  45484. #. type: item
  45485. #: guix-git/doc/guix.texi:30721 guix-git/doc/guix.texi:30803
  45486. #, no-wrap
  45487. msgid "@code{qemu} (default: @code{qemu-minimal})"
  45488. msgstr ""
  45489. #. type: item
  45490. #: guix-git/doc/guix.texi:30724
  45491. #, no-wrap
  45492. msgid "@code{device} (default: @code{\"\"})"
  45493. msgstr ""
  45494. #. type: table
  45495. #: guix-git/doc/guix.texi:30727
  45496. msgid "File name of the device or socket the agent uses to communicate with the host. If empty, QEMU uses a default file name."
  45497. msgstr ""
  45498. #. type: subsubheading
  45499. #: guix-git/doc/guix.texi:30731
  45500. #, no-wrap
  45501. msgid "The Hurd in a Virtual Machine"
  45502. msgstr ""
  45503. #. type: cindex
  45504. #: guix-git/doc/guix.texi:30734
  45505. #, no-wrap
  45506. msgid "the Hurd"
  45507. msgstr ""
  45508. #. type: cindex
  45509. #: guix-git/doc/guix.texi:30735
  45510. #, no-wrap
  45511. msgid "childhurd"
  45512. msgstr ""
  45513. #. type: Plain text
  45514. #: guix-git/doc/guix.texi:30743
  45515. 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:"
  45516. msgstr ""
  45517. #. type: example
  45518. #: guix-git/doc/guix.texi:30747
  45519. #, no-wrap
  45520. msgid ""
  45521. "herd start hurd-vm\n"
  45522. "herd stop childhurd\n"
  45523. msgstr ""
  45524. #. type: Plain text
  45525. #: guix-git/doc/guix.texi:30751
  45526. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  45527. msgstr ""
  45528. #. type: example
  45529. #: guix-git/doc/guix.texi:30754
  45530. #, no-wrap
  45531. msgid "guix shell tigervnc-client -- vncviewer localhost:5900\n"
  45532. msgstr ""
  45533. #. type: Plain text
  45534. #: guix-git/doc/guix.texi:30760
  45535. 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:"
  45536. msgstr ""
  45537. #. type: example
  45538. #: guix-git/doc/guix.texi:30763
  45539. #, no-wrap
  45540. msgid "ssh root@@localhost -p 10022\n"
  45541. msgstr ""
  45542. #. type: Plain text
  45543. #: guix-git/doc/guix.texi:30772
  45544. 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."
  45545. msgstr ""
  45546. #. type: defvr
  45547. #: guix-git/doc/guix.texi:30773
  45548. #, no-wrap
  45549. msgid "{Scheme Variable} hurd-vm-service-type"
  45550. msgstr ""
  45551. #. type: defvr
  45552. #: guix-git/doc/guix.texi:30779
  45553. 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."
  45554. msgstr ""
  45555. #. type: defvr
  45556. #: guix-git/doc/guix.texi:30781
  45557. msgid "For example:"
  45558. msgstr ""
  45559. #. type: lisp
  45560. #: guix-git/doc/guix.texi:30787
  45561. #, no-wrap
  45562. msgid ""
  45563. "(service hurd-vm-service-type\n"
  45564. " (hurd-vm-configuration\n"
  45565. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  45566. " (memory-size 1024))) ;1024MiB\n"
  45567. msgstr ""
  45568. #. type: defvr
  45569. #: guix-git/doc/guix.texi:30791
  45570. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  45571. msgstr ""
  45572. #. type: deftp
  45573. #: guix-git/doc/guix.texi:30793
  45574. #, no-wrap
  45575. msgid "{Data Type} hurd-vm-configuration"
  45576. msgstr ""
  45577. #. type: deftp
  45578. #: guix-git/doc/guix.texi:30796
  45579. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  45580. msgstr ""
  45581. #. type: item
  45582. #: guix-git/doc/guix.texi:30798
  45583. #, no-wrap
  45584. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  45585. msgstr ""
  45586. #. type: table
  45587. #: guix-git/doc/guix.texi:30802
  45588. 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}})."
  45589. msgstr ""
  45590. #. type: item
  45591. #: guix-git/doc/guix.texi:30806
  45592. #, no-wrap
  45593. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  45594. msgstr ""
  45595. #. type: table
  45596. #: guix-git/doc/guix.texi:30809
  45597. msgid "The procedure used to build the disk-image built from this configuration."
  45598. msgstr ""
  45599. #. type: item
  45600. #: guix-git/doc/guix.texi:30810
  45601. #, no-wrap
  45602. msgid "@code{disk-size} (default: @code{'guess})"
  45603. msgstr ""
  45604. #. type: table
  45605. #: guix-git/doc/guix.texi:30812
  45606. msgid "The size of the disk image."
  45607. msgstr ""
  45608. #. type: item
  45609. #: guix-git/doc/guix.texi:30813
  45610. #, no-wrap
  45611. msgid "@code{memory-size} (default: @code{512})"
  45612. msgstr ""
  45613. #. type: table
  45614. #: guix-git/doc/guix.texi:30815
  45615. msgid "The memory size of the Virtual Machine in mebibytes."
  45616. msgstr ""
  45617. #. type: item
  45618. #: guix-git/doc/guix.texi:30816
  45619. #, no-wrap
  45620. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  45621. msgstr ""
  45622. #. type: table
  45623. #: guix-git/doc/guix.texi:30818
  45624. msgid "The extra options for running QEMU."
  45625. msgstr ""
  45626. #. type: table
  45627. #: guix-git/doc/guix.texi:30823
  45628. 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}."
  45629. msgstr ""
  45630. #. type: item
  45631. #: guix-git/doc/guix.texi:30824
  45632. #, no-wrap
  45633. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  45634. msgstr ""
  45635. #. type: table
  45636. #: guix-git/doc/guix.texi:30826
  45637. msgid "The procedure used to produce the list of QEMU networking options."
  45638. msgstr ""
  45639. #. type: table
  45640. #: guix-git/doc/guix.texi:30828
  45641. msgid "By default, it produces"
  45642. msgstr ""
  45643. #. type: lisp
  45644. #: guix-git/doc/guix.texi:30836
  45645. #, no-wrap
  45646. msgid ""
  45647. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  45648. " \"--netdev\" (string-append\n"
  45649. " \"user,id=net0,\"\n"
  45650. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  45651. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  45652. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  45653. msgstr ""
  45654. #. type: table
  45655. #: guix-git/doc/guix.texi:30839
  45656. msgid "with forwarded ports:"
  45657. msgstr ""
  45658. #. type: example
  45659. #: guix-git/doc/guix.texi:30844
  45660. #, no-wrap
  45661. msgid ""
  45662. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  45663. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  45664. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  45665. msgstr ""
  45666. #. type: item
  45667. #: guix-git/doc/guix.texi:30846
  45668. #, no-wrap
  45669. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  45670. msgstr ""
  45671. #. type: table
  45672. #: guix-git/doc/guix.texi:30851
  45673. 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."
  45674. msgstr ""
  45675. #. type: table
  45676. #: guix-git/doc/guix.texi:30855
  45677. 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."
  45678. msgstr ""
  45679. #. type: table
  45680. #: guix-git/doc/guix.texi:30858
  45681. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  45682. msgstr ""
  45683. #. type: example
  45684. #: guix-git/doc/guix.texi:30867
  45685. #, no-wrap
  45686. msgid ""
  45687. "/etc/childhurd/etc/guix/acl\n"
  45688. "/etc/childhurd/etc/guix/signing-key.pub\n"
  45689. "/etc/childhurd/etc/guix/signing-key.sec\n"
  45690. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  45691. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  45692. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  45693. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  45694. msgstr ""
  45695. #. type: table
  45696. #: guix-git/doc/guix.texi:30871
  45697. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  45698. msgstr ""
  45699. #. type: cindex
  45700. #: guix-git/doc/guix.texi:30872
  45701. #, no-wrap
  45702. msgid "childhurd, offloading"
  45703. msgstr ""
  45704. #. type: cindex
  45705. #: guix-git/doc/guix.texi:30873
  45706. #, no-wrap
  45707. msgid "Hurd, offloading"
  45708. msgstr ""
  45709. #. type: table
  45710. #: guix-git/doc/guix.texi:30877
  45711. 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:"
  45712. msgstr ""
  45713. #. type: enumerate
  45714. #: guix-git/doc/guix.texi:30882
  45715. 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:"
  45716. msgstr ""
  45717. #. type: example
  45718. #: guix-git/doc/guix.texi:30886
  45719. #, no-wrap
  45720. msgid ""
  45721. "guix archive --authorize < \\\n"
  45722. " /etc/childhurd/etc/guix/signing-key.pub\n"
  45723. msgstr ""
  45724. #. type: enumerate
  45725. #: guix-git/doc/guix.texi:30891
  45726. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  45727. msgstr ""
  45728. #. type: table
  45729. #: guix-git/doc/guix.texi:30895
  45730. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  45731. msgstr ""
  45732. #. type: Plain text
  45733. #: guix-git/doc/guix.texi:30902
  45734. 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:"
  45735. msgstr ""
  45736. #. type: lisp
  45737. #: guix-git/doc/guix.texi:30908
  45738. #, no-wrap
  45739. msgid ""
  45740. "(service hurd-vm-service-type\n"
  45741. " (hurd-vm-configuration\n"
  45742. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  45743. " (options '())))\n"
  45744. msgstr ""
  45745. #. type: subsubheading
  45746. #: guix-git/doc/guix.texi:30910
  45747. #, no-wrap
  45748. msgid "Ganeti"
  45749. msgstr ""
  45750. #. type: cindex
  45751. #: guix-git/doc/guix.texi:30912
  45752. #, no-wrap
  45753. msgid "ganeti"
  45754. msgstr ""
  45755. #. type: quotation
  45756. #: guix-git/doc/guix.texi:30919
  45757. 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}."
  45758. msgstr ""
  45759. #. type: Plain text
  45760. #: guix-git/doc/guix.texi:30929
  45761. 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)."
  45762. msgstr ""
  45763. #. type: Plain text
  45764. #: guix-git/doc/guix.texi:30934
  45765. 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}:"
  45766. msgstr ""
  45767. #. type: lisp
  45768. #: guix-git/doc/guix.texi:30944
  45769. #, no-wrap
  45770. msgid ""
  45771. "(use-package-modules virtualization)\n"
  45772. "(use-service-modules base ganeti networking ssh)\n"
  45773. "(operating-system\n"
  45774. " ;; @dots{}\n"
  45775. " (host-name \"node1\")\n"
  45776. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  45777. "127.0.0.1 localhost\n"
  45778. "::1 localhost\n"
  45779. "\n"
  45780. msgstr ""
  45781. #. type: lisp
  45782. #: guix-git/doc/guix.texi:30949
  45783. #, no-wrap
  45784. msgid ""
  45785. "192.168.1.200 ganeti.example.com\n"
  45786. "192.168.1.201 node1.example.com node1\n"
  45787. "192.168.1.202 node2.example.com node2\n"
  45788. "\")))\n"
  45789. "\n"
  45790. msgstr ""
  45791. #. type: lisp
  45792. #: guix-git/doc/guix.texi:30970
  45793. #, no-wrap
  45794. msgid ""
  45795. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  45796. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  45797. " (packages (append (map specification->package\n"
  45798. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  45799. " ;; Add the debootstrap and guix OS providers.\n"
  45800. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  45801. " %base-packages))\n"
  45802. " (services\n"
  45803. " (append (list (service static-networking-service-type\n"
  45804. " (list (static-networking\n"
  45805. " (addresses\n"
  45806. " (list (network-address\n"
  45807. " (device \"eth0\")\n"
  45808. " (value \"192.168.1.201/24\"))))\n"
  45809. " (routes\n"
  45810. " (list (network-route\n"
  45811. " (destination \"default\")\n"
  45812. " (gateway \"192.168.1.254\"))))\n"
  45813. " (name-servers '(\"192.168.1.252\"\n"
  45814. " \"192.168.1.253\")))))\n"
  45815. "\n"
  45816. msgstr ""
  45817. #. type: lisp
  45818. #: guix-git/doc/guix.texi:30975
  45819. #, no-wrap
  45820. msgid ""
  45821. " ;; Ganeti uses SSH to communicate between nodes.\n"
  45822. " (service openssh-service-type\n"
  45823. " (openssh-configuration\n"
  45824. " (permit-root-login 'prohibit-password)))\n"
  45825. "\n"
  45826. msgstr ""
  45827. #. type: lisp
  45828. #: guix-git/doc/guix.texi:30985
  45829. #, no-wrap
  45830. msgid ""
  45831. " (service ganeti-service-type\n"
  45832. " (ganeti-configuration\n"
  45833. " ;; This list specifies allowed file system paths\n"
  45834. " ;; for storing virtual machine images.\n"
  45835. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  45836. " ;; This variable configures a single \"variant\" for\n"
  45837. " ;; both Debootstrap and Guix that works with KVM.\n"
  45838. " (os %default-ganeti-os))))\n"
  45839. " %base-services)))\n"
  45840. msgstr ""
  45841. #. type: Plain text
  45842. #: guix-git/doc/guix.texi:30993
  45843. 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."
  45844. msgstr ""
  45845. #. type: defvr
  45846. #: guix-git/doc/guix.texi:30994
  45847. #, no-wrap
  45848. msgid "{Scheme Variable} ganeti-service-type"
  45849. msgstr ""
  45850. #. type: defvr
  45851. #: guix-git/doc/guix.texi:30997
  45852. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  45853. msgstr ""
  45854. #. type: defvr
  45855. #: guix-git/doc/guix.texi:31002
  45856. 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."
  45857. msgstr ""
  45858. #. type: deftp
  45859. #: guix-git/doc/guix.texi:31004
  45860. #, no-wrap
  45861. msgid "{Data Type} ganeti-configuration"
  45862. msgstr ""
  45863. #. type: deftp
  45864. #: guix-git/doc/guix.texi:31006
  45865. msgid "The @code{ganeti} service takes the following configuration options:"
  45866. msgstr ""
  45867. #. type: item
  45868. #: guix-git/doc/guix.texi:31008 guix-git/doc/guix.texi:31236
  45869. #: guix-git/doc/guix.texi:31286 guix-git/doc/guix.texi:31316
  45870. #: guix-git/doc/guix.texi:31343 guix-git/doc/guix.texi:31375
  45871. #: guix-git/doc/guix.texi:31428 guix-git/doc/guix.texi:31448
  45872. #: guix-git/doc/guix.texi:31474 guix-git/doc/guix.texi:31507
  45873. #: guix-git/doc/guix.texi:31547
  45874. #, no-wrap
  45875. msgid "@code{ganeti} (default: @code{ganeti})"
  45876. msgstr ""
  45877. #. type: table
  45878. #: guix-git/doc/guix.texi:31013
  45879. 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)."
  45880. msgstr ""
  45881. #. type: item
  45882. #: guix-git/doc/guix.texi:31014
  45883. #, no-wrap
  45884. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  45885. msgstr ""
  45886. #. type: itemx
  45887. #: guix-git/doc/guix.texi:31015
  45888. #, no-wrap
  45889. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  45890. msgstr ""
  45891. #. type: itemx
  45892. #: guix-git/doc/guix.texi:31016
  45893. #, no-wrap
  45894. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  45895. msgstr ""
  45896. #. type: itemx
  45897. #: guix-git/doc/guix.texi:31017
  45898. #, no-wrap
  45899. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  45900. msgstr ""
  45901. #. type: itemx
  45902. #: guix-git/doc/guix.texi:31018
  45903. #, no-wrap
  45904. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  45905. msgstr ""
  45906. #. type: itemx
  45907. #: guix-git/doc/guix.texi:31019
  45908. #, no-wrap
  45909. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  45910. msgstr ""
  45911. #. type: itemx
  45912. #: guix-git/doc/guix.texi:31020
  45913. #, no-wrap
  45914. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  45915. msgstr ""
  45916. #. type: itemx
  45917. #: guix-git/doc/guix.texi:31021
  45918. #, no-wrap
  45919. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  45920. msgstr ""
  45921. #. type: itemx
  45922. #: guix-git/doc/guix.texi:31022
  45923. #, no-wrap
  45924. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  45925. msgstr ""
  45926. #. type: itemx
  45927. #: guix-git/doc/guix.texi:31023
  45928. #, no-wrap
  45929. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  45930. msgstr ""
  45931. #. type: table
  45932. #: guix-git/doc/guix.texi:31028
  45933. 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:"
  45934. msgstr ""
  45935. #. type: lisp
  45936. #: guix-git/doc/guix.texi:31038
  45937. #, no-wrap
  45938. msgid ""
  45939. "(service ganeti-service-type\n"
  45940. " (ganeti-configuration\n"
  45941. " (rapi-configuration\n"
  45942. " (ganeti-rapi-configuration\n"
  45943. " (interface \"eth1\"))))\n"
  45944. " (watcher-configuration\n"
  45945. " (ganeti-watcher-configuration\n"
  45946. " (rapi-ip \"10.0.0.1\"))))\n"
  45947. msgstr ""
  45948. #. type: item
  45949. #: guix-git/doc/guix.texi:31040
  45950. #, no-wrap
  45951. msgid "@code{file-storage-paths} (default: @code{'()})"
  45952. msgstr ""
  45953. #. type: table
  45954. #: guix-git/doc/guix.texi:31042
  45955. msgid "List of allowed directories for file storage backend."
  45956. msgstr ""
  45957. #. type: item
  45958. #: guix-git/doc/guix.texi:31043
  45959. #, no-wrap
  45960. msgid "@code{os} (default: @code{%default-ganeti-os})"
  45961. msgstr ""
  45962. #. type: table
  45963. #: guix-git/doc/guix.texi:31045
  45964. msgid "List of @code{<ganeti-os>} records."
  45965. msgstr ""
  45966. #. type: deftp
  45967. #: guix-git/doc/guix.texi:31049
  45968. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  45969. msgstr ""
  45970. #. type: lisp
  45971. #: guix-git/doc/guix.texi:31060
  45972. #, no-wrap
  45973. msgid ""
  45974. "(service ganeti-noded-service-type)\n"
  45975. "(service ganeti-confd-service-type)\n"
  45976. "(service ganeti-wconfd-service-type)\n"
  45977. "(service ganeti-luxid-service-type)\n"
  45978. "(service ganeti-kvmd-service-type)\n"
  45979. "(service ganeti-mond-service-type)\n"
  45980. "(service ganeti-metad-service-type)\n"
  45981. "(service ganeti-watcher-service-type)\n"
  45982. "(service ganeti-cleaner-service-type)\n"
  45983. msgstr ""
  45984. #. type: deftp
  45985. #: guix-git/doc/guix.texi:31064
  45986. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  45987. msgstr ""
  45988. #. type: deftp
  45989. #: guix-git/doc/guix.texi:31067
  45990. #, no-wrap
  45991. msgid "{Data Type} ganeti-os"
  45992. msgstr ""
  45993. #. type: deftp
  45994. #: guix-git/doc/guix.texi:31070
  45995. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  45996. msgstr ""
  45997. #. type: table
  45998. #: guix-git/doc/guix.texi:31076
  45999. 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}."
  46000. msgstr ""
  46001. #. type: code{#1}
  46002. #: guix-git/doc/guix.texi:31077
  46003. #, no-wrap
  46004. msgid "extension"
  46005. msgstr ""
  46006. #. type: table
  46007. #: guix-git/doc/guix.texi:31080
  46008. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  46009. msgstr ""
  46010. #. type: item
  46011. #: guix-git/doc/guix.texi:31081
  46012. #, no-wrap
  46013. msgid "@code{variants} (default: @code{'()})"
  46014. msgstr ""
  46015. #. type: table
  46016. #: guix-git/doc/guix.texi:31083
  46017. msgid "List of @code{ganeti-os-variant} objects for this OS."
  46018. msgstr ""
  46019. #. type: deftp
  46020. #: guix-git/doc/guix.texi:31087
  46021. #, no-wrap
  46022. msgid "{Data Type} ganeti-os-variant"
  46023. msgstr ""
  46024. #. type: deftp
  46025. #: guix-git/doc/guix.texi:31090
  46026. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  46027. msgstr ""
  46028. #. type: table
  46029. #: guix-git/doc/guix.texi:31094
  46030. msgid "The name of this variant."
  46031. msgstr ""
  46032. #. type: code{#1}
  46033. #: guix-git/doc/guix.texi:31095
  46034. #, no-wrap
  46035. msgid "configuration"
  46036. msgstr ""
  46037. #. type: table
  46038. #: guix-git/doc/guix.texi:31097
  46039. msgid "A configuration file for this variant."
  46040. msgstr ""
  46041. #. type: defvr
  46042. #: guix-git/doc/guix.texi:31100
  46043. #, no-wrap
  46044. msgid "{Scheme Variable} %default-debootstrap-hooks"
  46045. msgstr ""
  46046. #. type: defvr
  46047. #: guix-git/doc/guix.texi:31102
  46048. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  46049. msgstr ""
  46050. #. type: defvr
  46051. #: guix-git/doc/guix.texi:31104
  46052. #, no-wrap
  46053. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  46054. msgstr ""
  46055. #. type: defvr
  46056. #: guix-git/doc/guix.texi:31106
  46057. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  46058. msgstr ""
  46059. #. type: deftp
  46060. #: guix-git/doc/guix.texi:31108
  46061. #, no-wrap
  46062. msgid "{Data Type} debootstrap-configuration"
  46063. msgstr ""
  46064. #. type: deftp
  46065. #: guix-git/doc/guix.texi:31111
  46066. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  46067. msgstr ""
  46068. #. type: item
  46069. #: guix-git/doc/guix.texi:31113
  46070. #, no-wrap
  46071. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  46072. msgstr ""
  46073. #. type: table
  46074. #: guix-git/doc/guix.texi:31117
  46075. 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:"
  46076. msgstr ""
  46077. #. type: lisp
  46078. #: guix-git/doc/guix.texi:31120
  46079. #, no-wrap
  46080. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  46081. msgstr ""
  46082. #. type: table
  46083. #: guix-git/doc/guix.texi:31125
  46084. 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."
  46085. msgstr ""
  46086. #. type: item
  46087. #: guix-git/doc/guix.texi:31125
  46088. #, no-wrap
  46089. msgid "@code{proxy} (default: @code{#f})"
  46090. msgstr ""
  46091. #. type: table
  46092. #: guix-git/doc/guix.texi:31127
  46093. msgid "Optional HTTP proxy to use."
  46094. msgstr ""
  46095. #. type: item
  46096. #: guix-git/doc/guix.texi:31127
  46097. #, no-wrap
  46098. msgid "@code{mirror} (default: @code{#f})"
  46099. msgstr ""
  46100. #. type: table
  46101. #: guix-git/doc/guix.texi:31130
  46102. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  46103. msgstr ""
  46104. #. type: item
  46105. #: guix-git/doc/guix.texi:31130
  46106. #, no-wrap
  46107. msgid "@code{arch} (default: @code{#f})"
  46108. msgstr ""
  46109. #. type: table
  46110. #: guix-git/doc/guix.texi:31133
  46111. 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."
  46112. msgstr ""
  46113. #. type: item
  46114. #: guix-git/doc/guix.texi:31133
  46115. #, no-wrap
  46116. msgid "@code{suite} (default: @code{\"stable\"})"
  46117. msgstr ""
  46118. #. type: table
  46119. #: guix-git/doc/guix.texi:31136
  46120. 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."
  46121. msgstr ""
  46122. #. type: item
  46123. #: guix-git/doc/guix.texi:31136
  46124. #, no-wrap
  46125. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  46126. msgstr ""
  46127. #. type: table
  46128. #: guix-git/doc/guix.texi:31139
  46129. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  46130. msgstr ""
  46131. #. type: item
  46132. #: guix-git/doc/guix.texi:31139
  46133. #, no-wrap
  46134. msgid "@code{components} (default: @code{#f})"
  46135. msgstr ""
  46136. #. type: table
  46137. #: guix-git/doc/guix.texi:31142
  46138. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  46139. msgstr ""
  46140. #. type: item
  46141. #: guix-git/doc/guix.texi:31142
  46142. #, no-wrap
  46143. msgid "@code{generate-cache?} (default: @code{#t})"
  46144. msgstr ""
  46145. #. type: table
  46146. #: guix-git/doc/guix.texi:31144
  46147. msgid "Whether to automatically cache the generated debootstrap archive."
  46148. msgstr ""
  46149. #. type: item
  46150. #: guix-git/doc/guix.texi:31144
  46151. #, no-wrap
  46152. msgid "@code{clean-cache} (default: @code{14})"
  46153. msgstr ""
  46154. #. type: table
  46155. #: guix-git/doc/guix.texi:31147
  46156. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  46157. msgstr ""
  46158. #. type: item
  46159. #: guix-git/doc/guix.texi:31147
  46160. #, no-wrap
  46161. msgid "@code{partition-style} (default: @code{'msdos})"
  46162. msgstr ""
  46163. #. type: table
  46164. #: guix-git/doc/guix.texi:31150
  46165. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  46166. msgstr ""
  46167. #. type: item
  46168. #: guix-git/doc/guix.texi:31150
  46169. #, no-wrap
  46170. msgid "@code{partition-alignment} (default: @code{2048})"
  46171. msgstr ""
  46172. #. type: table
  46173. #: guix-git/doc/guix.texi:31152
  46174. msgid "Alignment of the partition in sectors."
  46175. msgstr ""
  46176. #. type: deffn
  46177. #: guix-git/doc/guix.texi:31155
  46178. #, no-wrap
  46179. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  46180. msgstr ""
  46181. #. type: deffn
  46182. #: guix-git/doc/guix.texi:31158
  46183. 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."
  46184. msgstr ""
  46185. #. type: deffn
  46186. #: guix-git/doc/guix.texi:31160
  46187. #, no-wrap
  46188. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  46189. msgstr ""
  46190. #. type: deffn
  46191. #: guix-git/doc/guix.texi:31163
  46192. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  46193. msgstr ""
  46194. #. type: deffn
  46195. #: guix-git/doc/guix.texi:31165
  46196. #, no-wrap
  46197. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  46198. msgstr ""
  46199. #. type: deffn
  46200. #: guix-git/doc/guix.texi:31170
  46201. 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."
  46202. msgstr ""
  46203. #. type: deffn
  46204. #: guix-git/doc/guix.texi:31172
  46205. #, no-wrap
  46206. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  46207. msgstr ""
  46208. #. type: deffn
  46209. #: guix-git/doc/guix.texi:31175
  46210. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  46211. msgstr ""
  46212. #. type: defvr
  46213. #: guix-git/doc/guix.texi:31177
  46214. #, no-wrap
  46215. msgid "{Scheme Variable} %default-debootstrap-variants"
  46216. msgstr ""
  46217. #. type: defvr
  46218. #: guix-git/doc/guix.texi:31181
  46219. 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:"
  46220. msgstr ""
  46221. #. type: lisp
  46222. #: guix-git/doc/guix.texi:31186
  46223. #, no-wrap
  46224. msgid ""
  46225. "(list (debootstrap-variant\n"
  46226. " \"default\"\n"
  46227. " (debootstrap-configuration)))\n"
  46228. msgstr ""
  46229. #. type: defvr
  46230. #: guix-git/doc/guix.texi:31189
  46231. #, no-wrap
  46232. msgid "{Scheme Variable} %default-guix-variants"
  46233. msgstr ""
  46234. #. type: defvr
  46235. #: guix-git/doc/guix.texi:31193
  46236. 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."
  46237. msgstr ""
  46238. #. type: lisp
  46239. #: guix-git/doc/guix.texi:31199
  46240. #, no-wrap
  46241. msgid ""
  46242. "(list (guix-variant\n"
  46243. " \"default\"\n"
  46244. " (file-append ganeti-instance-guix\n"
  46245. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  46246. msgstr ""
  46247. #. type: Plain text
  46248. #: guix-git/doc/guix.texi:31205
  46249. 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:"
  46250. msgstr ""
  46251. #. type: lisp
  46252. #: guix-git/doc/guix.texi:31214
  46253. #, no-wrap
  46254. msgid ""
  46255. "(ganeti-os\n"
  46256. " (name \"custom\")\n"
  46257. " (extension \".conf\")\n"
  46258. " (variants\n"
  46259. " (list (ganeti-os-variant\n"
  46260. " (name \"foo\")\n"
  46261. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  46262. msgstr ""
  46263. #. type: Plain text
  46264. #: guix-git/doc/guix.texi:31219
  46265. 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}."
  46266. msgstr ""
  46267. #. type: Plain text
  46268. #: guix-git/doc/guix.texi:31222
  46269. 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}."
  46270. msgstr ""
  46271. #. type: Plain text
  46272. #: guix-git/doc/guix.texi:31225
  46273. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  46274. msgstr ""
  46275. #. type: defvr
  46276. #: guix-git/doc/guix.texi:31226
  46277. #, no-wrap
  46278. msgid "{Scheme Variable} ganeti-noded-service-type"
  46279. msgstr ""
  46280. #. type: defvr
  46281. #: guix-git/doc/guix.texi:31230
  46282. 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."
  46283. msgstr ""
  46284. #. type: deftp
  46285. #: guix-git/doc/guix.texi:31232
  46286. #, no-wrap
  46287. msgid "{Data Type} ganeti-noded-configuration"
  46288. msgstr ""
  46289. #. type: deftp
  46290. #: guix-git/doc/guix.texi:31234
  46291. msgid "This is the configuration for the @code{ganeti-noded} service."
  46292. msgstr ""
  46293. #. type: table
  46294. #: guix-git/doc/guix.texi:31238 guix-git/doc/guix.texi:31288
  46295. #: guix-git/doc/guix.texi:31318 guix-git/doc/guix.texi:31345
  46296. #: guix-git/doc/guix.texi:31377 guix-git/doc/guix.texi:31430
  46297. #: guix-git/doc/guix.texi:31450 guix-git/doc/guix.texi:31476
  46298. #: guix-git/doc/guix.texi:31509
  46299. msgid "The @code{ganeti} package to use for this service."
  46300. msgstr ""
  46301. #. type: item
  46302. #: guix-git/doc/guix.texi:31239
  46303. #, no-wrap
  46304. msgid "@code{port} (default: @code{1811})"
  46305. msgstr ""
  46306. #. type: table
  46307. #: guix-git/doc/guix.texi:31241
  46308. msgid "The TCP port on which the node daemon listens for network requests."
  46309. msgstr ""
  46310. #. type: item
  46311. #: guix-git/doc/guix.texi:31242 guix-git/doc/guix.texi:31292
  46312. #: guix-git/doc/guix.texi:31384 guix-git/doc/guix.texi:31454
  46313. #, no-wrap
  46314. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  46315. msgstr ""
  46316. #. type: table
  46317. #: guix-git/doc/guix.texi:31245
  46318. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  46319. msgstr ""
  46320. #. type: table
  46321. #: guix-git/doc/guix.texi:31249
  46322. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  46323. msgstr ""
  46324. #. type: item
  46325. #: guix-git/doc/guix.texi:31250 guix-git/doc/guix.texi:31392
  46326. #, no-wrap
  46327. msgid "@code{max-clients} (default: @code{20})"
  46328. msgstr ""
  46329. #. type: table
  46330. #: guix-git/doc/guix.texi:31254
  46331. 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."
  46332. msgstr ""
  46333. #. type: item
  46334. #: guix-git/doc/guix.texi:31255 guix-git/doc/guix.texi:31397
  46335. #, no-wrap
  46336. msgid "@code{ssl?} (default: @code{#t})"
  46337. msgstr ""
  46338. #. type: table
  46339. #: guix-git/doc/guix.texi:31259
  46340. 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}."
  46341. msgstr ""
  46342. #. type: item
  46343. #: guix-git/doc/guix.texi:31260 guix-git/doc/guix.texi:31400
  46344. #, no-wrap
  46345. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  46346. msgstr ""
  46347. #. type: table
  46348. #: guix-git/doc/guix.texi:31262 guix-git/doc/guix.texi:31402
  46349. msgid "This can be used to provide a specific encryption key for TLS communications."
  46350. msgstr ""
  46351. #. type: item
  46352. #: guix-git/doc/guix.texi:31263 guix-git/doc/guix.texi:31403
  46353. #, no-wrap
  46354. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  46355. msgstr ""
  46356. #. type: table
  46357. #: guix-git/doc/guix.texi:31265 guix-git/doc/guix.texi:31405
  46358. msgid "This can be used to provide a specific certificate for TLS communications."
  46359. msgstr ""
  46360. #. type: table
  46361. #: guix-git/doc/guix.texi:31269 guix-git/doc/guix.texi:31409
  46362. 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."
  46363. msgstr ""
  46364. #. type: defvr
  46365. #: guix-git/doc/guix.texi:31273
  46366. #, no-wrap
  46367. msgid "{Scheme Variable} ganeti-confd-service-type"
  46368. msgstr ""
  46369. #. type: defvr
  46370. #: guix-git/doc/guix.texi:31279
  46371. 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."
  46372. msgstr ""
  46373. #. type: deftp
  46374. #: guix-git/doc/guix.texi:31282
  46375. #, no-wrap
  46376. msgid "{Data Type} ganeti-confd-configuration"
  46377. msgstr ""
  46378. #. type: deftp
  46379. #: guix-git/doc/guix.texi:31284
  46380. msgid "This is the configuration for the @code{ganeti-confd} service."
  46381. msgstr ""
  46382. #. type: item
  46383. #: guix-git/doc/guix.texi:31289
  46384. #, no-wrap
  46385. msgid "@code{port} (default: @code{1814})"
  46386. msgstr ""
  46387. #. type: table
  46388. #: guix-git/doc/guix.texi:31291
  46389. msgid "The UDP port on which to listen for network requests."
  46390. msgstr ""
  46391. #. type: table
  46392. #: guix-git/doc/guix.texi:31294
  46393. msgid "Network address that the daemon will bind to."
  46394. msgstr ""
  46395. #. type: table
  46396. #: guix-git/doc/guix.texi:31297 guix-git/doc/guix.texi:31326
  46397. #: guix-git/doc/guix.texi:31353 guix-git/doc/guix.texi:31433
  46398. #: guix-git/doc/guix.texi:31460 guix-git/doc/guix.texi:31486
  46399. msgid "When true, the daemon performs additional logging for debugging purposes."
  46400. msgstr ""
  46401. #. type: defvr
  46402. #: guix-git/doc/guix.texi:31301
  46403. #, no-wrap
  46404. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  46405. msgstr ""
  46406. #. type: defvr
  46407. #: guix-git/doc/guix.texi:31307
  46408. 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."
  46409. msgstr ""
  46410. #. type: defvr
  46411. #: guix-git/doc/guix.texi:31310
  46412. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  46413. msgstr ""
  46414. #. type: deftp
  46415. #: guix-git/doc/guix.texi:31312
  46416. #, no-wrap
  46417. msgid "{Data Type} ganeti-wconfd-configuration"
  46418. msgstr ""
  46419. #. type: deftp
  46420. #: guix-git/doc/guix.texi:31314
  46421. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  46422. msgstr ""
  46423. #. type: item
  46424. #: guix-git/doc/guix.texi:31319 guix-git/doc/guix.texi:31346
  46425. #, no-wrap
  46426. msgid "@code{no-voting?} (default: @code{#f})"
  46427. msgstr ""
  46428. #. type: table
  46429. #: guix-git/doc/guix.texi:31323
  46430. 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)."
  46431. msgstr ""
  46432. #. type: defvr
  46433. #: guix-git/doc/guix.texi:31330
  46434. #, no-wrap
  46435. msgid "{Scheme Variable} ganeti-luxid-service-type"
  46436. msgstr ""
  46437. #. type: defvr
  46438. #: guix-git/doc/guix.texi:31335
  46439. 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."
  46440. msgstr ""
  46441. #. type: defvr
  46442. #: guix-git/doc/guix.texi:31337
  46443. msgid "It takes a @code{ganeti-luxid-configuration} object."
  46444. msgstr ""
  46445. #. type: deftp
  46446. #: guix-git/doc/guix.texi:31339
  46447. #, no-wrap
  46448. msgid "{Data Type} ganeti-luxid-configuration"
  46449. msgstr ""
  46450. #. type: deftp
  46451. #: guix-git/doc/guix.texi:31341
  46452. msgid "This is the configuration for the @code{ganeti-luxid} service."
  46453. msgstr ""
  46454. #. type: table
  46455. #: guix-git/doc/guix.texi:31350
  46456. 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)."
  46457. msgstr ""
  46458. #. type: defvr
  46459. #: guix-git/doc/guix.texi:31357
  46460. #, no-wrap
  46461. msgid "{Scheme Variable} ganeti-rapi-service-type"
  46462. msgstr ""
  46463. #. type: defvr
  46464. #: guix-git/doc/guix.texi:31361
  46465. 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."
  46466. msgstr ""
  46467. #. type: defvr
  46468. #: guix-git/doc/guix.texi:31367
  46469. 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."
  46470. msgstr ""
  46471. #. type: defvr
  46472. #: guix-git/doc/guix.texi:31369
  46473. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  46474. msgstr ""
  46475. #. type: deftp
  46476. #: guix-git/doc/guix.texi:31371
  46477. #, no-wrap
  46478. msgid "{Data Type} ganeti-rapi-configuration"
  46479. msgstr ""
  46480. #. type: deftp
  46481. #: guix-git/doc/guix.texi:31373
  46482. msgid "This is the configuration for the @code{ganeti-rapi} service."
  46483. msgstr ""
  46484. #. type: item
  46485. #: guix-git/doc/guix.texi:31378
  46486. #, no-wrap
  46487. msgid "@code{require-authentication?} (default: @code{#f})"
  46488. msgstr ""
  46489. #. type: table
  46490. #: guix-git/doc/guix.texi:31380
  46491. msgid "Whether to require authentication even for read-only operations."
  46492. msgstr ""
  46493. #. type: item
  46494. #: guix-git/doc/guix.texi:31381
  46495. #, no-wrap
  46496. msgid "@code{port} (default: @code{5080})"
  46497. msgstr ""
  46498. #. type: table
  46499. #: guix-git/doc/guix.texi:31383
  46500. msgid "The TCP port on which to listen to API requests."
  46501. msgstr ""
  46502. #. type: table
  46503. #: guix-git/doc/guix.texi:31387
  46504. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  46505. msgstr ""
  46506. #. type: table
  46507. #: guix-git/doc/guix.texi:31391
  46508. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  46509. msgstr ""
  46510. #. type: table
  46511. #: guix-git/doc/guix.texi:31396
  46512. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  46513. msgstr ""
  46514. #. type: table
  46515. #: guix-git/doc/guix.texi:31399
  46516. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  46517. msgstr ""
  46518. #. type: defvr
  46519. #: guix-git/doc/guix.texi:31413
  46520. #, no-wrap
  46521. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  46522. msgstr ""
  46523. #. type: defvr
  46524. #: guix-git/doc/guix.texi:31421
  46525. 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."
  46526. msgstr ""
  46527. #. type: defvr
  46528. #: guix-git/doc/guix.texi:31423
  46529. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  46530. msgstr ""
  46531. #. type: deftp
  46532. #: guix-git/doc/guix.texi:31425
  46533. #, no-wrap
  46534. msgid "{Data Type} ganeti-kvmd-configuration"
  46535. msgstr ""
  46536. #. type: defvr
  46537. #: guix-git/doc/guix.texi:31437
  46538. #, no-wrap
  46539. msgid "{Scheme Variable} ganeti-mond-service-type"
  46540. msgstr ""
  46541. #. type: defvr
  46542. #: guix-git/doc/guix.texi:31441
  46543. 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."
  46544. msgstr ""
  46545. #. type: defvr
  46546. #: guix-git/doc/guix.texi:31443
  46547. msgid "It takes a @code{ganeti-mond-configuration} object."
  46548. msgstr ""
  46549. #. type: deftp
  46550. #: guix-git/doc/guix.texi:31445
  46551. #, no-wrap
  46552. msgid "{Data Type} ganeti-mond-configuration"
  46553. msgstr ""
  46554. #. type: item
  46555. #: guix-git/doc/guix.texi:31451
  46556. #, no-wrap
  46557. msgid "@code{port} (default: @code{1815})"
  46558. msgstr ""
  46559. #. type: table
  46560. #: guix-git/doc/guix.texi:31453 guix-git/doc/guix.texi:31479
  46561. msgid "The port on which the daemon will listen."
  46562. msgstr ""
  46563. #. type: table
  46564. #: guix-git/doc/guix.texi:31457
  46565. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  46566. msgstr ""
  46567. #. type: defvr
  46568. #: guix-git/doc/guix.texi:31464
  46569. #, no-wrap
  46570. msgid "{Scheme Variable} ganeti-metad-service-type"
  46571. msgstr ""
  46572. #. type: defvr
  46573. #: guix-git/doc/guix.texi:31467
  46574. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  46575. msgstr ""
  46576. #. type: defvr
  46577. #: guix-git/doc/guix.texi:31469
  46578. msgid "It takes a @code{ganeti-metad-configuration} object."
  46579. msgstr ""
  46580. #. type: deftp
  46581. #: guix-git/doc/guix.texi:31471
  46582. #, no-wrap
  46583. msgid "{Data Type} ganeti-metad-configuration"
  46584. msgstr ""
  46585. #. type: table
  46586. #: guix-git/doc/guix.texi:31483
  46587. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  46588. msgstr ""
  46589. #. type: defvr
  46590. #: guix-git/doc/guix.texi:31490
  46591. #, no-wrap
  46592. msgid "{Scheme Variable} ganeti-watcher-service-type"
  46593. msgstr ""
  46594. #. type: defvr
  46595. #: guix-git/doc/guix.texi:31498
  46596. 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."
  46597. msgstr ""
  46598. #. type: defvr
  46599. #: guix-git/doc/guix.texi:31500
  46600. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  46601. msgstr ""
  46602. #. type: defvr
  46603. #: guix-git/doc/guix.texi:31502
  46604. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  46605. msgstr ""
  46606. #. type: deftp
  46607. #: guix-git/doc/guix.texi:31504
  46608. #, no-wrap
  46609. msgid "{Data Type} ganeti-watcher-configuration"
  46610. msgstr ""
  46611. #. type: item
  46612. #: guix-git/doc/guix.texi:31510
  46613. #, no-wrap
  46614. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  46615. msgstr ""
  46616. #. type: table
  46617. #: guix-git/doc/guix.texi:31512
  46618. msgid "How often to run the script. The default is every five minutes."
  46619. msgstr ""
  46620. #. type: item
  46621. #: guix-git/doc/guix.texi:31513
  46622. #, no-wrap
  46623. msgid "@code{rapi-ip} (default: @code{#f})"
  46624. msgstr ""
  46625. #. type: table
  46626. #: guix-git/doc/guix.texi:31516
  46627. 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."
  46628. msgstr ""
  46629. #. type: item
  46630. #: guix-git/doc/guix.texi:31517
  46631. #, no-wrap
  46632. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  46633. msgstr ""
  46634. #. type: table
  46635. #: guix-git/doc/guix.texi:31520
  46636. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  46637. msgstr ""
  46638. #. type: item
  46639. #: guix-git/doc/guix.texi:31521
  46640. #, no-wrap
  46641. msgid "@code{verify-disks?} (default: @code{#t})"
  46642. msgstr ""
  46643. #. type: table
  46644. #: guix-git/doc/guix.texi:31525
  46645. 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."
  46646. msgstr ""
  46647. #. type: table
  46648. #: guix-git/doc/guix.texi:31528
  46649. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  46650. msgstr ""
  46651. #. type: defvr
  46652. #: guix-git/doc/guix.texi:31532
  46653. #, no-wrap
  46654. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  46655. msgstr ""
  46656. #. type: defvr
  46657. #: guix-git/doc/guix.texi:31540
  46658. 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."
  46659. msgstr ""
  46660. #. type: defvr
  46661. #: guix-git/doc/guix.texi:31542
  46662. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  46663. msgstr ""
  46664. #. type: deftp
  46665. #: guix-git/doc/guix.texi:31544
  46666. #, no-wrap
  46667. msgid "{Data Type} ganeti-cleaner-configuration"
  46668. msgstr ""
  46669. #. type: table
  46670. #: guix-git/doc/guix.texi:31549
  46671. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  46672. msgstr ""
  46673. #. type: item
  46674. #: guix-git/doc/guix.texi:31550
  46675. #, no-wrap
  46676. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  46677. msgstr ""
  46678. #. type: table
  46679. #: guix-git/doc/guix.texi:31553
  46680. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  46681. msgstr ""
  46682. #. type: item
  46683. #: guix-git/doc/guix.texi:31554
  46684. #, no-wrap
  46685. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  46686. msgstr ""
  46687. #. type: table
  46688. #: guix-git/doc/guix.texi:31557
  46689. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  46690. msgstr ""
  46691. #. type: Plain text
  46692. #: guix-git/doc/guix.texi:31571
  46693. 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}."
  46694. msgstr ""
  46695. #. type: deffn
  46696. #: guix-git/doc/guix.texi:31572
  46697. #, no-wrap
  46698. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  46699. msgstr ""
  46700. #. type: deffn
  46701. #: guix-git/doc/guix.texi:31576
  46702. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  46703. msgstr ""
  46704. #. type: deffn
  46705. #: guix-git/doc/guix.texi:31582
  46706. 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}."
  46707. msgstr ""
  46708. #. type: deftp
  46709. #: guix-git/doc/guix.texi:31585
  46710. #, no-wrap
  46711. msgid "{Data Type} git-daemon-configuration"
  46712. msgstr ""
  46713. #. type: deftp
  46714. #: guix-git/doc/guix.texi:31587
  46715. msgid "Data type representing the configuration for @code{git-daemon-service}."
  46716. msgstr ""
  46717. #. type: item
  46718. #: guix-git/doc/guix.texi:31589
  46719. #, no-wrap
  46720. msgid "@code{package} (default: @code{git})"
  46721. msgstr ""
  46722. #. type: table
  46723. #: guix-git/doc/guix.texi:31591 guix-git/doc/guix.texi:31651
  46724. msgid "Package object of the Git distributed version control system."
  46725. msgstr ""
  46726. #. type: item
  46727. #: guix-git/doc/guix.texi:31592 guix-git/doc/guix.texi:31655
  46728. #, no-wrap
  46729. msgid "@code{export-all?} (default: @code{#f})"
  46730. msgstr ""
  46731. #. type: table
  46732. #: guix-git/doc/guix.texi:31595
  46733. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  46734. msgstr ""
  46735. #. type: item
  46736. #: guix-git/doc/guix.texi:31596
  46737. #, no-wrap
  46738. msgid "@code{base-path} (default: @file{/srv/git})"
  46739. msgstr ""
  46740. #. type: table
  46741. #: guix-git/doc/guix.texi:31602
  46742. 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}."
  46743. msgstr ""
  46744. #. type: item
  46745. #: guix-git/doc/guix.texi:31603
  46746. #, no-wrap
  46747. msgid "@code{user-path} (default: @code{#f})"
  46748. msgstr ""
  46749. #. type: table
  46750. #: guix-git/doc/guix.texi:31611
  46751. 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}."
  46752. msgstr ""
  46753. #. type: item
  46754. #: guix-git/doc/guix.texi:31612
  46755. #, no-wrap
  46756. msgid "@code{listen} (default: @code{'()})"
  46757. msgstr ""
  46758. #. type: table
  46759. #: guix-git/doc/guix.texi:31615
  46760. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  46761. msgstr ""
  46762. #. type: item
  46763. #: guix-git/doc/guix.texi:31616
  46764. #, no-wrap
  46765. msgid "@code{port} (default: @code{#f})"
  46766. msgstr ""
  46767. #. type: table
  46768. #: guix-git/doc/guix.texi:31618
  46769. msgid "Whether to listen on an alternative port, which defaults to 9418."
  46770. msgstr ""
  46771. #. type: item
  46772. #: guix-git/doc/guix.texi:31619
  46773. #, no-wrap
  46774. msgid "@code{whitelist} (default: @code{'()})"
  46775. msgstr ""
  46776. #. type: table
  46777. #: guix-git/doc/guix.texi:31621
  46778. msgid "If not empty, only allow access to this list of directories."
  46779. msgstr ""
  46780. #. type: table
  46781. #: guix-git/doc/guix.texi:31625
  46782. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  46783. msgstr ""
  46784. #. type: Plain text
  46785. #: guix-git/doc/guix.texi:31639
  46786. 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."
  46787. msgstr ""
  46788. #. type: Plain text
  46789. #: guix-git/doc/guix.texi:31642
  46790. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  46791. msgstr ""
  46792. #. type: deftp
  46793. #: guix-git/doc/guix.texi:31643
  46794. #, no-wrap
  46795. msgid "{Data Type} git-http-configuration"
  46796. msgstr ""
  46797. #. type: deftp
  46798. #: guix-git/doc/guix.texi:31647
  46799. 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}."
  46800. msgstr ""
  46801. #. type: item
  46802. #: guix-git/doc/guix.texi:31649
  46803. #, no-wrap
  46804. msgid "@code{package} (default: @var{git})"
  46805. msgstr ""
  46806. #. type: item
  46807. #: guix-git/doc/guix.texi:31652
  46808. #, no-wrap
  46809. msgid "@code{git-root} (default: @file{/srv/git})"
  46810. msgstr ""
  46811. #. type: table
  46812. #: guix-git/doc/guix.texi:31654
  46813. msgid "Directory containing the Git repositories to expose to the world."
  46814. msgstr ""
  46815. #. type: table
  46816. #: guix-git/doc/guix.texi:31658
  46817. 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."
  46818. msgstr ""
  46819. #. type: item
  46820. #: guix-git/doc/guix.texi:31659
  46821. #, no-wrap
  46822. msgid "@code{uri-path} (default: @samp{/git/})"
  46823. msgstr ""
  46824. #. type: table
  46825. #: guix-git/doc/guix.texi:31664
  46826. 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."
  46827. msgstr ""
  46828. #. type: item
  46829. #: guix-git/doc/guix.texi:31665
  46830. #, no-wrap
  46831. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  46832. msgstr ""
  46833. #. type: table
  46834. #: guix-git/doc/guix.texi:31668
  46835. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  46836. msgstr ""
  46837. #. type: Plain text
  46838. #: guix-git/doc/guix.texi:31675
  46839. 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."
  46840. msgstr ""
  46841. #. type: deffn
  46842. #: guix-git/doc/guix.texi:31676
  46843. #, no-wrap
  46844. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  46845. msgstr ""
  46846. #. type: deffn
  46847. #: guix-git/doc/guix.texi:31681
  46848. 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:"
  46849. msgstr ""
  46850. #. type: lisp
  46851. #: guix-git/doc/guix.texi:31698
  46852. #, no-wrap
  46853. msgid ""
  46854. "(service nginx-service-type\n"
  46855. " (nginx-configuration\n"
  46856. " (server-blocks\n"
  46857. " (list\n"
  46858. " (nginx-server-configuration\n"
  46859. " (listen '(\"443 ssl\"))\n"
  46860. " (server-name \"git.my-host.org\")\n"
  46861. " (ssl-certificate\n"
  46862. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  46863. " (ssl-certificate-key\n"
  46864. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  46865. " (locations\n"
  46866. " (list\n"
  46867. " (git-http-nginx-location-configuration\n"
  46868. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  46869. msgstr ""
  46870. #. type: deffn
  46871. #: guix-git/doc/guix.texi:31705
  46872. 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}."
  46873. msgstr ""
  46874. #. type: subsubheading
  46875. #: guix-git/doc/guix.texi:31707
  46876. #, no-wrap
  46877. msgid "Cgit Service"
  46878. msgstr ""
  46879. #. type: cindex
  46880. #: guix-git/doc/guix.texi:31709
  46881. #, no-wrap
  46882. msgid "Cgit service"
  46883. msgstr ""
  46884. #. type: cindex
  46885. #: guix-git/doc/guix.texi:31710
  46886. #, no-wrap
  46887. msgid "Git, web interface"
  46888. msgstr ""
  46889. #. type: Plain text
  46890. #: guix-git/doc/guix.texi:31713
  46891. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  46892. msgstr ""
  46893. #. type: Plain text
  46894. #: guix-git/doc/guix.texi:31716
  46895. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  46896. msgstr ""
  46897. #. type: lisp
  46898. #: guix-git/doc/guix.texi:31719
  46899. #, no-wrap
  46900. msgid "(service cgit-service-type)\n"
  46901. msgstr ""
  46902. #. type: Plain text
  46903. #: guix-git/doc/guix.texi:31723
  46904. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  46905. msgstr ""
  46906. #. type: Plain text
  46907. #: guix-git/doc/guix.texi:31727
  46908. msgid "Available @code{cgit-configuration} fields are:"
  46909. msgstr ""
  46910. #. type: deftypevr
  46911. #: guix-git/doc/guix.texi:31728
  46912. #, no-wrap
  46913. msgid "{@code{cgit-configuration} parameter} package package"
  46914. msgstr ""
  46915. #. type: deftypevr
  46916. #: guix-git/doc/guix.texi:31730
  46917. msgid "The CGIT package."
  46918. msgstr ""
  46919. #. type: deftypevr
  46920. #: guix-git/doc/guix.texi:31733
  46921. #, no-wrap
  46922. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  46923. msgstr ""
  46924. #. type: deftypevr
  46925. #: guix-git/doc/guix.texi:31738
  46926. #, no-wrap
  46927. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  46928. msgstr ""
  46929. #. type: deftypevr
  46930. #: guix-git/doc/guix.texi:31741
  46931. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  46932. msgstr ""
  46933. #. type: deftypevr
  46934. #: guix-git/doc/guix.texi:31746
  46935. #, no-wrap
  46936. msgid "{@code{cgit-configuration} parameter} string agefile"
  46937. msgstr ""
  46938. #. type: deftypevr
  46939. #: guix-git/doc/guix.texi:31749
  46940. 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."
  46941. msgstr ""
  46942. #. type: deftypevr
  46943. #: guix-git/doc/guix.texi:31754
  46944. #, no-wrap
  46945. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  46946. msgstr ""
  46947. #. type: deftypevr
  46948. #: guix-git/doc/guix.texi:31757
  46949. msgid "Specifies a command that will be invoked for authenticating repository access."
  46950. msgstr ""
  46951. #. type: deftypevr
  46952. #: guix-git/doc/guix.texi:31762
  46953. #, no-wrap
  46954. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  46955. msgstr ""
  46956. #. type: deftypevr
  46957. #: guix-git/doc/guix.texi:31765
  46958. 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."
  46959. msgstr ""
  46960. #. type: deftypevr
  46961. #: guix-git/doc/guix.texi:31767
  46962. msgid "Defaults to @samp{\"name\"}."
  46963. msgstr ""
  46964. #. type: deftypevr
  46965. #: guix-git/doc/guix.texi:31770
  46966. #, no-wrap
  46967. msgid "{@code{cgit-configuration} parameter} string cache-root"
  46968. msgstr ""
  46969. #. type: deftypevr
  46970. #: guix-git/doc/guix.texi:31772
  46971. msgid "Path used to store the cgit cache entries."
  46972. msgstr ""
  46973. #. type: deftypevr
  46974. #: guix-git/doc/guix.texi:31774
  46975. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  46976. msgstr ""
  46977. #. type: deftypevr
  46978. #: guix-git/doc/guix.texi:31777
  46979. #, no-wrap
  46980. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  46981. msgstr ""
  46982. #. type: deftypevr
  46983. #: guix-git/doc/guix.texi:31780
  46984. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  46985. msgstr ""
  46986. #. type: deftypevr
  46987. #: guix-git/doc/guix.texi:31782 guix-git/doc/guix.texi:32225
  46988. msgid "Defaults to @samp{-1}."
  46989. msgstr ""
  46990. #. type: deftypevr
  46991. #: guix-git/doc/guix.texi:31785
  46992. #, no-wrap
  46993. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  46994. msgstr ""
  46995. #. type: deftypevr
  46996. #: guix-git/doc/guix.texi:31788
  46997. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  46998. msgstr ""
  46999. #. type: deftypevr
  47000. #: guix-git/doc/guix.texi:31793
  47001. #, no-wrap
  47002. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  47003. msgstr ""
  47004. #. type: deftypevr
  47005. #: guix-git/doc/guix.texi:31796
  47006. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  47007. msgstr ""
  47008. #. type: deftypevr
  47009. #: guix-git/doc/guix.texi:31801
  47010. #, no-wrap
  47011. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  47012. msgstr ""
  47013. #. type: deftypevr
  47014. #: guix-git/doc/guix.texi:31804
  47015. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  47016. msgstr ""
  47017. #. type: deftypevr
  47018. #: guix-git/doc/guix.texi:31809
  47019. #, no-wrap
  47020. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  47021. msgstr ""
  47022. #. type: deftypevr
  47023. #: guix-git/doc/guix.texi:31812
  47024. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  47025. msgstr ""
  47026. #. type: deftypevr
  47027. #: guix-git/doc/guix.texi:31817
  47028. #, no-wrap
  47029. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  47030. msgstr ""
  47031. #. type: deftypevr
  47032. #: guix-git/doc/guix.texi:31820
  47033. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  47034. msgstr ""
  47035. #. type: deftypevr
  47036. #: guix-git/doc/guix.texi:31825
  47037. #, no-wrap
  47038. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  47039. msgstr ""
  47040. #. type: deftypevr
  47041. #: guix-git/doc/guix.texi:31828
  47042. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  47043. msgstr ""
  47044. #. type: deftypevr
  47045. #: guix-git/doc/guix.texi:31833
  47046. #, no-wrap
  47047. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  47048. msgstr ""
  47049. #. type: deftypevr
  47050. #: guix-git/doc/guix.texi:31836
  47051. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  47052. msgstr ""
  47053. #. type: deftypevr
  47054. #: guix-git/doc/guix.texi:31841
  47055. #, no-wrap
  47056. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  47057. msgstr ""
  47058. #. type: deftypevr
  47059. #: guix-git/doc/guix.texi:31843
  47060. msgid "Sort items in the repo list case sensitively."
  47061. msgstr ""
  47062. #. type: deftypevr
  47063. #: guix-git/doc/guix.texi:31848
  47064. #, no-wrap
  47065. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  47066. msgstr ""
  47067. #. type: deftypevr
  47068. #: guix-git/doc/guix.texi:31851
  47069. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  47070. msgstr ""
  47071. #. type: deftypevr
  47072. #: guix-git/doc/guix.texi:31856
  47073. #, no-wrap
  47074. msgid "{@code{cgit-configuration} parameter} list clone-url"
  47075. msgstr ""
  47076. #. type: deftypevr
  47077. #: guix-git/doc/guix.texi:31858
  47078. msgid "List of @code{clone-url} templates."
  47079. msgstr ""
  47080. #. type: deftypevr
  47081. #: guix-git/doc/guix.texi:31863
  47082. #, no-wrap
  47083. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  47084. msgstr ""
  47085. #. type: deftypevr
  47086. #: guix-git/doc/guix.texi:31865
  47087. msgid "Command which will be invoked to format commit messages."
  47088. msgstr ""
  47089. #. type: deftypevr
  47090. #: guix-git/doc/guix.texi:31870
  47091. #, no-wrap
  47092. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  47093. msgstr ""
  47094. #. type: deftypevr
  47095. #: guix-git/doc/guix.texi:31874 guix-git/doc/guix.texi:32432
  47096. 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."
  47097. msgstr ""
  47098. #. type: deftypevr
  47099. #: guix-git/doc/guix.texi:31876
  47100. msgid "Defaults to @samp{\"git log\"}."
  47101. msgstr ""
  47102. #. type: deftypevr
  47103. #: guix-git/doc/guix.texi:31879
  47104. #, no-wrap
  47105. msgid "{@code{cgit-configuration} parameter} file-object css"
  47106. msgstr ""
  47107. #. type: deftypevr
  47108. #: guix-git/doc/guix.texi:31881
  47109. msgid "URL which specifies the css document to include in all cgit pages."
  47110. msgstr ""
  47111. #. type: deftypevr
  47112. #: guix-git/doc/guix.texi:31883
  47113. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  47114. msgstr ""
  47115. #. type: deftypevr
  47116. #: guix-git/doc/guix.texi:31886
  47117. #, no-wrap
  47118. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  47119. msgstr ""
  47120. #. type: deftypevr
  47121. #: guix-git/doc/guix.texi:31890
  47122. 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."
  47123. msgstr ""
  47124. #. type: deftypevr
  47125. #: guix-git/doc/guix.texi:31895
  47126. #, no-wrap
  47127. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  47128. msgstr ""
  47129. #. type: deftypevr
  47130. #: guix-git/doc/guix.texi:31898
  47131. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  47132. msgstr ""
  47133. #. type: deftypevr
  47134. #: guix-git/doc/guix.texi:31903
  47135. #, no-wrap
  47136. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  47137. msgstr ""
  47138. #. type: deftypevr
  47139. #: guix-git/doc/guix.texi:31907
  47140. 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."
  47141. msgstr ""
  47142. #. type: deftypevr
  47143. #: guix-git/doc/guix.texi:31912
  47144. #, no-wrap
  47145. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  47146. msgstr ""
  47147. #. type: deftypevr
  47148. #: guix-git/doc/guix.texi:31915
  47149. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  47150. msgstr ""
  47151. #. type: deftypevr
  47152. #: guix-git/doc/guix.texi:31920
  47153. #, no-wrap
  47154. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  47155. msgstr ""
  47156. #. type: deftypevr
  47157. #: guix-git/doc/guix.texi:31923
  47158. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  47159. msgstr ""
  47160. #. type: deftypevr
  47161. #: guix-git/doc/guix.texi:31928
  47162. #, no-wrap
  47163. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  47164. msgstr ""
  47165. #. type: deftypevr
  47166. #: guix-git/doc/guix.texi:31931
  47167. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  47168. msgstr ""
  47169. #. type: deftypevr
  47170. #: guix-git/doc/guix.texi:31936
  47171. #, no-wrap
  47172. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  47173. msgstr ""
  47174. #. type: deftypevr
  47175. #: guix-git/doc/guix.texi:31939
  47176. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  47177. msgstr ""
  47178. #. type: deftypevr
  47179. #: guix-git/doc/guix.texi:31944
  47180. #, no-wrap
  47181. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  47182. msgstr ""
  47183. #. type: deftypevr
  47184. #: guix-git/doc/guix.texi:31947
  47185. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  47186. msgstr ""
  47187. #. type: deftypevr
  47188. #: guix-git/doc/guix.texi:31952
  47189. #, no-wrap
  47190. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  47191. msgstr ""
  47192. #. type: deftypevr
  47193. #: guix-git/doc/guix.texi:31955
  47194. 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."
  47195. msgstr ""
  47196. #. type: deftypevr
  47197. #: guix-git/doc/guix.texi:31960
  47198. #, no-wrap
  47199. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  47200. msgstr ""
  47201. #. type: deftypevr
  47202. #: guix-git/doc/guix.texi:31963
  47203. 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."
  47204. msgstr ""
  47205. #. type: deftypevr
  47206. #: guix-git/doc/guix.texi:31968
  47207. #, no-wrap
  47208. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  47209. msgstr ""
  47210. #. type: deftypevr
  47211. #: guix-git/doc/guix.texi:31971 guix-git/doc/guix.texi:32495
  47212. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  47213. msgstr ""
  47214. #. type: deftypevr
  47215. #: guix-git/doc/guix.texi:31976
  47216. #, no-wrap
  47217. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  47218. msgstr ""
  47219. #. type: deftypevr
  47220. #: guix-git/doc/guix.texi:31980
  47221. 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."
  47222. msgstr ""
  47223. #. type: deftypevr
  47224. #: guix-git/doc/guix.texi:31985
  47225. #, no-wrap
  47226. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  47227. msgstr ""
  47228. #. type: deftypevr
  47229. #: guix-git/doc/guix.texi:31989
  47230. 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."
  47231. msgstr ""
  47232. #. type: deftypevr
  47233. #: guix-git/doc/guix.texi:31994
  47234. #, no-wrap
  47235. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  47236. msgstr ""
  47237. #. type: deftypevr
  47238. #: guix-git/doc/guix.texi:31997
  47239. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  47240. msgstr ""
  47241. #. type: deftypevr
  47242. #: guix-git/doc/guix.texi:32002
  47243. #, no-wrap
  47244. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  47245. msgstr ""
  47246. #. type: deftypevr
  47247. #: guix-git/doc/guix.texi:32005
  47248. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  47249. msgstr ""
  47250. #. type: deftypevr
  47251. #: guix-git/doc/guix.texi:32010
  47252. #, no-wrap
  47253. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  47254. msgstr ""
  47255. #. type: deftypevr
  47256. #: guix-git/doc/guix.texi:32012
  47257. msgid "URL used as link to a shortcut icon for cgit."
  47258. msgstr ""
  47259. #. type: deftypevr
  47260. #: guix-git/doc/guix.texi:32014
  47261. msgid "Defaults to @samp{\"/favicon.ico\"}."
  47262. msgstr ""
  47263. #. type: deftypevr
  47264. #: guix-git/doc/guix.texi:32017
  47265. #, no-wrap
  47266. msgid "{@code{cgit-configuration} parameter} string footer"
  47267. msgstr ""
  47268. #. type: deftypevr
  47269. #: guix-git/doc/guix.texi:32021
  47270. 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)."
  47271. msgstr ""
  47272. #. type: deftypevr
  47273. #: guix-git/doc/guix.texi:32026
  47274. #, no-wrap
  47275. msgid "{@code{cgit-configuration} parameter} string head-include"
  47276. msgstr ""
  47277. #. type: deftypevr
  47278. #: guix-git/doc/guix.texi:32029
  47279. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  47280. msgstr ""
  47281. #. type: deftypevr
  47282. #: guix-git/doc/guix.texi:32034
  47283. #, no-wrap
  47284. msgid "{@code{cgit-configuration} parameter} string header"
  47285. msgstr ""
  47286. #. type: deftypevr
  47287. #: guix-git/doc/guix.texi:32037
  47288. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  47289. msgstr ""
  47290. #. type: deftypevr
  47291. #: guix-git/doc/guix.texi:32042
  47292. #, no-wrap
  47293. msgid "{@code{cgit-configuration} parameter} file-object include"
  47294. msgstr ""
  47295. #. type: deftypevr
  47296. #: guix-git/doc/guix.texi:32045
  47297. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  47298. msgstr ""
  47299. #. type: deftypevr
  47300. #: guix-git/doc/guix.texi:32050
  47301. #, no-wrap
  47302. msgid "{@code{cgit-configuration} parameter} string index-header"
  47303. msgstr ""
  47304. #. type: deftypevr
  47305. #: guix-git/doc/guix.texi:32053
  47306. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  47307. msgstr ""
  47308. #. type: deftypevr
  47309. #: guix-git/doc/guix.texi:32058
  47310. #, no-wrap
  47311. msgid "{@code{cgit-configuration} parameter} string index-info"
  47312. msgstr ""
  47313. #. type: deftypevr
  47314. #: guix-git/doc/guix.texi:32061
  47315. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  47316. msgstr ""
  47317. #. type: deftypevr
  47318. #: guix-git/doc/guix.texi:32066
  47319. #, no-wrap
  47320. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  47321. msgstr ""
  47322. #. type: deftypevr
  47323. #: guix-git/doc/guix.texi:32069
  47324. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  47325. msgstr ""
  47326. #. type: deftypevr
  47327. #: guix-git/doc/guix.texi:32074
  47328. #, no-wrap
  47329. msgid "{@code{cgit-configuration} parameter} file-object logo"
  47330. msgstr ""
  47331. #. type: deftypevr
  47332. #: guix-git/doc/guix.texi:32077
  47333. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  47334. msgstr ""
  47335. #. type: deftypevr
  47336. #: guix-git/doc/guix.texi:32079
  47337. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  47338. msgstr ""
  47339. #. type: deftypevr
  47340. #: guix-git/doc/guix.texi:32082
  47341. #, no-wrap
  47342. msgid "{@code{cgit-configuration} parameter} string logo-link"
  47343. msgstr ""
  47344. #. type: deftypevr
  47345. #: guix-git/doc/guix.texi:32084 guix-git/doc/guix.texi:32541
  47346. msgid "URL loaded when clicking on the cgit logo image."
  47347. msgstr ""
  47348. #. type: deftypevr
  47349. #: guix-git/doc/guix.texi:32089
  47350. #, no-wrap
  47351. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  47352. msgstr ""
  47353. #. type: deftypevr
  47354. #: guix-git/doc/guix.texi:32092
  47355. msgid "Command which will be invoked to format the Owner column of the main page."
  47356. msgstr ""
  47357. #. type: deftypevr
  47358. #: guix-git/doc/guix.texi:32097
  47359. #, no-wrap
  47360. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  47361. msgstr ""
  47362. #. type: deftypevr
  47363. #: guix-git/doc/guix.texi:32099
  47364. msgid "Number of items to display in atom feeds view."
  47365. msgstr ""
  47366. #. type: deftypevr
  47367. #: guix-git/doc/guix.texi:32104
  47368. #, no-wrap
  47369. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  47370. msgstr ""
  47371. #. type: deftypevr
  47372. #: guix-git/doc/guix.texi:32106
  47373. msgid "Number of entries to list per page in \"log\" view."
  47374. msgstr ""
  47375. #. type: deftypevr
  47376. #: guix-git/doc/guix.texi:32111
  47377. #, no-wrap
  47378. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  47379. msgstr ""
  47380. #. type: deftypevr
  47381. #: guix-git/doc/guix.texi:32113
  47382. msgid "Number of commit message characters to display in \"log\" view."
  47383. msgstr ""
  47384. #. type: deftypevr
  47385. #: guix-git/doc/guix.texi:32115 guix-git/doc/guix.texi:32131
  47386. msgid "Defaults to @samp{80}."
  47387. msgstr ""
  47388. #. type: deftypevr
  47389. #: guix-git/doc/guix.texi:32118
  47390. #, no-wrap
  47391. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  47392. msgstr ""
  47393. #. type: deftypevr
  47394. #: guix-git/doc/guix.texi:32121
  47395. msgid "Specifies the number of entries to list per page on the repository index page."
  47396. msgstr ""
  47397. #. type: deftypevr
  47398. #: guix-git/doc/guix.texi:32126
  47399. #, no-wrap
  47400. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  47401. msgstr ""
  47402. #. type: deftypevr
  47403. #: guix-git/doc/guix.texi:32129
  47404. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  47405. msgstr ""
  47406. #. type: deftypevr
  47407. #: guix-git/doc/guix.texi:32134
  47408. #, no-wrap
  47409. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  47410. msgstr ""
  47411. #. type: deftypevr
  47412. #: guix-git/doc/guix.texi:32136
  47413. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  47414. msgstr ""
  47415. #. type: deftypevr
  47416. #: guix-git/doc/guix.texi:32141
  47417. #, no-wrap
  47418. msgid "{@code{cgit-configuration} parameter} string max-stats"
  47419. msgstr ""
  47420. #. type: deftypevr
  47421. #: guix-git/doc/guix.texi:32144
  47422. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  47423. msgstr ""
  47424. #. type: deftypevr
  47425. #: guix-git/doc/guix.texi:32149
  47426. #, no-wrap
  47427. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  47428. msgstr ""
  47429. #. type: deftypevr
  47430. #: guix-git/doc/guix.texi:32151
  47431. msgid "Mimetype for the specified filename extension."
  47432. msgstr ""
  47433. #. type: deftypevr
  47434. #: guix-git/doc/guix.texi:32155
  47435. 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\"))}."
  47436. msgstr ""
  47437. #. type: deftypevr
  47438. #: guix-git/doc/guix.texi:32158
  47439. #, no-wrap
  47440. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  47441. msgstr ""
  47442. #. type: deftypevr
  47443. #: guix-git/doc/guix.texi:32160
  47444. msgid "Specifies the file to use for automatic mimetype lookup."
  47445. msgstr ""
  47446. #. type: deftypevr
  47447. #: guix-git/doc/guix.texi:32165
  47448. #, no-wrap
  47449. msgid "{@code{cgit-configuration} parameter} string module-link"
  47450. msgstr ""
  47451. #. type: deftypevr
  47452. #: guix-git/doc/guix.texi:32168
  47453. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  47454. msgstr ""
  47455. #. type: deftypevr
  47456. #: guix-git/doc/guix.texi:32173
  47457. #, no-wrap
  47458. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  47459. msgstr ""
  47460. #. type: deftypevr
  47461. #: guix-git/doc/guix.texi:32175
  47462. msgid "If set to the value @samp{#t} caching will be disabled."
  47463. msgstr ""
  47464. #. type: deftypevr
  47465. #: guix-git/doc/guix.texi:32180
  47466. #, no-wrap
  47467. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  47468. msgstr ""
  47469. #. type: deftypevr
  47470. #: guix-git/doc/guix.texi:32183
  47471. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  47472. msgstr ""
  47473. #. type: deftypevr
  47474. #: guix-git/doc/guix.texi:32188
  47475. #, no-wrap
  47476. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  47477. msgstr ""
  47478. #. type: deftypevr
  47479. #: guix-git/doc/guix.texi:32191
  47480. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  47481. msgstr ""
  47482. #. type: deftypevr
  47483. #: guix-git/doc/guix.texi:32196
  47484. #, no-wrap
  47485. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  47486. msgstr ""
  47487. #. type: deftypevr
  47488. #: guix-git/doc/guix.texi:32200
  47489. 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."
  47490. msgstr ""
  47491. #. type: deftypevr
  47492. #: guix-git/doc/guix.texi:32205
  47493. #, no-wrap
  47494. msgid "{@code{cgit-configuration} parameter} file-object readme"
  47495. msgstr ""
  47496. #. type: deftypevr
  47497. #: guix-git/doc/guix.texi:32207
  47498. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  47499. msgstr ""
  47500. #. type: deftypevr
  47501. #: guix-git/doc/guix.texi:32212
  47502. #, no-wrap
  47503. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  47504. msgstr ""
  47505. #. type: deftypevr
  47506. #: guix-git/doc/guix.texi:32216
  47507. 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."
  47508. msgstr ""
  47509. #. type: deftypevr
  47510. #: guix-git/doc/guix.texi:32221
  47511. #, no-wrap
  47512. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  47513. msgstr ""
  47514. #. type: deftypevr
  47515. #: guix-git/doc/guix.texi:32223
  47516. msgid "Maximum number of files to consider when detecting renames."
  47517. msgstr ""
  47518. #. type: deftypevr
  47519. #: guix-git/doc/guix.texi:32228
  47520. #, no-wrap
  47521. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  47522. msgstr ""
  47523. #. type: deftypevr
  47524. #: guix-git/doc/guix.texi:32230
  47525. msgid "The way in which repositories in each section are sorted."
  47526. msgstr ""
  47527. #. type: deftypevr
  47528. #: guix-git/doc/guix.texi:32235
  47529. #, no-wrap
  47530. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  47531. msgstr ""
  47532. #. type: deftypevr
  47533. #: guix-git/doc/guix.texi:32237
  47534. msgid "Text used as content for the @code{robots} meta-tag."
  47535. msgstr ""
  47536. #. type: deftypevr
  47537. #: guix-git/doc/guix.texi:32239
  47538. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  47539. msgstr ""
  47540. #. type: deftypevr
  47541. #: guix-git/doc/guix.texi:32242
  47542. #, no-wrap
  47543. msgid "{@code{cgit-configuration} parameter} string root-desc"
  47544. msgstr ""
  47545. #. type: deftypevr
  47546. #: guix-git/doc/guix.texi:32244
  47547. msgid "Text printed below the heading on the repository index page."
  47548. msgstr ""
  47549. #. type: deftypevr
  47550. #: guix-git/doc/guix.texi:32246
  47551. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  47552. msgstr ""
  47553. #. type: deftypevr
  47554. #: guix-git/doc/guix.texi:32249
  47555. #, no-wrap
  47556. msgid "{@code{cgit-configuration} parameter} string root-readme"
  47557. msgstr ""
  47558. #. type: deftypevr
  47559. #: guix-git/doc/guix.texi:32252
  47560. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  47561. msgstr ""
  47562. #. type: deftypevr
  47563. #: guix-git/doc/guix.texi:32257
  47564. #, no-wrap
  47565. msgid "{@code{cgit-configuration} parameter} string root-title"
  47566. msgstr ""
  47567. #. type: deftypevr
  47568. #: guix-git/doc/guix.texi:32259
  47569. msgid "Text printed as heading on the repository index page."
  47570. msgstr ""
  47571. #. type: deftypevr
  47572. #: guix-git/doc/guix.texi:32264
  47573. #, no-wrap
  47574. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  47575. msgstr ""
  47576. #. type: deftypevr
  47577. #: guix-git/doc/guix.texi:32270
  47578. 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."
  47579. msgstr ""
  47580. #. type: deftypevr
  47581. #: guix-git/doc/guix.texi:32275
  47582. #, no-wrap
  47583. msgid "{@code{cgit-configuration} parameter} list snapshots"
  47584. msgstr ""
  47585. #. type: deftypevr
  47586. #: guix-git/doc/guix.texi:32278
  47587. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  47588. msgstr ""
  47589. #. type: deftypevr
  47590. #: guix-git/doc/guix.texi:32283
  47591. #, no-wrap
  47592. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  47593. msgstr ""
  47594. #. type: deftypevr
  47595. #: guix-git/doc/guix.texi:32286
  47596. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  47597. msgstr ""
  47598. #. type: deftypevr
  47599. #: guix-git/doc/guix.texi:32288
  47600. msgid "Defaults to @samp{\"/srv/git\"}."
  47601. msgstr ""
  47602. #. type: deftypevr
  47603. #: guix-git/doc/guix.texi:32291
  47604. #, no-wrap
  47605. msgid "{@code{cgit-configuration} parameter} string section"
  47606. msgstr ""
  47607. #. type: deftypevr
  47608. #: guix-git/doc/guix.texi:32294 guix-git/doc/guix.texi:32610
  47609. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  47610. msgstr ""
  47611. #. type: deftypevr
  47612. #: guix-git/doc/guix.texi:32299
  47613. #, no-wrap
  47614. msgid "{@code{cgit-configuration} parameter} string section-sort"
  47615. msgstr ""
  47616. #. type: deftypevr
  47617. #: guix-git/doc/guix.texi:32302
  47618. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  47619. msgstr ""
  47620. #. type: deftypevr
  47621. #: guix-git/doc/guix.texi:32307
  47622. #, no-wrap
  47623. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  47624. msgstr ""
  47625. #. type: deftypevr
  47626. #: guix-git/doc/guix.texi:32310
  47627. 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."
  47628. msgstr ""
  47629. #. type: deftypevr
  47630. #: guix-git/doc/guix.texi:32315
  47631. #, no-wrap
  47632. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  47633. msgstr ""
  47634. #. type: deftypevr
  47635. #: guix-git/doc/guix.texi:32318
  47636. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  47637. msgstr ""
  47638. #. type: deftypevr
  47639. #: guix-git/doc/guix.texi:32323
  47640. #, no-wrap
  47641. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  47642. msgstr ""
  47643. #. type: deftypevr
  47644. #: guix-git/doc/guix.texi:32326
  47645. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  47646. msgstr ""
  47647. #. type: deftypevr
  47648. #: guix-git/doc/guix.texi:32331
  47649. #, no-wrap
  47650. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  47651. msgstr ""
  47652. #. type: deftypevr
  47653. #: guix-git/doc/guix.texi:32334
  47654. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  47655. msgstr ""
  47656. #. type: deftypevr
  47657. #: guix-git/doc/guix.texi:32339
  47658. #, no-wrap
  47659. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  47660. msgstr ""
  47661. #. type: deftypevr
  47662. #: guix-git/doc/guix.texi:32342
  47663. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  47664. msgstr ""
  47665. #. type: deftypevr
  47666. #: guix-git/doc/guix.texi:32347
  47667. #, no-wrap
  47668. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  47669. msgstr ""
  47670. #. type: deftypevr
  47671. #: guix-git/doc/guix.texi:32350
  47672. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  47673. msgstr ""
  47674. #. type: deftypevr
  47675. #: guix-git/doc/guix.texi:32355
  47676. #, no-wrap
  47677. msgid "{@code{cgit-configuration} parameter} string strict-export"
  47678. msgstr ""
  47679. #. type: deftypevr
  47680. #: guix-git/doc/guix.texi:32358
  47681. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  47682. msgstr ""
  47683. #. type: deftypevr
  47684. #: guix-git/doc/guix.texi:32363
  47685. #, no-wrap
  47686. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  47687. msgstr ""
  47688. #. type: deftypevr
  47689. #: guix-git/doc/guix.texi:32365
  47690. msgid "URL which, if specified, will be used as root for all cgit links."
  47691. msgstr ""
  47692. #. type: deftypevr
  47693. #: guix-git/doc/guix.texi:32367
  47694. msgid "Defaults to @samp{\"/\"}."
  47695. msgstr ""
  47696. #. type: deftypevr
  47697. #: guix-git/doc/guix.texi:32370
  47698. #, no-wrap
  47699. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  47700. msgstr ""
  47701. #. type: deftypevr
  47702. #: guix-git/doc/guix.texi:32372
  47703. msgid "A list of @dfn{cgit-repo} records to use with config."
  47704. msgstr ""
  47705. #. type: deftypevr
  47706. #: guix-git/doc/guix.texi:32376
  47707. msgid "Available @code{repository-cgit-configuration} fields are:"
  47708. msgstr ""
  47709. #. type: deftypevr
  47710. #: guix-git/doc/guix.texi:32377
  47711. #, no-wrap
  47712. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  47713. msgstr ""
  47714. #. type: deftypevr
  47715. #: guix-git/doc/guix.texi:32380
  47716. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  47717. msgstr ""
  47718. #. type: deftypevr
  47719. #: guix-git/doc/guix.texi:32385
  47720. #, no-wrap
  47721. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  47722. msgstr ""
  47723. #. type: deftypevr
  47724. #: guix-git/doc/guix.texi:32387
  47725. msgid "Override the default @code{source-filter}."
  47726. msgstr ""
  47727. #. type: deftypevr
  47728. #: guix-git/doc/guix.texi:32392
  47729. #, no-wrap
  47730. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  47731. msgstr ""
  47732. #. type: deftypevr
  47733. #: guix-git/doc/guix.texi:32394
  47734. msgid "The relative URL used to access the repository."
  47735. msgstr ""
  47736. #. type: deftypevr
  47737. #: guix-git/doc/guix.texi:32399
  47738. #, no-wrap
  47739. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  47740. msgstr ""
  47741. #. type: deftypevr
  47742. #: guix-git/doc/guix.texi:32401
  47743. msgid "Override the default @code{about-filter}."
  47744. msgstr ""
  47745. #. type: deftypevr
  47746. #: guix-git/doc/guix.texi:32406
  47747. #, no-wrap
  47748. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  47749. msgstr ""
  47750. #. type: deftypevr
  47751. #: guix-git/doc/guix.texi:32409
  47752. 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."
  47753. msgstr ""
  47754. #. type: deftypevr
  47755. #: guix-git/doc/guix.texi:32414
  47756. #, no-wrap
  47757. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  47758. msgstr ""
  47759. #. type: deftypevr
  47760. #: guix-git/doc/guix.texi:32416
  47761. msgid "A list of URLs which can be used to clone repo."
  47762. msgstr ""
  47763. #. type: deftypevr
  47764. #: guix-git/doc/guix.texi:32421
  47765. #, no-wrap
  47766. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  47767. msgstr ""
  47768. #. type: deftypevr
  47769. #: guix-git/doc/guix.texi:32423
  47770. msgid "Override the default @code{commit-filter}."
  47771. msgstr ""
  47772. #. type: deftypevr
  47773. #: guix-git/doc/guix.texi:32428
  47774. #, no-wrap
  47775. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  47776. msgstr ""
  47777. #. type: deftypevr
  47778. #: guix-git/doc/guix.texi:32437
  47779. #, no-wrap
  47780. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  47781. msgstr ""
  47782. #. type: deftypevr
  47783. #: guix-git/doc/guix.texi:32442
  47784. 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."
  47785. msgstr ""
  47786. #. type: deftypevr
  47787. #: guix-git/doc/guix.texi:32447
  47788. #, no-wrap
  47789. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  47790. msgstr ""
  47791. #. type: deftypevr
  47792. #: guix-git/doc/guix.texi:32449
  47793. msgid "The value to show as repository description."
  47794. msgstr ""
  47795. #. type: deftypevr
  47796. #: guix-git/doc/guix.texi:32454
  47797. #, no-wrap
  47798. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  47799. msgstr ""
  47800. #. type: deftypevr
  47801. #: guix-git/doc/guix.texi:32456
  47802. msgid "The value to show as repository homepage."
  47803. msgstr ""
  47804. #. type: deftypevr
  47805. #: guix-git/doc/guix.texi:32461
  47806. #, no-wrap
  47807. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  47808. msgstr ""
  47809. #. type: deftypevr
  47810. #: guix-git/doc/guix.texi:32463
  47811. msgid "Override the default @code{email-filter}."
  47812. msgstr ""
  47813. #. type: deftypevr
  47814. #: guix-git/doc/guix.texi:32468
  47815. #, no-wrap
  47816. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  47817. msgstr ""
  47818. #. type: deftypevr
  47819. #: guix-git/doc/guix.texi:32471
  47820. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  47821. msgstr ""
  47822. #. type: deftypevr
  47823. #: guix-git/doc/guix.texi:32476
  47824. #, no-wrap
  47825. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  47826. msgstr ""
  47827. #. type: deftypevr
  47828. #: guix-git/doc/guix.texi:32479
  47829. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  47830. msgstr ""
  47831. #. type: deftypevr
  47832. #: guix-git/doc/guix.texi:32484
  47833. #, no-wrap
  47834. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  47835. msgstr ""
  47836. #. type: deftypevr
  47837. #: guix-git/doc/guix.texi:32487
  47838. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  47839. msgstr ""
  47840. #. type: deftypevr
  47841. #: guix-git/doc/guix.texi:32492
  47842. #, no-wrap
  47843. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  47844. msgstr ""
  47845. #. type: deftypevr
  47846. #: guix-git/doc/guix.texi:32500
  47847. #, no-wrap
  47848. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  47849. msgstr ""
  47850. #. type: deftypevr
  47851. #: guix-git/doc/guix.texi:32503
  47852. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  47853. msgstr ""
  47854. #. type: deftypevr
  47855. #: guix-git/doc/guix.texi:32508
  47856. #, no-wrap
  47857. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  47858. msgstr ""
  47859. #. type: deftypevr
  47860. #: guix-git/doc/guix.texi:32511
  47861. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  47862. msgstr ""
  47863. #. type: deftypevr
  47864. #: guix-git/doc/guix.texi:32516
  47865. #, no-wrap
  47866. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  47867. msgstr ""
  47868. #. type: deftypevr
  47869. #: guix-git/doc/guix.texi:32519
  47870. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  47871. msgstr ""
  47872. #. type: deftypevr
  47873. #: guix-git/doc/guix.texi:32524
  47874. #, no-wrap
  47875. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  47876. msgstr ""
  47877. #. type: deftypevr
  47878. #: guix-git/doc/guix.texi:32526
  47879. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  47880. msgstr ""
  47881. #. type: deftypevr
  47882. #: guix-git/doc/guix.texi:32531
  47883. #, no-wrap
  47884. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  47885. msgstr ""
  47886. #. type: deftypevr
  47887. #: guix-git/doc/guix.texi:32534
  47888. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  47889. msgstr ""
  47890. #. type: deftypevr
  47891. #: guix-git/doc/guix.texi:32539
  47892. #, no-wrap
  47893. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  47894. msgstr ""
  47895. #. type: deftypevr
  47896. #: guix-git/doc/guix.texi:32546
  47897. #, no-wrap
  47898. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  47899. msgstr ""
  47900. #. type: deftypevr
  47901. #: guix-git/doc/guix.texi:32548
  47902. msgid "Override the default @code{owner-filter}."
  47903. msgstr ""
  47904. #. type: deftypevr
  47905. #: guix-git/doc/guix.texi:32553
  47906. #, no-wrap
  47907. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  47908. msgstr ""
  47909. #. type: deftypevr
  47910. #: guix-git/doc/guix.texi:32557
  47911. 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."
  47912. msgstr ""
  47913. #. type: deftypevr
  47914. #: guix-git/doc/guix.texi:32562
  47915. #, no-wrap
  47916. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  47917. msgstr ""
  47918. #. type: deftypevr
  47919. #: guix-git/doc/guix.texi:32566
  47920. 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."
  47921. msgstr ""
  47922. #. type: deftypevr
  47923. #: guix-git/doc/guix.texi:32571
  47924. #, no-wrap
  47925. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  47926. msgstr ""
  47927. #. type: deftypevr
  47928. #: guix-git/doc/guix.texi:32573
  47929. msgid "Override the default maximum statistics period."
  47930. msgstr ""
  47931. #. type: deftypevr
  47932. #: guix-git/doc/guix.texi:32578
  47933. #, no-wrap
  47934. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  47935. msgstr ""
  47936. #. type: deftypevr
  47937. #: guix-git/doc/guix.texi:32580
  47938. msgid "The value to show as repository name."
  47939. msgstr ""
  47940. #. type: deftypevr
  47941. #: guix-git/doc/guix.texi:32585
  47942. #, no-wrap
  47943. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  47944. msgstr ""
  47945. #. type: deftypevr
  47946. #: guix-git/doc/guix.texi:32587
  47947. msgid "A value used to identify the owner of the repository."
  47948. msgstr ""
  47949. #. type: deftypevr
  47950. #: guix-git/doc/guix.texi:32592
  47951. #, no-wrap
  47952. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  47953. msgstr ""
  47954. #. type: deftypevr
  47955. #: guix-git/doc/guix.texi:32594
  47956. msgid "An absolute path to the repository directory."
  47957. msgstr ""
  47958. #. type: deftypevr
  47959. #: guix-git/doc/guix.texi:32599
  47960. #, no-wrap
  47961. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  47962. msgstr ""
  47963. #. type: deftypevr
  47964. #: guix-git/doc/guix.texi:32602
  47965. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  47966. msgstr ""
  47967. #. type: deftypevr
  47968. #: guix-git/doc/guix.texi:32607
  47969. #, no-wrap
  47970. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  47971. msgstr ""
  47972. #. type: deftypevr
  47973. #: guix-git/doc/guix.texi:32615
  47974. #, no-wrap
  47975. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  47976. msgstr ""
  47977. #. type: deftypevr
  47978. #: guix-git/doc/guix.texi:32617 guix-git/doc/guix.texi:32626
  47979. msgid "Extra options will be appended to cgitrc file."
  47980. msgstr ""
  47981. #. type: deftypevr
  47982. #: guix-git/doc/guix.texi:32624
  47983. #, no-wrap
  47984. msgid "{@code{cgit-configuration} parameter} list extra-options"
  47985. msgstr ""
  47986. #. type: Plain text
  47987. #: guix-git/doc/guix.texi:32638
  47988. 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."
  47989. msgstr ""
  47990. #. type: Plain text
  47991. #: guix-git/doc/guix.texi:32640
  47992. msgid "Available @code{opaque-cgit-configuration} fields are:"
  47993. msgstr ""
  47994. #. type: deftypevr
  47995. #: guix-git/doc/guix.texi:32641
  47996. #, no-wrap
  47997. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  47998. msgstr ""
  47999. #. type: deftypevr
  48000. #: guix-git/doc/guix.texi:32643
  48001. msgid "The cgit package."
  48002. msgstr ""
  48003. #. type: deftypevr
  48004. #: guix-git/doc/guix.texi:32645
  48005. #, no-wrap
  48006. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  48007. msgstr ""
  48008. #. type: deftypevr
  48009. #: guix-git/doc/guix.texi:32647
  48010. msgid "The contents of the @code{cgitrc}, as a string."
  48011. msgstr ""
  48012. #. type: Plain text
  48013. #: guix-git/doc/guix.texi:32651
  48014. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  48015. msgstr ""
  48016. #. type: lisp
  48017. #: guix-git/doc/guix.texi:32656
  48018. #, no-wrap
  48019. msgid ""
  48020. "(service cgit-service-type\n"
  48021. " (opaque-cgit-configuration\n"
  48022. " (cgitrc \"\")))\n"
  48023. msgstr ""
  48024. #. type: subsubheading
  48025. #: guix-git/doc/guix.texi:32658
  48026. #, no-wrap
  48027. msgid "Gitolite Service"
  48028. msgstr ""
  48029. #. type: cindex
  48030. #: guix-git/doc/guix.texi:32660
  48031. #, no-wrap
  48032. msgid "Gitolite service"
  48033. msgstr ""
  48034. #. type: cindex
  48035. #: guix-git/doc/guix.texi:32661
  48036. #, no-wrap
  48037. msgid "Git, hosting"
  48038. msgstr ""
  48039. #. type: Plain text
  48040. #: guix-git/doc/guix.texi:32664
  48041. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  48042. msgstr ""
  48043. #. type: Plain text
  48044. #: guix-git/doc/guix.texi:32667
  48045. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  48046. msgstr ""
  48047. #. type: Plain text
  48048. #: guix-git/doc/guix.texi:32670
  48049. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  48050. msgstr ""
  48051. #. type: lisp
  48052. #: guix-git/doc/guix.texi:32677
  48053. #, no-wrap
  48054. msgid ""
  48055. "(service gitolite-service-type\n"
  48056. " (gitolite-configuration\n"
  48057. " (admin-pubkey (plain-file\n"
  48058. " \"yourname.pub\"\n"
  48059. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  48060. msgstr ""
  48061. #. type: Plain text
  48062. #: guix-git/doc/guix.texi:32682
  48063. 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."
  48064. msgstr ""
  48065. #. type: example
  48066. #: guix-git/doc/guix.texi:32685
  48067. #, no-wrap
  48068. msgid "git clone git@@example.com:gitolite-admin\n"
  48069. msgstr ""
  48070. #. type: Plain text
  48071. #: guix-git/doc/guix.texi:32691
  48072. 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''."
  48073. msgstr ""
  48074. #. type: deftp
  48075. #: guix-git/doc/guix.texi:32692
  48076. #, no-wrap
  48077. msgid "{Data Type} gitolite-configuration"
  48078. msgstr ""
  48079. #. type: deftp
  48080. #: guix-git/doc/guix.texi:32694
  48081. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  48082. msgstr ""
  48083. #. type: item
  48084. #: guix-git/doc/guix.texi:32696
  48085. #, no-wrap
  48086. msgid "@code{package} (default: @var{gitolite})"
  48087. msgstr ""
  48088. #. type: table
  48089. #: guix-git/doc/guix.texi:32698
  48090. msgid "Gitolite package to use."
  48091. msgstr ""
  48092. #. type: item
  48093. #: guix-git/doc/guix.texi:32699
  48094. #, no-wrap
  48095. msgid "@code{user} (default: @var{git})"
  48096. msgstr ""
  48097. #. type: table
  48098. #: guix-git/doc/guix.texi:32702
  48099. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  48100. msgstr ""
  48101. #. type: item
  48102. #: guix-git/doc/guix.texi:32703
  48103. #, no-wrap
  48104. msgid "@code{group} (default: @var{git})"
  48105. msgstr ""
  48106. #. type: table
  48107. #: guix-git/doc/guix.texi:32705
  48108. msgid "Group to use for Gitolite."
  48109. msgstr ""
  48110. #. type: item
  48111. #: guix-git/doc/guix.texi:32706
  48112. #, no-wrap
  48113. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  48114. msgstr ""
  48115. #. type: table
  48116. #: guix-git/doc/guix.texi:32708
  48117. msgid "Directory in which to store the Gitolite configuration and repositories."
  48118. msgstr ""
  48119. #. type: item
  48120. #: guix-git/doc/guix.texi:32709
  48121. #, no-wrap
  48122. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  48123. msgstr ""
  48124. #. type: table
  48125. #: guix-git/doc/guix.texi:32712
  48126. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  48127. msgstr ""
  48128. #. type: item
  48129. #: guix-git/doc/guix.texi:32713
  48130. #, no-wrap
  48131. msgid "@code{admin-pubkey} (default: @var{#f})"
  48132. msgstr ""
  48133. #. type: table
  48134. #: guix-git/doc/guix.texi:32717
  48135. 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."
  48136. msgstr ""
  48137. #. type: table
  48138. #: guix-git/doc/guix.texi:32719
  48139. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  48140. msgstr ""
  48141. #. type: lisp
  48142. #: guix-git/doc/guix.texi:32722
  48143. #, no-wrap
  48144. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  48145. msgstr ""
  48146. #. type: deftp
  48147. #: guix-git/doc/guix.texi:32727
  48148. #, no-wrap
  48149. msgid "{Data Type} gitolite-rc-file"
  48150. msgstr ""
  48151. #. type: deftp
  48152. #: guix-git/doc/guix.texi:32729
  48153. msgid "Data type representing the Gitolite RC file."
  48154. msgstr ""
  48155. #. type: item
  48156. #: guix-git/doc/guix.texi:32731
  48157. #, no-wrap
  48158. msgid "@code{umask} (default: @code{#o0077})"
  48159. msgstr ""
  48160. #. type: table
  48161. #: guix-git/doc/guix.texi:32734
  48162. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  48163. msgstr ""
  48164. #. type: table
  48165. #: guix-git/doc/guix.texi:32738
  48166. 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."
  48167. msgstr ""
  48168. #. type: item
  48169. #: guix-git/doc/guix.texi:32739
  48170. #, no-wrap
  48171. msgid "@code{unsafe-pattern} (default: @code{#f})"
  48172. msgstr ""
  48173. #. type: table
  48174. #: guix-git/doc/guix.texi:32744
  48175. 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."
  48176. msgstr ""
  48177. #. type: table
  48178. #: guix-git/doc/guix.texi:32751
  48179. 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."
  48180. msgstr ""
  48181. #. type: item
  48182. #: guix-git/doc/guix.texi:32752
  48183. #, no-wrap
  48184. msgid "@code{git-config-keys} (default: @code{\"\"})"
  48185. msgstr ""
  48186. #. type: table
  48187. #: guix-git/doc/guix.texi:32755
  48188. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  48189. msgstr ""
  48190. #. type: item
  48191. #: guix-git/doc/guix.texi:32756
  48192. #, no-wrap
  48193. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  48194. msgstr ""
  48195. #. type: table
  48196. #: guix-git/doc/guix.texi:32758
  48197. msgid "Set the role names allowed to be used by users running the perms command."
  48198. msgstr ""
  48199. #. type: item
  48200. #: guix-git/doc/guix.texi:32759
  48201. #, no-wrap
  48202. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  48203. msgstr ""
  48204. #. type: table
  48205. #: guix-git/doc/guix.texi:32761
  48206. msgid "This setting controls the commands and features to enable within Gitolite."
  48207. msgstr ""
  48208. #. type: subsubheading
  48209. #: guix-git/doc/guix.texi:32766
  48210. #, no-wrap
  48211. msgid "Gitile Service"
  48212. msgstr ""
  48213. #. type: cindex
  48214. #: guix-git/doc/guix.texi:32768
  48215. #, no-wrap
  48216. msgid "Gitile service"
  48217. msgstr ""
  48218. #. type: cindex
  48219. #: guix-git/doc/guix.texi:32769
  48220. #, no-wrap
  48221. msgid "Git, forge"
  48222. msgstr ""
  48223. #. type: Plain text
  48224. #: guix-git/doc/guix.texi:32772
  48225. msgid "@uref{https://git.lepiller.eu/gitile, Gitile} is a Git forge for viewing public git repository contents from a web browser."
  48226. msgstr ""
  48227. #. type: Plain text
  48228. #: guix-git/doc/guix.texi:32778
  48229. 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})."
  48230. msgstr ""
  48231. #. type: Plain text
  48232. #: guix-git/doc/guix.texi:32782
  48233. 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."
  48234. msgstr ""
  48235. #. type: lisp
  48236. #: guix-git/doc/guix.texi:32805
  48237. #, no-wrap
  48238. msgid ""
  48239. "(service gitile-service-type\n"
  48240. " (gitile-configuration\n"
  48241. " (repositories \"/srv/git\")\n"
  48242. " (base-git-url \"https://myweb.site/git\")\n"
  48243. " (index-title \"My git repositories\")\n"
  48244. " (intro '((p \"This is all my public work!\")))\n"
  48245. " (footer '((p \"This is the end\")))\n"
  48246. " (nginx-server-block\n"
  48247. " (nginx-server-configuration\n"
  48248. " (ssl-certificate\n"
  48249. " \"/etc/letsencrypt/live/myweb.site/fullchain.pem\")\n"
  48250. " (ssl-certificate-key\n"
  48251. " \"/etc/letsencrypt/live/myweb.site/privkey.pem\")\n"
  48252. " (listen '(\"443 ssl http2\" \"[::]:443 ssl http2\"))\n"
  48253. " (locations\n"
  48254. " (list\n"
  48255. " ;; Allow for https anonymous fetch on /git/ urls.\n"
  48256. " (git-http-nginx-location-configuration\n"
  48257. " (git-http-configuration\n"
  48258. " (uri-path \"/git/\")\n"
  48259. " (git-root \"/var/lib/gitolite/repositories\")))))))))\n"
  48260. msgstr ""
  48261. #. type: Plain text
  48262. #: guix-git/doc/guix.texi:32814
  48263. 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:"
  48264. msgstr ""
  48265. #. type: example
  48266. #: guix-git/doc/guix.texi:32818
  48267. #, no-wrap
  48268. msgid ""
  48269. "repo foo\n"
  48270. " R = daemon\n"
  48271. msgstr ""
  48272. #. type: Plain text
  48273. #: guix-git/doc/guix.texi:32824
  48274. 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}:"
  48275. msgstr ""
  48276. #. type: example
  48277. #: guix-git/doc/guix.texi:32831
  48278. #, no-wrap
  48279. msgid ""
  48280. "repo foo\n"
  48281. " R = daemon\n"
  48282. " desc = A long description, optionally with <i>HTML</i>, shown on the index page\n"
  48283. " config gitweb.name = The Foo Project\n"
  48284. " config gitweb.synopsis = A short description, shown on the main page of the project\n"
  48285. msgstr ""
  48286. #. type: Plain text
  48287. #: guix-git/doc/guix.texi:32837
  48288. 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:"
  48289. msgstr ""
  48290. #. type: lisp
  48291. #: guix-git/doc/guix.texi:32849
  48292. #, no-wrap
  48293. msgid ""
  48294. "(service gitolite-service-type\n"
  48295. " (gitolite-configuration\n"
  48296. " (admin-pubkey (local-file \"key.pub\"))\n"
  48297. " (rc-file\n"
  48298. " (gitolite-rc-file\n"
  48299. " (umask #o0027)\n"
  48300. " ;; Allow to set any configuration key\n"
  48301. " (git-config-keys \".*\")\n"
  48302. " ;; Allow any text as a valid configuration value\n"
  48303. " (unsafe-patt \"^$\")))))\n"
  48304. msgstr ""
  48305. #. type: deftp
  48306. #: guix-git/doc/guix.texi:32851
  48307. #, no-wrap
  48308. msgid "{Data Type} gitile-configuration"
  48309. msgstr ""
  48310. #. type: deftp
  48311. #: guix-git/doc/guix.texi:32853
  48312. msgid "Data type representing the configuration for @code{gitile-service-type}."
  48313. msgstr ""
  48314. #. type: item
  48315. #: guix-git/doc/guix.texi:32855
  48316. #, no-wrap
  48317. msgid "@code{package} (default: @var{gitile})"
  48318. msgstr ""
  48319. #. type: table
  48320. #: guix-git/doc/guix.texi:32857
  48321. msgid "Gitile package to use."
  48322. msgstr ""
  48323. #. type: table
  48324. #: guix-git/doc/guix.texi:32860
  48325. msgid "The host on which gitile is listening."
  48326. msgstr ""
  48327. #. type: item
  48328. #: guix-git/doc/guix.texi:32861
  48329. #, no-wrap
  48330. msgid "@code{port} (default: @code{8080})"
  48331. msgstr ""
  48332. #. type: table
  48333. #: guix-git/doc/guix.texi:32863
  48334. msgid "The port on which gitile is listening."
  48335. msgstr ""
  48336. #. type: item
  48337. #: guix-git/doc/guix.texi:32864
  48338. #, no-wrap
  48339. msgid "@code{database} (default: @code{\"/var/lib/gitile/gitile-db.sql\"})"
  48340. msgstr ""
  48341. #. type: table
  48342. #: guix-git/doc/guix.texi:32866
  48343. msgid "The location of the database."
  48344. msgstr ""
  48345. #. type: item
  48346. #: guix-git/doc/guix.texi:32867
  48347. #, no-wrap
  48348. msgid "@code{repositories} (default: @code{\"/var/lib/gitolite/repositories\"})"
  48349. msgstr ""
  48350. #. type: table
  48351. #: guix-git/doc/guix.texi:32871
  48352. 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."
  48353. msgstr ""
  48354. #. type: code{#1}
  48355. #: guix-git/doc/guix.texi:32872
  48356. #, no-wrap
  48357. msgid "base-git-url"
  48358. msgstr ""
  48359. #. type: table
  48360. #: guix-git/doc/guix.texi:32874
  48361. msgid "The base git url that will be used to show clone commands."
  48362. msgstr ""
  48363. #. type: item
  48364. #: guix-git/doc/guix.texi:32875
  48365. #, no-wrap
  48366. msgid "@code{index-title} (default: @code{\"Index\"})"
  48367. msgstr ""
  48368. #. type: table
  48369. #: guix-git/doc/guix.texi:32877
  48370. msgid "The page title for the index page that lists all the available repositories."
  48371. msgstr ""
  48372. #. type: item
  48373. #: guix-git/doc/guix.texi:32878
  48374. #, no-wrap
  48375. msgid "@code{intro} (default: @code{'()})"
  48376. msgstr ""
  48377. #. type: table
  48378. #: guix-git/doc/guix.texi:32881
  48379. msgid "The intro content, as a list of sxml expressions. This is shown above the list of repositories, on the index page."
  48380. msgstr ""
  48381. #. type: item
  48382. #: guix-git/doc/guix.texi:32882
  48383. #, no-wrap
  48384. msgid "@code{footer} (default: @code{'()})"
  48385. msgstr ""
  48386. #. type: table
  48387. #: guix-git/doc/guix.texi:32885
  48388. msgid "The footer content, as a list of sxml expressions. This is shown on every page served by Gitile."
  48389. msgstr ""
  48390. #. type: code{#1}
  48391. #: guix-git/doc/guix.texi:32886
  48392. #, no-wrap
  48393. msgid "nginx-server-block"
  48394. msgstr ""
  48395. #. type: table
  48396. #: guix-git/doc/guix.texi:32889
  48397. 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."
  48398. msgstr ""
  48399. #. type: table
  48400. #: guix-git/doc/guix.texi:32893
  48401. 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."
  48402. msgstr ""
  48403. #. type: subsubheading
  48404. #: guix-git/doc/guix.texi:32900
  48405. #, no-wrap
  48406. msgid "The Battle for Wesnoth Service"
  48407. msgstr ""
  48408. #. type: cindex
  48409. #: guix-git/doc/guix.texi:32901
  48410. #, no-wrap
  48411. msgid "wesnothd"
  48412. msgstr ""
  48413. #. type: Plain text
  48414. #: guix-git/doc/guix.texi:32905
  48415. 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)."
  48416. msgstr ""
  48417. #. type: defvar
  48418. #: guix-git/doc/guix.texi:32906
  48419. #, no-wrap
  48420. msgid "{Scheme Variable} wesnothd-service-type"
  48421. msgstr ""
  48422. #. type: defvar
  48423. #: guix-git/doc/guix.texi:32910
  48424. 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:"
  48425. msgstr ""
  48426. #. type: lisp
  48427. #: guix-git/doc/guix.texi:32913
  48428. #, no-wrap
  48429. msgid "(service wesnothd-service-type)\n"
  48430. msgstr ""
  48431. #. type: deftp
  48432. #: guix-git/doc/guix.texi:32916
  48433. #, no-wrap
  48434. msgid "{Data Type} wesnothd-configuration"
  48435. msgstr ""
  48436. #. type: deftp
  48437. #: guix-git/doc/guix.texi:32918
  48438. msgid "Data type representing the configuration of @command{wesnothd}."
  48439. msgstr ""
  48440. #. type: item
  48441. #: guix-git/doc/guix.texi:32920
  48442. #, no-wrap
  48443. msgid "@code{package} (default: @code{wesnoth-server})"
  48444. msgstr ""
  48445. #. type: table
  48446. #: guix-git/doc/guix.texi:32922
  48447. msgid "The wesnoth server package to use."
  48448. msgstr ""
  48449. #. type: item
  48450. #: guix-git/doc/guix.texi:32923
  48451. #, no-wrap
  48452. msgid "@code{port} (default: @code{15000})"
  48453. msgstr ""
  48454. #. type: table
  48455. #: guix-git/doc/guix.texi:32925
  48456. msgid "The port to bind the server to."
  48457. msgstr ""
  48458. #. type: cindex
  48459. #: guix-git/doc/guix.texi:32931
  48460. #, no-wrap
  48461. msgid "pam-mount"
  48462. msgstr ""
  48463. #. type: Plain text
  48464. #: guix-git/doc/guix.texi:32936
  48465. 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."
  48466. msgstr ""
  48467. #. type: defvar
  48468. #: guix-git/doc/guix.texi:32937
  48469. #, no-wrap
  48470. msgid "{Scheme Variable} pam-mount-service-type"
  48471. msgstr ""
  48472. #. type: defvar
  48473. #: guix-git/doc/guix.texi:32939
  48474. msgid "Service type for PAM Mount support."
  48475. msgstr ""
  48476. #. type: deftp
  48477. #: guix-git/doc/guix.texi:32941
  48478. #, no-wrap
  48479. msgid "{Data Type} pam-mount-configuration"
  48480. msgstr ""
  48481. #. type: deftp
  48482. #: guix-git/doc/guix.texi:32943
  48483. msgid "Data type representing the configuration of PAM Mount."
  48484. msgstr ""
  48485. #. type: code{#1}
  48486. #: guix-git/doc/guix.texi:32947
  48487. #, no-wrap
  48488. msgid "rules"
  48489. msgstr ""
  48490. #. type: table
  48491. #: guix-git/doc/guix.texi:32950
  48492. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  48493. msgstr ""
  48494. #. type: table
  48495. #: guix-git/doc/guix.texi:32954
  48496. 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:"
  48497. msgstr ""
  48498. #. type: lisp
  48499. #: guix-git/doc/guix.texi:32969
  48500. #, no-wrap
  48501. msgid ""
  48502. "`((debug (@@ (enable \"0\")))\n"
  48503. " (mntoptions (@@ (allow ,(string-join\n"
  48504. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  48505. " \"encryption\" \"fsck\" \"nonempty\"\n"
  48506. " \"allow_root\" \"allow_other\")\n"
  48507. " \",\"))))\n"
  48508. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  48509. " (logout (@@ (wait \"0\")\n"
  48510. " (hup \"0\")\n"
  48511. " (term \"no\")\n"
  48512. " (kill \"no\")))\n"
  48513. " (mkmountpoint (@@ (enable \"1\")\n"
  48514. " (remove \"true\"))))\n"
  48515. msgstr ""
  48516. #. type: table
  48517. #: guix-git/doc/guix.texi:32975
  48518. 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:"
  48519. msgstr ""
  48520. #. type: lisp
  48521. #: guix-git/doc/guix.texi:33000
  48522. #, no-wrap
  48523. msgid ""
  48524. "(define pam-mount-rules\n"
  48525. "`((debug (@@ (enable \"0\")))\n"
  48526. " (volume (@@ (user \"alice\")\n"
  48527. " (fstype \"crypt\")\n"
  48528. " (path \"/dev/sda2\")\n"
  48529. " (mountpoint \"/home/alice\")))\n"
  48530. " (volume (@@ (user \"bob\")\n"
  48531. " (fstype \"auto\")\n"
  48532. " (path \"/dev/sdb3\")\n"
  48533. " (mountpoint \"/home/bob/data\")\n"
  48534. " (options \"defaults,autodefrag,compress\")))\n"
  48535. " (mntoptions (@@ (allow ,(string-join\n"
  48536. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  48537. " \"encryption\" \"fsck\" \"nonempty\"\n"
  48538. " \"allow_root\" \"allow_other\")\n"
  48539. " \",\"))))\n"
  48540. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  48541. " (logout (@@ (wait \"0\")\n"
  48542. " (hup \"0\")\n"
  48543. " (term \"no\")\n"
  48544. " (kill \"no\")))\n"
  48545. " (mkmountpoint (@@ (enable \"1\")\n"
  48546. " (remove \"true\")))))\n"
  48547. "\n"
  48548. msgstr ""
  48549. #. type: lisp
  48550. #: guix-git/doc/guix.texi:33004
  48551. #, no-wrap
  48552. msgid ""
  48553. "(service pam-mount-service-type\n"
  48554. " (pam-mount-configuration\n"
  48555. " (rules pam-mount-rules)))\n"
  48556. msgstr ""
  48557. #. type: table
  48558. #: guix-git/doc/guix.texi:33008
  48559. 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}."
  48560. msgstr ""
  48561. #. type: subsubheading
  48562. #: guix-git/doc/guix.texi:33015
  48563. #, no-wrap
  48564. msgid "Guix Build Coordinator"
  48565. msgstr ""
  48566. #. type: Plain text
  48567. #: guix-git/doc/guix.texi:33021
  48568. 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."
  48569. msgstr ""
  48570. #. type: Plain text
  48571. #: guix-git/doc/guix.texi:33027
  48572. 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."
  48573. msgstr ""
  48574. #. type: Plain text
  48575. #: guix-git/doc/guix.texi:33031
  48576. 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."
  48577. msgstr ""
  48578. #. type: defvar
  48579. #: guix-git/doc/guix.texi:33032
  48580. #, no-wrap
  48581. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  48582. msgstr ""
  48583. #. type: defvar
  48584. #: guix-git/doc/guix.texi:33035
  48585. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  48586. msgstr ""
  48587. #. type: deftp
  48588. #: guix-git/doc/guix.texi:33037
  48589. #, no-wrap
  48590. msgid "{Data Type} guix-build-coordinator-configuration"
  48591. msgstr ""
  48592. #. type: deftp
  48593. #: guix-git/doc/guix.texi:33039
  48594. msgid "Data type representing the configuration of the Guix Build Coordinator."
  48595. msgstr ""
  48596. #. type: item
  48597. #: guix-git/doc/guix.texi:33041 guix-git/doc/guix.texi:33211
  48598. #, no-wrap
  48599. msgid "@code{package} (default: @code{guix-build-coordinator})"
  48600. msgstr ""
  48601. #. type: table
  48602. #: guix-git/doc/guix.texi:33043 guix-git/doc/guix.texi:33087
  48603. #: guix-git/doc/guix.texi:33213
  48604. msgid "The Guix Build Coordinator package to use."
  48605. msgstr ""
  48606. #. type: item
  48607. #: guix-git/doc/guix.texi:33044
  48608. #, no-wrap
  48609. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  48610. msgstr ""
  48611. #. type: table
  48612. #: guix-git/doc/guix.texi:33046 guix-git/doc/guix.texi:33090
  48613. #: guix-git/doc/guix.texi:33216 guix-git/doc/guix.texi:33262
  48614. msgid "The system user to run the service as."
  48615. msgstr ""
  48616. #. type: item
  48617. #: guix-git/doc/guix.texi:33047
  48618. #, no-wrap
  48619. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  48620. msgstr ""
  48621. #. type: table
  48622. #: guix-git/doc/guix.texi:33049 guix-git/doc/guix.texi:33265
  48623. msgid "The system group to run the service as."
  48624. msgstr ""
  48625. #. type: item
  48626. #: guix-git/doc/guix.texi:33050
  48627. #, no-wrap
  48628. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  48629. msgstr ""
  48630. #. type: table
  48631. #: guix-git/doc/guix.texi:33052
  48632. msgid "The URI to use for the database."
  48633. msgstr ""
  48634. #. type: item
  48635. #: guix-git/doc/guix.texi:33053
  48636. #, no-wrap
  48637. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  48638. msgstr ""
  48639. #. type: table
  48640. #: guix-git/doc/guix.texi:33055
  48641. msgid "The URI describing how to listen to requests from agent processes."
  48642. msgstr ""
  48643. #. type: item
  48644. #: guix-git/doc/guix.texi:33056
  48645. #, no-wrap
  48646. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  48647. msgstr ""
  48648. #. type: table
  48649. #: guix-git/doc/guix.texi:33060
  48650. 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."
  48651. msgstr ""
  48652. #. type: item
  48653. #: guix-git/doc/guix.texi:33061
  48654. #, no-wrap
  48655. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  48656. msgstr ""
  48657. #. type: table
  48658. #: guix-git/doc/guix.texi:33065
  48659. 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."
  48660. msgstr ""
  48661. #. type: item
  48662. #: guix-git/doc/guix.texi:33066
  48663. #, no-wrap
  48664. msgid "@code{hooks} (default: @var{'()})"
  48665. msgstr ""
  48666. #. type: table
  48667. #: guix-git/doc/guix.texi:33069
  48668. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  48669. msgstr ""
  48670. #. type: item
  48671. #: guix-git/doc/guix.texi:33070
  48672. #, no-wrap
  48673. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  48674. msgstr ""
  48675. #. type: table
  48676. #: guix-git/doc/guix.texi:33072
  48677. msgid "The Guile package with which to run the Guix Build Coordinator."
  48678. msgstr ""
  48679. #. type: defvar
  48680. #: guix-git/doc/guix.texi:33076
  48681. #, no-wrap
  48682. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  48683. msgstr ""
  48684. #. type: defvar
  48685. #: guix-git/doc/guix.texi:33079
  48686. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  48687. msgstr ""
  48688. #. type: deftp
  48689. #: guix-git/doc/guix.texi:33081
  48690. #, no-wrap
  48691. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  48692. msgstr ""
  48693. #. type: deftp
  48694. #: guix-git/doc/guix.texi:33083
  48695. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  48696. msgstr ""
  48697. #. type: item
  48698. #: guix-git/doc/guix.texi:33085
  48699. #, no-wrap
  48700. msgid "@code{package} (default: @code{guix-build-coordinator/agent-only})"
  48701. msgstr ""
  48702. #. type: item
  48703. #: guix-git/doc/guix.texi:33088
  48704. #, no-wrap
  48705. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  48706. msgstr ""
  48707. #. type: item
  48708. #: guix-git/doc/guix.texi:33091
  48709. #, no-wrap
  48710. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  48711. msgstr ""
  48712. #. type: table
  48713. #: guix-git/doc/guix.texi:33093 guix-git/doc/guix.texi:33219
  48714. msgid "The URI to use when connecting to the coordinator."
  48715. msgstr ""
  48716. #. type: code{#1}
  48717. #: guix-git/doc/guix.texi:33094
  48718. #, no-wrap
  48719. msgid "authentication"
  48720. msgstr ""
  48721. #. type: table
  48722. #: guix-git/doc/guix.texi:33097
  48723. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  48724. msgstr ""
  48725. #. type: item
  48726. #: guix-git/doc/guix.texi:33098 guix-git/doc/guix.texi:33220
  48727. #, no-wrap
  48728. msgid "@code{systems} (default: @code{#f})"
  48729. msgstr ""
  48730. #. type: table
  48731. #: guix-git/doc/guix.texi:33101
  48732. 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."
  48733. msgstr ""
  48734. #. type: item
  48735. #: guix-git/doc/guix.texi:33102
  48736. #, no-wrap
  48737. msgid "@code{max-parallel-builds} (default: @code{1})"
  48738. msgstr ""
  48739. #. type: table
  48740. #: guix-git/doc/guix.texi:33104
  48741. msgid "The number of builds to perform in parallel."
  48742. msgstr ""
  48743. #. type: item
  48744. #: guix-git/doc/guix.texi:33105
  48745. #, no-wrap
  48746. msgid "@code{max-1min-load-average} (default: @code{#f})"
  48747. msgstr ""
  48748. #. type: table
  48749. #: guix-git/doc/guix.texi:33109
  48750. 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."
  48751. msgstr ""
  48752. #. type: table
  48753. #: guix-git/doc/guix.texi:33113
  48754. 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."
  48755. msgstr ""
  48756. #. type: item
  48757. #: guix-git/doc/guix.texi:33114
  48758. #, no-wrap
  48759. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  48760. msgstr ""
  48761. #. type: table
  48762. #: guix-git/doc/guix.texi:33117
  48763. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  48764. msgstr ""
  48765. #. type: item
  48766. #: guix-git/doc/guix.texi:33118
  48767. #, no-wrap
  48768. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  48769. msgstr ""
  48770. #. type: table
  48771. #: guix-git/doc/guix.texi:33121
  48772. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  48773. msgstr ""
  48774. #. type: deftp
  48775. #: guix-git/doc/guix.texi:33125
  48776. #, no-wrap
  48777. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  48778. msgstr ""
  48779. #. type: deftp
  48780. #: guix-git/doc/guix.texi:33128
  48781. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  48782. msgstr ""
  48783. #. type: table
  48784. #: guix-git/doc/guix.texi:33134 guix-git/doc/guix.texi:33150
  48785. 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."
  48786. msgstr ""
  48787. #. type: table
  48788. #: guix-git/doc/guix.texi:33137
  48789. msgid "The password to use when connecting to the coordinator."
  48790. msgstr ""
  48791. #. type: deftp
  48792. #: guix-git/doc/guix.texi:33141
  48793. #, no-wrap
  48794. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  48795. msgstr ""
  48796. #. type: deftp
  48797. #: guix-git/doc/guix.texi:33144
  48798. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  48799. msgstr ""
  48800. #. type: code{#1}
  48801. #: guix-git/doc/guix.texi:33151
  48802. #, no-wrap
  48803. msgid "password-file"
  48804. msgstr ""
  48805. #. type: table
  48806. #: guix-git/doc/guix.texi:33154
  48807. msgid "A file containing the password to use when connecting to the coordinator."
  48808. msgstr ""
  48809. #. type: deftp
  48810. #: guix-git/doc/guix.texi:33158
  48811. #, no-wrap
  48812. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  48813. msgstr ""
  48814. #. type: deftp
  48815. #: guix-git/doc/guix.texi:33161
  48816. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  48817. msgstr ""
  48818. #. type: code{#1}
  48819. #: guix-git/doc/guix.texi:33163 guix-git/doc/guix.texi:33180
  48820. #, fuzzy, no-wrap
  48821. msgid "agent-name"
  48822. msgstr "نام بسته"
  48823. #. type: table
  48824. #: guix-git/doc/guix.texi:33167 guix-git/doc/guix.texi:33184
  48825. 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."
  48826. msgstr ""
  48827. #. type: code{#1}
  48828. #: guix-git/doc/guix.texi:33168
  48829. #, no-wrap
  48830. msgid "token"
  48831. msgstr ""
  48832. #. type: table
  48833. #: guix-git/doc/guix.texi:33171
  48834. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  48835. msgstr ""
  48836. #. type: deftp
  48837. #: guix-git/doc/guix.texi:33175
  48838. #, no-wrap
  48839. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  48840. msgstr ""
  48841. #. type: deftp
  48842. #: guix-git/doc/guix.texi:33178
  48843. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  48844. msgstr ""
  48845. #. type: code{#1}
  48846. #: guix-git/doc/guix.texi:33185
  48847. #, no-wrap
  48848. msgid "token-file"
  48849. msgstr ""
  48850. #. type: table
  48851. #: guix-git/doc/guix.texi:33188
  48852. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  48853. msgstr ""
  48854. #. type: Plain text
  48855. #: guix-git/doc/guix.texi:33198
  48856. 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."
  48857. msgstr ""
  48858. #. type: defvar
  48859. #: guix-git/doc/guix.texi:33199
  48860. #, no-wrap
  48861. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  48862. msgstr ""
  48863. #. type: defvar
  48864. #: guix-git/doc/guix.texi:33204
  48865. 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."
  48866. msgstr ""
  48867. #. type: deftp
  48868. #: guix-git/doc/guix.texi:33206
  48869. #, no-wrap
  48870. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  48871. msgstr ""
  48872. #. type: deftp
  48873. #: guix-git/doc/guix.texi:33209
  48874. msgid "Data type representing the options to the queue builds from guix data service script."
  48875. msgstr ""
  48876. #. type: item
  48877. #: guix-git/doc/guix.texi:33214
  48878. #, no-wrap
  48879. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  48880. msgstr ""
  48881. #. type: item
  48882. #: guix-git/doc/guix.texi:33217
  48883. #, no-wrap
  48884. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  48885. msgstr ""
  48886. #. type: table
  48887. #: guix-git/doc/guix.texi:33222
  48888. msgid "The systems for which to fetch derivations to build."
  48889. msgstr ""
  48890. #. type: item
  48891. #: guix-git/doc/guix.texi:33223
  48892. #, no-wrap
  48893. msgid "@code{systems-and-targets} (default: @code{#f})"
  48894. msgstr ""
  48895. #. type: table
  48896. #: guix-git/doc/guix.texi:33226
  48897. msgid "An association list of system and target pairs for which to fetch derivations to build."
  48898. msgstr ""
  48899. #. type: item
  48900. #: guix-git/doc/guix.texi:33227
  48901. #, no-wrap
  48902. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  48903. msgstr ""
  48904. #. type: table
  48905. #: guix-git/doc/guix.texi:33230
  48906. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  48907. msgstr ""
  48908. #. type: item
  48909. #: guix-git/doc/guix.texi:33231
  48910. #, no-wrap
  48911. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  48912. msgstr ""
  48913. #. type: table
  48914. #: guix-git/doc/guix.texi:33234
  48915. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  48916. msgstr ""
  48917. #. type: subsubheading
  48918. #: guix-git/doc/guix.texi:33238
  48919. #, no-wrap
  48920. msgid "Guix Data Service"
  48921. msgstr ""
  48922. #. type: Plain text
  48923. #: guix-git/doc/guix.texi:33242
  48924. 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."
  48925. msgstr ""
  48926. #. type: Plain text
  48927. #: guix-git/doc/guix.texi:33245
  48928. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  48929. msgstr ""
  48930. #. type: defvar
  48931. #: guix-git/doc/guix.texi:33246
  48932. #, no-wrap
  48933. msgid "{Scheme Variable} guix-data-service-type"
  48934. msgstr ""
  48935. #. type: defvar
  48936. #: guix-git/doc/guix.texi:33251
  48937. 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."
  48938. msgstr ""
  48939. #. type: deftp
  48940. #: guix-git/doc/guix.texi:33253
  48941. #, no-wrap
  48942. msgid "{Data Type} guix-data-service-configuration"
  48943. msgstr ""
  48944. #. type: deftp
  48945. #: guix-git/doc/guix.texi:33255
  48946. msgid "Data type representing the configuration of the Guix Data Service."
  48947. msgstr ""
  48948. #. type: item
  48949. #: guix-git/doc/guix.texi:33257
  48950. #, no-wrap
  48951. msgid "@code{package} (default: @code{guix-data-service})"
  48952. msgstr ""
  48953. #. type: table
  48954. #: guix-git/doc/guix.texi:33259
  48955. msgid "The Guix Data Service package to use."
  48956. msgstr ""
  48957. #. type: item
  48958. #: guix-git/doc/guix.texi:33260
  48959. #, no-wrap
  48960. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  48961. msgstr ""
  48962. #. type: item
  48963. #: guix-git/doc/guix.texi:33263
  48964. #, no-wrap
  48965. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  48966. msgstr ""
  48967. #. type: item
  48968. #: guix-git/doc/guix.texi:33266
  48969. #, no-wrap
  48970. msgid "@code{port} (default: @code{8765})"
  48971. msgstr ""
  48972. #. type: table
  48973. #: guix-git/doc/guix.texi:33268
  48974. msgid "The port to bind the web service to."
  48975. msgstr ""
  48976. #. type: item
  48977. #: guix-git/doc/guix.texi:33269
  48978. #, no-wrap
  48979. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  48980. msgstr ""
  48981. #. type: table
  48982. #: guix-git/doc/guix.texi:33271
  48983. msgid "The host to bind the web service to."
  48984. msgstr ""
  48985. #. type: item
  48986. #: guix-git/doc/guix.texi:33272
  48987. #, no-wrap
  48988. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  48989. msgstr ""
  48990. #. type: table
  48991. #: guix-git/doc/guix.texi:33275
  48992. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  48993. msgstr ""
  48994. #. type: item
  48995. #: guix-git/doc/guix.texi:33276
  48996. #, no-wrap
  48997. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  48998. msgstr ""
  48999. #. type: table
  49000. #: guix-git/doc/guix.texi:33280
  49001. 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."
  49002. msgstr ""
  49003. #. type: item
  49004. #: guix-git/doc/guix.texi:33281
  49005. #, no-wrap
  49006. msgid "@code{extra-options} (default: @var{'()})"
  49007. msgstr ""
  49008. #. type: table
  49009. #: guix-git/doc/guix.texi:33283
  49010. msgid "Extra command line options for @code{guix-data-service}."
  49011. msgstr ""
  49012. #. type: item
  49013. #: guix-git/doc/guix.texi:33284
  49014. #, no-wrap
  49015. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  49016. msgstr ""
  49017. #. type: table
  49018. #: guix-git/doc/guix.texi:33286
  49019. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  49020. msgstr ""
  49021. #. type: cindex
  49022. #: guix-git/doc/guix.texi:33293
  49023. #, no-wrap
  49024. msgid "oom"
  49025. msgstr ""
  49026. #. type: cindex
  49027. #: guix-git/doc/guix.texi:33294
  49028. #, no-wrap
  49029. msgid "out of memory killer"
  49030. msgstr ""
  49031. #. type: cindex
  49032. #: guix-git/doc/guix.texi:33295
  49033. #, no-wrap
  49034. msgid "earlyoom"
  49035. msgstr ""
  49036. #. type: cindex
  49037. #: guix-git/doc/guix.texi:33296
  49038. #, no-wrap
  49039. msgid "early out of memory daemon"
  49040. msgstr ""
  49041. #. type: subsubheading
  49042. #: guix-git/doc/guix.texi:33297
  49043. #, no-wrap
  49044. msgid "Early OOM Service"
  49045. msgstr ""
  49046. #. type: Plain text
  49047. #: guix-git/doc/guix.texi:33304
  49048. 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."
  49049. msgstr ""
  49050. #. type: deffn
  49051. #: guix-git/doc/guix.texi:33305
  49052. #, no-wrap
  49053. msgid "{Scheme Variable} earlyoom-service-type"
  49054. msgstr ""
  49055. #. type: deffn
  49056. #: guix-git/doc/guix.texi:33310
  49057. 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:"
  49058. msgstr ""
  49059. #. type: lisp
  49060. #: guix-git/doc/guix.texi:33313
  49061. #, no-wrap
  49062. msgid "(service earlyoom-service-type)\n"
  49063. msgstr ""
  49064. #. type: deftp
  49065. #: guix-git/doc/guix.texi:33316
  49066. #, no-wrap
  49067. msgid "{Data Type} earlyoom-configuration"
  49068. msgstr ""
  49069. #. type: deftp
  49070. #: guix-git/doc/guix.texi:33318
  49071. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  49072. msgstr ""
  49073. #. type: item
  49074. #: guix-git/doc/guix.texi:33320
  49075. #, no-wrap
  49076. msgid "@code{earlyoom} (default: @var{earlyoom})"
  49077. msgstr ""
  49078. #. type: table
  49079. #: guix-git/doc/guix.texi:33322
  49080. msgid "The Earlyoom package to use."
  49081. msgstr ""
  49082. #. type: item
  49083. #: guix-git/doc/guix.texi:33323
  49084. #, no-wrap
  49085. msgid "@code{minimum-available-memory} (default: @code{10})"
  49086. msgstr ""
  49087. #. type: table
  49088. #: guix-git/doc/guix.texi:33325
  49089. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  49090. msgstr ""
  49091. #. type: item
  49092. #: guix-git/doc/guix.texi:33326
  49093. #, no-wrap
  49094. msgid "@code{minimum-free-swap} (default: @code{10})"
  49095. msgstr ""
  49096. #. type: table
  49097. #: guix-git/doc/guix.texi:33328
  49098. msgid "The threshold for the minimum free swap memory, in percentages."
  49099. msgstr ""
  49100. #. type: item
  49101. #: guix-git/doc/guix.texi:33329
  49102. #, no-wrap
  49103. msgid "@code{prefer-regexp} (default: @code{#f})"
  49104. msgstr ""
  49105. #. type: table
  49106. #: guix-git/doc/guix.texi:33332
  49107. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  49108. msgstr ""
  49109. #. type: item
  49110. #: guix-git/doc/guix.texi:33333
  49111. #, no-wrap
  49112. msgid "@code{avoid-regexp} (default: @code{#f})"
  49113. msgstr ""
  49114. #. type: table
  49115. #: guix-git/doc/guix.texi:33336
  49116. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  49117. msgstr ""
  49118. #. type: item
  49119. #: guix-git/doc/guix.texi:33337
  49120. #, no-wrap
  49121. msgid "@code{memory-report-interval} (default: @code{0})"
  49122. msgstr ""
  49123. #. type: table
  49124. #: guix-git/doc/guix.texi:33340
  49125. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  49126. msgstr ""
  49127. #. type: item
  49128. #: guix-git/doc/guix.texi:33341
  49129. #, no-wrap
  49130. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  49131. msgstr ""
  49132. #. type: table
  49133. #: guix-git/doc/guix.texi:33344
  49134. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  49135. msgstr ""
  49136. #. type: item
  49137. #: guix-git/doc/guix.texi:33345
  49138. #, no-wrap
  49139. msgid "@code{show-debug-messages?} (default: @code{#f})"
  49140. msgstr ""
  49141. #. type: table
  49142. #: guix-git/doc/guix.texi:33348
  49143. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  49144. msgstr ""
  49145. #. type: item
  49146. #: guix-git/doc/guix.texi:33349
  49147. #, no-wrap
  49148. msgid "@code{send-notification-command} (default: @code{#f})"
  49149. msgstr ""
  49150. #. type: table
  49151. #: guix-git/doc/guix.texi:33352
  49152. msgid "This can be used to provide a custom command used for sending notifications."
  49153. msgstr ""
  49154. #. type: cindex
  49155. #: guix-git/doc/guix.texi:33355
  49156. #, no-wrap
  49157. msgid "modprobe"
  49158. msgstr ""
  49159. #. type: cindex
  49160. #: guix-git/doc/guix.texi:33356
  49161. #, no-wrap
  49162. msgid "kernel module loader"
  49163. msgstr ""
  49164. #. type: subsubheading
  49165. #: guix-git/doc/guix.texi:33357
  49166. #, no-wrap
  49167. msgid "Kernel Module Loader Service"
  49168. msgstr ""
  49169. #. type: Plain text
  49170. #: guix-git/doc/guix.texi:33363
  49171. 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}."
  49172. msgstr ""
  49173. #. type: deffn
  49174. #: guix-git/doc/guix.texi:33364
  49175. #, no-wrap
  49176. msgid "{Scheme Variable} kernel-module-loader-service-type"
  49177. msgstr ""
  49178. #. type: deffn
  49179. #: guix-git/doc/guix.texi:33370
  49180. 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:"
  49181. msgstr ""
  49182. #. type: lisp
  49183. #: guix-git/doc/guix.texi:33375
  49184. #, no-wrap
  49185. msgid ""
  49186. "(use-modules (gnu) (gnu services))\n"
  49187. "(use-package-modules linux)\n"
  49188. "(use-service-modules linux)\n"
  49189. "\n"
  49190. msgstr ""
  49191. #. type: lisp
  49192. #: guix-git/doc/guix.texi:33379
  49193. #, no-wrap
  49194. msgid ""
  49195. "(define ddcci-config\n"
  49196. " (plain-file \"ddcci.conf\"\n"
  49197. " \"options ddcci dyndbg delay=120\"))\n"
  49198. "\n"
  49199. msgstr ""
  49200. #. type: lisp
  49201. #: guix-git/doc/guix.texi:33389
  49202. #, no-wrap
  49203. msgid ""
  49204. "(operating-system\n"
  49205. " ...\n"
  49206. " (services (cons* (service kernel-module-loader-service-type\n"
  49207. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  49208. " (simple-service 'ddcci-config etc-service-type\n"
  49209. " (list `(\"modprobe.d/ddcci.conf\"\n"
  49210. " ,ddcci-config)))\n"
  49211. " %base-services))\n"
  49212. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  49213. msgstr ""
  49214. #. type: cindex
  49215. #: guix-git/doc/guix.texi:33392
  49216. #, no-wrap
  49217. msgid "rasdaemon"
  49218. msgstr ""
  49219. #. type: cindex
  49220. #: guix-git/doc/guix.texi:33393
  49221. #, no-wrap
  49222. msgid "Platform Reliability, Availability and Serviceability daemon"
  49223. msgstr ""
  49224. #. type: subsubheading
  49225. #: guix-git/doc/guix.texi:33394
  49226. #, no-wrap
  49227. msgid "Rasdaemon Service"
  49228. msgstr ""
  49229. #. type: Plain text
  49230. #: guix-git/doc/guix.texi:33399
  49231. 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."
  49232. msgstr ""
  49233. #. type: Plain text
  49234. #: guix-git/doc/guix.texi:33402
  49235. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  49236. msgstr ""
  49237. #. type: Plain text
  49238. #: guix-git/doc/guix.texi:33405
  49239. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  49240. msgstr ""
  49241. #. type: item
  49242. #: guix-git/doc/guix.texi:33407
  49243. #, no-wrap
  49244. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  49245. msgstr ""
  49246. #. type: item
  49247. #: guix-git/doc/guix.texi:33408
  49248. #, no-wrap
  49249. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  49250. msgstr ""
  49251. #. type: itemize
  49252. #: guix-git/doc/guix.texi:33410
  49253. msgid "faults"
  49254. msgstr ""
  49255. #. type: Plain text
  49256. #: guix-git/doc/guix.texi:33414
  49257. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  49258. msgstr ""
  49259. #. type: item
  49260. #: guix-git/doc/guix.texi:33416
  49261. #, no-wrap
  49262. msgid "Generally measured as a percentage of downtime per a period of time, and"
  49263. msgstr ""
  49264. #. type: item
  49265. #: guix-git/doc/guix.texi:33417
  49266. #, no-wrap
  49267. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  49268. msgstr ""
  49269. #. type: Plain text
  49270. #: guix-git/doc/guix.texi:33422
  49271. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  49272. msgstr ""
  49273. #. type: item
  49274. #: guix-git/doc/guix.texi:33424
  49275. #, no-wrap
  49276. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  49277. msgstr ""
  49278. #. type: Plain text
  49279. #: guix-git/doc/guix.texi:33429
  49280. msgid "Among the monitoring measures, the most usual ones include:"
  49281. msgstr ""
  49282. #. type: item
  49283. #: guix-git/doc/guix.texi:33431
  49284. #, no-wrap
  49285. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  49286. msgstr ""
  49287. #. type: item
  49288. #: guix-git/doc/guix.texi:33432
  49289. #, no-wrap
  49290. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  49291. msgstr ""
  49292. #. type: item
  49293. #: guix-git/doc/guix.texi:33433
  49294. #, no-wrap
  49295. msgid "I/O – add CRC checksums for transferred data;"
  49296. msgstr ""
  49297. #. type: item
  49298. #: guix-git/doc/guix.texi:33434
  49299. #, no-wrap
  49300. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  49301. msgstr ""
  49302. #. type: itemize
  49303. #: guix-git/doc/guix.texi:33436
  49304. msgid "Analysis and Reporting Technology (SMART)."
  49305. msgstr ""
  49306. #. type: Plain text
  49307. #: guix-git/doc/guix.texi:33442
  49308. 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."
  49309. msgstr ""
  49310. #. type: Plain text
  49311. #: guix-git/doc/guix.texi:33446
  49312. 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}."
  49313. msgstr ""
  49314. #. type: defvr
  49315. #: guix-git/doc/guix.texi:33447
  49316. #, no-wrap
  49317. msgid "{Scheme Variable} rasdaemon-service-type"
  49318. msgstr ""
  49319. #. type: defvr
  49320. #: guix-git/doc/guix.texi:33450
  49321. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  49322. msgstr ""
  49323. #. type: lisp
  49324. #: guix-git/doc/guix.texi:33453
  49325. #, no-wrap
  49326. msgid "(service rasdaemon-service-type)\n"
  49327. msgstr ""
  49328. #. type: defvr
  49329. #: guix-git/doc/guix.texi:33457
  49330. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  49331. msgstr ""
  49332. #. type: deftp
  49333. #: guix-git/doc/guix.texi:33459
  49334. #, no-wrap
  49335. msgid "{Data Type} rasdaemon-configuration"
  49336. msgstr ""
  49337. #. type: deftp
  49338. #: guix-git/doc/guix.texi:33461
  49339. msgid "The data type representing the configuration of @command{rasdaemon}."
  49340. msgstr ""
  49341. #. type: item
  49342. #: guix-git/doc/guix.texi:33463
  49343. #, no-wrap
  49344. msgid "@code{record?} (default: @code{#f})"
  49345. msgstr ""
  49346. #. type: table
  49347. #: guix-git/doc/guix.texi:33468
  49348. 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}."
  49349. msgstr ""
  49350. #. type: cindex
  49351. #: guix-git/doc/guix.texi:33472
  49352. #, no-wrap
  49353. msgid "zram"
  49354. msgstr ""
  49355. #. type: cindex
  49356. #: guix-git/doc/guix.texi:33473
  49357. #, no-wrap
  49358. msgid "compressed swap"
  49359. msgstr ""
  49360. #. type: cindex
  49361. #: guix-git/doc/guix.texi:33474
  49362. #, no-wrap
  49363. msgid "Compressed RAM-based block devices"
  49364. msgstr ""
  49365. #. type: subsubheading
  49366. #: guix-git/doc/guix.texi:33475
  49367. #, no-wrap
  49368. msgid "Zram Device Service"
  49369. msgstr ""
  49370. #. type: Plain text
  49371. #: guix-git/doc/guix.texi:33481
  49372. 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."
  49373. msgstr ""
  49374. #. type: deffn
  49375. #: guix-git/doc/guix.texi:33482
  49376. #, no-wrap
  49377. msgid "{Scheme Variable} zram-device-service-type"
  49378. msgstr ""
  49379. #. type: deffn
  49380. #: guix-git/doc/guix.texi:33486
  49381. 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."
  49382. msgstr ""
  49383. #. type: deftp
  49384. #: guix-git/doc/guix.texi:33487
  49385. #, no-wrap
  49386. msgid "{Data Type} zram-device-configuration"
  49387. msgstr ""
  49388. #. type: deftp
  49389. #: guix-git/doc/guix.texi:33490
  49390. msgid "This is the data type representing the configuration for the zram-device service."
  49391. msgstr ""
  49392. #. type: item
  49393. #: guix-git/doc/guix.texi:33492
  49394. #, no-wrap
  49395. msgid "@code{size} (default @code{\"1G\"})"
  49396. msgstr ""
  49397. #. type: table
  49398. #: guix-git/doc/guix.texi:33496
  49399. 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}."
  49400. msgstr ""
  49401. #. type: item
  49402. #: guix-git/doc/guix.texi:33496
  49403. #, no-wrap
  49404. msgid "@code{compression-algorithm} (default @code{'lzo})"
  49405. msgstr ""
  49406. #. type: table
  49407. #: guix-git/doc/guix.texi:33500
  49408. 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}."
  49409. msgstr ""
  49410. #. type: item
  49411. #: guix-git/doc/guix.texi:33500
  49412. #, no-wrap
  49413. msgid "@code{memory-limit} (default @code{0})"
  49414. msgstr ""
  49415. #. type: table
  49416. #: guix-git/doc/guix.texi:33507
  49417. 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\"}."
  49418. msgstr ""
  49419. #. type: item
  49420. #: guix-git/doc/guix.texi:33507
  49421. #, no-wrap
  49422. msgid "@code{priority} (default @code{-1})"
  49423. msgstr ""
  49424. #. type: table
  49425. #: guix-git/doc/guix.texi:33512
  49426. 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."
  49427. msgstr ""
  49428. #. type: defvr
  49429. #: guix-git/doc/guix.texi:33520
  49430. #, no-wrap
  49431. msgid "{Scheme Variable} hurd-console-service-type"
  49432. msgstr ""
  49433. #. type: defvr
  49434. #: guix-git/doc/guix.texi:33522
  49435. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  49436. msgstr ""
  49437. #. type: defvr
  49438. #: guix-git/doc/guix.texi:33524
  49439. msgid "The service's value is a @code{hurd-console-configuration} record."
  49440. msgstr ""
  49441. #. type: deftp
  49442. #: guix-git/doc/guix.texi:33526
  49443. #, no-wrap
  49444. msgid "{Data Type} hurd-console-configuration"
  49445. msgstr ""
  49446. #. type: deftp
  49447. #: guix-git/doc/guix.texi:33529
  49448. msgid "This is the data type representing the configuration for the hurd-console-service."
  49449. msgstr ""
  49450. #. type: item
  49451. #: guix-git/doc/guix.texi:33531 guix-git/doc/guix.texi:33547
  49452. #, no-wrap
  49453. msgid "@code{hurd} (default: @var{hurd})"
  49454. msgstr ""
  49455. #. type: table
  49456. #: guix-git/doc/guix.texi:33533 guix-git/doc/guix.texi:33549
  49457. msgid "The Hurd package to use."
  49458. msgstr ""
  49459. #. type: defvr
  49460. #: guix-git/doc/guix.texi:33536
  49461. #, no-wrap
  49462. msgid "{Scheme Variable} hurd-getty-service-type"
  49463. msgstr ""
  49464. #. type: defvr
  49465. #: guix-git/doc/guix.texi:33538
  49466. msgid "This service starts a tty using the Hurd @code{getty} program."
  49467. msgstr ""
  49468. #. type: defvr
  49469. #: guix-git/doc/guix.texi:33540
  49470. msgid "The service's value is a @code{hurd-getty-configuration} record."
  49471. msgstr ""
  49472. #. type: deftp
  49473. #: guix-git/doc/guix.texi:33542
  49474. #, no-wrap
  49475. msgid "{Data Type} hurd-getty-configuration"
  49476. msgstr ""
  49477. #. type: deftp
  49478. #: guix-git/doc/guix.texi:33545
  49479. msgid "This is the data type representing the configuration for the hurd-getty-service."
  49480. msgstr ""
  49481. #. type: table
  49482. #: guix-git/doc/guix.texi:33552
  49483. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  49484. msgstr ""
  49485. #. type: item
  49486. #: guix-git/doc/guix.texi:33553
  49487. #, no-wrap
  49488. msgid "@code{baud-rate} (default: @code{38400})"
  49489. msgstr ""
  49490. #. type: table
  49491. #: guix-git/doc/guix.texi:33555
  49492. msgid "An integer specifying the baud rate of the tty."
  49493. msgstr ""
  49494. #. type: cindex
  49495. #: guix-git/doc/guix.texi:33562
  49496. #, no-wrap
  49497. msgid "fingerprint"
  49498. msgstr ""
  49499. #. type: subsubheading
  49500. #: guix-git/doc/guix.texi:33563
  49501. #, no-wrap
  49502. msgid "Fingerprint Service"
  49503. msgstr ""
  49504. #. type: Plain text
  49505. #: guix-git/doc/guix.texi:33567
  49506. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  49507. msgstr ""
  49508. #. type: defvr
  49509. #: guix-git/doc/guix.texi:33568
  49510. #, no-wrap
  49511. msgid "{Scheme Variable} fprintd-service-type"
  49512. msgstr ""
  49513. #. type: defvr
  49514. #: guix-git/doc/guix.texi:33571
  49515. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  49516. msgstr ""
  49517. #. type: lisp
  49518. #: guix-git/doc/guix.texi:33574
  49519. #, no-wrap
  49520. msgid "(service fprintd-service-type)\n"
  49521. msgstr ""
  49522. #. type: cindex
  49523. #: guix-git/doc/guix.texi:33577
  49524. #, no-wrap
  49525. msgid "sysctl"
  49526. msgstr ""
  49527. #. type: subsubheading
  49528. #: guix-git/doc/guix.texi:33578
  49529. #, no-wrap
  49530. msgid "System Control Service"
  49531. msgstr ""
  49532. #. type: Plain text
  49533. #: guix-git/doc/guix.texi:33582
  49534. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  49535. msgstr ""
  49536. #. type: defvr
  49537. #: guix-git/doc/guix.texi:33583
  49538. #, no-wrap
  49539. msgid "{Scheme Variable} sysctl-service-type"
  49540. msgstr ""
  49541. #. type: defvr
  49542. #: guix-git/doc/guix.texi:33587
  49543. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  49544. msgstr ""
  49545. #. type: lisp
  49546. #: guix-git/doc/guix.texi:33592
  49547. #, no-wrap
  49548. msgid ""
  49549. "(service sysctl-service-type\n"
  49550. " (sysctl-configuration\n"
  49551. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  49552. msgstr ""
  49553. #. type: defvr
  49554. #: guix-git/doc/guix.texi:33599
  49555. 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}})."
  49556. msgstr ""
  49557. #. type: lisp
  49558. #: guix-git/doc/guix.texi:33606
  49559. #, no-wrap
  49560. msgid ""
  49561. "(modify-services %base-services\n"
  49562. " (sysctl-service-type config =>\n"
  49563. " (sysctl-configuration\n"
  49564. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  49565. " %default-sysctl-settings)))))\n"
  49566. msgstr ""
  49567. #. type: deftp
  49568. #: guix-git/doc/guix.texi:33610
  49569. #, no-wrap
  49570. msgid "{Data Type} sysctl-configuration"
  49571. msgstr ""
  49572. #. type: deftp
  49573. #: guix-git/doc/guix.texi:33612
  49574. msgid "The data type representing the configuration of @command{sysctl}."
  49575. msgstr ""
  49576. #. type: item
  49577. #: guix-git/doc/guix.texi:33614
  49578. #, no-wrap
  49579. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  49580. msgstr ""
  49581. #. type: table
  49582. #: guix-git/doc/guix.texi:33616
  49583. msgid "The @command{sysctl} executable to use."
  49584. msgstr ""
  49585. #. type: item
  49586. #: guix-git/doc/guix.texi:33617
  49587. #, no-wrap
  49588. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  49589. msgstr ""
  49590. #. type: table
  49591. #: guix-git/doc/guix.texi:33619
  49592. msgid "An association list specifies kernel parameters and their values."
  49593. msgstr ""
  49594. #. type: defvr
  49595. #: guix-git/doc/guix.texi:33622
  49596. #, no-wrap
  49597. msgid "{Scheme Variable} %default-sysctl-settings"
  49598. msgstr ""
  49599. #. type: defvr
  49600. #: guix-git/doc/guix.texi:33625
  49601. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  49602. msgstr ""
  49603. #. type: cindex
  49604. #: guix-git/doc/guix.texi:33627
  49605. #, no-wrap
  49606. msgid "pcscd"
  49607. msgstr ""
  49608. #. type: subsubheading
  49609. #: guix-git/doc/guix.texi:33628
  49610. #, no-wrap
  49611. msgid "PC/SC Smart Card Daemon Service"
  49612. msgstr ""
  49613. #. type: Plain text
  49614. #: guix-git/doc/guix.texi:33635
  49615. 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."
  49616. msgstr ""
  49617. #. type: defvr
  49618. #: guix-git/doc/guix.texi:33636
  49619. #, no-wrap
  49620. msgid "{Scheme Variable} pcscd-service-type"
  49621. msgstr ""
  49622. #. type: defvr
  49623. #: guix-git/doc/guix.texi:33640
  49624. 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:"
  49625. msgstr ""
  49626. #. type: lisp
  49627. #: guix-git/doc/guix.texi:33643
  49628. #, no-wrap
  49629. msgid "(service pcscd-service-type)\n"
  49630. msgstr ""
  49631. #. type: deftp
  49632. #: guix-git/doc/guix.texi:33646
  49633. #, no-wrap
  49634. msgid "{Data Type} pcscd-configuration"
  49635. msgstr ""
  49636. #. type: deftp
  49637. #: guix-git/doc/guix.texi:33648
  49638. msgid "The data type representing the configuration of @command{pcscd}."
  49639. msgstr ""
  49640. #. type: item
  49641. #: guix-git/doc/guix.texi:33650
  49642. #, no-wrap
  49643. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  49644. msgstr ""
  49645. #. type: table
  49646. #: guix-git/doc/guix.texi:33652
  49647. msgid "The pcsc-lite package that provides pcscd."
  49648. msgstr ""
  49649. #. type: item
  49650. #: guix-git/doc/guix.texi:33652
  49651. #, no-wrap
  49652. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  49653. msgstr ""
  49654. #. type: table
  49655. #: guix-git/doc/guix.texi:33655
  49656. 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."
  49657. msgstr ""
  49658. #. type: cindex
  49659. #: guix-git/doc/guix.texi:33658
  49660. #, no-wrap
  49661. msgid "lirc"
  49662. msgstr ""
  49663. #. type: subsubheading
  49664. #: guix-git/doc/guix.texi:33659
  49665. #, no-wrap
  49666. msgid "Lirc Service"
  49667. msgstr ""
  49668. #. type: Plain text
  49669. #: guix-git/doc/guix.texi:33662
  49670. msgid "The @code{(gnu services lirc)} module provides the following service."
  49671. msgstr ""
  49672. #. type: deffn
  49673. #: guix-git/doc/guix.texi:33663
  49674. #, no-wrap
  49675. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  49676. msgstr ""
  49677. #. type: deffn
  49678. #: guix-git/doc/guix.texi:33668
  49679. 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."
  49680. msgstr ""
  49681. #. type: deffn
  49682. #: guix-git/doc/guix.texi:33672
  49683. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  49684. msgstr ""
  49685. #. type: deffn
  49686. #: guix-git/doc/guix.texi:33675
  49687. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  49688. msgstr ""
  49689. #. type: cindex
  49690. #: guix-git/doc/guix.texi:33677
  49691. #, no-wrap
  49692. msgid "spice"
  49693. msgstr ""
  49694. #. type: subsubheading
  49695. #: guix-git/doc/guix.texi:33678
  49696. #, no-wrap
  49697. msgid "Spice Service"
  49698. msgstr ""
  49699. #. type: Plain text
  49700. #: guix-git/doc/guix.texi:33681
  49701. msgid "The @code{(gnu services spice)} module provides the following service."
  49702. msgstr ""
  49703. #. type: deffn
  49704. #: guix-git/doc/guix.texi:33682
  49705. #, no-wrap
  49706. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  49707. msgstr ""
  49708. #. type: deffn
  49709. #: guix-git/doc/guix.texi:33686
  49710. 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."
  49711. msgstr ""
  49712. #. type: cindex
  49713. #: guix-git/doc/guix.texi:33688
  49714. #, no-wrap
  49715. msgid "inputattach"
  49716. msgstr ""
  49717. #. type: subsubheading
  49718. #: guix-git/doc/guix.texi:33689
  49719. #, no-wrap
  49720. msgid "inputattach Service"
  49721. msgstr ""
  49722. #. type: cindex
  49723. #: guix-git/doc/guix.texi:33691
  49724. #, no-wrap
  49725. msgid "tablet input, for Xorg"
  49726. msgstr ""
  49727. #. type: cindex
  49728. #: guix-git/doc/guix.texi:33692
  49729. #, no-wrap
  49730. msgid "touchscreen input, for Xorg"
  49731. msgstr ""
  49732. #. type: Plain text
  49733. #: guix-git/doc/guix.texi:33696
  49734. 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."
  49735. msgstr ""
  49736. #. type: deffn
  49737. #: guix-git/doc/guix.texi:33697
  49738. #, no-wrap
  49739. msgid "{Scheme Variable} inputattach-service-type"
  49740. msgstr ""
  49741. #. type: deffn
  49742. #: guix-git/doc/guix.texi:33700
  49743. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  49744. msgstr ""
  49745. #. type: deftp
  49746. #: guix-git/doc/guix.texi:33702
  49747. #, no-wrap
  49748. msgid "{Data Type} inputattach-configuration"
  49749. msgstr ""
  49750. #. type: item
  49751. #: guix-git/doc/guix.texi:33704
  49752. #, no-wrap
  49753. msgid "@code{device-type} (default: @code{\"wacom\"})"
  49754. msgstr ""
  49755. #. type: table
  49756. #: guix-git/doc/guix.texi:33707
  49757. 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."
  49758. msgstr ""
  49759. #. type: item
  49760. #: guix-git/doc/guix.texi:33708
  49761. #, no-wrap
  49762. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  49763. msgstr ""
  49764. #. type: table
  49765. #: guix-git/doc/guix.texi:33710
  49766. msgid "The device file to connect to the device."
  49767. msgstr ""
  49768. #. type: table
  49769. #: guix-git/doc/guix.texi:33714
  49770. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  49771. msgstr ""
  49772. #. type: item
  49773. #: guix-git/doc/guix.texi:33715
  49774. #, no-wrap
  49775. msgid "@code{log-file} (default: @code{#f})"
  49776. msgstr ""
  49777. #. type: table
  49778. #: guix-git/doc/guix.texi:33717
  49779. msgid "If true, this must be the name of a file to log messages to."
  49780. msgstr ""
  49781. #. type: subsubheading
  49782. #: guix-git/doc/guix.texi:33720
  49783. #, no-wrap
  49784. msgid "Dictionary Service"
  49785. msgstr ""
  49786. #. type: cindex
  49787. #: guix-git/doc/guix.texi:33721
  49788. #, no-wrap
  49789. msgid "dictionary"
  49790. msgstr ""
  49791. #. type: Plain text
  49792. #: guix-git/doc/guix.texi:33723
  49793. msgid "The @code{(gnu services dict)} module provides the following service:"
  49794. msgstr ""
  49795. #. type: defvr
  49796. #: guix-git/doc/guix.texi:33724
  49797. #, no-wrap
  49798. msgid "{Scheme Variable} dicod-service-type"
  49799. msgstr ""
  49800. #. type: defvr
  49801. #: guix-git/doc/guix.texi:33727
  49802. 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})."
  49803. msgstr ""
  49804. #. type: deffn
  49805. #: guix-git/doc/guix.texi:33729
  49806. #, no-wrap
  49807. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  49808. msgstr ""
  49809. #. type: deffn
  49810. #: guix-git/doc/guix.texi:33732
  49811. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  49812. msgstr ""
  49813. #. type: deffn
  49814. #: guix-git/doc/guix.texi:33736
  49815. 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."
  49816. msgstr ""
  49817. #. type: deffn
  49818. #: guix-git/doc/guix.texi:33740
  49819. 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})."
  49820. msgstr ""
  49821. #. type: deftp
  49822. #: guix-git/doc/guix.texi:33742
  49823. #, no-wrap
  49824. msgid "{Data Type} dicod-configuration"
  49825. msgstr ""
  49826. #. type: deftp
  49827. #: guix-git/doc/guix.texi:33744
  49828. msgid "Data type representing the configuration of dicod."
  49829. msgstr ""
  49830. #. type: item
  49831. #: guix-git/doc/guix.texi:33746
  49832. #, no-wrap
  49833. msgid "@code{dico} (default: @var{dico})"
  49834. msgstr ""
  49835. #. type: table
  49836. #: guix-git/doc/guix.texi:33748
  49837. msgid "Package object of the GNU Dico dictionary server."
  49838. msgstr ""
  49839. #. type: item
  49840. #: guix-git/doc/guix.texi:33749
  49841. #, no-wrap
  49842. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  49843. msgstr ""
  49844. #. type: table
  49845. #: guix-git/doc/guix.texi:33753
  49846. 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})."
  49847. msgstr ""
  49848. #. type: item
  49849. #: guix-git/doc/guix.texi:33754
  49850. #, no-wrap
  49851. msgid "@code{handlers} (default: @var{'()})"
  49852. msgstr ""
  49853. #. type: table
  49854. #: guix-git/doc/guix.texi:33756
  49855. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  49856. msgstr ""
  49857. #. type: item
  49858. #: guix-git/doc/guix.texi:33757
  49859. #, no-wrap
  49860. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  49861. msgstr ""
  49862. #. type: table
  49863. #: guix-git/doc/guix.texi:33759
  49864. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  49865. msgstr ""
  49866. #. type: deftp
  49867. #: guix-git/doc/guix.texi:33762
  49868. #, no-wrap
  49869. msgid "{Data Type} dicod-handler"
  49870. msgstr ""
  49871. #. type: deftp
  49872. #: guix-git/doc/guix.texi:33764
  49873. msgid "Data type representing a dictionary handler (module instance)."
  49874. msgstr ""
  49875. #. type: table
  49876. #: guix-git/doc/guix.texi:33768
  49877. msgid "Name of the handler (module instance)."
  49878. msgstr ""
  49879. #. type: item
  49880. #: guix-git/doc/guix.texi:33769
  49881. #, no-wrap
  49882. msgid "@code{module} (default: @var{#f})"
  49883. msgstr ""
  49884. #. type: table
  49885. #: guix-git/doc/guix.texi:33773
  49886. 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})."
  49887. msgstr ""
  49888. #. type: table
  49889. #: guix-git/doc/guix.texi:33776
  49890. msgid "List of strings or gexps representing the arguments for the module handler"
  49891. msgstr ""
  49892. #. type: deftp
  49893. #: guix-git/doc/guix.texi:33779
  49894. #, no-wrap
  49895. msgid "{Data Type} dicod-database"
  49896. msgstr ""
  49897. #. type: deftp
  49898. #: guix-git/doc/guix.texi:33781
  49899. msgid "Data type representing a dictionary database."
  49900. msgstr ""
  49901. #. type: table
  49902. #: guix-git/doc/guix.texi:33785
  49903. msgid "Name of the database, will be used in DICT commands."
  49904. msgstr ""
  49905. #. type: code{#1}
  49906. #: guix-git/doc/guix.texi:33786
  49907. #, no-wrap
  49908. msgid "handler"
  49909. msgstr ""
  49910. #. type: table
  49911. #: guix-git/doc/guix.texi:33789
  49912. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  49913. msgstr ""
  49914. #. type: item
  49915. #: guix-git/doc/guix.texi:33790
  49916. #, no-wrap
  49917. msgid "@code{complex?} (default: @var{#f})"
  49918. msgstr ""
  49919. #. type: table
  49920. #: guix-git/doc/guix.texi:33793
  49921. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  49922. msgstr ""
  49923. #. type: table
  49924. #: guix-git/doc/guix.texi:33797
  49925. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  49926. msgstr ""
  49927. #. type: defvr
  49928. #: guix-git/doc/guix.texi:33800
  49929. #, no-wrap
  49930. msgid "{Scheme Variable} %dicod-database:gcide"
  49931. msgstr ""
  49932. #. type: defvr
  49933. #: guix-git/doc/guix.texi:33803
  49934. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  49935. msgstr ""
  49936. #. type: Plain text
  49937. #: guix-git/doc/guix.texi:33806
  49938. msgid "The following is an example @code{dicod-service} configuration."
  49939. msgstr ""
  49940. #. type: lisp
  49941. #: guix-git/doc/guix.texi:33821
  49942. #, no-wrap
  49943. msgid ""
  49944. "(dicod-service #:config\n"
  49945. " (dicod-configuration\n"
  49946. " (handlers (list (dicod-handler\n"
  49947. " (name \"wordnet\")\n"
  49948. " (module \"dictorg\")\n"
  49949. " (options\n"
  49950. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  49951. " (databases (list (dicod-database\n"
  49952. " (name \"wordnet\")\n"
  49953. " (complex? #t)\n"
  49954. " (handler \"wordnet\")\n"
  49955. " (options '(\"database=wn\")))\n"
  49956. " %dicod-database:gcide))))\n"
  49957. msgstr ""
  49958. #. type: cindex
  49959. #: guix-git/doc/guix.texi:33823
  49960. #, no-wrap
  49961. msgid "Docker"
  49962. msgstr ""
  49963. #. type: subsubheading
  49964. #: guix-git/doc/guix.texi:33824
  49965. #, no-wrap
  49966. msgid "Docker Service"
  49967. msgstr ""
  49968. #. type: Plain text
  49969. #: guix-git/doc/guix.texi:33827
  49970. msgid "The @code{(gnu services docker)} module provides the following services."
  49971. msgstr ""
  49972. #. type: defvr
  49973. #: guix-git/doc/guix.texi:33828
  49974. #, no-wrap
  49975. msgid "{Scheme Variable} docker-service-type"
  49976. msgstr ""
  49977. #. type: defvr
  49978. #: guix-git/doc/guix.texi:33833
  49979. 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."
  49980. msgstr ""
  49981. #. type: deftp
  49982. #: guix-git/doc/guix.texi:33836
  49983. #, no-wrap
  49984. msgid "{Data Type} docker-configuration"
  49985. msgstr ""
  49986. #. type: deftp
  49987. #: guix-git/doc/guix.texi:33838
  49988. msgid "This is the data type representing the configuration of Docker and Containerd."
  49989. msgstr ""
  49990. #. type: item
  49991. #: guix-git/doc/guix.texi:33841
  49992. #, no-wrap
  49993. msgid "@code{docker} (default: @code{docker})"
  49994. msgstr ""
  49995. #. type: table
  49996. #: guix-git/doc/guix.texi:33843
  49997. msgid "The Docker daemon package to use."
  49998. msgstr ""
  49999. #. type: item
  50000. #: guix-git/doc/guix.texi:33844
  50001. #, no-wrap
  50002. msgid "@code{docker-cli} (default: @code{docker-cli})"
  50003. msgstr ""
  50004. #. type: table
  50005. #: guix-git/doc/guix.texi:33846
  50006. msgid "The Docker client package to use."
  50007. msgstr ""
  50008. #. type: item
  50009. #: guix-git/doc/guix.texi:33847
  50010. #, no-wrap
  50011. msgid "@code{containerd} (default: @var{containerd})"
  50012. msgstr ""
  50013. #. type: table
  50014. #: guix-git/doc/guix.texi:33849
  50015. msgid "The Containerd package to use."
  50016. msgstr ""
  50017. #. type: item
  50018. #: guix-git/doc/guix.texi:33850
  50019. #, no-wrap
  50020. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  50021. msgstr ""
  50022. #. type: table
  50023. #: guix-git/doc/guix.texi:33852
  50024. msgid "The Docker user-land networking proxy package to use."
  50025. msgstr ""
  50026. #. type: item
  50027. #: guix-git/doc/guix.texi:33853
  50028. #, no-wrap
  50029. msgid "@code{enable-proxy?} (default @code{#t})"
  50030. msgstr ""
  50031. #. type: table
  50032. #: guix-git/doc/guix.texi:33855
  50033. msgid "Enable or disable the use of the Docker user-land networking proxy."
  50034. msgstr ""
  50035. #. type: item
  50036. #: guix-git/doc/guix.texi:33856
  50037. #, no-wrap
  50038. msgid "@code{debug?} (default @code{#f})"
  50039. msgstr ""
  50040. #. type: table
  50041. #: guix-git/doc/guix.texi:33858
  50042. msgid "Enable or disable debug output."
  50043. msgstr ""
  50044. #. type: item
  50045. #: guix-git/doc/guix.texi:33859
  50046. #, no-wrap
  50047. msgid "@code{enable-iptables?} (default @code{#t})"
  50048. msgstr ""
  50049. #. type: table
  50050. #: guix-git/doc/guix.texi:33861
  50051. msgid "Enable or disable the addition of iptables rules."
  50052. msgstr ""
  50053. #. type: item
  50054. #: guix-git/doc/guix.texi:33862
  50055. #, no-wrap
  50056. msgid "@code{environment-variables} (default: @code{()})"
  50057. msgstr ""
  50058. #. type: table
  50059. #: guix-git/doc/guix.texi:33864
  50060. msgid "List of environment variables to set for @command{dockerd}."
  50061. msgstr ""
  50062. #. type: table
  50063. #: guix-git/doc/guix.texi:33867
  50064. msgid "This must be a list of strings where each string has the form @samp{@var{key}=@var{value}} as in this example:"
  50065. msgstr ""
  50066. #. type: lisp
  50067. #: guix-git/doc/guix.texi:33871
  50068. #, no-wrap
  50069. msgid ""
  50070. "(list \"LANGUAGE=eo:ca:eu\"\n"
  50071. " \"TMPDIR=/tmp/dockerd\")\n"
  50072. msgstr ""
  50073. #. type: cindex
  50074. #: guix-git/doc/guix.texi:33876
  50075. #, no-wrap
  50076. msgid "Singularity, container service"
  50077. msgstr ""
  50078. #. type: defvr
  50079. #: guix-git/doc/guix.texi:33877
  50080. #, no-wrap
  50081. msgid "{Scheme Variable} singularity-service-type"
  50082. msgstr ""
  50083. #. type: defvr
  50084. #: guix-git/doc/guix.texi:33882
  50085. 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."
  50086. msgstr ""
  50087. #. type: defvr
  50088. #: guix-git/doc/guix.texi:33886
  50089. 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."
  50090. msgstr ""
  50091. #. type: cindex
  50092. #: guix-git/doc/guix.texi:33888
  50093. #, no-wrap
  50094. msgid "Audit"
  50095. msgstr ""
  50096. #. type: subsubheading
  50097. #: guix-git/doc/guix.texi:33889
  50098. #, no-wrap
  50099. msgid "Auditd Service"
  50100. msgstr ""
  50101. #. type: Plain text
  50102. #: guix-git/doc/guix.texi:33892
  50103. msgid "The @code{(gnu services auditd)} module provides the following service."
  50104. msgstr ""
  50105. #. type: defvr
  50106. #: guix-git/doc/guix.texi:33893
  50107. #, no-wrap
  50108. msgid "{Scheme Variable} auditd-service-type"
  50109. msgstr ""
  50110. #. type: defvr
  50111. #: guix-git/doc/guix.texi:33898
  50112. 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."
  50113. msgstr ""
  50114. #. type: defvr
  50115. #: guix-git/doc/guix.texi:33900
  50116. msgid "Examples of things that can be tracked:"
  50117. msgstr ""
  50118. #. type: enumerate
  50119. #: guix-git/doc/guix.texi:33904
  50120. msgid "File accesses"
  50121. msgstr ""
  50122. #. type: enumerate
  50123. #: guix-git/doc/guix.texi:33906
  50124. msgid "System calls"
  50125. msgstr ""
  50126. #. type: enumerate
  50127. #: guix-git/doc/guix.texi:33908
  50128. msgid "Invoked commands"
  50129. msgstr ""
  50130. #. type: enumerate
  50131. #: guix-git/doc/guix.texi:33910
  50132. msgid "Failed login attempts"
  50133. msgstr ""
  50134. #. type: enumerate
  50135. #: guix-git/doc/guix.texi:33912
  50136. msgid "Firewall filtering"
  50137. msgstr ""
  50138. #. type: enumerate
  50139. #: guix-git/doc/guix.texi:33914
  50140. msgid "Network access"
  50141. msgstr ""
  50142. #. type: defvr
  50143. #: guix-git/doc/guix.texi:33925
  50144. 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}."
  50145. msgstr ""
  50146. #. type: deftp
  50147. #: guix-git/doc/guix.texi:33928
  50148. #, no-wrap
  50149. msgid "{Data Type} auditd-configuration"
  50150. msgstr ""
  50151. #. type: deftp
  50152. #: guix-git/doc/guix.texi:33930
  50153. msgid "This is the data type representing the configuration of auditd."
  50154. msgstr ""
  50155. #. type: item
  50156. #: guix-git/doc/guix.texi:33933
  50157. #, no-wrap
  50158. msgid "@code{audit} (default: @code{audit})"
  50159. msgstr ""
  50160. #. type: table
  50161. #: guix-git/doc/guix.texi:33935
  50162. msgid "The audit package to use."
  50163. msgstr ""
  50164. #. type: item
  50165. #: guix-git/doc/guix.texi:33936
  50166. #, no-wrap
  50167. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  50168. msgstr ""
  50169. #. type: table
  50170. #: guix-git/doc/guix.texi:33940
  50171. 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."
  50172. msgstr ""
  50173. #. type: cindex
  50174. #: guix-git/doc/guix.texi:33944
  50175. #, no-wrap
  50176. msgid "rshiny"
  50177. msgstr ""
  50178. #. type: subsubheading
  50179. #: guix-git/doc/guix.texi:33945
  50180. #, no-wrap
  50181. msgid "R-Shiny service"
  50182. msgstr ""
  50183. #. type: Plain text
  50184. #: guix-git/doc/guix.texi:33948
  50185. msgid "The @code{(gnu services science)} module provides the following service."
  50186. msgstr ""
  50187. #. type: defvr
  50188. #: guix-git/doc/guix.texi:33949
  50189. #, no-wrap
  50190. msgid "{Scheme Variable} rshiny-service-type"
  50191. msgstr ""
  50192. #. type: defvr
  50193. #: guix-git/doc/guix.texi:33954
  50194. 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}."
  50195. msgstr ""
  50196. #. type: deftp
  50197. #: guix-git/doc/guix.texi:33955
  50198. #, no-wrap
  50199. msgid "{Data Type} rshiny-configuration"
  50200. msgstr ""
  50201. #. type: deftp
  50202. #: guix-git/doc/guix.texi:33957
  50203. msgid "This is the data type representing the configuration of rshiny."
  50204. msgstr ""
  50205. #. type: item
  50206. #: guix-git/doc/guix.texi:33960
  50207. #, no-wrap
  50208. msgid "@code{package} (default: @code{r-shiny})"
  50209. msgstr ""
  50210. #. type: table
  50211. #: guix-git/doc/guix.texi:33962
  50212. msgid "The package to use."
  50213. msgstr ""
  50214. #. type: item
  50215. #: guix-git/doc/guix.texi:33963
  50216. #, no-wrap
  50217. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  50218. msgstr ""
  50219. #. type: table
  50220. #: guix-git/doc/guix.texi:33966
  50221. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  50222. msgstr ""
  50223. #. type: table
  50224. #: guix-git/doc/guix.texi:33968
  50225. msgid "The common way to create this file is as follows:"
  50226. msgstr ""
  50227. #. type: lisp
  50228. #: guix-git/doc/guix.texi:33985
  50229. #, no-wrap
  50230. msgid ""
  50231. "@dots{}\n"
  50232. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  50233. " (targetdir (string-append out \"/share/\" ,name))\n"
  50234. " (app (string-append out \"/bin/\" ,name))\n"
  50235. " (Rbin (search-input-file %build-inputs \"/bin/Rscript\")))\n"
  50236. " ;; @dots{}\n"
  50237. " (mkdir-p (string-append out \"/bin\"))\n"
  50238. " (call-with-output-file app\n"
  50239. " (lambda (port)\n"
  50240. " (format port\n"
  50241. "\"#!~a\n"
  50242. "library(shiny)\n"
  50243. "setwd(\\\"~a\\\")\n"
  50244. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  50245. " Rbin targetdir))))\n"
  50246. msgstr ""
  50247. #. type: cindex
  50248. #: guix-git/doc/guix.texi:33991
  50249. #, no-wrap
  50250. msgid "Nix"
  50251. msgstr ""
  50252. #. type: subsubheading
  50253. #: guix-git/doc/guix.texi:33992
  50254. #, no-wrap
  50255. msgid "Nix service"
  50256. msgstr ""
  50257. #. type: Plain text
  50258. #: guix-git/doc/guix.texi:33995
  50259. msgid "The @code{(gnu services nix)} module provides the following service."
  50260. msgstr ""
  50261. #. type: defvr
  50262. #: guix-git/doc/guix.texi:33996
  50263. #, no-wrap
  50264. msgid "{Scheme Variable} nix-service-type"
  50265. msgstr ""
  50266. #. type: defvr
  50267. #: guix-git/doc/guix.texi:34001
  50268. 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:"
  50269. msgstr ""
  50270. #. type: lisp
  50271. #: guix-git/doc/guix.texi:34006
  50272. #, no-wrap
  50273. msgid ""
  50274. "(use-modules (gnu))\n"
  50275. "(use-service-modules nix)\n"
  50276. "(use-package-modules package-management)\n"
  50277. "\n"
  50278. msgstr ""
  50279. #. type: lisp
  50280. #: guix-git/doc/guix.texi:34011
  50281. #, no-wrap
  50282. msgid ""
  50283. "(operating-system\n"
  50284. " ;; @dots{}\n"
  50285. " (packages (append (list nix)\n"
  50286. " %base-packages))\n"
  50287. "\n"
  50288. msgstr ""
  50289. #. type: lisp
  50290. #: guix-git/doc/guix.texi:34014
  50291. #, no-wrap
  50292. msgid ""
  50293. " (services (append (list (service nix-service-type))\n"
  50294. " %base-services)))\n"
  50295. msgstr ""
  50296. #. type: defvr
  50297. #: guix-git/doc/guix.texi:34017
  50298. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  50299. msgstr ""
  50300. #. type: item
  50301. #: guix-git/doc/guix.texi:34019
  50302. #, no-wrap
  50303. msgid "Add a Nix channel and update it. See"
  50304. msgstr ""
  50305. #. type: itemize
  50306. #: guix-git/doc/guix.texi:34021
  50307. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  50308. msgstr ""
  50309. #. type: item
  50310. #: guix-git/doc/guix.texi:34022
  50311. #, no-wrap
  50312. msgid "Create a symlink to your profile and activate Nix profile:"
  50313. msgstr ""
  50314. #. type: example
  50315. #: guix-git/doc/guix.texi:34028
  50316. #, no-wrap
  50317. msgid ""
  50318. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  50319. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  50320. msgstr ""
  50321. #. type: deftp
  50322. #: guix-git/doc/guix.texi:34032
  50323. #, no-wrap
  50324. msgid "{Data Type} nix-configuration"
  50325. msgstr ""
  50326. #. type: deftp
  50327. #: guix-git/doc/guix.texi:34034
  50328. msgid "This data type represents the configuration of the Nix daemon."
  50329. msgstr ""
  50330. #. type: item
  50331. #: guix-git/doc/guix.texi:34036
  50332. #, no-wrap
  50333. msgid "@code{nix} (default: @code{nix})"
  50334. msgstr ""
  50335. #. type: table
  50336. #: guix-git/doc/guix.texi:34038
  50337. msgid "The Nix package to use."
  50338. msgstr ""
  50339. #. type: item
  50340. #: guix-git/doc/guix.texi:34039
  50341. #, no-wrap
  50342. msgid "@code{sandbox} (default: @code{#t})"
  50343. msgstr ""
  50344. #. type: table
  50345. #: guix-git/doc/guix.texi:34041
  50346. msgid "Specifies whether builds are sandboxed by default."
  50347. msgstr ""
  50348. #. type: item
  50349. #: guix-git/doc/guix.texi:34042
  50350. #, no-wrap
  50351. msgid "@code{build-sandbox-items} (default: @code{'()})"
  50352. msgstr ""
  50353. #. type: table
  50354. #: guix-git/doc/guix.texi:34045
  50355. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  50356. msgstr ""
  50357. #. type: table
  50358. #: guix-git/doc/guix.texi:34053
  50359. msgid "Extra command line options for @code{nix-service-type}."
  50360. msgstr ""
  50361. #. type: cindex
  50362. #: guix-git/doc/guix.texi:34059
  50363. #, no-wrap
  50364. msgid "setuid programs"
  50365. msgstr ""
  50366. #. type: Plain text
  50367. #: guix-git/doc/guix.texi:34069
  50368. 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)."
  50369. msgstr ""
  50370. #. type: Plain text
  50371. #: guix-git/doc/guix.texi:34076
  50372. 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."
  50373. msgstr ""
  50374. #. type: Plain text
  50375. #: guix-git/doc/guix.texi:34083
  50376. msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of @code{<setuid-program>} denoting the names of programs to have a setuid or setgid bit set (@pxref{Using the Configuration System}). For instance, the @command{mount.nfs} program, which is part of the nfs-utils package, with a setuid root can be designated like this:"
  50377. msgstr ""
  50378. #. type: example
  50379. #: guix-git/doc/guix.texi:34087
  50380. #, no-wrap
  50381. msgid ""
  50382. "(setuid-program\n"
  50383. " (program (file-append nfs-utils \"/sbin/mount.nfs\")))\n"
  50384. msgstr ""
  50385. #. type: Plain text
  50386. #: guix-git/doc/guix.texi:34092
  50387. msgid "And then, to make @command{mount.nfs} setuid on your system, add the previous example to your operating system declaration by appending it to @code{%setuid-programs} like this:"
  50388. msgstr ""
  50389. #. type: example
  50390. #: guix-git/doc/guix.texi:34098
  50391. #, no-wrap
  50392. msgid ""
  50393. "(setuid-programs\n"
  50394. " (append (list (setuid-program\n"
  50395. " (program (file-append nfs-utils \"/sbin/mount.nfs\"))))\n"
  50396. " %setuid-programs))\n"
  50397. msgstr ""
  50398. #. type: deftp
  50399. #: guix-git/doc/guix.texi:34100
  50400. #, no-wrap
  50401. msgid "{Data Type} setuid-program"
  50402. msgstr ""
  50403. #. type: deftp
  50404. #: guix-git/doc/guix.texi:34102
  50405. msgid "This data type represents a program with a setuid or setgid bit set."
  50406. msgstr ""
  50407. #. type: code{#1}
  50408. #: guix-git/doc/guix.texi:34104
  50409. #, no-wrap
  50410. msgid "program"
  50411. msgstr ""
  50412. #. type: table
  50413. #: guix-git/doc/guix.texi:34106
  50414. msgid "A file-like object having its setuid and/or setgid bit set."
  50415. msgstr ""
  50416. #. type: item
  50417. #: guix-git/doc/guix.texi:34107
  50418. #, no-wrap
  50419. msgid "@code{setuid?} (default: @code{#t})"
  50420. msgstr ""
  50421. #. type: table
  50422. #: guix-git/doc/guix.texi:34109
  50423. msgid "Whether to set user setuid bit."
  50424. msgstr ""
  50425. #. type: item
  50426. #: guix-git/doc/guix.texi:34110
  50427. #, no-wrap
  50428. msgid "@code{setgid?} (default: @code{#f})"
  50429. msgstr ""
  50430. #. type: table
  50431. #: guix-git/doc/guix.texi:34112
  50432. msgid "Whether to set group setgid bit."
  50433. msgstr ""
  50434. #. type: item
  50435. #: guix-git/doc/guix.texi:34113
  50436. #, no-wrap
  50437. msgid "@code{user} (default: @code{0})"
  50438. msgstr ""
  50439. #. type: table
  50440. #: guix-git/doc/guix.texi:34116
  50441. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  50442. msgstr ""
  50443. #. type: item
  50444. #: guix-git/doc/guix.texi:34117
  50445. #, no-wrap
  50446. msgid "@code{group} (default: @code{0})"
  50447. msgstr ""
  50448. #. type: table
  50449. #: guix-git/doc/guix.texi:34120
  50450. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  50451. msgstr ""
  50452. #. type: Plain text
  50453. #: guix-git/doc/guix.texi:34126
  50454. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  50455. msgstr ""
  50456. #. type: defvr
  50457. #: guix-git/doc/guix.texi:34127
  50458. #, no-wrap
  50459. msgid "{Scheme Variable} %setuid-programs"
  50460. msgstr ""
  50461. #. type: defvr
  50462. #: guix-git/doc/guix.texi:34130
  50463. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  50464. msgstr ""
  50465. #. type: defvr
  50466. #: guix-git/doc/guix.texi:34133
  50467. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  50468. msgstr ""
  50469. #. type: Plain text
  50470. #: guix-git/doc/guix.texi:34139
  50471. 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."
  50472. msgstr ""
  50473. #. type: cindex
  50474. #: guix-git/doc/guix.texi:34143
  50475. #, no-wrap
  50476. msgid "HTTPS, certificates"
  50477. msgstr ""
  50478. #. type: cindex
  50479. #: guix-git/doc/guix.texi:34144
  50480. #, no-wrap
  50481. msgid "X.509 certificates"
  50482. msgstr ""
  50483. #. type: cindex
  50484. #: guix-git/doc/guix.texi:34145
  50485. #, no-wrap
  50486. msgid "TLS"
  50487. msgstr ""
  50488. #. type: Plain text
  50489. #: guix-git/doc/guix.texi:34152
  50490. 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."
  50491. msgstr ""
  50492. #. type: Plain text
  50493. #: guix-git/doc/guix.texi:34156
  50494. 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."
  50495. msgstr ""
  50496. #. type: Plain text
  50497. #: guix-git/doc/guix.texi:34160
  50498. 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."
  50499. msgstr ""
  50500. #. type: Plain text
  50501. #: guix-git/doc/guix.texi:34167
  50502. 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."
  50503. msgstr ""
  50504. #. type: Plain text
  50505. #: guix-git/doc/guix.texi:34172
  50506. 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."
  50507. msgstr ""
  50508. #. type: Plain text
  50509. #: guix-git/doc/guix.texi:34182
  50510. 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:"
  50511. msgstr ""
  50512. #. type: example
  50513. #: guix-git/doc/guix.texi:34188
  50514. #, no-wrap
  50515. msgid ""
  50516. "guix install nss-certs\n"
  50517. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  50518. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  50519. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  50520. msgstr ""
  50521. #. type: Plain text
  50522. #: guix-git/doc/guix.texi:34193
  50523. 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:"
  50524. msgstr ""
  50525. #. type: example
  50526. #: guix-git/doc/guix.texi:34197
  50527. #, no-wrap
  50528. msgid ""
  50529. "guix install nss-certs\n"
  50530. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  50531. msgstr ""
  50532. #. type: Plain text
  50533. #: guix-git/doc/guix.texi:34201
  50534. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  50535. msgstr ""
  50536. #. type: cindex
  50537. #: guix-git/doc/guix.texi:34206
  50538. #, no-wrap
  50539. msgid "name service switch"
  50540. msgstr ""
  50541. #. type: cindex
  50542. #: guix-git/doc/guix.texi:34207
  50543. #, no-wrap
  50544. msgid "NSS"
  50545. msgstr ""
  50546. #. type: Plain text
  50547. #: guix-git/doc/guix.texi:34216
  50548. 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})."
  50549. msgstr ""
  50550. #. type: Plain text
  50551. #: guix-git/doc/guix.texi:34223
  50552. 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}})."
  50553. msgstr ""
  50554. #. type: cindex
  50555. #: guix-git/doc/guix.texi:34224
  50556. #, no-wrap
  50557. msgid "nss-mdns"
  50558. msgstr ""
  50559. #. type: cindex
  50560. #: guix-git/doc/guix.texi:34225
  50561. #, no-wrap
  50562. msgid ".local, host name lookup"
  50563. msgstr ""
  50564. #. type: Plain text
  50565. #: guix-git/doc/guix.texi:34230
  50566. 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}:"
  50567. msgstr ""
  50568. #. type: lisp
  50569. #: guix-git/doc/guix.texi:34234
  50570. #, no-wrap
  50571. msgid ""
  50572. "(name-service-switch\n"
  50573. " (hosts (list %files ;first, check /etc/hosts\n"
  50574. "\n"
  50575. msgstr ""
  50576. #. type: lisp
  50577. #: guix-git/doc/guix.texi:34239
  50578. #, no-wrap
  50579. msgid ""
  50580. " ;; If the above did not succeed, try\n"
  50581. " ;; with 'mdns_minimal'.\n"
  50582. " (name-service\n"
  50583. " (name \"mdns_minimal\")\n"
  50584. "\n"
  50585. msgstr ""
  50586. #. type: lisp
  50587. #: guix-git/doc/guix.texi:34245
  50588. #, no-wrap
  50589. msgid ""
  50590. " ;; 'mdns_minimal' is authoritative for\n"
  50591. " ;; '.local'. When it returns \"not found\",\n"
  50592. " ;; no need to try the next methods.\n"
  50593. " (reaction (lookup-specification\n"
  50594. " (not-found => return))))\n"
  50595. "\n"
  50596. msgstr ""
  50597. #. type: lisp
  50598. #: guix-git/doc/guix.texi:34249
  50599. #, no-wrap
  50600. msgid ""
  50601. " ;; Then fall back to DNS.\n"
  50602. " (name-service\n"
  50603. " (name \"dns\"))\n"
  50604. "\n"
  50605. msgstr ""
  50606. #. type: lisp
  50607. #: guix-git/doc/guix.texi:34253
  50608. #, no-wrap
  50609. msgid ""
  50610. " ;; Finally, try with the \"full\" 'mdns'.\n"
  50611. " (name-service\n"
  50612. " (name \"mdns\")))))\n"
  50613. msgstr ""
  50614. #. type: Plain text
  50615. #: guix-git/doc/guix.texi:34258
  50616. 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."
  50617. msgstr ""
  50618. #. type: Plain text
  50619. #: guix-git/doc/guix.texi:34266
  50620. 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}})."
  50621. msgstr ""
  50622. #. type: Plain text
  50623. #: guix-git/doc/guix.texi:34269
  50624. msgid "For convenience, the following variables provide typical NSS configurations."
  50625. msgstr ""
  50626. #. type: defvr
  50627. #: guix-git/doc/guix.texi:34270
  50628. #, no-wrap
  50629. msgid "{Scheme Variable} %default-nss"
  50630. msgstr ""
  50631. #. type: defvr
  50632. #: guix-git/doc/guix.texi:34273
  50633. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  50634. msgstr ""
  50635. #. type: defvr
  50636. #: guix-git/doc/guix.texi:34275
  50637. #, no-wrap
  50638. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  50639. msgstr ""
  50640. #. type: defvr
  50641. #: guix-git/doc/guix.texi:34278
  50642. 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}."
  50643. msgstr ""
  50644. #. type: Plain text
  50645. #: guix-git/doc/guix.texi:34288
  50646. 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}."
  50647. msgstr ""
  50648. #. type: deftp
  50649. #: guix-git/doc/guix.texi:34289
  50650. #, no-wrap
  50651. msgid "{Data Type} name-service-switch"
  50652. msgstr ""
  50653. #. type: deftp
  50654. #: guix-git/doc/guix.texi:34294
  50655. 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."
  50656. msgstr ""
  50657. #. type: item
  50658. #: guix-git/doc/guix.texi:34296
  50659. #, no-wrap
  50660. msgid "aliases"
  50661. msgstr ""
  50662. #. type: itemx
  50663. #: guix-git/doc/guix.texi:34297
  50664. #, no-wrap
  50665. msgid "ethers"
  50666. msgstr ""
  50667. #. type: itemx
  50668. #: guix-git/doc/guix.texi:34299
  50669. #, no-wrap
  50670. msgid "gshadow"
  50671. msgstr ""
  50672. #. type: itemx
  50673. #: guix-git/doc/guix.texi:34300
  50674. #, no-wrap
  50675. msgid "hosts"
  50676. msgstr ""
  50677. #. type: itemx
  50678. #: guix-git/doc/guix.texi:34301
  50679. #, no-wrap
  50680. msgid "initgroups"
  50681. msgstr ""
  50682. #. type: itemx
  50683. #: guix-git/doc/guix.texi:34302
  50684. #, no-wrap
  50685. msgid "netgroup"
  50686. msgstr ""
  50687. #. type: itemx
  50688. #: guix-git/doc/guix.texi:34303
  50689. #, no-wrap
  50690. msgid "networks"
  50691. msgstr ""
  50692. #. type: itemx
  50693. #: guix-git/doc/guix.texi:34306
  50694. #, no-wrap
  50695. msgid "rpc"
  50696. msgstr ""
  50697. #. type: itemx
  50698. #: guix-git/doc/guix.texi:34308
  50699. #, no-wrap
  50700. msgid "shadow"
  50701. msgstr ""
  50702. #. type: table
  50703. #: guix-git/doc/guix.texi:34311
  50704. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  50705. msgstr ""
  50706. #. type: deftp
  50707. #: guix-git/doc/guix.texi:34314
  50708. #, no-wrap
  50709. msgid "{Data Type} name-service"
  50710. msgstr ""
  50711. #. type: deftp
  50712. #: guix-git/doc/guix.texi:34318
  50713. msgid "This is the data type representing an actual name service and the associated lookup action."
  50714. msgstr ""
  50715. #. type: table
  50716. #: guix-git/doc/guix.texi:34323
  50717. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  50718. msgstr ""
  50719. #. type: table
  50720. #: guix-git/doc/guix.texi:34328
  50721. 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}})."
  50722. msgstr ""
  50723. #. type: item
  50724. #: guix-git/doc/guix.texi:34329
  50725. #, no-wrap
  50726. msgid "reaction"
  50727. msgstr ""
  50728. #. type: table
  50729. #: guix-git/doc/guix.texi:34333
  50730. 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:"
  50731. msgstr ""
  50732. #. type: lisp
  50733. #: guix-git/doc/guix.texi:34337
  50734. #, no-wrap
  50735. msgid ""
  50736. "(lookup-specification (unavailable => continue)\n"
  50737. " (success => return))\n"
  50738. msgstr ""
  50739. #. type: Plain text
  50740. #: guix-git/doc/guix.texi:34351
  50741. 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."
  50742. msgstr ""
  50743. #. type: Plain text
  50744. #: guix-git/doc/guix.texi:34360
  50745. 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:"
  50746. msgstr ""
  50747. #. type: lisp
  50748. #: guix-git/doc/guix.texi:34365
  50749. #, no-wrap
  50750. msgid ""
  50751. "(operating-system\n"
  50752. " ;; @dots{}\n"
  50753. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  50754. msgstr ""
  50755. #. type: defvr
  50756. #: guix-git/doc/guix.texi:34367
  50757. #, no-wrap
  50758. msgid "{Scheme Variable} %base-initrd-modules"
  50759. msgstr ""
  50760. #. type: defvr
  50761. #: guix-git/doc/guix.texi:34369
  50762. msgid "This is the list of kernel modules included in the initrd by default."
  50763. msgstr ""
  50764. #. type: Plain text
  50765. #: guix-git/doc/guix.texi:34377
  50766. 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."
  50767. msgstr ""
  50768. #. type: Plain text
  50769. #: guix-git/doc/guix.texi:34382
  50770. 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:"
  50771. msgstr ""
  50772. #. type: lisp
  50773. #: guix-git/doc/guix.texi:34390
  50774. #, no-wrap
  50775. msgid ""
  50776. "(initrd (lambda (file-systems . rest)\n"
  50777. " ;; Create a standard initrd but set up networking\n"
  50778. " ;; with the parameters QEMU expects by default.\n"
  50779. " (apply base-initrd file-systems\n"
  50780. " #:qemu-networking? #t\n"
  50781. " rest)))\n"
  50782. msgstr ""
  50783. #. type: Plain text
  50784. #: guix-git/doc/guix.texi:34395
  50785. 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."
  50786. msgstr ""
  50787. #. type: Plain text
  50788. #: guix-git/doc/guix.texi:34402
  50789. 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."
  50790. msgstr ""
  50791. #. type: Plain text
  50792. #: guix-git/doc/guix.texi:34407
  50793. 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:"
  50794. msgstr ""
  50795. #. type: item
  50796. #: guix-git/doc/guix.texi:34409
  50797. #, no-wrap
  50798. msgid "--load=@var{boot}"
  50799. msgstr ""
  50800. #. type: table
  50801. #: guix-git/doc/guix.texi:34412
  50802. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  50803. msgstr ""
  50804. #. type: table
  50805. #: guix-git/doc/guix.texi:34416
  50806. 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."
  50807. msgstr ""
  50808. #. type: item
  50809. #: guix-git/doc/guix.texi:34417
  50810. #, no-wrap
  50811. msgid "--root=@var{root}"
  50812. msgstr ""
  50813. #. type: table
  50814. #: guix-git/doc/guix.texi:34422
  50815. 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."
  50816. msgstr ""
  50817. #. type: item
  50818. #: guix-git/doc/guix.texi:34423
  50819. #, no-wrap
  50820. msgid "fsck.mode=@var{mode}"
  50821. msgstr ""
  50822. #. type: table
  50823. #: guix-git/doc/guix.texi:34429
  50824. 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."
  50825. msgstr ""
  50826. #. type: table
  50827. #: guix-git/doc/guix.texi:34432
  50828. msgid "@code{auto} is the default if this option is not present or if @var{mode} is not one of the above."
  50829. msgstr ""
  50830. #. type: item
  50831. #: guix-git/doc/guix.texi:34433
  50832. #, no-wrap
  50833. msgid "fsck.repair=@var{level}"
  50834. msgstr ""
  50835. #. type: table
  50836. #: guix-git/doc/guix.texi:34438
  50837. 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."
  50838. msgstr ""
  50839. #. type: table
  50840. #: guix-git/doc/guix.texi:34441
  50841. msgid "@code{preen} is the default if this option is not present or if @var{level} is not one of the above."
  50842. msgstr ""
  50843. #. type: table
  50844. #: guix-git/doc/guix.texi:34445
  50845. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  50846. msgstr ""
  50847. #. type: item
  50848. #: guix-git/doc/guix.texi:34446
  50849. #, no-wrap
  50850. msgid "modprobe.blacklist=@var{modules}@dots{}"
  50851. msgstr ""
  50852. #. type: cindex
  50853. #: guix-git/doc/guix.texi:34447
  50854. #, no-wrap
  50855. msgid "module, black-listing"
  50856. msgstr ""
  50857. #. type: cindex
  50858. #: guix-git/doc/guix.texi:34448
  50859. #, no-wrap
  50860. msgid "black list, of kernel modules"
  50861. msgstr ""
  50862. #. type: table
  50863. #: guix-git/doc/guix.texi:34453
  50864. 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}."
  50865. msgstr ""
  50866. #. type: item
  50867. #: guix-git/doc/guix.texi:34454
  50868. #, no-wrap
  50869. msgid "--repl"
  50870. msgstr ""
  50871. #. type: table
  50872. #: guix-git/doc/guix.texi:34460
  50873. 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."
  50874. msgstr ""
  50875. #. type: Plain text
  50876. #: guix-git/doc/guix.texi:34466
  50877. 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."
  50878. msgstr ""
  50879. #. type: deffn
  50880. #: guix-git/doc/guix.texi:34469
  50881. #, no-wrap
  50882. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  50883. msgstr ""
  50884. #. type: deffn
  50885. #: guix-git/doc/guix.texi:34483
  50886. 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."
  50887. msgstr ""
  50888. #. type: deffn
  50889. #: guix-git/doc/guix.texi:34489 guix-git/doc/guix.texi:34513
  50890. 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."
  50891. msgstr ""
  50892. #. type: deffn
  50893. #: guix-git/doc/guix.texi:34493
  50894. 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."
  50895. msgstr ""
  50896. #. type: deffn
  50897. #: guix-git/doc/guix.texi:34496
  50898. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  50899. msgstr ""
  50900. #. type: deffn
  50901. #: guix-git/doc/guix.texi:34498
  50902. #, no-wrap
  50903. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  50904. msgstr ""
  50905. #. type: deffn
  50906. #: guix-git/doc/guix.texi:34507
  50907. 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."
  50908. msgstr ""
  50909. #. type: deffn
  50910. #: guix-git/doc/guix.texi:34515
  50911. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  50912. msgstr ""
  50913. #. type: deffn
  50914. #: guix-git/doc/guix.texi:34520
  50915. 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."
  50916. msgstr ""
  50917. #. type: Plain text
  50918. #: guix-git/doc/guix.texi:34527
  50919. 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."
  50920. msgstr ""
  50921. #. type: deffn
  50922. #: guix-git/doc/guix.texi:34528
  50923. #, no-wrap
  50924. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  50925. msgstr ""
  50926. #. type: deffn
  50927. #: guix-git/doc/guix.texi:34534
  50928. 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."
  50929. msgstr ""
  50930. #. type: cindex
  50931. #: guix-git/doc/guix.texi:34540
  50932. #, no-wrap
  50933. msgid "boot loader"
  50934. msgstr ""
  50935. #. type: Plain text
  50936. #: guix-git/doc/guix.texi:34547
  50937. 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."
  50938. msgstr ""
  50939. #. type: Plain text
  50940. #: guix-git/doc/guix.texi:34552
  50941. 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."
  50942. msgstr ""
  50943. #. type: deftp
  50944. #: guix-git/doc/guix.texi:34553
  50945. #, no-wrap
  50946. msgid "{Data Type} bootloader-configuration"
  50947. msgstr ""
  50948. #. type: deftp
  50949. #: guix-git/doc/guix.texi:34555
  50950. msgid "The type of a bootloader configuration declaration."
  50951. msgstr ""
  50952. #. type: cindex
  50953. #: guix-git/doc/guix.texi:34559
  50954. #, no-wrap
  50955. msgid "EFI, bootloader"
  50956. msgstr ""
  50957. #. type: cindex
  50958. #: guix-git/doc/guix.texi:34560
  50959. #, no-wrap
  50960. msgid "UEFI, bootloader"
  50961. msgstr ""
  50962. #. type: cindex
  50963. #: guix-git/doc/guix.texi:34561
  50964. #, no-wrap
  50965. msgid "BIOS, bootloader"
  50966. msgstr ""
  50967. #. type: table
  50968. #: guix-git/doc/guix.texi:34566
  50969. 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."
  50970. msgstr ""
  50971. #. type: cindex
  50972. #: guix-git/doc/guix.texi:34567
  50973. #, no-wrap
  50974. msgid "ARM, bootloaders"
  50975. msgstr ""
  50976. #. type: cindex
  50977. #: guix-git/doc/guix.texi:34568
  50978. #, no-wrap
  50979. msgid "AArch64, bootloaders"
  50980. msgstr ""
  50981. #. type: table
  50982. #: guix-git/doc/guix.texi:34573
  50983. 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}."
  50984. msgstr ""
  50985. #. type: table
  50986. #: guix-git/doc/guix.texi:34579
  50987. 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."
  50988. msgstr ""
  50989. #. type: table
  50990. #: guix-git/doc/guix.texi:34583
  50991. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  50992. msgstr ""
  50993. #. type: vindex
  50994. #: guix-git/doc/guix.texi:34584
  50995. #, no-wrap
  50996. msgid "grub-efi-netboot-bootloader"
  50997. msgstr ""
  50998. #. type: table
  50999. #: guix-git/doc/guix.texi:34588
  51000. 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."
  51001. msgstr ""
  51002. #. type: table
  51003. #: guix-git/doc/guix.texi:34594
  51004. 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."
  51005. msgstr ""
  51006. #. type: table
  51007. #: guix-git/doc/guix.texi:34603
  51008. 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}."
  51009. msgstr ""
  51010. #. type: table
  51011. #: guix-git/doc/guix.texi:34612
  51012. 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."
  51013. msgstr ""
  51014. #. type: table
  51015. #: guix-git/doc/guix.texi:34618
  51016. 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."
  51017. msgstr ""
  51018. #. type: table
  51019. #: guix-git/doc/guix.texi:34623
  51020. 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}."
  51021. msgstr ""
  51022. #. type: table
  51023. #: guix-git/doc/guix.texi:34628
  51024. 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."
  51025. msgstr ""
  51026. #. type: table
  51027. #: guix-git/doc/guix.texi:34633
  51028. 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}."
  51029. msgstr ""
  51030. #. type: table
  51031. #: guix-git/doc/guix.texi:34637
  51032. msgid "This is a list of strings denoting the targets onto which to install the bootloader."
  51033. msgstr ""
  51034. #. type: table
  51035. #: guix-git/doc/guix.texi:34647
  51036. 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."
  51037. msgstr ""
  51038. #. type: item
  51039. #: guix-git/doc/guix.texi:34648
  51040. #, no-wrap
  51041. msgid "@code{menu-entries} (default: @code{()})"
  51042. msgstr ""
  51043. #. type: table
  51044. #: guix-git/doc/guix.texi:34652
  51045. 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."
  51046. msgstr ""
  51047. #. type: item
  51048. #: guix-git/doc/guix.texi:34653
  51049. #, no-wrap
  51050. msgid "@code{default-entry} (default: @code{0})"
  51051. msgstr ""
  51052. #. type: table
  51053. #: guix-git/doc/guix.texi:34656
  51054. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  51055. msgstr ""
  51056. #. type: item
  51057. #: guix-git/doc/guix.texi:34657
  51058. #, no-wrap
  51059. msgid "@code{timeout} (default: @code{5})"
  51060. msgstr ""
  51061. #. type: table
  51062. #: guix-git/doc/guix.texi:34660
  51063. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  51064. msgstr ""
  51065. #. type: cindex
  51066. #: guix-git/doc/guix.texi:34661
  51067. #, no-wrap
  51068. msgid "keyboard layout, for the bootloader"
  51069. msgstr ""
  51070. #. type: table
  51071. #: guix-git/doc/guix.texi:34665
  51072. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  51073. msgstr ""
  51074. #. type: table
  51075. #: guix-git/doc/guix.texi:34668
  51076. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  51077. msgstr ""
  51078. #. type: quotation
  51079. #: guix-git/doc/guix.texi:34672
  51080. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  51081. msgstr ""
  51082. #. type: item
  51083. #: guix-git/doc/guix.texi:34674
  51084. #, no-wrap
  51085. msgid "@code{theme} (default: @var{#f})"
  51086. msgstr ""
  51087. #. type: table
  51088. #: guix-git/doc/guix.texi:34678
  51089. 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."
  51090. msgstr ""
  51091. #. type: item
  51092. #: guix-git/doc/guix.texi:34679
  51093. #, no-wrap
  51094. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  51095. msgstr ""
  51096. #. type: table
  51097. #: guix-git/doc/guix.texi:34686
  51098. 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})."
  51099. msgstr ""
  51100. #. type: item
  51101. #: guix-git/doc/guix.texi:34687
  51102. #, no-wrap
  51103. msgid "@code{terminal-inputs} (default: @code{'()})"
  51104. msgstr ""
  51105. #. type: table
  51106. #: guix-git/doc/guix.texi:34695
  51107. 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})."
  51108. msgstr ""
  51109. #. type: item
  51110. #: guix-git/doc/guix.texi:34696
  51111. #, no-wrap
  51112. msgid "@code{serial-unit} (default: @code{#f})"
  51113. msgstr ""
  51114. #. type: table
  51115. #: guix-git/doc/guix.texi:34700
  51116. 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})."
  51117. msgstr ""
  51118. #. type: item
  51119. #: guix-git/doc/guix.texi:34701
  51120. #, no-wrap
  51121. msgid "@code{serial-speed} (default: @code{#f})"
  51122. msgstr ""
  51123. #. type: table
  51124. #: guix-git/doc/guix.texi:34705
  51125. 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})."
  51126. msgstr ""
  51127. #. type: cindex
  51128. #: guix-git/doc/guix.texi:34709
  51129. #, no-wrap
  51130. msgid "dual boot"
  51131. msgstr ""
  51132. #. type: cindex
  51133. #: guix-git/doc/guix.texi:34710
  51134. #, no-wrap
  51135. msgid "boot menu"
  51136. msgstr ""
  51137. #. type: Plain text
  51138. #: guix-git/doc/guix.texi:34716
  51139. 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:"
  51140. msgstr ""
  51141. #. type: lisp
  51142. #: guix-git/doc/guix.texi:34723
  51143. #, no-wrap
  51144. msgid ""
  51145. "(menu-entry\n"
  51146. " (label \"The Other Distro\")\n"
  51147. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  51148. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  51149. " (initrd \"/boot/old/initrd\"))\n"
  51150. msgstr ""
  51151. #. type: Plain text
  51152. #: guix-git/doc/guix.texi:34726
  51153. msgid "Details below."
  51154. msgstr ""
  51155. #. type: deftp
  51156. #: guix-git/doc/guix.texi:34727
  51157. #, no-wrap
  51158. msgid "{Data Type} menu-entry"
  51159. msgstr ""
  51160. #. type: deftp
  51161. #: guix-git/doc/guix.texi:34729
  51162. msgid "The type of an entry in the bootloader menu."
  51163. msgstr ""
  51164. #. type: table
  51165. #: guix-git/doc/guix.texi:34734
  51166. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  51167. msgstr ""
  51168. #. type: item
  51169. #: guix-git/doc/guix.texi:34735
  51170. #, no-wrap
  51171. msgid "@code{linux} (default: @code{#f})"
  51172. msgstr ""
  51173. #. type: table
  51174. #: guix-git/doc/guix.texi:34737
  51175. msgid "The Linux kernel image to boot, for example:"
  51176. msgstr ""
  51177. #. type: lisp
  51178. #: guix-git/doc/guix.texi:34740
  51179. #, no-wrap
  51180. msgid "(file-append linux-libre \"/bzImage\")\n"
  51181. msgstr ""
  51182. #. type: table
  51183. #: guix-git/doc/guix.texi:34745
  51184. 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:"
  51185. msgstr ""
  51186. #. type: example
  51187. #: guix-git/doc/guix.texi:34748
  51188. #, no-wrap
  51189. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  51190. msgstr ""
  51191. #. type: table
  51192. #: guix-git/doc/guix.texi:34752
  51193. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  51194. msgstr ""
  51195. #. type: item
  51196. #: guix-git/doc/guix.texi:34753
  51197. #, no-wrap
  51198. msgid "@code{linux-arguments} (default: @code{()})"
  51199. msgstr ""
  51200. #. type: table
  51201. #: guix-git/doc/guix.texi:34756
  51202. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  51203. msgstr ""
  51204. #. type: item
  51205. #: guix-git/doc/guix.texi:34757
  51206. #, no-wrap
  51207. msgid "@code{initrd} (default: @code{#f})"
  51208. msgstr ""
  51209. #. type: table
  51210. #: guix-git/doc/guix.texi:34760
  51211. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  51212. msgstr ""
  51213. #. type: table
  51214. #: guix-git/doc/guix.texi:34764
  51215. 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})."
  51216. msgstr ""
  51217. #. type: table
  51218. #: guix-git/doc/guix.texi:34770
  51219. 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}."
  51220. msgstr ""
  51221. #. type: item
  51222. #: guix-git/doc/guix.texi:34771
  51223. #, no-wrap
  51224. msgid "@code{multiboot-kernel} (default: @code{#f})"
  51225. msgstr ""
  51226. #. type: table
  51227. #: guix-git/doc/guix.texi:34775
  51228. 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:"
  51229. msgstr ""
  51230. #. type: lisp
  51231. #: guix-git/doc/guix.texi:34778
  51232. #, no-wrap
  51233. msgid "(file-append mach \"/boot/gnumach\")\n"
  51234. msgstr ""
  51235. #. type: item
  51236. #: guix-git/doc/guix.texi:34780
  51237. #, no-wrap
  51238. msgid "@code{multiboot-arguments} (default: @code{()})"
  51239. msgstr ""
  51240. #. type: table
  51241. #: guix-git/doc/guix.texi:34782
  51242. msgid "The list of extra command-line arguments for the multiboot-kernel."
  51243. msgstr ""
  51244. #. type: item
  51245. #: guix-git/doc/guix.texi:34783
  51246. #, no-wrap
  51247. msgid "@code{multiboot-modules} (default: @code{()})"
  51248. msgstr ""
  51249. #. type: table
  51250. #: guix-git/doc/guix.texi:34785
  51251. msgid "The list of commands for loading Multiboot modules. For example:"
  51252. msgstr ""
  51253. #. type: lisp
  51254. #: guix-git/doc/guix.texi:34791
  51255. #, no-wrap
  51256. msgid ""
  51257. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  51258. " @dots{})\n"
  51259. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  51260. " @dots{}))\n"
  51261. msgstr ""
  51262. #. type: cindex
  51263. #: guix-git/doc/guix.texi:34796 guix-git/doc/guix.texi:34855
  51264. #, no-wrap
  51265. msgid "HDPI"
  51266. msgstr ""
  51267. #. type: cindex
  51268. #: guix-git/doc/guix.texi:34797 guix-git/doc/guix.texi:34856
  51269. #, no-wrap
  51270. msgid "HiDPI"
  51271. msgstr ""
  51272. #. type: cindex
  51273. #: guix-git/doc/guix.texi:34798 guix-git/doc/guix.texi:34857
  51274. #, no-wrap
  51275. msgid "resolution"
  51276. msgstr ""
  51277. #. type: Plain text
  51278. #: guix-git/doc/guix.texi:34802
  51279. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  51280. msgstr ""
  51281. #. type: deftp
  51282. #: guix-git/doc/guix.texi:34803
  51283. #, no-wrap
  51284. msgid "{Data Type} grub-theme"
  51285. msgstr ""
  51286. #. type: deftp
  51287. #: guix-git/doc/guix.texi:34805
  51288. msgid "Data type representing the configuration of the GRUB theme."
  51289. msgstr ""
  51290. #. type: item
  51291. #: guix-git/doc/guix.texi:34807
  51292. #, no-wrap
  51293. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  51294. msgstr ""
  51295. #. type: table
  51296. #: guix-git/doc/guix.texi:34810
  51297. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  51298. msgstr ""
  51299. #. type: deffn
  51300. #: guix-git/doc/guix.texi:34813
  51301. #, no-wrap
  51302. msgid "{Scheme Procedure} grub-theme"
  51303. msgstr ""
  51304. #. type: deffn
  51305. #: guix-git/doc/guix.texi:34817
  51306. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  51307. msgstr ""
  51308. #. type: deffn
  51309. #: guix-git/doc/guix.texi:34820
  51310. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  51311. msgstr ""
  51312. #. type: Plain text
  51313. #: guix-git/doc/guix.texi:34824
  51314. msgid "For example, to override the default resolution, you may use something like"
  51315. msgstr ""
  51316. #. type: lisp
  51317. #: guix-git/doc/guix.texi:34832
  51318. #, no-wrap
  51319. msgid ""
  51320. "(bootloader\n"
  51321. " (bootloader-configuration\n"
  51322. " ;; @dots{}\n"
  51323. " (theme (grub-theme\n"
  51324. " (inherit (grub-theme))\n"
  51325. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  51326. msgstr ""
  51327. #. type: section
  51328. #: guix-git/doc/guix.texi:34835
  51329. #, no-wrap
  51330. msgid "Invoking @code{guix system}"
  51331. msgstr ""
  51332. #. type: Plain text
  51333. #: guix-git/doc/guix.texi:34840
  51334. 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:"
  51335. msgstr ""
  51336. #. type: example
  51337. #: guix-git/doc/guix.texi:34843
  51338. #, no-wrap
  51339. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  51340. msgstr ""
  51341. #. type: Plain text
  51342. #: guix-git/doc/guix.texi:34849
  51343. 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:"
  51344. msgstr ""
  51345. #. type: item
  51346. #: guix-git/doc/guix.texi:34851 guix-git/doc/guix.texi:37496
  51347. #, no-wrap
  51348. msgid "search"
  51349. msgstr ""
  51350. #. type: table
  51351. #: guix-git/doc/guix.texi:34854
  51352. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  51353. msgstr ""
  51354. #. type: example
  51355. #: guix-git/doc/guix.texi:34876
  51356. #, no-wrap
  51357. msgid ""
  51358. "$ guix system search console\n"
  51359. "name: console-fonts\n"
  51360. "location: gnu/services/base.scm:806:2\n"
  51361. "extends: shepherd-root\n"
  51362. "description: Install the given fonts on the specified ttys (fonts are per\n"
  51363. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  51364. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  51365. "+ package or any valid argument to `setfont', as in this example:\n"
  51366. "+\n"
  51367. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  51368. "+ (\"tty2\" . (file-append\n"
  51369. "+ font-tamzen\n"
  51370. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  51371. "+ (\"tty3\" . (file-append\n"
  51372. "+ font-terminus\n"
  51373. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  51374. "relevance: 9\n"
  51375. "\n"
  51376. msgstr ""
  51377. #. type: example
  51378. #: guix-git/doc/guix.texi:34882
  51379. #, no-wrap
  51380. msgid ""
  51381. "name: mingetty\n"
  51382. "location: gnu/services/base.scm:1190:2\n"
  51383. "extends: shepherd-root\n"
  51384. "description: Provide console login using the `mingetty' program.\n"
  51385. "relevance: 2\n"
  51386. "\n"
  51387. msgstr ""
  51388. #. type: example
  51389. #: guix-git/doc/guix.texi:34889
  51390. #, no-wrap
  51391. msgid ""
  51392. "name: login\n"
  51393. "location: gnu/services/base.scm:860:2\n"
  51394. "extends: pam\n"
  51395. "description: Provide a console log-in service as specified by its\n"
  51396. "+ configuration value, a `login-configuration' object.\n"
  51397. "relevance: 2\n"
  51398. "\n"
  51399. msgstr ""
  51400. #. type: example
  51401. #: guix-git/doc/guix.texi:34891 guix-git/doc/guix.texi:37549
  51402. #, no-wrap
  51403. msgid "@dots{}\n"
  51404. msgstr ""
  51405. #. type: table
  51406. #: guix-git/doc/guix.texi:34896 guix-git/doc/guix.texi:37554
  51407. 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})."
  51408. msgstr ""
  51409. #. type: item
  51410. #: guix-git/doc/guix.texi:34897 guix-git/doc/guix.texi:37555
  51411. #, no-wrap
  51412. msgid "reconfigure"
  51413. msgstr ""
  51414. #. type: table
  51415. #: guix-git/doc/guix.texi:34902
  51416. 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.}."
  51417. msgstr ""
  51418. #. type: quotation
  51419. #: guix-git/doc/guix.texi:34910
  51420. 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."
  51421. msgstr ""
  51422. #. type: table
  51423. #: guix-git/doc/guix.texi:34918
  51424. 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})."
  51425. msgstr ""
  51426. #. type: table
  51427. #: guix-git/doc/guix.texi:34924
  51428. 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})."
  51429. msgstr ""
  51430. #. type: table
  51431. #: guix-git/doc/guix.texi:34929
  51432. 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."
  51433. msgstr ""
  51434. #. type: cindex
  51435. #: guix-git/doc/guix.texi:34930 guix-git/doc/guix.texi:35261
  51436. #: guix-git/doc/guix.texi:36223
  51437. #, no-wrap
  51438. msgid "provenance tracking, of the operating system"
  51439. msgstr ""
  51440. #. type: table
  51441. #: guix-git/doc/guix.texi:34935
  51442. 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:"
  51443. msgstr ""
  51444. #. type: example
  51445. #: guix-git/doc/guix.texi:34938
  51446. #, no-wrap
  51447. msgid "guix system describe\n"
  51448. msgstr ""
  51449. #. type: table
  51450. #: guix-git/doc/guix.texi:34944
  51451. 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:"
  51452. msgstr ""
  51453. #. type: example
  51454. #: guix-git/doc/guix.texi:34950
  51455. #, no-wrap
  51456. msgid ""
  51457. "guix time-machine \\\n"
  51458. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  51459. " system reconfigure \\\n"
  51460. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  51461. msgstr ""
  51462. #. type: table
  51463. #: guix-git/doc/guix.texi:34956
  51464. 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."
  51465. msgstr ""
  51466. #. type: table
  51467. #: guix-git/doc/guix.texi:34962
  51468. 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}."
  51469. msgstr ""
  51470. #. type: item
  51471. #: guix-git/doc/guix.texi:34963 guix-git/doc/guix.texi:37614
  51472. #, no-wrap
  51473. msgid "switch-generation"
  51474. msgstr ""
  51475. #. type: table
  51476. #: guix-git/doc/guix.texi:34972
  51477. 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."
  51478. msgstr ""
  51479. #. type: table
  51480. #: guix-git/doc/guix.texi:34976
  51481. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  51482. msgstr ""
  51483. #. type: table
  51484. #: guix-git/doc/guix.texi:34980
  51485. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  51486. msgstr ""
  51487. #. type: example
  51488. #: guix-git/doc/guix.texi:34983
  51489. #, no-wrap
  51490. msgid "guix system switch-generation 7\n"
  51491. msgstr ""
  51492. #. type: table
  51493. #: guix-git/doc/guix.texi:34991 guix-git/doc/guix.texi:37633
  51494. 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:"
  51495. msgstr ""
  51496. #. type: example
  51497. #: guix-git/doc/guix.texi:34994
  51498. #, no-wrap
  51499. msgid "guix system switch-generation -- -1\n"
  51500. msgstr ""
  51501. #. type: table
  51502. #: guix-git/doc/guix.texi:35002
  51503. 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."
  51504. msgstr ""
  51505. #. type: table
  51506. #: guix-git/doc/guix.texi:35004 guix-git/doc/guix.texi:37639
  51507. msgid "This action will fail if the specified generation does not exist."
  51508. msgstr ""
  51509. #. type: item
  51510. #: guix-git/doc/guix.texi:35005 guix-git/doc/guix.texi:37640
  51511. #, no-wrap
  51512. msgid "roll-back"
  51513. msgstr ""
  51514. #. type: table
  51515. #: guix-git/doc/guix.texi:35011
  51516. 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}."
  51517. msgstr ""
  51518. #. type: table
  51519. #: guix-git/doc/guix.texi:35015
  51520. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  51521. msgstr ""
  51522. #. type: item
  51523. #: guix-git/doc/guix.texi:35016 guix-git/doc/guix.texi:37646
  51524. #, no-wrap
  51525. msgid "delete-generations"
  51526. msgstr ""
  51527. #. type: cindex
  51528. #: guix-git/doc/guix.texi:35017
  51529. #, no-wrap
  51530. msgid "deleting system generations"
  51531. msgstr ""
  51532. #. type: cindex
  51533. #: guix-git/doc/guix.texi:35018 guix-git/doc/guix.texi:37648
  51534. #, no-wrap
  51535. msgid "saving space"
  51536. msgstr ""
  51537. #. type: table
  51538. #: guix-git/doc/guix.texi:35022
  51539. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  51540. msgstr ""
  51541. #. type: table
  51542. #: guix-git/doc/guix.texi:35026
  51543. 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:"
  51544. msgstr ""
  51545. #. type: example
  51546. #: guix-git/doc/guix.texi:35029
  51547. #, no-wrap
  51548. msgid "guix system delete-generations\n"
  51549. msgstr ""
  51550. #. type: table
  51551. #: guix-git/doc/guix.texi:35033
  51552. msgid "You can also select the generations you want to delete. The example below deletes all the system generations that are more than two months old:"
  51553. msgstr ""
  51554. #. type: example
  51555. #: guix-git/doc/guix.texi:35036
  51556. #, no-wrap
  51557. msgid "guix system delete-generations 2m\n"
  51558. msgstr ""
  51559. #. type: table
  51560. #: guix-git/doc/guix.texi:35041
  51561. 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."
  51562. msgstr ""
  51563. #. type: table
  51564. #: guix-git/doc/guix.texi:35046
  51565. 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."
  51566. msgstr ""
  51567. #. type: item
  51568. #: guix-git/doc/guix.texi:35047
  51569. #, no-wrap
  51570. msgid "init"
  51571. msgstr ""
  51572. #. type: table
  51573. #: guix-git/doc/guix.texi:35051
  51574. 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:"
  51575. msgstr ""
  51576. #. type: example
  51577. #: guix-git/doc/guix.texi:35054
  51578. #, no-wrap
  51579. msgid "guix system init my-os-config.scm /mnt\n"
  51580. msgstr ""
  51581. #. type: table
  51582. #: guix-git/doc/guix.texi:35061
  51583. 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."
  51584. msgstr ""
  51585. #. type: table
  51586. #: guix-git/doc/guix.texi:35065
  51587. msgid "This command also installs bootloader on the targets specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  51588. msgstr ""
  51589. #. type: item
  51590. #: guix-git/doc/guix.texi:35066
  51591. #, no-wrap
  51592. msgid "vm"
  51593. msgstr ""
  51594. #. type: cindex
  51595. #: guix-git/doc/guix.texi:35067 guix-git/doc/guix.texi:35634
  51596. #, no-wrap
  51597. msgid "virtual machine"
  51598. msgstr ""
  51599. #. type: cindex
  51600. #: guix-git/doc/guix.texi:35068
  51601. #, no-wrap
  51602. msgid "VM"
  51603. msgstr ""
  51604. #. type: anchor{#1}
  51605. #: guix-git/doc/guix.texi:35072
  51606. msgid "guix system vm"
  51607. msgstr ""
  51608. #. type: table
  51609. #: guix-git/doc/guix.texi:35072
  51610. msgid "Build a virtual machine (VM) that contains the operating system declared in @var{file}, and return a script to run that VM."
  51611. msgstr ""
  51612. #. type: quotation
  51613. #: guix-git/doc/guix.texi:35080
  51614. 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})."
  51615. msgstr ""
  51616. #. type: table
  51617. #: guix-git/doc/guix.texi:35085
  51618. 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:"
  51619. msgstr ""
  51620. #. type: example
  51621. #: guix-git/doc/guix.texi:35088
  51622. #, no-wrap
  51623. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  51624. msgstr ""
  51625. #. type: table
  51626. #: guix-git/doc/guix.texi:35091
  51627. msgid "It's possible to combine the two steps into one:"
  51628. msgstr ""
  51629. #. type: example
  51630. #: guix-git/doc/guix.texi:35094
  51631. #, no-wrap
  51632. msgid "$ $(guix system vm my-config.scm) -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  51633. msgstr ""
  51634. #. type: table
  51635. #: guix-git/doc/guix.texi:35097
  51636. msgid "The VM shares its store with the host system."
  51637. msgstr ""
  51638. #. type: table
  51639. #: guix-git/doc/guix.texi:35102
  51640. 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."
  51641. msgstr ""
  51642. #. type: table
  51643. #: guix-git/doc/guix.texi:35106
  51644. 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:"
  51645. msgstr ""
  51646. #. type: example
  51647. #: guix-git/doc/guix.texi:35110
  51648. #, no-wrap
  51649. msgid ""
  51650. "guix system vm my-config.scm \\\n"
  51651. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  51652. msgstr ""
  51653. #. type: table
  51654. #: guix-git/doc/guix.texi:35115
  51655. 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."
  51656. msgstr ""
  51657. #. type: table
  51658. #: guix-git/doc/guix.texi:35120
  51659. 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."
  51660. msgstr ""
  51661. #. type: table
  51662. #: guix-git/doc/guix.texi:35123
  51663. msgid "The @option{--image-size} option can be used to specify the size of the image."
  51664. msgstr ""
  51665. #. type: table
  51666. #: guix-git/doc/guix.texi:35130
  51667. msgid "The @option{--no-graphic} option will instruct @command{guix system} to spawn a headless VM that will use the invoking tty for IO. Among other things, this enables copy-pasting, and scrollback. Use the @kbd{ctrl-a} prefix to issue QEMU commands; e.g. @kbd{ctrl-a h} prints a help, @kbd{ctrl-a x} quits the VM, and @kbd{ctrl-a c} switches between the QEMU monitor and the VM."
  51668. msgstr ""
  51669. #. type: cindex
  51670. #: guix-git/doc/guix.texi:35131
  51671. #, no-wrap
  51672. msgid "System images, creation in various formats"
  51673. msgstr ""
  51674. #. type: cindex
  51675. #: guix-git/doc/guix.texi:35132
  51676. #, no-wrap
  51677. msgid "Creating system images in various formats"
  51678. msgstr ""
  51679. #. type: item
  51680. #: guix-git/doc/guix.texi:35133
  51681. #, no-wrap
  51682. msgid "image"
  51683. msgstr ""
  51684. #. type: cindex
  51685. #: guix-git/doc/guix.texi:35134
  51686. #, no-wrap
  51687. msgid "image, creating disk images"
  51688. msgstr ""
  51689. #. type: table
  51690. #: guix-git/doc/guix.texi:35146
  51691. 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:"
  51692. msgstr ""
  51693. #. type: example
  51694. #: guix-git/doc/guix.texi:35154
  51695. #, no-wrap
  51696. msgid ""
  51697. "image=$(guix system image --image-type=qcow2 \\\n"
  51698. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  51699. "cp $image /tmp/my-image.qcow2\n"
  51700. "chmod +w /tmp/my-image.qcow2\n"
  51701. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  51702. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  51703. msgstr ""
  51704. #. type: table
  51705. #: guix-git/doc/guix.texi:35160
  51706. 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:"
  51707. msgstr ""
  51708. #. type: example
  51709. #: guix-git/doc/guix.texi:35163
  51710. #, no-wrap
  51711. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  51712. msgstr ""
  51713. #. type: table
  51714. #: guix-git/doc/guix.texi:35167
  51715. msgid "The @code{--list-image-types} command lists all the available image types."
  51716. msgstr ""
  51717. #. type: cindex
  51718. #: guix-git/doc/guix.texi:35168
  51719. #, no-wrap
  51720. msgid "creating virtual machine images"
  51721. msgstr ""
  51722. #. type: table
  51723. #: guix-git/doc/guix.texi:35177
  51724. 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)."
  51725. msgstr ""
  51726. #. type: cindex
  51727. #: guix-git/doc/guix.texi:35178
  51728. #, no-wrap
  51729. msgid "docker-image, creating docker images"
  51730. msgstr ""
  51731. #. type: table
  51732. #: guix-git/doc/guix.texi:35184
  51733. msgid "When using the @code{docker} image type, a Docker image is produced. Guix builds the image from scratch, not from a pre-existing Docker base image. As a result, it contains @emph{exactly} what you define in the operating system configuration file. You can then load the image and launch a Docker container using commands like the following:"
  51734. msgstr ""
  51735. #. type: example
  51736. #: guix-git/doc/guix.texi:35189
  51737. #, no-wrap
  51738. msgid ""
  51739. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  51740. "container_id=\"$(docker create $image_id)\"\n"
  51741. "docker start $container_id\n"
  51742. msgstr ""
  51743. #. type: table
  51744. #: guix-git/doc/guix.texi:35196
  51745. 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}:"
  51746. msgstr ""
  51747. #. type: example
  51748. #: guix-git/doc/guix.texi:35199
  51749. #, no-wrap
  51750. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  51751. msgstr ""
  51752. #. type: table
  51753. #: guix-git/doc/guix.texi:35206
  51754. 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}."
  51755. msgstr ""
  51756. #. type: table
  51757. #: guix-git/doc/guix.texi:35210
  51758. 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."
  51759. msgstr ""
  51760. #. type: table
  51761. #: guix-git/doc/guix.texi:35218
  51762. 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."
  51763. msgstr ""
  51764. #. type: table
  51765. #: guix-git/doc/guix.texi:35222
  51766. 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."
  51767. msgstr ""
  51768. #. type: table
  51769. #: guix-git/doc/guix.texi:35226
  51770. 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:"
  51771. msgstr ""
  51772. #. type: example
  51773. #: guix-git/doc/guix.texi:35230
  51774. #, no-wrap
  51775. msgid ""
  51776. "guix system container my-config.scm \\\n"
  51777. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  51778. msgstr ""
  51779. #. type: quotation
  51780. #: guix-git/doc/guix.texi:35234
  51781. msgid "This option requires Linux-libre 3.19 or newer."
  51782. msgstr ""
  51783. #. type: Plain text
  51784. #: guix-git/doc/guix.texi:35241 guix-git/doc/guix.texi:37710
  51785. 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:"
  51786. msgstr ""
  51787. #. type: table
  51788. #: guix-git/doc/guix.texi:35250
  51789. 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})."
  51790. msgstr ""
  51791. #. type: table
  51792. #: guix-git/doc/guix.texi:35255
  51793. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  51794. msgstr ""
  51795. #. type: table
  51796. #: guix-git/doc/guix.texi:35260
  51797. msgid "Return the derivation file name of the given operating system without building anything."
  51798. msgstr ""
  51799. #. type: table
  51800. #: guix-git/doc/guix.texi:35269
  51801. 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:"
  51802. msgstr ""
  51803. #. type: example
  51804. #: guix-git/doc/guix.texi:35272
  51805. #, no-wrap
  51806. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  51807. msgstr ""
  51808. #. type: table
  51809. #: guix-git/doc/guix.texi:35279
  51810. 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."
  51811. msgstr ""
  51812. #. type: item
  51813. #: guix-git/doc/guix.texi:35280
  51814. #, no-wrap
  51815. msgid "--image-type=@var{type}"
  51816. msgstr ""
  51817. #. type: table
  51818. #: guix-git/doc/guix.texi:35283
  51819. msgid "For the @code{image} action, create an image with given @var{type}."
  51820. msgstr ""
  51821. #. type: table
  51822. #: guix-git/doc/guix.texi:35286
  51823. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  51824. msgstr ""
  51825. #. type: cindex
  51826. #: guix-git/doc/guix.texi:35287
  51827. #, no-wrap
  51828. msgid "ISO-9660 format"
  51829. msgstr ""
  51830. #. type: cindex
  51831. #: guix-git/doc/guix.texi:35288
  51832. #, no-wrap
  51833. msgid "CD image format"
  51834. msgstr ""
  51835. #. type: cindex
  51836. #: guix-git/doc/guix.texi:35289
  51837. #, no-wrap
  51838. msgid "DVD image format"
  51839. msgstr ""
  51840. #. type: table
  51841. #: guix-git/doc/guix.texi:35292
  51842. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  51843. msgstr ""
  51844. #. type: item
  51845. #: guix-git/doc/guix.texi:35293
  51846. #, no-wrap
  51847. msgid "--image-size=@var{size}"
  51848. msgstr ""
  51849. #. type: table
  51850. #: guix-git/doc/guix.texi:35298
  51851. 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})."
  51852. msgstr ""
  51853. #. type: table
  51854. #: guix-git/doc/guix.texi:35302
  51855. 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}."
  51856. msgstr ""
  51857. #. type: table
  51858. #: guix-git/doc/guix.texi:35307
  51859. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  51860. msgstr ""
  51861. #. type: item
  51862. #: guix-git/doc/guix.texi:35313
  51863. #, no-wrap
  51864. msgid "--skip-checks"
  51865. msgstr ""
  51866. #. type: table
  51867. #: guix-git/doc/guix.texi:35315
  51868. msgid "Skip pre-installation safety checks."
  51869. msgstr ""
  51870. #. type: table
  51871. #: guix-git/doc/guix.texi:35322
  51872. 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."
  51873. msgstr ""
  51874. #. type: table
  51875. #: guix-git/doc/guix.texi:35325
  51876. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  51877. msgstr ""
  51878. #. type: table
  51879. #: guix-git/doc/guix.texi:35333
  51880. 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."
  51881. msgstr ""
  51882. #. type: cindex
  51883. #: guix-git/doc/guix.texi:35339
  51884. #, no-wrap
  51885. msgid "on-error"
  51886. msgstr ""
  51887. #. type: cindex
  51888. #: guix-git/doc/guix.texi:35340
  51889. #, no-wrap
  51890. msgid "on-error strategy"
  51891. msgstr ""
  51892. #. type: cindex
  51893. #: guix-git/doc/guix.texi:35341
  51894. #, no-wrap
  51895. msgid "error strategy"
  51896. msgstr ""
  51897. #. type: item
  51898. #: guix-git/doc/guix.texi:35342
  51899. #, no-wrap
  51900. msgid "--on-error=@var{strategy}"
  51901. msgstr ""
  51902. #. type: table
  51903. #: guix-git/doc/guix.texi:35345
  51904. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  51905. msgstr ""
  51906. #. type: item
  51907. #: guix-git/doc/guix.texi:35347
  51908. #, no-wrap
  51909. msgid "nothing-special"
  51910. msgstr ""
  51911. #. type: table
  51912. #: guix-git/doc/guix.texi:35349
  51913. msgid "Report the error concisely and exit. This is the default strategy."
  51914. msgstr ""
  51915. #. type: item
  51916. #: guix-git/doc/guix.texi:35350
  51917. #, no-wrap
  51918. msgid "backtrace"
  51919. msgstr ""
  51920. #. type: table
  51921. #: guix-git/doc/guix.texi:35352
  51922. msgid "Likewise, but also display a backtrace."
  51923. msgstr ""
  51924. #. type: item
  51925. #: guix-git/doc/guix.texi:35353
  51926. #, no-wrap
  51927. msgid "debug"
  51928. msgstr ""
  51929. #. type: table
  51930. #: guix-git/doc/guix.texi:35359
  51931. 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."
  51932. msgstr ""
  51933. #. type: Plain text
  51934. #: guix-git/doc/guix.texi:35366
  51935. 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:"
  51936. msgstr ""
  51937. #. type: item
  51938. #: guix-git/doc/guix.texi:35369 guix-git/doc/guix.texi:37673
  51939. #, no-wrap
  51940. msgid "describe"
  51941. msgstr ""
  51942. #. type: table
  51943. #: guix-git/doc/guix.texi:35372
  51944. msgid "Describe the current system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  51945. msgstr ""
  51946. #. type: item
  51947. #: guix-git/doc/guix.texi:35373 guix-git/doc/guix.texi:37677
  51948. #, no-wrap
  51949. msgid "list-generations"
  51950. msgstr ""
  51951. #. type: table
  51952. #: guix-git/doc/guix.texi:35378
  51953. 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})."
  51954. msgstr ""
  51955. #. type: table
  51956. #: guix-git/doc/guix.texi:35383 guix-git/doc/guix.texi:37687
  51957. 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:"
  51958. msgstr ""
  51959. #. type: example
  51960. #: guix-git/doc/guix.texi:35386
  51961. #, no-wrap
  51962. msgid "$ guix system list-generations 10d\n"
  51963. msgstr ""
  51964. #. type: Plain text
  51965. #: guix-git/doc/guix.texi:35393
  51966. 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:"
  51967. msgstr ""
  51968. #. type: anchor{#1}
  51969. #: guix-git/doc/guix.texi:35395
  51970. msgid "system-extension-graph"
  51971. msgstr ""
  51972. #. type: item
  51973. #: guix-git/doc/guix.texi:35397
  51974. #, no-wrap
  51975. msgid "extension-graph"
  51976. msgstr ""
  51977. #. type: table
  51978. #: guix-git/doc/guix.texi:35404
  51979. 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}}):"
  51980. msgstr ""
  51981. #. type: table
  51982. #: guix-git/doc/guix.texi:35406
  51983. msgid "The command:"
  51984. msgstr ""
  51985. #. type: example
  51986. #: guix-git/doc/guix.texi:35409
  51987. #, no-wrap
  51988. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  51989. msgstr ""
  51990. #. type: table
  51991. #: guix-git/doc/guix.texi:35412
  51992. msgid "shows the extension relations among services."
  51993. msgstr ""
  51994. #. type: anchor{#1}
  51995. #: guix-git/doc/guix.texi:35414
  51996. msgid "system-shepherd-graph"
  51997. msgstr ""
  51998. #. type: item
  51999. #: guix-git/doc/guix.texi:35414
  52000. #, no-wrap
  52001. msgid "shepherd-graph"
  52002. msgstr ""
  52003. #. type: table
  52004. #: guix-git/doc/guix.texi:35419
  52005. 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."
  52006. msgstr ""
  52007. #. type: table
  52008. #: guix-git/doc/guix.texi:35422
  52009. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  52010. msgstr ""
  52011. #. type: section
  52012. #: guix-git/doc/guix.texi:35426
  52013. #, no-wrap
  52014. msgid "Invoking @code{guix deploy}"
  52015. msgstr ""
  52016. #. type: Plain text
  52017. #: guix-git/doc/guix.texi:35434
  52018. 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''."
  52019. msgstr ""
  52020. #. type: quotation
  52021. #: guix-git/doc/guix.texi:35439 guix-git/doc/guix.texi:36900
  52022. 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}!"
  52023. msgstr ""
  52024. #. type: example
  52025. #: guix-git/doc/guix.texi:35443
  52026. #, no-wrap
  52027. msgid "guix deploy @var{file}\n"
  52028. msgstr ""
  52029. #. type: Plain text
  52030. #: guix-git/doc/guix.texi:35447
  52031. 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:"
  52032. msgstr ""
  52033. #. type: lisp
  52034. #: guix-git/doc/guix.texi:35454
  52035. #, no-wrap
  52036. msgid ""
  52037. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  52038. ";; no X11 display server, to a machine with an SSH daemon\n"
  52039. ";; listening on localhost:2222. A configuration such as this\n"
  52040. ";; may be appropriate for virtual machine with ports\n"
  52041. ";; forwarded to the host's loopback interface.\n"
  52042. "\n"
  52043. msgstr ""
  52044. #. type: lisp
  52045. #: guix-git/doc/guix.texi:35457
  52046. #, no-wrap
  52047. msgid ""
  52048. "(use-service-modules networking ssh)\n"
  52049. "(use-package-modules bootloaders)\n"
  52050. "\n"
  52051. msgstr ""
  52052. #. type: lisp
  52053. #: guix-git/doc/guix.texi:35478
  52054. #, no-wrap
  52055. msgid ""
  52056. "(define %system\n"
  52057. " (operating-system\n"
  52058. " (host-name \"gnu-deployed\")\n"
  52059. " (timezone \"Etc/UTC\")\n"
  52060. " (bootloader (bootloader-configuration\n"
  52061. " (bootloader grub-bootloader)\n"
  52062. " (targets '(\"/dev/vda\"))\n"
  52063. " (terminal-outputs '(console))))\n"
  52064. " (file-systems (cons (file-system\n"
  52065. " (mount-point \"/\")\n"
  52066. " (device \"/dev/vda1\")\n"
  52067. " (type \"ext4\"))\n"
  52068. " %base-file-systems))\n"
  52069. " (services\n"
  52070. " (append (list (service dhcp-client-service-type)\n"
  52071. " (service openssh-service-type\n"
  52072. " (openssh-configuration\n"
  52073. " (permit-root-login #t)\n"
  52074. " (allow-empty-passwords? #t))))\n"
  52075. " %base-services))))\n"
  52076. "\n"
  52077. msgstr ""
  52078. #. type: lisp
  52079. #: guix-git/doc/guix.texi:35488
  52080. #, no-wrap
  52081. msgid ""
  52082. "(list (machine\n"
  52083. " (operating-system %system)\n"
  52084. " (environment managed-host-environment-type)\n"
  52085. " (configuration (machine-ssh-configuration\n"
  52086. " (host-name \"localhost\")\n"
  52087. " (system \"x86_64-linux\")\n"
  52088. " (user \"alice\")\n"
  52089. " (identity \"./id_rsa\")\n"
  52090. " (port 2222)))))\n"
  52091. msgstr ""
  52092. #. type: Plain text
  52093. #: guix-git/doc/guix.texi:35501
  52094. 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."
  52095. msgstr ""
  52096. #. type: Plain text
  52097. #: guix-git/doc/guix.texi:35506
  52098. 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:"
  52099. msgstr ""
  52100. #. type: Plain text
  52101. #: guix-git/doc/guix.texi:35514
  52102. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  52103. msgstr ""
  52104. #. type: example
  52105. #: guix-git/doc/guix.texi:35517
  52106. #, no-wrap
  52107. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  52108. msgstr ""
  52109. #. type: Plain text
  52110. #: guix-git/doc/guix.texi:35528
  52111. 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:"
  52112. msgstr ""
  52113. #. type: lisp
  52114. #: guix-git/doc/guix.texi:35532
  52115. #, no-wrap
  52116. msgid ""
  52117. "(use-modules ...\n"
  52118. " (gnu system)) ;for %sudoers-specification\n"
  52119. "\n"
  52120. msgstr ""
  52121. #. type: lisp
  52122. #: guix-git/doc/guix.texi:35534
  52123. #, no-wrap
  52124. msgid ""
  52125. "(define %user \"username\")\n"
  52126. "\n"
  52127. msgstr ""
  52128. #. type: lisp
  52129. #: guix-git/doc/guix.texi:35542
  52130. #, no-wrap
  52131. msgid ""
  52132. "(operating-system\n"
  52133. " ...\n"
  52134. " (sudoers-file\n"
  52135. " (plain-file \"sudoers\"\n"
  52136. " (string-append (plain-file-content %sudoers-specification)\n"
  52137. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  52138. " %user)))))\n"
  52139. "\n"
  52140. msgstr ""
  52141. #. type: Plain text
  52142. #: guix-git/doc/guix.texi:35547
  52143. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  52144. msgstr ""
  52145. #. type: deftp
  52146. #: guix-git/doc/guix.texi:35548
  52147. #, no-wrap
  52148. msgid "{Data Type} machine"
  52149. msgstr ""
  52150. #. type: deftp
  52151. #: guix-git/doc/guix.texi:35551
  52152. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  52153. msgstr ""
  52154. #. type: table
  52155. #: guix-git/doc/guix.texi:35555
  52156. msgid "The object of the operating system configuration to deploy."
  52157. msgstr ""
  52158. #. type: code{#1}
  52159. #: guix-git/doc/guix.texi:35556
  52160. #, no-wrap
  52161. msgid "environment"
  52162. msgstr ""
  52163. #. type: table
  52164. #: guix-git/doc/guix.texi:35558
  52165. msgid "An @code{environment-type} describing how the machine should be provisioned."
  52166. msgstr ""
  52167. #. type: item
  52168. #: guix-git/doc/guix.texi:35559
  52169. #, no-wrap
  52170. msgid "@code{configuration} (default: @code{#f})"
  52171. msgstr ""
  52172. #. type: table
  52173. #: guix-git/doc/guix.texi:35564
  52174. 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."
  52175. msgstr ""
  52176. #. type: deftp
  52177. #: guix-git/doc/guix.texi:35567
  52178. #, no-wrap
  52179. msgid "{Data Type} machine-ssh-configuration"
  52180. msgstr ""
  52181. #. type: deftp
  52182. #: guix-git/doc/guix.texi:35570
  52183. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  52184. msgstr ""
  52185. #. type: item
  52186. #: guix-git/doc/guix.texi:35573
  52187. #, no-wrap
  52188. msgid "@code{build-locally?} (default: @code{#t})"
  52189. msgstr ""
  52190. #. type: table
  52191. #: guix-git/doc/guix.texi:35575
  52192. msgid "If false, system derivations will be built on the machine being deployed to."
  52193. msgstr ""
  52194. #. type: code{#1}
  52195. #: guix-git/doc/guix.texi:35575
  52196. #, no-wrap
  52197. msgid "system"
  52198. msgstr ""
  52199. #. type: table
  52200. #: guix-git/doc/guix.texi:35578
  52201. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  52202. msgstr ""
  52203. #. type: item
  52204. #: guix-git/doc/guix.texi:35578
  52205. #, no-wrap
  52206. msgid "@code{authorize?} (default: @code{#t})"
  52207. msgstr ""
  52208. #. type: table
  52209. #: guix-git/doc/guix.texi:35581
  52210. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  52211. msgstr ""
  52212. #. type: item
  52213. #: guix-git/doc/guix.texi:35583
  52214. #, no-wrap
  52215. msgid "@code{identity} (default: @code{#f})"
  52216. msgstr ""
  52217. #. type: table
  52218. #: guix-git/doc/guix.texi:35586
  52219. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  52220. msgstr ""
  52221. #. type: item
  52222. #: guix-git/doc/guix.texi:35587
  52223. #, no-wrap
  52224. msgid "@code{host-key} (default: @code{#f})"
  52225. msgstr ""
  52226. #. type: table
  52227. #: guix-git/doc/guix.texi:35589
  52228. msgid "This should be the SSH host key of the machine, which looks like this:"
  52229. msgstr ""
  52230. #. type: example
  52231. #: guix-git/doc/guix.texi:35592
  52232. #, no-wrap
  52233. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  52234. msgstr ""
  52235. #. type: table
  52236. #: guix-git/doc/guix.texi:35597
  52237. 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."
  52238. msgstr ""
  52239. #. type: item
  52240. #: guix-git/doc/guix.texi:35598
  52241. #, no-wrap
  52242. msgid "@code{allow-downgrades?} (default: @code{#f})"
  52243. msgstr ""
  52244. #. type: table
  52245. #: guix-git/doc/guix.texi:35600
  52246. msgid "Whether to allow potential downgrades."
  52247. msgstr ""
  52248. #. type: table
  52249. #: guix-git/doc/guix.texi:35608
  52250. 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."
  52251. msgstr ""
  52252. #. type: deftp
  52253. #: guix-git/doc/guix.texi:35611
  52254. #, no-wrap
  52255. msgid "{Data Type} digital-ocean-configuration"
  52256. msgstr ""
  52257. #. type: deftp
  52258. #: guix-git/doc/guix.texi:35614
  52259. 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}."
  52260. msgstr ""
  52261. #. type: code{#1}
  52262. #: guix-git/doc/guix.texi:35616
  52263. #, no-wrap
  52264. msgid "ssh-key"
  52265. msgstr ""
  52266. #. type: table
  52267. #: guix-git/doc/guix.texi:35619
  52268. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  52269. msgstr ""
  52270. #. type: code{#1}
  52271. #: guix-git/doc/guix.texi:35619
  52272. #, no-wrap
  52273. msgid "tags"
  52274. msgstr ""
  52275. #. type: table
  52276. #: guix-git/doc/guix.texi:35622
  52277. 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."
  52278. msgstr ""
  52279. #. type: code{#1}
  52280. #: guix-git/doc/guix.texi:35622
  52281. #, no-wrap
  52282. msgid "region"
  52283. msgstr ""
  52284. #. type: table
  52285. #: guix-git/doc/guix.texi:35624
  52286. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  52287. msgstr ""
  52288. #. type: table
  52289. #: guix-git/doc/guix.texi:35626
  52290. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  52291. msgstr ""
  52292. #. type: code{#1}
  52293. #: guix-git/doc/guix.texi:35626
  52294. #, no-wrap
  52295. msgid "enable-ipv6?"
  52296. msgstr ""
  52297. #. type: table
  52298. #: guix-git/doc/guix.texi:35628
  52299. msgid "Whether or not the droplet should be created with IPv6 networking."
  52300. msgstr ""
  52301. #. type: section
  52302. #: guix-git/doc/guix.texi:35632
  52303. #, no-wrap
  52304. msgid "Running Guix in a Virtual Machine"
  52305. msgstr ""
  52306. #. type: Plain text
  52307. #: guix-git/doc/guix.texi:35640
  52308. 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)."
  52309. msgstr ""
  52310. #. type: Plain text
  52311. #: guix-git/doc/guix.texi:35647
  52312. 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})."
  52313. msgstr ""
  52314. #. type: Plain text
  52315. #: guix-git/doc/guix.texi:35650
  52316. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  52317. msgstr ""
  52318. #. type: cindex
  52319. #: guix-git/doc/guix.texi:35651
  52320. #, no-wrap
  52321. msgid "QEMU"
  52322. msgstr ""
  52323. #. type: Plain text
  52324. #: guix-git/doc/guix.texi:35658
  52325. 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:"
  52326. msgstr ""
  52327. #. type: example
  52328. #: guix-git/doc/guix.texi:35665
  52329. #, no-wrap
  52330. msgid ""
  52331. "$ qemu-system-x86_64 \\\n"
  52332. " -nic user,model=virtio-net-pci \\\n"
  52333. " -enable-kvm -m 1024 \\\n"
  52334. " -device virtio-blk,drive=myhd \\\n"
  52335. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  52336. msgstr ""
  52337. #. type: Plain text
  52338. #: guix-git/doc/guix.texi:35668
  52339. msgid "Here is what each of these options means:"
  52340. msgstr ""
  52341. #. type: item
  52342. #: guix-git/doc/guix.texi:35670
  52343. #, no-wrap
  52344. msgid "qemu-system-x86_64"
  52345. msgstr ""
  52346. #. type: table
  52347. #: guix-git/doc/guix.texi:35673
  52348. msgid "This specifies the hardware platform to emulate. This should match the host."
  52349. msgstr ""
  52350. #. type: item
  52351. #: guix-git/doc/guix.texi:35674
  52352. #, no-wrap
  52353. msgid "-nic user,model=virtio-net-pci"
  52354. msgstr ""
  52355. #. type: table
  52356. #: guix-git/doc/guix.texi:35682
  52357. 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}."
  52358. msgstr ""
  52359. #. type: item
  52360. #: guix-git/doc/guix.texi:35683
  52361. #, no-wrap
  52362. msgid "-enable-kvm"
  52363. msgstr ""
  52364. #. type: table
  52365. #: guix-git/doc/guix.texi:35687
  52366. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  52367. msgstr ""
  52368. #. type: item
  52369. #: guix-git/doc/guix.texi:35689
  52370. #, no-wrap
  52371. msgid "-m 1024"
  52372. msgstr ""
  52373. #. type: table
  52374. #: guix-git/doc/guix.texi:35692
  52375. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  52376. msgstr ""
  52377. #. type: item
  52378. #: guix-git/doc/guix.texi:35693
  52379. #, no-wrap
  52380. msgid "-device virtio-blk,drive=myhd"
  52381. msgstr ""
  52382. #. type: table
  52383. #: guix-git/doc/guix.texi:35698
  52384. 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."
  52385. msgstr ""
  52386. #. type: item
  52387. #: guix-git/doc/guix.texi:35699
  52388. #, no-wrap
  52389. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  52390. msgstr ""
  52391. #. type: table
  52392. #: guix-git/doc/guix.texi:35702
  52393. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  52394. msgstr ""
  52395. #. type: Plain text
  52396. #: guix-git/doc/guix.texi:35712
  52397. 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}."
  52398. msgstr ""
  52399. #. type: subsection
  52400. #: guix-git/doc/guix.texi:35713
  52401. #, no-wrap
  52402. msgid "Connecting Through SSH"
  52403. msgstr ""
  52404. #. type: Plain text
  52405. #: guix-git/doc/guix.texi:35721
  52406. 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"
  52407. msgstr ""
  52408. #. type: example
  52409. #: guix-git/doc/guix.texi:35724
  52410. #, no-wrap
  52411. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  52412. msgstr ""
  52413. #. type: Plain text
  52414. #: guix-git/doc/guix.texi:35727
  52415. msgid "To connect to the VM you can run"
  52416. msgstr ""
  52417. #. type: example
  52418. #: guix-git/doc/guix.texi:35730
  52419. #, no-wrap
  52420. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  52421. msgstr ""
  52422. #. type: Plain text
  52423. #: guix-git/doc/guix.texi:35737
  52424. 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."
  52425. msgstr ""
  52426. #. type: quotation
  52427. #: guix-git/doc/guix.texi:35743
  52428. 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."
  52429. msgstr ""
  52430. #. type: subsection
  52431. #: guix-git/doc/guix.texi:35745
  52432. #, no-wrap
  52433. msgid "Using @command{virt-viewer} with Spice"
  52434. msgstr ""
  52435. #. type: Plain text
  52436. #: guix-git/doc/guix.texi:35751
  52437. 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."
  52438. msgstr ""
  52439. #. type: Plain text
  52440. #: guix-git/doc/guix.texi:35754
  52441. 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}:"
  52442. msgstr ""
  52443. #. type: example
  52444. #: guix-git/doc/guix.texi:35760
  52445. #, no-wrap
  52446. msgid ""
  52447. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  52448. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  52449. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\\\n"
  52450. "name=com.redhat.spice.0\n"
  52451. msgstr ""
  52452. #. type: Plain text
  52453. #: guix-git/doc/guix.texi:35764
  52454. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  52455. msgstr ""
  52456. #. type: Plain text
  52457. #: guix-git/doc/guix.texi:35771
  52458. 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?"
  52459. msgstr ""
  52460. #. type: cindex
  52461. #: guix-git/doc/guix.texi:35784
  52462. #, no-wrap
  52463. msgid "daemons"
  52464. msgstr ""
  52465. #. type: Plain text
  52466. #: guix-git/doc/guix.texi:35797
  52467. 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."
  52468. msgstr ""
  52469. #. type: cindex
  52470. #: guix-git/doc/guix.texi:35798
  52471. #, no-wrap
  52472. msgid "service extensions"
  52473. msgstr ""
  52474. #. type: Plain text
  52475. #: guix-git/doc/guix.texi:35810
  52476. 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})."
  52477. msgstr ""
  52478. #. type: Plain text
  52479. #: guix-git/doc/guix.texi:35814
  52480. 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:"
  52481. msgstr ""
  52482. #. type: Plain text
  52483. #: guix-git/doc/guix.texi:35816
  52484. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  52485. msgstr ""
  52486. #. type: cindex
  52487. #: guix-git/doc/guix.texi:35817
  52488. #, no-wrap
  52489. msgid "system service"
  52490. msgstr ""
  52491. #. type: Plain text
  52492. #: guix-git/doc/guix.texi:35825
  52493. 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."
  52494. msgstr ""
  52495. #. type: cindex
  52496. #: guix-git/doc/guix.texi:35826
  52497. #, no-wrap
  52498. msgid "service types"
  52499. msgstr ""
  52500. #. type: Plain text
  52501. #: guix-git/doc/guix.texi:35832
  52502. 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."
  52503. msgstr ""
  52504. #. type: Plain text
  52505. #: guix-git/doc/guix.texi:35835
  52506. msgid "The following section describes the programming interface for service types and services."
  52507. msgstr ""
  52508. #. type: Plain text
  52509. #: guix-git/doc/guix.texi:35842
  52510. 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}):"
  52511. msgstr ""
  52512. #. type: lisp
  52513. #: guix-git/doc/guix.texi:35852
  52514. #, no-wrap
  52515. msgid ""
  52516. "(define guix-service-type\n"
  52517. " (service-type\n"
  52518. " (name 'guix)\n"
  52519. " (extensions\n"
  52520. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  52521. " (service-extension account-service-type guix-accounts)\n"
  52522. " (service-extension activation-service-type guix-activation)))\n"
  52523. " (default-value (guix-configuration))))\n"
  52524. msgstr ""
  52525. #. type: Plain text
  52526. #: guix-git/doc/guix.texi:35856
  52527. msgid "It defines three things:"
  52528. msgstr ""
  52529. #. type: enumerate
  52530. #: guix-git/doc/guix.texi:35860
  52531. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  52532. msgstr ""
  52533. #. type: enumerate
  52534. #: guix-git/doc/guix.texi:35865
  52535. 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."
  52536. msgstr ""
  52537. #. type: enumerate
  52538. #: guix-git/doc/guix.texi:35868
  52539. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  52540. msgstr ""
  52541. #. type: enumerate
  52542. #: guix-git/doc/guix.texi:35871
  52543. msgid "Optionally, a default value for instances of this type."
  52544. msgstr ""
  52545. #. type: Plain text
  52546. #: guix-git/doc/guix.texi:35874
  52547. msgid "In this example, @code{guix-service-type} extends three services:"
  52548. msgstr ""
  52549. #. type: item
  52550. #: guix-git/doc/guix.texi:35876
  52551. #, no-wrap
  52552. msgid "shepherd-root-service-type"
  52553. msgstr ""
  52554. #. type: table
  52555. #: guix-git/doc/guix.texi:35881
  52556. 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})."
  52557. msgstr ""
  52558. #. type: item
  52559. #: guix-git/doc/guix.texi:35882
  52560. #, no-wrap
  52561. msgid "account-service-type"
  52562. msgstr ""
  52563. #. type: table
  52564. #: guix-git/doc/guix.texi:35887
  52565. 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})."
  52566. msgstr ""
  52567. #. type: item
  52568. #: guix-git/doc/guix.texi:35888
  52569. #, no-wrap
  52570. msgid "activation-service-type"
  52571. msgstr ""
  52572. #. type: table
  52573. #: guix-git/doc/guix.texi:35892
  52574. 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."
  52575. msgstr ""
  52576. #. type: Plain text
  52577. #: guix-git/doc/guix.texi:35895
  52578. msgid "A service of this type is instantiated like this:"
  52579. msgstr ""
  52580. #. type: lisp
  52581. #: guix-git/doc/guix.texi:35901
  52582. #, no-wrap
  52583. msgid ""
  52584. "(service guix-service-type\n"
  52585. " (guix-configuration\n"
  52586. " (build-accounts 5)\n"
  52587. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  52588. msgstr ""
  52589. #. type: Plain text
  52590. #: guix-git/doc/guix.texi:35909
  52591. 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:"
  52592. msgstr ""
  52593. #. type: lisp
  52594. #: guix-git/doc/guix.texi:35912
  52595. #, no-wrap
  52596. msgid "(service guix-service-type)\n"
  52597. msgstr ""
  52598. #. type: Plain text
  52599. #: guix-git/doc/guix.texi:35916
  52600. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  52601. msgstr ""
  52602. #. type: Plain text
  52603. #: guix-git/doc/guix.texi:35920
  52604. msgid "The service type for an @emph{extensible} service looks like this:"
  52605. msgstr ""
  52606. #. type: lisp
  52607. #: guix-git/doc/guix.texi:35927
  52608. #, no-wrap
  52609. msgid ""
  52610. "(define udev-service-type\n"
  52611. " (service-type (name 'udev)\n"
  52612. " (extensions\n"
  52613. " (list (service-extension shepherd-root-service-type\n"
  52614. " udev-shepherd-service)))\n"
  52615. "\n"
  52616. msgstr ""
  52617. #. type: lisp
  52618. #: guix-git/doc/guix.texi:35935
  52619. #, no-wrap
  52620. msgid ""
  52621. " (compose concatenate) ;concatenate the list of rules\n"
  52622. " (extend (lambda (config rules)\n"
  52623. " (match config\n"
  52624. " (($ <udev-configuration> udev initial-rules)\n"
  52625. " (udev-configuration\n"
  52626. " (udev udev) ;the udev package to use\n"
  52627. " (rules (append initial-rules rules)))))))))\n"
  52628. msgstr ""
  52629. #. type: Plain text
  52630. #: guix-git/doc/guix.texi:35941
  52631. 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:"
  52632. msgstr ""
  52633. #. type: item
  52634. #: guix-git/doc/guix.texi:35943
  52635. #, no-wrap
  52636. msgid "compose"
  52637. msgstr ""
  52638. #. type: table
  52639. #: guix-git/doc/guix.texi:35946
  52640. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  52641. msgstr ""
  52642. #. type: table
  52643. #: guix-git/doc/guix.texi:35949
  52644. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  52645. msgstr ""
  52646. #. type: item
  52647. #: guix-git/doc/guix.texi:35950
  52648. #, no-wrap
  52649. msgid "extend"
  52650. msgstr ""
  52651. #. type: table
  52652. #: guix-git/doc/guix.texi:35953
  52653. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  52654. msgstr ""
  52655. #. type: table
  52656. #: guix-git/doc/guix.texi:35958
  52657. 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."
  52658. msgstr ""
  52659. #. type: table
  52660. #: guix-git/doc/guix.texi:35964
  52661. 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})."
  52662. msgstr ""
  52663. #. type: Plain text
  52664. #: guix-git/doc/guix.texi:35969
  52665. 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."
  52666. msgstr ""
  52667. #. type: Plain text
  52668. #: guix-git/doc/guix.texi:35972
  52669. msgid "Still here? The next section provides a reference of the programming interface for services."
  52670. msgstr ""
  52671. #. type: Plain text
  52672. #: guix-git/doc/guix.texi:35980
  52673. 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."
  52674. msgstr ""
  52675. #. type: deffn
  52676. #: guix-git/doc/guix.texi:35981
  52677. #, no-wrap
  52678. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  52679. msgstr ""
  52680. #. type: deffn
  52681. #: guix-git/doc/guix.texi:35985
  52682. 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."
  52683. msgstr ""
  52684. #. type: deffn
  52685. #: guix-git/doc/guix.texi:35989
  52686. 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."
  52687. msgstr ""
  52688. #. type: deffn
  52689. #: guix-git/doc/guix.texi:35991
  52690. msgid "For instance, this:"
  52691. msgstr ""
  52692. #. type: lisp
  52693. #: guix-git/doc/guix.texi:35994
  52694. #, no-wrap
  52695. msgid "(service openssh-service-type)\n"
  52696. msgstr ""
  52697. #. type: deffn
  52698. #: guix-git/doc/guix.texi:35998
  52699. msgid "is equivalent to this:"
  52700. msgstr ""
  52701. #. type: lisp
  52702. #: guix-git/doc/guix.texi:36002
  52703. #, no-wrap
  52704. msgid ""
  52705. "(service openssh-service-type\n"
  52706. " (openssh-configuration))\n"
  52707. msgstr ""
  52708. #. type: deffn
  52709. #: guix-git/doc/guix.texi:36006
  52710. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  52711. msgstr ""
  52712. #. type: deffn
  52713. #: guix-git/doc/guix.texi:36008
  52714. #, no-wrap
  52715. msgid "{Scheme Procedure} service? @var{obj}"
  52716. msgstr ""
  52717. #. type: deffn
  52718. #: guix-git/doc/guix.texi:36010
  52719. msgid "Return true if @var{obj} is a service."
  52720. msgstr ""
  52721. #. type: deffn
  52722. #: guix-git/doc/guix.texi:36012
  52723. #, no-wrap
  52724. msgid "{Scheme Procedure} service-kind @var{service}"
  52725. msgstr ""
  52726. #. type: deffn
  52727. #: guix-git/doc/guix.texi:36014
  52728. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  52729. msgstr ""
  52730. #. type: deffn
  52731. #: guix-git/doc/guix.texi:36016
  52732. #, no-wrap
  52733. msgid "{Scheme Procedure} service-value @var{service}"
  52734. msgstr ""
  52735. #. type: deffn
  52736. #: guix-git/doc/guix.texi:36019
  52737. msgid "Return the value associated with @var{service}. It represents its parameters."
  52738. msgstr ""
  52739. #. type: Plain text
  52740. #: guix-git/doc/guix.texi:36022
  52741. msgid "Here is an example of how a service is created and manipulated:"
  52742. msgstr ""
  52743. #. type: lisp
  52744. #: guix-git/doc/guix.texi:36031
  52745. #, no-wrap
  52746. msgid ""
  52747. "(define s\n"
  52748. " (service nginx-service-type\n"
  52749. " (nginx-configuration\n"
  52750. " (nginx nginx)\n"
  52751. " (log-directory log-directory)\n"
  52752. " (run-directory run-directory)\n"
  52753. " (file config-file))))\n"
  52754. "\n"
  52755. msgstr ""
  52756. #. type: lisp
  52757. #: guix-git/doc/guix.texi:36034
  52758. #, no-wrap
  52759. msgid ""
  52760. "(service? s)\n"
  52761. "@result{} #t\n"
  52762. "\n"
  52763. msgstr ""
  52764. #. type: lisp
  52765. #: guix-git/doc/guix.texi:36037
  52766. #, no-wrap
  52767. msgid ""
  52768. "(eq? (service-kind s) nginx-service-type)\n"
  52769. "@result{} #t\n"
  52770. msgstr ""
  52771. #. type: Plain text
  52772. #: guix-git/doc/guix.texi:36047
  52773. 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."
  52774. msgstr ""
  52775. #. type: deffn
  52776. #: guix-git/doc/guix.texi:36048
  52777. #, no-wrap
  52778. msgid "{Scheme Syntax} modify-services @var{services} @"
  52779. msgstr ""
  52780. #. type: deffn
  52781. #: guix-git/doc/guix.texi:36050
  52782. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  52783. msgstr ""
  52784. #. type: deffn
  52785. #: guix-git/doc/guix.texi:36053
  52786. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  52787. msgstr ""
  52788. #. type: example
  52789. #: guix-git/doc/guix.texi:36056
  52790. #, no-wrap
  52791. msgid "(@var{type} @var{variable} => @var{body})\n"
  52792. msgstr ""
  52793. #. type: deffn
  52794. #: guix-git/doc/guix.texi:36063
  52795. 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}."
  52796. msgstr ""
  52797. #. type: deffn
  52798. #: guix-git/doc/guix.texi:36070
  52799. 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."
  52800. msgstr ""
  52801. #. type: deffn
  52802. #: guix-git/doc/guix.texi:36072
  52803. msgid "Clauses can also have the following form:"
  52804. msgstr ""
  52805. #. type: lisp
  52806. #: guix-git/doc/guix.texi:36075
  52807. #, no-wrap
  52808. msgid "(delete @var{type})\n"
  52809. msgstr ""
  52810. #. type: deffn
  52811. #: guix-git/doc/guix.texi:36079
  52812. msgid "Such a clause removes all services of the given @var{type} from @var{services}."
  52813. msgstr ""
  52814. #. type: deffn
  52815. #: guix-git/doc/guix.texi:36081
  52816. msgid "@xref{Using the Configuration System}, for example usage."
  52817. msgstr ""
  52818. #. type: Plain text
  52819. #: guix-git/doc/guix.texi:36088
  52820. 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."
  52821. msgstr ""
  52822. #. type: deftp
  52823. #: guix-git/doc/guix.texi:36089
  52824. #, no-wrap
  52825. msgid "{Data Type} service-type"
  52826. msgstr ""
  52827. #. type: cindex
  52828. #: guix-git/doc/guix.texi:36090
  52829. #, no-wrap
  52830. msgid "service type"
  52831. msgstr ""
  52832. #. type: deftp
  52833. #: guix-git/doc/guix.texi:36093
  52834. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  52835. msgstr ""
  52836. #. type: table
  52837. #: guix-git/doc/guix.texi:36097
  52838. msgid "This is a symbol, used only to simplify inspection and debugging."
  52839. msgstr ""
  52840. #. type: code{#1}
  52841. #: guix-git/doc/guix.texi:36098
  52842. #, no-wrap
  52843. msgid "extensions"
  52844. msgstr ""
  52845. #. type: table
  52846. #: guix-git/doc/guix.texi:36100
  52847. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  52848. msgstr ""
  52849. #. type: item
  52850. #: guix-git/doc/guix.texi:36101
  52851. #, no-wrap
  52852. msgid "@code{compose} (default: @code{#f})"
  52853. msgstr ""
  52854. #. type: table
  52855. #: guix-git/doc/guix.texi:36105
  52856. 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."
  52857. msgstr ""
  52858. #. type: table
  52859. #: guix-git/doc/guix.texi:36109
  52860. 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."
  52861. msgstr ""
  52862. #. type: item
  52863. #: guix-git/doc/guix.texi:36110
  52864. #, no-wrap
  52865. msgid "@code{extend} (default: @code{#f})"
  52866. msgstr ""
  52867. #. type: table
  52868. #: guix-git/doc/guix.texi:36112
  52869. msgid "If this is @code{#f}, services of this type cannot be extended."
  52870. msgstr ""
  52871. #. type: table
  52872. #: guix-git/doc/guix.texi:36118
  52873. 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."
  52874. msgstr ""
  52875. #. type: table
  52876. #: guix-git/doc/guix.texi:36124
  52877. 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})."
  52878. msgstr ""
  52879. #. type: item
  52880. #: guix-git/doc/guix.texi:36125
  52881. #, no-wrap
  52882. msgid "@code{default-value} (default: @code{&no-default-value})"
  52883. msgstr ""
  52884. #. type: table
  52885. #: guix-git/doc/guix.texi:36128
  52886. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  52887. msgstr ""
  52888. #. type: lisp
  52889. #: guix-git/doc/guix.texi:36131
  52890. #, no-wrap
  52891. msgid "(service @var{type})\n"
  52892. msgstr ""
  52893. #. type: table
  52894. #: guix-git/doc/guix.texi:36135
  52895. msgid "The returned service in this case has the default value specified by @var{type}."
  52896. msgstr ""
  52897. #. type: deftp
  52898. #: guix-git/doc/guix.texi:36138
  52899. msgid "@xref{Service Types and Services}, for examples."
  52900. msgstr ""
  52901. #. type: deffn
  52902. #: guix-git/doc/guix.texi:36140
  52903. #, no-wrap
  52904. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  52905. msgstr ""
  52906. #. type: deffn
  52907. #: guix-git/doc/guix.texi:36146
  52908. 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."
  52909. msgstr ""
  52910. #. type: deffn
  52911. #: guix-git/doc/guix.texi:36148
  52912. #, no-wrap
  52913. msgid "{Scheme Procedure} service-extension? @var{obj}"
  52914. msgstr ""
  52915. #. type: deffn
  52916. #: guix-git/doc/guix.texi:36150
  52917. msgid "Return true if @var{obj} is a service extension."
  52918. msgstr ""
  52919. #. type: Plain text
  52920. #: guix-git/doc/guix.texi:36156
  52921. 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."
  52922. msgstr ""
  52923. #. type: deffn
  52924. #: guix-git/doc/guix.texi:36157
  52925. #, no-wrap
  52926. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  52927. msgstr ""
  52928. #. type: deffn
  52929. #: guix-git/doc/guix.texi:36161
  52930. 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."
  52931. msgstr ""
  52932. #. type: deffn
  52933. #: guix-git/doc/guix.texi:36164
  52934. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  52935. msgstr ""
  52936. #. type: lisp
  52937. #: guix-git/doc/guix.texi:36168
  52938. #, no-wrap
  52939. msgid ""
  52940. "(simple-service 'my-mcron-job mcron-service-type\n"
  52941. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  52942. msgstr ""
  52943. #. type: Plain text
  52944. #: guix-git/doc/guix.texi:36178
  52945. 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."
  52946. msgstr ""
  52947. #. type: deffn
  52948. #: guix-git/doc/guix.texi:36179
  52949. #, no-wrap
  52950. msgid "{Scheme Procedure} fold-services @var{services} @"
  52951. msgstr ""
  52952. #. type: deffn
  52953. #: guix-git/doc/guix.texi:36183
  52954. 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."
  52955. msgstr ""
  52956. #. type: Plain text
  52957. #: guix-git/doc/guix.texi:36187
  52958. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  52959. msgstr ""
  52960. #. type: defvr
  52961. #: guix-git/doc/guix.texi:36188
  52962. #, no-wrap
  52963. msgid "{Scheme Variable} system-service-type"
  52964. msgstr ""
  52965. #. type: defvr
  52966. #: guix-git/doc/guix.texi:36191
  52967. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  52968. msgstr ""
  52969. #. type: defvr
  52970. #: guix-git/doc/guix.texi:36193
  52971. #, no-wrap
  52972. msgid "{Scheme Variable} boot-service-type"
  52973. msgstr ""
  52974. #. type: defvr
  52975. #: guix-git/doc/guix.texi:36196
  52976. 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."
  52977. msgstr ""
  52978. #. type: defvr
  52979. #: guix-git/doc/guix.texi:36198
  52980. #, no-wrap
  52981. msgid "{Scheme Variable} etc-service-type"
  52982. msgstr ""
  52983. #. type: defvr
  52984. #: guix-git/doc/guix.texi:36202
  52985. 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:"
  52986. msgstr ""
  52987. #. type: lisp
  52988. #: guix-git/doc/guix.texi:36205
  52989. #, no-wrap
  52990. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  52991. msgstr ""
  52992. #. type: defvr
  52993. #: guix-git/doc/guix.texi:36209
  52994. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  52995. msgstr ""
  52996. #. type: defvr
  52997. #: guix-git/doc/guix.texi:36211
  52998. #, no-wrap
  52999. msgid "{Scheme Variable} setuid-program-service-type"
  53000. msgstr ""
  53001. #. type: defvr
  53002. #: guix-git/doc/guix.texi:36215
  53003. 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})."
  53004. msgstr ""
  53005. #. type: defvr
  53006. #: guix-git/doc/guix.texi:36217
  53007. #, no-wrap
  53008. msgid "{Scheme Variable} profile-service-type"
  53009. msgstr ""
  53010. #. type: defvr
  53011. #: guix-git/doc/guix.texi:36221
  53012. 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."
  53013. msgstr ""
  53014. #. type: anchor{#1}
  53015. #: guix-git/doc/guix.texi:36225
  53016. msgid "provenance-service-type"
  53017. msgstr ""
  53018. #. type: defvr
  53019. #: guix-git/doc/guix.texi:36225
  53020. #, no-wrap
  53021. msgid "{Scheme Variable} provenance-service-type"
  53022. msgstr ""
  53023. #. type: defvr
  53024. #: guix-git/doc/guix.texi:36229
  53025. 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}:"
  53026. msgstr ""
  53027. #. type: item
  53028. #: guix-git/doc/guix.texi:36231
  53029. #, no-wrap
  53030. msgid "channels.scm"
  53031. msgstr ""
  53032. #. type: table
  53033. #: guix-git/doc/guix.texi:36236
  53034. 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})."
  53035. msgstr ""
  53036. #. type: item
  53037. #: guix-git/doc/guix.texi:36237
  53038. #, no-wrap
  53039. msgid "configuration.scm"
  53040. msgstr ""
  53041. #. type: table
  53042. #: guix-git/doc/guix.texi:36242
  53043. 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."
  53044. msgstr ""
  53045. #. type: item
  53046. #: guix-git/doc/guix.texi:36243
  53047. #, no-wrap
  53048. msgid "provenance"
  53049. msgstr ""
  53050. #. type: table
  53051. #: guix-git/doc/guix.texi:36246
  53052. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  53053. msgstr ""
  53054. #. type: defvr
  53055. #: guix-git/doc/guix.texi:36250
  53056. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  53057. msgstr ""
  53058. #. type: quotation
  53059. #: guix-git/doc/guix.texi:36251
  53060. #, no-wrap
  53061. msgid "Caveats"
  53062. msgstr ""
  53063. #. type: quotation
  53064. #: guix-git/doc/guix.texi:36258
  53065. 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."
  53066. msgstr ""
  53067. #. type: quotation
  53068. #: guix-git/doc/guix.texi:36266
  53069. 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."
  53070. msgstr ""
  53071. #. type: defvr
  53072. #: guix-git/doc/guix.texi:36271
  53073. 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}."
  53074. msgstr ""
  53075. #. type: defvr
  53076. #: guix-git/doc/guix.texi:36273
  53077. #, no-wrap
  53078. msgid "{Scheme Variable} linux-loadable-module-service-type"
  53079. msgstr ""
  53080. #. type: defvr
  53081. #: guix-git/doc/guix.texi:36277
  53082. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  53083. msgstr ""
  53084. #. type: defvr
  53085. #: guix-git/doc/guix.texi:36280
  53086. msgid "This service type is intended to be extended by other service types, such as below:"
  53087. msgstr ""
  53088. #. type: lisp
  53089. #: guix-git/doc/guix.texi:36286
  53090. #, no-wrap
  53091. msgid ""
  53092. "(simple-service 'installing-module\n"
  53093. " linux-loadable-module-service-type\n"
  53094. " (list module-to-install-1\n"
  53095. " module-to-install-2))\n"
  53096. msgstr ""
  53097. #. type: defvr
  53098. #: guix-git/doc/guix.texi:36290
  53099. 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."
  53100. msgstr ""
  53101. #. type: cindex
  53102. #: guix-git/doc/guix.texi:36295 guix-git/doc/guix.texi:37447
  53103. #, no-wrap
  53104. msgid "shepherd services"
  53105. msgstr ""
  53106. #. type: cindex
  53107. #: guix-git/doc/guix.texi:36296
  53108. #, no-wrap
  53109. msgid "PID 1"
  53110. msgstr ""
  53111. #. type: cindex
  53112. #: guix-git/doc/guix.texi:36297
  53113. #, no-wrap
  53114. msgid "init system"
  53115. msgstr ""
  53116. #. type: Plain text
  53117. #: guix-git/doc/guix.texi:36303
  53118. 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})."
  53119. msgstr ""
  53120. #. type: Plain text
  53121. #: guix-git/doc/guix.texi:36309
  53122. 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:"
  53123. msgstr ""
  53124. #. type: Plain text
  53125. #: guix-git/doc/guix.texi:36311
  53126. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  53127. msgstr ""
  53128. #. type: Plain text
  53129. #: guix-git/doc/guix.texi:36315
  53130. 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}})."
  53131. msgstr ""
  53132. #. type: Plain text
  53133. #: guix-git/doc/guix.texi:36319
  53134. 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."
  53135. msgstr ""
  53136. #. type: deftp
  53137. #: guix-git/doc/guix.texi:36320
  53138. #, no-wrap
  53139. msgid "{Data Type} shepherd-service"
  53140. msgstr ""
  53141. #. type: deftp
  53142. #: guix-git/doc/guix.texi:36322
  53143. msgid "The data type representing a service managed by the Shepherd."
  53144. msgstr ""
  53145. #. type: code{#1}
  53146. #: guix-git/doc/guix.texi:36324
  53147. #, no-wrap
  53148. msgid "provision"
  53149. msgstr ""
  53150. #. type: table
  53151. #: guix-git/doc/guix.texi:36326
  53152. msgid "This is a list of symbols denoting what the service provides."
  53153. msgstr ""
  53154. #. type: table
  53155. #: guix-git/doc/guix.texi:36331
  53156. 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."
  53157. msgstr ""
  53158. #. type: item
  53159. #: guix-git/doc/guix.texi:36332
  53160. #, no-wrap
  53161. msgid "@code{requirement} (default: @code{'()})"
  53162. msgstr ""
  53163. #. type: table
  53164. #: guix-git/doc/guix.texi:36334
  53165. msgid "List of symbols denoting the Shepherd services this one depends on."
  53166. msgstr ""
  53167. #. type: cindex
  53168. #: guix-git/doc/guix.texi:36335
  53169. #, no-wrap
  53170. msgid "one-shot services, for the Shepherd"
  53171. msgstr ""
  53172. #. type: table
  53173. #: guix-git/doc/guix.texi:36340
  53174. 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."
  53175. msgstr ""
  53176. #. type: item
  53177. #: guix-git/doc/guix.texi:36341
  53178. #, no-wrap
  53179. msgid "@code{respawn?} (default: @code{#t})"
  53180. msgstr ""
  53181. #. type: table
  53182. #: guix-git/doc/guix.texi:36344
  53183. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  53184. msgstr ""
  53185. #. type: code{#1}
  53186. #: guix-git/doc/guix.texi:36345
  53187. #, no-wrap
  53188. msgid "start"
  53189. msgstr ""
  53190. #. type: itemx
  53191. #: guix-git/doc/guix.texi:36346
  53192. #, no-wrap
  53193. msgid "@code{stop} (default: @code{#~(const #f)})"
  53194. msgstr ""
  53195. #. type: table
  53196. #: guix-git/doc/guix.texi:36352
  53197. 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})."
  53198. msgstr ""
  53199. #. type: item
  53200. #: guix-git/doc/guix.texi:36353
  53201. #, no-wrap
  53202. msgid "@code{actions} (default: @code{'()})"
  53203. msgstr ""
  53204. #. type: cindex
  53205. #: guix-git/doc/guix.texi:36354
  53206. #, no-wrap
  53207. msgid "actions, of Shepherd services"
  53208. msgstr ""
  53209. #. type: table
  53210. #: guix-git/doc/guix.texi:36359
  53211. 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:"
  53212. msgstr ""
  53213. #. type: example
  53214. #: guix-git/doc/guix.texi:36362
  53215. #, no-wrap
  53216. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  53217. msgstr ""
  53218. #. type: item
  53219. #: guix-git/doc/guix.texi:36364
  53220. #, no-wrap
  53221. msgid "@code{auto-start?} (default: @code{#t})"
  53222. msgstr ""
  53223. #. type: table
  53224. #: guix-git/doc/guix.texi:36367
  53225. 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}."
  53226. msgstr ""
  53227. #. type: table
  53228. #: guix-git/doc/guix.texi:36370
  53229. msgid "A documentation string, as shown when running:"
  53230. msgstr ""
  53231. #. type: example
  53232. #: guix-git/doc/guix.texi:36373
  53233. #, no-wrap
  53234. msgid "herd doc @var{service-name}\n"
  53235. msgstr ""
  53236. #. type: table
  53237. #: guix-git/doc/guix.texi:36377
  53238. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  53239. msgstr ""
  53240. #. type: table
  53241. #: guix-git/doc/guix.texi:36381
  53242. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  53243. msgstr ""
  53244. #. type: Plain text
  53245. #: guix-git/doc/guix.texi:36389
  53246. 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}):"
  53247. msgstr ""
  53248. #. type: example
  53249. #: guix-git/doc/guix.texi:36401
  53250. #, no-wrap
  53251. msgid ""
  53252. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  53253. " (shepherd-service\n"
  53254. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  53255. " (provision '(syslogd))\n"
  53256. " (requirement '(user-processes))\n"
  53257. " (start #~(make-forkexec-constructor\n"
  53258. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  53259. " \"--rcfile\" #$config)\n"
  53260. " #:pid-file \"/var/run/syslog.pid\"))\n"
  53261. " (stop #~(make-kill-destructor))))\n"
  53262. msgstr ""
  53263. #. type: Plain text
  53264. #: guix-git/doc/guix.texi:36416
  53265. 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})."
  53266. msgstr ""
  53267. #. type: deftp
  53268. #: guix-git/doc/guix.texi:36417
  53269. #, no-wrap
  53270. msgid "{Data Type} shepherd-action"
  53271. msgstr ""
  53272. #. type: deftp
  53273. #: guix-git/doc/guix.texi:36420
  53274. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  53275. msgstr ""
  53276. #. type: table
  53277. #: guix-git/doc/guix.texi:36424
  53278. msgid "Symbol naming the action."
  53279. msgstr ""
  53280. #. type: table
  53281. #: guix-git/doc/guix.texi:36427
  53282. msgid "This is a documentation string for the action. It can be viewed by running:"
  53283. msgstr ""
  53284. #. type: example
  53285. #: guix-git/doc/guix.texi:36430
  53286. #, no-wrap
  53287. msgid "herd doc @var{service} action @var{action}\n"
  53288. msgstr ""
  53289. #. type: item
  53290. #: guix-git/doc/guix.texi:36432
  53291. #, no-wrap
  53292. msgid "procedure"
  53293. msgstr ""
  53294. #. type: table
  53295. #: guix-git/doc/guix.texi:36436
  53296. 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})."
  53297. msgstr ""
  53298. #. type: deftp
  53299. #: guix-git/doc/guix.texi:36440
  53300. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  53301. msgstr ""
  53302. #. type: lisp
  53303. #: guix-git/doc/guix.texi:36449
  53304. #, no-wrap
  53305. msgid ""
  53306. "(shepherd-action\n"
  53307. " (name 'say-hello)\n"
  53308. " (documentation \"Say hi!\")\n"
  53309. " (procedure #~(lambda (running . args)\n"
  53310. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  53311. " args)\n"
  53312. " #t)))\n"
  53313. msgstr ""
  53314. #. type: deftp
  53315. #: guix-git/doc/guix.texi:36452
  53316. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  53317. msgstr ""
  53318. #. type: example
  53319. #: guix-git/doc/guix.texi:36458
  53320. #, no-wrap
  53321. msgid ""
  53322. "# herd say-hello example\n"
  53323. "Hello, friend! arguments: ()\n"
  53324. "# herd say-hello example a b c\n"
  53325. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  53326. msgstr ""
  53327. #. type: deftp
  53328. #: guix-git/doc/guix.texi:36463
  53329. 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."
  53330. msgstr ""
  53331. #. type: defvr
  53332. #: guix-git/doc/guix.texi:36465
  53333. #, no-wrap
  53334. msgid "{Scheme Variable} shepherd-root-service-type"
  53335. msgstr ""
  53336. #. type: defvr
  53337. #: guix-git/doc/guix.texi:36467
  53338. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  53339. msgstr ""
  53340. #. type: defvr
  53341. #: guix-git/doc/guix.texi:36472
  53342. 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."
  53343. msgstr ""
  53344. #. type: deftp
  53345. #: guix-git/doc/guix.texi:36474
  53346. #, no-wrap
  53347. msgid "{Data Type} shepherd-configuration"
  53348. msgstr ""
  53349. #. type: deftp
  53350. #: guix-git/doc/guix.texi:36476 guix-git/doc/guix.texi:37463
  53351. msgid "This data type represents the Shepherd's configuration."
  53352. msgstr ""
  53353. #. type: item
  53354. #: guix-git/doc/guix.texi:36478 guix-git/doc/guix.texi:37465
  53355. #, no-wrap
  53356. msgid "shepherd (default: @code{shepherd})"
  53357. msgstr ""
  53358. #. type: table
  53359. #: guix-git/doc/guix.texi:36480 guix-git/doc/guix.texi:37467
  53360. msgid "The Shepherd package to use."
  53361. msgstr ""
  53362. #. type: item
  53363. #: guix-git/doc/guix.texi:36481 guix-git/doc/guix.texi:37471
  53364. #, no-wrap
  53365. msgid "services (default: @code{'()})"
  53366. msgstr ""
  53367. #. type: table
  53368. #: guix-git/doc/guix.texi:36485 guix-git/doc/guix.texi:37475
  53369. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  53370. msgstr ""
  53371. #. type: Plain text
  53372. #: guix-git/doc/guix.texi:36490
  53373. msgid "The following example specifies the Shepherd package for the operating system:"
  53374. msgstr ""
  53375. #. type: lisp
  53376. #: guix-git/doc/guix.texi:36505
  53377. #, no-wrap
  53378. msgid ""
  53379. "(operating-system\n"
  53380. " ;; ...\n"
  53381. " (services (append (list openssh-service-type))\n"
  53382. " ;; ...\n"
  53383. " %desktop-services)\n"
  53384. " ;; ...\n"
  53385. " ;; Use own Shepherd package.\n"
  53386. " (essential-services\n"
  53387. " (modify-services (operating-system-default-essential-services\n"
  53388. " this-operating-system)\n"
  53389. " (shepherd-root-service-type config => (shepherd-configuration\n"
  53390. " (inherit config)\n"
  53391. " (shepherd my-shepherd))))))\n"
  53392. msgstr ""
  53393. #. type: defvr
  53394. #: guix-git/doc/guix.texi:36507
  53395. #, no-wrap
  53396. msgid "{Scheme Variable} %shepherd-root-service"
  53397. msgstr ""
  53398. #. type: defvr
  53399. #: guix-git/doc/guix.texi:36509
  53400. msgid "This service represents PID@tie{}1."
  53401. msgstr ""
  53402. #. type: cindex
  53403. #: guix-git/doc/guix.texi:36513
  53404. #, fuzzy, no-wrap
  53405. #| msgid "Documentation"
  53406. msgid "complex configurations"
  53407. msgstr "مستندات"
  53408. #. type: Plain text
  53409. #: guix-git/doc/guix.texi:36518
  53410. msgid "Some programs might have rather complex configuration files or formats, and to make it easier to create Scheme bindings for these configuration files, you can use the utilities defined in the @code{(gnu services configuration)} module."
  53411. msgstr ""
  53412. #. type: Plain text
  53413. #: guix-git/doc/guix.texi:36526
  53414. msgid "The main utility is the @code{define-configuration} macro, which you will use to define a Scheme record type (@pxref{Record Overview,,, guile, GNU Guile Reference Manual}). The Scheme record will be serialized to a configuration file by using @dfn{serializers}, which are procedures that take some kind of Scheme value and returns a G-expression (@pxref{G-Expressions}), which should, once serialized to the disk, return a string. More details are listed below."
  53415. msgstr ""
  53416. #. type: deffn
  53417. #: guix-git/doc/guix.texi:36527
  53418. #, no-wrap
  53419. msgid "{Scheme Syntax} define-configuration @var{name} @var{clause1} @"
  53420. msgstr ""
  53421. #. type: deffn
  53422. #: guix-git/doc/guix.texi:36531
  53423. msgid "@var{clause2} ... Create a record type named @code{@var{name}} that contains the fields found in the clauses."
  53424. msgstr ""
  53425. #. type: deffn
  53426. #: guix-git/doc/guix.texi:36533
  53427. msgid "A clause can have one of the following forms:"
  53428. msgstr ""
  53429. #. type: example
  53430. #: guix-git/doc/guix.texi:36538
  53431. #, no-wrap
  53432. msgid ""
  53433. "(@var{field-name}\n"
  53434. " (@var{type} @var{default-value})\n"
  53435. " @var{documentation})\n"
  53436. " \n"
  53437. msgstr ""
  53438. #. type: example
  53439. #: guix-git/doc/guix.texi:36543
  53440. #, no-wrap
  53441. msgid ""
  53442. "(@var{field-name}\n"
  53443. " (@var{type} @var{default-value})\n"
  53444. " @var{documentation}\n"
  53445. " @var{serializer})\n"
  53446. "\n"
  53447. msgstr ""
  53448. #. type: example
  53449. #: guix-git/doc/guix.texi:36547
  53450. #, no-wrap
  53451. msgid ""
  53452. "(@var{field-name}\n"
  53453. " (@var{type})\n"
  53454. " @var{documentation})\n"
  53455. "\n"
  53456. msgstr ""
  53457. #. type: example
  53458. #: guix-git/doc/guix.texi:36552
  53459. #, no-wrap
  53460. msgid ""
  53461. "(@var{field-name}\n"
  53462. " (@var{type})\n"
  53463. " @var{documentation}\n"
  53464. " @var{serializer})\n"
  53465. msgstr ""
  53466. #. type: deffn
  53467. #: guix-git/doc/guix.texi:36556
  53468. msgid "@var{field-name} is an identifier that denotes the name of the field in the generated record."
  53469. msgstr ""
  53470. #. type: deffn
  53471. #: guix-git/doc/guix.texi:36564
  53472. msgid "@var{type} is the type of the value corresponding to @var{field-name}; since Guile is untyped, a predicate procedure---@code{@var{type}?}---will be called on the value corresponding to the field to ensure that the value is of the correct type. This means that if say, @var{type} is @code{package}, then a procedure named @code{package?} will be applied on the value to make sure that it is indeed a @code{<package>} object."
  53473. msgstr ""
  53474. #. type: deffn
  53475. #: guix-git/doc/guix.texi:36568
  53476. msgid "@var{default-value} is the default value corresponding to the field; if none is specified, the user is forced to provide a value when creating an object of the record type."
  53477. msgstr ""
  53478. #. type: deffn
  53479. #: guix-git/doc/guix.texi:36573
  53480. msgid "@var{documentation} is a string formatted with Texinfo syntax which should provide a description of what setting this field does."
  53481. msgstr ""
  53482. #. type: deffn
  53483. #: guix-git/doc/guix.texi:36580
  53484. msgid "@var{serializer} is the name of a procedure which takes two arguments, the first is the name of the field, and the second is the value corresponding to the field. The procedure should return a string or G-expression (@pxref{G-Expressions}) that represents the content that will be serialized to the configuration file. If none is specified, a procedure of the name @code{serialize-@var{type}} will be used."
  53485. msgstr ""
  53486. #. type: deffn
  53487. #: guix-git/doc/guix.texi:36582
  53488. msgid "A simple serializer procedure could look like this:"
  53489. msgstr ""
  53490. #. type: lisp
  53491. #: guix-git/doc/guix.texi:36587
  53492. #, no-wrap
  53493. msgid ""
  53494. "(define (serialize-boolean field-name value)\n"
  53495. " (let ((value (if value \"true\" \"false\")))\n"
  53496. " #~(string-append #$field-name #$value)))\n"
  53497. msgstr ""
  53498. #. type: deffn
  53499. #: guix-git/doc/guix.texi:36598
  53500. msgid "In some cases multiple different configuration records might be defined in the same file, but their serializers for the same type might have to be different, because they have different configuration formats. For example, the @code{serialize-boolean} procedure for the Getmail service would have to be different for the one for the Transmission service. To make it easier to deal with this situation, one can specify a serializer prefix by using the @code{prefix} literal in the @code{define-configuration} form. This means that one doesn't have to manually specify a custom @var{serializer} for every field."
  53501. msgstr ""
  53502. #. type: lisp
  53503. #: guix-git/doc/guix.texi:36602
  53504. #, no-wrap
  53505. msgid ""
  53506. "(define (foo-serialize-string field-name value)\n"
  53507. " @dots{})\n"
  53508. "\n"
  53509. msgstr ""
  53510. #. type: lisp
  53511. #: guix-git/doc/guix.texi:36605
  53512. #, no-wrap
  53513. msgid ""
  53514. "(define (bar-serialize-string field-name value)\n"
  53515. " @dots{})\n"
  53516. " \n"
  53517. msgstr ""
  53518. #. type: lisp
  53519. #: guix-git/doc/guix.texi:36611
  53520. #, no-wrap
  53521. msgid ""
  53522. "(define-configuration foo-configuration\n"
  53523. " (label\n"
  53524. " (string)\n"
  53525. " \"The name of label.\")\n"
  53526. " (prefix foo-))\n"
  53527. "\n"
  53528. msgstr ""
  53529. #. type: lisp
  53530. #: guix-git/doc/guix.texi:36617
  53531. #, no-wrap
  53532. msgid ""
  53533. "(define-configuration bar-configuration\n"
  53534. " (ip-address\n"
  53535. " (string)\n"
  53536. " \"The IPv4 address for this device.\")\n"
  53537. " (prefix bar-))\n"
  53538. msgstr ""
  53539. #. type: deffn
  53540. #: guix-git/doc/guix.texi:36623
  53541. msgid "However, in some cases you might not want to serialize any of the values of the record, to do this, you can use the @code{no-serialization} literal. There is also the @code{define-configuration/no-serialization} macro which is a shorthand of this."
  53542. msgstr ""
  53543. #. type: lisp
  53544. #: guix-git/doc/guix.texi:36631
  53545. #, no-wrap
  53546. msgid ""
  53547. ";; Nothing will be serialized to disk.\n"
  53548. "(define-configuration foo-configuration\n"
  53549. " (field\n"
  53550. " (string \"test\")\n"
  53551. " \"Some documentation.\")\n"
  53552. " (no-serialization))\n"
  53553. "\n"
  53554. msgstr ""
  53555. #. type: lisp
  53556. #: guix-git/doc/guix.texi:36637
  53557. #, no-wrap
  53558. msgid ""
  53559. ";; The same thing as above.\n"
  53560. "(define-configuration/no-serialization bar-configuration\n"
  53561. " (field\n"
  53562. " (string \"test\")\n"
  53563. " \"Some documentation.\"))\n"
  53564. msgstr ""
  53565. #. type: deffn
  53566. #: guix-git/doc/guix.texi:36640
  53567. #, no-wrap
  53568. msgid "{Scheme Syntax} define-maybe @var{type}"
  53569. msgstr ""
  53570. #. type: deffn
  53571. #: guix-git/doc/guix.texi:36645
  53572. msgid "Sometimes a field should not be serialized if the user doesn’t specify a value. To achieve this, you can use the @code{define-maybe} macro to define a ``maybe type''; if the value of a maybe type is set to the @code{disabled}, it will not be serialized."
  53573. msgstr ""
  53574. #. type: deffn
  53575. #: guix-git/doc/guix.texi:36652
  53576. msgid "When defining a ``maybe type'', the corresponding serializer for the regular type will be used by default. For example, a field of type @code{maybe-string} will be serialized using the @code{serialize-string} procedure by default, you can of course change this by specifying a custom serializer procedure. Likewise, the type of the value would have to be a string, unless it is set to the @code{disabled} symbol."
  53577. msgstr ""
  53578. #. type: lisp
  53579. #: guix-git/doc/guix.texi:36655
  53580. #, no-wrap
  53581. msgid ""
  53582. "(define-maybe string)\n"
  53583. "\n"
  53584. msgstr ""
  53585. #. type: lisp
  53586. #: guix-git/doc/guix.texi:36658
  53587. #, no-wrap
  53588. msgid ""
  53589. "(define (serialize-string field-name value)\n"
  53590. " @dots{})\n"
  53591. "\n"
  53592. msgstr ""
  53593. #. type: lisp
  53594. #: guix-git/doc/guix.texi:36665
  53595. #, no-wrap
  53596. msgid ""
  53597. "(define-configuration baz-configuration\n"
  53598. " (name\n"
  53599. " ;; Nothing will be serialized by default. If set to a string, the\n"
  53600. " ;; `serialize-string' procedure will be used to serialize the string.\n"
  53601. " (maybe-string 'disabled)\n"
  53602. " \"The name of this module.\"))\n"
  53603. msgstr ""
  53604. #. type: deffn
  53605. #: guix-git/doc/guix.texi:36669
  53606. msgid "Like with @code{define-configuration}, one can set a prefix for the serializer name by using the @code{prefix} literal."
  53607. msgstr ""
  53608. #. type: lisp
  53609. #: guix-git/doc/guix.texi:36673
  53610. #, no-wrap
  53611. msgid ""
  53612. "(define-maybe integer\n"
  53613. " (prefix baz-))\n"
  53614. "\n"
  53615. msgstr ""
  53616. #. type: lisp
  53617. #: guix-git/doc/guix.texi:36676
  53618. #, no-wrap
  53619. msgid ""
  53620. "(define (baz-serialize-interger field-name value)\n"
  53621. " @dots{})\n"
  53622. msgstr ""
  53623. #. type: deffn
  53624. #: guix-git/doc/guix.texi:36683
  53625. msgid "There is also the @code{no-serialization} literal, which when set means that no serializer will be defined for the ``maybe type'', regardless of its value is @code{disabled} or not. @code{define-maybe/no-serialization} is a shorthand for specifying the @code{no-serialization} literal."
  53626. msgstr ""
  53627. #. type: lisp
  53628. #: guix-git/doc/guix.texi:36686
  53629. #, no-wrap
  53630. msgid ""
  53631. "(define-maybe/no-serialization symbol)\n"
  53632. "\n"
  53633. msgstr ""
  53634. #. type: lisp
  53635. #: guix-git/doc/guix.texi:36691
  53636. #, no-wrap
  53637. msgid ""
  53638. "(define-configuration/no-serialization test-configuration\n"
  53639. " (mode\n"
  53640. " (maybe-symbol 'disabled)\n"
  53641. " \"Docstring.\"))\n"
  53642. msgstr ""
  53643. #. type: deffn
  53644. #: guix-git/doc/guix.texi:36694
  53645. #, no-wrap
  53646. msgid "{Scheme Procedure} serialize-configuration @var{configuration} @"
  53647. msgstr ""
  53648. #. type: deffn
  53649. #: guix-git/doc/guix.texi:36700
  53650. msgid "@var{fields} Return a G-expression that contains the values corresponding to the @var{fields} of @var{configuration}, a record that has been generated by @code{define-configuration}. The G-expression can then be serialized to disk by using something like @code{mixed-text-file}."
  53651. msgstr ""
  53652. #. type: deffn
  53653. #: guix-git/doc/guix.texi:36702
  53654. #, no-wrap
  53655. msgid "{Scheme Procedure} validate-configuration @var{configuration}"
  53656. msgstr ""
  53657. #. type: deffn
  53658. #: guix-git/doc/guix.texi:36706
  53659. msgid "@var{fields} Type-check @var{fields}, a list of field names of @var{configuration}, a configuration record created by @code{define-configuration}."
  53660. msgstr ""
  53661. #. type: deffn
  53662. #: guix-git/doc/guix.texi:36708
  53663. #, no-wrap
  53664. msgid "{Scheme Procedure} empty-serializer @var{field-name} @var{value}"
  53665. msgstr ""
  53666. #. type: deffn
  53667. #: guix-git/doc/guix.texi:36711
  53668. msgid "A serializer that just returns an empty string. The @code{serialize-package} procedure is an alias for this."
  53669. msgstr ""
  53670. #. type: Plain text
  53671. #: guix-git/doc/guix.texi:36716
  53672. msgid "Once you have defined a configuration record, you will most likely also want to document it so that other people know to use it. To help with that, there are two procedures, both of which are documented below."
  53673. msgstr ""
  53674. #. type: deffn
  53675. #: guix-git/doc/guix.texi:36717
  53676. #, no-wrap
  53677. msgid "{Scheme Procedure} generate-documentation @var{documentation} @"
  53678. msgstr ""
  53679. #. type: deffn
  53680. #: guix-git/doc/guix.texi:36724
  53681. msgid "@var{documentation-name} Generate a Texinfo fragment from the docstrings in @var{documentation}, a list of @code{(@var{label} @var{fields} @var{sub-documentation} ...)}. @var{label} should be a symbol and should be the name of the configuration record. @var{fields} should be a list of all the fields available for the configuration record."
  53682. msgstr ""
  53683. #. type: deffn
  53684. #: guix-git/doc/guix.texi:36729
  53685. msgid "@var{sub-documentation} is a @code{(@var{field-name} @var{configuration-name})} tuple. @var{field-name} is the name of the field which takes another configuration record as its value, and @var{configuration-name} is the name of that configuration record."
  53686. msgstr ""
  53687. #. type: deffn
  53688. #: guix-git/doc/guix.texi:36736
  53689. msgid "@var{sub-documentation} is only needed if there are nested configuration records. For example, the @code{getmail-configuration} record (@pxref{Mail Services}) accepts a @code{getmail-configuration-file} record in one of its @code{rcfile} field, therefore documentation for @code{getmail-configuration-file} is nested in @code{getmail-configuration}."
  53690. msgstr ""
  53691. #. type: lisp
  53692. #: guix-git/doc/guix.texi:36743
  53693. #, no-wrap
  53694. msgid ""
  53695. "(generate-documentation\n"
  53696. " `((getmail-configuration ,getmail-configuration-fields\n"
  53697. " (rcfile getmail-configuration-file))\n"
  53698. " @dots{})\n"
  53699. " 'getmail-configuration)\n"
  53700. msgstr ""
  53701. #. type: deffn
  53702. #: guix-git/doc/guix.texi:36747
  53703. msgid "@var{documentation-name} should be a symbol and should be the name of the configuration record."
  53704. msgstr ""
  53705. #. type: deffn
  53706. #: guix-git/doc/guix.texi:36750
  53707. #, no-wrap
  53708. msgid "{Scheme Procedure} configuration->documentation"
  53709. msgstr ""
  53710. #. type: deffn
  53711. #: guix-git/doc/guix.texi:36757
  53712. msgid "@var{configuration-symbol} Take @var{configuration-symbol}, the symbol corresponding to the name used when defining a configuration record with @code{define-configuration}, and print the Texinfo documentation of its fields. This is useful if there aren’t any nested configuration records since it only prints the documentation for the top-level fields."
  53713. msgstr ""
  53714. #. type: Plain text
  53715. #: guix-git/doc/guix.texi:36765
  53716. msgid "As of right now, there is no automated way to generate documentation for configuration records and put them in the manual. Instead, every time you make a change to the docstrings of a configuration record, you have to manually call @code{generate-documentation} or @code{configuration->documentation}, and paste the output into the @file{doc/guix.texi} file."
  53717. msgstr ""
  53718. #. type: Plain text
  53719. #: guix-git/doc/guix.texi:36769
  53720. msgid "Below is an example of a record type created using @code{define-configuration} and friends."
  53721. msgstr ""
  53722. #. type: lisp
  53723. #: guix-git/doc/guix.texi:36776
  53724. #, no-wrap
  53725. msgid ""
  53726. "(use-modules (gnu services)\n"
  53727. " (guix gexp)\n"
  53728. " (gnu services configuration)\n"
  53729. " (srfi srfi-26)\n"
  53730. " (srfi srfi-1))\n"
  53731. "\n"
  53732. msgstr ""
  53733. #. type: lisp
  53734. #: guix-git/doc/guix.texi:36784
  53735. #, no-wrap
  53736. msgid ""
  53737. ";; Turn field names, which are Scheme symbols into strings\n"
  53738. "(define (uglify-field-name field-name)\n"
  53739. " (let ((str (symbol->string field-name)))\n"
  53740. " ;; field? -> is-field\n"
  53741. " (if (string-suffix? \"?\" str)\n"
  53742. " (string-append \"is-\" (string-drop-right str 1))\n"
  53743. " str)))\n"
  53744. "\n"
  53745. msgstr ""
  53746. #. type: lisp
  53747. #: guix-git/doc/guix.texi:36787
  53748. #, no-wrap
  53749. msgid ""
  53750. "(define (serialize-string field-name value)\n"
  53751. " #~(string-append #$(uglify-field-name field-name) \" = \" #$value \"\\n\"))\n"
  53752. "\n"
  53753. msgstr ""
  53754. #. type: lisp
  53755. #: guix-git/doc/guix.texi:36790
  53756. #, no-wrap
  53757. msgid ""
  53758. "(define (serialize-integer field-name value)\n"
  53759. " (serialize-string field-name (number->string value)))\n"
  53760. "\n"
  53761. msgstr ""
  53762. #. type: lisp
  53763. #: guix-git/doc/guix.texi:36793
  53764. #, no-wrap
  53765. msgid ""
  53766. "(define (serialize-boolean field-name value)\n"
  53767. " (serialize-string field-name (if value \"true\" \"false\")))\n"
  53768. "\n"
  53769. msgstr ""
  53770. #. type: lisp
  53771. #: guix-git/doc/guix.texi:36796
  53772. #, no-wrap
  53773. msgid ""
  53774. "(define (serialize-contact-name field-name value)\n"
  53775. " #~(string-append \"\\n[\" #$value \"]\\n\"))\n"
  53776. "\n"
  53777. msgstr ""
  53778. #. type: lisp
  53779. #: guix-git/doc/guix.texi:36799
  53780. #, no-wrap
  53781. msgid ""
  53782. "(define (list-of-contact-configurations? lst)\n"
  53783. " (every contact-configuration? lst))\n"
  53784. "\n"
  53785. msgstr ""
  53786. #. type: lisp
  53787. #: guix-git/doc/guix.texi:36804
  53788. #, no-wrap
  53789. msgid ""
  53790. "(define (serialize-list-of-contact-configurations field-name value)\n"
  53791. " #~(string-append #$@@(map (cut serialize-configuration <>\n"
  53792. " contact-configuration-fields)\n"
  53793. " value)))\n"
  53794. "\n"
  53795. msgstr ""
  53796. #. type: lisp
  53797. #: guix-git/doc/guix.texi:36811
  53798. #, no-wrap
  53799. msgid ""
  53800. "(define (serialize-contacts-list-configuration configuration)\n"
  53801. " (mixed-text-file\n"
  53802. " \"contactrc\"\n"
  53803. " #~(string-append \"[Owner]\\n\"\n"
  53804. " #$(serialize-configuration\n"
  53805. " configuration contacts-list-configuration-fields))))\n"
  53806. "\n"
  53807. msgstr ""
  53808. #. type: lisp
  53809. #: guix-git/doc/guix.texi:36814
  53810. #, no-wrap
  53811. msgid ""
  53812. "(define-maybe integer)\n"
  53813. "(define-maybe string)\n"
  53814. "\n"
  53815. msgstr ""
  53816. #. type: lisp
  53817. #: guix-git/doc/guix.texi:36829
  53818. #, no-wrap
  53819. msgid ""
  53820. "(define-configuration contact-configuration\n"
  53821. " (name\n"
  53822. " (string)\n"
  53823. " \"The name of the contact.\"\n"
  53824. " serialize-contact-name)\n"
  53825. " (phone-number\n"
  53826. " (maybe-integer 'disabled)\n"
  53827. " \"The person's phone number.\")\n"
  53828. " (email\n"
  53829. " (maybe-string 'disabled)\n"
  53830. " \"The person's email address.\")\n"
  53831. " (married?\n"
  53832. " (boolean)\n"
  53833. " \"Whether the person is married.\"))\n"
  53834. "\n"
  53835. msgstr ""
  53836. #. type: lisp
  53837. #: guix-git/doc/guix.texi:36841
  53838. #, no-wrap
  53839. msgid ""
  53840. "(define-configuration contacts-list-configuration\n"
  53841. " (name\n"
  53842. " (string)\n"
  53843. " \"The name of the owner of this contact list.\")\n"
  53844. " (email\n"
  53845. " (string)\n"
  53846. " \"The owner's email address.\")\n"
  53847. " (contacts\n"
  53848. " (list-of-contact-configurations '())\n"
  53849. " \"A list of @@code@{contact-configuation@} records which contain\n"
  53850. "information about all your contacts.\"))\n"
  53851. msgstr ""
  53852. #. type: Plain text
  53853. #: guix-git/doc/guix.texi:36844
  53854. msgid "A contacts list configuration could then be created like this:"
  53855. msgstr ""
  53856. #. type: lisp
  53857. #: guix-git/doc/guix.texi:36860
  53858. #, no-wrap
  53859. msgid ""
  53860. "(define my-contacts\n"
  53861. " (contacts-list-configuration\n"
  53862. " (name \"Alice\")\n"
  53863. " (email \"alice@@example.org\")\n"
  53864. " (contacts\n"
  53865. " (list (contact-configuration\n"
  53866. " (name \"Bob\")\n"
  53867. " (phone-number 1234)\n"
  53868. " (email \"bob@@gnu.org\")\n"
  53869. " (married? #f))\n"
  53870. " (contact-configuration\n"
  53871. " (name \"Charlie\")\n"
  53872. " (phone-number 0000)\n"
  53873. " (married? #t))))))\n"
  53874. msgstr ""
  53875. #. type: Plain text
  53876. #: guix-git/doc/guix.texi:36864
  53877. msgid "After serializing the configuration to disk, the resulting file would look like this:"
  53878. msgstr ""
  53879. #. type: example
  53880. #: guix-git/doc/guix.texi:36869
  53881. #, no-wrap
  53882. msgid ""
  53883. "[owner]\n"
  53884. "name = Alice\n"
  53885. "email = alice@@example.org\n"
  53886. "\n"
  53887. msgstr ""
  53888. #. type: example
  53889. #: guix-git/doc/guix.texi:36874
  53890. #, no-wrap
  53891. msgid ""
  53892. "[Bob]\n"
  53893. "phone-number = 1234\n"
  53894. "email = bob@@gnu.org\n"
  53895. "is-married = false\n"
  53896. "\n"
  53897. msgstr ""
  53898. #. type: example
  53899. #: guix-git/doc/guix.texi:36878
  53900. #, no-wrap
  53901. msgid ""
  53902. "[Charlie]\n"
  53903. "phone-number = 0\n"
  53904. "is-married = true\n"
  53905. msgstr ""
  53906. #. type: cindex
  53907. #: guix-git/doc/guix.texi:36883
  53908. #, no-wrap
  53909. msgid "home configuration"
  53910. msgstr ""
  53911. #. type: Plain text
  53912. #: guix-git/doc/guix.texi:36895
  53913. 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})."
  53914. msgstr ""
  53915. #. type: Plain text
  53916. #: guix-git/doc/guix.texi:36912
  53917. 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."
  53918. msgstr ""
  53919. #. type: Plain text
  53920. #: guix-git/doc/guix.texi:36915
  53921. msgid "Using Guix for managing home environments provides a number of advantages:"
  53922. msgstr ""
  53923. #. type: item
  53924. #: guix-git/doc/guix.texi:36918
  53925. #, no-wrap
  53926. msgid "All software can be configured in one language (Guile Scheme),"
  53927. msgstr ""
  53928. #. type: itemize
  53929. #: guix-git/doc/guix.texi:36921
  53930. msgid "this gives users the ability to share values between configurations of different programs."
  53931. msgstr ""
  53932. #. type: item
  53933. #: guix-git/doc/guix.texi:36922
  53934. #, no-wrap
  53935. msgid "A well-defined home environment is self-contained and can be"
  53936. msgstr ""
  53937. #. type: itemize
  53938. #: guix-git/doc/guix.texi:36925
  53939. msgid "created in a declarative and reproducible way---there is no need to grab external binaries or manually edit some configuration file."
  53940. msgstr ""
  53941. #. type: item
  53942. #: guix-git/doc/guix.texi:36926
  53943. #, no-wrap
  53944. msgid "After every @command{guix home reconfigure} invocation, a new home"
  53945. msgstr ""
  53946. #. type: itemize
  53947. #: guix-git/doc/guix.texi:36930
  53948. 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."
  53949. msgstr ""
  53950. #. type: item
  53951. #: guix-git/doc/guix.texi:36931
  53952. #, no-wrap
  53953. msgid "It is possible to manage stateful data with Guix Home, this"
  53954. msgstr ""
  53955. #. type: itemize
  53956. #: guix-git/doc/guix.texi:36936
  53957. 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."
  53958. msgstr ""
  53959. #. type: section
  53960. #: guix-git/doc/guix.texi:36944 guix-git/doc/guix.texi:36946
  53961. #: guix-git/doc/guix.texi:36947
  53962. #, no-wrap
  53963. msgid "Declaring the Home Environment"
  53964. msgstr ""
  53965. #. type: menuentry
  53966. #: guix-git/doc/guix.texi:36944
  53967. msgid "Customizing your Home."
  53968. msgstr ""
  53969. #. type: section
  53970. #: guix-git/doc/guix.texi:36944 guix-git/doc/guix.texi:37014
  53971. #: guix-git/doc/guix.texi:37015
  53972. #, no-wrap
  53973. msgid "Configuring the Shell"
  53974. msgstr ""
  53975. #. type: menuentry
  53976. #: guix-git/doc/guix.texi:36944
  53977. msgid "Enabling home environment."
  53978. msgstr ""
  53979. #. type: section
  53980. #: guix-git/doc/guix.texi:36944 guix-git/doc/guix.texi:37061
  53981. #: guix-git/doc/guix.texi:37062
  53982. #, no-wrap
  53983. msgid "Home Services"
  53984. msgstr ""
  53985. #. type: menuentry
  53986. #: guix-git/doc/guix.texi:36944
  53987. msgid "Specifying home services."
  53988. msgstr ""
  53989. #. type: menuentry
  53990. #: guix-git/doc/guix.texi:36944
  53991. msgid "Instantiating a home configuration."
  53992. msgstr ""
  53993. #. type: Plain text
  53994. #: guix-git/doc/guix.texi:36953
  53995. msgid "The home environment is configured by providing a @code{home-environment} declaration in a file that can be passed to the @command{guix home} command (@pxref{Invoking guix home}). The easiest way to get started is by generating an initial configuration with @command{guix home import}:"
  53996. msgstr ""
  53997. #. type: example
  53998. #: guix-git/doc/guix.texi:36956
  53999. #, no-wrap
  54000. msgid "guix home import ~/src/guix-config\n"
  54001. msgstr ""
  54002. #. type: Plain text
  54003. #: guix-git/doc/guix.texi:36964
  54004. msgid "The @command{guix home import} command reads some of the ``dot files'' such as @file{~/.bashrc} found in your home directory and copies them to the given directory, @file{~/src/guix-config} in this case; it also reads the contents of your profile, @file{~/.guix-profile}, and, based on that, it populates @file{~/src/guix-config/home-configuration.scm} with a Home configuration that resembles your current configuration."
  54005. msgstr ""
  54006. #. type: Plain text
  54007. #: guix-git/doc/guix.texi:36970
  54008. msgid "A simple setup can include Bash and a custom text configuration, like in the example below. Don't be afraid to declare home environment parts, which overlaps with your current dot files: before installing any configuration files, Guix Home will back up existing config files to a separate place in the home directory."
  54009. msgstr ""
  54010. #. type: quotation
  54011. #: guix-git/doc/guix.texi:36976
  54012. 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})."
  54013. msgstr ""
  54014. #. type: findex
  54015. #: guix-git/doc/guix.texi:36978
  54016. #, no-wrap
  54017. msgid "home-environment"
  54018. msgstr ""
  54019. #. type: include
  54020. #: guix-git/doc/guix.texi:36980
  54021. #, no-wrap
  54022. msgid "he-config-bare-bones.scm"
  54023. msgstr ""
  54024. #. type: Plain text
  54025. #: guix-git/doc/guix.texi:36987
  54026. 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."
  54027. msgstr ""
  54028. #. type: Plain text
  54029. #: guix-git/doc/guix.texi:36995
  54030. msgid "There is no daemon (at least not necessarily) related to a home service, a home service is just an element that is used to declare part of home environment and extend other parts of it. The extension mechanism discussed in the previous chapter (@pxref{Defining Services}) should not be confused with Shepherd services (@pxref{Shepherd Services}). Using this extension mechanism and some Scheme code that glues things together gives the user the freedom to declare their own, very custom, home environments."
  54031. msgstr ""
  54032. #. type: Plain text
  54033. #: guix-git/doc/guix.texi:36998
  54034. msgid "Once you have a configuration file that suits your needs, you can reconfigure your home by running:"
  54035. msgstr ""
  54036. #. type: example
  54037. #: guix-git/doc/guix.texi:37001
  54038. #, no-wrap
  54039. msgid "guix home reconfigure config.scm\n"
  54040. msgstr ""
  54041. #. type: Plain text
  54042. #: guix-git/doc/guix.texi:37005
  54043. msgid "This ``builds'' your home environment and creates @file{~/.guix-home} pointing to it. Voilà!"
  54044. msgstr ""
  54045. #. type: quotation
  54046. #: guix-git/doc/guix.texi:37012
  54047. msgid "Make sure the operating system has elogind, systemd, or a similar mechanism to create the XDG run-time directory and has the @env{XDG_RUNTIME_DIR} variable set. Failing that, the @file{on-first-login} script will not execute anything, and processes like user Shepherd and its descendants will not start."
  54048. msgstr ""
  54049. #. type: Plain text
  54050. #: guix-git/doc/guix.texi:37018
  54051. msgid "This section is safe to skip if your shell or shells are managed by Guix Home. Otherwise, read it carefully."
  54052. msgstr ""
  54053. #. type: Plain text
  54054. #: guix-git/doc/guix.texi:37025
  54055. 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}."
  54056. msgstr ""
  54057. #. type: Plain text
  54058. #: guix-git/doc/guix.texi:37032
  54059. 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}."
  54060. msgstr ""
  54061. #. type: Plain text
  54062. #: guix-git/doc/guix.texi:37035
  54063. msgid "Guix Home will always create @file{~/.profile}, which contains the following lines:"
  54064. msgstr ""
  54065. #. type: example
  54066. #: guix-git/doc/guix.texi:37040
  54067. #, no-wrap
  54068. msgid ""
  54069. "HOME_ENVIRONMENT=$HOME/.guix-home\n"
  54070. ". $HOME_ENVIRONMENT/setup-environment\n"
  54071. "$HOME_ENVIRONMENT/on-first-login\n"
  54072. msgstr ""
  54073. #. type: Plain text
  54074. #: guix-git/doc/guix.texi:37050
  54075. 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."
  54076. msgstr ""
  54077. #. type: Plain text
  54078. #: guix-git/doc/guix.texi:37055
  54079. 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}."
  54080. msgstr ""
  54081. #. type: quotation
  54082. #: guix-git/doc/guix.texi:37059
  54083. msgid "This step is only required if your shell is NOT managed by Guix Home. Otherwise, everything will be done automatically."
  54084. msgstr ""
  54085. #. type: cindex
  54086. #: guix-git/doc/guix.texi:37063
  54087. #, no-wrap
  54088. msgid "home services"
  54089. msgstr ""
  54090. #. type: Plain text
  54091. #: guix-git/doc/guix.texi:37072
  54092. 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."
  54093. msgstr ""
  54094. #. type: Plain text
  54095. #: guix-git/doc/guix.texi:37080
  54096. 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}}."
  54097. msgstr ""
  54098. #. type: Plain text
  54099. #: guix-git/doc/guix.texi:37091
  54100. 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)}."
  54101. msgstr ""
  54102. #. type: subsection
  54103. #: guix-git/doc/guix.texi:37097 guix-git/doc/guix.texi:37100
  54104. #: guix-git/doc/guix.texi:37101
  54105. #, no-wrap
  54106. msgid "Essential Home Services"
  54107. msgstr ""
  54108. #. type: menuentry
  54109. #: guix-git/doc/guix.texi:37097
  54110. msgid "Environment variables, packages, on-* scripts."
  54111. msgstr ""
  54112. #. type: menuentry
  54113. #: guix-git/doc/guix.texi:37097
  54114. msgid "Shells: Shells Home Services"
  54115. msgstr ""
  54116. #. type: menuentry
  54117. #: guix-git/doc/guix.texi:37097
  54118. msgid "POSIX shells, Bash, Zsh."
  54119. msgstr ""
  54120. #. type: menuentry
  54121. #: guix-git/doc/guix.texi:37097
  54122. msgid "Mcron: Mcron Home Service"
  54123. msgstr ""
  54124. #. type: menuentry
  54125. #: guix-git/doc/guix.texi:37097
  54126. msgid "Scheduled User's Job Execution."
  54127. msgstr ""
  54128. #. type: menuentry
  54129. #: guix-git/doc/guix.texi:37097
  54130. msgid "Shepherd: Shepherd Home Service"
  54131. msgstr ""
  54132. #. type: menuentry
  54133. #: guix-git/doc/guix.texi:37097
  54134. msgid "Managing User's Daemons."
  54135. msgstr ""
  54136. #. type: Plain text
  54137. #: guix-git/doc/guix.texi:37106
  54138. 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."
  54139. msgstr ""
  54140. #. type: cindex
  54141. #: guix-git/doc/guix.texi:37107
  54142. #, no-wrap
  54143. msgid "environment variables"
  54144. msgstr ""
  54145. #. type: defvr
  54146. #: guix-git/doc/guix.texi:37109
  54147. #, no-wrap
  54148. msgid "{Scheme Variable} home-environment-variables-service-type"
  54149. msgstr ""
  54150. #. type: defvr
  54151. #: guix-git/doc/guix.texi:37114
  54152. 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."
  54153. msgstr ""
  54154. #. type: lisp
  54155. #: guix-git/doc/guix.texi:37118
  54156. #, no-wrap
  54157. msgid ""
  54158. "(list (\"ENV_VAR1\" . \"value1\")\n"
  54159. " (\"ENV_VAR2\" . \"value2\"))\n"
  54160. msgstr ""
  54161. #. type: defvr
  54162. #: guix-git/doc/guix.texi:37123
  54163. 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)}."
  54164. msgstr ""
  54165. #. type: lisp
  54166. #: guix-git/doc/guix.texi:37131
  54167. #, no-wrap
  54168. msgid ""
  54169. "(simple-service 'some-useful-env-vars-service\n"
  54170. "\t\thome-environment-variables-service-type\n"
  54171. "\t\t`((\"LESSHISTFILE\" . \"$XDG_CACHE_HOME/.lesshst\")\n"
  54172. " (\"SHELL\" . ,(file-append zsh \"/bin/zsh\"))\n"
  54173. " (\"USELESS_VAR\" . #f)\n"
  54174. " (\"_JAVA_AWT_WM_NONREPARENTING\" . #t)))\n"
  54175. msgstr ""
  54176. #. type: defvr
  54177. #: guix-git/doc/guix.texi:37136
  54178. 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):"
  54179. msgstr ""
  54180. #. type: example
  54181. #: guix-git/doc/guix.texi:37141
  54182. #, no-wrap
  54183. msgid ""
  54184. "export LESSHISTFILE=$XDG_CACHE_HOME/.lesshst\n"
  54185. "export SHELL=/gnu/store/2hsg15n644f0glrcbkb1kqknmmqdar03-zsh-5.8/bin/zsh\n"
  54186. "export _JAVA_AWT_WM_NONREPARENTING\n"
  54187. msgstr ""
  54188. #. type: quotation
  54189. #: guix-git/doc/guix.texi:37148
  54190. 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."
  54191. msgstr ""
  54192. #. type: defvr
  54193. #: guix-git/doc/guix.texi:37161
  54194. 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."
  54195. msgstr ""
  54196. #. type: defvr
  54197. #: guix-git/doc/guix.texi:37164
  54198. #, no-wrap
  54199. msgid "{Scheme Variable} home-profile-service-type"
  54200. msgstr ""
  54201. #. type: defvr
  54202. #: guix-git/doc/guix.texi:37170
  54203. 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."
  54204. msgstr ""
  54205. #. type: defvr
  54206. #: guix-git/doc/guix.texi:37172
  54207. msgid "The extension value is just a list of packages:"
  54208. msgstr ""
  54209. #. type: lisp
  54210. #: guix-git/doc/guix.texi:37175
  54211. #, no-wrap
  54212. msgid "(list htop vim emacs)\n"
  54213. msgstr ""
  54214. #. type: defvr
  54215. #: guix-git/doc/guix.texi:37185
  54216. 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."
  54217. msgstr ""
  54218. #. type: Plain text
  54219. #: guix-git/doc/guix.texi:37189
  54220. msgid "There are few more essential services, but users are not expected to extend them."
  54221. msgstr ""
  54222. #. type: defvr
  54223. #: guix-git/doc/guix.texi:37190
  54224. #, no-wrap
  54225. msgid "{Scheme Variable} home-service-type"
  54226. msgstr ""
  54227. #. type: defvr
  54228. #: guix-git/doc/guix.texi:37195
  54229. 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."
  54230. msgstr ""
  54231. #. type: defvr
  54232. #: guix-git/doc/guix.texi:37197
  54233. #, no-wrap
  54234. msgid "{Scheme Variable} home-run-on-first-login-service-type"
  54235. msgstr ""
  54236. #. type: defvr
  54237. #: guix-git/doc/guix.texi:37202
  54238. 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."
  54239. msgstr ""
  54240. #. type: defvr
  54241. #: guix-git/doc/guix.texi:37208
  54242. msgid "It can be extended with a gexp. However, to autostart an application, users @emph{should not} use this service, in most cases it's better to extend @code{home-shepherd-service-type} with a Shepherd service (@pxref{Shepherd Services}), or extend the shell's startup file with the required command using the appropriate service type."
  54243. msgstr ""
  54244. #. type: defvr
  54245. #: guix-git/doc/guix.texi:37210
  54246. #, no-wrap
  54247. msgid "{Scheme Variable} home-activation-service-type"
  54248. msgstr ""
  54249. #. type: defvr
  54250. #: guix-git/doc/guix.texi:37214
  54251. 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."
  54252. msgstr ""
  54253. #. type: node
  54254. #: guix-git/doc/guix.texi:37216
  54255. #, no-wrap
  54256. msgid "Shells Home Services"
  54257. msgstr ""
  54258. #. type: subsection
  54259. #: guix-git/doc/guix.texi:37217
  54260. #, no-wrap
  54261. msgid "Shells"
  54262. msgstr ""
  54263. #. type: cindex
  54264. #: guix-git/doc/guix.texi:37219 guix-git/doc/guix.texi:37500
  54265. #, no-wrap
  54266. msgid "shell"
  54267. msgstr ""
  54268. #. type: cindex
  54269. #: guix-git/doc/guix.texi:37220
  54270. #, no-wrap
  54271. msgid "login shell"
  54272. msgstr ""
  54273. #. type: cindex
  54274. #: guix-git/doc/guix.texi:37221
  54275. #, no-wrap
  54276. msgid "interactive shell"
  54277. msgstr ""
  54278. #. type: cindex
  54279. #: guix-git/doc/guix.texi:37222 guix-git/doc/guix.texi:37502
  54280. #, no-wrap
  54281. msgid "bash"
  54282. msgstr ""
  54283. #. type: cindex
  54284. #: guix-git/doc/guix.texi:37223 guix-git/doc/guix.texi:37503
  54285. #, no-wrap
  54286. msgid "zsh"
  54287. msgstr ""
  54288. #. type: Plain text
  54289. #: guix-git/doc/guix.texi:37229
  54290. 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."
  54291. msgstr ""
  54292. #. type: Plain text
  54293. #: guix-git/doc/guix.texi:37239
  54294. 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."
  54295. msgstr ""
  54296. #. type: subsubheading
  54297. #: guix-git/doc/guix.texi:37240
  54298. #, no-wrap
  54299. msgid "Shell Profile Service"
  54300. msgstr ""
  54301. #. type: deftp
  54302. #: guix-git/doc/guix.texi:37242
  54303. #, no-wrap
  54304. msgid "{Data Type} home-shell-profile-configuration"
  54305. msgstr ""
  54306. #. type: deftp
  54307. #: guix-git/doc/guix.texi:37244
  54308. msgid "Available @code{home-shell-profile-configuration} fields are:"
  54309. msgstr ""
  54310. #. type: item
  54311. #: guix-git/doc/guix.texi:37246
  54312. #, no-wrap
  54313. msgid "@code{profile} (default: @code{()}) (type: text-config)"
  54314. msgstr ""
  54315. #. type: table
  54316. #: guix-git/doc/guix.texi:37256
  54317. 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."
  54318. msgstr ""
  54319. #. type: subsubheading
  54320. #: guix-git/doc/guix.texi:37261
  54321. #, no-wrap
  54322. msgid "Bash Home Service"
  54323. msgstr ""
  54324. #. type: anchor{#1}
  54325. #: guix-git/doc/guix.texi:37264
  54326. msgid "home-bash-configuration"
  54327. msgstr ""
  54328. #. type: deftp
  54329. #: guix-git/doc/guix.texi:37264
  54330. #, no-wrap
  54331. msgid "{Data Type} home-bash-configuration"
  54332. msgstr ""
  54333. #. type: deftp
  54334. #: guix-git/doc/guix.texi:37266
  54335. msgid "Available @code{home-bash-configuration} fields are:"
  54336. msgstr ""
  54337. #. type: item
  54338. #: guix-git/doc/guix.texi:37268
  54339. #, no-wrap
  54340. msgid "@code{package} (default: @code{bash}) (type: package)"
  54341. msgstr ""
  54342. #. type: table
  54343. #: guix-git/doc/guix.texi:37270
  54344. msgid "The Bash package to use."
  54345. msgstr ""
  54346. #. type: item
  54347. #: guix-git/doc/guix.texi:37271
  54348. #, no-wrap
  54349. msgid "@code{guix-defaults?} (default: @code{#t}) (type: boolean)"
  54350. msgstr ""
  54351. #. type: table
  54352. #: guix-git/doc/guix.texi:37274
  54353. msgid "Add sane defaults like reading @file{/etc/bashrc} and coloring the output of @command{ls} to the end of the @file{.bashrc} file."
  54354. msgstr ""
  54355. #. type: item
  54356. #: guix-git/doc/guix.texi:37275 guix-git/doc/guix.texi:37329
  54357. #: guix-git/doc/guix.texi:37368
  54358. #, no-wrap
  54359. msgid "@code{environment-variables} (default: @code{()}) (type: alist)"
  54360. msgstr ""
  54361. #. type: table
  54362. #: guix-git/doc/guix.texi:37280
  54363. msgid "Association list of environment variables to set for the Bash session. The rules for the @code{home-environment-variables-service-type} apply here (@pxref{Essential Home Services}). The contents of this field will be added after the contents of the @code{bash-profile} field."
  54364. msgstr ""
  54365. #. type: item
  54366. #: guix-git/doc/guix.texi:37281 guix-git/doc/guix.texi:37334
  54367. #, no-wrap
  54368. msgid "@code{aliases} (default: @code{()}) (type: alist)"
  54369. msgstr ""
  54370. #. type: table
  54371. #: guix-git/doc/guix.texi:37286
  54372. msgid "Association list of aliases to set for the Bash session. The aliases will be defined after the contents of the @code{bashrc} field has been put in the @file{.bashrc} file. The alias will automatically be quoted, so something line this:"
  54373. msgstr ""
  54374. #. type: lisp
  54375. #: guix-git/doc/guix.texi:37289
  54376. #, no-wrap
  54377. msgid "'((\\\"ls\\\" . \\\"ls -alF\\\"))\n"
  54378. msgstr ""
  54379. #. type: table
  54380. #: guix-git/doc/guix.texi:37292
  54381. msgid "turns into"
  54382. msgstr ""
  54383. #. type: example
  54384. #: guix-git/doc/guix.texi:37295
  54385. #, no-wrap
  54386. msgid "alias ls=\\\"ls -alF\\\"\n"
  54387. msgstr ""
  54388. #. type: item
  54389. #: guix-git/doc/guix.texi:37297 guix-git/doc/guix.texi:37338
  54390. #, no-wrap
  54391. msgid "@code{bash-profile} (default: @code{()}) (type: text-config)"
  54392. msgstr ""
  54393. #. type: table
  54394. #: guix-git/doc/guix.texi:37302
  54395. 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."
  54396. msgstr ""
  54397. #. type: item
  54398. #: guix-git/doc/guix.texi:37303 guix-git/doc/guix.texi:37342
  54399. #, no-wrap
  54400. msgid "@code{bashrc} (default: @code{()}) (type: text-config)"
  54401. msgstr ""
  54402. #. type: table
  54403. #: guix-git/doc/guix.texi:37308
  54404. 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)."
  54405. msgstr ""
  54406. #. type: item
  54407. #: guix-git/doc/guix.texi:37309 guix-git/doc/guix.texi:37346
  54408. #, no-wrap
  54409. msgid "@code{bash-logout} (default: @code{()}) (type: text-config)"
  54410. msgstr ""
  54411. #. type: table
  54412. #: guix-git/doc/guix.texi:37314
  54413. 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)."
  54414. msgstr ""
  54415. #. type: Plain text
  54416. #: guix-git/doc/guix.texi:37324
  54417. msgid "You can extend the Bash service by using the @code{home-bash-extension} configuration record, whose fields most mirror that of @code{home-bash-configuration} (@pxref{home-bash-configuration}). The contents of the extensions will be added to the end of the corresponding Bash configuration files (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}."
  54418. msgstr ""
  54419. #. type: deftp
  54420. #: guix-git/doc/guix.texi:37325
  54421. #, no-wrap
  54422. msgid "{Data Type} home-bash-extension"
  54423. msgstr ""
  54424. #. type: deftp
  54425. #: guix-git/doc/guix.texi:37327
  54426. msgid "Available @code{home-bash-extension} fields are:"
  54427. msgstr ""
  54428. #. type: table
  54429. #: guix-git/doc/guix.texi:37333
  54430. msgid "Additional environment variables to set. These will be combined with the environment variables from other extensions and the base service to form one coherent block of environment variables."
  54431. msgstr ""
  54432. #. type: table
  54433. #: guix-git/doc/guix.texi:37337
  54434. msgid "Additional aliases to set. These will be combined with the aliases from other extensions and the base service."
  54435. msgstr ""
  54436. #. type: table
  54437. #: guix-git/doc/guix.texi:37341
  54438. msgid "Additional text blocks to add to @file{.bash_profile}, which will be combined with text blocks from other extensions and the base service."
  54439. msgstr ""
  54440. #. type: table
  54441. #: guix-git/doc/guix.texi:37345
  54442. msgid "Additional text blocks to add to @file{.bashrc}, which will be combined with text blocks from other extensions and the base service."
  54443. msgstr ""
  54444. #. type: table
  54445. #: guix-git/doc/guix.texi:37349
  54446. msgid "Additional text blocks to add to @file{.bash_logout}, which will be combined with text blocks from other extensions and the base service."
  54447. msgstr ""
  54448. #. type: subsubheading
  54449. #: guix-git/doc/guix.texi:37353
  54450. #, no-wrap
  54451. msgid "Zsh Home Service"
  54452. msgstr ""
  54453. #. type: deftp
  54454. #: guix-git/doc/guix.texi:37355
  54455. #, no-wrap
  54456. msgid "{Data Type} home-zsh-configuration"
  54457. msgstr ""
  54458. #. type: deftp
  54459. #: guix-git/doc/guix.texi:37357
  54460. msgid "Available @code{home-zsh-configuration} fields are:"
  54461. msgstr ""
  54462. #. type: item
  54463. #: guix-git/doc/guix.texi:37359
  54464. #, no-wrap
  54465. msgid "@code{package} (default: @code{zsh}) (type: package)"
  54466. msgstr ""
  54467. #. type: table
  54468. #: guix-git/doc/guix.texi:37361
  54469. msgid "The Zsh package to use."
  54470. msgstr ""
  54471. #. type: item
  54472. #: guix-git/doc/guix.texi:37362
  54473. #, no-wrap
  54474. msgid "@code{xdg-flavor?} (default: @code{#t}) (type: boolean)"
  54475. msgstr ""
  54476. #. type: table
  54477. #: guix-git/doc/guix.texi:37367
  54478. 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}."
  54479. msgstr ""
  54480. #. type: table
  54481. #: guix-git/doc/guix.texi:37370
  54482. msgid "Association list of environment variables to set for the Zsh session."
  54483. msgstr ""
  54484. #. type: item
  54485. #: guix-git/doc/guix.texi:37371
  54486. #, no-wrap
  54487. msgid "@code{zshenv} (default: @code{()}) (type: text-config)"
  54488. msgstr ""
  54489. #. type: table
  54490. #: guix-git/doc/guix.texi:37376
  54491. 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}."
  54492. msgstr ""
  54493. #. type: item
  54494. #: guix-git/doc/guix.texi:37377
  54495. #, no-wrap
  54496. msgid "@code{zprofile} (default: @code{()}) (type: text-config)"
  54497. msgstr ""
  54498. #. type: table
  54499. #: guix-git/doc/guix.texi:37382
  54500. 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}."
  54501. msgstr ""
  54502. #. type: item
  54503. #: guix-git/doc/guix.texi:37383
  54504. #, no-wrap
  54505. msgid "@code{zshrc} (default: @code{()}) (type: text-config)"
  54506. msgstr ""
  54507. #. type: table
  54508. #: guix-git/doc/guix.texi:37388
  54509. 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)."
  54510. msgstr ""
  54511. #. type: item
  54512. #: guix-git/doc/guix.texi:37389
  54513. #, no-wrap
  54514. msgid "@code{zlogin} (default: @code{()}) (type: text-config)"
  54515. msgstr ""
  54516. #. type: table
  54517. #: guix-git/doc/guix.texi:37393
  54518. 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."
  54519. msgstr ""
  54520. #. type: item
  54521. #: guix-git/doc/guix.texi:37394
  54522. #, no-wrap
  54523. msgid "@code{zlogout} (default: @code{()}) (type: text-config)"
  54524. msgstr ""
  54525. #. type: table
  54526. #: guix-git/doc/guix.texi:37399
  54527. 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)."
  54528. msgstr ""
  54529. #. type: node
  54530. #: guix-git/doc/guix.texi:37404
  54531. #, no-wrap
  54532. msgid "Mcron Home Service"
  54533. msgstr ""
  54534. #. type: subsection
  54535. #: guix-git/doc/guix.texi:37405
  54536. #, no-wrap
  54537. msgid "Scheduled User's Job Execution"
  54538. msgstr ""
  54539. #. type: Plain text
  54540. #: guix-git/doc/guix.texi:37418
  54541. 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."
  54542. msgstr ""
  54543. #. type: defvr
  54544. #: guix-git/doc/guix.texi:37419
  54545. #, no-wrap
  54546. msgid "{Scheme Variable} home-mcron-service-type"
  54547. msgstr ""
  54548. #. type: defvr
  54549. #: guix-git/doc/guix.texi:37423
  54550. 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."
  54551. msgstr ""
  54552. #. type: deftp
  54553. #: guix-git/doc/guix.texi:37430
  54554. #, no-wrap
  54555. msgid "{Data Type} home-mcron-configuration"
  54556. msgstr ""
  54557. #. type: node
  54558. #: guix-git/doc/guix.texi:37444
  54559. #, no-wrap
  54560. msgid "Shepherd Home Service"
  54561. msgstr ""
  54562. #. type: subsection
  54563. #: guix-git/doc/guix.texi:37445
  54564. #, no-wrap
  54565. msgid "Managing User's Daemons"
  54566. msgstr ""
  54567. #. type: defvr
  54568. #: guix-git/doc/guix.texi:37449
  54569. #, no-wrap
  54570. msgid "{Scheme Variable} home-shepherd-service-type"
  54571. msgstr ""
  54572. #. type: defvr
  54573. #: guix-git/doc/guix.texi:37454
  54574. 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."
  54575. msgstr ""
  54576. #. type: defvr
  54577. #: guix-git/doc/guix.texi:37459
  54578. msgid "This is the service type that extensions target when they want to create shepherd services (@pxref{Service Types and Services}, for an example). Each extension must pass a list of @code{<shepherd-service>}. Its value must be a @code{home-shepherd-configuration}, as described below."
  54579. msgstr ""
  54580. #. type: deftp
  54581. #: guix-git/doc/guix.texi:37461
  54582. #, no-wrap
  54583. msgid "{Data Type} home-shepherd-configuration"
  54584. msgstr ""
  54585. #. type: item
  54586. #: guix-git/doc/guix.texi:37468
  54587. #, no-wrap
  54588. msgid "auto-start? (default: @code{#t})"
  54589. msgstr ""
  54590. #. type: table
  54591. #: guix-git/doc/guix.texi:37470
  54592. msgid "Whether or not to start Shepherd on first login."
  54593. msgstr ""
  54594. #. type: section
  54595. #: guix-git/doc/guix.texi:37479
  54596. #, no-wrap
  54597. msgid "Invoking @code{guix home}"
  54598. msgstr ""
  54599. #. type: Plain text
  54600. #: guix-git/doc/guix.texi:37484
  54601. 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:"
  54602. msgstr ""
  54603. #. type: example
  54604. #: guix-git/doc/guix.texi:37487
  54605. #, no-wrap
  54606. msgid "guix home @var{options}@dots{} @var{action} @var{file}\n"
  54607. msgstr ""
  54608. #. type: Plain text
  54609. #: guix-git/doc/guix.texi:37494
  54610. 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:"
  54611. msgstr ""
  54612. #. type: table
  54613. #: guix-git/doc/guix.texi:37499
  54614. msgid "Display available home service type definitions that match the given regular expressions, sorted by relevance:"
  54615. msgstr ""
  54616. #. type: cindex
  54617. #: guix-git/doc/guix.texi:37501
  54618. #, no-wrap
  54619. msgid "shell-profile"
  54620. msgstr ""
  54621. #. type: example
  54622. #: guix-git/doc/guix.texi:37513
  54623. #, no-wrap
  54624. msgid ""
  54625. "$ guix home search shell\n"
  54626. "name: home-shell-profile\n"
  54627. "location: gnu/home/services/shells.scm:73:2\n"
  54628. "extends: home-files\n"
  54629. "description: Create `~/.profile', which is used for environment initialization\n"
  54630. "+ of POSIX compatible login shells. Can be extended with a list of strings or\n"
  54631. "+ gexps.\n"
  54632. "relevance: 6\n"
  54633. "\n"
  54634. msgstr ""
  54635. #. type: example
  54636. #: guix-git/doc/guix.texi:37519
  54637. #, no-wrap
  54638. msgid ""
  54639. "name: home-zsh-plugin-manager\n"
  54640. "location: gnu/home/services/shellutils.scm:28:2\n"
  54641. "extends: home-zsh home-profile\n"
  54642. "description: Install plugins in profile and configure Zsh to load them.\n"
  54643. "relevance: 1\n"
  54644. "\n"
  54645. msgstr ""
  54646. #. type: example
  54647. #: guix-git/doc/guix.texi:37526
  54648. #, no-wrap
  54649. msgid ""
  54650. "name: home-zsh-direnv\n"
  54651. "location: gnu/home/services/shellutils.scm:69:2\n"
  54652. "extends: home-profile home-zsh\n"
  54653. "description: Enables `direnv' for `zsh'. Adds hook to `.zshrc' and installs a\n"
  54654. "+ package in the profile.\n"
  54655. "relevance: 1\n"
  54656. "\n"
  54657. msgstr ""
  54658. #. type: example
  54659. #: guix-git/doc/guix.texi:37535
  54660. #, no-wrap
  54661. msgid ""
  54662. "name: home-zsh-autosuggestions\n"
  54663. "location: gnu/home/services/shellutils.scm:43:2\n"
  54664. "extends: home-zsh-plugin-manager home-zsh\n"
  54665. "description: Enables Fish-like fast/unobtrusive autosuggestions for `zsh' and\n"
  54666. "+ sets reasonable default values for some plugin's variables to improve perfomance\n"
  54667. "+ and adjust behavior: `(history completion)' is set for strategy, manual rebind\n"
  54668. "+ and async are enabled.\n"
  54669. "relevance: 1\n"
  54670. "\n"
  54671. msgstr ""
  54672. #. type: example
  54673. #: guix-git/doc/guix.texi:37541
  54674. #, no-wrap
  54675. msgid ""
  54676. "name: home-zsh\n"
  54677. "location: gnu/home/services/shells.scm:236:2\n"
  54678. "extends: home-files home-profile\n"
  54679. "description: Install and configure Zsh.\n"
  54680. "relevance: 1\n"
  54681. "\n"
  54682. msgstr ""
  54683. #. type: example
  54684. #: guix-git/doc/guix.texi:37547
  54685. #, no-wrap
  54686. msgid ""
  54687. "name: home-bash\n"
  54688. "location: gnu/home/services/shells.scm:388:2\n"
  54689. "extends: home-files home-profile\n"
  54690. "description: Install and configure Bash.\n"
  54691. "relevance: 1\n"
  54692. "\n"
  54693. msgstr ""
  54694. #. type: table
  54695. #: guix-git/doc/guix.texi:37563
  54696. 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."
  54697. msgstr ""
  54698. #. type: quotation
  54699. #: guix-git/doc/guix.texi:37568
  54700. 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})."
  54701. msgstr ""
  54702. #. type: table
  54703. #: guix-git/doc/guix.texi:37575
  54704. 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})."
  54705. msgstr ""
  54706. #. type: table
  54707. #: guix-git/doc/guix.texi:37581
  54708. 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})."
  54709. msgstr ""
  54710. #. type: cindex
  54711. #: guix-git/doc/guix.texi:37582
  54712. #, no-wrap
  54713. msgid "provenance tracking, of the home environment"
  54714. msgstr ""
  54715. #. type: table
  54716. #: guix-git/doc/guix.texi:37587
  54717. 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:"
  54718. msgstr ""
  54719. #. type: example
  54720. #: guix-git/doc/guix.texi:37590
  54721. #, no-wrap
  54722. msgid "guix home describe\n"
  54723. msgstr ""
  54724. #. type: table
  54725. #: guix-git/doc/guix.texi:37596
  54726. 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:"
  54727. msgstr ""
  54728. #. type: example
  54729. #: guix-git/doc/guix.texi:37602
  54730. #, no-wrap
  54731. msgid ""
  54732. "guix time-machine \\\n"
  54733. " -C /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/channels.scm -- \\\n"
  54734. " home reconfigure \\\n"
  54735. " /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/configuration.scm\n"
  54736. "\n"
  54737. msgstr ""
  54738. #. type: table
  54739. #: guix-git/doc/guix.texi:37609
  54740. 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}."
  54741. msgstr ""
  54742. #. type: cindex
  54743. #: guix-git/doc/guix.texi:37615
  54744. #, fuzzy, no-wrap
  54745. #| msgid "Documentation"
  54746. msgid "home generations"
  54747. msgstr "مستندات"
  54748. #. type: table
  54749. #: guix-git/doc/guix.texi:37618
  54750. msgid "Switch to an existing home generation. This action atomically switches the home profile to the specified home generation."
  54751. msgstr ""
  54752. #. type: table
  54753. #: guix-git/doc/guix.texi:37622
  54754. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to home generation 7:"
  54755. msgstr ""
  54756. #. type: example
  54757. #: guix-git/doc/guix.texi:37625
  54758. #, no-wrap
  54759. msgid "guix home switch-generation 7\n"
  54760. msgstr ""
  54761. #. type: example
  54762. #: guix-git/doc/guix.texi:37636
  54763. #, no-wrap
  54764. msgid "guix home switch-generation -- -1\n"
  54765. msgstr ""
  54766. #. type: table
  54767. #: guix-git/doc/guix.texi:37645
  54768. 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}."
  54769. msgstr ""
  54770. #. type: cindex
  54771. #: guix-git/doc/guix.texi:37647
  54772. #, no-wrap
  54773. msgid "deleting home generations"
  54774. msgstr ""
  54775. #. type: table
  54776. #: guix-git/doc/guix.texi:37652
  54777. msgid "Delete home generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  54778. msgstr ""
  54779. #. type: table
  54780. #: guix-git/doc/guix.texi:37656
  54781. 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:"
  54782. msgstr ""
  54783. #. type: example
  54784. #: guix-git/doc/guix.texi:37659
  54785. #, no-wrap
  54786. msgid "guix home delete-generations\n"
  54787. msgstr ""
  54788. #. type: table
  54789. #: guix-git/doc/guix.texi:37663
  54790. msgid "You can also select the generations you want to delete. The example below deletes all the home generations that are more than two months old:"
  54791. msgstr ""
  54792. #. type: example
  54793. #: guix-git/doc/guix.texi:37666
  54794. #, no-wrap
  54795. msgid "guix home delete-generations 2m\n"
  54796. msgstr ""
  54797. #. type: table
  54798. #: guix-git/doc/guix.texi:37672
  54799. msgid "Build the derivation of the home environment, which includes all the configuration files and programs needed. This action does not actually install anything."
  54800. msgstr ""
  54801. #. type: table
  54802. #: guix-git/doc/guix.texi:37676
  54803. msgid "Describe the current home generation: its file name, as well as provenance information when available."
  54804. msgstr ""
  54805. #. type: table
  54806. #: guix-git/doc/guix.texi:37682
  54807. 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})."
  54808. msgstr ""
  54809. #. type: example
  54810. #: guix-git/doc/guix.texi:37690
  54811. #, no-wrap
  54812. msgid "$ guix home list-generations 10d\n"
  54813. msgstr ""
  54814. #. type: item
  54815. #: guix-git/doc/guix.texi:37692
  54816. #, no-wrap
  54817. msgid "import"
  54818. msgstr ""
  54819. #. type: table
  54820. #: guix-git/doc/guix.texi:37699
  54821. msgid "Generate a @dfn{home environment} from the packages in the default profile and configuration files found in the user's home directory. The configuration files will be copied to the specified directory, and a @file{home-configuration.scm} will be populated with the home environment. Note that not every home service that exists is supported (@pxref{Home Services})."
  54822. msgstr ""
  54823. #. type: example
  54824. #: guix-git/doc/guix.texi:37703
  54825. #, no-wrap
  54826. msgid ""
  54827. "$ guix home import ~/guix-config\n"
  54828. "guix home: '/home/alice/guix-config' populated with all the Home configuration files\n"
  54829. msgstr ""
  54830. #. type: table
  54831. #: guix-git/doc/guix.texi:37718
  54832. msgid "Consider the home-environment @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to a home environment."
  54833. msgstr ""
  54834. #. type: cindex
  54835. #: guix-git/doc/guix.texi:37724
  54836. #, no-wrap
  54837. msgid "documentation, searching for"
  54838. msgstr ""
  54839. #. type: cindex
  54840. #: guix-git/doc/guix.texi:37725
  54841. #, no-wrap
  54842. msgid "searching for documentation"
  54843. msgstr ""
  54844. #. type: cindex
  54845. #: guix-git/doc/guix.texi:37726
  54846. #, no-wrap
  54847. msgid "Info, documentation format"
  54848. msgstr ""
  54849. #. type: cindex
  54850. #: guix-git/doc/guix.texi:37727
  54851. #, no-wrap
  54852. msgid "man pages"
  54853. msgstr ""
  54854. #. type: cindex
  54855. #: guix-git/doc/guix.texi:37728
  54856. #, no-wrap
  54857. msgid "manual pages"
  54858. msgstr ""
  54859. #. type: Plain text
  54860. #: guix-git/doc/guix.texi:37735
  54861. 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}."
  54862. msgstr ""
  54863. #. type: Plain text
  54864. #: guix-git/doc/guix.texi:37739
  54865. 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:"
  54866. msgstr ""
  54867. #. type: example
  54868. #: guix-git/doc/guix.texi:37747
  54869. #, no-wrap
  54870. msgid ""
  54871. "$ info -k TLS\n"
  54872. "\"(emacs)Network Security\" -- STARTTLS\n"
  54873. "\"(emacs)Network Security\" -- TLS\n"
  54874. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  54875. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  54876. "@dots{}\n"
  54877. msgstr ""
  54878. #. type: Plain text
  54879. #: guix-git/doc/guix.texi:37753
  54880. msgid "The command below searches for the same keyword in man pages@footnote{The database searched by @command{man -k} is only created in profiles that contain the @code{man-db} package.}:"
  54881. msgstr ""
  54882. #. type: example
  54883. #: guix-git/doc/guix.texi:37759
  54884. #, no-wrap
  54885. msgid ""
  54886. "$ man -k TLS\n"
  54887. "SSL (7) - OpenSSL SSL/TLS library\n"
  54888. "certtool (1) - GnuTLS certificate tool\n"
  54889. "@dots {}\n"
  54890. msgstr ""
  54891. #. type: Plain text
  54892. #: guix-git/doc/guix.texi:37765
  54893. 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."
  54894. msgstr ""
  54895. #. type: Plain text
  54896. #: guix-git/doc/guix.texi:37768
  54897. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  54898. msgstr ""
  54899. #. type: example
  54900. #: guix-git/doc/guix.texi:37771
  54901. #, no-wrap
  54902. msgid "$ info \"(gnutls)Core TLS API\"\n"
  54903. msgstr ""
  54904. #. type: Plain text
  54905. #: guix-git/doc/guix.texi:37775
  54906. msgid "or:"
  54907. msgstr ""
  54908. #. type: example
  54909. #: guix-git/doc/guix.texi:37778
  54910. #, no-wrap
  54911. msgid "$ man certtool\n"
  54912. msgstr ""
  54913. #. type: Plain text
  54914. #: guix-git/doc/guix.texi:37786
  54915. 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."
  54916. msgstr ""
  54917. #. type: cindex
  54918. #: guix-git/doc/guix.texi:37790
  54919. #, no-wrap
  54920. msgid "debugging files"
  54921. msgstr ""
  54922. #. type: Plain text
  54923. #: guix-git/doc/guix.texi:37796
  54924. 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."
  54925. msgstr ""
  54926. #. type: Plain text
  54927. #: guix-git/doc/guix.texi:37800
  54928. 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."
  54929. msgstr ""
  54930. #. type: Plain text
  54931. #: guix-git/doc/guix.texi:37816
  54932. 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})."
  54933. msgstr ""
  54934. #. type: Plain text
  54935. #: guix-git/doc/guix.texi:37823
  54936. 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})."
  54937. msgstr ""
  54938. #. type: Plain text
  54939. #: guix-git/doc/guix.texi:37831
  54940. 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:"
  54941. msgstr ""
  54942. #. type: example
  54943. #: guix-git/doc/guix.texi:37834
  54944. #, no-wrap
  54945. msgid "guix install glibc:debug guile:debug\n"
  54946. msgstr ""
  54947. #. type: Plain text
  54948. #: guix-git/doc/guix.texi:37840
  54949. 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}):"
  54950. msgstr ""
  54951. #. type: example
  54952. #: guix-git/doc/guix.texi:37843
  54953. #, no-wrap
  54954. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  54955. msgstr ""
  54956. #. type: Plain text
  54957. #: guix-git/doc/guix.texi:37847
  54958. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  54959. msgstr ""
  54960. #. type: Plain text
  54961. #: guix-git/doc/guix.texi:37852
  54962. msgid "Below is an alternative GDB script which is useful when working with other profiles. It takes advantage of the optional Guile integration in GDB. This snippet is included by default on Guix System in the @file{~/.gdbinit} file."
  54963. msgstr ""
  54964. #. type: example
  54965. #: guix-git/doc/guix.texi:37860
  54966. #, no-wrap
  54967. msgid ""
  54968. "guile\n"
  54969. "(use-modules (gdb))\n"
  54970. "(execute (string-append \"set debug-file-directory \"\n"
  54971. " (or (getenv \"GDB_DEBUG_FILE_DIRECTORY\")\n"
  54972. " \"~/.guix-profile/lib/debug\")))\n"
  54973. "end\n"
  54974. msgstr ""
  54975. #. type: Plain text
  54976. #: guix-git/doc/guix.texi:37868
  54977. 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})."
  54978. msgstr ""
  54979. #. type: Plain text
  54980. #: guix-git/doc/guix.texi:37876
  54981. 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})."
  54982. msgstr ""
  54983. #. type: Plain text
  54984. #: guix-git/doc/guix.texi:37878
  54985. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  54986. msgstr ""
  54987. #. type: Plain text
  54988. #: guix-git/doc/guix.texi:37890
  54989. 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."
  54990. msgstr ""
  54991. #. type: Plain text
  54992. #: guix-git/doc/guix.texi:37895
  54993. 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:"
  54994. msgstr ""
  54995. #. type: example
  54996. #: guix-git/doc/guix.texi:37906
  54997. #, no-wrap
  54998. msgid ""
  54999. "(gdb) bt\n"
  55000. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  55001. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  55002. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  55003. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  55004. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  55005. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  55006. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  55007. " at dl-init.c:118\n"
  55008. msgstr ""
  55009. #. type: Plain text
  55010. #: guix-git/doc/guix.texi:37910
  55011. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  55012. msgstr ""
  55013. #. type: Plain text
  55014. #: guix-git/doc/guix.texi:37916
  55015. msgid "This time, debugging will be a whole lot nicer:"
  55016. msgstr ""
  55017. #. type: example
  55018. #: guix-git/doc/guix.texi:37934
  55019. #, no-wrap
  55020. msgid ""
  55021. "$ gdb --args sh -c 'exec inkscape'\n"
  55022. "@dots{}\n"
  55023. "(gdb) b g_getenv\n"
  55024. "Function \"g_getenv\" not defined.\n"
  55025. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  55026. "Breakpoint 1 (g_getenv) pending.\n"
  55027. "(gdb) r\n"
  55028. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  55029. "@dots{}\n"
  55030. "(gdb) bt\n"
  55031. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  55032. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  55033. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  55034. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  55035. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  55036. "@dots{}\n"
  55037. msgstr ""
  55038. #. type: Plain text
  55039. #: guix-git/doc/guix.texi:37937
  55040. msgid "Much better!"
  55041. msgstr ""
  55042. #. type: Plain text
  55043. #: guix-git/doc/guix.texi:37941
  55044. 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."
  55045. msgstr ""
  55046. #. type: cindex
  55047. #: guix-git/doc/guix.texi:37945
  55048. #, no-wrap
  55049. msgid "security updates"
  55050. msgstr ""
  55051. #. type: Plain text
  55052. #: guix-git/doc/guix.texi:37954
  55053. 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:"
  55054. msgstr ""
  55055. #. type: smallexample
  55056. #: guix-git/doc/guix.texi:37961
  55057. #, no-wrap
  55058. msgid ""
  55059. "$ guix lint -c cve\n"
  55060. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  55061. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  55062. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  55063. "@dots{}\n"
  55064. msgstr ""
  55065. #. type: Plain text
  55066. #: guix-git/doc/guix.texi:37964
  55067. msgid "@xref{Invoking guix lint}, for more information."
  55068. msgstr ""
  55069. #. type: Plain text
  55070. #: guix-git/doc/guix.texi:37973
  55071. 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."
  55072. msgstr ""
  55073. #. type: cindex
  55074. #: guix-git/doc/guix.texi:37974
  55075. #, no-wrap
  55076. msgid "grafts"
  55077. msgstr ""
  55078. #. type: Plain text
  55079. #: guix-git/doc/guix.texi:37982
  55080. 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."
  55081. msgstr ""
  55082. #. type: cindex
  55083. #: guix-git/doc/guix.texi:37983
  55084. #, no-wrap
  55085. msgid "replacements of packages, for grafts"
  55086. msgstr ""
  55087. #. type: Plain text
  55088. #: guix-git/doc/guix.texi:37989
  55089. 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:"
  55090. msgstr ""
  55091. #. type: lisp
  55092. #: guix-git/doc/guix.texi:37996
  55093. #, no-wrap
  55094. msgid ""
  55095. "(define bash\n"
  55096. " (package\n"
  55097. " (name \"bash\")\n"
  55098. " ;; @dots{}\n"
  55099. " (replacement bash-fixed)))\n"
  55100. msgstr ""
  55101. #. type: Plain text
  55102. #: guix-git/doc/guix.texi:38006
  55103. 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."
  55104. msgstr ""
  55105. #. type: Plain text
  55106. #: guix-git/doc/guix.texi:38014
  55107. 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."
  55108. msgstr ""
  55109. #. type: Plain text
  55110. #: guix-git/doc/guix.texi:38018
  55111. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  55112. msgstr ""
  55113. #. type: example
  55114. #: guix-git/doc/guix.texi:38021
  55115. #, no-wrap
  55116. msgid "guix build bash --no-grafts\n"
  55117. msgstr ""
  55118. #. type: Plain text
  55119. #: guix-git/doc/guix.texi:38025
  55120. msgid "returns the store file name of the original Bash, whereas:"
  55121. msgstr ""
  55122. #. type: example
  55123. #: guix-git/doc/guix.texi:38028
  55124. #, no-wrap
  55125. msgid "guix build bash\n"
  55126. msgstr ""
  55127. #. type: Plain text
  55128. #: guix-git/doc/guix.texi:38033
  55129. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  55130. msgstr ""
  55131. #. type: Plain text
  55132. #: guix-git/doc/guix.texi:38036
  55133. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  55134. msgstr ""
  55135. #. type: example
  55136. #: guix-git/doc/guix.texi:38039
  55137. #, no-wrap
  55138. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  55139. msgstr ""
  55140. #. type: Plain text
  55141. #: guix-git/doc/guix.texi:38044
  55142. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  55143. msgstr ""
  55144. #. type: example
  55145. #: guix-git/doc/guix.texi:38047
  55146. #, no-wrap
  55147. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  55148. msgstr ""
  55149. #. type: Plain text
  55150. #: guix-git/doc/guix.texi:38051
  55151. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  55152. msgstr ""
  55153. #. type: example
  55154. #: guix-git/doc/guix.texi:38054
  55155. #, no-wrap
  55156. msgid "lsof | grep /gnu/store/.*bash\n"
  55157. msgstr ""
  55158. #. type: cindex
  55159. #: guix-git/doc/guix.texi:38062
  55160. #, no-wrap
  55161. msgid "bootstrapping"
  55162. msgstr ""
  55163. #. type: Plain text
  55164. #: guix-git/doc/guix.texi:38069
  55165. 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?"
  55166. msgstr ""
  55167. #. type: Plain text
  55168. #: guix-git/doc/guix.texi:38077
  55169. 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."
  55170. msgstr ""
  55171. #. type: cindex
  55172. #: guix-git/doc/guix.texi:38078 guix-git/doc/guix.texi:38290
  55173. #, no-wrap
  55174. msgid "bootstrap binaries"
  55175. msgstr ""
  55176. #. type: Plain text
  55177. #: guix-git/doc/guix.texi:38088
  55178. 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}."
  55179. msgstr ""
  55180. #. type: Plain text
  55181. #: guix-git/doc/guix.texi:38092
  55182. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  55183. msgstr ""
  55184. #. type: section
  55185. #: guix-git/doc/guix.texi:38099
  55186. #, no-wrap
  55187. msgid "The Reduced Binary Seed Bootstrap"
  55188. msgstr ""
  55189. #. type: Plain text
  55190. #: guix-git/doc/guix.texi:38106
  55191. 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.''"
  55192. msgstr ""
  55193. #. type: Plain text
  55194. #: guix-git/doc/guix.texi:38112
  55195. 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."
  55196. msgstr ""
  55197. #. type: Plain text
  55198. #: guix-git/doc/guix.texi:38117
  55199. 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.}."
  55200. msgstr ""
  55201. #. type: Plain text
  55202. #: guix-git/doc/guix.texi:38123
  55203. 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)."
  55204. msgstr ""
  55205. #. type: Plain text
  55206. #: guix-git/doc/guix.texi:38128
  55207. 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."
  55208. msgstr ""
  55209. #. type: Plain text
  55210. #: guix-git/doc/guix.texi:38136
  55211. 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."
  55212. msgstr ""
  55213. #. type: Plain text
  55214. #: guix-git/doc/guix.texi:38146
  55215. 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."
  55216. msgstr ""
  55217. #. type: Plain text
  55218. #: guix-git/doc/guix.texi:38150
  55219. 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."
  55220. msgstr ""
  55221. #. type: Plain text
  55222. #: guix-git/doc/guix.texi:38153
  55223. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  55224. msgstr ""
  55225. #. type: Plain text
  55226. #: guix-git/doc/guix.texi:38160
  55227. 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.}."
  55228. msgstr ""
  55229. #. type: Plain text
  55230. #: guix-git/doc/guix.texi:38163
  55231. 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}."
  55232. msgstr ""
  55233. #. type: Plain text
  55234. #: guix-git/doc/guix.texi:38168
  55235. 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."
  55236. msgstr ""
  55237. #. type: Plain text
  55238. #: guix-git/doc/guix.texi:38172
  55239. 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}."
  55240. msgstr ""
  55241. #. type: Plain text
  55242. #: guix-git/doc/guix.texi:38179
  55243. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  55244. msgstr ""
  55245. #. type: Plain text
  55246. #: guix-git/doc/guix.texi:38184
  55247. 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:"
  55248. msgstr ""
  55249. #. type: example
  55250. #: guix-git/doc/guix.texi:38189
  55251. #, no-wrap
  55252. msgid ""
  55253. "guix graph -t derivation \\\n"
  55254. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  55255. " | dot -Tps > gcc.ps\n"
  55256. msgstr ""
  55257. #. type: Plain text
  55258. #: guix-git/doc/guix.texi:38192
  55259. msgid "or, for the further Reduced Binary Seed bootstrap"
  55260. msgstr ""
  55261. #. type: example
  55262. #: guix-git/doc/guix.texi:38197
  55263. #, no-wrap
  55264. msgid ""
  55265. "guix graph -t derivation \\\n"
  55266. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  55267. " | dot -Tps > mes.ps\n"
  55268. msgstr ""
  55269. #. type: Plain text
  55270. #: guix-git/doc/guix.texi:38206
  55271. 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})."
  55272. msgstr ""
  55273. #. type: Plain text
  55274. #: guix-git/doc/guix.texi:38215
  55275. 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."
  55276. msgstr ""
  55277. #. type: Plain text
  55278. #: guix-git/doc/guix.texi:38227
  55279. 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})."
  55280. msgstr ""
  55281. #. type: Plain text
  55282. #: guix-git/doc/guix.texi:38232
  55283. 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."
  55284. msgstr ""
  55285. #. type: unnumberedsec
  55286. #: guix-git/doc/guix.texi:38233
  55287. #, no-wrap
  55288. msgid "Building the Build Tools"
  55289. msgstr ""
  55290. #. type: Plain text
  55291. #: guix-git/doc/guix.texi:38242
  55292. 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."
  55293. msgstr ""
  55294. #. type: Plain text
  55295. #: guix-git/doc/guix.texi:38249
  55296. 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:"
  55297. msgstr ""
  55298. #. type: example
  55299. #: guix-git/doc/guix.texi:38254
  55300. #, no-wrap
  55301. msgid ""
  55302. "guix graph -t bag \\\n"
  55303. " -e '(@@@@ (gnu packages commencement)\n"
  55304. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  55305. msgstr ""
  55306. #. type: Plain text
  55307. #: guix-git/doc/guix.texi:38261
  55308. 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."
  55309. msgstr ""
  55310. #. type: Plain text
  55311. #: guix-git/doc/guix.texi:38263
  55312. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  55313. msgstr ""
  55314. #. type: Plain text
  55315. #: guix-git/doc/guix.texi:38269
  55316. 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."
  55317. msgstr ""
  55318. #. type: Plain text
  55319. #: guix-git/doc/guix.texi:38274
  55320. 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."
  55321. msgstr ""
  55322. #. type: Plain text
  55323. #: guix-git/doc/guix.texi:38280
  55324. 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."
  55325. msgstr ""
  55326. #. type: Plain text
  55327. #: guix-git/doc/guix.texi:38286
  55328. 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}})."
  55329. msgstr ""
  55330. #. type: unnumberedsec
  55331. #: guix-git/doc/guix.texi:38288
  55332. #, no-wrap
  55333. msgid "Building the Bootstrap Binaries"
  55334. msgstr ""
  55335. #. type: Plain text
  55336. #: guix-git/doc/guix.texi:38295
  55337. 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."
  55338. msgstr ""
  55339. #. type: Plain text
  55340. #: guix-git/doc/guix.texi:38301
  55341. 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):"
  55342. msgstr ""
  55343. #. type: example
  55344. #: guix-git/doc/guix.texi:38304
  55345. #, no-wrap
  55346. msgid "guix build bootstrap-tarballs\n"
  55347. msgstr ""
  55348. #. type: Plain text
  55349. #: guix-git/doc/guix.texi:38309
  55350. 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."
  55351. msgstr ""
  55352. #. type: Plain text
  55353. #: guix-git/doc/guix.texi:38315
  55354. 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."
  55355. msgstr ""
  55356. #. type: unnumberedsec
  55357. #: guix-git/doc/guix.texi:38316
  55358. #, no-wrap
  55359. msgid "Reducing the Set of Bootstrap Binaries"
  55360. msgstr ""
  55361. #. type: Plain text
  55362. #: guix-git/doc/guix.texi:38324
  55363. 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}."
  55364. msgstr ""
  55365. #. type: Plain text
  55366. #: guix-git/doc/guix.texi:38330
  55367. 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."
  55368. msgstr ""
  55369. #. type: Plain text
  55370. #: guix-git/doc/guix.texi:38336
  55371. 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."
  55372. msgstr ""
  55373. #. type: Plain text
  55374. #: guix-git/doc/guix.texi:38345
  55375. 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."
  55376. msgstr ""
  55377. #. type: Plain text
  55378. #: guix-git/doc/guix.texi:38348
  55379. 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!"
  55380. msgstr ""
  55381. #. type: chapter
  55382. #: guix-git/doc/guix.texi:38350
  55383. #, no-wrap
  55384. msgid "Porting to a New Platform"
  55385. msgstr ""
  55386. #. type: Plain text
  55387. #: guix-git/doc/guix.texi:38359
  55388. 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."
  55389. msgstr ""
  55390. #. type: Plain text
  55391. #: guix-git/doc/guix.texi:38364
  55392. 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:"
  55393. msgstr ""
  55394. #. type: example
  55395. #: guix-git/doc/guix.texi:38367
  55396. #, no-wrap
  55397. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  55398. msgstr ""
  55399. #. type: Plain text
  55400. #: guix-git/doc/guix.texi:38374
  55401. 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."
  55402. msgstr ""
  55403. #. type: Plain text
  55404. #: guix-git/doc/guix.texi:38383
  55405. 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."
  55406. msgstr ""
  55407. #. type: Plain text
  55408. #: guix-git/doc/guix.texi:38392
  55409. 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."
  55410. msgstr ""
  55411. #. type: include
  55412. #: guix-git/doc/guix.texi:38394
  55413. #, no-wrap
  55414. msgid "contributing.texi"
  55415. msgstr "contributing.fa.texi"
  55416. #. type: Plain text
  55417. #: guix-git/doc/guix.texi:38407
  55418. 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."
  55419. msgstr ""
  55420. #. type: Plain text
  55421. #: guix-git/doc/guix.texi:38410
  55422. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  55423. msgstr ""
  55424. #. type: Plain text
  55425. #: guix-git/doc/guix.texi:38416
  55426. 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!"
  55427. msgstr ""
  55428. #. type: cindex
  55429. #: guix-git/doc/guix.texi:38421
  55430. #, no-wrap
  55431. msgid "license, GNU Free Documentation License"
  55432. msgstr ""
  55433. #. type: include
  55434. #: guix-git/doc/guix.texi:38422
  55435. #, no-wrap
  55436. msgid "fdl-1.3.texi"
  55437. msgstr ""