guix-manual.fa.po 2.0 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551505525055350554505555055650557505585055950560505615056250563505645056550566505675056850569505705057150572505735057450575505765057750578505795058050581505825058350584505855058650587505885058950590505915059250593505945059550596505975059850599506005060150602506035060450605506065060750608506095061050611506125061350614506155061650617506185061950620506215062250623506245062550626506275062850629506305063150632506335063450635506365063750638506395064050641506425064350644506455064650647506485064950650506515065250653506545065550656506575065850659506605066150662506635066450665506665066750668506695067050671506725067350674506755067650677506785067950680506815068250683506845068550686506875068850689506905069150692506935069450695506965069750698506995070050701507025070350704507055070650707507085070950710507115071250713507145071550716507175071850719507205072150722507235072450725507265072750728507295073050731507325073350734507355073650737507385073950740507415074250743507445074550746507475074850749507505075150752507535075450755507565075750758507595076050761507625076350764507655076650767507685076950770507715077250773507745077550776507775077850779507805078150782507835078450785507865078750788507895079050791507925079350794507955079650797507985079950800508015080250803508045080550806508075080850809508105081150812508135081450815508165081750818508195082050821508225082350824508255082650827508285082950830508315083250833508345083550836508375083850839508405084150842508435084450845508465084750848508495085050851508525085350854508555085650857508585085950860508615086250863508645086550866508675086850869508705087150872508735087450875508765087750878508795088050881508825088350884508855088650887508885088950890508915089250893508945089550896508975089850899509005090150902509035090450905509065090750908509095091050911509125091350914509155091650917509185091950920509215092250923509245092550926509275092850929509305093150932509335093450935509365093750938509395094050941509425094350944509455094650947509485094950950509515095250953509545095550956509575095850959509605096150962509635096450965509665096750968509695097050971509725097350974509755097650977509785097950980509815098250983509845098550986509875098850989509905099150992509935099450995509965099750998509995100051001510025100351004510055100651007510085100951010510115101251013510145101551016510175101851019510205102151022510235102451025510265102751028510295103051031510325103351034510355103651037510385103951040510415104251043510445104551046510475104851049510505105151052510535105451055510565105751058510595106051061510625106351064510655106651067510685106951070510715107251073510745107551076510775107851079510805108151082510835108451085510865108751088510895109051091510925109351094510955109651097510985109951100511015110251103511045110551106511075110851109511105111151112511135111451115511165111751118511195112051121511225112351124511255112651127511285112951130511315113251133511345113551136511375113851139511405114151142511435114451145511465114751148511495115051151511525115351154511555115651157511585115951160511615116251163511645116551166511675116851169511705117151172511735117451175511765117751178511795118051181511825118351184511855118651187511885118951190511915119251193511945119551196511975119851199512005120151202512035120451205512065120751208512095121051211512125121351214512155121651217512185121951220512215122251223512245122551226512275122851229512305123151232512335123451235512365123751238512395124051241512425124351244512455124651247512485124951250512515125251253512545125551256512575125851259512605126151262512635126451265512665126751268512695127051271512725127351274512755127651277512785127951280512815128251283512845128551286512875128851289512905129151292512935129451295512965129751298512995130051301513025130351304513055130651307513085130951310513115131251313513145131551316513175131851319513205132151322513235132451325513265132751328513295133051331513325133351334513355133651337513385133951340513415134251343513445134551346513475134851349513505135151352513535135451355513565135751358513595136051361513625136351364513655136651367513685136951370513715137251373513745137551376513775137851379513805138151382513835138451385513865138751388513895139051391513925139351394513955139651397513985139951400514015140251403514045140551406514075140851409514105141151412514135141451415514165141751418514195142051421514225142351424514255142651427514285142951430514315143251433514345143551436514375143851439514405144151442514435144451445514465144751448514495145051451514525145351454514555145651457514585145951460514615146251463514645146551466514675146851469514705147151472514735147451475514765147751478514795148051481514825148351484514855148651487514885148951490514915149251493514945149551496514975149851499515005150151502515035150451505515065150751508515095151051511515125151351514515155151651517515185151951520515215152251523515245152551526515275152851529515305153151532515335153451535515365153751538515395154051541515425154351544515455154651547515485154951550515515155251553515545155551556515575155851559515605156151562515635156451565515665156751568515695157051571515725157351574515755157651577515785157951580515815158251583515845158551586515875158851589515905159151592515935159451595515965159751598515995160051601516025160351604516055160651607516085160951610516115161251613516145161551616516175161851619516205162151622516235162451625516265162751628516295163051631516325163351634516355163651637516385163951640516415164251643516445164551646516475164851649516505165151652516535165451655516565165751658516595166051661516625166351664516655166651667516685166951670516715167251673516745167551676516775167851679516805168151682516835168451685516865168751688516895169051691516925169351694516955169651697516985169951700517015170251703517045170551706517075170851709517105171151712517135171451715517165171751718517195172051721517225172351724517255172651727517285172951730517315173251733517345173551736517375173851739517405174151742517435174451745517465174751748517495175051751517525175351754517555175651757517585175951760517615176251763517645176551766517675176851769517705177151772517735177451775517765177751778517795178051781517825178351784517855178651787517885178951790517915179251793517945179551796517975179851799518005180151802518035180451805518065180751808518095181051811518125181351814518155181651817518185181951820518215182251823518245182551826518275182851829518305183151832518335183451835518365183751838518395184051841518425184351844518455184651847518485184951850518515185251853518545185551856518575185851859518605186151862518635186451865518665186751868518695187051871518725187351874518755187651877518785187951880518815188251883518845188551886518875188851889518905189151892518935189451895518965189751898518995190051901519025190351904519055190651907519085190951910519115191251913519145191551916519175191851919519205192151922519235192451925519265192751928519295193051931519325193351934519355193651937519385193951940519415194251943519445194551946519475194851949519505195151952519535195451955519565195751958519595196051961519625196351964519655196651967519685196951970519715197251973519745197551976519775197851979519805198151982519835198451985519865198751988519895199051991519925199351994519955199651997519985199952000520015200252003520045200552006520075200852009520105201152012520135201452015520165201752018520195202052021520225202352024520255202652027520285202952030520315203252033520345203552036520375203852039520405204152042520435204452045520465204752048520495205052051520525205352054520555205652057520585205952060520615206252063520645206552066520675206852069520705207152072520735207452075520765207752078520795208052081520825208352084520855208652087520885208952090520915209252093520945209552096520975209852099521005210152102521035210452105521065210752108521095211052111521125211352114521155211652117521185211952120521215212252123521245212552126521275212852129521305213152132521335213452135521365213752138521395214052141521425214352144521455214652147521485214952150521515215252153521545215552156521575215852159521605216152162521635216452165521665216752168521695217052171521725217352174521755217652177521785217952180521815218252183521845218552186521875218852189521905219152192521935219452195521965219752198521995220052201522025220352204522055220652207522085220952210522115221252213522145221552216522175221852219522205222152222522235222452225522265222752228522295223052231522325223352234522355223652237522385223952240522415224252243522445224552246522475224852249522505225152252522535225452255522565225752258522595226052261522625226352264522655226652267522685226952270522715227252273522745227552276522775227852279522805228152282522835228452285522865228752288522895229052291522925229352294522955229652297522985229952300523015230252303523045230552306523075230852309523105231152312523135231452315523165231752318523195232052321523225232352324523255232652327523285232952330523315233252333523345233552336523375233852339523405234152342523435234452345523465234752348523495235052351523525235352354523555235652357523585235952360523615236252363523645236552366523675236852369523705237152372523735237452375523765237752378523795238052381523825238352384523855238652387523885238952390523915239252393523945239552396523975239852399524005240152402524035240452405524065240752408524095241052411524125241352414524155241652417524185241952420524215242252423524245242552426524275242852429524305243152432524335243452435524365243752438524395244052441524425244352444524455244652447524485244952450524515245252453524545245552456524575245852459524605246152462524635246452465524665246752468524695247052471524725247352474524755247652477524785247952480524815248252483524845248552486524875248852489524905249152492524935249452495524965249752498524995250052501525025250352504525055250652507525085250952510525115251252513525145251552516525175251852519525205252152522525235252452525525265252752528525295253052531525325253352534525355253652537525385253952540525415254252543525445254552546525475254852549525505255152552525535255452555525565255752558525595256052561525625256352564525655256652567525685256952570525715257252573525745257552576525775257852579525805258152582525835258452585525865258752588525895259052591525925259352594525955259652597525985259952600526015260252603526045260552606526075260852609526105261152612526135261452615526165261752618526195262052621526225262352624526255262652627526285262952630526315263252633526345263552636526375263852639526405264152642526435264452645526465264752648526495265052651526525265352654526555265652657526585265952660526615266252663526645266552666526675266852669526705267152672526735267452675526765267752678526795268052681526825268352684526855268652687526885268952690526915269252693526945269552696526975269852699527005270152702527035270452705527065270752708527095271052711527125271352714527155271652717527185271952720527215272252723527245272552726527275272852729527305273152732527335273452735527365273752738527395274052741527425274352744527455274652747527485274952750527515275252753527545275552756527575275852759527605276152762527635276452765527665276752768527695277052771527725277352774527755277652777527785277952780527815278252783527845278552786527875278852789527905279152792527935279452795527965279752798527995280052801528025280352804528055280652807528085280952810528115281252813528145281552816528175281852819528205282152822528235282452825528265282752828528295283052831528325283352834528355283652837528385283952840528415284252843528445284552846528475284852849528505285152852528535285452855528565285752858528595286052861528625286352864528655286652867528685286952870528715287252873528745287552876528775287852879528805288152882528835288452885528865288752888528895289052891528925289352894528955289652897528985289952900529015290252903529045290552906529075290852909529105291152912529135291452915529165291752918529195292052921529225292352924529255292652927529285292952930529315293252933529345293552936529375293852939529405294152942529435294452945529465294752948529495295052951529525295352954529555295652957529585295952960529615296252963529645296552966529675296852969529705297152972529735297452975529765297752978529795298052981529825298352984529855298652987529885298952990529915299252993529945299552996529975299852999530005300153002530035300453005530065300753008530095301053011530125301353014530155301653017530185301953020530215302253023530245302553026530275302853029530305303153032530335303453035530365303753038530395304053041530425304353044530455304653047530485304953050530515305253053530545305553056530575305853059530605306153062530635306453065530665306753068530695307053071530725307353074530755307653077530785307953080530815308253083530845308553086530875308853089530905309153092530935309453095530965309753098530995310053101531025310353104531055310653107531085310953110531115311253113531145311553116531175311853119531205312153122531235312453125531265312753128531295313053131531325313353134531355313653137531385313953140531415314253143531445314553146531475314853149531505315153152531535315453155531565315753158531595316053161531625316353164531655316653167531685316953170531715317253173531745317553176531775317853179531805318153182531835318453185531865318753188531895319053191531925319353194531955319653197531985319953200532015320253203532045320553206532075320853209532105321153212532135321453215532165321753218532195322053221532225322353224532255322653227532285322953230532315323253233532345323553236532375323853239532405324153242532435324453245532465324753248532495325053251532525325353254532555325653257532585325953260532615326253263532645326553266532675326853269532705327153272532735327453275532765327753278532795328053281532825328353284532855328653287532885328953290532915329253293532945329553296532975329853299533005330153302533035330453305533065330753308533095331053311533125331353314533155331653317533185331953320533215332253323533245332553326533275332853329533305333153332533335333453335533365333753338533395334053341533425334353344533455334653347533485334953350533515335253353533545335553356533575335853359533605336153362533635336453365533665336753368533695337053371533725337353374533755337653377533785337953380533815338253383533845338553386533875338853389533905339153392533935339453395533965339753398533995340053401534025340353404534055340653407534085340953410534115341253413534145341553416534175341853419534205342153422534235342453425534265342753428534295343053431534325343353434534355343653437534385343953440534415344253443534445344553446534475344853449534505345153452534535345453455534565345753458534595346053461534625346353464534655346653467534685346953470534715347253473534745347553476534775347853479534805348153482534835348453485534865348753488534895349053491534925349353494534955349653497534985349953500535015350253503535045350553506535075350853509535105351153512535135351453515535165351753518535195352053521535225352353524535255352653527535285352953530535315353253533535345353553536535375353853539535405354153542535435354453545535465354753548535495355053551535525355353554535555355653557535585355953560535615356253563535645356553566535675356853569535705357153572535735357453575535765357753578535795358053581535825358353584535855358653587535885358953590535915359253593535945359553596535975359853599536005360153602536035360453605536065360753608536095361053611536125361353614536155361653617536185361953620536215362253623536245362553626536275362853629536305363153632536335363453635536365363753638536395364053641536425364353644536455364653647536485364953650536515365253653536545365553656536575365853659536605366153662536635366453665536665366753668536695367053671536725367353674536755367653677536785367953680536815368253683536845368553686536875368853689536905369153692536935369453695536965369753698536995370053701537025370353704537055370653707537085370953710537115371253713537145371553716537175371853719537205372153722537235372453725537265372753728537295373053731537325373353734537355373653737537385373953740537415374253743537445374553746537475374853749537505375153752537535375453755537565375753758537595376053761537625376353764537655376653767537685376953770537715377253773537745377553776537775377853779537805378153782537835378453785537865378753788537895379053791537925379353794537955379653797537985379953800538015380253803538045380553806538075380853809538105381153812538135381453815538165381753818538195382053821538225382353824538255382653827538285382953830538315383253833538345383553836538375383853839538405384153842538435384453845538465384753848538495385053851538525385353854538555385653857538585385953860538615386253863538645386553866538675386853869538705387153872538735387453875538765387753878538795388053881538825388353884538855388653887538885388953890538915389253893538945389553896538975389853899539005390153902539035390453905539065390753908539095391053911539125391353914539155391653917539185391953920539215392253923539245392553926539275392853929539305393153932539335393453935539365393753938539395394053941539425394353944539455394653947539485394953950539515395253953539545395553956539575395853959539605396153962539635396453965539665396753968539695397053971539725397353974539755397653977539785397953980539815398253983539845398553986539875398853989539905399153992539935399453995539965399753998539995400054001540025400354004540055400654007540085400954010540115401254013540145401554016540175401854019540205402154022540235402454025540265402754028540295403054031540325403354034540355403654037540385403954040540415404254043540445404554046540475404854049540505405154052540535405454055540565405754058540595406054061540625406354064540655406654067540685406954070540715407254073540745407554076540775407854079540805408154082540835408454085540865408754088540895409054091540925409354094540955409654097540985409954100541015410254103541045410554106541075410854109541105411154112541135411454115541165411754118541195412054121541225412354124541255412654127541285412954130541315413254133541345413554136541375413854139541405414154142541435414454145541465414754148541495415054151541525415354154541555415654157541585415954160541615416254163541645416554166541675416854169541705417154172541735417454175541765417754178541795418054181541825418354184541855418654187541885418954190541915419254193541945419554196541975419854199542005420154202542035420454205542065420754208542095421054211542125421354214542155421654217542185421954220542215422254223542245422554226542275422854229542305423154232542335423454235542365423754238542395424054241542425424354244542455424654247542485424954250542515425254253542545425554256542575425854259542605426154262542635426454265542665426754268542695427054271542725427354274542755427654277542785427954280542815428254283542845428554286542875428854289542905429154292542935429454295542965429754298542995430054301543025430354304543055430654307543085430954310543115431254313543145431554316543175431854319543205432154322543235432454325543265432754328543295433054331543325433354334543355433654337543385433954340543415434254343543445434554346543475434854349543505435154352543535435454355543565435754358543595436054361543625436354364543655436654367543685436954370543715437254373543745437554376543775437854379543805438154382543835438454385543865438754388543895439054391543925439354394543955439654397543985439954400544015440254403544045440554406544075440854409544105441154412544135441454415544165441754418544195442054421544225442354424544255442654427544285442954430544315443254433544345443554436544375443854439544405444154442544435444454445544465444754448544495445054451544525445354454544555445654457544585445954460544615446254463544645446554466544675446854469544705447154472544735447454475544765447754478544795448054481544825448354484544855448654487544885448954490544915449254493544945449554496544975449854499545005450154502545035450454505545065450754508545095451054511545125451354514545155451654517545185451954520545215452254523545245452554526545275452854529545305453154532545335453454535545365453754538545395454054541545425454354544545455454654547545485454954550545515455254553545545455554556545575455854559545605456154562545635456454565545665456754568545695457054571545725457354574545755457654577545785457954580545815458254583545845458554586545875458854589545905459154592545935459454595545965459754598545995460054601546025460354604546055460654607546085460954610546115461254613546145461554616546175461854619546205462154622546235462454625546265462754628546295463054631546325463354634546355463654637546385463954640546415464254643546445464554646546475464854649546505465154652546535465454655546565465754658546595466054661546625466354664546655466654667546685466954670546715467254673546745467554676546775467854679546805468154682546835468454685546865468754688546895469054691546925469354694546955469654697546985469954700547015470254703547045470554706547075470854709547105471154712547135471454715547165471754718547195472054721547225472354724547255472654727547285472954730547315473254733547345473554736547375473854739547405474154742547435474454745547465474754748547495475054751547525475354754547555475654757547585475954760547615476254763547645476554766547675476854769547705477154772547735477454775547765477754778547795478054781547825478354784547855478654787547885478954790547915479254793547945479554796547975479854799548005480154802548035480454805548065480754808548095481054811548125481354814548155481654817548185481954820548215482254823548245482554826548275482854829548305483154832548335483454835548365483754838548395484054841548425484354844548455484654847548485484954850548515485254853548545485554856548575485854859548605486154862548635486454865548665486754868548695487054871548725487354874548755487654877548785487954880548815488254883548845488554886548875488854889548905489154892548935489454895548965489754898548995490054901549025490354904549055490654907549085490954910549115491254913549145491554916549175491854919549205492154922549235492454925549265492754928549295493054931549325493354934549355493654937549385493954940549415494254943549445494554946549475494854949549505495154952549535495454955549565495754958549595496054961549625496354964549655496654967549685496954970549715497254973549745497554976549775497854979549805498154982549835498454985549865498754988549895499054991549925499354994549955499654997549985499955000550015500255003550045500555006550075500855009550105501155012550135501455015550165501755018550195502055021550225502355024550255502655027550285502955030550315503255033550345503555036550375503855039550405504155042550435504455045550465504755048550495505055051550525505355054550555505655057550585505955060550615506255063550645506555066550675506855069550705507155072550735507455075550765507755078550795508055081550825508355084550855508655087550885508955090550915509255093550945509555096550975509855099551005510155102551035510455105551065510755108551095511055111551125511355114551155511655117551185511955120551215512255123551245512555126551275512855129551305513155132551335513455135551365513755138551395514055141551425514355144551455514655147551485514955150551515515255153551545515555156551575515855159551605516155162551635516455165551665516755168551695517055171551725517355174551755517655177551785517955180551815518255183551845518555186551875518855189551905519155192551935519455195551965519755198551995520055201552025520355204552055520655207552085520955210552115521255213552145521555216552175521855219552205522155222552235522455225552265522755228552295523055231552325523355234552355523655237552385523955240552415524255243552445524555246552475524855249552505525155252552535525455255552565525755258552595526055261552625526355264552655526655267552685526955270552715527255273552745527555276552775527855279552805528155282552835528455285552865528755288552895529055291552925529355294552955529655297552985529955300553015530255303553045530555306553075530855309553105531155312553135531455315553165531755318553195532055321553225532355324553255532655327553285532955330553315533255333553345533555336553375533855339553405534155342553435534455345553465534755348553495535055351553525535355354553555535655357553585535955360553615536255363553645536555366553675536855369553705537155372553735537455375553765537755378553795538055381553825538355384553855538655387553885538955390553915539255393553945539555396553975539855399554005540155402554035540455405554065540755408554095541055411554125541355414554155541655417554185541955420554215542255423554245542555426554275542855429554305543155432554335543455435554365543755438554395544055441554425544355444554455544655447554485544955450554515545255453554545545555456554575545855459554605546155462554635546455465554665546755468554695547055471554725547355474554755547655477554785547955480554815548255483554845548555486554875548855489554905549155492554935549455495554965549755498554995550055501555025550355504555055550655507555085550955510555115551255513555145551555516555175551855519555205552155522555235552455525555265552755528555295553055531555325553355534555355553655537555385553955540555415554255543555445554555546555475554855549555505555155552555535555455555555565555755558555595556055561555625556355564555655556655567555685556955570555715557255573555745557555576555775557855579555805558155582555835558455585555865558755588555895559055591555925559355594555955559655597555985559955600556015560255603556045560555606556075560855609556105561155612556135561455615556165561755618556195562055621556225562355624556255562655627556285562955630556315563255633556345563555636556375563855639556405564155642556435564455645556465564755648556495565055651556525565355654556555565655657556585565955660556615566255663556645566555666556675566855669556705567155672556735567455675556765567755678556795568055681556825568355684556855568655687556885568955690556915569255693556945569555696556975569855699557005570155702557035570455705557065570755708557095571055711557125571355714557155571655717557185571955720557215572255723557245572555726557275572855729557305573155732557335573455735557365573755738557395574055741557425574355744557455574655747557485574955750557515575255753557545575555756557575575855759557605576155762557635576455765557665576755768557695577055771557725577355774557755577655777557785577955780557815578255783557845578555786557875578855789557905579155792557935579455795557965579755798557995580055801558025580355804558055580655807558085580955810558115581255813558145581555816558175581855819558205582155822558235582455825558265582755828558295583055831558325583355834558355583655837558385583955840558415584255843558445584555846558475584855849558505585155852558535585455855558565585755858558595586055861558625586355864558655586655867558685586955870558715587255873558745587555876558775587855879558805588155882558835588455885558865588755888558895589055891558925589355894558955589655897558985589955900559015590255903559045590555906559075590855909559105591155912559135591455915559165591755918559195592055921559225592355924559255592655927559285592955930559315593255933559345593555936559375593855939559405594155942559435594455945559465594755948559495595055951559525595355954559555595655957559585595955960559615596255963559645596555966559675596855969559705597155972559735597455975559765597755978559795598055981559825598355984559855598655987559885598955990559915599255993559945599555996559975599855999560005600156002560035600456005560065600756008560095601056011560125601356014560155601656017560185601956020560215602256023560245602556026560275602856029560305603156032560335603456035560365603756038560395604056041560425604356044560455604656047560485604956050560515605256053560545605556056560575605856059560605606156062560635606456065560665606756068560695607056071560725607356074560755607656077560785607956080560815608256083560845608556086560875608856089560905609156092560935609456095560965609756098560995610056101561025610356104561055610656107561085610956110561115611256113561145611556116561175611856119561205612156122561235612456125561265612756128561295613056131561325613356134561355613656137561385613956140561415614256143561445614556146561475614856149561505615156152561535615456155561565615756158561595616056161561625616356164561655616656167561685616956170561715617256173561745617556176561775617856179561805618156182561835618456185561865618756188561895619056191561925619356194561955619656197561985619956200562015620256203562045620556206562075620856209562105621156212562135621456215562165621756218562195622056221562225622356224562255622656227562285622956230562315623256233562345623556236562375623856239562405624156242562435624456245562465624756248562495625056251562525625356254562555625656257562585625956260562615626256263562645626556266562675626856269562705627156272562735627456275562765627756278562795628056281562825628356284562855628656287562885628956290562915629256293562945629556296562975629856299563005630156302563035630456305563065630756308563095631056311563125631356314563155631656317563185631956320563215632256323563245632556326563275632856329563305633156332563335633456335563365633756338563395634056341563425634356344563455634656347563485634956350563515635256353563545635556356563575635856359563605636156362563635636456365563665636756368563695637056371563725637356374563755637656377563785637956380563815638256383563845638556386563875638856389563905639156392563935639456395563965639756398563995640056401564025640356404564055640656407564085640956410564115641256413564145641556416564175641856419564205642156422564235642456425564265642756428564295643056431564325643356434564355643656437564385643956440564415644256443564445644556446564475644856449564505645156452564535645456455564565645756458564595646056461564625646356464564655646656467564685646956470564715647256473564745647556476564775647856479564805648156482564835648456485564865648756488564895649056491564925649356494564955649656497564985649956500565015650256503565045650556506565075650856509565105651156512565135651456515565165651756518565195652056521565225652356524565255652656527565285652956530565315653256533565345653556536565375653856539565405654156542565435654456545565465654756548565495655056551565525655356554565555655656557565585655956560565615656256563565645656556566565675656856569565705657156572565735657456575565765657756578565795658056581565825658356584565855658656587565885658956590565915659256593565945659556596565975659856599566005660156602566035660456605566065660756608566095661056611566125661356614566155661656617566185661956620566215662256623566245662556626566275662856629566305663156632566335663456635566365663756638566395664056641566425664356644566455664656647566485664956650566515665256653566545665556656566575665856659566605666156662566635666456665566665666756668566695667056671566725667356674566755667656677566785667956680566815668256683566845668556686566875668856689566905669156692566935669456695566965669756698566995670056701567025670356704567055670656707567085670956710567115671256713567145671556716567175671856719567205672156722567235672456725567265672756728567295673056731567325673356734567355673656737567385673956740567415674256743567445674556746567475674856749567505675156752567535675456755567565675756758567595676056761567625676356764567655676656767567685676956770567715677256773567745677556776567775677856779567805678156782567835678456785567865678756788567895679056791567925679356794567955679656797567985679956800568015680256803568045680556806568075680856809568105681156812568135681456815568165681756818568195682056821568225682356824568255682656827568285682956830568315683256833568345683556836568375683856839568405684156842568435684456845568465684756848568495685056851568525685356854568555685656857568585685956860568615686256863568645686556866568675686856869568705687156872568735687456875568765687756878568795688056881568825688356884568855688656887568885688956890568915689256893568945689556896568975689856899569005690156902569035690456905569065690756908569095691056911569125691356914569155691656917569185691956920569215692256923569245692556926569275692856929569305693156932569335693456935569365693756938569395694056941569425694356944569455694656947569485694956950569515695256953569545695556956569575695856959569605696156962569635696456965569665696756968569695697056971569725697356974569755697656977569785697956980569815698256983569845698556986569875698856989569905699156992569935699456995569965699756998569995700057001570025700357004570055700657007570085700957010570115701257013570145701557016570175701857019570205702157022570235702457025570265702757028570295703057031570325703357034570355703657037570385703957040570415704257043570445704557046570475704857049570505705157052570535705457055570565705757058570595706057061570625706357064570655706657067570685706957070570715707257073570745707557076570775707857079570805708157082570835708457085570865708757088570895709057091570925709357094570955709657097570985709957100571015710257103571045710557106571075710857109571105711157112571135711457115571165711757118571195712057121571225712357124571255712657127571285712957130571315713257133571345713557136571375713857139571405714157142571435714457145571465714757148571495715057151571525715357154571555715657157571585715957160571615716257163571645716557166571675716857169571705717157172571735717457175571765717757178571795718057181571825718357184571855718657187571885718957190571915719257193571945719557196571975719857199572005720157202572035720457205572065720757208572095721057211572125721357214572155721657217572185721957220572215722257223572245722557226572275722857229572305723157232572335723457235572365723757238572395724057241572425724357244572455724657247572485724957250572515725257253572545725557256572575725857259572605726157262572635726457265572665726757268572695727057271572725727357274572755727657277572785727957280572815728257283572845728557286572875728857289572905729157292572935729457295572965729757298572995730057301573025730357304573055730657307573085730957310573115731257313573145731557316573175731857319573205732157322573235732457325573265732757328573295733057331573325733357334573355733657337573385733957340573415734257343573445734557346573475734857349573505735157352573535735457355573565735757358573595736057361573625736357364573655736657367573685736957370573715737257373573745737557376573775737857379573805738157382573835738457385573865738757388573895739057391573925739357394573955739657397573985739957400574015740257403574045740557406574075740857409574105741157412574135741457415574165741757418574195742057421574225742357424574255742657427574285742957430574315743257433574345743557436574375743857439574405744157442574435744457445574465744757448574495745057451574525745357454574555745657457574585745957460574615746257463574645746557466574675746857469574705747157472574735747457475574765747757478574795748057481574825748357484574855748657487574885748957490574915749257493574945749557496574975749857499575005750157502575035750457505575065750757508575095751057511575125751357514575155751657517575185751957520575215752257523575245752557526575275752857529575305753157532575335753457535575365753757538575395754057541575425754357544575455754657547575485754957550575515755257553575545755557556575575755857559575605756157562575635756457565575665756757568575695757057571575725757357574575755757657577575785757957580575815758257583575845758557586575875758857589575905759157592575935759457595575965759757598575995760057601576025760357604576055760657607576085760957610576115761257613576145761557616576175761857619576205762157622576235762457625576265762757628576295763057631576325763357634576355763657637576385763957640576415764257643576445764557646576475764857649576505765157652576535765457655576565765757658576595766057661576625766357664576655766657667576685766957670576715767257673576745767557676576775767857679576805768157682576835768457685576865768757688576895769057691576925769357694576955769657697576985769957700577015770257703577045770557706577075770857709577105771157712577135771457715577165771757718577195772057721577225772357724577255772657727577285772957730577315773257733577345773557736577375773857739577405774157742577435774457745577465774757748577495775057751577525775357754577555775657757577585775957760577615776257763577645776557766577675776857769577705777157772577735777457775577765777757778577795778057781577825778357784577855778657787577885778957790577915779257793577945779557796577975779857799578005780157802578035780457805578065780757808578095781057811578125781357814578155781657817578185781957820578215782257823578245782557826578275782857829578305783157832578335783457835578365783757838578395784057841578425784357844578455784657847578485784957850578515785257853578545785557856578575785857859578605786157862578635786457865578665786757868578695787057871578725787357874578755787657877578785787957880578815788257883578845788557886578875788857889578905789157892578935789457895578965789757898578995790057901579025790357904579055790657907579085790957910579115791257913579145791557916579175791857919579205792157922579235792457925579265792757928579295793057931579325793357934579355793657937579385793957940579415794257943579445794557946579475794857949579505795157952579535795457955579565795757958579595796057961579625796357964579655796657967579685796957970579715797257973579745797557976579775797857979579805798157982579835798457985579865798757988579895799057991579925799357994579955799657997579985799958000580015800258003580045800558006580075800858009580105801158012580135801458015580165801758018580195802058021580225802358024580255802658027580285802958030580315803258033580345803558036580375803858039580405804158042580435804458045580465804758048580495805058051580525805358054580555805658057580585805958060580615806258063580645806558066580675806858069580705807158072580735807458075580765807758078580795808058081580825808358084580855808658087580885808958090580915809258093580945809558096580975809858099581005810158102581035810458105581065810758108581095811058111581125811358114581155811658117581185811958120581215812258123581245812558126581275812858129581305813158132581335813458135581365813758138581395814058141581425814358144581455814658147581485814958150581515815258153581545815558156581575815858159581605816158162581635816458165581665816758168581695817058171581725817358174581755817658177581785817958180581815818258183581845818558186581875818858189581905819158192581935819458195581965819758198581995820058201582025820358204582055820658207582085820958210582115821258213582145821558216582175821858219582205822158222582235822458225582265822758228582295823058231582325823358234582355823658237582385823958240582415824258243582445824558246582475824858249582505825158252582535825458255582565825758258582595826058261582625826358264582655826658267582685826958270582715827258273582745827558276582775827858279582805828158282582835828458285582865828758288582895829058291582925829358294582955829658297582985829958300583015830258303583045830558306583075830858309583105831158312583135831458315583165831758318583195832058321583225832358324583255832658327583285832958330583315833258333583345833558336583375833858339583405834158342583435834458345583465834758348583495835058351583525835358354583555835658357583585835958360583615836258363583645836558366583675836858369583705837158372583735837458375583765837758378583795838058381583825838358384583855838658387583885838958390583915839258393583945839558396583975839858399584005840158402584035840458405584065840758408584095841058411584125841358414584155841658417584185841958420584215842258423584245842558426584275842858429584305843158432584335843458435584365843758438584395844058441584425844358444584455844658447584485844958450584515845258453584545845558456584575845858459584605846158462584635846458465584665846758468584695847058471584725847358474584755847658477584785847958480584815848258483584845848558486584875848858489584905849158492584935849458495584965849758498584995850058501585025850358504585055850658507585085850958510585115851258513585145851558516585175851858519585205852158522585235852458525585265852758528585295853058531585325853358534585355853658537585385853958540585415854258543585445854558546585475854858549585505855158552585535855458555585565855758558585595856058561585625856358564585655856658567585685856958570585715857258573585745857558576585775857858579585805858158582585835858458585585865858758588585895859058591585925859358594585955859658597585985859958600586015860258603586045860558606586075860858609586105861158612586135861458615586165861758618586195862058621586225862358624586255862658627586285862958630586315863258633586345863558636586375863858639586405864158642586435864458645586465864758648586495865058651586525865358654586555865658657586585865958660586615866258663586645866558666586675866858669586705867158672586735867458675586765867758678586795868058681586825868358684586855868658687586885868958690586915869258693586945869558696586975869858699587005870158702587035870458705587065870758708587095871058711587125871358714587155871658717587185871958720587215872258723587245872558726587275872858729587305873158732587335873458735587365873758738587395874058741587425874358744587455874658747587485874958750587515875258753587545875558756587575875858759587605876158762587635876458765587665876758768587695877058771587725877358774587755877658777587785877958780587815878258783587845878558786587875878858789587905879158792587935879458795587965879758798587995880058801588025880358804588055880658807588085880958810588115881258813588145881558816588175881858819588205882158822588235882458825588265882758828588295883058831588325883358834588355883658837588385883958840588415884258843588445884558846588475884858849588505885158852588535885458855588565885758858588595886058861588625886358864588655886658867588685886958870588715887258873588745887558876588775887858879588805888158882588835888458885588865888758888588895889058891588925889358894588955889658897588985889958900589015890258903589045890558906589075890858909589105891158912589135891458915589165891758918589195892058921589225892358924589255892658927589285892958930589315893258933589345893558936589375893858939589405894158942589435894458945589465894758948589495895058951589525895358954589555895658957589585895958960589615896258963589645896558966589675896858969589705897158972589735897458975589765897758978589795898058981589825898358984589855898658987589885898958990589915899258993589945899558996589975899858999590005900159002590035900459005590065900759008590095901059011590125901359014590155901659017590185901959020590215902259023590245902559026590275902859029590305903159032590335903459035590365903759038590395904059041590425904359044590455904659047590485904959050590515905259053590545905559056590575905859059590605906159062590635906459065590665906759068590695907059071590725907359074590755907659077590785907959080590815908259083590845908559086590875908859089590905909159092590935909459095590965909759098590995910059101591025910359104591055910659107591085910959110591115911259113591145911559116591175911859119591205912159122591235912459125591265912759128591295913059131591325913359134591355913659137591385913959140591415914259143591445914559146591475914859149591505915159152591535915459155591565915759158591595916059161591625916359164591655916659167591685916959170591715917259173591745917559176591775917859179591805918159182591835918459185591865918759188591895919059191591925919359194591955919659197591985919959200592015920259203592045920559206592075920859209592105921159212592135921459215592165921759218592195922059221592225922359224592255922659227592285922959230592315923259233592345923559236592375923859239592405924159242592435924459245592465924759248592495925059251592525925359254592555925659257592585925959260592615926259263592645926559266592675926859269592705927159272592735927459275592765927759278592795928059281592825928359284592855928659287592885928959290592915929259293592945929559296592975929859299593005930159302593035930459305593065930759308593095931059311593125931359314593155931659317593185931959320593215932259323593245932559326593275932859329593305933159332593335933459335593365933759338593395934059341593425934359344593455934659347593485934959350593515935259353593545935559356593575935859359593605936159362593635936459365593665936759368593695937059371593725937359374593755937659377593785937959380593815938259383593845938559386593875938859389593905939159392593935939459395593965939759398593995940059401594025940359404594055940659407594085940959410594115941259413594145941559416594175941859419594205942159422594235942459425594265942759428594295943059431594325943359434594355943659437594385943959440594415944259443594445944559446594475944859449594505945159452594535945459455594565945759458594595946059461594625946359464594655946659467594685946959470594715947259473594745947559476594775947859479594805948159482594835948459485594865948759488594895949059491594925949359494594955949659497594985949959500595015950259503595045950559506595075950859509595105951159512595135951459515595165951759518595195952059521595225952359524595255952659527595285952959530595315953259533595345953559536595375953859539595405954159542595435954459545595465954759548595495955059551595525955359554595555955659557595585955959560595615956259563595645956559566595675956859569595705957159572595735957459575595765957759578595795958059581595825958359584595855958659587595885958959590595915959259593595945959559596595975959859599596005960159602596035960459605596065960759608596095961059611596125961359614596155961659617596185961959620596215962259623596245962559626596275962859629596305963159632596335963459635596365963759638596395964059641596425964359644596455964659647596485964959650596515965259653596545965559656596575965859659596605966159662596635966459665596665966759668596695967059671596725967359674596755967659677596785967959680596815968259683596845968559686596875968859689596905969159692596935969459695596965969759698596995970059701597025970359704597055970659707597085970959710597115971259713597145971559716597175971859719597205972159722597235972459725597265972759728597295973059731597325973359734597355973659737597385973959740597415974259743597445974559746597475974859749597505975159752597535975459755597565975759758597595976059761597625976359764597655976659767597685976959770597715977259773597745977559776597775977859779597805978159782597835978459785597865978759788597895979059791597925979359794597955979659797597985979959800598015980259803598045980559806598075980859809598105981159812598135981459815598165981759818598195982059821598225982359824598255982659827598285982959830598315983259833598345983559836598375983859839598405984159842598435984459845598465984759848598495985059851598525985359854598555985659857598585985959860598615986259863598645986559866598675986859869598705987159872598735987459875598765987759878598795988059881598825988359884598855988659887598885988959890598915989259893598945989559896598975989859899599005990159902599035990459905599065990759908599095991059911599125991359914599155991659917599185991959920599215992259923599245992559926599275992859929599305993159932599335993459935599365993759938599395994059941599425994359944599455994659947599485994959950599515995259953599545995559956599575995859959599605996159962599635996459965599665996759968599695997059971599725997359974599755997659977599785997959980599815998259983599845998559986599875998859989599905999159992599935999459995599965999759998599996000060001600026000360004600056000660007600086000960010600116001260013600146001560016600176001860019600206002160022600236002460025600266002760028600296003060031600326003360034600356003660037600386003960040600416004260043600446004560046600476004860049600506005160052600536005460055600566005760058600596006060061600626006360064600656006660067600686006960070600716007260073600746007560076600776007860079600806008160082600836008460085600866008760088600896009060091600926009360094600956009660097600986009960100601016010260103601046010560106601076010860109601106011160112601136011460115601166011760118601196012060121601226012360124601256012660127601286012960130601316013260133601346013560136601376013860139601406014160142601436014460145601466014760148601496015060151601526015360154601556015660157601586015960160601616016260163601646016560166601676016860169601706017160172601736017460175601766017760178601796018060181601826018360184601856018660187601886018960190601916019260193601946019560196601976019860199602006020160202602036020460205602066020760208602096021060211602126021360214602156021660217602186021960220602216022260223602246022560226602276022860229602306023160232602336023460235602366023760238602396024060241602426024360244602456024660247602486024960250602516025260253602546025560256602576025860259602606026160262602636026460265602666026760268602696027060271602726027360274602756027660277602786027960280602816028260283602846028560286602876028860289602906029160292602936029460295602966029760298602996030060301603026030360304603056030660307603086030960310603116031260313603146031560316603176031860319603206032160322603236032460325603266032760328603296033060331603326033360334603356033660337603386033960340603416034260343603446034560346603476034860349603506035160352603536035460355603566035760358603596036060361603626036360364603656036660367603686036960370603716037260373603746037560376603776037860379603806038160382603836038460385603866038760388603896039060391603926039360394603956039660397603986039960400604016040260403604046040560406604076040860409604106041160412604136041460415604166041760418604196042060421604226042360424604256042660427604286042960430604316043260433604346043560436604376043860439604406044160442604436044460445604466044760448604496045060451604526045360454604556045660457604586045960460604616046260463604646046560466604676046860469604706047160472604736047460475604766047760478604796048060481604826048360484604856048660487604886048960490604916049260493604946049560496604976049860499605006050160502605036050460505605066050760508605096051060511605126051360514605156051660517605186051960520605216052260523605246052560526605276052860529605306053160532605336053460535605366053760538605396054060541605426054360544605456054660547605486054960550605516055260553605546055560556605576055860559605606056160562605636056460565605666056760568605696057060571605726057360574605756057660577605786057960580605816058260583605846058560586605876058860589605906059160592605936059460595605966059760598605996060060601606026060360604606056060660607606086060960610606116061260613606146061560616606176061860619606206062160622606236062460625606266062760628606296063060631606326063360634606356063660637606386063960640606416064260643606446064560646606476064860649606506065160652606536065460655606566065760658606596066060661606626066360664606656066660667606686066960670606716067260673606746067560676606776067860679606806068160682606836068460685606866068760688606896069060691606926069360694606956069660697606986069960700607016070260703607046070560706607076070860709607106071160712607136071460715607166071760718607196072060721607226072360724607256072660727607286072960730607316073260733607346073560736607376073860739607406074160742607436074460745607466074760748607496075060751607526075360754607556075660757607586075960760607616076260763607646076560766607676076860769607706077160772607736077460775607766077760778607796078060781607826078360784607856078660787607886078960790607916079260793607946079560796607976079860799608006080160802608036080460805608066080760808608096081060811608126081360814608156081660817608186081960820608216082260823608246082560826608276082860829608306083160832608336083460835608366083760838608396084060841608426084360844608456084660847608486084960850608516085260853608546085560856608576085860859608606086160862608636086460865608666086760868608696087060871608726087360874608756087660877608786087960880608816088260883608846088560886608876088860889608906089160892608936089460895608966089760898608996090060901609026090360904609056090660907609086090960910609116091260913609146091560916609176091860919609206092160922609236092460925609266092760928609296093060931609326093360934609356093660937609386093960940609416094260943609446094560946609476094860949609506095160952609536095460955609566095760958609596096060961609626096360964609656096660967609686096960970609716097260973609746097560976609776097860979609806098160982609836098460985609866098760988609896099060991609926099360994609956099660997609986099961000610016100261003610046100561006610076100861009610106101161012610136101461015610166101761018610196102061021610226102361024610256102661027610286102961030610316103261033610346103561036610376103861039610406104161042610436104461045610466104761048610496105061051610526105361054610556105661057610586105961060610616106261063610646106561066610676106861069610706107161072610736107461075610766107761078610796108061081610826108361084610856108661087610886108961090610916109261093610946109561096610976109861099611006110161102611036110461105611066110761108611096111061111611126111361114611156111661117611186111961120611216112261123611246112561126611276112861129611306113161132611336113461135611366113761138611396114061141611426114361144611456114661147611486114961150611516115261153611546115561156611576115861159611606116161162611636116461165611666116761168611696117061171611726117361174611756117661177611786117961180611816118261183611846118561186611876118861189611906119161192611936119461195611966119761198611996120061201612026120361204612056120661207612086120961210612116121261213612146121561216612176121861219612206122161222612236122461225612266122761228612296123061231612326123361234612356123661237612386123961240612416124261243612446124561246612476124861249612506125161252612536125461255612566125761258612596126061261612626126361264612656126661267612686126961270612716127261273612746127561276612776127861279612806128161282612836128461285612866128761288612896129061291612926129361294612956129661297612986129961300613016130261303613046130561306613076130861309613106131161312613136131461315613166131761318613196132061321613226132361324613256132661327613286132961330613316133261333613346133561336613376133861339613406134161342613436134461345613466134761348613496135061351613526135361354613556135661357613586135961360613616136261363613646136561366613676136861369613706137161372613736137461375613766137761378613796138061381613826138361384613856138661387613886138961390613916139261393613946139561396613976139861399614006140161402614036140461405614066140761408614096141061411614126141361414614156141661417614186141961420614216142261423614246142561426614276142861429614306143161432614336143461435614366143761438614396144061441614426144361444614456144661447614486144961450614516145261453614546145561456614576145861459614606146161462614636146461465614666146761468614696147061471614726147361474614756147661477614786147961480614816148261483614846148561486614876148861489614906149161492614936149461495614966149761498614996150061501615026150361504615056150661507615086150961510615116151261513615146151561516615176151861519615206152161522615236152461525615266152761528615296153061531615326153361534615356153661537615386153961540615416154261543615446154561546615476154861549615506155161552615536155461555615566155761558615596156061561615626156361564615656156661567615686156961570615716157261573615746157561576615776157861579615806158161582615836158461585615866158761588615896159061591615926159361594615956159661597615986159961600616016160261603616046160561606616076160861609616106161161612616136161461615616166161761618616196162061621616226162361624616256162661627616286162961630616316163261633616346163561636616376163861639616406164161642616436164461645616466164761648616496165061651616526165361654616556165661657616586165961660616616166261663616646166561666616676166861669616706167161672616736167461675616766167761678616796168061681616826168361684616856168661687616886168961690616916169261693616946169561696616976169861699617006170161702617036170461705617066170761708617096171061711617126171361714617156171661717617186171961720617216172261723617246172561726617276172861729617306173161732617336173461735617366173761738617396174061741617426174361744617456174661747617486174961750617516175261753617546175561756617576175861759617606176161762617636176461765617666176761768617696177061771617726177361774617756177661777617786177961780617816178261783617846178561786617876178861789617906179161792617936179461795617966179761798617996180061801618026180361804618056180661807618086180961810618116181261813618146181561816618176181861819618206182161822618236182461825618266182761828618296183061831618326183361834618356183661837618386183961840618416184261843618446184561846618476184861849618506185161852618536185461855618566185761858618596186061861618626186361864618656186661867618686186961870618716187261873618746187561876618776187861879618806188161882618836188461885618866188761888618896189061891618926189361894618956189661897618986189961900619016190261903619046190561906619076190861909619106191161912619136191461915619166191761918619196192061921619226192361924619256192661927619286192961930619316193261933619346193561936619376193861939619406194161942619436194461945619466194761948619496195061951619526195361954619556195661957619586195961960619616196261963619646196561966619676196861969619706197161972619736197461975619766197761978619796198061981619826198361984619856198661987619886198961990619916199261993619946199561996619976199861999620006200162002620036200462005620066200762008620096201062011620126201362014620156201662017620186201962020620216202262023620246202562026620276202862029620306203162032620336203462035620366203762038620396204062041620426204362044620456204662047620486204962050620516205262053620546205562056620576205862059620606206162062620636206462065620666206762068620696207062071620726207362074620756207662077620786207962080620816208262083620846208562086620876208862089620906209162092620936209462095620966209762098620996210062101621026210362104621056210662107621086210962110621116211262113621146211562116621176211862119621206212162122621236212462125621266212762128621296213062131621326213362134621356213662137621386213962140621416214262143621446214562146621476214862149621506215162152621536215462155621566215762158621596216062161621626216362164621656216662167621686216962170621716217262173621746217562176621776217862179621806218162182621836218462185621866218762188621896219062191621926219362194621956219662197621986219962200622016220262203622046220562206622076220862209622106221162212622136221462215622166221762218622196222062221622226222362224622256222662227622286222962230622316223262233622346223562236622376223862239622406224162242622436224462245622466224762248622496225062251622526225362254622556225662257622586225962260622616226262263622646226562266622676226862269622706227162272622736227462275622766227762278622796228062281622826228362284622856228662287622886228962290622916229262293622946229562296622976229862299623006230162302623036230462305623066230762308623096231062311623126231362314623156231662317623186231962320623216232262323623246232562326623276232862329623306233162332623336233462335623366233762338623396234062341623426234362344623456234662347623486234962350623516235262353623546235562356623576235862359623606236162362623636236462365623666236762368623696237062371623726237362374623756237662377623786237962380623816238262383623846238562386623876238862389623906239162392623936239462395623966239762398623996240062401624026240362404624056240662407624086240962410624116241262413624146241562416624176241862419624206242162422624236242462425624266242762428624296243062431624326243362434624356243662437624386243962440624416244262443624446244562446624476244862449624506245162452624536245462455624566245762458624596246062461624626246362464624656246662467624686246962470624716247262473624746247562476624776247862479624806248162482624836248462485624866248762488624896249062491624926249362494624956249662497624986249962500625016250262503625046250562506625076250862509625106251162512625136251462515625166251762518625196252062521625226252362524625256252662527625286252962530625316253262533625346253562536625376253862539625406254162542625436254462545625466254762548625496255062551625526255362554625556255662557625586255962560625616256262563625646256562566625676256862569625706257162572625736257462575625766257762578625796258062581625826258362584625856258662587625886258962590625916259262593625946259562596625976259862599626006260162602626036260462605626066260762608626096261062611626126261362614626156261662617626186261962620626216262262623626246262562626626276262862629626306263162632626336263462635626366263762638626396264062641626426264362644626456264662647626486264962650626516265262653626546265562656626576265862659626606266162662626636266462665626666266762668626696267062671626726267362674626756267662677626786267962680626816268262683626846268562686626876268862689626906269162692626936269462695626966269762698626996270062701627026270362704627056270662707627086270962710627116271262713627146271562716627176271862719627206272162722627236272462725627266272762728627296273062731627326273362734627356273662737627386273962740627416274262743627446274562746627476274862749627506275162752627536275462755627566275762758627596276062761627626276362764627656276662767627686276962770627716277262773627746277562776627776277862779627806278162782627836278462785627866278762788627896279062791627926279362794627956279662797627986279962800628016280262803628046280562806628076280862809628106281162812628136281462815628166281762818628196282062821628226282362824628256282662827628286282962830628316283262833628346283562836628376283862839628406284162842628436284462845628466284762848628496285062851628526285362854628556285662857628586285962860628616286262863628646286562866628676286862869628706287162872628736287462875628766287762878628796288062881628826288362884628856288662887628886288962890628916289262893628946289562896628976289862899629006290162902629036290462905629066290762908629096291062911629126291362914629156291662917629186291962920629216292262923629246292562926629276292862929629306293162932629336293462935629366293762938629396294062941629426294362944629456294662947629486294962950629516295262953629546295562956629576295862959629606296162962629636296462965629666296762968629696297062971629726297362974629756297662977629786297962980629816298262983629846298562986629876298862989629906299162992629936299462995629966299762998629996300063001630026300363004630056300663007630086300963010630116301263013630146301563016630176301863019630206302163022630236302463025630266302763028630296303063031630326303363034630356303663037630386303963040630416304263043630446304563046630476304863049630506305163052630536305463055630566305763058630596306063061630626306363064630656306663067630686306963070630716307263073630746307563076630776307863079630806308163082630836308463085630866308763088630896309063091630926309363094630956309663097630986309963100631016310263103631046310563106631076310863109631106311163112631136311463115631166311763118631196312063121631226312363124631256312663127631286312963130631316313263133631346313563136631376313863139631406314163142631436314463145631466314763148631496315063151631526315363154631556315663157631586315963160631616316263163631646316563166631676316863169631706317163172631736317463175631766317763178631796318063181631826318363184
  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-07-15 14:49+0200\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:176
  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:1223
  113. #: guix-git/doc/contributing.texi:1224
  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:1338
  123. #: guix-git/doc/contributing.texi:1339
  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:1564
  133. #: guix-git/doc/contributing.texi:1565
  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:1605
  143. #: guix-git/doc/contributing.texi:1606
  144. #, no-wrap
  145. msgid "Translating Guix"
  146. msgstr ""
  147. #. type: menuentry
  148. #: guix-git/doc/contributing.texi:33
  149. msgid "Make Guix speak your native language."
  150. msgstr ""
  151. #. type: Plain text
  152. #: guix-git/doc/contributing.texi:40
  153. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  154. msgstr ""
  155. #. type: example
  156. #: guix-git/doc/contributing.texi:43
  157. #, no-wrap
  158. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  159. msgstr ""
  160. #. type: cindex
  161. #: guix-git/doc/contributing.texi:45
  162. #, no-wrap
  163. msgid "authentication, of a Guix checkout"
  164. msgstr ""
  165. #. type: Plain text
  166. #: guix-git/doc/contributing.texi:50
  167. msgid "How do you ensure that you obtained a genuine copy of the repository? To do that, run @command{guix git authenticate}, passing it the commit and OpenPGP fingerprint of the @dfn{channel introduction} (@pxref{Invoking guix git authenticate}):"
  168. msgstr ""
  169. #. type: example
  170. #: guix-git/doc/contributing.texi:57
  171. #, no-wrap
  172. msgid ""
  173. "git fetch origin keyring:keyring\n"
  174. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  175. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  176. msgstr ""
  177. #. type: Plain text
  178. #: guix-git/doc/contributing.texi:62
  179. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  180. msgstr ""
  181. #. type: Plain text
  182. #: guix-git/doc/contributing.texi:69
  183. msgid "As you can see, there is a chicken-and-egg problem: you first need to have Guix installed. Typically you would install Guix System (@pxref{System Installation}) or Guix on top of another distro (@pxref{Binary Installation}); in either case, you would verify the OpenPGP signature on the installation medium. This ``bootstraps'' the trust chain."
  184. msgstr ""
  185. #. type: Plain text
  186. #: guix-git/doc/contributing.texi:74
  187. msgid "The easiest way to set up a development environment for Guix is, of course, by using Guix! The following command starts a new shell where all the dependencies and appropriate environment variables are set up to hack on Guix:"
  188. msgstr ""
  189. #. type: example
  190. #: guix-git/doc/contributing.texi:77
  191. #, no-wrap
  192. msgid "guix environment guix --pure\n"
  193. msgstr ""
  194. #. type: Plain text
  195. #: guix-git/doc/contributing.texi:80
  196. msgid "@xref{Invoking guix environment}, for more information on that command."
  197. msgstr ""
  198. #. type: Plain text
  199. #: guix-git/doc/contributing.texi:84
  200. msgid "If you are unable to use Guix when building Guix from a checkout, the following are the required packages in addition to those mentioned in the installation instructions (@pxref{Requirements})."
  201. msgstr ""
  202. #. type: item
  203. #: guix-git/doc/contributing.texi:86
  204. #, no-wrap
  205. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  206. msgstr ""
  207. #. type: item
  208. #: guix-git/doc/contributing.texi:87
  209. #, no-wrap
  210. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  211. msgstr ""
  212. #. type: item
  213. #: guix-git/doc/contributing.texi:88
  214. #, no-wrap
  215. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  216. msgstr ""
  217. #. type: item
  218. #: guix-git/doc/contributing.texi:89
  219. #, no-wrap
  220. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  221. msgstr ""
  222. #. type: item
  223. #: guix-git/doc/contributing.texi:90
  224. #, no-wrap
  225. msgid "@url{https://www.graphviz.org/, Graphviz};"
  226. msgstr ""
  227. #. type: item
  228. #: guix-git/doc/contributing.texi:91
  229. #, no-wrap
  230. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  231. msgstr ""
  232. #. type: Plain text
  233. #: guix-git/doc/contributing.texi:96
  234. msgid "On Guix, extra dependencies can be added by instead running @command{guix environment} with @option{--ad-hoc}:"
  235. msgstr ""
  236. #. type: example
  237. #: guix-git/doc/contributing.texi:99
  238. #, no-wrap
  239. msgid "guix environment guix --pure --ad-hoc help2man git strace\n"
  240. msgstr ""
  241. #. type: Plain text
  242. #: guix-git/doc/contributing.texi:103
  243. msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  244. msgstr ""
  245. #. type: example
  246. #: guix-git/doc/contributing.texi:106
  247. #, no-wrap
  248. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  249. msgstr ""
  250. #. type: Plain text
  251. #: guix-git/doc/contributing.texi:115
  252. msgid "it probably means that Autoconf couldn’t find @file{pkg.m4}, which is provided by pkg-config. Make sure that @file{pkg.m4} is available. The same holds for the @file{guile.m4} set of macros provided by Guile. For instance, if you installed Automake in @file{/usr/local}, it wouldn’t look for @file{.m4} files in @file{/usr/share}. In that case, you have to invoke the following command:"
  253. msgstr ""
  254. #. type: example
  255. #: guix-git/doc/contributing.texi:118
  256. #, no-wrap
  257. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  258. msgstr ""
  259. #. type: Plain text
  260. #: guix-git/doc/contributing.texi:122
  261. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  262. msgstr ""
  263. #. type: Plain text
  264. #: guix-git/doc/contributing.texi:129
  265. msgid "Then, run @command{./configure} as usual. Make sure to pass @code{--localstatedir=@var{directory}} where @var{directory} is the @code{localstatedir} value used by your current installation (@pxref{The Store}, for information about this), usually @file{/var}. Note that you will probably not run @command{make install} at the end (you don't have to) but it's still important to pass the right @code{localstatedir}."
  266. msgstr ""
  267. #. type: Plain text
  268. #: guix-git/doc/contributing.texi:134
  269. msgid "Finally, you have to invoke @code{make && make check} to build Guix and run the tests (@pxref{Running the Test Suite}). If anything fails, take a look at installation instructions (@pxref{Installation}) or send a message to the @email{guix-devel@@gnu.org, mailing list}."
  270. msgstr ""
  271. #. type: Plain text
  272. #: guix-git/doc/contributing.texi:137
  273. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  274. msgstr ""
  275. #. type: example
  276. #: guix-git/doc/contributing.texi:140
  277. #, no-wrap
  278. msgid "make authenticate\n"
  279. msgstr ""
  280. #. type: Plain text
  281. #: guix-git/doc/contributing.texi:143
  282. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  283. msgstr ""
  284. #. type: Plain text
  285. #: guix-git/doc/contributing.texi:149
  286. msgid "Or, when your configuration for your local Git repository doesn't match the default one, you can provide the reference for the @code{keyring} branch through the variable @code{GUIX_GIT_KEYRING}. The following example assumes that you have a Git remote called @samp{myremote} pointing to the official repository:"
  287. msgstr ""
  288. #. type: example
  289. #: guix-git/doc/contributing.texi:152
  290. #, no-wrap
  291. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  292. msgstr ""
  293. #. type: quotation
  294. #: guix-git/doc/contributing.texi:154 guix-git/doc/contributing.texi:1416
  295. #: guix-git/doc/guix.texi:573 guix-git/doc/guix.texi:622
  296. #: guix-git/doc/guix.texi:800 guix-git/doc/guix.texi:1779
  297. #: guix-git/doc/guix.texi:2026 guix-git/doc/guix.texi:2210
  298. #: guix-git/doc/guix.texi:2431 guix-git/doc/guix.texi:2632
  299. #: guix-git/doc/guix.texi:3749 guix-git/doc/guix.texi:4490
  300. #: guix-git/doc/guix.texi:4504 guix-git/doc/guix.texi:4586
  301. #: guix-git/doc/guix.texi:4816 guix-git/doc/guix.texi:5666
  302. #: guix-git/doc/guix.texi:5912 guix-git/doc/guix.texi:6033
  303. #: guix-git/doc/guix.texi:6061 guix-git/doc/guix.texi:6114
  304. #: guix-git/doc/guix.texi:8816 guix-git/doc/guix.texi:8886
  305. #: guix-git/doc/guix.texi:10561 guix-git/doc/guix.texi:10601
  306. #: guix-git/doc/guix.texi:10874 guix-git/doc/guix.texi:10886
  307. #: guix-git/doc/guix.texi:13184 guix-git/doc/guix.texi:13814
  308. #: guix-git/doc/guix.texi:14597 guix-git/doc/guix.texi:15582
  309. #: guix-git/doc/guix.texi:18003 guix-git/doc/guix.texi:18160
  310. #: guix-git/doc/guix.texi:26024 guix-git/doc/guix.texi:29701
  311. #: guix-git/doc/guix.texi:31658 guix-git/doc/guix.texi:33267
  312. #: guix-git/doc/guix.texi:33501 guix-git/doc/guix.texi:33671
  313. #: guix-git/doc/guix.texi:33824 guix-git/doc/guix.texi:33926
  314. #: guix-git/doc/guix.texi:34027 guix-git/doc/guix.texi:34330
  315. #, no-wrap
  316. msgid "Note"
  317. msgstr ""
  318. #. type: quotation
  319. #: guix-git/doc/contributing.texi:158
  320. 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."
  321. msgstr ""
  322. #. type: Plain text
  323. #: guix-git/doc/contributing.texi:168
  324. 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."
  325. msgstr ""
  326. #. type: Plain text
  327. #: guix-git/doc/contributing.texi:179
  328. 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):"
  329. msgstr ""
  330. #. type: example
  331. #: guix-git/doc/contributing.texi:182
  332. #, no-wrap
  333. msgid "$ ./pre-inst-env guix build hello\n"
  334. msgstr ""
  335. #. type: Plain text
  336. #: guix-git/doc/contributing.texi:186
  337. msgid "Similarly, an example for a Guile session using the Guix modules:"
  338. msgstr ""
  339. #. type: example
  340. #: guix-git/doc/contributing.texi:189
  341. #, no-wrap
  342. msgid ""
  343. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  344. "\n"
  345. msgstr ""
  346. #. type: example
  347. #: guix-git/doc/contributing.texi:191
  348. #, no-wrap
  349. msgid ";;; (\"x86_64-linux\")\n"
  350. msgstr ""
  351. #. type: cindex
  352. #: guix-git/doc/contributing.texi:194
  353. #, no-wrap
  354. msgid "REPL"
  355. msgstr ""
  356. #. type: cindex
  357. #: guix-git/doc/contributing.texi:195
  358. #, no-wrap
  359. msgid "read-eval-print loop"
  360. msgstr ""
  361. #. type: Plain text
  362. #: guix-git/doc/contributing.texi:198
  363. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  364. msgstr ""
  365. #. type: example
  366. #: guix-git/doc/contributing.texi:213
  367. #, no-wrap
  368. msgid ""
  369. "$ ./pre-inst-env guile\n"
  370. "scheme@@(guile-user)> ,use(guix)\n"
  371. "scheme@@(guile-user)> ,use(gnu)\n"
  372. "scheme@@(guile-user)> (define snakes\n"
  373. " (fold-packages\n"
  374. " (lambda (package lst)\n"
  375. " (if (string-prefix? \"python\"\n"
  376. " (package-name package))\n"
  377. " (cons package lst)\n"
  378. " lst))\n"
  379. " '()))\n"
  380. "scheme@@(guile-user)> (length snakes)\n"
  381. "$1 = 361\n"
  382. msgstr ""
  383. #. type: Plain text
  384. #: guix-git/doc/contributing.texi:221
  385. 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.}:"
  386. msgstr ""
  387. #. type: example
  388. #: guix-git/doc/contributing.texi:224
  389. #, no-wrap
  390. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  391. msgstr ""
  392. #. type: Plain text
  393. #: guix-git/doc/contributing.texi:228
  394. 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}."
  395. msgstr ""
  396. #. type: Plain text
  397. #: guix-git/doc/contributing.texi:233
  398. 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."
  399. msgstr ""
  400. #. type: Plain text
  401. #: guix-git/doc/contributing.texi:243
  402. 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:"
  403. msgstr ""
  404. #. type: example
  405. #: guix-git/doc/contributing.texi:246
  406. #, no-wrap
  407. msgid "guix package -i emacs guile emacs-geiser emacs-geiser-guile\n"
  408. msgstr ""
  409. #. type: Plain text
  410. #: guix-git/doc/contributing.texi:255
  411. 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:"
  412. msgstr ""
  413. #. type: lisp
  414. #: guix-git/doc/contributing.texi:260
  415. #, no-wrap
  416. msgid ""
  417. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  418. "(with-eval-after-load 'geiser-guile\n"
  419. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  420. msgstr ""
  421. #. type: Plain text
  422. #: guix-git/doc/contributing.texi:268
  423. 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."
  424. msgstr ""
  425. #. type: cindex
  426. #: guix-git/doc/contributing.texi:269
  427. #, no-wrap
  428. msgid "code snippets"
  429. msgstr ""
  430. #. type: cindex
  431. #: guix-git/doc/contributing.texi:270
  432. #, no-wrap
  433. msgid "templates"
  434. msgstr ""
  435. #. type: cindex
  436. #: guix-git/doc/contributing.texi:271
  437. #, no-wrap
  438. msgid "reducing boilerplate"
  439. msgstr ""
  440. #. type: Plain text
  441. #: guix-git/doc/contributing.texi:278
  442. 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."
  443. msgstr ""
  444. #. type: lisp
  445. #: guix-git/doc/contributing.texi:283
  446. #, no-wrap
  447. msgid ""
  448. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  449. "(with-eval-after-load 'yasnippet\n"
  450. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  451. msgstr ""
  452. #. type: Plain text
  453. #: guix-git/doc/contributing.texi:291
  454. 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."
  455. msgstr ""
  456. #. type: Plain text
  457. #: guix-git/doc/contributing.texi:297
  458. 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."
  459. msgstr ""
  460. #. type: cindex
  461. #: guix-git/doc/contributing.texi:298
  462. #, no-wrap
  463. msgid "insert or update copyright"
  464. msgstr ""
  465. #. type: code{#1}
  466. #: guix-git/doc/contributing.texi:299
  467. #, no-wrap
  468. msgid "M-x guix-copyright"
  469. msgstr ""
  470. #. type: code{#1}
  471. #: guix-git/doc/contributing.texi:300
  472. #, no-wrap
  473. msgid "M-x copyright-update"
  474. msgstr ""
  475. #. type: Plain text
  476. #: guix-git/doc/contributing.texi:304
  477. 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."
  478. msgstr ""
  479. #. type: lisp
  480. #: guix-git/doc/contributing.texi:310
  481. #, no-wrap
  482. msgid ""
  483. "(setq user-full-name \"Alice Doe\")\n"
  484. "(setq user-mail-address \"alice@@mail.org\")\n"
  485. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  486. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  487. msgstr ""
  488. #. type: Plain text
  489. #: guix-git/doc/contributing.texi:313
  490. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  491. msgstr ""
  492. #. type: Plain text
  493. #: guix-git/doc/contributing.texi:315
  494. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  495. msgstr ""
  496. #. type: lisp
  497. #: guix-git/doc/contributing.texi:319
  498. #, no-wrap
  499. msgid ""
  500. "(setq copyright-names-regexp\n"
  501. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  502. msgstr ""
  503. #. type: Plain text
  504. #: guix-git/doc/contributing.texi:325
  505. 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."
  506. msgstr ""
  507. #. type: cindex
  508. #: guix-git/doc/contributing.texi:329
  509. #, no-wrap
  510. msgid "packages, creating"
  511. msgstr ""
  512. #. type: Plain text
  513. #: guix-git/doc/contributing.texi:333
  514. 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."
  515. msgstr ""
  516. #. type: Plain text
  517. #: guix-git/doc/contributing.texi:341
  518. 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."
  519. msgstr ""
  520. #. type: Plain text
  521. #: guix-git/doc/contributing.texi:350
  522. 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}."
  523. msgstr ""
  524. #. type: Plain text
  525. #: guix-git/doc/contributing.texi:356
  526. 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}):"
  527. msgstr ""
  528. #. type: example
  529. #: guix-git/doc/contributing.texi:359
  530. #, no-wrap
  531. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  532. msgstr ""
  533. #. type: Plain text
  534. #: guix-git/doc/contributing.texi:365
  535. 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."
  536. msgstr ""
  537. #. type: Plain text
  538. #: guix-git/doc/contributing.texi:370
  539. 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:"
  540. msgstr ""
  541. #. type: example
  542. #: guix-git/doc/contributing.texi:373
  543. #, no-wrap
  544. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  545. msgstr ""
  546. #. type: Plain text
  547. #: guix-git/doc/contributing.texi:380
  548. 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}."
  549. msgstr ""
  550. #. type: cindex
  551. #: guix-git/doc/contributing.texi:381
  552. #, no-wrap
  553. msgid "substituter"
  554. msgstr ""
  555. #. type: Plain text
  556. #: guix-git/doc/contributing.texi:388
  557. 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."
  558. msgstr ""
  559. #. type: subsection
  560. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:404
  561. #: guix-git/doc/contributing.texi:405
  562. #, no-wrap
  563. msgid "Software Freedom"
  564. msgstr "آزادی نرم‌افزار"
  565. #. type: menuentry
  566. #: guix-git/doc/contributing.texi:402
  567. msgid "What may go into the distribution."
  568. msgstr ""
  569. #. type: subsection
  570. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:432
  571. #: guix-git/doc/contributing.texi:433
  572. #, no-wrap
  573. msgid "Package Naming"
  574. msgstr ""
  575. #. type: menuentry
  576. #: guix-git/doc/contributing.texi:402
  577. msgid "What's in a name?"
  578. msgstr ""
  579. #. type: subsection
  580. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:465
  581. #: guix-git/doc/contributing.texi:466
  582. #, no-wrap
  583. msgid "Version Numbers"
  584. msgstr ""
  585. #. type: menuentry
  586. #: guix-git/doc/contributing.texi:402
  587. msgid "When the name is not enough."
  588. msgstr ""
  589. #. type: subsection
  590. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:572
  591. #: guix-git/doc/contributing.texi:573
  592. #, no-wrap
  593. msgid "Synopses and Descriptions"
  594. msgstr ""
  595. #. type: menuentry
  596. #: guix-git/doc/contributing.texi:402
  597. msgid "Helping users find the right package."
  598. msgstr ""
  599. #. type: subsection
  600. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:651
  601. #: guix-git/doc/contributing.texi:652
  602. #, no-wrap
  603. msgid "Snippets versus Phases"
  604. msgstr ""
  605. #. type: menuentry
  606. #: guix-git/doc/contributing.texi:402
  607. msgid "Whether to use a snippet, or a build phase."
  608. msgstr ""
  609. #. type: subsection
  610. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:666
  611. #: guix-git/doc/contributing.texi:667 guix-git/doc/guix.texi:1961
  612. #, no-wrap
  613. msgid "Emacs Packages"
  614. msgstr "بسته‌های ای‌مکس"
  615. #. type: menuentry
  616. #: guix-git/doc/contributing.texi:402
  617. msgid "Your Elisp fix."
  618. msgstr ""
  619. #. type: subsection
  620. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:706
  621. #: guix-git/doc/contributing.texi:707
  622. #, no-wrap
  623. msgid "Python Modules"
  624. msgstr ""
  625. #. type: menuentry
  626. #: guix-git/doc/contributing.texi:402
  627. msgid "A touch of British comedy."
  628. msgstr ""
  629. #. type: subsection
  630. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:782
  631. #: guix-git/doc/contributing.texi:783
  632. #, no-wrap
  633. msgid "Perl Modules"
  634. msgstr ""
  635. #. type: menuentry
  636. #: guix-git/doc/contributing.texi:402
  637. msgid "Little pearls."
  638. msgstr ""
  639. #. type: subsection
  640. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:798
  641. #: guix-git/doc/contributing.texi:799
  642. #, no-wrap
  643. msgid "Java Packages"
  644. msgstr "بسته‌های جاوا"
  645. #. type: menuentry
  646. #: guix-git/doc/contributing.texi:402
  647. msgid "Coffee break."
  648. msgstr ""
  649. #. type: subsection
  650. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:818
  651. #: guix-git/doc/contributing.texi:819
  652. #, no-wrap
  653. msgid "Rust Crates"
  654. msgstr ""
  655. #. type: menuentry
  656. #: guix-git/doc/contributing.texi:402
  657. msgid "Beware of oxidation."
  658. msgstr ""
  659. #. type: subsection
  660. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:852
  661. #: guix-git/doc/contributing.texi:853
  662. #, no-wrap
  663. msgid "Fonts"
  664. msgstr ""
  665. #. type: menuentry
  666. #: guix-git/doc/contributing.texi:402
  667. msgid "Fond of fonts."
  668. msgstr ""
  669. #. type: cindex
  670. #: guix-git/doc/contributing.texi:408
  671. #, no-wrap
  672. msgid "free software"
  673. msgstr "نرم‌افزار آزاد"
  674. #. type: Plain text
  675. #: guix-git/doc/contributing.texi:416
  676. 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."
  677. msgstr ""
  678. #. type: Plain text
  679. #: guix-git/doc/contributing.texi:422
  680. 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."
  681. msgstr ""
  682. #. type: Plain text
  683. #: guix-git/doc/contributing.texi:430
  684. 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."
  685. msgstr ""
  686. #. type: cindex
  687. #: guix-git/doc/contributing.texi:435
  688. #, no-wrap
  689. msgid "package name"
  690. msgstr "نام بسته"
  691. #. type: Plain text
  692. #: guix-git/doc/contributing.texi:443
  693. 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}."
  694. msgstr ""
  695. #. type: Plain text
  696. #: guix-git/doc/contributing.texi:448
  697. 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}."
  698. msgstr ""
  699. #. type: Plain text
  700. #: guix-git/doc/contributing.texi:456
  701. 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."
  702. msgstr ""
  703. #. type: Plain text
  704. #: guix-git/doc/contributing.texi:461
  705. 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."
  706. msgstr ""
  707. #. type: Plain text
  708. #: guix-git/doc/contributing.texi:463
  709. msgid "Font package names are handled differently, @pxref{Fonts}."
  710. msgstr ""
  711. #. type: cindex
  712. #: guix-git/doc/contributing.texi:468
  713. #, no-wrap
  714. msgid "package version"
  715. msgstr ""
  716. #. type: Plain text
  717. #: guix-git/doc/contributing.texi:477
  718. 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."
  719. msgstr ""
  720. #. type: Plain text
  721. #: guix-git/doc/contributing.texi:480
  722. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  723. msgstr ""
  724. #. type: Plain text
  725. #: guix-git/doc/contributing.texi:482
  726. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  727. msgstr ""
  728. #. type: lisp
  729. #: guix-git/doc/contributing.texi:494
  730. #, no-wrap
  731. msgid ""
  732. "(define-public gtk+\n"
  733. " (package\n"
  734. " (name \"gtk+\")\n"
  735. " (version \"3.9.12\")\n"
  736. " ...))\n"
  737. "(define-public gtk+-2\n"
  738. " (package\n"
  739. " (name \"gtk+\")\n"
  740. " (version \"2.24.20\")\n"
  741. " ...))\n"
  742. msgstr ""
  743. #. type: Plain text
  744. #: guix-git/doc/contributing.texi:496
  745. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  746. msgstr ""
  747. #. type: lisp
  748. #: guix-git/doc/contributing.texi:502
  749. #, no-wrap
  750. msgid ""
  751. "(define-public gtk+-3.8\n"
  752. " (package\n"
  753. " (name \"gtk+\")\n"
  754. " (version \"3.8.2\")\n"
  755. " ...))\n"
  756. msgstr ""
  757. #. type: cindex
  758. #: guix-git/doc/contributing.texi:506
  759. #, no-wrap
  760. msgid "version number, for VCS snapshots"
  761. msgstr ""
  762. #. type: Plain text
  763. #: guix-git/doc/contributing.texi:512
  764. 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?"
  765. msgstr ""
  766. #. type: Plain text
  767. #: guix-git/doc/contributing.texi:520
  768. 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:"
  769. msgstr ""
  770. #. type: example
  771. #: guix-git/doc/contributing.texi:529
  772. #, no-wrap
  773. msgid ""
  774. "2.0.11-3.cabba9e\n"
  775. " ^ ^ ^\n"
  776. " | | `-- upstream commit ID\n"
  777. " | |\n"
  778. " | `--- Guix package revision\n"
  779. " |\n"
  780. "latest upstream version\n"
  781. msgstr ""
  782. #. type: Plain text
  783. #: guix-git/doc/contributing.texi:539
  784. 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:"
  785. msgstr ""
  786. #. type: lisp
  787. #: guix-git/doc/contributing.texi:556
  788. #, no-wrap
  789. msgid ""
  790. "(define my-package\n"
  791. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  792. " (revision \"1\")) ;Guix package revision\n"
  793. " (package\n"
  794. " (version (git-version \"0.9\" revision commit))\n"
  795. " (source (origin\n"
  796. " (method git-fetch)\n"
  797. " (uri (git-reference\n"
  798. " (url \"git://example.org/my-package.git\")\n"
  799. " (commit commit)))\n"
  800. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  801. " (file-name (git-file-name name version))))\n"
  802. " ;; @dots{}\n"
  803. " )))\n"
  804. msgstr ""
  805. #. type: deffn
  806. #: guix-git/doc/contributing.texi:558
  807. #, no-wrap
  808. msgid "{Scheme Procedure} git-version @var{VERSION} @var{REVISION} @var{COMMIT}"
  809. msgstr ""
  810. #. type: deffn
  811. #: guix-git/doc/contributing.texi:560
  812. msgid "Return the version string for packages using @code{git-fetch}."
  813. msgstr ""
  814. #. type: lisp
  815. #: guix-git/doc/contributing.texi:564
  816. #, no-wrap
  817. msgid ""
  818. "(git-version \"0.2.3\" \"0\" \"93818c936ee7e2f1ba1b315578bde363a7d43d05\")\n"
  819. "@result{} \"0.2.3-0.93818c9\"\n"
  820. msgstr ""
  821. #. type: deffn
  822. #: guix-git/doc/contributing.texi:567
  823. #, no-wrap
  824. msgid "{Scheme Procedure} hg-version @var{VERSION} @var{REVISION} @var{CHANGESET}"
  825. msgstr ""
  826. #. type: deffn
  827. #: guix-git/doc/contributing.texi:570
  828. msgid "Return the version string for packages using @code{hg-fetch}. It works in the same way as @code{git-version}."
  829. msgstr ""
  830. #. type: cindex
  831. #: guix-git/doc/contributing.texi:575
  832. #, no-wrap
  833. msgid "package description"
  834. msgstr ""
  835. #. type: cindex
  836. #: guix-git/doc/contributing.texi:576
  837. #, no-wrap
  838. msgid "package synopsis"
  839. msgstr ""
  840. #. type: Plain text
  841. #: guix-git/doc/contributing.texi:583
  842. 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."
  843. msgstr ""
  844. #. type: Plain text
  845. #: guix-git/doc/contributing.texi:591
  846. 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''."
  847. msgstr ""
  848. #. type: Plain text
  849. #: guix-git/doc/contributing.texi:601
  850. 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."
  851. msgstr ""
  852. #. type: Plain text
  853. #: guix-git/doc/contributing.texi:609
  854. 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."
  855. msgstr ""
  856. #. type: cindex
  857. #: guix-git/doc/contributing.texi:610
  858. #, no-wrap
  859. msgid "Texinfo markup, in package descriptions"
  860. msgstr ""
  861. #. type: Plain text
  862. #: guix-git/doc/contributing.texi:619
  863. 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."
  864. msgstr ""
  865. #. type: Plain text
  866. #: guix-git/doc/contributing.texi:625
  867. 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."
  868. msgstr ""
  869. #. type: Plain text
  870. #: guix-git/doc/contributing.texi:630
  871. 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:"
  872. msgstr ""
  873. #. type: lisp
  874. #: guix-git/doc/contributing.texi:636
  875. #, no-wrap
  876. msgid ""
  877. "(package\n"
  878. " ;; @dots{}\n"
  879. " (synopsis \"This is translatable\")\n"
  880. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  881. msgstr ""
  882. #. type: Plain text
  883. #: guix-git/doc/contributing.texi:644
  884. 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}):"
  885. msgstr ""
  886. #. type: lisp
  887. #: guix-git/doc/contributing.texi:649
  888. #, no-wrap
  889. msgid ""
  890. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  891. "(description \"ARandR is designed to provide a simple visual front end\n"
  892. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  893. msgstr ""
  894. #. type: cindex
  895. #: guix-git/doc/contributing.texi:654
  896. #, no-wrap
  897. msgid "snippets, when to use"
  898. msgstr ""
  899. #. type: Plain text
  900. #: guix-git/doc/contributing.texi:665
  901. 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})."
  902. msgstr ""
  903. #. type: cindex
  904. #: guix-git/doc/contributing.texi:669
  905. #, no-wrap
  906. msgid "emacs, packaging"
  907. msgstr ""
  908. #. type: cindex
  909. #: guix-git/doc/contributing.texi:670
  910. #, no-wrap
  911. msgid "elisp, packaging"
  912. msgstr ""
  913. #. type: Plain text
  914. #: guix-git/doc/contributing.texi:682
  915. 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."
  916. msgstr ""
  917. #. type: Plain text
  918. #: guix-git/doc/contributing.texi:687
  919. 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}."
  920. msgstr ""
  921. #. type: Plain text
  922. #: guix-git/doc/contributing.texi:696
  923. 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:"
  924. msgstr ""
  925. #. type: lisp
  926. #: guix-git/doc/contributing.texi:699
  927. #, no-wrap
  928. msgid "#:include (cons \"^snippets/\" %default-include))\n"
  929. msgstr ""
  930. #. type: Plain text
  931. #: guix-git/doc/contributing.texi:705
  932. 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."
  933. msgstr ""
  934. #. type: cindex
  935. #: guix-git/doc/contributing.texi:709
  936. #, no-wrap
  937. msgid "python"
  938. msgstr "پایتون"
  939. #. type: Plain text
  940. #: guix-git/doc/contributing.texi:715
  941. 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}."
  942. msgstr ""
  943. #. type: Plain text
  944. #: guix-git/doc/contributing.texi:722
  945. 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."
  946. msgstr ""
  947. #. type: Plain text
  948. #: guix-git/doc/contributing.texi:728
  949. 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."
  950. msgstr ""
  951. #. type: subsubsection
  952. #: guix-git/doc/contributing.texi:729
  953. #, no-wrap
  954. msgid "Specifying Dependencies"
  955. msgstr ""
  956. #. type: cindex
  957. #: guix-git/doc/contributing.texi:730
  958. #, no-wrap
  959. msgid "inputs, for Python packages"
  960. msgstr ""
  961. #. type: Plain text
  962. #: guix-git/doc/contributing.texi:735
  963. 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}."
  964. msgstr ""
  965. #. type: Plain text
  966. #: guix-git/doc/contributing.texi:741
  967. 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."
  968. msgstr ""
  969. #. type: itemize
  970. #: guix-git/doc/contributing.texi:749
  971. 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."
  972. msgstr ""
  973. #. type: itemize
  974. #: guix-git/doc/contributing.texi:755
  975. 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."
  976. msgstr ""
  977. #. type: itemize
  978. #: guix-git/doc/contributing.texi:763
  979. 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."
  980. msgstr ""
  981. #. type: itemize
  982. #: guix-git/doc/contributing.texi:767
  983. 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}."
  984. msgstr ""
  985. #. type: itemize
  986. #: guix-git/doc/contributing.texi:772
  987. 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."
  988. msgstr ""
  989. #. type: itemize
  990. #: guix-git/doc/contributing.texi:778
  991. 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}})."
  992. msgstr ""
  993. #. type: cindex
  994. #: guix-git/doc/contributing.texi:785
  995. #, no-wrap
  996. msgid "perl"
  997. msgstr "پرل"
  998. #. type: Plain text
  999. #: guix-git/doc/contributing.texi:796
  1000. 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}."
  1001. msgstr ""
  1002. #. type: cindex
  1003. #: guix-git/doc/contributing.texi:801
  1004. #, no-wrap
  1005. msgid "java"
  1006. msgstr "جاوا"
  1007. #. type: Plain text
  1008. #: guix-git/doc/contributing.texi:804
  1009. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1010. msgstr ""
  1011. #. type: Plain text
  1012. #: guix-git/doc/contributing.texi:810
  1013. 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}."
  1014. msgstr ""
  1015. #. type: Plain text
  1016. #: guix-git/doc/contributing.texi:816
  1017. 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}."
  1018. msgstr ""
  1019. #. type: cindex
  1020. #: guix-git/doc/contributing.texi:821
  1021. #, no-wrap
  1022. msgid "rust"
  1023. msgstr "راست"
  1024. #. type: Plain text
  1025. #: guix-git/doc/contributing.texi:824
  1026. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1027. msgstr ""
  1028. #. type: Plain text
  1029. #: guix-git/doc/contributing.texi:828
  1030. 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."
  1031. msgstr ""
  1032. #. type: Plain text
  1033. #: guix-git/doc/contributing.texi:834
  1034. 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}."
  1035. msgstr ""
  1036. #. type: Plain text
  1037. #: guix-git/doc/contributing.texi:844
  1038. 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."
  1039. msgstr ""
  1040. #. type: Plain text
  1041. #: guix-git/doc/contributing.texi:850
  1042. 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."
  1043. msgstr ""
  1044. #. type: cindex
  1045. #: guix-git/doc/contributing.texi:855 guix-git/doc/guix.texi:1896
  1046. #, no-wrap
  1047. msgid "fonts"
  1048. msgstr ""
  1049. #. type: Plain text
  1050. #: guix-git/doc/contributing.texi:861
  1051. 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."
  1052. msgstr ""
  1053. #. type: Plain text
  1054. #: guix-git/doc/contributing.texi:865
  1055. 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."
  1056. msgstr ""
  1057. #. type: Plain text
  1058. #: guix-git/doc/contributing.texi:873
  1059. 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}."
  1060. msgstr ""
  1061. #. type: Plain text
  1062. #: guix-git/doc/contributing.texi:882
  1063. 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}."
  1064. msgstr ""
  1065. #. type: Plain text
  1066. #: guix-git/doc/contributing.texi:888
  1067. 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."
  1068. msgstr ""
  1069. #. type: Plain text
  1070. #: guix-git/doc/contributing.texi:896
  1071. 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."
  1072. msgstr ""
  1073. #. type: subsection
  1074. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:904
  1075. #: guix-git/doc/contributing.texi:905
  1076. #, no-wrap
  1077. msgid "Programming Paradigm"
  1078. msgstr ""
  1079. #. type: menuentry
  1080. #: guix-git/doc/contributing.texi:902
  1081. msgid "How to compose your elements."
  1082. msgstr ""
  1083. #. type: subsection
  1084. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:911
  1085. #: guix-git/doc/contributing.texi:912
  1086. #, no-wrap
  1087. msgid "Modules"
  1088. msgstr ""
  1089. #. type: menuentry
  1090. #: guix-git/doc/contributing.texi:902
  1091. msgid "Where to store your code?"
  1092. msgstr ""
  1093. #. type: subsection
  1094. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:922
  1095. #: guix-git/doc/contributing.texi:923
  1096. #, no-wrap
  1097. msgid "Data Types and Pattern Matching"
  1098. msgstr ""
  1099. #. type: menuentry
  1100. #: guix-git/doc/contributing.texi:902
  1101. msgid "Implementing data structures."
  1102. msgstr ""
  1103. #. type: subsection
  1104. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:937
  1105. #: guix-git/doc/contributing.texi:938
  1106. #, no-wrap
  1107. msgid "Formatting Code"
  1108. msgstr ""
  1109. #. type: menuentry
  1110. #: guix-git/doc/contributing.texi:902
  1111. msgid "Writing conventions."
  1112. msgstr ""
  1113. #. type: Plain text
  1114. #: guix-git/doc/contributing.texi:910
  1115. 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."
  1116. msgstr ""
  1117. #. type: Plain text
  1118. #: guix-git/doc/contributing.texi:918
  1119. 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."
  1120. msgstr ""
  1121. #. type: Plain text
  1122. #: guix-git/doc/contributing.texi:921
  1123. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1124. msgstr ""
  1125. #. type: Plain text
  1126. #: guix-git/doc/contributing.texi:930
  1127. 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."
  1128. msgstr ""
  1129. #. type: Plain text
  1130. #: guix-git/doc/contributing.texi:936
  1131. 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})."
  1132. msgstr ""
  1133. #. type: cindex
  1134. #: guix-git/doc/contributing.texi:940
  1135. #, no-wrap
  1136. msgid "formatting code"
  1137. msgstr ""
  1138. #. type: cindex
  1139. #: guix-git/doc/contributing.texi:941
  1140. #, no-wrap
  1141. msgid "coding style"
  1142. msgstr ""
  1143. #. type: Plain text
  1144. #: guix-git/doc/contributing.texi:948
  1145. 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."
  1146. msgstr ""
  1147. #. type: Plain text
  1148. #: guix-git/doc/contributing.texi:955
  1149. 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})."
  1150. msgstr ""
  1151. #. type: cindex
  1152. #: guix-git/doc/contributing.texi:956
  1153. #, no-wrap
  1154. msgid "indentation, of code"
  1155. msgstr ""
  1156. #. type: cindex
  1157. #: guix-git/doc/contributing.texi:957
  1158. #, no-wrap
  1159. msgid "formatting, of code"
  1160. msgstr ""
  1161. #. type: Plain text
  1162. #: guix-git/doc/contributing.texi:960
  1163. 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:"
  1164. msgstr ""
  1165. #. type: example
  1166. #: guix-git/doc/contributing.texi:963
  1167. #, no-wrap
  1168. msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  1169. msgstr ""
  1170. #. type: Plain text
  1171. #: guix-git/doc/contributing.texi:969
  1172. 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:"
  1173. msgstr ""
  1174. #. type: example
  1175. #: guix-git/doc/contributing.texi:972
  1176. #, no-wrap
  1177. msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  1178. msgstr ""
  1179. #. type: cindex
  1180. #: guix-git/doc/contributing.texi:974
  1181. #, no-wrap
  1182. msgid "Vim, Scheme code editing"
  1183. msgstr ""
  1184. #. type: Plain text
  1185. #: guix-git/doc/contributing.texi:980
  1186. 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."
  1187. msgstr ""
  1188. #. type: Plain text
  1189. #: guix-git/doc/contributing.texi:984
  1190. 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."
  1191. msgstr ""
  1192. #. type: Plain text
  1193. #: guix-git/doc/contributing.texi:987
  1194. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1195. msgstr ""
  1196. #. type: Plain text
  1197. #: guix-git/doc/contributing.texi:998
  1198. 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. Seasoned Guix developers may also want to look at the section on commit access (@pxref{Commit Access})."
  1199. msgstr ""
  1200. #. type: Plain text
  1201. #: guix-git/doc/contributing.texi:1005
  1202. 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})."
  1203. msgstr ""
  1204. #. type: Plain text
  1205. #: guix-git/doc/contributing.texi:1009
  1206. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1207. msgstr ""
  1208. #. type: Plain text
  1209. #: guix-git/doc/contributing.texi:1012
  1210. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1211. msgstr ""
  1212. #. type: enumerate
  1213. #: guix-git/doc/contributing.texi:1019
  1214. 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."
  1215. msgstr ""
  1216. #. type: enumerate
  1217. #: guix-git/doc/contributing.texi:1023
  1218. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1219. msgstr ""
  1220. #. type: enumerate
  1221. #: guix-git/doc/contributing.texi:1028
  1222. 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})."
  1223. msgstr ""
  1224. #. type: enumerate
  1225. #: guix-git/doc/contributing.texi:1032
  1226. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1227. msgstr ""
  1228. #. type: enumerate
  1229. #: guix-git/doc/contributing.texi:1040
  1230. 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:"
  1231. msgstr ""
  1232. #. type: lisp
  1233. #: guix-git/doc/contributing.texi:1045
  1234. #, no-wrap
  1235. msgid ""
  1236. "(service qemu-binfmt-service-type\n"
  1237. " (qemu-binfmt-configuration\n"
  1238. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  1239. msgstr ""
  1240. #. type: enumerate
  1241. #: guix-git/doc/contributing.texi:1048
  1242. msgid "Then reconfigure your system."
  1243. msgstr ""
  1244. #. type: enumerate
  1245. #: guix-git/doc/contributing.texi:1053
  1246. 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:"
  1247. msgstr ""
  1248. #. type: example
  1249. #: guix-git/doc/contributing.texi:1056
  1250. #, no-wrap
  1251. msgid ""
  1252. "guix build --system=armhf-linux --rounds=2 hello\n"
  1253. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1254. msgstr ""
  1255. #. type: cindex
  1256. #: guix-git/doc/contributing.texi:1059
  1257. #, no-wrap
  1258. msgid "bundling"
  1259. msgstr ""
  1260. #. type: enumerate
  1261. #: guix-git/doc/contributing.texi:1062
  1262. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1263. msgstr ""
  1264. #. type: enumerate
  1265. #: guix-git/doc/contributing.texi:1071
  1266. 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."
  1267. msgstr ""
  1268. #. type: enumerate
  1269. #: guix-git/doc/contributing.texi:1080
  1270. 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."
  1271. msgstr ""
  1272. #. type: enumerate
  1273. #: guix-git/doc/contributing.texi:1085
  1274. 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})."
  1275. msgstr ""
  1276. #. type: cindex
  1277. #: guix-git/doc/contributing.texi:1087
  1278. #, no-wrap
  1279. msgid "branching strategy"
  1280. msgstr ""
  1281. #. type: cindex
  1282. #: guix-git/doc/contributing.texi:1088
  1283. #, no-wrap
  1284. msgid "rebuild scheduling strategy"
  1285. msgstr ""
  1286. #. type: enumerate
  1287. #: guix-git/doc/contributing.texi:1091
  1288. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1289. msgstr ""
  1290. #. type: item
  1291. #: guix-git/doc/contributing.texi:1093
  1292. #, no-wrap
  1293. msgid "300 dependent packages or less"
  1294. msgstr ""
  1295. #. type: table
  1296. #: guix-git/doc/contributing.texi:1095
  1297. msgid "@code{master} branch (non-disruptive changes)."
  1298. msgstr ""
  1299. #. type: item
  1300. #: guix-git/doc/contributing.texi:1096
  1301. #, no-wrap
  1302. msgid "between 300 and 1,800 dependent packages"
  1303. msgstr ""
  1304. #. type: table
  1305. #: guix-git/doc/contributing.texi:1102
  1306. 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."
  1307. msgstr ""
  1308. #. type: item
  1309. #: guix-git/doc/contributing.texi:1103
  1310. #, no-wrap
  1311. msgid "more than 1,800 dependent packages"
  1312. msgstr ""
  1313. #. type: table
  1314. #: guix-git/doc/contributing.texi:1108
  1315. 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."
  1316. msgstr ""
  1317. #. type: enumerate
  1318. #: guix-git/doc/contributing.texi:1115
  1319. 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."
  1320. msgstr ""
  1321. #. type: enumerate
  1322. #: guix-git/doc/contributing.texi:1124
  1323. 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."
  1324. msgstr ""
  1325. #. type: cindex
  1326. #: guix-git/doc/contributing.texi:1126
  1327. #, no-wrap
  1328. msgid "determinism, of build processes"
  1329. msgstr ""
  1330. #. type: cindex
  1331. #: guix-git/doc/contributing.texi:1127
  1332. #, no-wrap
  1333. msgid "reproducible builds, checking"
  1334. msgstr ""
  1335. #. type: enumerate
  1336. #: guix-git/doc/contributing.texi:1131
  1337. 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."
  1338. msgstr ""
  1339. #. type: enumerate
  1340. #: guix-git/doc/contributing.texi:1134
  1341. 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}):"
  1342. msgstr ""
  1343. #. type: example
  1344. #: guix-git/doc/contributing.texi:1137
  1345. #, no-wrap
  1346. msgid "guix build --rounds=2 my-package\n"
  1347. msgstr ""
  1348. #. type: enumerate
  1349. #: guix-git/doc/contributing.texi:1141
  1350. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1351. msgstr ""
  1352. #. type: enumerate
  1353. #: guix-git/doc/contributing.texi:1151
  1354. 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."
  1355. msgstr ""
  1356. #. type: enumerate
  1357. #: guix-git/doc/contributing.texi:1157
  1358. 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."
  1359. msgstr ""
  1360. #. type: enumerate
  1361. #: guix-git/doc/contributing.texi:1161
  1362. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1363. msgstr ""
  1364. #. type: enumerate
  1365. #: guix-git/doc/contributing.texi:1164
  1366. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1367. msgstr ""
  1368. #. type: enumerate
  1369. #: guix-git/doc/contributing.texi:1169
  1370. 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})."
  1371. msgstr ""
  1372. #. type: enumerate
  1373. #: guix-git/doc/contributing.texi:1177
  1374. 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."
  1375. msgstr ""
  1376. #. type: enumerate
  1377. #: guix-git/doc/contributing.texi:1181
  1378. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1379. msgstr ""
  1380. #. type: enumerate
  1381. #: guix-git/doc/contributing.texi:1184
  1382. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1383. msgstr ""
  1384. #. type: example
  1385. #: guix-git/doc/contributing.texi:1186
  1386. #, no-wrap
  1387. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1388. msgstr ""
  1389. #. type: Plain text
  1390. #: guix-git/doc/contributing.texi:1199
  1391. 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."
  1392. msgstr ""
  1393. #. type: Plain text
  1394. #: guix-git/doc/contributing.texi:1204
  1395. 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."
  1396. msgstr ""
  1397. #. type: Plain text
  1398. #: guix-git/doc/contributing.texi:1207
  1399. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1400. msgstr ""
  1401. #. type: anchor{#1}
  1402. #: guix-git/doc/contributing.texi:1208 guix-git/doc/contributing.texi:1210
  1403. #, no-wrap
  1404. msgid "Sending a Patch Series"
  1405. msgstr ""
  1406. #. type: cindex
  1407. #: guix-git/doc/contributing.texi:1210
  1408. #, no-wrap
  1409. msgid "patch series"
  1410. msgstr ""
  1411. #. type: code{#1}
  1412. #: guix-git/doc/contributing.texi:1211
  1413. #, no-wrap
  1414. msgid "git send-email"
  1415. msgstr ""
  1416. #. type: code{#1}
  1417. #: guix-git/doc/contributing.texi:1212
  1418. #, no-wrap
  1419. msgid "git-send-email"
  1420. msgstr ""
  1421. #. type: Plain text
  1422. #: guix-git/doc/contributing.texi:1222
  1423. 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}."
  1424. msgstr ""
  1425. #. type: Plain text
  1426. #: guix-git/doc/contributing.texi:1228
  1427. msgid "This section describes how the Guix project tracks its bug reports and patch submissions."
  1428. msgstr ""
  1429. #. type: subsection
  1430. #: guix-git/doc/contributing.texi:1233 guix-git/doc/contributing.texi:1235
  1431. #: guix-git/doc/contributing.texi:1236
  1432. #, no-wrap
  1433. msgid "The Issue Tracker"
  1434. msgstr ""
  1435. #. type: menuentry
  1436. #: guix-git/doc/contributing.texi:1233
  1437. msgid "The official bug and patch tracker."
  1438. msgstr ""
  1439. #. type: subsection
  1440. #: guix-git/doc/contributing.texi:1233 guix-git/doc/contributing.texi:1249
  1441. #: guix-git/doc/contributing.texi:1250
  1442. #, no-wrap
  1443. msgid "Debbugs User Interfaces"
  1444. msgstr ""
  1445. #. type: menuentry
  1446. #: guix-git/doc/contributing.texi:1233
  1447. msgid "Ways to interact with Debbugs."
  1448. msgstr ""
  1449. #. type: subsection
  1450. #: guix-git/doc/contributing.texi:1233 guix-git/doc/contributing.texi:1289
  1451. #: guix-git/doc/contributing.texi:1290
  1452. #, no-wrap
  1453. msgid "Debbugs Usertags"
  1454. msgstr ""
  1455. #. type: menuentry
  1456. #: guix-git/doc/contributing.texi:1233
  1457. msgid "Tag reports with custom labels."
  1458. msgstr ""
  1459. #. type: cindex
  1460. #: guix-git/doc/contributing.texi:1238
  1461. #, no-wrap
  1462. msgid "bug reports, tracking"
  1463. msgstr ""
  1464. #. type: cindex
  1465. #: guix-git/doc/contributing.texi:1239
  1466. #, no-wrap
  1467. msgid "patch submissions, tracking"
  1468. msgstr ""
  1469. #. type: cindex
  1470. #: guix-git/doc/contributing.texi:1240
  1471. #, no-wrap
  1472. msgid "issue tracking"
  1473. msgstr ""
  1474. #. type: cindex
  1475. #: guix-git/doc/contributing.texi:1241
  1476. #, no-wrap
  1477. msgid "Debbugs, issue tracking system"
  1478. msgstr ""
  1479. #. type: Plain text
  1480. #: guix-git/doc/contributing.texi:1248
  1481. 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})."
  1482. msgstr ""
  1483. #. type: Plain text
  1484. #: guix-git/doc/contributing.texi:1254
  1485. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1486. msgstr ""
  1487. #. type: itemize
  1488. #: guix-git/doc/contributing.texi:1263
  1489. 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;"
  1490. msgstr ""
  1491. #. type: itemize
  1492. #: guix-git/doc/contributing.texi:1265
  1493. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1494. msgstr ""
  1495. #. type: itemize
  1496. #: guix-git/doc/contributing.texi:1267
  1497. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1498. msgstr ""
  1499. #. type: Plain text
  1500. #: guix-git/doc/contributing.texi:1272
  1501. 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}}."
  1502. msgstr ""
  1503. #. type: Plain text
  1504. #: guix-git/doc/contributing.texi:1275
  1505. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1506. msgstr ""
  1507. #. type: example
  1508. #: guix-git/doc/contributing.texi:1278
  1509. #, no-wrap
  1510. msgid "guix install emacs-debbugs\n"
  1511. msgstr ""
  1512. #. type: Plain text
  1513. #: guix-git/doc/contributing.texi:1281
  1514. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1515. msgstr ""
  1516. #. type: example
  1517. #: guix-git/doc/contributing.texi:1284
  1518. #, no-wrap
  1519. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1520. msgstr ""
  1521. #. type: Plain text
  1522. #: guix-git/doc/contributing.texi:1288
  1523. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1524. msgstr ""
  1525. #. type: cindex
  1526. #: guix-git/doc/contributing.texi:1292
  1527. #, no-wrap
  1528. msgid "usertags, for debbugs"
  1529. msgstr ""
  1530. #. type: cindex
  1531. #: guix-git/doc/contributing.texi:1293
  1532. #, no-wrap
  1533. msgid "Debbugs usertags"
  1534. msgstr ""
  1535. #. type: Plain text
  1536. #: guix-git/doc/contributing.texi:1299
  1537. 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.}."
  1538. msgstr ""
  1539. #. type: Plain text
  1540. #: guix-git/doc/contributing.texi:1305
  1541. 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}."
  1542. msgstr ""
  1543. #. type: Plain text
  1544. #: guix-git/doc/contributing.texi:1309
  1545. 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."
  1546. msgstr ""
  1547. #. type: Plain text
  1548. #: guix-git/doc/contributing.texi:1314
  1549. 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:"
  1550. msgstr ""
  1551. #. type: item
  1552. #: guix-git/doc/contributing.texi:1317 guix-git/doc/guix.texi:535
  1553. #, no-wrap
  1554. msgid "powerpc64le-linux"
  1555. msgstr ""
  1556. #. type: table
  1557. #: guix-git/doc/contributing.texi:1325
  1558. 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."
  1559. msgstr ""
  1560. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1561. #. type: item
  1562. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1563. #. type: cindex
  1564. #: guix-git/doc/contributing.texi:1326 guix-git/doc/guix.texi:3025
  1565. #: guix-git/doc/guix.texi:4713
  1566. #, no-wrap
  1567. msgid "reproducibility"
  1568. msgstr ""
  1569. #. type: table
  1570. #: guix-git/doc/contributing.texi:1330
  1571. 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."
  1572. msgstr ""
  1573. #. type: Plain text
  1574. #: guix-git/doc/contributing.texi:1337
  1575. 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."
  1576. msgstr ""
  1577. #. type: cindex
  1578. #: guix-git/doc/contributing.texi:1341
  1579. #, no-wrap
  1580. msgid "commit access, for developers"
  1581. msgstr ""
  1582. #. type: Plain text
  1583. #: guix-git/doc/contributing.texi:1347
  1584. 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."
  1585. msgstr ""
  1586. #. type: Plain text
  1587. #: guix-git/doc/contributing.texi:1351
  1588. 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."
  1589. msgstr ""
  1590. #. type: subsection
  1591. #: guix-git/doc/contributing.texi:1352
  1592. #, no-wrap
  1593. msgid "Applying for Commit Access"
  1594. msgstr ""
  1595. #. type: Plain text
  1596. #: guix-git/doc/contributing.texi:1356
  1597. msgid "When you deem it necessary, consider applying for commit access by following these steps:"
  1598. msgstr ""
  1599. #. type: enumerate
  1600. #: guix-git/doc/contributing.texi:1365
  1601. 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."
  1602. msgstr ""
  1603. #. type: enumerate
  1604. #: guix-git/doc/contributing.texi:1371
  1605. 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''."
  1606. msgstr ""
  1607. #. type: enumerate
  1608. #: guix-git/doc/contributing.texi:1378
  1609. 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."
  1610. msgstr ""
  1611. #. type: enumerate
  1612. #: guix-git/doc/contributing.texi:1384
  1613. 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}):"
  1614. msgstr ""
  1615. #. type: example
  1616. #: guix-git/doc/contributing.texi:1387
  1617. #, no-wrap
  1618. msgid "digest-algo sha512\n"
  1619. msgstr ""
  1620. #. type: enumerate
  1621. #: guix-git/doc/contributing.texi:1392
  1622. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1623. msgstr ""
  1624. #. type: cindex
  1625. #: guix-git/doc/contributing.texi:1394
  1626. #, no-wrap
  1627. msgid "OpenPGP, signed commits"
  1628. msgstr ""
  1629. #. type: enumerate
  1630. #: guix-git/doc/contributing.texi:1399
  1631. 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."
  1632. msgstr ""
  1633. #. type: quotation
  1634. #: guix-git/doc/contributing.texi:1400 guix-git/doc/guix.texi:16870
  1635. #, no-wrap
  1636. msgid "Important"
  1637. msgstr ""
  1638. #. type: quotation
  1639. #: guix-git/doc/contributing.texi:1402
  1640. msgid "Before you can push for the first time, maintainers must:"
  1641. msgstr ""
  1642. #. type: enumerate
  1643. #: guix-git/doc/contributing.texi:1406
  1644. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1645. msgstr ""
  1646. #. type: enumerate
  1647. #: guix-git/doc/contributing.texi:1409
  1648. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1649. msgstr ""
  1650. #. type: enumerate
  1651. #: guix-git/doc/contributing.texi:1414
  1652. msgid "Make sure to read the rest of this section and... profit!"
  1653. msgstr ""
  1654. #. type: quotation
  1655. #: guix-git/doc/contributing.texi:1420
  1656. 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!"
  1657. msgstr ""
  1658. #. type: quotation
  1659. #: guix-git/doc/contributing.texi:1424
  1660. 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!"
  1661. msgstr ""
  1662. #. type: Plain text
  1663. #: guix-git/doc/contributing.texi:1431
  1664. 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:"
  1665. msgstr ""
  1666. #. type: example
  1667. #: guix-git/doc/contributing.texi:1434
  1668. #, no-wrap
  1669. msgid ""
  1670. "git config commit.gpgsign true\n"
  1671. "\n"
  1672. msgstr ""
  1673. #. type: example
  1674. #: guix-git/doc/contributing.texi:1437
  1675. #, no-wrap
  1676. msgid ""
  1677. "# Substitute the fingerprint of your public PGP key.\n"
  1678. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1679. msgstr ""
  1680. #. type: Plain text
  1681. #: guix-git/doc/contributing.texi:1442
  1682. 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}:"
  1683. msgstr ""
  1684. #. type: example
  1685. #: guix-git/doc/contributing.texi:1445
  1686. #, no-wrap
  1687. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1688. msgstr ""
  1689. #. type: subsection
  1690. #: guix-git/doc/contributing.texi:1447
  1691. #, no-wrap
  1692. msgid "Commit Policy"
  1693. msgstr ""
  1694. #. type: Plain text
  1695. #: guix-git/doc/contributing.texi:1452
  1696. 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})."
  1697. msgstr ""
  1698. #. type: Plain text
  1699. #: guix-git/doc/contributing.texi:1457
  1700. 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})."
  1701. msgstr ""
  1702. #. type: Plain text
  1703. #: guix-git/doc/contributing.texi:1466
  1704. 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}."
  1705. msgstr ""
  1706. #. type: Plain text
  1707. #: guix-git/doc/contributing.texi:1471
  1708. 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."
  1709. msgstr ""
  1710. #. type: Plain text
  1711. #: guix-git/doc/contributing.texi:1475
  1712. 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:"
  1713. msgstr ""
  1714. #. type: example
  1715. #: guix-git/doc/contributing.texi:1478
  1716. #, no-wrap
  1717. msgid "make check-channel-news\n"
  1718. msgstr ""
  1719. #. type: Plain text
  1720. #: guix-git/doc/contributing.texi:1484
  1721. 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."
  1722. msgstr ""
  1723. #. type: Plain text
  1724. #: guix-git/doc/contributing.texi:1487
  1725. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1726. msgstr ""
  1727. #. type: subsection
  1728. #: guix-git/doc/contributing.texi:1488
  1729. #, no-wrap
  1730. msgid "Addressing Issues"
  1731. msgstr ""
  1732. #. type: Plain text
  1733. #: guix-git/doc/contributing.texi:1499
  1734. 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."
  1735. msgstr ""
  1736. #. type: Plain text
  1737. #: guix-git/doc/contributing.texi:1504
  1738. 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."
  1739. msgstr ""
  1740. #. type: cindex
  1741. #: guix-git/doc/contributing.texi:1505
  1742. #, no-wrap
  1743. msgid "reverting commits"
  1744. msgstr ""
  1745. #. type: Plain text
  1746. #: guix-git/doc/contributing.texi:1511
  1747. 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."
  1748. msgstr ""
  1749. #. type: Plain text
  1750. #: guix-git/doc/contributing.texi:1517
  1751. 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."
  1752. msgstr ""
  1753. #. type: Plain text
  1754. #: guix-git/doc/contributing.texi:1526
  1755. 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."
  1756. msgstr ""
  1757. #. type: subsection
  1758. #: guix-git/doc/contributing.texi:1527
  1759. #, no-wrap
  1760. msgid "Commit Revocation"
  1761. msgstr ""
  1762. #. type: Plain text
  1763. #: guix-git/doc/contributing.texi:1534
  1764. 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."
  1765. msgstr ""
  1766. #. type: Plain text
  1767. #: guix-git/doc/contributing.texi:1544
  1768. 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:"
  1769. msgstr ""
  1770. #. type: item
  1771. #: guix-git/doc/contributing.texi:1546
  1772. #, no-wrap
  1773. msgid "repeated violation of the commit policy stated above;"
  1774. msgstr ""
  1775. #. type: item
  1776. #: guix-git/doc/contributing.texi:1547
  1777. #, no-wrap
  1778. msgid "repeated failure to take peer criticism into account;"
  1779. msgstr ""
  1780. #. type: item
  1781. #: guix-git/doc/contributing.texi:1548
  1782. #, no-wrap
  1783. msgid "breaching trust through a series of grave incidents."
  1784. msgstr ""
  1785. #. type: Plain text
  1786. #: guix-git/doc/contributing.texi:1555
  1787. 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."
  1788. msgstr ""
  1789. #. type: subsection
  1790. #: guix-git/doc/contributing.texi:1556
  1791. #, no-wrap
  1792. msgid "Helping Out"
  1793. msgstr ""
  1794. #. type: Plain text
  1795. #: guix-git/doc/contributing.texi:1563
  1796. 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!"
  1797. msgstr ""
  1798. #. type: cindex
  1799. #: guix-git/doc/contributing.texi:1567
  1800. #, no-wrap
  1801. msgid "update-guix-package, updating the guix package"
  1802. msgstr ""
  1803. #. type: Plain text
  1804. #: guix-git/doc/contributing.texi:1573
  1805. 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:"
  1806. msgstr ""
  1807. #. type: example
  1808. #: guix-git/doc/contributing.texi:1576
  1809. #, no-wrap
  1810. msgid "make update-guix-package\n"
  1811. msgstr ""
  1812. #. type: Plain text
  1813. #: guix-git/doc/contributing.texi:1583
  1814. 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."
  1815. msgstr ""
  1816. #. type: Plain text
  1817. #: guix-git/doc/contributing.texi:1587
  1818. 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:"
  1819. msgstr ""
  1820. #. type: example
  1821. #: guix-git/doc/contributing.texi:1590
  1822. #, no-wrap
  1823. msgid "./pre-inst-env guix build guix\n"
  1824. msgstr ""
  1825. #. type: Plain text
  1826. #: guix-git/doc/contributing.texi:1595
  1827. 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."
  1828. msgstr ""
  1829. #. type: Plain text
  1830. #: guix-git/doc/contributing.texi:1600
  1831. 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."
  1832. msgstr ""
  1833. #. type: cindex
  1834. #: guix-git/doc/contributing.texi:1601
  1835. #, no-wrap
  1836. msgid "translation"
  1837. msgstr ""
  1838. #. type: cindex
  1839. #: guix-git/doc/contributing.texi:1602
  1840. #, no-wrap
  1841. msgid "l10n"
  1842. msgstr ""
  1843. #. type: cindex
  1844. #: guix-git/doc/contributing.texi:1603
  1845. #, no-wrap
  1846. msgid "i18n"
  1847. msgstr ""
  1848. #. type: cindex
  1849. #: guix-git/doc/contributing.texi:1604
  1850. #, no-wrap
  1851. msgid "native language support"
  1852. msgstr ""
  1853. #. type: Plain text
  1854. #: guix-git/doc/contributing.texi:1614
  1855. 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!"
  1856. msgstr ""
  1857. #. type: Plain text
  1858. #: guix-git/doc/contributing.texi:1620
  1859. 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."
  1860. msgstr ""
  1861. #. type: Plain text
  1862. #: guix-git/doc/contributing.texi:1627
  1863. 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."
  1864. msgstr ""
  1865. #. type: Plain text
  1866. #: guix-git/doc/contributing.texi:1632
  1867. 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}."
  1868. msgstr ""
  1869. #. type: Plain text
  1870. #: guix-git/doc/contributing.texi:1634
  1871. msgid "Guix has five components hosted on Weblate."
  1872. msgstr ""
  1873. #. type: item
  1874. #: guix-git/doc/contributing.texi:1636
  1875. #, no-wrap
  1876. msgid "@code{guix} contains all the strings from the Guix software (the"
  1877. msgstr ""
  1878. #. type: itemize
  1879. #: guix-git/doc/contributing.texi:1638
  1880. msgid "guided system installer, the package manager, etc), excluding packages."
  1881. msgstr ""
  1882. #. type: item
  1883. #: guix-git/doc/contributing.texi:1638
  1884. #, no-wrap
  1885. msgid "@code{packages} contains the synopsis (single-sentence description"
  1886. msgstr ""
  1887. #. type: itemize
  1888. #: guix-git/doc/contributing.texi:1640
  1889. msgid "of a package) and description (longer description) of packages in Guix."
  1890. msgstr ""
  1891. #. type: item
  1892. #: guix-git/doc/contributing.texi:1640
  1893. #, no-wrap
  1894. msgid "@code{website} contains the official Guix website, except for"
  1895. msgstr ""
  1896. #. type: itemize
  1897. #: guix-git/doc/contributing.texi:1642
  1898. msgid "blog posts and multimedia content."
  1899. msgstr ""
  1900. #. type: item
  1901. #: guix-git/doc/contributing.texi:1642
  1902. #, no-wrap
  1903. msgid "@code{documentation-manual} corresponds to this manual."
  1904. msgstr ""
  1905. #. type: item
  1906. #: guix-git/doc/contributing.texi:1643
  1907. #, no-wrap
  1908. msgid "@code{documentation-cookbook} is the component for the cookbook."
  1909. msgstr ""
  1910. #. type: subsubheading
  1911. #: guix-git/doc/contributing.texi:1646
  1912. #, no-wrap
  1913. msgid "General Directions"
  1914. msgstr ""
  1915. #. type: Plain text
  1916. #: guix-git/doc/contributing.texi:1654
  1917. 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."
  1918. msgstr ""
  1919. #. type: Plain text
  1920. #: guix-git/doc/contributing.texi:1659
  1921. 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."
  1922. msgstr ""
  1923. #. type: Plain text
  1924. #: guix-git/doc/contributing.texi:1670
  1925. 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."
  1926. msgstr ""
  1927. #. type: Plain text
  1928. #: guix-git/doc/contributing.texi:1675
  1929. 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."
  1930. msgstr ""
  1931. #. type: subsubheading
  1932. #: guix-git/doc/contributing.texi:1676
  1933. #, no-wrap
  1934. msgid "Translation Components"
  1935. msgstr ""
  1936. #. type: Plain text
  1937. #: guix-git/doc/contributing.texi:1681
  1938. 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!"
  1939. msgstr ""
  1940. #. type: item
  1941. #: guix-git/doc/contributing.texi:1683 guix-git/doc/guix.texi:8845
  1942. #, no-wrap
  1943. msgid "guix"
  1944. msgstr ""
  1945. #. type: table
  1946. #: guix-git/doc/contributing.texi:1688
  1947. 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."
  1948. msgstr ""
  1949. #. type: table
  1950. #: guix-git/doc/contributing.texi:1697
  1951. 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."
  1952. msgstr ""
  1953. #. type: table
  1954. #: guix-git/doc/contributing.texi:1701
  1955. 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."
  1956. msgstr ""
  1957. #. type: table
  1958. #: guix-git/doc/contributing.texi:1709
  1959. 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."
  1960. msgstr ""
  1961. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1962. #. type: item
  1963. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1964. #. type: cindex
  1965. #: guix-git/doc/contributing.texi:1710 guix-git/doc/guix.texi:2943
  1966. #, no-wrap
  1967. msgid "packages"
  1968. msgstr ""
  1969. #. type: table
  1970. #: guix-git/doc/contributing.texi:1715
  1971. 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."
  1972. msgstr ""
  1973. #. type: table
  1974. #: guix-git/doc/contributing.texi:1724
  1975. 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})."
  1976. msgstr ""
  1977. #. type: item
  1978. #: guix-git/doc/contributing.texi:1725
  1979. #, no-wrap
  1980. msgid "documentation-manual and documentation-cookbook"
  1981. msgstr ""
  1982. #. type: table
  1983. #: guix-git/doc/contributing.texi:1729
  1984. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  1985. msgstr ""
  1986. #. type: item
  1987. #: guix-git/doc/contributing.texi:1731
  1988. #, no-wrap
  1989. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  1990. msgstr ""
  1991. #. type: itemize
  1992. #: guix-git/doc/contributing.texi:1734
  1993. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  1994. msgstr ""
  1995. #. type: item
  1996. #: guix-git/doc/contributing.texi:1734
  1997. #, no-wrap
  1998. msgid "@code{contributing.texi}: Translate this string as"
  1999. msgstr ""
  2000. #. type: itemize
  2001. #: guix-git/doc/contributing.texi:1736
  2002. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2003. msgstr ""
  2004. #. type: item
  2005. #: guix-git/doc/contributing.texi:1736
  2006. #, no-wrap
  2007. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2008. msgstr ""
  2009. #. type: itemize
  2010. #: guix-git/doc/contributing.texi:1739
  2011. 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."
  2012. msgstr ""
  2013. #. type: table
  2014. #: guix-git/doc/contributing.texi:1744
  2015. 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."
  2016. msgstr ""
  2017. #. type: table
  2018. #: guix-git/doc/contributing.texi:1751
  2019. 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."
  2020. msgstr ""
  2021. #. type: table
  2022. #: guix-git/doc/contributing.texi:1759
  2023. 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."
  2024. msgstr ""
  2025. #. type: table
  2026. #: guix-git/doc/contributing.texi:1769
  2027. 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."
  2028. msgstr ""
  2029. #. type: item
  2030. #: guix-git/doc/contributing.texi:1770
  2031. #, no-wrap
  2032. msgid "website"
  2033. msgstr ""
  2034. #. type: table
  2035. #: guix-git/doc/contributing.texi:1777
  2036. 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."
  2037. msgstr ""
  2038. #. type: example
  2039. #: guix-git/doc/contributing.texi:1784
  2040. #, no-wrap
  2041. msgid ""
  2042. "#. TRANSLATORS: Defining Packages is a section name\n"
  2043. "#. in the English (en) manual.\n"
  2044. "#: apps/base/templates/about.scm:64\n"
  2045. "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"
  2046. "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"
  2047. msgstr ""
  2048. #. type: table
  2049. #: guix-git/doc/contributing.texi:1787
  2050. msgid "Note that you need to include the same markups. You cannot skip any."
  2051. msgstr ""
  2052. #. type: Plain text
  2053. #: guix-git/doc/contributing.texi:1795
  2054. 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."
  2055. msgstr ""
  2056. #. type: subsubheading
  2057. #: guix-git/doc/contributing.texi:1796
  2058. #, no-wrap
  2059. msgid "Outside of Weblate"
  2060. msgstr ""
  2061. #. type: Plain text
  2062. #: guix-git/doc/contributing.texi:1799
  2063. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2064. msgstr ""
  2065. #. type: item
  2066. #: guix-git/doc/contributing.texi:1801
  2067. #, no-wrap
  2068. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2069. msgstr ""
  2070. #. type: itemize
  2071. #: guix-git/doc/contributing.texi:1807
  2072. 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."
  2073. msgstr ""
  2074. #. type: item
  2075. #: guix-git/doc/contributing.texi:1807
  2076. #, no-wrap
  2077. msgid "Guix blog posts cannot currently be translated."
  2078. msgstr ""
  2079. #. type: item
  2080. #: guix-git/doc/contributing.texi:1808
  2081. #, no-wrap
  2082. msgid "The installer script (for foreign distributions) is entirely in English."
  2083. msgstr ""
  2084. #. type: item
  2085. #: guix-git/doc/contributing.texi:1809
  2086. #, no-wrap
  2087. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2088. msgstr ""
  2089. #. type: itemize
  2090. #: guix-git/doc/contributing.texi:1811
  2091. msgid "outside of the Guix project. Guile itself is not internationalized."
  2092. msgstr ""
  2093. #. type: item
  2094. #: guix-git/doc/contributing.texi:1811
  2095. #, no-wrap
  2096. msgid "Other manuals linked from this manual or the cookbook might not be"
  2097. msgstr ""
  2098. #. type: itemize
  2099. #: guix-git/doc/contributing.texi:1813
  2100. msgid "translated."
  2101. msgstr ""
  2102. #. type: subsubheading
  2103. #: guix-git/doc/contributing.texi:1815
  2104. #, no-wrap
  2105. msgid "Translation Infrastructure"
  2106. msgstr ""
  2107. #. type: Plain text
  2108. #: guix-git/doc/contributing.texi:1826
  2109. 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."
  2110. msgstr ""
  2111. #. type: Plain text
  2112. #: guix-git/doc/contributing.texi:1830
  2113. 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."
  2114. msgstr ""
  2115. #. type: Plain text
  2116. #: guix-git/doc/contributing.texi:1836
  2117. 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."
  2118. msgstr ""
  2119. #. type: Plain text
  2120. #: guix-git/doc/contributing.texi:1840
  2121. 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."
  2122. msgstr ""
  2123. #. type: item
  2124. #: guix-git/doc/contributing.texi:1842
  2125. #, no-wrap
  2126. msgid "New po files for the @code{guix} and @code{packages} components must"
  2127. msgstr ""
  2128. #. type: itemize
  2129. #: guix-git/doc/contributing.texi:1845
  2130. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2131. msgstr ""
  2132. #. type: item
  2133. #: guix-git/doc/contributing.texi:1845
  2134. #, no-wrap
  2135. msgid "New po files for the @code{documentation-manual} component must be"
  2136. msgstr ""
  2137. #. type: itemize
  2138. #: guix-git/doc/contributing.texi:1851
  2139. 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}."
  2140. msgstr ""
  2141. #. type: item
  2142. #: guix-git/doc/contributing.texi:1851
  2143. #, no-wrap
  2144. msgid "New po files for the @code{documentation-cookbook} component must be"
  2145. msgstr ""
  2146. #. type: itemize
  2147. #: guix-git/doc/contributing.texi:1857
  2148. 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}."
  2149. msgstr ""
  2150. #. type: item
  2151. #: guix-git/doc/contributing.texi:1857
  2152. #, no-wrap
  2153. msgid "New po files for the @code{website} component must be added to the"
  2154. msgstr ""
  2155. #. type: itemize
  2156. #: guix-git/doc/contributing.texi:1862
  2157. 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)."
  2158. msgstr ""
  2159. #. type: Plain text
  2160. #: guix-git/doc/guix.texi:7
  2161. msgid "@documentencoding UTF-8"
  2162. msgstr ""
  2163. #. type: title
  2164. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:126
  2165. #, no-wrap
  2166. msgid "GNU Guix Reference Manual"
  2167. msgstr ""
  2168. #. type: include
  2169. #: guix-git/doc/guix.texi:10
  2170. #, no-wrap
  2171. msgid "version.texi"
  2172. msgstr "version-fa.texi"
  2173. #. type: copying
  2174. #: guix-git/doc/guix.texi:99
  2175. msgid "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017, 2019, 2020, 2021 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018, 2021 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nikita Gillmann@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020 Jan Nieuwenhuizen@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Christopher Baines@* Copyright @copyright{} 2017, 2018, 2019 Clément Lassieur@* Copyright @copyright{} 2017, 2018, 2020, 2021 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017, 2021 Christine Lemmer-Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020 Marius Bakke@* Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018, 2019, 2020 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018, 2021 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018, 2019 Gábor Boskovits@* Copyright @copyright{} 2018, 2019, 2020 Florian Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} 2018 Alex Vong@* Copyright @copyright{} 2019 Josh Holland@* Copyright @copyright{} 2019, 2020 Diego Nicola Barbato@* Copyright @copyright{} 2019 Ivan Petkov@* Copyright @copyright{} 2019 Jakob L. Kreuze@* Copyright @copyright{} 2019 Kyle Andrews@* Copyright @copyright{} 2019 Alex Griffin@* Copyright @copyright{} 2019, 2020, 2021 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Leo Prikler@* Copyright @copyright{} 2019, 2020 Simon Tournier@* Copyright @copyright{} 2020 Wiktor Żelazny@* Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* Copyright @copyright{} 2020 Naga Malleswari@* Copyright @copyright{} 2020, 2021 Brice Waegeneire@* Copyright @copyright{} 2020 R Veera Kumar@* Copyright @copyright{} 2020 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@*"
  2176. msgstr ""
  2177. #. type: copying
  2178. #: guix-git/doc/guix.texi:106
  2179. 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''."
  2180. msgstr ""
  2181. #. type: dircategory
  2182. #: guix-git/doc/guix.texi:108
  2183. #, no-wrap
  2184. msgid "System administration"
  2185. msgstr ""
  2186. #. type: menuentry
  2187. #: guix-git/doc/guix.texi:116
  2188. msgid "Guix: (guix)"
  2189. msgstr ""
  2190. #. type: menuentry
  2191. #: guix-git/doc/guix.texi:116
  2192. msgid "Manage installed software and system configuration."
  2193. msgstr ""
  2194. #. type: menuentry
  2195. #: guix-git/doc/guix.texi:116
  2196. msgid "guix package: (guix)Invoking guix package"
  2197. msgstr ""
  2198. #. type: menuentry
  2199. #: guix-git/doc/guix.texi:116
  2200. msgid "Installing, removing, and upgrading packages."
  2201. msgstr ""
  2202. #. type: menuentry
  2203. #: guix-git/doc/guix.texi:116
  2204. msgid "guix gc: (guix)Invoking guix gc"
  2205. msgstr ""
  2206. #. type: menuentry
  2207. #: guix-git/doc/guix.texi:116
  2208. msgid "Reclaiming unused disk space."
  2209. msgstr ""
  2210. #. type: menuentry
  2211. #: guix-git/doc/guix.texi:116
  2212. msgid "guix pull: (guix)Invoking guix pull"
  2213. msgstr ""
  2214. #. type: menuentry
  2215. #: guix-git/doc/guix.texi:116
  2216. msgid "Update the list of available packages."
  2217. msgstr ""
  2218. #. type: menuentry
  2219. #: guix-git/doc/guix.texi:116
  2220. msgid "guix system: (guix)Invoking guix system"
  2221. msgstr ""
  2222. #. type: menuentry
  2223. #: guix-git/doc/guix.texi:116
  2224. msgid "Manage the operating system configuration."
  2225. msgstr ""
  2226. #. type: menuentry
  2227. #: guix-git/doc/guix.texi:116
  2228. msgid "guix deploy: (guix)Invoking guix deploy"
  2229. msgstr ""
  2230. #. type: menuentry
  2231. #: guix-git/doc/guix.texi:116
  2232. msgid "Manage operating system configurations for remote hosts."
  2233. msgstr ""
  2234. #. type: dircategory
  2235. #: guix-git/doc/guix.texi:118
  2236. #, no-wrap
  2237. msgid "Software development"
  2238. msgstr ""
  2239. #. type: menuentry
  2240. #: guix-git/doc/guix.texi:123
  2241. msgid "guix environment: (guix)Invoking guix environment"
  2242. msgstr ""
  2243. #. type: menuentry
  2244. #: guix-git/doc/guix.texi:123
  2245. msgid "Building development environments with Guix."
  2246. msgstr ""
  2247. #. type: menuentry
  2248. #: guix-git/doc/guix.texi:123
  2249. msgid "guix build: (guix)Invoking guix build"
  2250. msgstr ""
  2251. #. type: menuentry
  2252. #: guix-git/doc/guix.texi:123
  2253. msgid "Building packages."
  2254. msgstr ""
  2255. #. type: menuentry
  2256. #: guix-git/doc/guix.texi:123
  2257. msgid "guix pack: (guix)Invoking guix pack"
  2258. msgstr ""
  2259. #. type: menuentry
  2260. #: guix-git/doc/guix.texi:123
  2261. msgid "Creating binary bundles."
  2262. msgstr ""
  2263. #. type: subtitle
  2264. #: guix-git/doc/guix.texi:127
  2265. #, no-wrap
  2266. msgid "Using the GNU Guix Functional Package Manager"
  2267. msgstr ""
  2268. #. type: author
  2269. #: guix-git/doc/guix.texi:128
  2270. #, no-wrap
  2271. msgid "The GNU Guix Developers"
  2272. msgstr ""
  2273. #. type: titlepage
  2274. #: guix-git/doc/guix.texi:134
  2275. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2276. msgstr ""
  2277. #. type: node
  2278. #: guix-git/doc/guix.texi:141
  2279. #, no-wrap
  2280. msgid "Top"
  2281. msgstr ""
  2282. #. type: top
  2283. #: guix-git/doc/guix.texi:142
  2284. #, no-wrap
  2285. msgid "GNU Guix"
  2286. msgstr "گیکسِ گنو"
  2287. #. type: Plain text
  2288. #: guix-git/doc/guix.texi:146
  2289. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2290. msgstr ""
  2291. #. You can replace the following paragraph with information on
  2292. #. type: Plain text
  2293. #: guix-git/doc/guix.texi:158
  2294. 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})."
  2295. msgstr ""
  2296. #. type: chapter
  2297. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:186
  2298. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:388
  2299. #, no-wrap
  2300. msgid "Introduction"
  2301. msgstr ""
  2302. #. type: menuentry
  2303. #: guix-git/doc/guix.texi:176
  2304. msgid "What is Guix about?"
  2305. msgstr ""
  2306. #. type: chapter
  2307. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:191
  2308. #: guix-git/doc/guix.texi:568 guix-git/doc/guix.texi:569
  2309. #, no-wrap
  2310. msgid "Installation"
  2311. msgstr ""
  2312. #. type: menuentry
  2313. #: guix-git/doc/guix.texi:176
  2314. msgid "Installing Guix."
  2315. msgstr ""
  2316. #. type: chapter
  2317. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:207
  2318. #: guix-git/doc/guix.texi:2015 guix-git/doc/guix.texi:2016
  2319. #, no-wrap
  2320. msgid "System Installation"
  2321. msgstr ""
  2322. #. type: menuentry
  2323. #: guix-git/doc/guix.texi:176
  2324. msgid "Installing the whole operating system."
  2325. msgstr ""
  2326. #. type: chapter
  2327. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:2732
  2328. #: guix-git/doc/guix.texi:2733
  2329. #, no-wrap
  2330. msgid "Getting Started"
  2331. msgstr ""
  2332. #. type: menuentry
  2333. #: guix-git/doc/guix.texi:176
  2334. msgid "Your first steps."
  2335. msgstr ""
  2336. #. type: chapter
  2337. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:224
  2338. #: guix-git/doc/guix.texi:2940 guix-git/doc/guix.texi:2941
  2339. #, no-wrap
  2340. msgid "Package Management"
  2341. msgstr ""
  2342. #. type: menuentry
  2343. #: guix-git/doc/guix.texi:176
  2344. msgid "Package installation, upgrade, etc."
  2345. msgstr ""
  2346. #. type: chapter
  2347. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:247
  2348. #: guix-git/doc/guix.texi:4995 guix-git/doc/guix.texi:4996
  2349. #, no-wrap
  2350. msgid "Channels"
  2351. msgstr ""
  2352. #. type: menuentry
  2353. #: guix-git/doc/guix.texi:176
  2354. msgid "Customizing the package collection."
  2355. msgstr ""
  2356. #. type: chapter
  2357. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:261
  2358. #: guix-git/doc/guix.texi:5523 guix-git/doc/guix.texi:5524
  2359. #, no-wrap
  2360. msgid "Development"
  2361. msgstr ""
  2362. #. type: menuentry
  2363. #: guix-git/doc/guix.texi:176
  2364. msgid "Guix-aided software development."
  2365. msgstr ""
  2366. #. type: chapter
  2367. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:268
  2368. #: guix-git/doc/guix.texi:6378 guix-git/doc/guix.texi:6379
  2369. #, no-wrap
  2370. msgid "Programming Interface"
  2371. msgstr ""
  2372. #. type: menuentry
  2373. #: guix-git/doc/guix.texi:176
  2374. msgid "Using Guix in Scheme."
  2375. msgstr ""
  2376. #. type: chapter
  2377. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:287
  2378. #: guix-git/doc/guix.texi:10199 guix-git/doc/guix.texi:10200
  2379. #, no-wrap
  2380. msgid "Utilities"
  2381. msgstr ""
  2382. #. type: menuentry
  2383. #: guix-git/doc/guix.texi:176
  2384. msgid "Package management commands."
  2385. msgstr ""
  2386. #. type: chapter
  2387. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:312
  2388. #: guix-git/doc/guix.texi:13462 guix-git/doc/guix.texi:13463
  2389. #, no-wrap
  2390. msgid "System Configuration"
  2391. msgstr ""
  2392. #. type: menuentry
  2393. #: guix-git/doc/guix.texi:176
  2394. msgid "Configuring the operating system."
  2395. msgstr ""
  2396. #. type: chapter
  2397. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:35094
  2398. #: guix-git/doc/guix.texi:35095
  2399. #, no-wrap
  2400. msgid "Documentation"
  2401. msgstr "مستندات"
  2402. #. type: menuentry
  2403. #: guix-git/doc/guix.texi:176
  2404. msgid "Browsing software user manuals."
  2405. msgstr ""
  2406. #. type: chapter
  2407. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:374
  2408. #: guix-git/doc/guix.texi:35158 guix-git/doc/guix.texi:35159
  2409. #, no-wrap
  2410. msgid "Installing Debugging Files"
  2411. msgstr ""
  2412. #. type: menuentry
  2413. #: guix-git/doc/guix.texi:176
  2414. msgid "Feeding the debugger."
  2415. msgstr ""
  2416. #. type: chapter
  2417. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:35299
  2418. #: guix-git/doc/guix.texi:35300
  2419. #, no-wrap
  2420. msgid "Security Updates"
  2421. msgstr ""
  2422. #. type: menuentry
  2423. #: guix-git/doc/guix.texi:176
  2424. msgid "Deploying security fixes quickly."
  2425. msgstr ""
  2426. #. type: chapter
  2427. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:379
  2428. #: guix-git/doc/guix.texi:35414 guix-git/doc/guix.texi:35415
  2429. #, no-wrap
  2430. msgid "Bootstrapping"
  2431. msgstr ""
  2432. #. type: menuentry
  2433. #: guix-git/doc/guix.texi:176
  2434. msgid "GNU/Linux built from scratch."
  2435. msgstr ""
  2436. #. type: node
  2437. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:35706
  2438. #, no-wrap
  2439. msgid "Porting"
  2440. msgstr ""
  2441. #. type: menuentry
  2442. #: guix-git/doc/guix.texi:176
  2443. msgid "Targeting another platform or kernel."
  2444. msgstr ""
  2445. #. type: menuentry
  2446. #: guix-git/doc/guix.texi:176
  2447. msgid "Your help needed!"
  2448. msgstr ""
  2449. #. type: chapter
  2450. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35754
  2451. #: guix-git/doc/guix.texi:35755
  2452. #, no-wrap
  2453. msgid "Acknowledgments"
  2454. msgstr ""
  2455. #. type: menuentry
  2456. #: guix-git/doc/guix.texi:181
  2457. msgid "Thanks!"
  2458. msgstr "سپاس!"
  2459. #. type: appendix
  2460. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35776
  2461. #: guix-git/doc/guix.texi:35777
  2462. #, no-wrap
  2463. msgid "GNU Free Documentation License"
  2464. msgstr ""
  2465. #. type: menuentry
  2466. #: guix-git/doc/guix.texi:181
  2467. msgid "The license of this manual."
  2468. msgstr ""
  2469. #. type: unnumbered
  2470. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35782
  2471. #: guix-git/doc/guix.texi:35783
  2472. #, no-wrap
  2473. msgid "Concept Index"
  2474. msgstr ""
  2475. #. type: menuentry
  2476. #: guix-git/doc/guix.texi:181
  2477. msgid "Concepts."
  2478. msgstr ""
  2479. #. type: unnumbered
  2480. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35786
  2481. #: guix-git/doc/guix.texi:35787
  2482. #, no-wrap
  2483. msgid "Programming Index"
  2484. msgstr ""
  2485. #. type: menuentry
  2486. #: guix-git/doc/guix.texi:181
  2487. msgid "Data types, functions, and variables."
  2488. msgstr ""
  2489. #. type: menuentry
  2490. #: guix-git/doc/guix.texi:184
  2491. msgid "--- The Detailed Node Listing ---"
  2492. msgstr ""
  2493. #. type: section
  2494. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2495. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:417
  2496. #, no-wrap
  2497. msgid "Managing Software the Guix Way"
  2498. msgstr ""
  2499. #. type: menuentry
  2500. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2501. msgid "What's special."
  2502. msgstr ""
  2503. #. type: section
  2504. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2505. #: guix-git/doc/guix.texi:471 guix-git/doc/guix.texi:472
  2506. #, no-wrap
  2507. msgid "GNU Distribution"
  2508. msgstr ""
  2509. #. type: menuentry
  2510. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2511. msgid "The packages and tools."
  2512. msgstr ""
  2513. #. type: section
  2514. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2515. #: guix-git/doc/guix.texi:610 guix-git/doc/guix.texi:611
  2516. #, no-wrap
  2517. msgid "Binary Installation"
  2518. msgstr ""
  2519. #. type: menuentry
  2520. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2521. msgid "Getting Guix running in no time!"
  2522. msgstr ""
  2523. #. type: section
  2524. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2525. #: guix-git/doc/guix.texi:838 guix-git/doc/guix.texi:839
  2526. #, no-wrap
  2527. msgid "Requirements"
  2528. msgstr ""
  2529. #. type: menuentry
  2530. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2531. msgid "Software needed to build and run Guix."
  2532. msgstr ""
  2533. #. type: section
  2534. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2535. #: guix-git/doc/guix.texi:924 guix-git/doc/guix.texi:925
  2536. #, no-wrap
  2537. msgid "Running the Test Suite"
  2538. msgstr ""
  2539. #. type: menuentry
  2540. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2541. msgid "Testing Guix."
  2542. msgstr ""
  2543. #. type: section
  2544. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:201
  2545. #: guix-git/doc/guix.texi:608 guix-git/doc/guix.texi:1021
  2546. #: guix-git/doc/guix.texi:1022
  2547. #, no-wrap
  2548. msgid "Setting Up the Daemon"
  2549. msgstr ""
  2550. #. type: menuentry
  2551. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2552. msgid "Preparing the build daemon's environment."
  2553. msgstr ""
  2554. #. type: node
  2555. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2556. #: guix-git/doc/guix.texi:1491
  2557. #, no-wrap
  2558. msgid "Invoking guix-daemon"
  2559. msgstr ""
  2560. #. type: menuentry
  2561. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2562. msgid "Running the build daemon."
  2563. msgstr ""
  2564. #. type: section
  2565. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2566. #: guix-git/doc/guix.texi:1793 guix-git/doc/guix.texi:1794
  2567. #, no-wrap
  2568. msgid "Application Setup"
  2569. msgstr ""
  2570. #. type: menuentry
  2571. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2572. msgid "Application-specific setup."
  2573. msgstr ""
  2574. #. type: section
  2575. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2576. #: guix-git/doc/guix.texi:1978 guix-git/doc/guix.texi:1979
  2577. #, no-wrap
  2578. msgid "Upgrading Guix"
  2579. msgstr ""
  2580. #. type: menuentry
  2581. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2582. msgid "Upgrading Guix and its build daemon."
  2583. msgstr ""
  2584. #. type: subsection
  2585. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2586. #: guix-git/doc/guix.texi:1043 guix-git/doc/guix.texi:1044
  2587. #, no-wrap
  2588. msgid "Build Environment Setup"
  2589. msgstr ""
  2590. #. type: menuentry
  2591. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2592. msgid "Preparing the isolated build environment."
  2593. msgstr ""
  2594. #. type: node
  2595. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2596. #: guix-git/doc/guix.texi:1162
  2597. #, no-wrap
  2598. msgid "Daemon Offload Setup"
  2599. msgstr ""
  2600. #. type: menuentry
  2601. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2602. msgid "Offloading builds to remote machines."
  2603. msgstr ""
  2604. #. type: subsection
  2605. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2606. #: guix-git/doc/guix.texi:1400 guix-git/doc/guix.texi:1401
  2607. #, no-wrap
  2608. msgid "SELinux Support"
  2609. msgstr ""
  2610. #. type: menuentry
  2611. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2612. msgid "Using an SELinux policy for the daemon."
  2613. msgstr ""
  2614. #. type: section
  2615. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:1436
  2616. #: guix-git/doc/guix.texi:2049 guix-git/doc/guix.texi:2051
  2617. #: guix-git/doc/guix.texi:2052
  2618. #, no-wrap
  2619. msgid "Limitations"
  2620. msgstr ""
  2621. #. type: menuentry
  2622. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2623. msgid "What you can expect."
  2624. msgstr ""
  2625. #. type: section
  2626. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2627. #: guix-git/doc/guix.texi:2077 guix-git/doc/guix.texi:2078
  2628. #, no-wrap
  2629. msgid "Hardware Considerations"
  2630. msgstr ""
  2631. #. type: menuentry
  2632. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2633. msgid "Supported hardware."
  2634. msgstr ""
  2635. #. type: section
  2636. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2637. #: guix-git/doc/guix.texi:2112 guix-git/doc/guix.texi:2113
  2638. #, no-wrap
  2639. msgid "USB Stick and DVD Installation"
  2640. msgstr ""
  2641. #. type: menuentry
  2642. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2643. msgid "Preparing the installation medium."
  2644. msgstr ""
  2645. #. type: section
  2646. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2647. #: guix-git/doc/guix.texi:2193 guix-git/doc/guix.texi:2194
  2648. #, no-wrap
  2649. msgid "Preparing for Installation"
  2650. msgstr ""
  2651. #. type: menuentry
  2652. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2653. msgid "Networking, partitioning, etc."
  2654. msgstr ""
  2655. #. type: section
  2656. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2657. #: guix-git/doc/guix.texi:2216 guix-git/doc/guix.texi:2217
  2658. #, no-wrap
  2659. msgid "Guided Graphical Installation"
  2660. msgstr ""
  2661. #. type: menuentry
  2662. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2663. msgid "Easy graphical installation."
  2664. msgstr ""
  2665. #. type: section
  2666. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:219
  2667. #: guix-git/doc/guix.texi:2049 guix-git/doc/guix.texi:2247
  2668. #: guix-git/doc/guix.texi:2248
  2669. #, no-wrap
  2670. msgid "Manual Installation"
  2671. msgstr ""
  2672. #. type: menuentry
  2673. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2674. msgid "Manual installation for wizards."
  2675. msgstr ""
  2676. #. type: section
  2677. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2678. #: guix-git/doc/guix.texi:2615 guix-git/doc/guix.texi:2616
  2679. #, no-wrap
  2680. msgid "After System Installation"
  2681. msgstr ""
  2682. #. type: menuentry
  2683. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2684. msgid "When installation succeeded."
  2685. msgstr ""
  2686. #. type: node
  2687. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2688. #: guix-git/doc/guix.texi:2649
  2689. #, no-wrap
  2690. msgid "Installing Guix in a VM"
  2691. msgstr ""
  2692. #. type: menuentry
  2693. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2694. msgid "Guix System playground."
  2695. msgstr ""
  2696. #. type: section
  2697. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2698. #: guix-git/doc/guix.texi:2700 guix-git/doc/guix.texi:2701
  2699. #, no-wrap
  2700. msgid "Building the Installation Image"
  2701. msgstr ""
  2702. #. type: menuentry
  2703. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2704. msgid "How this comes to be."
  2705. msgstr ""
  2706. #. type: node
  2707. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2708. #: guix-git/doc/guix.texi:2267
  2709. #, no-wrap
  2710. msgid "Keyboard Layout and Networking and Partitioning"
  2711. msgstr ""
  2712. #. type: menuentry
  2713. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2714. msgid "Initial setup."
  2715. msgstr ""
  2716. #. type: subsection
  2717. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2718. #: guix-git/doc/guix.texi:2527 guix-git/doc/guix.texi:2528
  2719. #, no-wrap
  2720. msgid "Proceeding with the Installation"
  2721. msgstr ""
  2722. #. type: menuentry
  2723. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2724. msgid "Installing."
  2725. msgstr ""
  2726. #. type: section
  2727. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2728. #: guix-git/doc/guix.texi:2974 guix-git/doc/guix.texi:2975
  2729. #, no-wrap
  2730. msgid "Features"
  2731. msgstr "ویژگی‌ها"
  2732. #. type: menuentry
  2733. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2734. msgid "How Guix will make your life brighter."
  2735. msgstr ""
  2736. #. type: node
  2737. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2738. #: guix-git/doc/guix.texi:3064
  2739. #, no-wrap
  2740. msgid "Invoking guix package"
  2741. msgstr ""
  2742. #. type: menuentry
  2743. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2744. msgid "Package installation, removal, etc."
  2745. msgstr ""
  2746. #. type: section
  2747. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:237
  2748. #: guix-git/doc/guix.texi:2972 guix-git/doc/guix.texi:3680
  2749. #: guix-git/doc/guix.texi:3681
  2750. #, no-wrap
  2751. msgid "Substitutes"
  2752. msgstr ""
  2753. #. type: menuentry
  2754. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2755. msgid "Downloading pre-built binaries."
  2756. msgstr ""
  2757. #. type: section
  2758. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2759. #: guix-git/doc/guix.texi:4016 guix-git/doc/guix.texi:4017
  2760. #, no-wrap
  2761. msgid "Packages with Multiple Outputs"
  2762. msgstr ""
  2763. #. type: menuentry
  2764. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2765. msgid "Single source package, multiple outputs."
  2766. msgstr ""
  2767. #. type: node
  2768. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2769. #: guix-git/doc/guix.texi:4070
  2770. #, no-wrap
  2771. msgid "Invoking guix gc"
  2772. msgstr ""
  2773. #. type: menuentry
  2774. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2775. msgid "Running the garbage collector."
  2776. msgstr ""
  2777. #. type: node
  2778. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2779. #: guix-git/doc/guix.texi:4280
  2780. #, no-wrap
  2781. msgid "Invoking guix pull"
  2782. msgstr ""
  2783. #. type: menuentry
  2784. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2785. msgid "Fetching the latest Guix and distribution."
  2786. msgstr ""
  2787. #. type: node
  2788. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2789. #: guix-git/doc/guix.texi:4527
  2790. #, no-wrap
  2791. msgid "Invoking guix time-machine"
  2792. msgstr ""
  2793. #. type: menuentry
  2794. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2795. msgid "Running an older revision of Guix."
  2796. msgstr ""
  2797. #. type: section
  2798. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2799. #: guix-git/doc/guix.texi:4582 guix-git/doc/guix.texi:4583
  2800. #, no-wrap
  2801. msgid "Inferiors"
  2802. msgstr ""
  2803. #. type: menuentry
  2804. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2805. msgid "Interacting with another revision of Guix."
  2806. msgstr ""
  2807. #. type: node
  2808. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2809. #: guix-git/doc/guix.texi:4710
  2810. #, no-wrap
  2811. msgid "Invoking guix describe"
  2812. msgstr ""
  2813. #. type: menuentry
  2814. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2815. msgid "Display information about your Guix revision."
  2816. msgstr ""
  2817. #. type: node
  2818. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2819. #: guix-git/doc/guix.texi:4805
  2820. #, no-wrap
  2821. msgid "Invoking guix archive"
  2822. msgstr ""
  2823. #. type: menuentry
  2824. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2825. msgid "Exporting and importing store files."
  2826. msgstr ""
  2827. #. type: subsection
  2828. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2829. #: guix-git/doc/guix.texi:3706 guix-git/doc/guix.texi:3707
  2830. #, no-wrap
  2831. msgid "Official Substitute Servers"
  2832. msgstr ""
  2833. #. type: menuentry
  2834. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2835. msgid "One particular source of substitutes."
  2836. msgstr ""
  2837. #. type: subsection
  2838. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2839. #: guix-git/doc/guix.texi:3736 guix-git/doc/guix.texi:3737
  2840. #, no-wrap
  2841. msgid "Substitute Server Authorization"
  2842. msgstr ""
  2843. #. type: menuentry
  2844. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2845. msgid "How to enable or disable substitutes."
  2846. msgstr ""
  2847. #. type: subsection
  2848. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2849. #: guix-git/doc/guix.texi:3806 guix-git/doc/guix.texi:3807
  2850. #, no-wrap
  2851. msgid "Getting Substitutes from Other Servers"
  2852. msgstr ""
  2853. #. type: menuentry
  2854. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2855. msgid "Substitute diversity."
  2856. msgstr ""
  2857. #. type: subsection
  2858. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2859. #: guix-git/doc/guix.texi:3911 guix-git/doc/guix.texi:3912
  2860. #, no-wrap
  2861. msgid "Substitute Authentication"
  2862. msgstr ""
  2863. #. type: menuentry
  2864. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2865. msgid "How Guix verifies substitutes."
  2866. msgstr ""
  2867. #. type: subsection
  2868. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2869. #: guix-git/doc/guix.texi:3946 guix-git/doc/guix.texi:3947
  2870. #, no-wrap
  2871. msgid "Proxy Settings"
  2872. msgstr ""
  2873. #. type: menuentry
  2874. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2875. msgid "How to get substitutes via proxy."
  2876. msgstr ""
  2877. #. type: subsection
  2878. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2879. #: guix-git/doc/guix.texi:3958 guix-git/doc/guix.texi:3959
  2880. #, no-wrap
  2881. msgid "Substitution Failure"
  2882. msgstr ""
  2883. #. type: menuentry
  2884. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2885. msgid "What happens when substitution fails."
  2886. msgstr ""
  2887. #. type: subsection
  2888. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2889. #: guix-git/doc/guix.texi:3986 guix-git/doc/guix.texi:3987
  2890. #, no-wrap
  2891. msgid "On Trusting Binaries"
  2892. msgstr ""
  2893. #. type: menuentry
  2894. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2895. msgid "How can you trust that binary blob?"
  2896. msgstr ""
  2897. #. type: section
  2898. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2899. #: guix-git/doc/guix.texi:5028 guix-git/doc/guix.texi:5029
  2900. #, no-wrap
  2901. msgid "Specifying Additional Channels"
  2902. msgstr ""
  2903. #. type: menuentry
  2904. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2905. msgid "Extending the package collection."
  2906. msgstr ""
  2907. #. type: section
  2908. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2909. #: guix-git/doc/guix.texi:5078 guix-git/doc/guix.texi:5079
  2910. #, no-wrap
  2911. msgid "Using a Custom Guix Channel"
  2912. msgstr ""
  2913. #. type: menuentry
  2914. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2915. msgid "Using a customized Guix."
  2916. msgstr ""
  2917. #. type: section
  2918. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2919. #: guix-git/doc/guix.texi:5100 guix-git/doc/guix.texi:5101
  2920. #, no-wrap
  2921. msgid "Replicating Guix"
  2922. msgstr ""
  2923. #. type: menuentry
  2924. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2925. msgid "Running the @emph{exact same} Guix."
  2926. msgstr ""
  2927. #. type: section
  2928. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2929. #: guix-git/doc/guix.texi:5141 guix-git/doc/guix.texi:5142
  2930. #, no-wrap
  2931. msgid "Channel Authentication"
  2932. msgstr ""
  2933. #. type: menuentry
  2934. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2935. msgid "How Guix verifies what it fetches."
  2936. msgstr ""
  2937. #. type: section
  2938. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2939. #: guix-git/doc/guix.texi:5181 guix-git/doc/guix.texi:5182
  2940. #, no-wrap
  2941. msgid "Channels with Substitutes"
  2942. msgstr ""
  2943. #. type: menuentry
  2944. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2945. msgid "Using channels with available substitutes."
  2946. msgstr ""
  2947. #. type: section
  2948. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2949. #: guix-git/doc/guix.texi:5206 guix-git/doc/guix.texi:5207
  2950. #, no-wrap
  2951. msgid "Creating a Channel"
  2952. msgstr ""
  2953. #. type: menuentry
  2954. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2955. msgid "How to write your custom channel."
  2956. msgstr ""
  2957. #. type: section
  2958. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2959. #: guix-git/doc/guix.texi:5273 guix-git/doc/guix.texi:5274
  2960. #, no-wrap
  2961. msgid "Package Modules in a Sub-directory"
  2962. msgstr ""
  2963. #. type: menuentry
  2964. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2965. msgid "Specifying the channel's package modules location."
  2966. msgstr ""
  2967. #. type: section
  2968. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2969. #: guix-git/doc/guix.texi:5287 guix-git/doc/guix.texi:5288
  2970. #, no-wrap
  2971. msgid "Declaring Channel Dependencies"
  2972. msgstr ""
  2973. #. type: menuentry
  2974. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2975. msgid "How to depend on other channels."
  2976. msgstr ""
  2977. #. type: section
  2978. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2979. #: guix-git/doc/guix.texi:5329 guix-git/doc/guix.texi:5330
  2980. #, no-wrap
  2981. msgid "Specifying Channel Authorizations"
  2982. msgstr ""
  2983. #. type: menuentry
  2984. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2985. msgid "Defining channel authors authorizations."
  2986. msgstr ""
  2987. #. type: section
  2988. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2989. #: guix-git/doc/guix.texi:5430 guix-git/doc/guix.texi:5431
  2990. #, no-wrap
  2991. msgid "Primary URL"
  2992. msgstr ""
  2993. #. type: menuentry
  2994. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2995. msgid "Distinguishing mirror to original."
  2996. msgstr ""
  2997. #. type: section
  2998. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2999. #: guix-git/doc/guix.texi:5453 guix-git/doc/guix.texi:5454
  3000. #, no-wrap
  3001. msgid "Writing Channel News"
  3002. msgstr ""
  3003. #. type: menuentry
  3004. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3005. msgid "Communicating information to channel's users."
  3006. msgstr ""
  3007. #. type: node
  3008. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3009. #: guix-git/doc/guix.texi:5544
  3010. #, no-wrap
  3011. msgid "Invoking guix environment"
  3012. msgstr ""
  3013. #. type: menuentry
  3014. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3015. msgid "Setting up development environments."
  3016. msgstr ""
  3017. #. type: node
  3018. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3019. #: guix-git/doc/guix.texi:5904
  3020. #, no-wrap
  3021. msgid "Invoking guix pack"
  3022. msgstr ""
  3023. #. type: menuentry
  3024. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3025. msgid "Creating software bundles."
  3026. msgstr ""
  3027. #. type: section
  3028. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3029. #: guix-git/doc/guix.texi:6290 guix-git/doc/guix.texi:6291
  3030. #, no-wrap
  3031. msgid "The GCC toolchain"
  3032. msgstr ""
  3033. #. type: menuentry
  3034. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3035. msgid "Working with languages supported by GCC."
  3036. msgstr ""
  3037. #. type: node
  3038. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3039. #: guix-git/doc/guix.texi:6316
  3040. #, no-wrap
  3041. msgid "Invoking guix git authenticate"
  3042. msgstr ""
  3043. #. type: menuentry
  3044. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3045. msgid "Authenticating Git repositories."
  3046. msgstr ""
  3047. #. type: section
  3048. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3049. #: guix-git/doc/guix.texi:6420 guix-git/doc/guix.texi:6421
  3050. #, no-wrap
  3051. msgid "Package Modules"
  3052. msgstr ""
  3053. #. type: menuentry
  3054. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3055. msgid "Packages from the programmer's viewpoint."
  3056. msgstr ""
  3057. #. type: section
  3058. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:282
  3059. #: guix-git/doc/guix.texi:6418 guix-git/doc/guix.texi:6482
  3060. #: guix-git/doc/guix.texi:6483
  3061. #, no-wrap
  3062. msgid "Defining Packages"
  3063. msgstr ""
  3064. #. type: menuentry
  3065. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3066. msgid "Defining new packages."
  3067. msgstr ""
  3068. #. type: section
  3069. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3070. #: guix-git/doc/guix.texi:7051 guix-git/doc/guix.texi:7052
  3071. #, no-wrap
  3072. msgid "Defining Package Variants"
  3073. msgstr ""
  3074. #. type: menuentry
  3075. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3076. msgid "Customizing packages."
  3077. msgstr ""
  3078. #. type: section
  3079. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3080. #: guix-git/doc/guix.texi:7283 guix-git/doc/guix.texi:7284
  3081. #, no-wrap
  3082. msgid "Build Systems"
  3083. msgstr ""
  3084. #. type: menuentry
  3085. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3086. msgid "Specifying how packages are built."
  3087. msgstr ""
  3088. #. type: subsection
  3089. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3090. #: guix-git/doc/guix.texi:8313 guix-git/doc/guix.texi:8314
  3091. #: guix-git/doc/guix.texi:8717
  3092. #, no-wrap
  3093. msgid "Build Phases"
  3094. msgstr ""
  3095. #. type: menuentry
  3096. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3097. msgid "Phases of the build process of a package."
  3098. msgstr ""
  3099. #. type: section
  3100. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3101. #: guix-git/doc/guix.texi:8507 guix-git/doc/guix.texi:8508
  3102. #, no-wrap
  3103. msgid "Build Utilities"
  3104. msgstr ""
  3105. #. type: menuentry
  3106. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3107. msgid "Helpers for your package definitions and more."
  3108. msgstr ""
  3109. #. type: section
  3110. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3111. #: guix-git/doc/guix.texi:8794 guix-git/doc/guix.texi:8795
  3112. #, no-wrap
  3113. msgid "The Store"
  3114. msgstr ""
  3115. #. type: menuentry
  3116. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3117. msgid "Manipulating the package store."
  3118. msgstr ""
  3119. #. type: section
  3120. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3121. #: guix-git/doc/guix.texi:8947 guix-git/doc/guix.texi:8948
  3122. #, no-wrap
  3123. msgid "Derivations"
  3124. msgstr ""
  3125. #. type: menuentry
  3126. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3127. msgid "Low-level interface to package derivations."
  3128. msgstr ""
  3129. #. type: section
  3130. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3131. #: guix-git/doc/guix.texi:9141 guix-git/doc/guix.texi:9142
  3132. #, no-wrap
  3133. msgid "The Store Monad"
  3134. msgstr ""
  3135. #. type: menuentry
  3136. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3137. msgid "Purely functional interface to the store."
  3138. msgstr ""
  3139. #. type: section
  3140. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3141. #: guix-git/doc/guix.texi:9460 guix-git/doc/guix.texi:9461
  3142. #, no-wrap
  3143. msgid "G-Expressions"
  3144. msgstr ""
  3145. #. type: menuentry
  3146. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3147. msgid "Manipulating build expressions."
  3148. msgstr ""
  3149. #. type: node
  3150. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3151. #: guix-git/doc/guix.texi:10099
  3152. #, no-wrap
  3153. msgid "Invoking guix repl"
  3154. msgstr ""
  3155. #. type: menuentry
  3156. #: guix-git/doc/guix.texi:280
  3157. msgid "Programming Guix in Guile."
  3158. msgstr ""
  3159. #. type: node
  3160. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3161. #: guix-git/doc/guix.texi:6688
  3162. #, no-wrap
  3163. msgid "package Reference"
  3164. msgstr ""
  3165. #. type: menuentry
  3166. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3167. msgid "The package data type."
  3168. msgstr ""
  3169. #. type: node
  3170. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3171. #: guix-git/doc/guix.texi:6860
  3172. #, no-wrap
  3173. msgid "origin Reference"
  3174. msgstr ""
  3175. #. type: menuentry
  3176. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3177. msgid "The origin data type."
  3178. msgstr ""
  3179. #. type: node
  3180. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3181. #: guix-git/doc/guix.texi:10225
  3182. #, no-wrap
  3183. msgid "Invoking guix build"
  3184. msgstr ""
  3185. #. type: menuentry
  3186. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3187. msgid "Building packages from the command line."
  3188. msgstr ""
  3189. #. type: node
  3190. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3191. #: guix-git/doc/guix.texi:11061
  3192. #, no-wrap
  3193. msgid "Invoking guix edit"
  3194. msgstr ""
  3195. #. type: menuentry
  3196. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3197. msgid "Editing package definitions."
  3198. msgstr ""
  3199. #. type: node
  3200. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3201. #: guix-git/doc/guix.texi:11091
  3202. #, no-wrap
  3203. msgid "Invoking guix download"
  3204. msgstr ""
  3205. #. type: menuentry
  3206. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3207. msgid "Downloading a file and printing its hash."
  3208. msgstr ""
  3209. #. type: node
  3210. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3211. #: guix-git/doc/guix.texi:11149
  3212. #, no-wrap
  3213. msgid "Invoking guix hash"
  3214. msgstr ""
  3215. #. type: menuentry
  3216. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3217. msgid "Computing the cryptographic hash of a file."
  3218. msgstr ""
  3219. #. type: node
  3220. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3221. #: guix-git/doc/guix.texi:11221
  3222. #, no-wrap
  3223. msgid "Invoking guix import"
  3224. msgstr ""
  3225. #. type: menuentry
  3226. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3227. msgid "Importing package definitions."
  3228. msgstr ""
  3229. #. type: node
  3230. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3231. #: guix-git/doc/guix.texi:11747
  3232. #, no-wrap
  3233. msgid "Invoking guix refresh"
  3234. msgstr ""
  3235. #. type: menuentry
  3236. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3237. msgid "Updating package definitions."
  3238. msgstr ""
  3239. #. type: node
  3240. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3241. #: guix-git/doc/guix.texi:12085
  3242. #, no-wrap
  3243. msgid "Invoking guix lint"
  3244. msgstr ""
  3245. #. type: menuentry
  3246. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3247. msgid "Finding errors in package definitions."
  3248. msgstr ""
  3249. #. type: node
  3250. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3251. #: guix-git/doc/guix.texi:12254
  3252. #, no-wrap
  3253. msgid "Invoking guix size"
  3254. msgstr ""
  3255. #. type: menuentry
  3256. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3257. msgid "Profiling disk usage."
  3258. msgstr ""
  3259. #. type: node
  3260. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3261. #: guix-git/doc/guix.texi:12398
  3262. #, no-wrap
  3263. msgid "Invoking guix graph"
  3264. msgstr ""
  3265. #. type: menuentry
  3266. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3267. msgid "Visualizing the graph of packages."
  3268. msgstr ""
  3269. #. type: node
  3270. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3271. #: guix-git/doc/guix.texi:12665
  3272. #, no-wrap
  3273. msgid "Invoking guix publish"
  3274. msgstr ""
  3275. #. type: menuentry
  3276. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3277. msgid "Sharing substitutes."
  3278. msgstr ""
  3279. #. type: node
  3280. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3281. #: guix-git/doc/guix.texi:12934
  3282. #, no-wrap
  3283. msgid "Invoking guix challenge"
  3284. msgstr ""
  3285. #. type: menuentry
  3286. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3287. msgid "Challenging substitute servers."
  3288. msgstr ""
  3289. #. type: node
  3290. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3291. #: guix-git/doc/guix.texi:13117
  3292. #, no-wrap
  3293. msgid "Invoking guix copy"
  3294. msgstr ""
  3295. #. type: menuentry
  3296. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3297. msgid "Copying to and from a remote store."
  3298. msgstr ""
  3299. #. type: node
  3300. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3301. #: guix-git/doc/guix.texi:13180
  3302. #, no-wrap
  3303. msgid "Invoking guix container"
  3304. msgstr ""
  3305. #. type: menuentry
  3306. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3307. msgid "Process isolation."
  3308. msgstr ""
  3309. #. type: node
  3310. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3311. #: guix-git/doc/guix.texi:13234
  3312. #, no-wrap
  3313. msgid "Invoking guix weather"
  3314. msgstr ""
  3315. #. type: menuentry
  3316. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3317. msgid "Assessing substitute availability."
  3318. msgstr ""
  3319. #. type: node
  3320. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3321. #: guix-git/doc/guix.texi:13364
  3322. #, no-wrap
  3323. msgid "Invoking guix processes"
  3324. msgstr ""
  3325. #. type: menuentry
  3326. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3327. msgid "Listing client processes."
  3328. msgstr ""
  3329. #. type: section
  3330. #: guix-git/doc/guix.texi:305 guix-git/doc/guix.texi:10226
  3331. #, no-wrap
  3332. msgid "Invoking @command{guix build}"
  3333. msgstr ""
  3334. #. type: subsection
  3335. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3336. #: guix-git/doc/guix.texi:10279 guix-git/doc/guix.texi:10280
  3337. #, no-wrap
  3338. msgid "Common Build Options"
  3339. msgstr ""
  3340. #. type: menuentry
  3341. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3342. msgid "Build options for most commands."
  3343. msgstr ""
  3344. #. type: subsection
  3345. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3346. #: guix-git/doc/guix.texi:10434 guix-git/doc/guix.texi:10435
  3347. #, no-wrap
  3348. msgid "Package Transformation Options"
  3349. msgstr ""
  3350. #. type: menuentry
  3351. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3352. msgid "Creating variants of packages."
  3353. msgstr ""
  3354. #. type: subsection
  3355. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3356. #: guix-git/doc/guix.texi:10743 guix-git/doc/guix.texi:10744
  3357. #, no-wrap
  3358. msgid "Additional Build Options"
  3359. msgstr ""
  3360. #. type: menuentry
  3361. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3362. msgid "Options specific to 'guix build'."
  3363. msgstr ""
  3364. #. type: subsection
  3365. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3366. #: guix-git/doc/guix.texi:10981 guix-git/doc/guix.texi:10982
  3367. #, no-wrap
  3368. msgid "Debugging Build Failures"
  3369. msgstr ""
  3370. #. type: menuentry
  3371. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3372. msgid "Real life packaging experience."
  3373. msgstr ""
  3374. #. type: section
  3375. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3376. #: guix-git/doc/guix.texi:13507 guix-git/doc/guix.texi:13508
  3377. #, no-wrap
  3378. msgid "Using the Configuration System"
  3379. msgstr ""
  3380. #. type: menuentry
  3381. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3382. msgid "Customizing your GNU system."
  3383. msgstr ""
  3384. #. type: node
  3385. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3386. #: guix-git/doc/guix.texi:13758
  3387. #, no-wrap
  3388. msgid "operating-system Reference"
  3389. msgstr ""
  3390. #. type: menuentry
  3391. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3392. msgid "Detail of operating-system declarations."
  3393. msgstr ""
  3394. #. type: section
  3395. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3396. #: guix-git/doc/guix.texi:14010 guix-git/doc/guix.texi:14011
  3397. #, no-wrap
  3398. msgid "File Systems"
  3399. msgstr ""
  3400. #. type: menuentry
  3401. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3402. msgid "Configuring file system mounts."
  3403. msgstr ""
  3404. #. type: section
  3405. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3406. #: guix-git/doc/guix.texi:14333 guix-git/doc/guix.texi:14334
  3407. #, no-wrap
  3408. msgid "Mapped Devices"
  3409. msgstr ""
  3410. #. type: menuentry
  3411. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3412. msgid "Block device extra processing."
  3413. msgstr ""
  3414. #. type: section
  3415. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3416. #: guix-git/doc/guix.texi:14481 guix-git/doc/guix.texi:14482
  3417. #, no-wrap
  3418. msgid "User Accounts"
  3419. msgstr ""
  3420. #. type: menuentry
  3421. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3422. msgid "Specifying user accounts."
  3423. msgstr ""
  3424. #. type: section
  3425. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:2274
  3426. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:14657
  3427. #: guix-git/doc/guix.texi:14658
  3428. #, no-wrap
  3429. msgid "Keyboard Layout"
  3430. msgstr ""
  3431. #. type: menuentry
  3432. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3433. msgid "How the system interprets key strokes."
  3434. msgstr ""
  3435. #. type: section
  3436. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:1801
  3437. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:14803
  3438. #: guix-git/doc/guix.texi:14804
  3439. #, no-wrap
  3440. msgid "Locales"
  3441. msgstr ""
  3442. #. type: menuentry
  3443. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3444. msgid "Language and cultural convention settings."
  3445. msgstr ""
  3446. #. type: section
  3447. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:332
  3448. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:14943
  3449. #: guix-git/doc/guix.texi:14944
  3450. #, no-wrap
  3451. msgid "Services"
  3452. msgstr ""
  3453. #. type: menuentry
  3454. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3455. msgid "Specifying system services."
  3456. msgstr ""
  3457. #. type: section
  3458. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3459. #: guix-git/doc/guix.texi:32688 guix-git/doc/guix.texi:32689
  3460. #, no-wrap
  3461. msgid "Setuid Programs"
  3462. msgstr ""
  3463. #. type: menuentry
  3464. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3465. msgid "Programs running with root privileges."
  3466. msgstr ""
  3467. #. type: section
  3468. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:1950
  3469. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:32761
  3470. #: guix-git/doc/guix.texi:32762
  3471. #, no-wrap
  3472. msgid "X.509 Certificates"
  3473. msgstr ""
  3474. #. type: menuentry
  3475. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3476. msgid "Authenticating HTTPS servers."
  3477. msgstr ""
  3478. #. type: section
  3479. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:1844
  3480. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:32824
  3481. #: guix-git/doc/guix.texi:32825
  3482. #, no-wrap
  3483. msgid "Name Service Switch"
  3484. msgstr ""
  3485. #. type: menuentry
  3486. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3487. msgid "Configuring libc's name service switch."
  3488. msgstr ""
  3489. #. type: section
  3490. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3491. #: guix-git/doc/guix.texi:32962 guix-git/doc/guix.texi:32963
  3492. #, no-wrap
  3493. msgid "Initial RAM Disk"
  3494. msgstr ""
  3495. #. type: menuentry
  3496. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3497. msgid "Linux-Libre bootstrapping."
  3498. msgstr ""
  3499. #. type: section
  3500. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3501. #: guix-git/doc/guix.texi:33138 guix-git/doc/guix.texi:33139
  3502. #, no-wrap
  3503. msgid "Bootloader Configuration"
  3504. msgstr ""
  3505. #. type: menuentry
  3506. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3507. msgid "Configuring the boot loader."
  3508. msgstr ""
  3509. #. type: node
  3510. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3511. #: guix-git/doc/guix.texi:33432
  3512. #, no-wrap
  3513. msgid "Invoking guix system"
  3514. msgstr ""
  3515. #. type: menuentry
  3516. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3517. msgid "Instantiating a system configuration."
  3518. msgstr ""
  3519. #. type: node
  3520. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3521. #: guix-git/doc/guix.texi:34017
  3522. #, no-wrap
  3523. msgid "Invoking guix deploy"
  3524. msgstr ""
  3525. #. type: menuentry
  3526. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3527. msgid "Deploying a system configuration to a remote host."
  3528. msgstr ""
  3529. #. type: node
  3530. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3531. #: guix-git/doc/guix.texi:34223
  3532. #, no-wrap
  3533. msgid "Running Guix in a VM"
  3534. msgstr ""
  3535. #. type: menuentry
  3536. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3537. msgid "How to run Guix System in a virtual machine."
  3538. msgstr ""
  3539. #. type: section
  3540. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:367
  3541. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:34357
  3542. #: guix-git/doc/guix.texi:34358
  3543. #, no-wrap
  3544. msgid "Defining Services"
  3545. msgstr ""
  3546. #. type: menuentry
  3547. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3548. msgid "Adding new service definitions."
  3549. msgstr ""
  3550. #. type: subsection
  3551. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3552. #: guix-git/doc/guix.texi:15028 guix-git/doc/guix.texi:15029
  3553. #, no-wrap
  3554. msgid "Base Services"
  3555. msgstr ""
  3556. #. type: menuentry
  3557. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3558. msgid "Essential system services."
  3559. msgstr ""
  3560. #. type: subsection
  3561. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3562. #: guix-git/doc/guix.texi:15955 guix-git/doc/guix.texi:15956
  3563. #, no-wrap
  3564. msgid "Scheduled Job Execution"
  3565. msgstr ""
  3566. #. type: menuentry
  3567. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3568. msgid "The mcron service."
  3569. msgstr ""
  3570. #. type: subsection
  3571. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3572. #: guix-git/doc/guix.texi:16105 guix-git/doc/guix.texi:16106
  3573. #, no-wrap
  3574. msgid "Log Rotation"
  3575. msgstr ""
  3576. #. type: menuentry
  3577. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3578. msgid "The rottlog service."
  3579. msgstr ""
  3580. #. type: subsection
  3581. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3582. #: guix-git/doc/guix.texi:16218 guix-git/doc/guix.texi:16219
  3583. #, no-wrap
  3584. msgid "Networking Services"
  3585. msgstr ""
  3586. #. type: menuentry
  3587. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3588. msgid "Network setup, SSH daemon, etc."
  3589. msgstr ""
  3590. #. type: subsection
  3591. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3592. #: guix-git/doc/guix.texi:17883 guix-git/doc/guix.texi:17884
  3593. #, no-wrap
  3594. msgid "Unattended Upgrades"
  3595. msgstr ""
  3596. #. type: menuentry
  3597. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3598. msgid "Automated system upgrades."
  3599. msgstr ""
  3600. #. type: subsection
  3601. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3602. #: guix-git/doc/guix.texi:18021 guix-git/doc/guix.texi:18022
  3603. #, no-wrap
  3604. msgid "X Window"
  3605. msgstr ""
  3606. #. type: menuentry
  3607. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3608. msgid "Graphical display."
  3609. msgstr ""
  3610. #. type: subsection
  3611. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3612. #: guix-git/doc/guix.texi:18406 guix-git/doc/guix.texi:18407
  3613. #, no-wrap
  3614. msgid "Printing Services"
  3615. msgstr ""
  3616. #. type: menuentry
  3617. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3618. msgid "Local and remote printer support."
  3619. msgstr ""
  3620. #. type: subsection
  3621. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3622. #: guix-git/doc/guix.texi:19253 guix-git/doc/guix.texi:19254
  3623. #, no-wrap
  3624. msgid "Desktop Services"
  3625. msgstr ""
  3626. #. type: menuentry
  3627. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3628. msgid "D-Bus and desktop services."
  3629. msgstr ""
  3630. #. type: subsection
  3631. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3632. #: guix-git/doc/guix.texi:19771 guix-git/doc/guix.texi:19772
  3633. #, no-wrap
  3634. msgid "Sound Services"
  3635. msgstr ""
  3636. #. type: menuentry
  3637. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3638. msgid "ALSA and Pulseaudio services."
  3639. msgstr ""
  3640. #. type: subsection
  3641. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3642. #: guix-git/doc/guix.texi:19911 guix-git/doc/guix.texi:19912
  3643. #, no-wrap
  3644. msgid "Database Services"
  3645. msgstr ""
  3646. #. type: menuentry
  3647. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3648. msgid "SQL databases, key-value stores, etc."
  3649. msgstr ""
  3650. #. type: subsection
  3651. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3652. #: guix-git/doc/guix.texi:20246 guix-git/doc/guix.texi:20247
  3653. #, no-wrap
  3654. msgid "Mail Services"
  3655. msgstr ""
  3656. #. type: menuentry
  3657. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3658. msgid "IMAP, POP3, SMTP, and all that."
  3659. msgstr ""
  3660. #. type: subsection
  3661. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3662. #: guix-git/doc/guix.texi:22105 guix-git/doc/guix.texi:22106
  3663. #, no-wrap
  3664. msgid "Messaging Services"
  3665. msgstr ""
  3666. #. type: menuentry
  3667. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3668. msgid "Messaging services."
  3669. msgstr ""
  3670. #. type: subsection
  3671. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3672. #: guix-git/doc/guix.texi:22608 guix-git/doc/guix.texi:22609
  3673. #, no-wrap
  3674. msgid "Telephony Services"
  3675. msgstr ""
  3676. #. type: menuentry
  3677. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3678. msgid "Telephony services."
  3679. msgstr ""
  3680. #. type: subsection
  3681. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3682. #: guix-git/doc/guix.texi:23839 guix-git/doc/guix.texi:23840
  3683. #, no-wrap
  3684. msgid "Monitoring Services"
  3685. msgstr ""
  3686. #. type: menuentry
  3687. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3688. msgid "Monitoring services."
  3689. msgstr ""
  3690. #. type: subsection
  3691. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3692. #: guix-git/doc/guix.texi:24350 guix-git/doc/guix.texi:24351
  3693. #, no-wrap
  3694. msgid "Kerberos Services"
  3695. msgstr ""
  3696. #. type: menuentry
  3697. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3698. msgid "Kerberos services."
  3699. msgstr ""
  3700. #. type: subsection
  3701. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3702. #: guix-git/doc/guix.texi:24476 guix-git/doc/guix.texi:24477
  3703. #, no-wrap
  3704. msgid "LDAP Services"
  3705. msgstr ""
  3706. #. type: menuentry
  3707. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3708. msgid "LDAP services."
  3709. msgstr ""
  3710. #. type: subsection
  3711. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3712. #: guix-git/doc/guix.texi:24955 guix-git/doc/guix.texi:24956
  3713. #, no-wrap
  3714. msgid "Web Services"
  3715. msgstr ""
  3716. #. type: menuentry
  3717. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3718. msgid "Web servers."
  3719. msgstr ""
  3720. #. type: subsection
  3721. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3722. #: guix-git/doc/guix.texi:26156 guix-git/doc/guix.texi:26157
  3723. #, no-wrap
  3724. msgid "Certificate Services"
  3725. msgstr ""
  3726. #. type: menuentry
  3727. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3728. msgid "TLS certificates via Let's Encrypt."
  3729. msgstr ""
  3730. #. type: subsection
  3731. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3732. #: guix-git/doc/guix.texi:26337 guix-git/doc/guix.texi:26338
  3733. #, no-wrap
  3734. msgid "DNS Services"
  3735. msgstr ""
  3736. #. type: menuentry
  3737. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3738. msgid "DNS daemons."
  3739. msgstr ""
  3740. #. type: subsection
  3741. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3742. #: guix-git/doc/guix.texi:27085 guix-git/doc/guix.texi:27086
  3743. #, no-wrap
  3744. msgid "VPN Services"
  3745. msgstr ""
  3746. #. type: menuentry
  3747. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3748. msgid "VPN daemons."
  3749. msgstr ""
  3750. #. type: subsection
  3751. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3752. #: guix-git/doc/guix.texi:27591 guix-git/doc/guix.texi:27592
  3753. #, no-wrap
  3754. msgid "Network File System"
  3755. msgstr ""
  3756. #. type: menuentry
  3757. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3758. msgid "NFS related services."
  3759. msgstr ""
  3760. #. type: subsection
  3761. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3762. #: guix-git/doc/guix.texi:27787 guix-git/doc/guix.texi:27788
  3763. #, no-wrap
  3764. msgid "Continuous Integration"
  3765. msgstr ""
  3766. #. type: menuentry
  3767. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3768. msgid "Cuirass and Laminar services."
  3769. msgstr ""
  3770. #. type: subsection
  3771. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3772. #: guix-git/doc/guix.texi:28073 guix-git/doc/guix.texi:28074
  3773. #, no-wrap
  3774. msgid "Power Management Services"
  3775. msgstr ""
  3776. #. type: menuentry
  3777. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3778. msgid "Extending battery life."
  3779. msgstr ""
  3780. #. type: subsection
  3781. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3782. #: guix-git/doc/guix.texi:28607 guix-git/doc/guix.texi:28608
  3783. #, no-wrap
  3784. msgid "Audio Services"
  3785. msgstr ""
  3786. #. type: menuentry
  3787. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3788. msgid "The MPD."
  3789. msgstr ""
  3790. #. type: subsection
  3791. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3792. #: guix-git/doc/guix.texi:28726 guix-git/doc/guix.texi:28727
  3793. #, no-wrap
  3794. msgid "Virtualization Services"
  3795. msgstr ""
  3796. #. type: menuentry
  3797. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3798. msgid "Virtualization services."
  3799. msgstr ""
  3800. #. type: subsection
  3801. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3802. #: guix-git/doc/guix.texi:30341 guix-git/doc/guix.texi:30342
  3803. #, no-wrap
  3804. msgid "Version Control Services"
  3805. msgstr ""
  3806. #. type: menuentry
  3807. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3808. msgid "Providing remote access to Git repositories."
  3809. msgstr ""
  3810. #. type: subsection
  3811. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3812. #: guix-git/doc/guix.texi:31533 guix-git/doc/guix.texi:31534
  3813. #, no-wrap
  3814. msgid "Game Services"
  3815. msgstr ""
  3816. #. type: menuentry
  3817. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3818. msgid "Game servers."
  3819. msgstr ""
  3820. #. type: subsection
  3821. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3822. #: guix-git/doc/guix.texi:31565 guix-git/doc/guix.texi:31566
  3823. #, no-wrap
  3824. msgid "PAM Mount Service"
  3825. msgstr ""
  3826. #. type: menuentry
  3827. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3828. msgid "Service to mount volumes when logging in."
  3829. msgstr ""
  3830. #. type: subsection
  3831. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3832. #: guix-git/doc/guix.texi:31648 guix-git/doc/guix.texi:31649
  3833. #, no-wrap
  3834. msgid "Guix Services"
  3835. msgstr ""
  3836. #. type: menuentry
  3837. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3838. msgid "Services relating specifically to Guix."
  3839. msgstr ""
  3840. #. type: subsection
  3841. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3842. #: guix-git/doc/guix.texi:31932 guix-git/doc/guix.texi:31933
  3843. #, no-wrap
  3844. msgid "Linux Services"
  3845. msgstr ""
  3846. #. type: menuentry
  3847. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3848. msgid "Services tied to the Linux kernel."
  3849. msgstr ""
  3850. #. type: subsection
  3851. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3852. #: guix-git/doc/guix.texi:32159 guix-git/doc/guix.texi:32160
  3853. #, no-wrap
  3854. msgid "Hurd Services"
  3855. msgstr ""
  3856. #. type: menuentry
  3857. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3858. msgid "Services specific for a Hurd System."
  3859. msgstr ""
  3860. #. type: subsection
  3861. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3862. #: guix-git/doc/guix.texi:32201 guix-git/doc/guix.texi:32202
  3863. #, no-wrap
  3864. msgid "Miscellaneous Services"
  3865. msgstr ""
  3866. #. type: menuentry
  3867. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3868. msgid "Other services."
  3869. msgstr ""
  3870. #. type: subsection
  3871. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3872. #: guix-git/doc/guix.texi:34371 guix-git/doc/guix.texi:34372
  3873. #, no-wrap
  3874. msgid "Service Composition"
  3875. msgstr ""
  3876. #. type: menuentry
  3877. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3878. msgid "The model for composing services."
  3879. msgstr ""
  3880. #. type: subsection
  3881. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3882. #: guix-git/doc/guix.texi:34427 guix-git/doc/guix.texi:34428
  3883. #, no-wrap
  3884. msgid "Service Types and Services"
  3885. msgstr ""
  3886. #. type: menuentry
  3887. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3888. msgid "Types and services."
  3889. msgstr ""
  3890. #. type: subsection
  3891. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3892. #: guix-git/doc/guix.texi:34564 guix-git/doc/guix.texi:34565
  3893. #, no-wrap
  3894. msgid "Service Reference"
  3895. msgstr ""
  3896. #. type: menuentry
  3897. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3898. msgid "API reference."
  3899. msgstr ""
  3900. #. type: subsection
  3901. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3902. #: guix-git/doc/guix.texi:34874 guix-git/doc/guix.texi:34875
  3903. #, no-wrap
  3904. msgid "Shepherd Services"
  3905. msgstr ""
  3906. #. type: menuentry
  3907. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3908. msgid "A particular type of service."
  3909. msgstr ""
  3910. #. type: section
  3911. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  3912. #: guix-git/doc/guix.texi:35177 guix-git/doc/guix.texi:35178
  3913. #, no-wrap
  3914. msgid "Separate Debug Info"
  3915. msgstr ""
  3916. #. type: menuentry
  3917. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  3918. msgid "Installing 'debug' outputs."
  3919. msgstr ""
  3920. #. type: section
  3921. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  3922. #: guix-git/doc/guix.texi:35236 guix-git/doc/guix.texi:35237
  3923. #, no-wrap
  3924. msgid "Rebuilding Debug Info"
  3925. msgstr ""
  3926. #. type: menuentry
  3927. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  3928. msgid "Building missing debug info."
  3929. msgstr ""
  3930. #. type: node
  3931. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  3932. #: guix-git/doc/guix.texi:35455
  3933. #, no-wrap
  3934. msgid "Reduced Binary Seed Bootstrap"
  3935. msgstr ""
  3936. #. type: menuentry
  3937. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  3938. msgid "A Bootstrap worthy of GNU."
  3939. msgstr ""
  3940. #. type: section
  3941. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  3942. #: guix-git/doc/guix.texi:35530 guix-git/doc/guix.texi:35531
  3943. #, no-wrap
  3944. msgid "Preparing to Use the Bootstrap Binaries"
  3945. msgstr ""
  3946. #. type: menuentry
  3947. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  3948. msgid "Building that what matters most."
  3949. msgstr ""
  3950. #. type: cindex
  3951. #: guix-git/doc/guix.texi:390
  3952. #, no-wrap
  3953. msgid "purpose"
  3954. msgstr ""
  3955. #. type: Plain text
  3956. #: guix-git/doc/guix.texi:398
  3957. 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."
  3958. msgstr ""
  3959. #. type: cindex
  3960. #: guix-git/doc/guix.texi:399 guix-git/doc/guix.texi:474
  3961. #, no-wrap
  3962. msgid "Guix System"
  3963. msgstr ""
  3964. #. type: cindex
  3965. #: guix-git/doc/guix.texi:400
  3966. #, no-wrap
  3967. msgid "GuixSD, now Guix System"
  3968. msgstr ""
  3969. #. type: cindex
  3970. #: guix-git/doc/guix.texi:401
  3971. #, no-wrap
  3972. msgid "Guix System Distribution, now Guix System"
  3973. msgstr ""
  3974. #. type: Plain text
  3975. #: guix-git/doc/guix.texi:410
  3976. 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}."
  3977. msgstr ""
  3978. #. type: cindex
  3979. #: guix-git/doc/guix.texi:419
  3980. #, no-wrap
  3981. msgid "user interfaces"
  3982. msgstr ""
  3983. #. type: Plain text
  3984. #: guix-git/doc/guix.texi:425
  3985. 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})."
  3986. msgstr ""
  3987. #. type: cindex
  3988. #: guix-git/doc/guix.texi:425
  3989. #, no-wrap
  3990. msgid "build daemon"
  3991. msgstr ""
  3992. #. type: Plain text
  3993. #: guix-git/doc/guix.texi:429
  3994. 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})."
  3995. msgstr ""
  3996. #. type: cindex
  3997. #: guix-git/doc/guix.texi:430
  3998. #, no-wrap
  3999. msgid "extensibility of the distribution"
  4000. msgstr ""
  4001. #. type: cindex
  4002. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:6442
  4003. #, no-wrap
  4004. msgid "customization, of packages"
  4005. msgstr ""
  4006. #. type: Plain text
  4007. #: guix-git/doc/guix.texi:440
  4008. 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})."
  4009. msgstr ""
  4010. #. type: cindex
  4011. #: guix-git/doc/guix.texi:441
  4012. #, no-wrap
  4013. msgid "functional package management"
  4014. msgstr ""
  4015. #. type: cindex
  4016. #: guix-git/doc/guix.texi:442
  4017. #, no-wrap
  4018. msgid "isolation"
  4019. msgstr ""
  4020. #. type: Plain text
  4021. #: guix-git/doc/guix.texi:457
  4022. 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."
  4023. msgstr ""
  4024. #. type: cindex
  4025. #: guix-git/doc/guix.texi:458 guix-git/doc/guix.texi:8797
  4026. #, no-wrap
  4027. msgid "store"
  4028. msgstr ""
  4029. #. type: Plain text
  4030. #: guix-git/doc/guix.texi:465
  4031. 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."
  4032. msgstr ""
  4033. #. type: Plain text
  4034. #: guix-git/doc/guix.texi:469
  4035. 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})."
  4036. msgstr ""
  4037. #. type: Plain text
  4038. #: guix-git/doc/guix.texi:484
  4039. 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."
  4040. msgstr ""
  4041. #. type: Plain text
  4042. #: guix-git/doc/guix.texi:490
  4043. 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}):"
  4044. msgstr ""
  4045. #. type: example
  4046. #: guix-git/doc/guix.texi:493
  4047. #, no-wrap
  4048. msgid "guix package --list-available\n"
  4049. msgstr ""
  4050. #. type: Plain text
  4051. #: guix-git/doc/guix.texi:499
  4052. 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."
  4053. msgstr ""
  4054. #. type: Plain text
  4055. #: guix-git/doc/guix.texi:501
  4056. msgid "Packages are currently available on the following platforms:"
  4057. msgstr ""
  4058. #. type: item
  4059. #: guix-git/doc/guix.texi:504 guix-git/doc/guix.texi:2121
  4060. #, no-wrap
  4061. msgid "x86_64-linux"
  4062. msgstr ""
  4063. #. type: table
  4064. #: guix-git/doc/guix.texi:506
  4065. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4066. msgstr ""
  4067. #. type: item
  4068. #: guix-git/doc/guix.texi:507 guix-git/doc/guix.texi:2124
  4069. #, no-wrap
  4070. msgid "i686-linux"
  4071. msgstr ""
  4072. #. type: table
  4073. #: guix-git/doc/guix.texi:509
  4074. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4075. msgstr ""
  4076. #. type: item
  4077. #: guix-git/doc/guix.texi:510
  4078. #, no-wrap
  4079. msgid "armhf-linux"
  4080. msgstr ""
  4081. #. type: table
  4082. #: guix-git/doc/guix.texi:514
  4083. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4084. msgstr ""
  4085. #. type: item
  4086. #: guix-git/doc/guix.texi:515
  4087. #, no-wrap
  4088. msgid "aarch64-linux"
  4089. msgstr ""
  4090. #. type: table
  4091. #: guix-git/doc/guix.texi:517
  4092. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4093. msgstr ""
  4094. #. type: item
  4095. #: guix-git/doc/guix.texi:518
  4096. #, no-wrap
  4097. msgid "i586-gnu"
  4098. msgstr ""
  4099. #. type: table
  4100. #: guix-git/doc/guix.texi:521
  4101. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4102. msgstr ""
  4103. #. type: table
  4104. #: guix-git/doc/guix.texi:527
  4105. 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!"
  4106. msgstr ""
  4107. #. type: item
  4108. #: guix-git/doc/guix.texi:528
  4109. #, no-wrap
  4110. msgid "mips64el-linux (deprecated)"
  4111. msgstr ""
  4112. #. type: table
  4113. #: guix-git/doc/guix.texi:534
  4114. 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."
  4115. msgstr ""
  4116. #. type: table
  4117. #: guix-git/doc/guix.texi:545
  4118. 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!"
  4119. msgstr ""
  4120. #. type: Plain text
  4121. #: guix-git/doc/guix.texi:555
  4122. 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."
  4123. msgstr ""
  4124. #. type: Plain text
  4125. #: guix-git/doc/guix.texi:558
  4126. msgid "Guix System is available on all the above platforms except @code{mips64el-linux} and @code{powerpc64le-linux}."
  4127. msgstr ""
  4128. #. type: Plain text
  4129. #: guix-git/doc/guix.texi:562
  4130. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4131. msgstr ""
  4132. #. type: Plain text
  4133. #: guix-git/doc/guix.texi:565
  4134. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4135. msgstr ""
  4136. #. type: cindex
  4137. #: guix-git/doc/guix.texi:571
  4138. #, no-wrap
  4139. msgid "installing Guix"
  4140. msgstr ""
  4141. #. type: quotation
  4142. #: guix-git/doc/guix.texi:583
  4143. 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."
  4144. msgstr ""
  4145. #. type: cindex
  4146. #: guix-git/doc/guix.texi:585 guix-git/doc/guix.texi:1796
  4147. #, no-wrap
  4148. msgid "foreign distro"
  4149. msgstr ""
  4150. #. type: cindex
  4151. #: guix-git/doc/guix.texi:586
  4152. #, no-wrap
  4153. msgid "directories related to foreign distro"
  4154. msgstr ""
  4155. #. type: Plain text
  4156. #: guix-git/doc/guix.texi:591
  4157. 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."
  4158. msgstr ""
  4159. #. type: Plain text
  4160. #: guix-git/doc/guix.texi:594
  4161. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4162. msgstr ""
  4163. #. type: Plain text
  4164. #: guix-git/doc/guix.texi:599
  4165. 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."
  4166. msgstr ""
  4167. #. type: cindex
  4168. #: guix-git/doc/guix.texi:613
  4169. #, no-wrap
  4170. msgid "installing Guix from binaries"
  4171. msgstr ""
  4172. #. type: cindex
  4173. #: guix-git/doc/guix.texi:614
  4174. #, no-wrap
  4175. msgid "installer script"
  4176. msgstr ""
  4177. #. type: Plain text
  4178. #: guix-git/doc/guix.texi:620
  4179. 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."
  4180. msgstr ""
  4181. #. type: quotation
  4182. #: guix-git/doc/guix.texi:628
  4183. 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:"
  4184. msgstr ""
  4185. #. type: example
  4186. #: guix-git/doc/guix.texi:634
  4187. #, no-wrap
  4188. msgid ""
  4189. "cd /tmp\n"
  4190. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4191. "chmod +x guix-install.sh\n"
  4192. "./guix-install.sh\n"
  4193. msgstr ""
  4194. #. type: quotation
  4195. #: guix-git/doc/guix.texi:638
  4196. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4197. msgstr ""
  4198. #. type: Plain text
  4199. #: guix-git/doc/guix.texi:641
  4200. msgid "Installing goes along these lines:"
  4201. msgstr ""
  4202. #. type: cindex
  4203. #: guix-git/doc/guix.texi:644
  4204. #, no-wrap
  4205. msgid "downloading Guix binary"
  4206. msgstr ""
  4207. #. type: enumerate
  4208. #: guix-git/doc/guix.texi:650
  4209. 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})."
  4210. msgstr ""
  4211. #. type: enumerate
  4212. #: guix-git/doc/guix.texi:654
  4213. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4214. msgstr ""
  4215. #. type: example
  4216. #: guix-git/doc/guix.texi:658
  4217. #, no-wrap
  4218. msgid ""
  4219. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4220. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4221. msgstr ""
  4222. #. type: Plain text
  4223. #: guix-git/doc/guix.texi:662 guix-git/doc/guix.texi:2139
  4224. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4225. msgstr ""
  4226. #. type: example
  4227. #: guix-git/doc/guix.texi:666
  4228. #, no-wrap
  4229. msgid ""
  4230. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4231. " -qO - | gpg --import -\n"
  4232. msgstr ""
  4233. #. type: Plain text
  4234. #: guix-git/doc/guix.texi:670 guix-git/doc/guix.texi:2147
  4235. msgid "and rerun the @code{gpg --verify} command."
  4236. msgstr ""
  4237. #. type: Plain text
  4238. #: guix-git/doc/guix.texi:673 guix-git/doc/guix.texi:2150
  4239. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4240. msgstr ""
  4241. #. type: enumerate
  4242. #: guix-git/doc/guix.texi:679
  4243. 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:"
  4244. msgstr ""
  4245. #. type: example
  4246. #: guix-git/doc/guix.texi:685
  4247. #, no-wrap
  4248. msgid ""
  4249. "# cd /tmp\n"
  4250. "# tar --warning=no-timestamp -xf \\\n"
  4251. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4252. "# mv var/guix /var/ && mv gnu /\n"
  4253. msgstr ""
  4254. #. type: enumerate
  4255. #: guix-git/doc/guix.texi:690
  4256. 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)."
  4257. msgstr ""
  4258. #. type: enumerate
  4259. #: guix-git/doc/guix.texi:693
  4260. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4261. msgstr ""
  4262. #. type: enumerate
  4263. #: guix-git/doc/guix.texi:703
  4264. 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."
  4265. msgstr ""
  4266. #. type: enumerate
  4267. #: guix-git/doc/guix.texi:707
  4268. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4269. msgstr ""
  4270. #. type: example
  4271. #: guix-git/doc/guix.texi:712
  4272. #, no-wrap
  4273. msgid ""
  4274. "# mkdir -p ~root/.config/guix\n"
  4275. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4276. " ~root/.config/guix/current\n"
  4277. msgstr ""
  4278. #. type: enumerate
  4279. #: guix-git/doc/guix.texi:716
  4280. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4281. msgstr ""
  4282. #. type: example
  4283. #: guix-git/doc/guix.texi:720
  4284. #, no-wrap
  4285. msgid ""
  4286. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4287. " source $GUIX_PROFILE/etc/profile\n"
  4288. msgstr ""
  4289. #. type: enumerate
  4290. #: guix-git/doc/guix.texi:725
  4291. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4292. msgstr ""
  4293. #. type: enumerate
  4294. #: guix-git/doc/guix.texi:728
  4295. msgid "Run the daemon, and set it to automatically start on boot."
  4296. msgstr ""
  4297. #. type: enumerate
  4298. #: guix-git/doc/guix.texi:731
  4299. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4300. msgstr ""
  4301. #. type: example
  4302. #: guix-git/doc/guix.texi:744
  4303. #, no-wrap
  4304. msgid ""
  4305. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4306. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4307. " /etc/systemd/system/\n"
  4308. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4309. msgstr ""
  4310. #. type: itemize
  4311. #: guix-git/doc/guix.texi:747 guix-git/doc/guix.texi:12924
  4312. msgid "If your host distro uses the Upstart init system:"
  4313. msgstr ""
  4314. #. type: example
  4315. #: guix-git/doc/guix.texi:753
  4316. #, no-wrap
  4317. msgid ""
  4318. "# initctl reload-configuration\n"
  4319. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4320. " /etc/init/\n"
  4321. "# start guix-daemon\n"
  4322. msgstr ""
  4323. #. type: enumerate
  4324. #: guix-git/doc/guix.texi:756
  4325. msgid "Otherwise, you can still start the daemon manually with:"
  4326. msgstr ""
  4327. #. type: example
  4328. #: guix-git/doc/guix.texi:760
  4329. #, no-wrap
  4330. msgid ""
  4331. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4332. " --build-users-group=guixbuild\n"
  4333. msgstr ""
  4334. #. type: enumerate
  4335. #: guix-git/doc/guix.texi:765
  4336. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4337. msgstr ""
  4338. #. type: example
  4339. #: guix-git/doc/guix.texi:770
  4340. #, no-wrap
  4341. msgid ""
  4342. "# mkdir -p /usr/local/bin\n"
  4343. "# cd /usr/local/bin\n"
  4344. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4345. msgstr ""
  4346. #. type: enumerate
  4347. #: guix-git/doc/guix.texi:774
  4348. msgid "It is also a good idea to make the Info version of this manual available there:"
  4349. msgstr ""
  4350. #. type: example
  4351. #: guix-git/doc/guix.texi:780
  4352. #, no-wrap
  4353. msgid ""
  4354. "# mkdir -p /usr/local/share/info\n"
  4355. "# cd /usr/local/share/info\n"
  4356. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4357. " do ln -s $i ; done\n"
  4358. msgstr ""
  4359. #. type: enumerate
  4360. #: guix-git/doc/guix.texi:786
  4361. 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)."
  4362. msgstr ""
  4363. #. type: cindex
  4364. #: guix-git/doc/guix.texi:788 guix-git/doc/guix.texi:3740
  4365. #: guix-git/doc/guix.texi:15569
  4366. #, no-wrap
  4367. msgid "substitutes, authorization thereof"
  4368. msgstr ""
  4369. #. type: enumerate
  4370. #: guix-git/doc/guix.texi:792
  4371. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4372. msgstr ""
  4373. #. type: example
  4374. #: guix-git/doc/guix.texi:798
  4375. #, no-wrap
  4376. msgid ""
  4377. "# guix archive --authorize < \\\n"
  4378. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4379. "# guix archive --authorize < \\\n"
  4380. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4381. msgstr ""
  4382. #. type: quotation
  4383. #: guix-git/doc/guix.texi:805
  4384. 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."
  4385. msgstr ""
  4386. #. type: enumerate
  4387. #: guix-git/doc/guix.texi:810
  4388. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4389. msgstr ""
  4390. #. type: Plain text
  4391. #: guix-git/doc/guix.texi:813
  4392. msgid "Voilà, the installation is complete!"
  4393. msgstr ""
  4394. #. type: Plain text
  4395. #: guix-git/doc/guix.texi:816
  4396. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4397. msgstr ""
  4398. #. type: example
  4399. #: guix-git/doc/guix.texi:819
  4400. #, no-wrap
  4401. msgid "# guix install hello\n"
  4402. msgstr ""
  4403. #. type: Plain text
  4404. #: guix-git/doc/guix.texi:823
  4405. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4406. msgstr ""
  4407. #. type: example
  4408. #: guix-git/doc/guix.texi:826
  4409. #, no-wrap
  4410. msgid "make guix-binary.@var{system}.tar.xz\n"
  4411. msgstr ""
  4412. #. type: Plain text
  4413. #: guix-git/doc/guix.texi:830
  4414. msgid "...@: which, in turn, runs:"
  4415. msgstr ""
  4416. #. type: example
  4417. #: guix-git/doc/guix.texi:834
  4418. #, no-wrap
  4419. msgid ""
  4420. "guix pack -s @var{system} --localstatedir \\\n"
  4421. " --profile-name=current-guix guix\n"
  4422. msgstr ""
  4423. #. type: Plain text
  4424. #: guix-git/doc/guix.texi:837
  4425. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4426. msgstr ""
  4427. #. type: Plain text
  4428. #: guix-git/doc/guix.texi:845
  4429. 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."
  4430. msgstr ""
  4431. #. type: cindex
  4432. #: guix-git/doc/guix.texi:846
  4433. #, no-wrap
  4434. msgid "official website"
  4435. msgstr ""
  4436. #. type: Plain text
  4437. #: guix-git/doc/guix.texi:849
  4438. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4439. msgstr ""
  4440. #. type: Plain text
  4441. #: guix-git/doc/guix.texi:851
  4442. msgid "GNU Guix depends on the following packages:"
  4443. msgstr ""
  4444. #. type: item
  4445. #: guix-git/doc/guix.texi:853
  4446. #, no-wrap
  4447. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x;"
  4448. msgstr ""
  4449. #. type: item
  4450. #: guix-git/doc/guix.texi:854
  4451. #, no-wrap
  4452. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4453. msgstr ""
  4454. #. type: itemize
  4455. #: guix-git/doc/guix.texi:856
  4456. msgid "0.1.0 or later;"
  4457. msgstr ""
  4458. #. type: itemize
  4459. #: guix-git/doc/guix.texi:860
  4460. 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});"
  4461. msgstr ""
  4462. #. type: itemize
  4463. #: guix-git/doc/guix.texi:863
  4464. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4465. msgstr ""
  4466. #. type: item
  4467. #: guix-git/doc/guix.texi:863
  4468. #, no-wrap
  4469. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4470. msgstr ""
  4471. #. type: itemize
  4472. #: guix-git/doc/guix.texi:865
  4473. msgid "version 0.1.0 or later;"
  4474. msgstr ""
  4475. #. type: item
  4476. #: guix-git/doc/guix.texi:865
  4477. #, no-wrap
  4478. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4479. msgstr ""
  4480. #. type: item
  4481. #: guix-git/doc/guix.texi:866
  4482. #, no-wrap
  4483. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4484. msgstr ""
  4485. #. type: itemize
  4486. #: guix-git/doc/guix.texi:870
  4487. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4488. msgstr ""
  4489. #. type: item
  4490. #: guix-git/doc/guix.texi:870
  4491. #, no-wrap
  4492. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4493. msgstr ""
  4494. #. type: itemize
  4495. #: guix-git/doc/guix.texi:872
  4496. msgid "4.3.0 or later;"
  4497. msgstr ""
  4498. #. type: item
  4499. #: guix-git/doc/guix.texi:872
  4500. #, no-wrap
  4501. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4502. msgstr ""
  4503. #. type: Plain text
  4504. #: guix-git/doc/guix.texi:876
  4505. msgid "The following dependencies are optional:"
  4506. msgstr ""
  4507. #. type: itemize
  4508. #: guix-git/doc/guix.texi:884
  4509. 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."
  4510. msgstr ""
  4511. #. type: itemize
  4512. #: guix-git/doc/guix.texi:889
  4513. 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})."
  4514. msgstr ""
  4515. #. type: itemize
  4516. #: guix-git/doc/guix.texi:893
  4517. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4518. msgstr ""
  4519. #. type: itemize
  4520. #: guix-git/doc/guix.texi:898
  4521. 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})."
  4522. msgstr ""
  4523. #. type: itemize
  4524. #: guix-git/doc/guix.texi:902
  4525. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4526. msgstr ""
  4527. #. type: Plain text
  4528. #: guix-git/doc/guix.texi:906
  4529. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4530. msgstr ""
  4531. #. type: item
  4532. #: guix-git/doc/guix.texi:908
  4533. #, no-wrap
  4534. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4535. msgstr ""
  4536. #. type: item
  4537. #: guix-git/doc/guix.texi:909
  4538. #, no-wrap
  4539. msgid "@url{https://sqlite.org, SQLite 3};"
  4540. msgstr ""
  4541. #. type: item
  4542. #: guix-git/doc/guix.texi:910
  4543. #, no-wrap
  4544. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4545. msgstr ""
  4546. #. type: itemize
  4547. #: guix-git/doc/guix.texi:912
  4548. msgid "C++11 standard."
  4549. msgstr ""
  4550. #. type: cindex
  4551. #: guix-git/doc/guix.texi:914
  4552. #, no-wrap
  4553. msgid "state directory"
  4554. msgstr ""
  4555. #. type: Plain text
  4556. #: guix-git/doc/guix.texi:923
  4557. 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})."
  4558. msgstr ""
  4559. #. type: cindex
  4560. #: guix-git/doc/guix.texi:927
  4561. #, no-wrap
  4562. msgid "test suite"
  4563. msgstr ""
  4564. #. type: Plain text
  4565. #: guix-git/doc/guix.texi:933
  4566. 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:"
  4567. msgstr ""
  4568. #. type: example
  4569. #: guix-git/doc/guix.texi:936
  4570. #, no-wrap
  4571. msgid "make check\n"
  4572. msgstr ""
  4573. #. type: Plain text
  4574. #: guix-git/doc/guix.texi:943
  4575. 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."
  4576. msgstr ""
  4577. #. type: Plain text
  4578. #: guix-git/doc/guix.texi:946
  4579. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4580. msgstr ""
  4581. #. type: example
  4582. #: guix-git/doc/guix.texi:949
  4583. #, no-wrap
  4584. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4585. msgstr ""
  4586. #. type: Plain text
  4587. #: guix-git/doc/guix.texi:954
  4588. 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:"
  4589. msgstr ""
  4590. #. type: example
  4591. #: guix-git/doc/guix.texi:957
  4592. #, no-wrap
  4593. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4594. msgstr ""
  4595. #. type: Plain text
  4596. #: guix-git/doc/guix.texi:965
  4597. 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'':"
  4598. msgstr ""
  4599. #. type: example
  4600. #: guix-git/doc/guix.texi:969
  4601. #, no-wrap
  4602. msgid ""
  4603. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4604. "make check TESTS=\"tests/packages.scm\"\n"
  4605. msgstr ""
  4606. #. type: Plain text
  4607. #: guix-git/doc/guix.texi:975
  4608. 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:"
  4609. msgstr ""
  4610. #. type: example
  4611. #: guix-git/doc/guix.texi:978
  4612. #, no-wrap
  4613. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4614. msgstr ""
  4615. #. type: Plain text
  4616. #: guix-git/doc/guix.texi:983
  4617. 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}:"
  4618. msgstr ""
  4619. #. type: example
  4620. #: guix-git/doc/guix.texi:986
  4621. #, no-wrap
  4622. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4623. msgstr ""
  4624. #. type: Plain text
  4625. #: guix-git/doc/guix.texi:990
  4626. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4627. msgstr ""
  4628. #. type: Plain text
  4629. #: guix-git/doc/guix.texi:995
  4630. 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."
  4631. msgstr ""
  4632. #. type: Plain text
  4633. #: guix-git/doc/guix.texi:999
  4634. 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:"
  4635. msgstr ""
  4636. #. type: example
  4637. #: guix-git/doc/guix.texi:1002
  4638. #, no-wrap
  4639. msgid "make check-system\n"
  4640. msgstr ""
  4641. #. type: Plain text
  4642. #: guix-git/doc/guix.texi:1006
  4643. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4644. msgstr ""
  4645. #. type: example
  4646. #: guix-git/doc/guix.texi:1009
  4647. #, no-wrap
  4648. msgid "make check-system TESTS=\"basic mcron\"\n"
  4649. msgstr ""
  4650. #. type: Plain text
  4651. #: guix-git/doc/guix.texi:1017
  4652. 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."
  4653. msgstr ""
  4654. #. type: Plain text
  4655. #: guix-git/doc/guix.texi:1020
  4656. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4657. msgstr ""
  4658. #. type: cindex
  4659. #: guix-git/doc/guix.texi:1024
  4660. #, no-wrap
  4661. msgid "daemon"
  4662. msgstr ""
  4663. #. type: Plain text
  4664. #: guix-git/doc/guix.texi:1032
  4665. 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."
  4666. msgstr ""
  4667. #. type: Plain text
  4668. #: guix-git/doc/guix.texi:1036
  4669. 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."
  4670. msgstr ""
  4671. #. type: cindex
  4672. #: guix-git/doc/guix.texi:1046 guix-git/doc/guix.texi:1508
  4673. #, no-wrap
  4674. msgid "build environment"
  4675. msgstr ""
  4676. #. type: Plain text
  4677. #: guix-git/doc/guix.texi:1054
  4678. 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."
  4679. msgstr ""
  4680. #. type: cindex
  4681. #: guix-git/doc/guix.texi:1055
  4682. #, no-wrap
  4683. msgid "build users"
  4684. msgstr ""
  4685. #. type: Plain text
  4686. #: guix-git/doc/guix.texi:1066
  4687. 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})."
  4688. msgstr ""
  4689. #. type: Plain text
  4690. #: guix-git/doc/guix.texi:1069
  4691. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4692. msgstr ""
  4693. #. type: example
  4694. #: guix-git/doc/guix.texi:1081
  4695. #, no-wrap
  4696. msgid ""
  4697. "# groupadd --system guixbuild\n"
  4698. "# for i in $(seq -w 1 10);\n"
  4699. " do\n"
  4700. " useradd -g guixbuild -G guixbuild \\\n"
  4701. " -d /var/empty -s $(which nologin) \\\n"
  4702. " -c \"Guix build user $i\" --system \\\n"
  4703. " guixbuilder$i;\n"
  4704. " done\n"
  4705. msgstr ""
  4706. #. type: Plain text
  4707. #: guix-git/doc/guix.texi:1091
  4708. 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})."
  4709. msgstr ""
  4710. #. type: Plain text
  4711. #: guix-git/doc/guix.texi:1100
  4712. 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}.}:"
  4713. msgstr ""
  4714. #. type: example
  4715. #: guix-git/doc/guix.texi:1103 guix-git/doc/guix.texi:1501
  4716. #, no-wrap
  4717. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4718. msgstr ""
  4719. #. type: cindex
  4720. #: guix-git/doc/guix.texi:1105 guix-git/doc/guix.texi:1506
  4721. #, no-wrap
  4722. msgid "chroot"
  4723. msgstr ""
  4724. #. type: Plain text
  4725. #: guix-git/doc/guix.texi:1110
  4726. 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:"
  4727. msgstr ""
  4728. #. type: itemize
  4729. #: guix-git/doc/guix.texi:1118
  4730. 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.};"
  4731. msgstr ""
  4732. #. type: itemize
  4733. #: guix-git/doc/guix.texi:1122
  4734. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4735. msgstr ""
  4736. #. type: itemize
  4737. #: guix-git/doc/guix.texi:1126
  4738. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4739. msgstr ""
  4740. #. type: itemize
  4741. #: guix-git/doc/guix.texi:1129
  4742. msgid "@file{/etc/group} with an entry for the user's group;"
  4743. msgstr ""
  4744. #. type: itemize
  4745. #: guix-git/doc/guix.texi:1133
  4746. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4747. msgstr ""
  4748. #. type: itemize
  4749. #: guix-git/doc/guix.texi:1136
  4750. msgid "a writable @file{/tmp} directory."
  4751. msgstr ""
  4752. #. type: Plain text
  4753. #: guix-git/doc/guix.texi:1145
  4754. 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."
  4755. msgstr ""
  4756. #. type: vindex
  4757. #: guix-git/doc/guix.texi:1146 guix-git/doc/guix.texi:3949
  4758. #, no-wrap
  4759. msgid "http_proxy"
  4760. msgstr ""
  4761. #. type: vindex
  4762. #: guix-git/doc/guix.texi:1147 guix-git/doc/guix.texi:3950
  4763. #, no-wrap
  4764. msgid "https_proxy"
  4765. msgstr ""
  4766. #. type: Plain text
  4767. #: guix-git/doc/guix.texi:1152
  4768. 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})."
  4769. msgstr ""
  4770. #. type: Plain text
  4771. #: guix-git/doc/guix.texi:1160
  4772. 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."
  4773. msgstr ""
  4774. #. type: subsection
  4775. #: guix-git/doc/guix.texi:1163
  4776. #, no-wrap
  4777. msgid "Using the Offload Facility"
  4778. msgstr ""
  4779. #. type: cindex
  4780. #: guix-git/doc/guix.texi:1165 guix-git/doc/guix.texi:1567
  4781. #, no-wrap
  4782. msgid "offloading"
  4783. msgstr ""
  4784. #. type: cindex
  4785. #: guix-git/doc/guix.texi:1166
  4786. #, no-wrap
  4787. msgid "build hook"
  4788. msgstr ""
  4789. #. type: Plain text
  4790. #: guix-git/doc/guix.texi:1185
  4791. 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:"
  4792. msgstr ""
  4793. #. type: enumerate
  4794. #: guix-git/doc/guix.texi:1191
  4795. 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."
  4796. msgstr ""
  4797. #. type: enumerate
  4798. #: guix-git/doc/guix.texi:1195
  4799. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  4800. msgstr ""
  4801. #. type: enumerate
  4802. #: guix-git/doc/guix.texi:1200
  4803. 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."
  4804. msgstr ""
  4805. #. type: enumerate
  4806. #: guix-git/doc/guix.texi:1203
  4807. msgid "Disk space availability. More than a 100 MiB must be available."
  4808. msgstr ""
  4809. #. type: Plain text
  4810. #: guix-git/doc/guix.texi:1206
  4811. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  4812. msgstr ""
  4813. #. type: lisp
  4814. #: guix-git/doc/guix.texi:1214
  4815. #, no-wrap
  4816. msgid ""
  4817. "(list (build-machine\n"
  4818. " (name \"eightysix.example.org\")\n"
  4819. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  4820. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  4821. " (user \"bob\")\n"
  4822. " (speed 2.)) ;incredibly fast!\n"
  4823. "\n"
  4824. msgstr ""
  4825. #. type: lisp
  4826. #: guix-git/doc/guix.texi:1223
  4827. #, no-wrap
  4828. msgid ""
  4829. " (build-machine\n"
  4830. " (name \"armeight.example.org\")\n"
  4831. " (systems (list \"aarch64-linux\"))\n"
  4832. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  4833. " (user \"alice\")\n"
  4834. " (private-key\n"
  4835. " (string-append (getenv \"HOME\")\n"
  4836. " \"/.ssh/identity-for-guix\"))))\n"
  4837. msgstr ""
  4838. #. type: Plain text
  4839. #: guix-git/doc/guix.texi:1229
  4840. 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."
  4841. msgstr ""
  4842. #. type: Plain text
  4843. #: guix-git/doc/guix.texi:1238
  4844. 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."
  4845. msgstr ""
  4846. #. type: deftp
  4847. #: guix-git/doc/guix.texi:1239
  4848. #, no-wrap
  4849. msgid "{Data Type} build-machine"
  4850. msgstr ""
  4851. #. type: deftp
  4852. #: guix-git/doc/guix.texi:1242
  4853. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  4854. msgstr ""
  4855. #. type: item
  4856. #: guix-git/doc/guix.texi:1245 guix-git/doc/guix.texi:6698
  4857. #: guix-git/doc/guix.texi:14527 guix-git/doc/guix.texi:14621
  4858. #: guix-git/doc/guix.texi:14862 guix-git/doc/guix.texi:16833
  4859. #: guix-git/doc/guix.texi:20112 guix-git/doc/guix.texi:23022
  4860. #: guix-git/doc/guix.texi:24411 guix-git/doc/guix.texi:25023
  4861. #: guix-git/doc/guix.texi:25375 guix-git/doc/guix.texi:25416
  4862. #: guix-git/doc/guix.texi:27568 guix-git/doc/guix.texi:29852
  4863. #: guix-git/doc/guix.texi:29872 guix-git/doc/guix.texi:32408
  4864. #: guix-git/doc/guix.texi:32425 guix-git/doc/guix.texi:32941
  4865. #: guix-git/doc/guix.texi:34677 guix-git/doc/guix.texi:35004
  4866. #, no-wrap
  4867. msgid "name"
  4868. msgstr "نام"
  4869. #. type: table
  4870. #: guix-git/doc/guix.texi:1247
  4871. msgid "The host name of the remote machine."
  4872. msgstr ""
  4873. #. type: item
  4874. #: guix-git/doc/guix.texi:1248
  4875. #, no-wrap
  4876. msgid "systems"
  4877. msgstr ""
  4878. #. type: table
  4879. #: guix-git/doc/guix.texi:1251
  4880. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  4881. msgstr ""
  4882. #. type: code{#1}
  4883. #: guix-git/doc/guix.texi:1252 guix-git/doc/guix.texi:16843
  4884. #, no-wrap
  4885. msgid "user"
  4886. msgstr ""
  4887. #. type: table
  4888. #: guix-git/doc/guix.texi:1256
  4889. 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."
  4890. msgstr ""
  4891. #. type: item
  4892. #: guix-git/doc/guix.texi:1257
  4893. #, no-wrap
  4894. msgid "host-key"
  4895. msgstr ""
  4896. #. type: table
  4897. #: guix-git/doc/guix.texi:1261
  4898. 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:"
  4899. msgstr ""
  4900. #. type: example
  4901. #: guix-git/doc/guix.texi:1264
  4902. #, no-wrap
  4903. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  4904. msgstr ""
  4905. #. type: table
  4906. #: guix-git/doc/guix.texi:1269
  4907. 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}."
  4908. msgstr ""
  4909. #. type: table
  4910. #: guix-git/doc/guix.texi:1274
  4911. 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}):"
  4912. msgstr ""
  4913. #. type: example
  4914. #: guix-git/doc/guix.texi:1278
  4915. #, no-wrap
  4916. msgid ""
  4917. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  4918. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  4919. msgstr ""
  4920. #. type: deftp
  4921. #: guix-git/doc/guix.texi:1283
  4922. msgid "A number of optional fields may be specified:"
  4923. msgstr ""
  4924. #. type: item
  4925. #: guix-git/doc/guix.texi:1286 guix-git/doc/guix.texi:34173
  4926. #, no-wrap
  4927. msgid "@code{port} (default: @code{22})"
  4928. msgstr ""
  4929. #. type: table
  4930. #: guix-git/doc/guix.texi:1288
  4931. msgid "Port number of SSH server on the machine."
  4932. msgstr ""
  4933. #. type: item
  4934. #: guix-git/doc/guix.texi:1289
  4935. #, no-wrap
  4936. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  4937. msgstr ""
  4938. #. type: table
  4939. #: guix-git/doc/guix.texi:1292
  4940. 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."
  4941. msgstr ""
  4942. #. type: table
  4943. #: guix-git/doc/guix.texi:1295
  4944. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  4945. msgstr ""
  4946. #. type: item
  4947. #: guix-git/doc/guix.texi:1296
  4948. #, no-wrap
  4949. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  4950. msgstr ""
  4951. #. type: itemx
  4952. #: guix-git/doc/guix.texi:1297
  4953. #, no-wrap
  4954. msgid "@code{compression-level} (default: @code{3})"
  4955. msgstr ""
  4956. #. type: table
  4957. #: guix-git/doc/guix.texi:1299
  4958. msgid "The SSH-level compression methods and compression level requested."
  4959. msgstr ""
  4960. #. type: table
  4961. #: guix-git/doc/guix.texi:1302
  4962. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  4963. msgstr ""
  4964. #. type: item
  4965. #: guix-git/doc/guix.texi:1303
  4966. #, no-wrap
  4967. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  4968. msgstr ""
  4969. #. type: table
  4970. #: guix-git/doc/guix.texi:1306
  4971. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  4972. msgstr ""
  4973. #. type: item
  4974. #: guix-git/doc/guix.texi:1307
  4975. #, no-wrap
  4976. msgid "@code{overload-threshold} (default: @code{0.6})"
  4977. msgstr ""
  4978. #. type: table
  4979. #: guix-git/doc/guix.texi:1313
  4980. 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}."
  4981. msgstr ""
  4982. #. type: item
  4983. #: guix-git/doc/guix.texi:1314
  4984. #, no-wrap
  4985. msgid "@code{parallel-builds} (default: @code{1})"
  4986. msgstr ""
  4987. #. type: table
  4988. #: guix-git/doc/guix.texi:1316
  4989. msgid "The number of builds that may run in parallel on the machine."
  4990. msgstr ""
  4991. #. type: item
  4992. #: guix-git/doc/guix.texi:1317
  4993. #, no-wrap
  4994. msgid "@code{speed} (default: @code{1.0})"
  4995. msgstr ""
  4996. #. type: table
  4997. #: guix-git/doc/guix.texi:1320
  4998. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  4999. msgstr ""
  5000. #. type: item
  5001. #: guix-git/doc/guix.texi:1321
  5002. #, no-wrap
  5003. msgid "@code{features} (default: @code{'()})"
  5004. msgstr ""
  5005. #. type: table
  5006. #: guix-git/doc/guix.texi:1326
  5007. 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."
  5008. msgstr ""
  5009. #. type: Plain text
  5010. #: guix-git/doc/guix.texi:1332
  5011. 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:"
  5012. msgstr ""
  5013. #. type: example
  5014. #: guix-git/doc/guix.texi:1335
  5015. #, no-wrap
  5016. msgid "ssh build-machine guix repl --version\n"
  5017. msgstr ""
  5018. #. type: Plain text
  5019. #: guix-git/doc/guix.texi:1342
  5020. 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}):"
  5021. msgstr ""
  5022. #. type: example
  5023. #: guix-git/doc/guix.texi:1345 guix-git/doc/guix.texi:34101
  5024. #, no-wrap
  5025. msgid "# guix archive --generate-key\n"
  5026. msgstr ""
  5027. #. type: Plain text
  5028. #: guix-git/doc/guix.texi:1350
  5029. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5030. msgstr ""
  5031. #. type: example
  5032. #: guix-git/doc/guix.texi:1353
  5033. #, no-wrap
  5034. msgid "# guix archive --authorize < master-public-key.txt\n"
  5035. msgstr ""
  5036. #. type: Plain text
  5037. #: guix-git/doc/guix.texi:1357
  5038. msgid "Likewise, the master machine must authorize the key of each build machine."
  5039. msgstr ""
  5040. #. type: Plain text
  5041. #: guix-git/doc/guix.texi:1363
  5042. 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."
  5043. msgstr ""
  5044. #. type: cindex
  5045. #: guix-git/doc/guix.texi:1364
  5046. #, no-wrap
  5047. msgid "offload test"
  5048. msgstr ""
  5049. #. type: Plain text
  5050. #: guix-git/doc/guix.texi:1367
  5051. msgid "To test whether your setup is operational, run this command on the master node:"
  5052. msgstr ""
  5053. #. type: example
  5054. #: guix-git/doc/guix.texi:1370
  5055. #, no-wrap
  5056. msgid "# guix offload test\n"
  5057. msgstr ""
  5058. #. type: Plain text
  5059. #: guix-git/doc/guix.texi:1376
  5060. 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."
  5061. msgstr ""
  5062. #. type: Plain text
  5063. #: guix-git/doc/guix.texi:1379
  5064. msgid "If you want to test a different machine file, just specify it on the command line:"
  5065. msgstr ""
  5066. #. type: example
  5067. #: guix-git/doc/guix.texi:1382
  5068. #, no-wrap
  5069. msgid "# guix offload test machines-qualif.scm\n"
  5070. msgstr ""
  5071. #. type: Plain text
  5072. #: guix-git/doc/guix.texi:1386
  5073. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5074. msgstr ""
  5075. #. type: example
  5076. #: guix-git/doc/guix.texi:1389
  5077. #, no-wrap
  5078. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5079. msgstr ""
  5080. #. type: cindex
  5081. #: guix-git/doc/guix.texi:1391
  5082. #, no-wrap
  5083. msgid "offload status"
  5084. msgstr ""
  5085. #. type: Plain text
  5086. #: guix-git/doc/guix.texi:1394
  5087. msgid "To display the current load of all build hosts, run this command on the main node:"
  5088. msgstr ""
  5089. #. type: example
  5090. #: guix-git/doc/guix.texi:1397
  5091. #, no-wrap
  5092. msgid "# guix offload status\n"
  5093. msgstr ""
  5094. #. type: cindex
  5095. #: guix-git/doc/guix.texi:1403
  5096. #, no-wrap
  5097. msgid "SELinux, daemon policy"
  5098. msgstr ""
  5099. #. type: cindex
  5100. #: guix-git/doc/guix.texi:1404
  5101. #, no-wrap
  5102. msgid "mandatory access control, SELinux"
  5103. msgstr ""
  5104. #. type: cindex
  5105. #: guix-git/doc/guix.texi:1405
  5106. #, no-wrap
  5107. msgid "security, guix-daemon"
  5108. msgstr ""
  5109. #. type: Plain text
  5110. #: guix-git/doc/guix.texi:1411
  5111. 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."
  5112. msgstr ""
  5113. #. type: subsubsection
  5114. #: guix-git/doc/guix.texi:1412
  5115. #, no-wrap
  5116. msgid "Installing the SELinux policy"
  5117. msgstr ""
  5118. #. type: cindex
  5119. #: guix-git/doc/guix.texi:1413
  5120. #, no-wrap
  5121. msgid "SELinux, policy installation"
  5122. msgstr ""
  5123. #. type: Plain text
  5124. #: guix-git/doc/guix.texi:1415
  5125. msgid "To install the policy run this command as root:"
  5126. msgstr ""
  5127. #. type: example
  5128. #: guix-git/doc/guix.texi:1418
  5129. #, no-wrap
  5130. msgid "semodule -i etc/guix-daemon.cil\n"
  5131. msgstr ""
  5132. #. type: Plain text
  5133. #: guix-git/doc/guix.texi:1422
  5134. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5135. msgstr ""
  5136. #. type: Plain text
  5137. #: guix-git/doc/guix.texi:1427
  5138. 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:"
  5139. msgstr ""
  5140. #. type: example
  5141. #: guix-git/doc/guix.texi:1430
  5142. #, no-wrap
  5143. msgid "ps -Zax | grep guix-daemon\n"
  5144. msgstr ""
  5145. #. type: Plain text
  5146. #: guix-git/doc/guix.texi:1435
  5147. 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."
  5148. msgstr ""
  5149. #. type: cindex
  5150. #: guix-git/doc/guix.texi:1437
  5151. #, no-wrap
  5152. msgid "SELinux, limitations"
  5153. msgstr ""
  5154. #. type: Plain text
  5155. #: guix-git/doc/guix.texi:1442
  5156. 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."
  5157. msgstr ""
  5158. #. type: enumerate
  5159. #: guix-git/doc/guix.texi:1449
  5160. 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."
  5161. msgstr ""
  5162. #. type: enumerate
  5163. #: guix-git/doc/guix.texi:1460
  5164. 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."
  5165. msgstr ""
  5166. #. type: enumerate
  5167. #: guix-git/doc/guix.texi:1465
  5168. 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."
  5169. msgstr ""
  5170. #. type: enumerate
  5171. #: guix-git/doc/guix.texi:1476
  5172. 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."
  5173. msgstr ""
  5174. #. type: enumerate
  5175. #: guix-git/doc/guix.texi:1481
  5176. 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."
  5177. msgstr ""
  5178. #. type: enumerate
  5179. #: guix-git/doc/guix.texi:1489
  5180. 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."
  5181. msgstr ""
  5182. #. type: section
  5183. #: guix-git/doc/guix.texi:1492
  5184. #, no-wrap
  5185. msgid "Invoking @command{guix-daemon}"
  5186. msgstr ""
  5187. #. type: Plain text
  5188. #: guix-git/doc/guix.texi:1498
  5189. 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:"
  5190. msgstr ""
  5191. #. type: Plain text
  5192. #: guix-git/doc/guix.texi:1505
  5193. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5194. msgstr ""
  5195. #. type: cindex
  5196. #: guix-git/doc/guix.texi:1507
  5197. #, no-wrap
  5198. msgid "container, build environment"
  5199. msgstr ""
  5200. #. type: cindex
  5201. #: guix-git/doc/guix.texi:1509 guix-git/doc/guix.texi:3026
  5202. #: guix-git/doc/guix.texi:3930 guix-git/doc/guix.texi:12937
  5203. #, no-wrap
  5204. msgid "reproducible builds"
  5205. msgstr ""
  5206. #. type: Plain text
  5207. #: guix-git/doc/guix.texi:1521
  5208. 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})."
  5209. msgstr ""
  5210. #. type: Plain text
  5211. #: guix-git/doc/guix.texi:1527
  5212. 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}."
  5213. msgstr ""
  5214. #. type: Plain text
  5215. #: guix-git/doc/guix.texi:1531
  5216. 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}})."
  5217. msgstr ""
  5218. #. type: Plain text
  5219. #: guix-git/doc/guix.texi:1537
  5220. 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."
  5221. msgstr ""
  5222. #. type: Plain text
  5223. #: guix-git/doc/guix.texi:1539
  5224. msgid "The following command-line options are supported:"
  5225. msgstr ""
  5226. #. type: item
  5227. #: guix-git/doc/guix.texi:1541
  5228. #, no-wrap
  5229. msgid "--build-users-group=@var{group}"
  5230. msgstr ""
  5231. #. type: table
  5232. #: guix-git/doc/guix.texi:1544
  5233. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5234. msgstr ""
  5235. #. type: item
  5236. #: guix-git/doc/guix.texi:1545 guix-git/doc/guix.texi:10339
  5237. #, no-wrap
  5238. msgid "--no-substitutes"
  5239. msgstr ""
  5240. #. type: cindex
  5241. #: guix-git/doc/guix.texi:1546 guix-git/doc/guix.texi:3038
  5242. #: guix-git/doc/guix.texi:3683
  5243. #, no-wrap
  5244. msgid "substitutes"
  5245. msgstr ""
  5246. #. type: table
  5247. #: guix-git/doc/guix.texi:1550 guix-git/doc/guix.texi:10343
  5248. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5249. msgstr ""
  5250. #. type: table
  5251. #: guix-git/doc/guix.texi:1554
  5252. 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})."
  5253. msgstr ""
  5254. #. type: anchor{#1}
  5255. #: guix-git/doc/guix.texi:1556
  5256. msgid "daemon-substitute-urls"
  5257. msgstr ""
  5258. #. type: item
  5259. #: guix-git/doc/guix.texi:1556 guix-git/doc/guix.texi:10326
  5260. #: guix-git/doc/guix.texi:12358 guix-git/doc/guix.texi:13083
  5261. #: guix-git/doc/guix.texi:13308
  5262. #, no-wrap
  5263. msgid "--substitute-urls=@var{urls}"
  5264. msgstr ""
  5265. #. type: table
  5266. #: guix-git/doc/guix.texi:1560
  5267. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5268. msgstr ""
  5269. #. type: table
  5270. #: guix-git/doc/guix.texi:1563
  5271. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5272. msgstr ""
  5273. #. type: table
  5274. #: guix-git/doc/guix.texi:1566
  5275. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5276. msgstr ""
  5277. #. type: item
  5278. #: guix-git/doc/guix.texi:1568 guix-git/doc/guix.texi:10362
  5279. #, no-wrap
  5280. msgid "--no-offload"
  5281. msgstr ""
  5282. #. type: table
  5283. #: guix-git/doc/guix.texi:1572 guix-git/doc/guix.texi:10366
  5284. 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."
  5285. msgstr ""
  5286. #. type: item
  5287. #: guix-git/doc/guix.texi:1573
  5288. #, no-wrap
  5289. msgid "--cache-failures"
  5290. msgstr ""
  5291. #. type: table
  5292. #: guix-git/doc/guix.texi:1575
  5293. msgid "Cache build failures. By default, only successful builds are cached."
  5294. msgstr ""
  5295. #. type: table
  5296. #: guix-git/doc/guix.texi:1580
  5297. 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}."
  5298. msgstr ""
  5299. #. type: item
  5300. #: guix-git/doc/guix.texi:1581 guix-git/doc/guix.texi:10392
  5301. #, no-wrap
  5302. msgid "--cores=@var{n}"
  5303. msgstr ""
  5304. #. type: itemx
  5305. #: guix-git/doc/guix.texi:1582 guix-git/doc/guix.texi:10393
  5306. #, no-wrap
  5307. msgid "-c @var{n}"
  5308. msgstr ""
  5309. #. type: table
  5310. #: guix-git/doc/guix.texi:1585
  5311. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5312. msgstr ""
  5313. #. type: table
  5314. #: guix-git/doc/guix.texi:1589
  5315. 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})."
  5316. msgstr ""
  5317. #. type: table
  5318. #: guix-git/doc/guix.texi:1593
  5319. 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}."
  5320. msgstr ""
  5321. #. type: item
  5322. #: guix-git/doc/guix.texi:1594 guix-git/doc/guix.texi:10397
  5323. #, no-wrap
  5324. msgid "--max-jobs=@var{n}"
  5325. msgstr ""
  5326. #. type: itemx
  5327. #: guix-git/doc/guix.texi:1595 guix-git/doc/guix.texi:10398
  5328. #, no-wrap
  5329. msgid "-M @var{n}"
  5330. msgstr ""
  5331. #. type: table
  5332. #: guix-git/doc/guix.texi:1600
  5333. 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."
  5334. msgstr ""
  5335. #. type: item
  5336. #: guix-git/doc/guix.texi:1601 guix-git/doc/guix.texi:10367
  5337. #, no-wrap
  5338. msgid "--max-silent-time=@var{seconds}"
  5339. msgstr ""
  5340. #. type: table
  5341. #: guix-git/doc/guix.texi:1604 guix-git/doc/guix.texi:10370
  5342. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5343. msgstr ""
  5344. #. type: table
  5345. #: guix-git/doc/guix.texi:1606 guix-git/doc/guix.texi:1615
  5346. msgid "The default value is @code{0}, which disables the timeout."
  5347. msgstr ""
  5348. #. type: table
  5349. #: guix-git/doc/guix.texi:1609
  5350. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5351. msgstr ""
  5352. #. type: item
  5353. #: guix-git/doc/guix.texi:1610 guix-git/doc/guix.texi:10374
  5354. #, no-wrap
  5355. msgid "--timeout=@var{seconds}"
  5356. msgstr ""
  5357. #. type: table
  5358. #: guix-git/doc/guix.texi:1613 guix-git/doc/guix.texi:10377
  5359. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5360. msgstr ""
  5361. #. type: table
  5362. #: guix-git/doc/guix.texi:1618
  5363. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5364. msgstr ""
  5365. #. type: item
  5366. #: guix-git/doc/guix.texi:1619
  5367. #, no-wrap
  5368. msgid "--rounds=@var{N}"
  5369. msgstr ""
  5370. #. type: table
  5371. #: guix-git/doc/guix.texi:1624
  5372. 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})."
  5373. msgstr ""
  5374. #. type: table
  5375. #: guix-git/doc/guix.texi:1628 guix-git/doc/guix.texi:10361
  5376. #: guix-git/doc/guix.texi:10923
  5377. 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."
  5378. msgstr ""
  5379. #. type: item
  5380. #: guix-git/doc/guix.texi:1629
  5381. #, no-wrap
  5382. msgid "--debug"
  5383. msgstr ""
  5384. #. type: table
  5385. #: guix-git/doc/guix.texi:1631
  5386. msgid "Produce debugging output."
  5387. msgstr ""
  5388. #. type: table
  5389. #: guix-git/doc/guix.texi:1635
  5390. 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})."
  5391. msgstr ""
  5392. #. type: item
  5393. #: guix-git/doc/guix.texi:1636
  5394. #, no-wrap
  5395. msgid "--chroot-directory=@var{dir}"
  5396. msgstr ""
  5397. #. type: table
  5398. #: guix-git/doc/guix.texi:1638
  5399. msgid "Add @var{dir} to the build chroot."
  5400. msgstr ""
  5401. #. type: table
  5402. #: guix-git/doc/guix.texi:1644
  5403. 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."
  5404. msgstr ""
  5405. #. type: item
  5406. #: guix-git/doc/guix.texi:1645
  5407. #, no-wrap
  5408. msgid "--disable-chroot"
  5409. msgstr ""
  5410. #. type: table
  5411. #: guix-git/doc/guix.texi:1647
  5412. msgid "Disable chroot builds."
  5413. msgstr ""
  5414. #. type: table
  5415. #: guix-git/doc/guix.texi:1652
  5416. 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."
  5417. msgstr ""
  5418. #. type: item
  5419. #: guix-git/doc/guix.texi:1653
  5420. #, no-wrap
  5421. msgid "--log-compression=@var{type}"
  5422. msgstr ""
  5423. #. type: table
  5424. #: guix-git/doc/guix.texi:1656
  5425. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5426. msgstr ""
  5427. #. type: table
  5428. #: guix-git/doc/guix.texi:1660
  5429. 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."
  5430. msgstr ""
  5431. #. type: item
  5432. #: guix-git/doc/guix.texi:1661
  5433. #, no-wrap
  5434. msgid "--discover[=yes|no]"
  5435. msgstr ""
  5436. #. type: table
  5437. #: guix-git/doc/guix.texi:1664 guix-git/doc/guix.texi:15638
  5438. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5439. msgstr ""
  5440. #. type: table
  5441. #: guix-git/doc/guix.texi:1667
  5442. msgid "This feature is still experimental. However, here are a few considerations."
  5443. msgstr ""
  5444. #. type: enumerate
  5445. #: guix-git/doc/guix.texi:1671
  5446. msgid "It might be faster/less expensive than fetching from remote servers;"
  5447. msgstr ""
  5448. #. type: enumerate
  5449. #: guix-git/doc/guix.texi:1674
  5450. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5451. msgstr ""
  5452. #. type: enumerate
  5453. #: guix-git/doc/guix.texi:1678
  5454. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5455. msgstr ""
  5456. #. type: enumerate
  5457. #: guix-git/doc/guix.texi:1681
  5458. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5459. msgstr ""
  5460. #. type: table
  5461. #: guix-git/doc/guix.texi:1685
  5462. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5463. msgstr ""
  5464. #. type: example
  5465. #: guix-git/doc/guix.texi:1689
  5466. #, no-wrap
  5467. msgid ""
  5468. "herd discover guix-daemon on\n"
  5469. "herd discover guix-daemon off\n"
  5470. msgstr ""
  5471. #. type: item
  5472. #: guix-git/doc/guix.texi:1691
  5473. #, no-wrap
  5474. msgid "--disable-deduplication"
  5475. msgstr ""
  5476. #. type: cindex
  5477. #: guix-git/doc/guix.texi:1692 guix-git/doc/guix.texi:4268
  5478. #, no-wrap
  5479. msgid "deduplication"
  5480. msgstr ""
  5481. #. type: table
  5482. #: guix-git/doc/guix.texi:1694
  5483. msgid "Disable automatic file ``deduplication'' in the store."
  5484. msgstr ""
  5485. #. type: table
  5486. #: guix-git/doc/guix.texi:1701
  5487. 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."
  5488. msgstr ""
  5489. #. type: item
  5490. #: guix-git/doc/guix.texi:1702
  5491. #, no-wrap
  5492. msgid "--gc-keep-outputs[=yes|no]"
  5493. msgstr ""
  5494. #. type: table
  5495. #: guix-git/doc/guix.texi:1705
  5496. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5497. msgstr ""
  5498. #. type: cindex
  5499. #: guix-git/doc/guix.texi:1706 guix-git/doc/guix.texi:4081
  5500. #, no-wrap
  5501. msgid "GC roots"
  5502. msgstr ""
  5503. #. type: cindex
  5504. #: guix-git/doc/guix.texi:1707 guix-git/doc/guix.texi:4082
  5505. #, no-wrap
  5506. msgid "garbage collector roots"
  5507. msgstr ""
  5508. #. type: table
  5509. #: guix-git/doc/guix.texi:1713
  5510. 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."
  5511. msgstr ""
  5512. #. type: item
  5513. #: guix-git/doc/guix.texi:1714
  5514. #, no-wrap
  5515. msgid "--gc-keep-derivations[=yes|no]"
  5516. msgstr ""
  5517. #. type: table
  5518. #: guix-git/doc/guix.texi:1717
  5519. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5520. msgstr ""
  5521. #. type: table
  5522. #: guix-git/doc/guix.texi:1723
  5523. 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."
  5524. msgstr ""
  5525. #. type: table
  5526. #: guix-git/doc/guix.texi:1732
  5527. 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."
  5528. msgstr ""
  5529. #. type: item
  5530. #: guix-git/doc/guix.texi:1733
  5531. #, no-wrap
  5532. msgid "--impersonate-linux-2.6"
  5533. msgstr ""
  5534. #. type: table
  5535. #: guix-git/doc/guix.texi:1736
  5536. 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."
  5537. msgstr ""
  5538. #. type: table
  5539. #: guix-git/doc/guix.texi:1739
  5540. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5541. msgstr ""
  5542. #. type: item
  5543. #: guix-git/doc/guix.texi:1740
  5544. #, no-wrap
  5545. msgid "--lose-logs"
  5546. msgstr ""
  5547. #. type: table
  5548. #: guix-git/doc/guix.texi:1743
  5549. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5550. msgstr ""
  5551. #. type: item
  5552. #: guix-git/doc/guix.texi:1744 guix-git/doc/guix.texi:4509
  5553. #: guix-git/doc/guix.texi:5808 guix-git/doc/guix.texi:6208
  5554. #: guix-git/doc/guix.texi:10867 guix-git/doc/guix.texi:12385
  5555. #: guix-git/doc/guix.texi:12636 guix-git/doc/guix.texi:13313
  5556. #: guix-git/doc/guix.texi:33044 guix-git/doc/guix.texi:33843
  5557. #, no-wrap
  5558. msgid "--system=@var{system}"
  5559. msgstr ""
  5560. #. type: table
  5561. #: guix-git/doc/guix.texi:1748
  5562. 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}."
  5563. msgstr ""
  5564. #. type: item
  5565. #: guix-git/doc/guix.texi:1749 guix-git/doc/guix.texi:10172
  5566. #, no-wrap
  5567. msgid "--listen=@var{endpoint}"
  5568. msgstr ""
  5569. #. type: table
  5570. #: guix-git/doc/guix.texi:1754
  5571. 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:"
  5572. msgstr ""
  5573. #. type: item
  5574. #: guix-git/doc/guix.texi:1756
  5575. #, no-wrap
  5576. msgid "--listen=/gnu/var/daemon"
  5577. msgstr ""
  5578. #. type: table
  5579. #: guix-git/doc/guix.texi:1759
  5580. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5581. msgstr ""
  5582. #. type: item
  5583. #: guix-git/doc/guix.texi:1760
  5584. #, no-wrap
  5585. msgid "--listen=localhost"
  5586. msgstr ""
  5587. #. type: cindex
  5588. #: guix-git/doc/guix.texi:1761 guix-git/doc/guix.texi:8846
  5589. #, no-wrap
  5590. msgid "daemon, remote access"
  5591. msgstr ""
  5592. #. type: cindex
  5593. #: guix-git/doc/guix.texi:1762 guix-git/doc/guix.texi:8847
  5594. #, no-wrap
  5595. msgid "remote access to the daemon"
  5596. msgstr ""
  5597. #. type: cindex
  5598. #: guix-git/doc/guix.texi:1763 guix-git/doc/guix.texi:8848
  5599. #, no-wrap
  5600. msgid "daemon, cluster setup"
  5601. msgstr ""
  5602. #. type: cindex
  5603. #: guix-git/doc/guix.texi:1764 guix-git/doc/guix.texi:8849
  5604. #, no-wrap
  5605. msgid "clusters, daemon setup"
  5606. msgstr ""
  5607. #. type: table
  5608. #: guix-git/doc/guix.texi:1767
  5609. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5610. msgstr ""
  5611. #. type: item
  5612. #: guix-git/doc/guix.texi:1768
  5613. #, no-wrap
  5614. msgid "--listen=128.0.0.42:1234"
  5615. msgstr ""
  5616. #. type: table
  5617. #: guix-git/doc/guix.texi:1771
  5618. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5619. msgstr ""
  5620. #. type: table
  5621. #: guix-git/doc/guix.texi:1778
  5622. 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}})."
  5623. msgstr ""
  5624. #. type: quotation
  5625. #: guix-git/doc/guix.texi:1785
  5626. 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."
  5627. msgstr ""
  5628. #. type: table
  5629. #: guix-git/doc/guix.texi:1790
  5630. 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}."
  5631. msgstr ""
  5632. #. type: Plain text
  5633. #: guix-git/doc/guix.texi:1800
  5634. 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."
  5635. msgstr ""
  5636. #. type: anchor{#1}
  5637. #: guix-git/doc/guix.texi:1804
  5638. msgid "locales-and-locpath"
  5639. msgstr ""
  5640. #. type: cindex
  5641. #: guix-git/doc/guix.texi:1804
  5642. #, no-wrap
  5643. msgid "locales, when not on Guix System"
  5644. msgstr ""
  5645. #. type: vindex
  5646. #: guix-git/doc/guix.texi:1805 guix-git/doc/guix.texi:14846
  5647. #, no-wrap
  5648. msgid "LOCPATH"
  5649. msgstr ""
  5650. #. type: vindex
  5651. #: guix-git/doc/guix.texi:1806
  5652. #, no-wrap
  5653. msgid "GUIX_LOCPATH"
  5654. msgstr ""
  5655. #. type: Plain text
  5656. #: guix-git/doc/guix.texi:1811
  5657. 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:"
  5658. msgstr ""
  5659. #. type: example
  5660. #: guix-git/doc/guix.texi:1815
  5661. #, no-wrap
  5662. msgid ""
  5663. "$ guix install glibc-locales\n"
  5664. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5665. msgstr ""
  5666. #. type: Plain text
  5667. #: guix-git/doc/guix.texi:1821
  5668. 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."
  5669. msgstr ""
  5670. #. type: Plain text
  5671. #: guix-git/doc/guix.texi:1825
  5672. 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:"
  5673. msgstr ""
  5674. #. type: enumerate
  5675. #: guix-git/doc/guix.texi:1832
  5676. 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."
  5677. msgstr ""
  5678. #. type: enumerate
  5679. #: guix-git/doc/guix.texi:1839
  5680. 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."
  5681. msgstr ""
  5682. #. type: Plain text
  5683. #: guix-git/doc/guix.texi:1843
  5684. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5685. msgstr ""
  5686. #. type: cindex
  5687. #: guix-git/doc/guix.texi:1846
  5688. #, no-wrap
  5689. msgid "name service switch, glibc"
  5690. msgstr ""
  5691. #. type: cindex
  5692. #: guix-git/doc/guix.texi:1847
  5693. #, no-wrap
  5694. msgid "NSS (name service switch), glibc"
  5695. msgstr ""
  5696. #. type: cindex
  5697. #: guix-git/doc/guix.texi:1848
  5698. #, no-wrap
  5699. msgid "nscd (name service caching daemon)"
  5700. msgstr ""
  5701. #. type: cindex
  5702. #: guix-git/doc/guix.texi:1849
  5703. #, no-wrap
  5704. msgid "name service caching daemon (nscd)"
  5705. msgstr ""
  5706. #. type: Plain text
  5707. #: guix-git/doc/guix.texi:1856
  5708. 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."
  5709. msgstr ""
  5710. #. type: file{#1}
  5711. #: guix-git/doc/guix.texi:1857
  5712. #, no-wrap
  5713. msgid "nsswitch.conf"
  5714. msgstr ""
  5715. #. type: Plain text
  5716. #: guix-git/doc/guix.texi:1862
  5717. 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})."
  5718. msgstr ""
  5719. #. type: cindex
  5720. #: guix-git/doc/guix.texi:1863
  5721. #, no-wrap
  5722. msgid "Network information service (NIS)"
  5723. msgstr ""
  5724. #. type: cindex
  5725. #: guix-git/doc/guix.texi:1864
  5726. #, no-wrap
  5727. msgid "NIS (Network information service)"
  5728. msgstr ""
  5729. #. type: Plain text
  5730. #: guix-git/doc/guix.texi:1873
  5731. 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})."
  5732. msgstr ""
  5733. #. type: Plain text
  5734. #: guix-git/doc/guix.texi:1883
  5735. 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)."
  5736. msgstr ""
  5737. #. type: Plain text
  5738. #: guix-git/doc/guix.texi:1888
  5739. 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."
  5740. msgstr ""
  5741. #. type: Plain text
  5742. #: guix-git/doc/guix.texi:1893
  5743. 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."
  5744. msgstr ""
  5745. #. type: subsection
  5746. #: guix-git/doc/guix.texi:1894
  5747. #, no-wrap
  5748. msgid "X11 Fonts"
  5749. msgstr ""
  5750. #. type: Plain text
  5751. #: guix-git/doc/guix.texi:1904
  5752. msgid "The majority of graphical applications use Fontconfig to locate and load fonts and perform X11-client-side rendering. The @code{fontconfig} package in Guix looks for fonts in @file{$HOME/.guix-profile} by default. Thus, to allow graphical applications installed with Guix to display fonts, you have to install fonts with Guix as well. Essential font packages include @code{gs-fonts}, @code{font-dejavu}, and @code{font-gnu-freefont}."
  5753. msgstr ""
  5754. #. type: code{#1}
  5755. #: guix-git/doc/guix.texi:1905
  5756. #, no-wrap
  5757. msgid "fc-cache"
  5758. msgstr ""
  5759. #. type: cindex
  5760. #: guix-git/doc/guix.texi:1906
  5761. #, no-wrap
  5762. msgid "font cache"
  5763. msgstr ""
  5764. #. type: Plain text
  5765. #: guix-git/doc/guix.texi:1910
  5766. 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:"
  5767. msgstr ""
  5768. #. type: example
  5769. #: guix-git/doc/guix.texi:1914
  5770. #, no-wrap
  5771. msgid ""
  5772. "guix install fontconfig\n"
  5773. "fc-cache -rv\n"
  5774. msgstr ""
  5775. #. type: Plain text
  5776. #: guix-git/doc/guix.texi:1922
  5777. 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:"
  5778. msgstr ""
  5779. #. type: example
  5780. #: guix-git/doc/guix.texi:1925
  5781. #, no-wrap
  5782. msgid "guix install font-adobe-source-han-sans:cn\n"
  5783. msgstr ""
  5784. #. type: code{#1}
  5785. #: guix-git/doc/guix.texi:1927
  5786. #, no-wrap
  5787. msgid "xterm"
  5788. msgstr ""
  5789. #. type: Plain text
  5790. #: guix-git/doc/guix.texi:1931
  5791. 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:"
  5792. msgstr ""
  5793. #. type: example
  5794. #: guix-git/doc/guix.texi:1934
  5795. #, no-wrap
  5796. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  5797. msgstr ""
  5798. #. type: Plain text
  5799. #: guix-git/doc/guix.texi:1938
  5800. 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:"
  5801. msgstr ""
  5802. #. type: example
  5803. #: guix-git/doc/guix.texi:1943
  5804. #, no-wrap
  5805. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  5806. msgstr ""
  5807. #. type: code{#1}
  5808. #: guix-git/doc/guix.texi:1945
  5809. #, no-wrap
  5810. msgid "xlsfonts"
  5811. msgstr ""
  5812. #. type: Plain text
  5813. #: guix-git/doc/guix.texi:1948
  5814. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  5815. msgstr ""
  5816. #. type: code{#1}
  5817. #: guix-git/doc/guix.texi:1952 guix-git/doc/guix.texi:32782
  5818. #, no-wrap
  5819. msgid "nss-certs"
  5820. msgstr ""
  5821. #. type: Plain text
  5822. #: guix-git/doc/guix.texi:1955
  5823. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  5824. msgstr ""
  5825. #. type: Plain text
  5826. #: guix-git/doc/guix.texi:1960
  5827. 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."
  5828. msgstr ""
  5829. #. type: code{#1}
  5830. #: guix-git/doc/guix.texi:1963
  5831. #, no-wrap
  5832. msgid "emacs"
  5833. msgstr ""
  5834. #. type: Plain text
  5835. #: guix-git/doc/guix.texi:1969
  5836. 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."
  5837. msgstr ""
  5838. #. type: Plain text
  5839. #: guix-git/doc/guix.texi:1976
  5840. 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})."
  5841. msgstr ""
  5842. #. type: cindex
  5843. #: guix-git/doc/guix.texi:1981
  5844. #, no-wrap
  5845. msgid "Upgrading Guix, on a foreign distro"
  5846. msgstr ""
  5847. #. type: Plain text
  5848. #: guix-git/doc/guix.texi:1984
  5849. msgid "To upgrade Guix, run:"
  5850. msgstr ""
  5851. #. type: example
  5852. #: guix-git/doc/guix.texi:1987 guix-git/doc/guix.texi:2834
  5853. #, no-wrap
  5854. msgid "guix pull\n"
  5855. msgstr ""
  5856. #. type: Plain text
  5857. #: guix-git/doc/guix.texi:1990
  5858. msgid "@xref{Invoking guix pull}, for more information."
  5859. msgstr ""
  5860. #. type: cindex
  5861. #: guix-git/doc/guix.texi:1991
  5862. #, no-wrap
  5863. msgid "upgrading Guix for the root user, on a foreign distro"
  5864. msgstr ""
  5865. #. type: cindex
  5866. #: guix-git/doc/guix.texi:1992
  5867. #, no-wrap
  5868. msgid "upgrading the Guix daemon, on a foreign distro"
  5869. msgstr ""
  5870. #. type: cindex
  5871. #: guix-git/doc/guix.texi:1993
  5872. #, no-wrap
  5873. msgid "@command{guix pull} for the root user, on a foreign distro"
  5874. msgstr ""
  5875. #. type: Plain text
  5876. #: guix-git/doc/guix.texi:1996
  5877. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  5878. msgstr ""
  5879. #. type: example
  5880. #: guix-git/doc/guix.texi:1999
  5881. #, no-wrap
  5882. msgid "sudo -i guix pull\n"
  5883. msgstr ""
  5884. #. type: Plain text
  5885. #: guix-git/doc/guix.texi:2004
  5886. msgid "followed by (assuming your distro uses the systemd service management tool):"
  5887. msgstr ""
  5888. #. type: example
  5889. #: guix-git/doc/guix.texi:2007
  5890. #, no-wrap
  5891. msgid "systemctl restart guix-daemon.service\n"
  5892. msgstr ""
  5893. #. type: Plain text
  5894. #: guix-git/doc/guix.texi:2011
  5895. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  5896. msgstr ""
  5897. #. type: cindex
  5898. #: guix-git/doc/guix.texi:2018
  5899. #, no-wrap
  5900. msgid "installing Guix System"
  5901. msgstr ""
  5902. #. type: cindex
  5903. #: guix-git/doc/guix.texi:2019
  5904. #, no-wrap
  5905. msgid "Guix System, installation"
  5906. msgstr ""
  5907. #. type: Plain text
  5908. #: guix-git/doc/guix.texi:2024
  5909. 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}."
  5910. msgstr ""
  5911. #. type: quotation
  5912. #: guix-git/doc/guix.texi:2033
  5913. 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."
  5914. msgstr ""
  5915. #. type: quotation
  5916. #: guix-git/doc/guix.texi:2036
  5917. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  5918. msgstr ""
  5919. #. type: Plain text
  5920. #: guix-git/doc/guix.texi:2057
  5921. 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."
  5922. msgstr ""
  5923. #. type: Plain text
  5924. #: guix-git/doc/guix.texi:2060
  5925. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  5926. msgstr ""
  5927. #. type: itemize
  5928. #: guix-git/doc/guix.texi:2065
  5929. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  5930. msgstr ""
  5931. #. type: itemize
  5932. #: guix-git/doc/guix.texi:2070
  5933. 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."
  5934. msgstr ""
  5935. #. type: Plain text
  5936. #: guix-git/doc/guix.texi:2075
  5937. 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."
  5938. msgstr ""
  5939. #. type: cindex
  5940. #: guix-git/doc/guix.texi:2080
  5941. #, no-wrap
  5942. msgid "hardware support on Guix System"
  5943. msgstr ""
  5944. #. type: Plain text
  5945. #: guix-git/doc/guix.texi:2089
  5946. 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."
  5947. msgstr ""
  5948. #. type: cindex
  5949. #: guix-git/doc/guix.texi:2090
  5950. #, no-wrap
  5951. msgid "WiFi, hardware support"
  5952. msgstr ""
  5953. #. type: Plain text
  5954. #: guix-git/doc/guix.texi:2099
  5955. 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}})."
  5956. msgstr ""
  5957. #. type: cindex
  5958. #: guix-git/doc/guix.texi:2100
  5959. #, no-wrap
  5960. msgid "RYF, Respects Your Freedom"
  5961. msgstr ""
  5962. #. type: Plain text
  5963. #: guix-git/doc/guix.texi:2106
  5964. 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."
  5965. msgstr ""
  5966. #. type: Plain text
  5967. #: guix-git/doc/guix.texi:2110
  5968. 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."
  5969. msgstr ""
  5970. #. type: Plain text
  5971. #: guix-git/doc/guix.texi:2119
  5972. 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:"
  5973. msgstr ""
  5974. #. type: table
  5975. #: guix-git/doc/guix.texi:2123
  5976. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  5977. msgstr ""
  5978. #. type: table
  5979. #: guix-git/doc/guix.texi:2126
  5980. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  5981. msgstr ""
  5982. #. type: Plain text
  5983. #: guix-git/doc/guix.texi:2131
  5984. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  5985. msgstr ""
  5986. #. type: example
  5987. #: guix-git/doc/guix.texi:2135
  5988. #, no-wrap
  5989. msgid ""
  5990. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  5991. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  5992. msgstr ""
  5993. #. type: example
  5994. #: guix-git/doc/guix.texi:2143
  5995. #, no-wrap
  5996. msgid ""
  5997. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  5998. " -qO - | gpg --import -\n"
  5999. msgstr ""
  6000. #. type: Plain text
  6001. #: guix-git/doc/guix.texi:2155
  6002. 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."
  6003. msgstr ""
  6004. #. type: unnumberedsubsec
  6005. #: guix-git/doc/guix.texi:2156
  6006. #, no-wrap
  6007. msgid "Copying to a USB Stick"
  6008. msgstr ""
  6009. #. type: Plain text
  6010. #: guix-git/doc/guix.texi:2161
  6011. 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:"
  6012. msgstr ""
  6013. #. type: example
  6014. #: guix-git/doc/guix.texi:2165
  6015. #, no-wrap
  6016. msgid ""
  6017. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6018. "sync\n"
  6019. msgstr ""
  6020. #. type: Plain text
  6021. #: guix-git/doc/guix.texi:2168
  6022. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6023. msgstr ""
  6024. #. type: unnumberedsubsec
  6025. #: guix-git/doc/guix.texi:2169
  6026. #, no-wrap
  6027. msgid "Burning on a DVD"
  6028. msgstr ""
  6029. #. type: Plain text
  6030. #: guix-git/doc/guix.texi:2174
  6031. 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:"
  6032. msgstr ""
  6033. #. type: example
  6034. #: guix-git/doc/guix.texi:2177
  6035. #, no-wrap
  6036. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6037. msgstr ""
  6038. #. type: Plain text
  6039. #: guix-git/doc/guix.texi:2180
  6040. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6041. msgstr ""
  6042. #. type: unnumberedsubsec
  6043. #: guix-git/doc/guix.texi:2181
  6044. #, no-wrap
  6045. msgid "Booting"
  6046. msgstr ""
  6047. #. type: Plain text
  6048. #: guix-git/doc/guix.texi:2188
  6049. 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}."
  6050. msgstr ""
  6051. #. type: Plain text
  6052. #: guix-git/doc/guix.texi:2191
  6053. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6054. msgstr ""
  6055. #. type: Plain text
  6056. #: guix-git/doc/guix.texi:2201
  6057. 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})."
  6058. msgstr ""
  6059. #. type: Plain text
  6060. #: guix-git/doc/guix.texi:2209
  6061. 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."
  6062. msgstr ""
  6063. #. type: quotation
  6064. #: guix-git/doc/guix.texi:2214
  6065. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6066. msgstr ""
  6067. #. type: Plain text
  6068. #: guix-git/doc/guix.texi:2221
  6069. 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."
  6070. msgstr ""
  6071. #. type: Plain text
  6072. #: guix-git/doc/guix.texi:2226
  6073. 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."
  6074. msgstr ""
  6075. #. type: Plain text
  6076. #: guix-git/doc/guix.texi:2228
  6077. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6078. msgstr ""
  6079. #. type: Plain text
  6080. #: guix-git/doc/guix.texi:2233
  6081. 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."
  6082. msgstr ""
  6083. #. type: Plain text
  6084. #: guix-git/doc/guix.texi:2235
  6085. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6086. msgstr ""
  6087. #. type: Plain text
  6088. #: guix-git/doc/guix.texi:2238
  6089. 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."
  6090. msgstr ""
  6091. #. type: Plain text
  6092. #: guix-git/doc/guix.texi:2240
  6093. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6094. msgstr ""
  6095. #. type: Plain text
  6096. #: guix-git/doc/guix.texi:2245
  6097. 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!"
  6098. msgstr ""
  6099. #. type: Plain text
  6100. #: guix-git/doc/guix.texi:2255
  6101. 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})."
  6102. msgstr ""
  6103. #. type: Plain text
  6104. #: guix-git/doc/guix.texi:2261
  6105. 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})."
  6106. msgstr ""
  6107. #. type: subsection
  6108. #: guix-git/doc/guix.texi:2268
  6109. #, no-wrap
  6110. msgid "Keyboard Layout, Networking, and Partitioning"
  6111. msgstr ""
  6112. #. type: Plain text
  6113. #: guix-git/doc/guix.texi:2273
  6114. 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."
  6115. msgstr ""
  6116. #. type: cindex
  6117. #: guix-git/doc/guix.texi:2276 guix-git/doc/guix.texi:14660
  6118. #, no-wrap
  6119. msgid "keyboard layout"
  6120. msgstr ""
  6121. #. type: Plain text
  6122. #: guix-git/doc/guix.texi:2280
  6123. 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:"
  6124. msgstr ""
  6125. #. type: example
  6126. #: guix-git/doc/guix.texi:2283
  6127. #, no-wrap
  6128. msgid "loadkeys dvorak\n"
  6129. msgstr ""
  6130. #. type: Plain text
  6131. #: guix-git/doc/guix.texi:2288
  6132. 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."
  6133. msgstr ""
  6134. #. type: subsubsection
  6135. #: guix-git/doc/guix.texi:2289
  6136. #, no-wrap
  6137. msgid "Networking"
  6138. msgstr ""
  6139. #. type: Plain text
  6140. #: guix-git/doc/guix.texi:2292
  6141. msgid "Run the following command to see what your network interfaces are called:"
  6142. msgstr ""
  6143. #. type: example
  6144. #: guix-git/doc/guix.texi:2295
  6145. #, no-wrap
  6146. msgid "ifconfig -a\n"
  6147. msgstr ""
  6148. #. type: table
  6149. #: guix-git/doc/guix.texi:2299 guix-git/doc/guix.texi:2321
  6150. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6151. msgstr ""
  6152. #. type: example
  6153. #: guix-git/doc/guix.texi:2302
  6154. #, no-wrap
  6155. msgid "ip address\n"
  6156. msgstr ""
  6157. #. type: Plain text
  6158. #: guix-git/doc/guix.texi:2309
  6159. 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}."
  6160. msgstr ""
  6161. #. type: item
  6162. #: guix-git/doc/guix.texi:2311
  6163. #, no-wrap
  6164. msgid "Wired connection"
  6165. msgstr ""
  6166. #. type: table
  6167. #: guix-git/doc/guix.texi:2314
  6168. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6169. msgstr ""
  6170. #. type: example
  6171. #: guix-git/doc/guix.texi:2317
  6172. #, no-wrap
  6173. msgid "ifconfig @var{interface} up\n"
  6174. msgstr ""
  6175. #. type: example
  6176. #: guix-git/doc/guix.texi:2324
  6177. #, no-wrap
  6178. msgid "ip link set @var{interface} up\n"
  6179. msgstr ""
  6180. #. type: item
  6181. #: guix-git/doc/guix.texi:2326
  6182. #, no-wrap
  6183. msgid "Wireless connection"
  6184. msgstr ""
  6185. #. type: cindex
  6186. #: guix-git/doc/guix.texi:2327 guix-git/doc/guix.texi:16305
  6187. #, no-wrap
  6188. msgid "wireless"
  6189. msgstr ""
  6190. #. type: cindex
  6191. #: guix-git/doc/guix.texi:2328 guix-git/doc/guix.texi:16306
  6192. #, no-wrap
  6193. msgid "WiFi"
  6194. msgstr ""
  6195. #. type: table
  6196. #: guix-git/doc/guix.texi:2333
  6197. 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}:"
  6198. msgstr ""
  6199. #. type: example
  6200. #: guix-git/doc/guix.texi:2336
  6201. #, no-wrap
  6202. msgid "nano wpa_supplicant.conf\n"
  6203. msgstr ""
  6204. #. type: table
  6205. #: guix-git/doc/guix.texi:2341
  6206. 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:"
  6207. msgstr ""
  6208. #. type: example
  6209. #: guix-git/doc/guix.texi:2348
  6210. #, no-wrap
  6211. msgid ""
  6212. "network=@{\n"
  6213. " ssid=\"@var{my-ssid}\"\n"
  6214. " key_mgmt=WPA-PSK\n"
  6215. " psk=\"the network's secret passphrase\"\n"
  6216. "@}\n"
  6217. msgstr ""
  6218. #. type: table
  6219. #: guix-git/doc/guix.texi:2353
  6220. 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):"
  6221. msgstr ""
  6222. #. type: example
  6223. #: guix-git/doc/guix.texi:2356
  6224. #, no-wrap
  6225. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6226. msgstr ""
  6227. #. type: table
  6228. #: guix-git/doc/guix.texi:2359
  6229. msgid "Run @command{man wpa_supplicant} for more information."
  6230. msgstr ""
  6231. #. type: cindex
  6232. #: guix-git/doc/guix.texi:2361
  6233. #, no-wrap
  6234. msgid "DHCP"
  6235. msgstr ""
  6236. #. type: Plain text
  6237. #: guix-git/doc/guix.texi:2364
  6238. 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:"
  6239. msgstr ""
  6240. #. type: example
  6241. #: guix-git/doc/guix.texi:2367
  6242. #, no-wrap
  6243. msgid "dhclient -v @var{interface}\n"
  6244. msgstr ""
  6245. #. type: Plain text
  6246. #: guix-git/doc/guix.texi:2370
  6247. msgid "Try to ping a server to see if networking is up and running:"
  6248. msgstr ""
  6249. #. type: example
  6250. #: guix-git/doc/guix.texi:2373
  6251. #, no-wrap
  6252. msgid "ping -c 3 gnu.org\n"
  6253. msgstr ""
  6254. #. type: Plain text
  6255. #: guix-git/doc/guix.texi:2377
  6256. 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."
  6257. msgstr ""
  6258. #. type: cindex
  6259. #: guix-git/doc/guix.texi:2378
  6260. #, no-wrap
  6261. msgid "proxy, during system installation"
  6262. msgstr ""
  6263. #. type: Plain text
  6264. #: guix-git/doc/guix.texi:2381
  6265. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6266. msgstr ""
  6267. #. type: example
  6268. #: guix-git/doc/guix.texi:2384
  6269. #, no-wrap
  6270. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6271. msgstr ""
  6272. #. type: Plain text
  6273. #: guix-git/doc/guix.texi:2389
  6274. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6275. msgstr ""
  6276. #. type: cindex
  6277. #: guix-git/doc/guix.texi:2390
  6278. #, no-wrap
  6279. msgid "installing over SSH"
  6280. msgstr ""
  6281. #. type: Plain text
  6282. #: guix-git/doc/guix.texi:2393
  6283. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6284. msgstr ""
  6285. #. type: example
  6286. #: guix-git/doc/guix.texi:2396
  6287. #, no-wrap
  6288. msgid "herd start ssh-daemon\n"
  6289. msgstr ""
  6290. #. type: Plain text
  6291. #: guix-git/doc/guix.texi:2400
  6292. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6293. msgstr ""
  6294. #. type: subsubsection
  6295. #: guix-git/doc/guix.texi:2401
  6296. #, no-wrap
  6297. msgid "Disk Partitioning"
  6298. msgstr ""
  6299. #. type: Plain text
  6300. #: guix-git/doc/guix.texi:2405
  6301. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6302. msgstr ""
  6303. #. type: Plain text
  6304. #: guix-git/doc/guix.texi:2410
  6305. 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:"
  6306. msgstr ""
  6307. #. type: example
  6308. #: guix-git/doc/guix.texi:2413
  6309. #, no-wrap
  6310. msgid "cfdisk\n"
  6311. msgstr ""
  6312. #. type: Plain text
  6313. #: guix-git/doc/guix.texi:2419
  6314. 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})."
  6315. msgstr ""
  6316. #. type: cindex
  6317. #: guix-git/doc/guix.texi:2420
  6318. #, no-wrap
  6319. msgid "EFI, installation"
  6320. msgstr ""
  6321. #. type: cindex
  6322. #: guix-git/doc/guix.texi:2421
  6323. #, no-wrap
  6324. msgid "UEFI, installation"
  6325. msgstr ""
  6326. #. type: cindex
  6327. #: guix-git/doc/guix.texi:2422
  6328. #, no-wrap
  6329. msgid "ESP, EFI system partition"
  6330. msgstr ""
  6331. #. type: Plain text
  6332. #: guix-git/doc/guix.texi:2426
  6333. 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}:"
  6334. msgstr ""
  6335. #. type: example
  6336. #: guix-git/doc/guix.texi:2429
  6337. #, no-wrap
  6338. msgid "parted /dev/sda set 1 esp on\n"
  6339. msgstr ""
  6340. #. type: vindex
  6341. #: guix-git/doc/guix.texi:2432 guix-git/doc/guix.texi:33182
  6342. #, no-wrap
  6343. msgid "grub-bootloader"
  6344. msgstr ""
  6345. #. type: vindex
  6346. #: guix-git/doc/guix.texi:2433 guix-git/doc/guix.texi:33176
  6347. #, no-wrap
  6348. msgid "grub-efi-bootloader"
  6349. msgstr ""
  6350. #. type: quotation
  6351. #: guix-git/doc/guix.texi:2440
  6352. 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."
  6353. msgstr ""
  6354. #. type: Plain text
  6355. #: guix-git/doc/guix.texi:2448
  6356. 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, and F2FS 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:"
  6357. msgstr ""
  6358. #. type: example
  6359. #: guix-git/doc/guix.texi:2451
  6360. #, no-wrap
  6361. msgid "mkfs.fat -F32 /dev/sda1\n"
  6362. msgstr ""
  6363. #. type: Plain text
  6364. #: guix-git/doc/guix.texi:2458
  6365. 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})."
  6366. msgstr ""
  6367. #. type: Plain text
  6368. #: guix-git/doc/guix.texi:2465
  6369. 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:"
  6370. msgstr ""
  6371. #. type: example
  6372. #: guix-git/doc/guix.texi:2468
  6373. #, no-wrap
  6374. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6375. msgstr ""
  6376. #. type: cindex
  6377. #: guix-git/doc/guix.texi:2470 guix-git/doc/guix.texi:13658
  6378. #, no-wrap
  6379. msgid "encrypted disk"
  6380. msgstr ""
  6381. #. type: Plain text
  6382. #: guix-git/doc/guix.texi:2477
  6383. msgid "If you are instead planning to encrypt the root partition, you can use the Cryptsetup/LUKS utilities to do that (see @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, @code{man cryptsetup}} for more information). Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence would be along these lines:"
  6384. msgstr ""
  6385. #. type: example
  6386. #: guix-git/doc/guix.texi:2482
  6387. #, no-wrap
  6388. msgid ""
  6389. "cryptsetup luksFormat /dev/sda2\n"
  6390. "cryptsetup open --type luks /dev/sda2 my-partition\n"
  6391. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6392. msgstr ""
  6393. #. type: Plain text
  6394. #: guix-git/doc/guix.texi:2487
  6395. 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):"
  6396. msgstr ""
  6397. #. type: example
  6398. #: guix-git/doc/guix.texi:2490
  6399. #, no-wrap
  6400. msgid "mount LABEL=my-root /mnt\n"
  6401. msgstr ""
  6402. #. type: Plain text
  6403. #: guix-git/doc/guix.texi:2496
  6404. 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."
  6405. msgstr ""
  6406. #. type: Plain text
  6407. #: guix-git/doc/guix.texi:2501
  6408. msgid "Finally, if you plan to use one or more swap partitions (@pxref{Memory Concepts, swap space,, libc, The GNU C Library Reference Manual}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:"
  6409. msgstr ""
  6410. #. type: example
  6411. #: guix-git/doc/guix.texi:2505
  6412. #, no-wrap
  6413. msgid ""
  6414. "mkswap /dev/sda3\n"
  6415. "swapon /dev/sda3\n"
  6416. msgstr ""
  6417. #. type: Plain text
  6418. #: guix-git/doc/guix.texi:2513
  6419. 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}.}:"
  6420. msgstr ""
  6421. #. type: example
  6422. #: guix-git/doc/guix.texi:2521
  6423. #, no-wrap
  6424. msgid ""
  6425. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6426. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6427. "# For security, make the file readable and writable only by root.\n"
  6428. "chmod 600 /mnt/swapfile\n"
  6429. "mkswap /mnt/swapfile\n"
  6430. "swapon /mnt/swapfile\n"
  6431. msgstr ""
  6432. #. type: Plain text
  6433. #: guix-git/doc/guix.texi:2526
  6434. 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."
  6435. msgstr ""
  6436. #. type: Plain text
  6437. #: guix-git/doc/guix.texi:2532
  6438. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6439. msgstr ""
  6440. #. type: example
  6441. #: guix-git/doc/guix.texi:2535
  6442. #, no-wrap
  6443. msgid "herd start cow-store /mnt\n"
  6444. msgstr ""
  6445. #. type: Plain text
  6446. #: guix-git/doc/guix.texi:2542
  6447. 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."
  6448. msgstr ""
  6449. #. type: Plain text
  6450. #: guix-git/doc/guix.texi:2553
  6451. 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."
  6452. msgstr ""
  6453. #. type: Plain text
  6454. #: guix-git/doc/guix.texi:2560
  6455. 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:"
  6456. msgstr ""
  6457. #. type: example
  6458. #: guix-git/doc/guix.texi:2565
  6459. #, no-wrap
  6460. msgid ""
  6461. "# mkdir /mnt/etc\n"
  6462. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6463. "# nano /mnt/etc/config.scm\n"
  6464. msgstr ""
  6465. #. type: Plain text
  6466. #: guix-git/doc/guix.texi:2569
  6467. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6468. msgstr ""
  6469. #. type: itemize
  6470. #: guix-git/doc/guix.texi:2580
  6471. msgid "Make sure the @code{bootloader-configuration} form refers to the target 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{target} field names a device, like @code{/dev/sda}; for UEFI systems it names a path to a mounted EFI partition, like @code{/boot/efi}; do make sure the path is currently mounted and a @code{file-system} entry is specified in your configuration."
  6472. msgstr ""
  6473. #. type: itemize
  6474. #: guix-git/doc/guix.texi:2586
  6475. 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."
  6476. msgstr ""
  6477. #. type: itemize
  6478. #: guix-git/doc/guix.texi:2590
  6479. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6480. msgstr ""
  6481. #. type: Plain text
  6482. #: guix-git/doc/guix.texi:2595
  6483. 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}):"
  6484. msgstr ""
  6485. #. type: example
  6486. #: guix-git/doc/guix.texi:2598
  6487. #, no-wrap
  6488. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6489. msgstr ""
  6490. #. type: Plain text
  6491. #: guix-git/doc/guix.texi:2605
  6492. 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."
  6493. msgstr ""
  6494. #. type: Plain text
  6495. #: guix-git/doc/guix.texi:2613
  6496. 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!"
  6497. msgstr ""
  6498. #. type: Plain text
  6499. #: guix-git/doc/guix.texi:2620
  6500. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6501. msgstr ""
  6502. #. type: example
  6503. #: guix-git/doc/guix.texi:2624
  6504. #, no-wrap
  6505. msgid ""
  6506. "guix pull\n"
  6507. "sudo guix system reconfigure /etc/config.scm\n"
  6508. msgstr ""
  6509. #. type: Plain text
  6510. #: guix-git/doc/guix.texi:2630
  6511. 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})."
  6512. msgstr ""
  6513. #. type: cindex
  6514. #: guix-git/doc/guix.texi:2633
  6515. #, no-wrap
  6516. msgid "sudo vs. @command{guix pull}"
  6517. msgstr ""
  6518. #. type: quotation
  6519. #: guix-git/doc/guix.texi:2637
  6520. 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{}}."
  6521. msgstr ""
  6522. #. type: quotation
  6523. #: guix-git/doc/guix.texi:2642
  6524. 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."
  6525. msgstr ""
  6526. #. type: Plain text
  6527. #: guix-git/doc/guix.texi:2647
  6528. 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!"
  6529. msgstr ""
  6530. #. type: section
  6531. #: guix-git/doc/guix.texi:2650
  6532. #, no-wrap
  6533. msgid "Installing Guix in a Virtual Machine"
  6534. msgstr ""
  6535. #. type: cindex
  6536. #: guix-git/doc/guix.texi:2652
  6537. #, no-wrap
  6538. msgid "virtual machine, Guix System installation"
  6539. msgstr ""
  6540. #. type: cindex
  6541. #: guix-git/doc/guix.texi:2653
  6542. #, no-wrap
  6543. msgid "virtual private server (VPS)"
  6544. msgstr ""
  6545. #. type: cindex
  6546. #: guix-git/doc/guix.texi:2654
  6547. #, no-wrap
  6548. msgid "VPS (virtual private server)"
  6549. msgstr ""
  6550. #. type: Plain text
  6551. #: guix-git/doc/guix.texi:2658
  6552. 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."
  6553. msgstr ""
  6554. #. type: Plain text
  6555. #: guix-git/doc/guix.texi:2661
  6556. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6557. msgstr ""
  6558. #. type: enumerate
  6559. #: guix-git/doc/guix.texi:2666
  6560. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6561. msgstr ""
  6562. #. type: enumerate
  6563. #: guix-git/doc/guix.texi:2670
  6564. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6565. msgstr ""
  6566. #. type: example
  6567. #: guix-git/doc/guix.texi:2673
  6568. #, no-wrap
  6569. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6570. msgstr ""
  6571. #. type: enumerate
  6572. #: guix-git/doc/guix.texi:2677
  6573. 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."
  6574. msgstr ""
  6575. #. type: enumerate
  6576. #: guix-git/doc/guix.texi:2680
  6577. msgid "Boot the USB installation image in an VM:"
  6578. msgstr ""
  6579. #. type: example
  6580. #: guix-git/doc/guix.texi:2686
  6581. #, no-wrap
  6582. msgid ""
  6583. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6584. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6585. " -drive file=guix-system.img \\\n"
  6586. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6587. msgstr ""
  6588. #. type: enumerate
  6589. #: guix-git/doc/guix.texi:2690
  6590. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6591. msgstr ""
  6592. #. type: enumerate
  6593. #: guix-git/doc/guix.texi:2694
  6594. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6595. msgstr ""
  6596. #. type: Plain text
  6597. #: guix-git/doc/guix.texi:2699
  6598. 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."
  6599. msgstr ""
  6600. #. type: cindex
  6601. #: guix-git/doc/guix.texi:2703
  6602. #, no-wrap
  6603. msgid "installation image"
  6604. msgstr ""
  6605. #. type: Plain text
  6606. #: guix-git/doc/guix.texi:2706
  6607. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6608. msgstr ""
  6609. #. type: example
  6610. #: guix-git/doc/guix.texi:2709
  6611. #, no-wrap
  6612. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6613. msgstr ""
  6614. #. type: Plain text
  6615. #: guix-git/doc/guix.texi:2714
  6616. 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."
  6617. msgstr ""
  6618. #. type: section
  6619. #: guix-git/doc/guix.texi:2715
  6620. #, no-wrap
  6621. msgid "Building the Installation Image for ARM Boards"
  6622. msgstr ""
  6623. #. type: Plain text
  6624. #: guix-git/doc/guix.texi:2719
  6625. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6626. msgstr ""
  6627. #. type: Plain text
  6628. #: guix-git/doc/guix.texi:2723
  6629. 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:"
  6630. msgstr ""
  6631. #. type: example
  6632. #: guix-git/doc/guix.texi:2726
  6633. #, no-wrap
  6634. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6635. msgstr ""
  6636. #. type: Plain text
  6637. #: guix-git/doc/guix.texi:2730
  6638. 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."
  6639. msgstr ""
  6640. #. type: Plain text
  6641. #: guix-git/doc/guix.texi:2740
  6642. 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."
  6643. msgstr ""
  6644. #. type: Plain text
  6645. #: guix-git/doc/guix.texi:2744
  6646. 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:"
  6647. msgstr ""
  6648. #. type: example
  6649. #: guix-git/doc/guix.texi:2747
  6650. #, no-wrap
  6651. msgid "guix search text editor\n"
  6652. msgstr ""
  6653. #. type: Plain text
  6654. #: guix-git/doc/guix.texi:2754
  6655. 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}!):"
  6656. msgstr ""
  6657. #. type: example
  6658. #: guix-git/doc/guix.texi:2757
  6659. #, no-wrap
  6660. msgid "guix install emacs\n"
  6661. msgstr ""
  6662. #. type: cindex
  6663. #: guix-git/doc/guix.texi:2759 guix-git/doc/guix.texi:3071
  6664. #: guix-git/doc/guix.texi:3123
  6665. #, no-wrap
  6666. msgid "profile"
  6667. msgstr ""
  6668. #. type: Plain text
  6669. #: guix-git/doc/guix.texi:2767
  6670. 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)."
  6671. msgstr ""
  6672. #. type: Plain text
  6673. #: guix-git/doc/guix.texi:2770
  6674. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6675. msgstr ""
  6676. #. type: example
  6677. #: guix-git/doc/guix.texi:2773
  6678. #, no-wrap
  6679. msgid ""
  6680. "hint: Consider setting the necessary environment variables by running:\n"
  6681. "\n"
  6682. msgstr ""
  6683. #. type: example
  6684. #: guix-git/doc/guix.texi:2776
  6685. #, no-wrap
  6686. msgid ""
  6687. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6688. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6689. "\n"
  6690. msgstr ""
  6691. #. type: example
  6692. #: guix-git/doc/guix.texi:2778
  6693. #, no-wrap
  6694. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6695. msgstr ""
  6696. #. type: Plain text
  6697. #: guix-git/doc/guix.texi:2792
  6698. msgid "Indeed, you must now tell your shell where @command{emacs} and other programs installed with Guix are to be found. Pasting the two lines above will do just that: it will add @code{$HOME/.guix-profile/bin}---which is where the installed package is---to the @code{PATH} environment variable. You can paste these two lines in your shell so they take effect right away, but more importantly you should add them to @file{~/.bash_profile} (or equivalent file if you do not use Bash) so that environment variables are set next time you spawn a shell. You only need to do this once and other search paths environment variables will be taken care of similarly---e.g., if you eventually install @code{python} and Python libraries, @code{PYTHONPATH} will be defined."
  6699. msgstr ""
  6700. #. type: Plain text
  6701. #: guix-git/doc/guix.texi:2795
  6702. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6703. msgstr ""
  6704. #. type: example
  6705. #: guix-git/doc/guix.texi:2798
  6706. #, no-wrap
  6707. msgid "guix package --list-installed\n"
  6708. msgstr ""
  6709. #. type: Plain text
  6710. #: guix-git/doc/guix.texi:2803
  6711. 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:"
  6712. msgstr ""
  6713. #. type: example
  6714. #: guix-git/doc/guix.texi:2806
  6715. #, no-wrap
  6716. msgid "guix package --roll-back\n"
  6717. msgstr ""
  6718. #. type: Plain text
  6719. #: guix-git/doc/guix.texi:2811
  6720. 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:"
  6721. msgstr ""
  6722. #. type: example
  6723. #: guix-git/doc/guix.texi:2814
  6724. #, no-wrap
  6725. msgid "guix package --list-generations\n"
  6726. msgstr ""
  6727. #. type: Plain text
  6728. #: guix-git/doc/guix.texi:2817
  6729. msgid "Now you know the basics of package management!"
  6730. msgstr ""
  6731. #. type: quotation
  6732. #: guix-git/doc/guix.texi:2818 guix-git/doc/guix.texi:2877
  6733. #, no-wrap
  6734. msgid "Going further"
  6735. msgstr ""
  6736. #. type: quotation
  6737. #: guix-git/doc/guix.texi:2826
  6738. 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."
  6739. msgstr ""
  6740. #. type: Plain text
  6741. #: guix-git/doc/guix.texi:2831
  6742. 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:"
  6743. msgstr ""
  6744. #. type: Plain text
  6745. #: guix-git/doc/guix.texi:2841
  6746. 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}:"
  6747. msgstr ""
  6748. #. type: example
  6749. #: guix-git/doc/guix.texi:2845
  6750. #, no-wrap
  6751. msgid ""
  6752. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  6753. ". \"$GUIX_PROFILE/etc/profile\"\n"
  6754. msgstr ""
  6755. #. type: Plain text
  6756. #: guix-git/doc/guix.texi:2849
  6757. msgid "You must also instruct your shell to point to this new @command{guix}:"
  6758. msgstr ""
  6759. #. type: example
  6760. #: guix-git/doc/guix.texi:2852
  6761. #, no-wrap
  6762. msgid "hash guix\n"
  6763. msgstr ""
  6764. #. type: Plain text
  6765. #: guix-git/doc/guix.texi:2856
  6766. 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:"
  6767. msgstr ""
  6768. #. type: example
  6769. #: guix-git/doc/guix.texi:2859
  6770. #, no-wrap
  6771. msgid "guix upgrade\n"
  6772. msgstr ""
  6773. #. type: Plain text
  6774. #: guix-git/doc/guix.texi:2865
  6775. 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!"
  6776. msgstr ""
  6777. #. type: Plain text
  6778. #: guix-git/doc/guix.texi:2868
  6779. msgid "You can display the exact revision of Guix you're currently using by running:"
  6780. msgstr ""
  6781. #. type: example
  6782. #: guix-git/doc/guix.texi:2871
  6783. #, no-wrap
  6784. msgid "guix describe\n"
  6785. msgstr ""
  6786. #. type: Plain text
  6787. #: guix-git/doc/guix.texi:2876
  6788. 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."
  6789. msgstr ""
  6790. #. type: quotation
  6791. #: guix-git/doc/guix.texi:2882
  6792. 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})."
  6793. msgstr ""
  6794. #. type: Plain text
  6795. #: guix-git/doc/guix.texi:2887
  6796. 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:"
  6797. msgstr ""
  6798. #. type: example
  6799. #: guix-git/doc/guix.texi:2890
  6800. #, no-wrap
  6801. msgid "sudo guix system reconfigure /etc/config.scm\n"
  6802. msgstr ""
  6803. #. type: Plain text
  6804. #: guix-git/doc/guix.texi:2899
  6805. 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}:"
  6806. msgstr ""
  6807. #. type: example
  6808. #: guix-git/doc/guix.texi:2902
  6809. #, no-wrap
  6810. msgid "sudo guix system roll-back\n"
  6811. msgstr ""
  6812. #. type: Plain text
  6813. #: guix-git/doc/guix.texi:2909
  6814. 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."
  6815. msgstr ""
  6816. #. type: Plain text
  6817. #: guix-git/doc/guix.texi:2911
  6818. msgid "Now you know enough to get started!"
  6819. msgstr ""
  6820. #. type: quotation
  6821. #: guix-git/doc/guix.texi:2912
  6822. #, no-wrap
  6823. msgid "Resources"
  6824. msgstr ""
  6825. #. type: quotation
  6826. #: guix-git/doc/guix.texi:2915
  6827. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  6828. msgstr ""
  6829. #. type: itemize
  6830. #: guix-git/doc/guix.texi:2920
  6831. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  6832. msgstr ""
  6833. #. type: itemize
  6834. #: guix-git/doc/guix.texi:2925
  6835. 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."
  6836. msgstr ""
  6837. #. type: itemize
  6838. #: guix-git/doc/guix.texi:2930
  6839. 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."
  6840. msgstr ""
  6841. #. type: itemize
  6842. #: guix-git/doc/guix.texi:2934
  6843. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  6844. msgstr ""
  6845. #. type: quotation
  6846. #: guix-git/doc/guix.texi:2937
  6847. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  6848. msgstr ""
  6849. #. type: Plain text
  6850. #: guix-git/doc/guix.texi:2948
  6851. 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."
  6852. msgstr ""
  6853. #. type: Plain text
  6854. #: guix-git/doc/guix.texi:2956
  6855. 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):"
  6856. msgstr ""
  6857. #. type: example
  6858. #: guix-git/doc/guix.texi:2959
  6859. #, no-wrap
  6860. msgid "guix install emacs-guix\n"
  6861. msgstr ""
  6862. #. type: Plain text
  6863. #: guix-git/doc/guix.texi:2980
  6864. 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."
  6865. msgstr ""
  6866. #. type: Plain text
  6867. #: guix-git/doc/guix.texi:2984
  6868. 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."
  6869. msgstr ""
  6870. #. type: Plain text
  6871. #: guix-git/doc/guix.texi:2989
  6872. 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}."
  6873. msgstr ""
  6874. #. type: Plain text
  6875. #: guix-git/doc/guix.texi:2997
  6876. 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."
  6877. msgstr ""
  6878. #. type: Plain text
  6879. #: guix-git/doc/guix.texi:3001
  6880. 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}."
  6881. msgstr ""
  6882. #. type: cindex
  6883. #: guix-git/doc/guix.texi:3002 guix-git/doc/guix.texi:3085
  6884. #, no-wrap
  6885. msgid "transactions"
  6886. msgstr ""
  6887. #. type: Plain text
  6888. #: guix-git/doc/guix.texi:3009
  6889. 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."
  6890. msgstr ""
  6891. #. type: Plain text
  6892. #: guix-git/doc/guix.texi:3017
  6893. 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})."
  6894. msgstr ""
  6895. #. type: Plain text
  6896. #: guix-git/doc/guix.texi:3024
  6897. 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."
  6898. msgstr ""
  6899. #. type: Plain text
  6900. #: guix-git/doc/guix.texi:3037
  6901. 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})."
  6902. msgstr ""
  6903. #. type: Plain text
  6904. #: guix-git/doc/guix.texi:3048
  6905. 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})."
  6906. msgstr ""
  6907. #. type: Plain text
  6908. #: guix-git/doc/guix.texi:3054
  6909. msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix environment} command allows developers of a package to quickly set up the right development environment for their package, without having to manually install the dependencies of the package into their profile (@pxref{Invoking guix environment})."
  6910. msgstr ""
  6911. #. type: cindex
  6912. #: guix-git/doc/guix.texi:3055
  6913. #, no-wrap
  6914. msgid "replication, of software environments"
  6915. msgstr ""
  6916. #. type: cindex
  6917. #: guix-git/doc/guix.texi:3056
  6918. #, no-wrap
  6919. msgid "provenance tracking, of software artifacts"
  6920. msgstr ""
  6921. #. type: Plain text
  6922. #: guix-git/doc/guix.texi:3063
  6923. 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."
  6924. msgstr ""
  6925. #. type: section
  6926. #: guix-git/doc/guix.texi:3065
  6927. #, no-wrap
  6928. msgid "Invoking @command{guix package}"
  6929. msgstr ""
  6930. #. type: cindex
  6931. #: guix-git/doc/guix.texi:3067
  6932. #, no-wrap
  6933. msgid "installing packages"
  6934. msgstr ""
  6935. #. type: cindex
  6936. #: guix-git/doc/guix.texi:3068
  6937. #, no-wrap
  6938. msgid "removing packages"
  6939. msgstr ""
  6940. #. type: cindex
  6941. #: guix-git/doc/guix.texi:3069
  6942. #, no-wrap
  6943. msgid "package installation"
  6944. msgstr ""
  6945. #. type: cindex
  6946. #: guix-git/doc/guix.texi:3070
  6947. #, no-wrap
  6948. msgid "package removal"
  6949. msgstr ""
  6950. #. type: Plain text
  6951. #: guix-git/doc/guix.texi:3080
  6952. 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:"
  6953. msgstr ""
  6954. #. type: example
  6955. #: guix-git/doc/guix.texi:3083
  6956. #, no-wrap
  6957. msgid "guix package @var{options}\n"
  6958. msgstr ""
  6959. #. type: Plain text
  6960. #: guix-git/doc/guix.texi:3090
  6961. 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."
  6962. msgstr ""
  6963. #. type: Plain text
  6964. #: guix-git/doc/guix.texi:3093
  6965. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  6966. msgstr ""
  6967. #. type: example
  6968. #: guix-git/doc/guix.texi:3096
  6969. #, no-wrap
  6970. msgid "guix package -r lua -i guile guile-cairo\n"
  6971. msgstr ""
  6972. #. type: cindex
  6973. #: guix-git/doc/guix.texi:3098
  6974. #, no-wrap
  6975. msgid "aliases, for @command{guix package}"
  6976. msgstr ""
  6977. #. type: Plain text
  6978. #: guix-git/doc/guix.texi:3100
  6979. msgid "For your convenience, we also provide the following aliases:"
  6980. msgstr ""
  6981. #. type: itemize
  6982. #: guix-git/doc/guix.texi:3104
  6983. msgid "@command{guix search} is an alias for @command{guix package -s},"
  6984. msgstr ""
  6985. #. type: itemize
  6986. #: guix-git/doc/guix.texi:3106
  6987. msgid "@command{guix install} is an alias for @command{guix package -i},"
  6988. msgstr ""
  6989. #. type: itemize
  6990. #: guix-git/doc/guix.texi:3108
  6991. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  6992. msgstr ""
  6993. #. type: itemize
  6994. #: guix-git/doc/guix.texi:3110
  6995. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  6996. msgstr ""
  6997. #. type: itemize
  6998. #: guix-git/doc/guix.texi:3112
  6999. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7000. msgstr ""
  7001. #. type: Plain text
  7002. #: guix-git/doc/guix.texi:3117
  7003. 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."
  7004. msgstr ""
  7005. #. type: Plain text
  7006. #: guix-git/doc/guix.texi:3122
  7007. 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}})."
  7008. msgstr ""
  7009. #. type: Plain text
  7010. #: guix-git/doc/guix.texi:3129
  7011. 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."
  7012. msgstr ""
  7013. #. type: cindex
  7014. #: guix-git/doc/guix.texi:3129 guix-git/doc/guix.texi:3362
  7015. #, no-wrap
  7016. msgid "search paths"
  7017. msgstr ""
  7018. #. type: Plain text
  7019. #: guix-git/doc/guix.texi:3134
  7020. 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:"
  7021. msgstr ""
  7022. #. type: example
  7023. #: guix-git/doc/guix.texi:3138
  7024. #, no-wrap
  7025. msgid ""
  7026. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7027. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7028. msgstr ""
  7029. #. type: Plain text
  7030. #: guix-git/doc/guix.texi:3149
  7031. 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}."
  7032. msgstr ""
  7033. #. type: Plain text
  7034. #: guix-git/doc/guix.texi:3151
  7035. msgid "The @var{options} can be among the following:"
  7036. msgstr ""
  7037. #. type: item
  7038. #: guix-git/doc/guix.texi:3154
  7039. #, no-wrap
  7040. msgid "--install=@var{package} @dots{}"
  7041. msgstr ""
  7042. #. type: itemx
  7043. #: guix-git/doc/guix.texi:3155
  7044. #, no-wrap
  7045. msgid "-i @var{package} @dots{}"
  7046. msgstr ""
  7047. #. type: table
  7048. #: guix-git/doc/guix.texi:3157
  7049. msgid "Install the specified @var{package}s."
  7050. msgstr ""
  7051. #. type: table
  7052. #: guix-git/doc/guix.texi:3162
  7053. 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)."
  7054. msgstr ""
  7055. #. type: table
  7056. #: guix-git/doc/guix.texi:3170
  7057. 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})."
  7058. msgstr ""
  7059. #. type: cindex
  7060. #: guix-git/doc/guix.texi:3171
  7061. #, no-wrap
  7062. msgid "propagated inputs"
  7063. msgstr ""
  7064. #. type: table
  7065. #: guix-git/doc/guix.texi:3177
  7066. 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)."
  7067. msgstr ""
  7068. #. type: anchor{#1}
  7069. #: guix-git/doc/guix.texi:3184
  7070. msgid "package-cmd-propagated-inputs"
  7071. msgstr ""
  7072. #. type: table
  7073. #: guix-git/doc/guix.texi:3184
  7074. 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."
  7075. msgstr ""
  7076. #. type: table
  7077. #: guix-git/doc/guix.texi:3189
  7078. 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."
  7079. msgstr ""
  7080. #. type: item
  7081. #: guix-git/doc/guix.texi:3190
  7082. #, no-wrap
  7083. msgid "--install-from-expression=@var{exp}"
  7084. msgstr ""
  7085. #. type: itemx
  7086. #: guix-git/doc/guix.texi:3191
  7087. #, no-wrap
  7088. msgid "-e @var{exp}"
  7089. msgstr ""
  7090. #. type: table
  7091. #: guix-git/doc/guix.texi:3193
  7092. msgid "Install the package @var{exp} evaluates to."
  7093. msgstr ""
  7094. #. type: table
  7095. #: guix-git/doc/guix.texi:3198
  7096. 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)}."
  7097. msgstr ""
  7098. #. type: table
  7099. #: guix-git/doc/guix.texi:3202
  7100. 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."
  7101. msgstr ""
  7102. #. type: item
  7103. #: guix-git/doc/guix.texi:3203
  7104. #, no-wrap
  7105. msgid "--install-from-file=@var{file}"
  7106. msgstr ""
  7107. #. type: itemx
  7108. #: guix-git/doc/guix.texi:3204 guix-git/doc/guix.texi:10758
  7109. #, no-wrap
  7110. msgid "-f @var{file}"
  7111. msgstr ""
  7112. #. type: table
  7113. #: guix-git/doc/guix.texi:3206
  7114. msgid "Install the package that the code within @var{file} evaluates to."
  7115. msgstr ""
  7116. #. type: table
  7117. #: guix-git/doc/guix.texi:3209 guix-git/doc/guix.texi:5741
  7118. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7119. msgstr ""
  7120. #. type: include
  7121. #: guix-git/doc/guix.texi:3211 guix-git/doc/guix.texi:10766
  7122. #, no-wrap
  7123. msgid "package-hello.scm"
  7124. msgstr ""
  7125. #. type: table
  7126. #: guix-git/doc/guix.texi:3218
  7127. msgid "Developers may find it useful to include such a @file{guix.scm} file in the root of their project source tree that can be used to test development snapshots and create reproducible development environments (@pxref{Invoking guix environment})."
  7128. msgstr ""
  7129. #. type: table
  7130. #: guix-git/doc/guix.texi:3223
  7131. 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}:"
  7132. msgstr ""
  7133. #. type: example
  7134. #: guix-git/doc/guix.texi:3226 guix-git/doc/guix.texi:10776
  7135. #, no-wrap
  7136. msgid "@verbatiminclude package-hello.json\n"
  7137. msgstr ""
  7138. #. type: item
  7139. #: guix-git/doc/guix.texi:3228
  7140. #, no-wrap
  7141. msgid "--remove=@var{package} @dots{}"
  7142. msgstr ""
  7143. #. type: itemx
  7144. #: guix-git/doc/guix.texi:3229
  7145. #, no-wrap
  7146. msgid "-r @var{package} @dots{}"
  7147. msgstr ""
  7148. #. type: table
  7149. #: guix-git/doc/guix.texi:3231
  7150. msgid "Remove the specified @var{package}s."
  7151. msgstr ""
  7152. #. type: table
  7153. #: guix-git/doc/guix.texi:3236
  7154. 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}."
  7155. msgstr ""
  7156. #. type: item
  7157. #: guix-git/doc/guix.texi:3237
  7158. #, no-wrap
  7159. msgid "--upgrade[=@var{regexp} @dots{}]"
  7160. msgstr ""
  7161. #. type: itemx
  7162. #: guix-git/doc/guix.texi:3238
  7163. #, no-wrap
  7164. msgid "-u [@var{regexp} @dots{}]"
  7165. msgstr ""
  7166. #. type: cindex
  7167. #: guix-git/doc/guix.texi:3239
  7168. #, no-wrap
  7169. msgid "upgrading packages"
  7170. msgstr ""
  7171. #. type: table
  7172. #: guix-git/doc/guix.texi:3243
  7173. 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."
  7174. msgstr ""
  7175. #. type: table
  7176. #: guix-git/doc/guix.texi:3248
  7177. 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})."
  7178. msgstr ""
  7179. #. type: cindex
  7180. #: guix-git/doc/guix.texi:3249
  7181. #, no-wrap
  7182. msgid "package transformations, upgrades"
  7183. msgstr ""
  7184. #. type: table
  7185. #: guix-git/doc/guix.texi:3254
  7186. 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:"
  7187. msgstr ""
  7188. #. type: example
  7189. #: guix-git/doc/guix.texi:3257
  7190. #, no-wrap
  7191. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7192. msgstr ""
  7193. #. type: table
  7194. #: guix-git/doc/guix.texi:3262
  7195. 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."
  7196. msgstr ""
  7197. #. type: table
  7198. #: guix-git/doc/guix.texi:3267
  7199. 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:"
  7200. msgstr ""
  7201. #. type: example
  7202. #: guix-git/doc/guix.texi:3270
  7203. #, no-wrap
  7204. msgid "guix install @var{package}\n"
  7205. msgstr ""
  7206. #. type: item
  7207. #: guix-git/doc/guix.texi:3272
  7208. #, no-wrap
  7209. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7210. msgstr ""
  7211. #. type: table
  7212. #: guix-git/doc/guix.texi:3277
  7213. 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'':"
  7214. msgstr ""
  7215. #. type: example
  7216. #: guix-git/doc/guix.texi:3280
  7217. #, no-wrap
  7218. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7219. msgstr ""
  7220. #. type: anchor{#1}
  7221. #: guix-git/doc/guix.texi:3282
  7222. #, no-wrap
  7223. msgid "profile-manifest"
  7224. msgstr ""
  7225. #. type: item
  7226. #: guix-git/doc/guix.texi:3282 guix-git/doc/guix.texi:5746
  7227. #: guix-git/doc/guix.texi:6194 guix-git/doc/guix.texi:11870
  7228. #: guix-git/doc/guix.texi:13319
  7229. #, no-wrap
  7230. msgid "--manifest=@var{file}"
  7231. msgstr ""
  7232. #. type: itemx
  7233. #: guix-git/doc/guix.texi:3283 guix-git/doc/guix.texi:5747
  7234. #: guix-git/doc/guix.texi:6195 guix-git/doc/guix.texi:11871
  7235. #, no-wrap
  7236. msgid "-m @var{file}"
  7237. msgstr ""
  7238. #. type: cindex
  7239. #: guix-git/doc/guix.texi:3284
  7240. #, no-wrap
  7241. msgid "profile declaration"
  7242. msgstr ""
  7243. #. type: cindex
  7244. #: guix-git/doc/guix.texi:3285
  7245. #, no-wrap
  7246. msgid "profile manifest"
  7247. msgstr ""
  7248. #. type: table
  7249. #: guix-git/doc/guix.texi:3289
  7250. 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."
  7251. msgstr ""
  7252. #. type: table
  7253. #: guix-git/doc/guix.texi:3295
  7254. 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."
  7255. msgstr ""
  7256. #. type: table
  7257. #: guix-git/doc/guix.texi:3299
  7258. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7259. msgstr ""
  7260. #. type: findex
  7261. #: guix-git/doc/guix.texi:3300
  7262. #, no-wrap
  7263. msgid "packages->manifest"
  7264. msgstr ""
  7265. #. type: lisp
  7266. #: guix-git/doc/guix.texi:3303
  7267. #, no-wrap
  7268. msgid ""
  7269. "(use-package-modules guile emacs)\n"
  7270. "\n"
  7271. msgstr ""
  7272. #. type: lisp
  7273. #: guix-git/doc/guix.texi:3309
  7274. #, no-wrap
  7275. msgid ""
  7276. "(packages->manifest\n"
  7277. " (list emacs\n"
  7278. " guile-2.0\n"
  7279. " ;; Use a specific package output.\n"
  7280. " (list guile-2.0 \"debug\")))\n"
  7281. msgstr ""
  7282. #. type: findex
  7283. #: guix-git/doc/guix.texi:3311
  7284. #, no-wrap
  7285. msgid "specifications->manifest"
  7286. msgstr ""
  7287. #. type: table
  7288. #: guix-git/doc/guix.texi:3318
  7289. 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:"
  7290. msgstr ""
  7291. #. type: lisp
  7292. #: guix-git/doc/guix.texi:3322
  7293. #, no-wrap
  7294. msgid ""
  7295. "(specifications->manifest\n"
  7296. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7297. msgstr ""
  7298. #. type: table
  7299. #: guix-git/doc/guix.texi:3326
  7300. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7301. msgstr ""
  7302. #. type: item
  7303. #: guix-git/doc/guix.texi:3327 guix-git/doc/guix.texi:4434
  7304. #, no-wrap
  7305. msgid "--roll-back"
  7306. msgstr ""
  7307. #. type: cindex
  7308. #: guix-git/doc/guix.texi:3328 guix-git/doc/guix.texi:4435
  7309. #: guix-git/doc/guix.texi:33604
  7310. #, no-wrap
  7311. msgid "rolling back"
  7312. msgstr ""
  7313. #. type: cindex
  7314. #: guix-git/doc/guix.texi:3329 guix-git/doc/guix.texi:4436
  7315. #, no-wrap
  7316. msgid "undoing transactions"
  7317. msgstr ""
  7318. #. type: cindex
  7319. #: guix-git/doc/guix.texi:3330 guix-git/doc/guix.texi:4437
  7320. #, no-wrap
  7321. msgid "transactions, undoing"
  7322. msgstr ""
  7323. #. type: table
  7324. #: guix-git/doc/guix.texi:3333
  7325. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7326. msgstr ""
  7327. #. type: table
  7328. #: guix-git/doc/guix.texi:3336
  7329. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7330. msgstr ""
  7331. #. type: table
  7332. #: guix-git/doc/guix.texi:3340
  7333. 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."
  7334. msgstr ""
  7335. #. type: table
  7336. #: guix-git/doc/guix.texi:3344
  7337. 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."
  7338. msgstr ""
  7339. #. type: item
  7340. #: guix-git/doc/guix.texi:3345 guix-git/doc/guix.texi:4441
  7341. #, no-wrap
  7342. msgid "--switch-generation=@var{pattern}"
  7343. msgstr ""
  7344. #. type: itemx
  7345. #: guix-git/doc/guix.texi:3346 guix-git/doc/guix.texi:4442
  7346. #, no-wrap
  7347. msgid "-S @var{pattern}"
  7348. msgstr ""
  7349. #. type: cindex
  7350. #: guix-git/doc/guix.texi:3347 guix-git/doc/guix.texi:3577
  7351. #: guix-git/doc/guix.texi:4443 guix-git/doc/guix.texi:33562
  7352. #, no-wrap
  7353. msgid "generations"
  7354. msgstr ""
  7355. #. type: table
  7356. #: guix-git/doc/guix.texi:3349 guix-git/doc/guix.texi:4445
  7357. msgid "Switch to a particular generation defined by @var{pattern}."
  7358. msgstr ""
  7359. #. type: table
  7360. #: guix-git/doc/guix.texi:3355 guix-git/doc/guix.texi:4451
  7361. 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}."
  7362. msgstr ""
  7363. #. type: table
  7364. #: guix-git/doc/guix.texi:3360
  7365. 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."
  7366. msgstr ""
  7367. #. type: item
  7368. #: guix-git/doc/guix.texi:3361
  7369. #, no-wrap
  7370. msgid "--search-paths[=@var{kind}]"
  7371. msgstr ""
  7372. #. type: table
  7373. #: guix-git/doc/guix.texi:3367
  7374. 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."
  7375. msgstr ""
  7376. #. type: table
  7377. #: guix-git/doc/guix.texi:3375
  7378. 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."
  7379. msgstr ""
  7380. #. type: table
  7381. #: guix-git/doc/guix.texi:3378
  7382. msgid "The typical use case is to define these environment variables in the shell:"
  7383. msgstr ""
  7384. #. type: example
  7385. #: guix-git/doc/guix.texi:3381
  7386. #, no-wrap
  7387. msgid "$ eval `guix package --search-paths`\n"
  7388. msgstr ""
  7389. #. type: table
  7390. #: guix-git/doc/guix.texi:3387
  7391. 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}."
  7392. msgstr ""
  7393. #. type: table
  7394. #: guix-git/doc/guix.texi:3390
  7395. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7396. msgstr ""
  7397. #. type: example
  7398. #: guix-git/doc/guix.texi:3395
  7399. #, no-wrap
  7400. msgid ""
  7401. "$ guix package -p foo -i guile\n"
  7402. "$ guix package -p bar -i guile-json\n"
  7403. "$ guix package -p foo -p bar --search-paths\n"
  7404. msgstr ""
  7405. #. type: table
  7406. #: guix-git/doc/guix.texi:3400
  7407. 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."
  7408. msgstr ""
  7409. #. type: cindex
  7410. #: guix-git/doc/guix.texi:3402
  7411. #, no-wrap
  7412. msgid "profile, choosing"
  7413. msgstr ""
  7414. #. type: item
  7415. #: guix-git/doc/guix.texi:3403 guix-git/doc/guix.texi:4471
  7416. #: guix-git/doc/guix.texi:4800
  7417. #, no-wrap
  7418. msgid "--profile=@var{profile}"
  7419. msgstr ""
  7420. #. type: itemx
  7421. #: guix-git/doc/guix.texi:3404 guix-git/doc/guix.texi:4472
  7422. #: guix-git/doc/guix.texi:4801
  7423. #, no-wrap
  7424. msgid "-p @var{profile}"
  7425. msgstr ""
  7426. #. type: table
  7427. #: guix-git/doc/guix.texi:3406
  7428. msgid "Use @var{profile} instead of the user's default profile."
  7429. msgstr ""
  7430. #. type: table
  7431. #: guix-git/doc/guix.texi:3411
  7432. 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:"
  7433. msgstr ""
  7434. #. type: example
  7435. #: guix-git/doc/guix.texi:3417
  7436. #, no-wrap
  7437. msgid ""
  7438. "$ guix install hello -p ~/code/my-profile\n"
  7439. "@dots{}\n"
  7440. "$ ~/code/my-profile/bin/hello\n"
  7441. "Hello, world!\n"
  7442. msgstr ""
  7443. #. type: table
  7444. #: guix-git/doc/guix.texi:3421
  7445. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7446. msgstr ""
  7447. #. type: example
  7448. #: guix-git/doc/guix.texi:3424
  7449. #, no-wrap
  7450. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7451. msgstr ""
  7452. #. type: item
  7453. #: guix-git/doc/guix.texi:3426
  7454. #, no-wrap
  7455. msgid "--list-profiles"
  7456. msgstr ""
  7457. #. type: table
  7458. #: guix-git/doc/guix.texi:3428
  7459. msgid "List all the user's profiles:"
  7460. msgstr ""
  7461. #. type: example
  7462. #: guix-git/doc/guix.texi:3435
  7463. #, no-wrap
  7464. msgid ""
  7465. "$ guix package --list-profiles\n"
  7466. "/home/charlie/.guix-profile\n"
  7467. "/home/charlie/code/my-profile\n"
  7468. "/home/charlie/code/devel-profile\n"
  7469. "/home/charlie/tmp/test\n"
  7470. msgstr ""
  7471. #. type: table
  7472. #: guix-git/doc/guix.texi:3438
  7473. msgid "When running as root, list all the profiles of all the users."
  7474. msgstr ""
  7475. #. type: cindex
  7476. #: guix-git/doc/guix.texi:3439
  7477. #, no-wrap
  7478. msgid "collisions, in a profile"
  7479. msgstr ""
  7480. #. type: cindex
  7481. #: guix-git/doc/guix.texi:3440
  7482. #, no-wrap
  7483. msgid "colliding packages in profiles"
  7484. msgstr ""
  7485. #. type: cindex
  7486. #: guix-git/doc/guix.texi:3441
  7487. #, no-wrap
  7488. msgid "profile collisions"
  7489. msgstr ""
  7490. #. type: item
  7491. #: guix-git/doc/guix.texi:3442
  7492. #, no-wrap
  7493. msgid "--allow-collisions"
  7494. msgstr ""
  7495. #. type: table
  7496. #: guix-git/doc/guix.texi:3444
  7497. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7498. msgstr ""
  7499. #. type: table
  7500. #: guix-git/doc/guix.texi:3448
  7501. 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."
  7502. msgstr ""
  7503. #. type: item
  7504. #: guix-git/doc/guix.texi:3449 guix-git/doc/guix.texi:4514
  7505. #: guix-git/doc/guix.texi:6280
  7506. #, no-wrap
  7507. msgid "--bootstrap"
  7508. msgstr ""
  7509. #. type: table
  7510. #: guix-git/doc/guix.texi:3452
  7511. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7512. msgstr ""
  7513. #. type: Plain text
  7514. #: guix-git/doc/guix.texi:3458
  7515. 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:"
  7516. msgstr ""
  7517. #. type: item
  7518. #: guix-git/doc/guix.texi:3461
  7519. #, no-wrap
  7520. msgid "--search=@var{regexp}"
  7521. msgstr ""
  7522. #. type: itemx
  7523. #: guix-git/doc/guix.texi:3462
  7524. #, no-wrap
  7525. msgid "-s @var{regexp}"
  7526. msgstr ""
  7527. #. type: anchor{#1}
  7528. #: guix-git/doc/guix.texi:3464
  7529. msgid "guix-search"
  7530. msgstr ""
  7531. #. type: cindex
  7532. #: guix-git/doc/guix.texi:3464
  7533. #, no-wrap
  7534. msgid "searching for packages"
  7535. msgstr ""
  7536. #. type: table
  7537. #: guix-git/doc/guix.texi:3470
  7538. 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})."
  7539. msgstr ""
  7540. #. type: table
  7541. #: guix-git/doc/guix.texi:3473
  7542. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7543. msgstr ""
  7544. #. type: example
  7545. #: guix-git/doc/guix.texi:3479
  7546. #, no-wrap
  7547. msgid ""
  7548. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7549. "name: jemalloc\n"
  7550. "version: 4.5.0\n"
  7551. "relevance: 6\n"
  7552. "\n"
  7553. msgstr ""
  7554. #. type: example
  7555. #: guix-git/doc/guix.texi:3483
  7556. #, no-wrap
  7557. msgid ""
  7558. "name: glibc\n"
  7559. "version: 2.25\n"
  7560. "relevance: 1\n"
  7561. "\n"
  7562. msgstr ""
  7563. #. type: example
  7564. #: guix-git/doc/guix.texi:3487
  7565. #, no-wrap
  7566. msgid ""
  7567. "name: libgc\n"
  7568. "version: 7.6.0\n"
  7569. "relevance: 1\n"
  7570. msgstr ""
  7571. #. type: table
  7572. #: guix-git/doc/guix.texi:3491
  7573. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7574. msgstr ""
  7575. #. type: example
  7576. #: guix-git/doc/guix.texi:3495
  7577. #, no-wrap
  7578. msgid ""
  7579. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7580. "name: elfutils\n"
  7581. "\n"
  7582. msgstr ""
  7583. #. type: example
  7584. #: guix-git/doc/guix.texi:3498
  7585. #, no-wrap
  7586. msgid ""
  7587. "name: gmp\n"
  7588. "@dots{}\n"
  7589. msgstr ""
  7590. #. type: table
  7591. #: guix-git/doc/guix.texi:3504
  7592. 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):"
  7593. msgstr ""
  7594. #. type: example
  7595. #: guix-git/doc/guix.texi:3509
  7596. #, no-wrap
  7597. msgid ""
  7598. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7599. "name: gnubg\n"
  7600. "@dots{}\n"
  7601. msgstr ""
  7602. #. type: table
  7603. #: guix-git/doc/guix.texi:3515
  7604. 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."
  7605. msgstr ""
  7606. #. type: table
  7607. #: guix-git/doc/guix.texi:3519
  7608. 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:"
  7609. msgstr ""
  7610. #. type: example
  7611. #: guix-git/doc/guix.texi:3523
  7612. #, no-wrap
  7613. msgid ""
  7614. "$ guix search crypto library | \\\n"
  7615. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7616. msgstr ""
  7617. #. type: table
  7618. #: guix-git/doc/guix.texi:3528
  7619. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7620. msgstr ""
  7621. #. type: item
  7622. #: guix-git/doc/guix.texi:3529
  7623. #, no-wrap
  7624. msgid "--show=@var{package}"
  7625. msgstr ""
  7626. #. type: table
  7627. #: guix-git/doc/guix.texi:3533
  7628. 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})."
  7629. msgstr ""
  7630. #. type: example
  7631. #: guix-git/doc/guix.texi:3538
  7632. #, no-wrap
  7633. msgid ""
  7634. "$ guix package --show=python | recsel -p name,version\n"
  7635. "name: python\n"
  7636. "version: 2.7.6\n"
  7637. "\n"
  7638. msgstr ""
  7639. #. type: example
  7640. #: guix-git/doc/guix.texi:3541
  7641. #, no-wrap
  7642. msgid ""
  7643. "name: python\n"
  7644. "version: 3.3.5\n"
  7645. msgstr ""
  7646. #. type: table
  7647. #: guix-git/doc/guix.texi:3545
  7648. 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):"
  7649. msgstr ""
  7650. #. type: example
  7651. #: guix-git/doc/guix.texi:3549
  7652. #, no-wrap
  7653. msgid ""
  7654. "$ guix show python@@3.4 | recsel -p name,version\n"
  7655. "name: python\n"
  7656. "version: 3.4.3\n"
  7657. msgstr ""
  7658. #. type: item
  7659. #: guix-git/doc/guix.texi:3553
  7660. #, no-wrap
  7661. msgid "--list-installed[=@var{regexp}]"
  7662. msgstr ""
  7663. #. type: itemx
  7664. #: guix-git/doc/guix.texi:3554
  7665. #, no-wrap
  7666. msgid "-I [@var{regexp}]"
  7667. msgstr ""
  7668. #. type: table
  7669. #: guix-git/doc/guix.texi:3558
  7670. 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}."
  7671. msgstr ""
  7672. #. type: table
  7673. #: guix-git/doc/guix.texi:3564
  7674. 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."
  7675. msgstr ""
  7676. #. type: item
  7677. #: guix-git/doc/guix.texi:3565
  7678. #, no-wrap
  7679. msgid "--list-available[=@var{regexp}]"
  7680. msgstr ""
  7681. #. type: itemx
  7682. #: guix-git/doc/guix.texi:3566
  7683. #, no-wrap
  7684. msgid "-A [@var{regexp}]"
  7685. msgstr ""
  7686. #. type: table
  7687. #: guix-git/doc/guix.texi:3570
  7688. 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}."
  7689. msgstr ""
  7690. #. type: table
  7691. #: guix-git/doc/guix.texi:3574
  7692. 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."
  7693. msgstr ""
  7694. #. type: item
  7695. #: guix-git/doc/guix.texi:3575 guix-git/doc/guix.texi:4427
  7696. #, no-wrap
  7697. msgid "--list-generations[=@var{pattern}]"
  7698. msgstr ""
  7699. #. type: itemx
  7700. #: guix-git/doc/guix.texi:3576 guix-git/doc/guix.texi:4428
  7701. #, no-wrap
  7702. msgid "-l [@var{pattern}]"
  7703. msgstr ""
  7704. #. type: table
  7705. #: guix-git/doc/guix.texi:3582
  7706. 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."
  7707. msgstr ""
  7708. #. type: table
  7709. #: guix-git/doc/guix.texi:3587
  7710. 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."
  7711. msgstr ""
  7712. #. type: table
  7713. #: guix-git/doc/guix.texi:3590
  7714. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  7715. msgstr ""
  7716. #. type: item
  7717. #: guix-git/doc/guix.texi:3592
  7718. #, no-wrap
  7719. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  7720. msgstr ""
  7721. #. type: itemize
  7722. #: guix-git/doc/guix.texi:3595
  7723. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  7724. msgstr ""
  7725. #. type: itemize
  7726. #: guix-git/doc/guix.texi:3598
  7727. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  7728. msgstr ""
  7729. #. type: item
  7730. #: guix-git/doc/guix.texi:3599
  7731. #, no-wrap
  7732. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  7733. msgstr ""
  7734. #. type: itemize
  7735. #: guix-git/doc/guix.texi:3602
  7736. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  7737. msgstr ""
  7738. #. type: itemize
  7739. #: guix-git/doc/guix.texi:3606
  7740. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  7741. msgstr ""
  7742. #. type: item
  7743. #: guix-git/doc/guix.texi:3607
  7744. #, no-wrap
  7745. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  7746. msgstr ""
  7747. #. type: itemize
  7748. #: guix-git/doc/guix.texi:3611
  7749. 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."
  7750. msgstr ""
  7751. #. type: item
  7752. #: guix-git/doc/guix.texi:3613 guix-git/doc/guix.texi:4452
  7753. #, no-wrap
  7754. msgid "--delete-generations[=@var{pattern}]"
  7755. msgstr ""
  7756. #. type: itemx
  7757. #: guix-git/doc/guix.texi:3614 guix-git/doc/guix.texi:4453
  7758. #, no-wrap
  7759. msgid "-d [@var{pattern}]"
  7760. msgstr ""
  7761. #. type: table
  7762. #: guix-git/doc/guix.texi:3617 guix-git/doc/guix.texi:4456
  7763. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  7764. msgstr ""
  7765. #. type: table
  7766. #: guix-git/doc/guix.texi:3623 guix-git/doc/guix.texi:4462
  7767. 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."
  7768. msgstr ""
  7769. #. type: table
  7770. #: guix-git/doc/guix.texi:3626
  7771. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  7772. msgstr ""
  7773. #. type: table
  7774. #: guix-git/doc/guix.texi:3629 guix-git/doc/guix.texi:4467
  7775. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  7776. msgstr ""
  7777. #. type: cindex
  7778. #: guix-git/doc/guix.texi:3630
  7779. #, no-wrap
  7780. msgid "manifest, exporting"
  7781. msgstr ""
  7782. #. type: anchor{#1}
  7783. #: guix-git/doc/guix.texi:3632
  7784. msgid "export-manifest"
  7785. msgstr ""
  7786. #. type: item
  7787. #: guix-git/doc/guix.texi:3632
  7788. #, no-wrap
  7789. msgid "--export-manifest"
  7790. msgstr ""
  7791. #. type: table
  7792. #: guix-git/doc/guix.texi:3635
  7793. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  7794. msgstr ""
  7795. #. type: table
  7796. #: guix-git/doc/guix.texi:3639
  7797. 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."
  7798. msgstr ""
  7799. #. type: table
  7800. #: guix-git/doc/guix.texi:3644
  7801. 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."
  7802. msgstr ""
  7803. #. type: table
  7804. #: guix-git/doc/guix.texi:3649
  7805. 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."
  7806. msgstr ""
  7807. #. type: cindex
  7808. #: guix-git/doc/guix.texi:3650
  7809. #, no-wrap
  7810. msgid "pinning, channel revisions of a profile"
  7811. msgstr ""
  7812. #. type: item
  7813. #: guix-git/doc/guix.texi:3651
  7814. #, no-wrap
  7815. msgid "--export-channels"
  7816. msgstr ""
  7817. #. type: table
  7818. #: guix-git/doc/guix.texi:3655
  7819. 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})."
  7820. msgstr ""
  7821. #. type: table
  7822. #: guix-git/doc/guix.texi:3659
  7823. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  7824. msgstr ""
  7825. #. type: table
  7826. #: guix-git/doc/guix.texi:3667
  7827. 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})."
  7828. msgstr ""
  7829. #. type: table
  7830. #: guix-git/doc/guix.texi:3672
  7831. 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."
  7832. msgstr ""
  7833. #. type: Plain text
  7834. #: guix-git/doc/guix.texi:3679
  7835. 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})."
  7836. msgstr ""
  7837. #. type: cindex
  7838. #: guix-git/doc/guix.texi:3684
  7839. #, no-wrap
  7840. msgid "pre-built binaries"
  7841. msgstr ""
  7842. #. type: Plain text
  7843. #: guix-git/doc/guix.texi:3690
  7844. 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."
  7845. msgstr ""
  7846. #. type: Plain text
  7847. #: guix-git/doc/guix.texi:3695
  7848. 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."
  7849. msgstr ""
  7850. #. type: cindex
  7851. #: guix-git/doc/guix.texi:3709
  7852. #, no-wrap
  7853. msgid "build farm"
  7854. msgstr ""
  7855. #. type: Plain text
  7856. #: guix-git/doc/guix.texi:3720
  7857. 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})."
  7858. msgstr ""
  7859. #. type: Plain text
  7860. #: guix-git/doc/guix.texi:3726
  7861. 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."
  7862. msgstr ""
  7863. #. type: Plain text
  7864. #: guix-git/doc/guix.texi:3735
  7865. 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."
  7866. msgstr ""
  7867. #. type: cindex
  7868. #: guix-git/doc/guix.texi:3739
  7869. #, no-wrap
  7870. msgid "security"
  7871. msgstr ""
  7872. #. type: cindex
  7873. #: guix-git/doc/guix.texi:3741
  7874. #, no-wrap
  7875. msgid "access control list (ACL), for substitutes"
  7876. msgstr ""
  7877. #. type: cindex
  7878. #: guix-git/doc/guix.texi:3742
  7879. #, no-wrap
  7880. msgid "ACL (access control list), for substitutes"
  7881. msgstr ""
  7882. #. type: Plain text
  7883. #: guix-git/doc/guix.texi:3748
  7884. 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."
  7885. msgstr ""
  7886. #. type: quotation
  7887. #: guix-git/doc/guix.texi:3753
  7888. 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."
  7889. msgstr ""
  7890. #. type: Plain text
  7891. #: guix-git/doc/guix.texi:3761
  7892. 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:"
  7893. msgstr ""
  7894. #. type: example
  7895. #: guix-git/doc/guix.texi:3765
  7896. #, no-wrap
  7897. msgid ""
  7898. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  7899. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  7900. msgstr ""
  7901. #. type: Plain text
  7902. #: guix-git/doc/guix.texi:3769
  7903. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  7904. msgstr ""
  7905. #. type: example
  7906. #: guix-git/doc/guix.texi:3778
  7907. #, no-wrap
  7908. msgid ""
  7909. "$ guix build emacs --dry-run\n"
  7910. "The following derivations would be built:\n"
  7911. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  7912. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  7913. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  7914. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  7915. "@dots{}\n"
  7916. msgstr ""
  7917. #. type: Plain text
  7918. #: guix-git/doc/guix.texi:3782
  7919. msgid "to something like:"
  7920. msgstr ""
  7921. #. type: example
  7922. #: guix-git/doc/guix.texi:3791
  7923. #, no-wrap
  7924. msgid ""
  7925. "$ guix build emacs --dry-run\n"
  7926. "112.3 MB would be downloaded:\n"
  7927. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  7928. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  7929. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  7930. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  7931. "@dots{}\n"
  7932. msgstr ""
  7933. #. type: Plain text
  7934. #: guix-git/doc/guix.texi:3798
  7935. 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."
  7936. msgstr ""
  7937. #. type: cindex
  7938. #: guix-git/doc/guix.texi:3799
  7939. #, no-wrap
  7940. msgid "substitutes, how to disable"
  7941. msgstr ""
  7942. #. type: Plain text
  7943. #: guix-git/doc/guix.texi:3805
  7944. 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."
  7945. msgstr ""
  7946. #. type: cindex
  7947. #: guix-git/doc/guix.texi:3809
  7948. #, no-wrap
  7949. msgid "substitute servers, adding more"
  7950. msgstr ""
  7951. #. type: Plain text
  7952. #: guix-git/doc/guix.texi:3816
  7953. 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."
  7954. msgstr ""
  7955. #. type: Plain text
  7956. #: guix-git/doc/guix.texi:3821
  7957. 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."
  7958. msgstr ""
  7959. #. type: Plain text
  7960. #: guix-git/doc/guix.texi:3828
  7961. 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}})."
  7962. msgstr ""
  7963. #. type: Plain text
  7964. #: guix-git/doc/guix.texi:3834
  7965. 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:"
  7966. msgstr ""
  7967. #. type: lisp
  7968. #: guix-git/doc/guix.texi:3851
  7969. #, no-wrap
  7970. msgid ""
  7971. "(operating-system\n"
  7972. " ;; @dots{}\n"
  7973. " (services\n"
  7974. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  7975. " ;; with the list of services you're actually using.\n"
  7976. " (modify-services %desktop-services\n"
  7977. " (guix-service-type config =>\n"
  7978. " (guix-configuration\n"
  7979. " (inherit config)\n"
  7980. " (substitute-urls\n"
  7981. " (append (list \"https://guix.example.org\")\n"
  7982. " %default-substitute-urls))\n"
  7983. " (authorized-keys\n"
  7984. " (append (list (local-file \"./key.pub\"))\n"
  7985. " %default-authorized-guix-keys)))))))\n"
  7986. msgstr ""
  7987. #. type: Plain text
  7988. #: guix-git/doc/guix.texi:3858
  7989. 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:"
  7990. msgstr ""
  7991. #. type: example
  7992. #: guix-git/doc/guix.texi:3862
  7993. #, no-wrap
  7994. msgid ""
  7995. "$ sudo guix system reconfigure /etc/config.scm\n"
  7996. "$ sudo herd restart guix-daemon\n"
  7997. msgstr ""
  7998. #. type: Plain text
  7999. #: guix-git/doc/guix.texi:3866
  8000. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8001. msgstr ""
  8002. #. type: enumerate
  8003. #: guix-git/doc/guix.texi:3875
  8004. 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}}):"
  8005. msgstr ""
  8006. #. type: example
  8007. #: guix-git/doc/guix.texi:3878
  8008. #, no-wrap
  8009. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8010. msgstr ""
  8011. #. type: enumerate
  8012. #: guix-git/doc/guix.texi:3882
  8013. msgid "Restart the daemon. For systemd, it goes like this:"
  8014. msgstr ""
  8015. #. type: example
  8016. #: guix-git/doc/guix.texi:3886
  8017. #, no-wrap
  8018. msgid ""
  8019. "systemctl daemon-reload\n"
  8020. "systemctl restart guix-daemon.service\n"
  8021. msgstr ""
  8022. #. type: enumerate
  8023. #: guix-git/doc/guix.texi:3890
  8024. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8025. msgstr ""
  8026. #. type: example
  8027. #: guix-git/doc/guix.texi:3893
  8028. #, no-wrap
  8029. msgid "guix archive --authorize < key.pub\n"
  8030. msgstr ""
  8031. #. type: enumerate
  8032. #: guix-git/doc/guix.texi:3897
  8033. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8034. msgstr ""
  8035. #. type: Plain text
  8036. #: guix-git/doc/guix.texi:3906
  8037. 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."
  8038. msgstr ""
  8039. #. type: Plain text
  8040. #: guix-git/doc/guix.texi:3910
  8041. 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."
  8042. msgstr ""
  8043. #. type: cindex
  8044. #: guix-git/doc/guix.texi:3914
  8045. #, no-wrap
  8046. msgid "digital signatures"
  8047. msgstr ""
  8048. #. type: Plain text
  8049. #: guix-git/doc/guix.texi:3918
  8050. 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."
  8051. msgstr ""
  8052. #. type: Plain text
  8053. #: guix-git/doc/guix.texi:3924
  8054. 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:"
  8055. msgstr ""
  8056. #. type: example
  8057. #: guix-git/doc/guix.texi:3927
  8058. #, no-wrap
  8059. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8060. msgstr ""
  8061. #. type: Plain text
  8062. #: guix-git/doc/guix.texi:3938
  8063. 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)."
  8064. msgstr ""
  8065. #. type: Plain text
  8066. #: guix-git/doc/guix.texi:3945
  8067. 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)."
  8068. msgstr ""
  8069. #. type: Plain text
  8070. #: guix-git/doc/guix.texi:3957
  8071. 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}."
  8072. msgstr ""
  8073. #. type: Plain text
  8074. #: guix-git/doc/guix.texi:3966
  8075. 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."
  8076. msgstr ""
  8077. #. type: Plain text
  8078. #: guix-git/doc/guix.texi:3980
  8079. 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."
  8080. msgstr ""
  8081. #. type: Plain text
  8082. #: guix-git/doc/guix.texi:3985
  8083. 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."
  8084. msgstr ""
  8085. #. type: cindex
  8086. #: guix-git/doc/guix.texi:3989
  8087. #, no-wrap
  8088. msgid "trust, of pre-built binaries"
  8089. msgstr ""
  8090. #. type: Plain text
  8091. #: guix-git/doc/guix.texi:3999
  8092. 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})."
  8093. msgstr ""
  8094. #. type: Plain text
  8095. #: guix-git/doc/guix.texi:4011
  8096. 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}})."
  8097. msgstr ""
  8098. #. type: Plain text
  8099. #: guix-git/doc/guix.texi:4015
  8100. 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}."
  8101. msgstr ""
  8102. #. type: cindex
  8103. #: guix-git/doc/guix.texi:4019
  8104. #, no-wrap
  8105. msgid "multiple-output packages"
  8106. msgstr ""
  8107. #. type: cindex
  8108. #: guix-git/doc/guix.texi:4020
  8109. #, no-wrap
  8110. msgid "package outputs"
  8111. msgstr ""
  8112. #. type: cindex
  8113. #: guix-git/doc/guix.texi:4021
  8114. #, no-wrap
  8115. msgid "outputs"
  8116. msgstr ""
  8117. #. type: Plain text
  8118. #: guix-git/doc/guix.texi:4031
  8119. 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."
  8120. msgstr ""
  8121. #. type: Plain text
  8122. #: guix-git/doc/guix.texi:4039
  8123. 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:"
  8124. msgstr ""
  8125. #. type: example
  8126. #: guix-git/doc/guix.texi:4042
  8127. #, no-wrap
  8128. msgid "guix install glib\n"
  8129. msgstr ""
  8130. #. type: item
  8131. #: guix-git/doc/guix.texi:4044 guix-git/doc/guix.texi:34950
  8132. #: guix-git/doc/guix.texi:35007
  8133. #, no-wrap
  8134. msgid "documentation"
  8135. msgstr ""
  8136. #. type: Plain text
  8137. #: guix-git/doc/guix.texi:4046
  8138. msgid "The command to install its documentation is:"
  8139. msgstr ""
  8140. #. type: example
  8141. #: guix-git/doc/guix.texi:4049
  8142. #, no-wrap
  8143. msgid "guix install glib:doc\n"
  8144. msgstr ""
  8145. #. type: Plain text
  8146. #: guix-git/doc/guix.texi:4060
  8147. 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})."
  8148. msgstr ""
  8149. #. type: Plain text
  8150. #: guix-git/doc/guix.texi:4068
  8151. 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})."
  8152. msgstr ""
  8153. #. type: section
  8154. #: guix-git/doc/guix.texi:4071
  8155. #, no-wrap
  8156. msgid "Invoking @command{guix gc}"
  8157. msgstr ""
  8158. #. type: cindex
  8159. #: guix-git/doc/guix.texi:4073
  8160. #, no-wrap
  8161. msgid "garbage collector"
  8162. msgstr ""
  8163. #. type: cindex
  8164. #: guix-git/doc/guix.texi:4074
  8165. #, no-wrap
  8166. msgid "disk space"
  8167. msgstr ""
  8168. #. type: Plain text
  8169. #: guix-git/doc/guix.texi:4080
  8170. 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!"
  8171. msgstr ""
  8172. #. type: Plain text
  8173. #: guix-git/doc/guix.texi:4091
  8174. 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."
  8175. msgstr ""
  8176. #. type: Plain text
  8177. #: guix-git/doc/guix.texi:4097
  8178. 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})."
  8179. msgstr ""
  8180. #. type: Plain text
  8181. #: guix-git/doc/guix.texi:4101
  8182. 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:"
  8183. msgstr ""
  8184. #. type: example
  8185. #: guix-git/doc/guix.texi:4104
  8186. #, no-wrap
  8187. msgid "guix gc -F 5G\n"
  8188. msgstr ""
  8189. #. type: Plain text
  8190. #: guix-git/doc/guix.texi:4113
  8191. 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."
  8192. msgstr ""
  8193. #. type: Plain text
  8194. #: guix-git/doc/guix.texi:4119
  8195. 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:"
  8196. msgstr ""
  8197. #. type: item
  8198. #: guix-git/doc/guix.texi:4121
  8199. #, no-wrap
  8200. msgid "--collect-garbage[=@var{min}]"
  8201. msgstr ""
  8202. #. type: itemx
  8203. #: guix-git/doc/guix.texi:4122
  8204. #, no-wrap
  8205. msgid "-C [@var{min}]"
  8206. msgstr ""
  8207. #. type: table
  8208. #: guix-git/doc/guix.texi:4126
  8209. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8210. msgstr ""
  8211. #. type: table
  8212. #: guix-git/doc/guix.texi:4131
  8213. 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})."
  8214. msgstr ""
  8215. #. type: table
  8216. #: guix-git/doc/guix.texi:4133
  8217. msgid "When @var{min} is omitted, collect all the garbage."
  8218. msgstr ""
  8219. #. type: item
  8220. #: guix-git/doc/guix.texi:4134
  8221. #, no-wrap
  8222. msgid "--free-space=@var{free}"
  8223. msgstr ""
  8224. #. type: itemx
  8225. #: guix-git/doc/guix.texi:4135
  8226. #, no-wrap
  8227. msgid "-F @var{free}"
  8228. msgstr ""
  8229. #. type: table
  8230. #: guix-git/doc/guix.texi:4139
  8231. 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."
  8232. msgstr ""
  8233. #. type: table
  8234. #: guix-git/doc/guix.texi:4142
  8235. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8236. msgstr ""
  8237. #. type: item
  8238. #: guix-git/doc/guix.texi:4143
  8239. #, no-wrap
  8240. msgid "--delete-generations[=@var{duration}]"
  8241. msgstr ""
  8242. #. type: itemx
  8243. #: guix-git/doc/guix.texi:4144
  8244. #, no-wrap
  8245. msgid "-d [@var{duration}]"
  8246. msgstr ""
  8247. #. type: table
  8248. #: guix-git/doc/guix.texi:4148
  8249. 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}."
  8250. msgstr ""
  8251. #. type: table
  8252. #: guix-git/doc/guix.texi:4152
  8253. 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:"
  8254. msgstr ""
  8255. #. type: example
  8256. #: guix-git/doc/guix.texi:4155
  8257. #, no-wrap
  8258. msgid "guix gc -d 2m -F 10G\n"
  8259. msgstr ""
  8260. #. type: item
  8261. #: guix-git/doc/guix.texi:4157
  8262. #, no-wrap
  8263. msgid "--delete"
  8264. msgstr ""
  8265. #. type: itemx
  8266. #: guix-git/doc/guix.texi:4158
  8267. #, no-wrap
  8268. msgid "-D"
  8269. msgstr ""
  8270. #. type: table
  8271. #: guix-git/doc/guix.texi:4162
  8272. 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."
  8273. msgstr ""
  8274. #. type: item
  8275. #: guix-git/doc/guix.texi:4163
  8276. #, no-wrap
  8277. msgid "--list-failures"
  8278. msgstr ""
  8279. #. type: table
  8280. #: guix-git/doc/guix.texi:4165
  8281. msgid "List store items corresponding to cached build failures."
  8282. msgstr ""
  8283. #. type: table
  8284. #: guix-git/doc/guix.texi:4169
  8285. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8286. msgstr ""
  8287. #. type: item
  8288. #: guix-git/doc/guix.texi:4170
  8289. #, no-wrap
  8290. msgid "--list-roots"
  8291. msgstr ""
  8292. #. type: table
  8293. #: guix-git/doc/guix.texi:4173
  8294. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8295. msgstr ""
  8296. #. type: item
  8297. #: guix-git/doc/guix.texi:4174
  8298. #, no-wrap
  8299. msgid "--list-busy"
  8300. msgstr ""
  8301. #. type: table
  8302. #: guix-git/doc/guix.texi:4177
  8303. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8304. msgstr ""
  8305. #. type: item
  8306. #: guix-git/doc/guix.texi:4178
  8307. #, no-wrap
  8308. msgid "--clear-failures"
  8309. msgstr ""
  8310. #. type: table
  8311. #: guix-git/doc/guix.texi:4180
  8312. msgid "Remove the specified store items from the failed-build cache."
  8313. msgstr ""
  8314. #. type: table
  8315. #: guix-git/doc/guix.texi:4183
  8316. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8317. msgstr ""
  8318. #. type: item
  8319. #: guix-git/doc/guix.texi:4184
  8320. #, no-wrap
  8321. msgid "--list-dead"
  8322. msgstr ""
  8323. #. type: table
  8324. #: guix-git/doc/guix.texi:4187
  8325. 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."
  8326. msgstr ""
  8327. #. type: item
  8328. #: guix-git/doc/guix.texi:4188
  8329. #, no-wrap
  8330. msgid "--list-live"
  8331. msgstr ""
  8332. #. type: table
  8333. #: guix-git/doc/guix.texi:4190
  8334. msgid "Show the list of live store files and directories."
  8335. msgstr ""
  8336. #. type: Plain text
  8337. #: guix-git/doc/guix.texi:4194
  8338. msgid "In addition, the references among existing store files can be queried:"
  8339. msgstr ""
  8340. #. type: item
  8341. #: guix-git/doc/guix.texi:4197
  8342. #, no-wrap
  8343. msgid "--references"
  8344. msgstr ""
  8345. #. type: itemx
  8346. #: guix-git/doc/guix.texi:4198
  8347. #, no-wrap
  8348. msgid "--referrers"
  8349. msgstr ""
  8350. #. type: cindex
  8351. #: guix-git/doc/guix.texi:4199 guix-git/doc/guix.texi:12403
  8352. #, no-wrap
  8353. msgid "package dependencies"
  8354. msgstr ""
  8355. #. type: table
  8356. #: guix-git/doc/guix.texi:4202
  8357. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8358. msgstr ""
  8359. #. type: item
  8360. #: guix-git/doc/guix.texi:4203
  8361. #, no-wrap
  8362. msgid "--requisites"
  8363. msgstr ""
  8364. #. type: itemx
  8365. #: guix-git/doc/guix.texi:4204 guix-git/doc/guix.texi:6080
  8366. #, no-wrap
  8367. msgid "-R"
  8368. msgstr ""
  8369. #. type: item
  8370. #: guix-git/doc/guix.texi:4205 guix-git/doc/guix.texi:12259
  8371. #: guix-git/doc/guix.texi:12287 guix-git/doc/guix.texi:12368
  8372. #, no-wrap
  8373. msgid "closure"
  8374. msgstr ""
  8375. #. type: table
  8376. #: guix-git/doc/guix.texi:4210
  8377. 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."
  8378. msgstr ""
  8379. #. type: table
  8380. #: guix-git/doc/guix.texi:4214
  8381. 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."
  8382. msgstr ""
  8383. #. type: item
  8384. #: guix-git/doc/guix.texi:4215
  8385. #, no-wrap
  8386. msgid "--derivers"
  8387. msgstr ""
  8388. #. type: item
  8389. #: guix-git/doc/guix.texi:4216 guix-git/doc/guix.texi:6394
  8390. #: guix-git/doc/guix.texi:12122 guix-git/doc/guix.texi:12512
  8391. #, no-wrap
  8392. msgid "derivation"
  8393. msgstr ""
  8394. #. type: table
  8395. #: guix-git/doc/guix.texi:4219
  8396. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8397. msgstr ""
  8398. #. type: table
  8399. #: guix-git/doc/guix.texi:4221
  8400. msgid "For example, this command:"
  8401. msgstr ""
  8402. #. type: example
  8403. #: guix-git/doc/guix.texi:4224
  8404. #, no-wrap
  8405. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8406. msgstr ""
  8407. #. type: table
  8408. #: guix-git/doc/guix.texi:4229
  8409. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8410. msgstr ""
  8411. #. type: table
  8412. #: guix-git/doc/guix.texi:4233
  8413. 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."
  8414. msgstr ""
  8415. #. type: Plain text
  8416. #: guix-git/doc/guix.texi:4237
  8417. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8418. msgstr ""
  8419. #. type: item
  8420. #: guix-git/doc/guix.texi:4240
  8421. #, no-wrap
  8422. msgid "--verify[=@var{options}]"
  8423. msgstr ""
  8424. #. type: cindex
  8425. #: guix-git/doc/guix.texi:4241
  8426. #, no-wrap
  8427. msgid "integrity, of the store"
  8428. msgstr ""
  8429. #. type: cindex
  8430. #: guix-git/doc/guix.texi:4242
  8431. #, no-wrap
  8432. msgid "integrity checking"
  8433. msgstr ""
  8434. #. type: table
  8435. #: guix-git/doc/guix.texi:4244
  8436. msgid "Verify the integrity of the store."
  8437. msgstr ""
  8438. #. type: table
  8439. #: guix-git/doc/guix.texi:4247
  8440. 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}."
  8441. msgstr ""
  8442. #. type: table
  8443. #: guix-git/doc/guix.texi:4250
  8444. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8445. msgstr ""
  8446. #. type: table
  8447. #: guix-git/doc/guix.texi:4256
  8448. 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."
  8449. msgstr ""
  8450. #. type: cindex
  8451. #: guix-git/doc/guix.texi:4257
  8452. #, no-wrap
  8453. msgid "repairing the store"
  8454. msgstr ""
  8455. #. type: cindex
  8456. #: guix-git/doc/guix.texi:4258 guix-git/doc/guix.texi:10926
  8457. #, no-wrap
  8458. msgid "corruption, recovering from"
  8459. msgstr ""
  8460. #. type: table
  8461. #: guix-git/doc/guix.texi:4266
  8462. 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})."
  8463. msgstr ""
  8464. #. type: item
  8465. #: guix-git/doc/guix.texi:4267
  8466. #, no-wrap
  8467. msgid "--optimize"
  8468. msgstr ""
  8469. #. type: table
  8470. #: guix-git/doc/guix.texi:4271
  8471. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8472. msgstr ""
  8473. #. type: table
  8474. #: guix-git/doc/guix.texi:4277
  8475. 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}."
  8476. msgstr ""
  8477. #. type: section
  8478. #: guix-git/doc/guix.texi:4281
  8479. #, no-wrap
  8480. msgid "Invoking @command{guix pull}"
  8481. msgstr ""
  8482. #. type: cindex
  8483. #: guix-git/doc/guix.texi:4283
  8484. #, no-wrap
  8485. msgid "upgrading Guix"
  8486. msgstr ""
  8487. #. type: cindex
  8488. #: guix-git/doc/guix.texi:4284
  8489. #, no-wrap
  8490. msgid "updating Guix"
  8491. msgstr ""
  8492. #. type: command{#1}
  8493. #: guix-git/doc/guix.texi:4285
  8494. #, no-wrap
  8495. msgid "guix pull"
  8496. msgstr ""
  8497. #. type: cindex
  8498. #: guix-git/doc/guix.texi:4286
  8499. #, no-wrap
  8500. msgid "pull"
  8501. msgstr ""
  8502. #. type: cindex
  8503. #: guix-git/doc/guix.texi:4287
  8504. #, no-wrap
  8505. msgid "security, @command{guix pull}"
  8506. msgstr ""
  8507. #. type: cindex
  8508. #: guix-git/doc/guix.texi:4288
  8509. #, no-wrap
  8510. msgid "authenticity, of code obtained with @command{guix pull}"
  8511. msgstr ""
  8512. #. type: Plain text
  8513. #: guix-git/doc/guix.texi:4298
  8514. 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."
  8515. msgstr ""
  8516. #. type: Plain text
  8517. #: guix-git/doc/guix.texi:4301
  8518. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8519. msgstr ""
  8520. #. type: enumerate
  8521. #: guix-git/doc/guix.texi:4305
  8522. msgid "the @option{--channels} option;"
  8523. msgstr ""
  8524. #. type: enumerate
  8525. #: guix-git/doc/guix.texi:4307
  8526. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8527. msgstr ""
  8528. #. type: enumerate
  8529. #: guix-git/doc/guix.texi:4309
  8530. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8531. msgstr ""
  8532. #. type: enumerate
  8533. #: guix-git/doc/guix.texi:4312
  8534. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8535. msgstr ""
  8536. #. type: Plain text
  8537. #: guix-git/doc/guix.texi:4319
  8538. 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."
  8539. msgstr ""
  8540. #. type: Plain text
  8541. #: guix-git/doc/guix.texi:4325
  8542. 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."
  8543. msgstr ""
  8544. #. type: Plain text
  8545. #: guix-git/doc/guix.texi:4331
  8546. 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}):"
  8547. msgstr ""
  8548. #. type: example
  8549. #: guix-git/doc/guix.texi:4335
  8550. #, no-wrap
  8551. msgid ""
  8552. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8553. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8554. msgstr ""
  8555. #. type: Plain text
  8556. #: guix-git/doc/guix.texi:4339
  8557. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8558. msgstr ""
  8559. #. type: example
  8560. #: guix-git/doc/guix.texi:4347
  8561. #, no-wrap
  8562. msgid ""
  8563. "$ guix pull -l\n"
  8564. "Generation 1\tJun 10 2018 00:18:18\n"
  8565. " guix 65956ad\n"
  8566. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8567. " branch: origin/master\n"
  8568. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8569. "\n"
  8570. msgstr ""
  8571. #. type: example
  8572. #: guix-git/doc/guix.texi:4357
  8573. #, no-wrap
  8574. msgid ""
  8575. "Generation 2\tJun 11 2018 11:02:49\n"
  8576. " guix e0cc7f6\n"
  8577. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8578. " branch: origin/master\n"
  8579. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8580. " 2 new packages: keepalived, libnfnetlink\n"
  8581. " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n"
  8582. " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n"
  8583. " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n"
  8584. "\n"
  8585. msgstr ""
  8586. #. type: example
  8587. #: guix-git/doc/guix.texi:4365
  8588. #, no-wrap
  8589. msgid ""
  8590. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8591. " guix 844cc1c\n"
  8592. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8593. " branch: origin/master\n"
  8594. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8595. " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n"
  8596. " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n"
  8597. msgstr ""
  8598. #. type: Plain text
  8599. #: guix-git/doc/guix.texi:4369
  8600. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8601. msgstr ""
  8602. #. type: Plain text
  8603. #: guix-git/doc/guix.texi:4374
  8604. 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:"
  8605. msgstr ""
  8606. #. type: example
  8607. #: guix-git/doc/guix.texi:4380
  8608. #, no-wrap
  8609. msgid ""
  8610. "$ guix pull --roll-back\n"
  8611. "switched from generation 3 to 2\n"
  8612. "$ guix pull --delete-generations=1\n"
  8613. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8614. msgstr ""
  8615. #. type: Plain text
  8616. #: guix-git/doc/guix.texi:4384
  8617. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8618. msgstr ""
  8619. #. type: example
  8620. #: guix-git/doc/guix.texi:4389
  8621. #, no-wrap
  8622. msgid ""
  8623. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8624. "switched from generation 3 to 2\n"
  8625. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8626. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8627. msgstr ""
  8628. #. type: Plain text
  8629. #: guix-git/doc/guix.texi:4393
  8630. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8631. msgstr ""
  8632. #. type: item
  8633. #: guix-git/doc/guix.texi:4395 guix-git/doc/guix.texi:4553
  8634. #, no-wrap
  8635. msgid "--url=@var{url}"
  8636. msgstr ""
  8637. #. type: itemx
  8638. #: guix-git/doc/guix.texi:4396 guix-git/doc/guix.texi:4554
  8639. #, no-wrap
  8640. msgid "--commit=@var{commit}"
  8641. msgstr ""
  8642. #. type: itemx
  8643. #: guix-git/doc/guix.texi:4397 guix-git/doc/guix.texi:4555
  8644. #, no-wrap
  8645. msgid "--branch=@var{branch}"
  8646. msgstr ""
  8647. #. type: table
  8648. #: guix-git/doc/guix.texi:4401
  8649. 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}."
  8650. msgstr ""
  8651. #. type: cindex
  8652. #: guix-git/doc/guix.texi:4402 guix-git/doc/guix.texi:4999
  8653. #, no-wrap
  8654. msgid "@file{channels.scm}, configuration file"
  8655. msgstr ""
  8656. #. type: cindex
  8657. #: guix-git/doc/guix.texi:4403 guix-git/doc/guix.texi:5000
  8658. #, no-wrap
  8659. msgid "configuration file for channels"
  8660. msgstr ""
  8661. #. type: table
  8662. #: guix-git/doc/guix.texi:4407
  8663. 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)."
  8664. msgstr ""
  8665. #. type: item
  8666. #: guix-git/doc/guix.texi:4408 guix-git/doc/guix.texi:4560
  8667. #, no-wrap
  8668. msgid "--channels=@var{file}"
  8669. msgstr ""
  8670. #. type: itemx
  8671. #: guix-git/doc/guix.texi:4409 guix-git/doc/guix.texi:4561
  8672. #, no-wrap
  8673. msgid "-C @var{file}"
  8674. msgstr ""
  8675. #. type: table
  8676. #: guix-git/doc/guix.texi:4415
  8677. 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."
  8678. msgstr ""
  8679. #. type: cindex
  8680. #: guix-git/doc/guix.texi:4416
  8681. #, no-wrap
  8682. msgid "channel news"
  8683. msgstr ""
  8684. #. type: item
  8685. #: guix-git/doc/guix.texi:4417
  8686. #, no-wrap
  8687. msgid "--news"
  8688. msgstr ""
  8689. #. type: itemx
  8690. #: guix-git/doc/guix.texi:4418 guix-git/doc/guix.texi:5826
  8691. #: guix-git/doc/guix.texi:33896
  8692. #, no-wrap
  8693. msgid "-N"
  8694. msgstr ""
  8695. #. type: table
  8696. #: guix-git/doc/guix.texi:4422
  8697. 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})."
  8698. msgstr ""
  8699. #. type: table
  8700. #: guix-git/doc/guix.texi:4426
  8701. 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)."
  8702. msgstr ""
  8703. #. type: table
  8704. #: guix-git/doc/guix.texi:4433
  8705. 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})."
  8706. msgstr ""
  8707. #. type: table
  8708. #: guix-git/doc/guix.texi:4440
  8709. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  8710. msgstr ""
  8711. #. type: table
  8712. #: guix-git/doc/guix.texi:4464
  8713. msgid "If the current generation matches, it is @emph{not} deleted."
  8714. msgstr ""
  8715. #. type: table
  8716. #: guix-git/doc/guix.texi:4470
  8717. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  8718. msgstr ""
  8719. #. type: table
  8720. #: guix-git/doc/guix.texi:4474
  8721. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  8722. msgstr ""
  8723. #. type: item
  8724. #: guix-git/doc/guix.texi:4475 guix-git/doc/guix.texi:10317
  8725. #, no-wrap
  8726. msgid "--dry-run"
  8727. msgstr ""
  8728. #. type: itemx
  8729. #: guix-git/doc/guix.texi:4476 guix-git/doc/guix.texi:10318
  8730. #: guix-git/doc/guix.texi:12241
  8731. #, no-wrap
  8732. msgid "-n"
  8733. msgstr ""
  8734. #. type: table
  8735. #: guix-git/doc/guix.texi:4479
  8736. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  8737. msgstr ""
  8738. #. type: item
  8739. #: guix-git/doc/guix.texi:4480 guix-git/doc/guix.texi:33915
  8740. #, no-wrap
  8741. msgid "--allow-downgrades"
  8742. msgstr ""
  8743. #. type: table
  8744. #: guix-git/doc/guix.texi:4483
  8745. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  8746. msgstr ""
  8747. #. type: cindex
  8748. #: guix-git/doc/guix.texi:4484
  8749. #, no-wrap
  8750. msgid "downgrade attacks, protection against"
  8751. msgstr ""
  8752. #. type: table
  8753. #: guix-git/doc/guix.texi:4489
  8754. 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."
  8755. msgstr ""
  8756. #. type: quotation
  8757. #: guix-git/doc/guix.texi:4493 guix-git/doc/guix.texi:33929
  8758. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  8759. msgstr ""
  8760. #. type: item
  8761. #: guix-git/doc/guix.texi:4495
  8762. #, no-wrap
  8763. msgid "--disable-authentication"
  8764. msgstr ""
  8765. #. type: table
  8766. #: guix-git/doc/guix.texi:4497
  8767. msgid "Allow pulling channel code without authenticating it."
  8768. msgstr ""
  8769. #. type: cindex
  8770. #: guix-git/doc/guix.texi:4498 guix-git/doc/guix.texi:5145
  8771. #, no-wrap
  8772. msgid "authentication, of channel code"
  8773. msgstr ""
  8774. #. type: table
  8775. #: guix-git/doc/guix.texi:4503
  8776. 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."
  8777. msgstr ""
  8778. #. type: quotation
  8779. #: guix-git/doc/guix.texi:4507
  8780. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  8781. msgstr ""
  8782. #. type: itemx
  8783. #: guix-git/doc/guix.texi:4510 guix-git/doc/guix.texi:5809
  8784. #: guix-git/doc/guix.texi:6209 guix-git/doc/guix.texi:10868
  8785. #: guix-git/doc/guix.texi:12386 guix-git/doc/guix.texi:12637
  8786. #: guix-git/doc/guix.texi:13314 guix-git/doc/guix.texi:33844
  8787. #, no-wrap
  8788. msgid "-s @var{system}"
  8789. msgstr ""
  8790. #. type: table
  8791. #: guix-git/doc/guix.texi:4513 guix-git/doc/guix.texi:6212
  8792. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  8793. msgstr ""
  8794. #. type: table
  8795. #: guix-git/doc/guix.texi:4517
  8796. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  8797. msgstr ""
  8798. #. type: Plain text
  8799. #: guix-git/doc/guix.texi:4523
  8800. 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."
  8801. msgstr ""
  8802. #. type: Plain text
  8803. #: guix-git/doc/guix.texi:4526
  8804. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  8805. msgstr ""
  8806. #. type: section
  8807. #: guix-git/doc/guix.texi:4528
  8808. #, no-wrap
  8809. msgid "Invoking @command{guix time-machine}"
  8810. msgstr ""
  8811. #. type: command{#1}
  8812. #: guix-git/doc/guix.texi:4530
  8813. #, no-wrap
  8814. msgid "guix time-machine"
  8815. msgstr ""
  8816. #. type: cindex
  8817. #: guix-git/doc/guix.texi:4531 guix-git/doc/guix.texi:5103
  8818. #, no-wrap
  8819. msgid "pinning, channels"
  8820. msgstr ""
  8821. #. type: cindex
  8822. #: guix-git/doc/guix.texi:4532 guix-git/doc/guix.texi:4714
  8823. #: guix-git/doc/guix.texi:5104
  8824. #, no-wrap
  8825. msgid "replicating Guix"
  8826. msgstr ""
  8827. #. type: cindex
  8828. #: guix-git/doc/guix.texi:4533 guix-git/doc/guix.texi:5105
  8829. #, no-wrap
  8830. msgid "reproducibility, of Guix"
  8831. msgstr ""
  8832. #. type: Plain text
  8833. #: guix-git/doc/guix.texi:4541
  8834. 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})."
  8835. msgstr ""
  8836. #. type: Plain text
  8837. #: guix-git/doc/guix.texi:4543 guix-git/doc/guix.texi:5558
  8838. #: guix-git/doc/guix.texi:6332 guix-git/doc/guix.texi:10114
  8839. #: guix-git/doc/guix.texi:10237 guix-git/doc/guix.texi:11159
  8840. #: guix-git/doc/guix.texi:11236 guix-git/doc/guix.texi:12216
  8841. #: guix-git/doc/guix.texi:12695 guix-git/doc/guix.texi:13068
  8842. #: guix-git/doc/guix.texi:13157 guix-git/doc/guix.texi:13196
  8843. #: guix-git/doc/guix.texi:13293
  8844. msgid "The general syntax is:"
  8845. msgstr ""
  8846. #. type: example
  8847. #: guix-git/doc/guix.texi:4546
  8848. #, no-wrap
  8849. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  8850. msgstr ""
  8851. #. type: Plain text
  8852. #: guix-git/doc/guix.texi:4551
  8853. 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}):"
  8854. msgstr ""
  8855. #. type: table
  8856. #: guix-git/doc/guix.texi:4559
  8857. 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}."
  8858. msgstr ""
  8859. #. type: table
  8860. #: guix-git/doc/guix.texi:4565
  8861. 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."
  8862. msgstr ""
  8863. #. type: Plain text
  8864. #: guix-git/doc/guix.texi:4569
  8865. 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"
  8866. msgstr ""
  8867. #. type: example
  8868. #: guix-git/doc/guix.texi:4572
  8869. #, no-wrap
  8870. msgid "guix time-machine -- build hello\n"
  8871. msgstr ""
  8872. #. type: Plain text
  8873. #: guix-git/doc/guix.texi:4577
  8874. 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!"
  8875. msgstr ""
  8876. #. type: Plain text
  8877. #: guix-git/doc/guix.texi:4581
  8878. 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})."
  8879. msgstr ""
  8880. #. type: quotation
  8881. #: guix-git/doc/guix.texi:4589
  8882. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  8883. msgstr ""
  8884. #. type: cindex
  8885. #: guix-git/doc/guix.texi:4591 guix-git/doc/guix.texi:10151
  8886. #, no-wrap
  8887. msgid "inferiors"
  8888. msgstr ""
  8889. #. type: cindex
  8890. #: guix-git/doc/guix.texi:4592
  8891. #, no-wrap
  8892. msgid "composition of Guix revisions"
  8893. msgstr ""
  8894. #. type: Plain text
  8895. #: guix-git/doc/guix.texi:4597
  8896. 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."
  8897. msgstr ""
  8898. #. type: cindex
  8899. #: guix-git/doc/guix.texi:4598 guix-git/doc/guix.texi:4663
  8900. #, no-wrap
  8901. msgid "inferior packages"
  8902. msgstr ""
  8903. #. type: Plain text
  8904. #: guix-git/doc/guix.texi:4604
  8905. 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}."
  8906. msgstr ""
  8907. #. type: Plain text
  8908. #: guix-git/doc/guix.texi:4614
  8909. 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:"
  8910. msgstr ""
  8911. #. type: lisp
  8912. #: guix-git/doc/guix.texi:4618
  8913. #, no-wrap
  8914. msgid ""
  8915. "(use-modules (guix inferior) (guix channels)\n"
  8916. " (srfi srfi-1)) ;for 'first'\n"
  8917. "\n"
  8918. msgstr ""
  8919. #. type: lisp
  8920. #: guix-git/doc/guix.texi:4627
  8921. #, no-wrap
  8922. msgid ""
  8923. "(define channels\n"
  8924. " ;; This is the old revision from which we want to\n"
  8925. " ;; extract guile-json.\n"
  8926. " (list (channel\n"
  8927. " (name 'guix)\n"
  8928. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  8929. " (commit\n"
  8930. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  8931. "\n"
  8932. msgstr ""
  8933. #. type: lisp
  8934. #: guix-git/doc/guix.texi:4631
  8935. #, no-wrap
  8936. msgid ""
  8937. "(define inferior\n"
  8938. " ;; An inferior representing the above revision.\n"
  8939. " (inferior-for-channels channels))\n"
  8940. "\n"
  8941. msgstr ""
  8942. #. type: lisp
  8943. #: guix-git/doc/guix.texi:4637
  8944. #, no-wrap
  8945. msgid ""
  8946. ";; Now create a manifest with the current \"guile\" package\n"
  8947. ";; and the old \"guile-json\" package.\n"
  8948. "(packages->manifest\n"
  8949. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  8950. " (specification->package \"guile\")))\n"
  8951. msgstr ""
  8952. #. type: Plain text
  8953. #: guix-git/doc/guix.texi:4642
  8954. 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."
  8955. msgstr ""
  8956. #. type: Plain text
  8957. #: guix-git/doc/guix.texi:4645
  8958. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  8959. msgstr ""
  8960. #. type: deffn
  8961. #: guix-git/doc/guix.texi:4646
  8962. #, no-wrap
  8963. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  8964. msgstr ""
  8965. #. type: deffn
  8966. #: guix-git/doc/guix.texi:4651
  8967. 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."
  8968. msgstr ""
  8969. #. type: deffn
  8970. #: guix-git/doc/guix.texi:4654
  8971. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  8972. msgstr ""
  8973. #. type: deffn
  8974. #: guix-git/doc/guix.texi:4656
  8975. #, no-wrap
  8976. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  8977. msgstr ""
  8978. #. type: deffn
  8979. #: guix-git/doc/guix.texi:4661
  8980. 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."
  8981. msgstr ""
  8982. #. type: Plain text
  8983. #: guix-git/doc/guix.texi:4666
  8984. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  8985. msgstr ""
  8986. #. type: deffn
  8987. #: guix-git/doc/guix.texi:4667
  8988. #, no-wrap
  8989. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  8990. msgstr ""
  8991. #. type: deffn
  8992. #: guix-git/doc/guix.texi:4669
  8993. msgid "Return the list of packages known to @var{inferior}."
  8994. msgstr ""
  8995. #. type: deffn
  8996. #: guix-git/doc/guix.texi:4671
  8997. #, no-wrap
  8998. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  8999. msgstr ""
  9000. #. type: deffn
  9001. #: guix-git/doc/guix.texi:4676
  9002. 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}."
  9003. msgstr ""
  9004. #. type: deffn
  9005. #: guix-git/doc/guix.texi:4678
  9006. #, no-wrap
  9007. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9008. msgstr ""
  9009. #. type: deffn
  9010. #: guix-git/doc/guix.texi:4680
  9011. msgid "Return true if @var{obj} is an inferior package."
  9012. msgstr ""
  9013. #. type: deffn
  9014. #: guix-git/doc/guix.texi:4682
  9015. #, no-wrap
  9016. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9017. msgstr ""
  9018. #. type: deffnx
  9019. #: guix-git/doc/guix.texi:4683
  9020. #, no-wrap
  9021. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9022. msgstr ""
  9023. #. type: deffnx
  9024. #: guix-git/doc/guix.texi:4684
  9025. #, no-wrap
  9026. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9027. msgstr ""
  9028. #. type: deffnx
  9029. #: guix-git/doc/guix.texi:4685
  9030. #, no-wrap
  9031. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9032. msgstr ""
  9033. #. type: deffnx
  9034. #: guix-git/doc/guix.texi:4686
  9035. #, no-wrap
  9036. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9037. msgstr ""
  9038. #. type: deffnx
  9039. #: guix-git/doc/guix.texi:4687
  9040. #, no-wrap
  9041. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9042. msgstr ""
  9043. #. type: deffnx
  9044. #: guix-git/doc/guix.texi:4688
  9045. #, no-wrap
  9046. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9047. msgstr ""
  9048. #. type: deffnx
  9049. #: guix-git/doc/guix.texi:4689
  9050. #, no-wrap
  9051. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9052. msgstr ""
  9053. #. type: deffnx
  9054. #: guix-git/doc/guix.texi:4690
  9055. #, no-wrap
  9056. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9057. msgstr ""
  9058. #. type: deffnx
  9059. #: guix-git/doc/guix.texi:4691
  9060. #, no-wrap
  9061. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9062. msgstr ""
  9063. #. type: deffnx
  9064. #: guix-git/doc/guix.texi:4692
  9065. #, no-wrap
  9066. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9067. msgstr ""
  9068. #. type: deffnx
  9069. #: guix-git/doc/guix.texi:4693
  9070. #, no-wrap
  9071. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9072. msgstr ""
  9073. #. type: deffnx
  9074. #: guix-git/doc/guix.texi:4694
  9075. #, no-wrap
  9076. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9077. msgstr ""
  9078. #. type: deffn
  9079. #: guix-git/doc/guix.texi:4699
  9080. 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."
  9081. msgstr ""
  9082. #. type: Plain text
  9083. #: guix-git/doc/guix.texi:4709
  9084. 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."
  9085. msgstr ""
  9086. #. type: section
  9087. #: guix-git/doc/guix.texi:4711
  9088. #, no-wrap
  9089. msgid "Invoking @command{guix describe}"
  9090. msgstr ""
  9091. #. type: Plain text
  9092. #: guix-git/doc/guix.texi:4722
  9093. 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."
  9094. msgstr ""
  9095. #. type: Plain text
  9096. #: guix-git/doc/guix.texi:4726
  9097. 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}):"
  9098. msgstr ""
  9099. #. type: example
  9100. #: guix-git/doc/guix.texi:4734
  9101. #, no-wrap
  9102. msgid ""
  9103. "$ guix describe\n"
  9104. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9105. " guix e0fa68c\n"
  9106. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9107. " branch: master\n"
  9108. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9109. msgstr ""
  9110. #. type: Plain text
  9111. #: guix-git/doc/guix.texi:4743
  9112. 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."
  9113. msgstr ""
  9114. #. type: Plain text
  9115. #: guix-git/doc/guix.texi:4746
  9116. 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:"
  9117. msgstr ""
  9118. #. type: example
  9119. #: guix-git/doc/guix.texi:4759
  9120. #, no-wrap
  9121. msgid ""
  9122. "$ guix describe -f channels\n"
  9123. "(list (channel\n"
  9124. " (name 'guix)\n"
  9125. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9126. " (commit\n"
  9127. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9128. " (introduction\n"
  9129. " (make-channel-introduction\n"
  9130. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9131. " (openpgp-fingerprint\n"
  9132. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9133. msgstr ""
  9134. #. type: Plain text
  9135. #: guix-git/doc/guix.texi:4768
  9136. 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!"
  9137. msgstr ""
  9138. #. type: Plain text
  9139. #: guix-git/doc/guix.texi:4771
  9140. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9141. msgstr ""
  9142. #. type: item
  9143. #: guix-git/doc/guix.texi:4773 guix-git/doc/guix.texi:6010
  9144. #: guix-git/doc/guix.texi:13426
  9145. #, no-wrap
  9146. msgid "--format=@var{format}"
  9147. msgstr ""
  9148. #. type: itemx
  9149. #: guix-git/doc/guix.texi:4774 guix-git/doc/guix.texi:6011
  9150. #: guix-git/doc/guix.texi:13427
  9151. #, no-wrap
  9152. msgid "-f @var{format}"
  9153. msgstr ""
  9154. #. type: table
  9155. #: guix-git/doc/guix.texi:4776 guix-git/doc/guix.texi:13429
  9156. msgid "Produce output in the specified @var{format}, one of:"
  9157. msgstr ""
  9158. #. type: item
  9159. #: guix-git/doc/guix.texi:4778
  9160. #, no-wrap
  9161. msgid "human"
  9162. msgstr ""
  9163. #. type: table
  9164. #: guix-git/doc/guix.texi:4780
  9165. msgid "produce human-readable output;"
  9166. msgstr ""
  9167. #. type: cindex
  9168. #: guix-git/doc/guix.texi:4780 guix-git/doc/guix.texi:4998
  9169. #, no-wrap
  9170. msgid "channels"
  9171. msgstr ""
  9172. #. type: table
  9173. #: guix-git/doc/guix.texi:4784
  9174. 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});"
  9175. msgstr ""
  9176. #. type: item
  9177. #: guix-git/doc/guix.texi:4784
  9178. #, no-wrap
  9179. msgid "channels-sans-intro"
  9180. msgstr ""
  9181. #. type: table
  9182. #: guix-git/doc/guix.texi:4790
  9183. 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;"
  9184. msgstr ""
  9185. #. type: item
  9186. #: guix-git/doc/guix.texi:4790 guix-git/doc/guix.texi:11454
  9187. #, no-wrap
  9188. msgid "json"
  9189. msgstr ""
  9190. #. type: cindex
  9191. #: guix-git/doc/guix.texi:4791
  9192. #, no-wrap
  9193. msgid "JSON"
  9194. msgstr ""
  9195. #. type: table
  9196. #: guix-git/doc/guix.texi:4793
  9197. msgid "produce a list of channel specifications in JSON format;"
  9198. msgstr ""
  9199. #. type: item
  9200. #: guix-git/doc/guix.texi:4793 guix-git/doc/guix.texi:13431
  9201. #, no-wrap
  9202. msgid "recutils"
  9203. msgstr ""
  9204. #. type: table
  9205. #: guix-git/doc/guix.texi:4795
  9206. msgid "produce a list of channel specifications in Recutils format."
  9207. msgstr ""
  9208. #. type: item
  9209. #: guix-git/doc/guix.texi:4797
  9210. #, no-wrap
  9211. msgid "--list-formats"
  9212. msgstr ""
  9213. #. type: table
  9214. #: guix-git/doc/guix.texi:4799
  9215. msgid "Display available formats for @option{--format} option."
  9216. msgstr ""
  9217. #. type: table
  9218. #: guix-git/doc/guix.texi:4803
  9219. msgid "Display information about @var{profile}."
  9220. msgstr ""
  9221. #. type: section
  9222. #: guix-git/doc/guix.texi:4806
  9223. #, no-wrap
  9224. msgid "Invoking @command{guix archive}"
  9225. msgstr ""
  9226. #. type: command{#1}
  9227. #: guix-git/doc/guix.texi:4808
  9228. #, no-wrap
  9229. msgid "guix archive"
  9230. msgstr ""
  9231. #. type: cindex
  9232. #: guix-git/doc/guix.texi:4809
  9233. #, no-wrap
  9234. msgid "archive"
  9235. msgstr "بایگانی"
  9236. #. type: Plain text
  9237. #: guix-git/doc/guix.texi:4815
  9238. 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."
  9239. msgstr ""
  9240. #. type: quotation
  9241. #: guix-git/doc/guix.texi:4819
  9242. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9243. msgstr ""
  9244. #. type: cindex
  9245. #: guix-git/doc/guix.texi:4821
  9246. #, no-wrap
  9247. msgid "exporting store items"
  9248. msgstr ""
  9249. #. type: Plain text
  9250. #: guix-git/doc/guix.texi:4823
  9251. msgid "To export store files as an archive to standard output, run:"
  9252. msgstr ""
  9253. #. type: example
  9254. #: guix-git/doc/guix.texi:4826
  9255. #, no-wrap
  9256. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9257. msgstr ""
  9258. #. type: Plain text
  9259. #: guix-git/doc/guix.texi:4833
  9260. 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}:"
  9261. msgstr ""
  9262. #. type: example
  9263. #: guix-git/doc/guix.texi:4836
  9264. #, no-wrap
  9265. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9266. msgstr ""
  9267. #. type: Plain text
  9268. #: guix-git/doc/guix.texi:4841
  9269. 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})."
  9270. msgstr ""
  9271. #. type: Plain text
  9272. #: guix-git/doc/guix.texi:4844
  9273. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9274. msgstr ""
  9275. #. type: example
  9276. #: guix-git/doc/guix.texi:4847
  9277. #, no-wrap
  9278. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9279. msgstr ""
  9280. #. type: Plain text
  9281. #: guix-git/doc/guix.texi:4852
  9282. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9283. msgstr ""
  9284. #. type: example
  9285. #: guix-git/doc/guix.texi:4856
  9286. #, no-wrap
  9287. msgid ""
  9288. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9289. " ssh the-machine guix archive --import\n"
  9290. msgstr ""
  9291. #. type: Plain text
  9292. #: guix-git/doc/guix.texi:4866
  9293. 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})."
  9294. msgstr ""
  9295. #. type: cindex
  9296. #: guix-git/doc/guix.texi:4867
  9297. #, no-wrap
  9298. msgid "nar, archive format"
  9299. msgstr ""
  9300. #. type: cindex
  9301. #: guix-git/doc/guix.texi:4868
  9302. #, no-wrap
  9303. msgid "normalized archive (nar)"
  9304. msgstr ""
  9305. #. type: cindex
  9306. #: guix-git/doc/guix.texi:4869
  9307. #, no-wrap
  9308. msgid "nar bundle, archive format"
  9309. msgstr ""
  9310. #. type: Plain text
  9311. #: guix-git/doc/guix.texi:4874
  9312. 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}."
  9313. msgstr ""
  9314. #. type: Plain text
  9315. #: guix-git/doc/guix.texi:4884
  9316. 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."
  9317. msgstr ""
  9318. #. type: Plain text
  9319. #: guix-git/doc/guix.texi:4888
  9320. 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."
  9321. msgstr ""
  9322. #. type: Plain text
  9323. #: guix-git/doc/guix.texi:4894
  9324. 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."
  9325. msgstr ""
  9326. #. type: Plain text
  9327. #: guix-git/doc/guix.texi:4896
  9328. msgid "The main options are:"
  9329. msgstr ""
  9330. #. type: item
  9331. #: guix-git/doc/guix.texi:4898
  9332. #, no-wrap
  9333. msgid "--export"
  9334. msgstr ""
  9335. #. type: table
  9336. #: guix-git/doc/guix.texi:4901
  9337. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9338. msgstr ""
  9339. #. type: table
  9340. #: guix-git/doc/guix.texi:4904
  9341. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9342. msgstr ""
  9343. #. type: itemx
  9344. #: guix-git/doc/guix.texi:4905 guix-git/doc/guix.texi:11192
  9345. #: guix-git/doc/guix.texi:11294 guix-git/doc/guix.texi:11319
  9346. #: guix-git/doc/guix.texi:11351 guix-git/doc/guix.texi:11529
  9347. #: guix-git/doc/guix.texi:11570 guix-git/doc/guix.texi:11617
  9348. #: guix-git/doc/guix.texi:11642 guix-git/doc/guix.texi:11658
  9349. #: guix-git/doc/guix.texi:11706 guix-git/doc/guix.texi:11736
  9350. #, no-wrap
  9351. msgid "-r"
  9352. msgstr ""
  9353. #. type: item
  9354. #: guix-git/doc/guix.texi:4906 guix-git/doc/guix.texi:11191
  9355. #: guix-git/doc/guix.texi:11293 guix-git/doc/guix.texi:11318
  9356. #: guix-git/doc/guix.texi:11350 guix-git/doc/guix.texi:11528
  9357. #: guix-git/doc/guix.texi:11569 guix-git/doc/guix.texi:11616
  9358. #: guix-git/doc/guix.texi:11641 guix-git/doc/guix.texi:11657
  9359. #: guix-git/doc/guix.texi:11705 guix-git/doc/guix.texi:11735
  9360. #: guix-git/doc/guix.texi:11784
  9361. #, no-wrap
  9362. msgid "--recursive"
  9363. msgstr ""
  9364. #. type: table
  9365. #: guix-git/doc/guix.texi:4911
  9366. 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."
  9367. msgstr ""
  9368. #. type: item
  9369. #: guix-git/doc/guix.texi:4912
  9370. #, no-wrap
  9371. msgid "--import"
  9372. msgstr ""
  9373. #. type: table
  9374. #: guix-git/doc/guix.texi:4917
  9375. 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)."
  9376. msgstr ""
  9377. #. type: item
  9378. #: guix-git/doc/guix.texi:4918
  9379. #, no-wrap
  9380. msgid "--missing"
  9381. msgstr ""
  9382. #. type: table
  9383. #: guix-git/doc/guix.texi:4922
  9384. 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."
  9385. msgstr ""
  9386. #. type: item
  9387. #: guix-git/doc/guix.texi:4923
  9388. #, no-wrap
  9389. msgid "--generate-key[=@var{parameters}]"
  9390. msgstr ""
  9391. #. type: cindex
  9392. #: guix-git/doc/guix.texi:4924
  9393. #, no-wrap
  9394. msgid "signing, archives"
  9395. msgstr ""
  9396. #. type: table
  9397. #: guix-git/doc/guix.texi:4931
  9398. 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."
  9399. msgstr ""
  9400. #. type: table
  9401. #: guix-git/doc/guix.texi:4941
  9402. 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})."
  9403. msgstr ""
  9404. #. type: item
  9405. #: guix-git/doc/guix.texi:4942
  9406. #, no-wrap
  9407. msgid "--authorize"
  9408. msgstr ""
  9409. #. type: cindex
  9410. #: guix-git/doc/guix.texi:4943
  9411. #, no-wrap
  9412. msgid "authorizing, archives"
  9413. msgstr ""
  9414. #. type: table
  9415. #: guix-git/doc/guix.texi:4947
  9416. 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."
  9417. msgstr ""
  9418. #. type: table
  9419. #: guix-git/doc/guix.texi:4954
  9420. 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)}."
  9421. msgstr ""
  9422. #. type: item
  9423. #: guix-git/doc/guix.texi:4955
  9424. #, no-wrap
  9425. msgid "--extract=@var{directory}"
  9426. msgstr ""
  9427. #. type: itemx
  9428. #: guix-git/doc/guix.texi:4956
  9429. #, no-wrap
  9430. msgid "-x @var{directory}"
  9431. msgstr ""
  9432. #. type: table
  9433. #: guix-git/doc/guix.texi:4960
  9434. 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."
  9435. msgstr ""
  9436. #. type: table
  9437. #: guix-git/doc/guix.texi:4963
  9438. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9439. msgstr ""
  9440. #. type: example
  9441. #: guix-git/doc/guix.texi:4968
  9442. #, no-wrap
  9443. msgid ""
  9444. "$ wget -O - \\\n"
  9445. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9446. " | gunzip | guix archive -x /tmp/emacs\n"
  9447. msgstr ""
  9448. #. type: table
  9449. #: guix-git/doc/guix.texi:4975
  9450. 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."
  9451. msgstr ""
  9452. #. type: table
  9453. #: guix-git/doc/guix.texi:4979
  9454. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9455. msgstr ""
  9456. #. type: item
  9457. #: guix-git/doc/guix.texi:4980
  9458. #, no-wrap
  9459. msgid "--list"
  9460. msgstr ""
  9461. #. type: itemx
  9462. #: guix-git/doc/guix.texi:4981 guix-git/doc/guix.texi:11516
  9463. #: guix-git/doc/guix.texi:11563
  9464. #, no-wrap
  9465. msgid "-t"
  9466. msgstr ""
  9467. #. type: table
  9468. #: guix-git/doc/guix.texi:4985
  9469. 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:"
  9470. msgstr ""
  9471. #. type: example
  9472. #: guix-git/doc/guix.texi:4990
  9473. #, no-wrap
  9474. msgid ""
  9475. "$ wget -O - \\\n"
  9476. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9477. " | lzip -d | guix archive -t\n"
  9478. msgstr ""
  9479. #. type: cindex
  9480. #: guix-git/doc/guix.texi:5001
  9481. #, no-wrap
  9482. msgid "@command{guix pull}, configuration file"
  9483. msgstr ""
  9484. #. type: cindex
  9485. #: guix-git/doc/guix.texi:5002
  9486. #, no-wrap
  9487. msgid "configuration of @command{guix pull}"
  9488. msgstr ""
  9489. #. type: Plain text
  9490. #: guix-git/doc/guix.texi:5013
  9491. 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."
  9492. msgstr ""
  9493. #. type: cindex
  9494. #: guix-git/doc/guix.texi:5031
  9495. #, no-wrap
  9496. msgid "extending the package collection (channels)"
  9497. msgstr ""
  9498. #. type: cindex
  9499. #: guix-git/doc/guix.texi:5032
  9500. #, no-wrap
  9501. msgid "variant packages (channels)"
  9502. msgstr ""
  9503. #. type: Plain text
  9504. #: guix-git/doc/guix.texi:5036
  9505. 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):"
  9506. msgstr ""
  9507. #. type: vindex
  9508. #: guix-git/doc/guix.texi:5037
  9509. #, no-wrap
  9510. msgid "%default-channels"
  9511. msgstr ""
  9512. #. type: lisp
  9513. #: guix-git/doc/guix.texi:5044
  9514. #, no-wrap
  9515. msgid ""
  9516. ";; Add variant packages to those Guix provides.\n"
  9517. "(cons (channel\n"
  9518. " (name 'variant-packages)\n"
  9519. " (url \"https://example.org/variant-packages.git\"))\n"
  9520. " %default-channels)\n"
  9521. msgstr ""
  9522. #. type: Plain text
  9523. #: guix-git/doc/guix.texi:5054
  9524. 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:"
  9525. msgstr ""
  9526. #. type: example
  9527. #: guix-git/doc/guix.texi:5069
  9528. #, no-wrap
  9529. msgid ""
  9530. "$ guix pull --list-generations\n"
  9531. "@dots{}\n"
  9532. "Generation 19\tAug 27 2018 16:20:48\n"
  9533. " guix d894ab8\n"
  9534. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9535. " branch: master\n"
  9536. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9537. " variant-packages dd3df5e\n"
  9538. " repository URL: https://example.org/variant-packages.git\n"
  9539. " branch: master\n"
  9540. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9541. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9542. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9543. msgstr ""
  9544. #. type: Plain text
  9545. #: guix-git/doc/guix.texi:5077
  9546. 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."
  9547. msgstr ""
  9548. #. type: Plain text
  9549. #: guix-git/doc/guix.texi:5086
  9550. 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:"
  9551. msgstr ""
  9552. #. type: lisp
  9553. #: guix-git/doc/guix.texi:5093
  9554. #, no-wrap
  9555. msgid ""
  9556. ";; Tell 'guix pull' to use another repo.\n"
  9557. "(list (channel\n"
  9558. " (name 'guix)\n"
  9559. " (url \"https://example.org/another-guix.git\")\n"
  9560. " (branch \"super-hacks\")))\n"
  9561. msgstr ""
  9562. #. type: Plain text
  9563. #: guix-git/doc/guix.texi:5099
  9564. 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})."
  9565. msgstr ""
  9566. #. type: Plain text
  9567. #: guix-git/doc/guix.texi:5110
  9568. 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:"
  9569. msgstr ""
  9570. #. type: lisp
  9571. #: guix-git/doc/guix.texi:5121
  9572. #, no-wrap
  9573. msgid ""
  9574. ";; Deploy specific commits of my channels of interest.\n"
  9575. "(list (channel\n"
  9576. " (name 'guix)\n"
  9577. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9578. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9579. " (channel\n"
  9580. " (name 'variant-packages)\n"
  9581. " (url \"https://example.org/variant-packages.git\")\n"
  9582. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9583. msgstr ""
  9584. #. type: Plain text
  9585. #: guix-git/doc/guix.texi:5128
  9586. 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})."
  9587. msgstr ""
  9588. #. type: Plain text
  9589. #: guix-git/doc/guix.texi:5135
  9590. 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."
  9591. msgstr ""
  9592. #. type: Plain text
  9593. #: guix-git/doc/guix.texi:5140
  9594. 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."
  9595. msgstr ""
  9596. #. type: anchor{#1}
  9597. #: guix-git/doc/guix.texi:5145
  9598. msgid "channel-authentication"
  9599. msgstr ""
  9600. #. type: Plain text
  9601. #: guix-git/doc/guix.texi:5151
  9602. 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."
  9603. msgstr ""
  9604. #. type: Plain text
  9605. #: guix-git/doc/guix.texi:5156
  9606. 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:"
  9607. msgstr ""
  9608. #. type: lisp
  9609. #: guix-git/doc/guix.texi:5166
  9610. #, no-wrap
  9611. msgid ""
  9612. "(channel\n"
  9613. " (name 'some-channel)\n"
  9614. " (url \"https://example.org/some-channel.git\")\n"
  9615. " (introduction\n"
  9616. " (make-channel-introduction\n"
  9617. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9618. " (openpgp-fingerprint\n"
  9619. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9620. msgstr ""
  9621. #. type: Plain text
  9622. #: guix-git/doc/guix.texi:5172
  9623. 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{}}."
  9624. msgstr ""
  9625. #. type: Plain text
  9626. #: guix-git/doc/guix.texi:5178
  9627. 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."
  9628. msgstr ""
  9629. #. type: Plain text
  9630. #: guix-git/doc/guix.texi:5180
  9631. msgid "If you're curious about the authentication mechanics, read on!"
  9632. msgstr ""
  9633. #. type: Plain text
  9634. #: guix-git/doc/guix.texi:5191
  9635. 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}."
  9636. msgstr ""
  9637. #. type: lisp
  9638. #: guix-git/doc/guix.texi:5194
  9639. #, no-wrap
  9640. msgid ""
  9641. "(use-modules (guix ci))\n"
  9642. "\n"
  9643. msgstr ""
  9644. #. type: lisp
  9645. #: guix-git/doc/guix.texi:5198
  9646. #, no-wrap
  9647. msgid ""
  9648. "(list (channel-with-substitutes-available\n"
  9649. " %default-guix-channel\n"
  9650. " \"https://ci.guix.gnu.org\"))\n"
  9651. msgstr ""
  9652. #. type: Plain text
  9653. #: guix-git/doc/guix.texi:5205
  9654. 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."
  9655. msgstr ""
  9656. #. type: cindex
  9657. #: guix-git/doc/guix.texi:5209
  9658. #, no-wrap
  9659. msgid "personal packages (channels)"
  9660. msgstr ""
  9661. #. type: cindex
  9662. #: guix-git/doc/guix.texi:5210
  9663. #, no-wrap
  9664. msgid "channels, for personal packages"
  9665. msgstr ""
  9666. #. type: Plain text
  9667. #: guix-git/doc/guix.texi:5218
  9668. 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?"
  9669. msgstr ""
  9670. #. type: quotation
  9671. #: guix-git/doc/guix.texi:5222 guix-git/doc/guix.texi:6068
  9672. #: guix-git/doc/guix.texi:13784 guix-git/doc/guix.texi:19856
  9673. #: guix-git/doc/guix.texi:19863
  9674. #, no-wrap
  9675. msgid "Warning"
  9676. msgstr ""
  9677. #. type: quotation
  9678. #: guix-git/doc/guix.texi:5226
  9679. 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:"
  9680. msgstr ""
  9681. #. type: itemize
  9682. #: guix-git/doc/guix.texi:5234
  9683. 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."
  9684. msgstr ""
  9685. #. type: itemize
  9686. #: guix-git/doc/guix.texi:5243
  9687. 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."
  9688. msgstr ""
  9689. #. type: itemize
  9690. #: guix-git/doc/guix.texi:5247
  9691. 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."
  9692. msgstr ""
  9693. #. type: quotation
  9694. #: guix-git/doc/guix.texi:5254
  9695. 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."
  9696. msgstr ""
  9697. #. type: Plain text
  9698. #: guix-git/doc/guix.texi:5266
  9699. 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})."
  9700. msgstr ""
  9701. #. type: Plain text
  9702. #: guix-git/doc/guix.texi:5271
  9703. 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."
  9704. msgstr ""
  9705. #. type: cindex
  9706. #: guix-git/doc/guix.texi:5276
  9707. #, no-wrap
  9708. msgid "subdirectory, channels"
  9709. msgstr ""
  9710. #. type: Plain text
  9711. #: guix-git/doc/guix.texi:5280
  9712. 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:"
  9713. msgstr ""
  9714. #. type: lisp
  9715. #: guix-git/doc/guix.texi:5285
  9716. #, no-wrap
  9717. msgid ""
  9718. "(channel\n"
  9719. " (version 0)\n"
  9720. " (directory \"guix\"))\n"
  9721. msgstr ""
  9722. #. type: cindex
  9723. #: guix-git/doc/guix.texi:5290
  9724. #, no-wrap
  9725. msgid "dependencies, channels"
  9726. msgstr ""
  9727. #. type: cindex
  9728. #: guix-git/doc/guix.texi:5291
  9729. #, no-wrap
  9730. msgid "meta-data, channels"
  9731. msgstr ""
  9732. #. type: Plain text
  9733. #: guix-git/doc/guix.texi:5296
  9734. 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."
  9735. msgstr ""
  9736. #. type: Plain text
  9737. #: guix-git/doc/guix.texi:5298
  9738. msgid "The meta-data file should contain a simple S-expression like this:"
  9739. msgstr ""
  9740. #. type: lisp
  9741. #: guix-git/doc/guix.texi:5306
  9742. #, no-wrap
  9743. msgid ""
  9744. "(channel\n"
  9745. " (version 0)\n"
  9746. " (dependencies\n"
  9747. " (channel\n"
  9748. " (name some-collection)\n"
  9749. " (url \"https://example.org/first-collection.git\")\n"
  9750. "\n"
  9751. msgstr ""
  9752. #. type: lisp
  9753. #: guix-git/doc/guix.texi:5318
  9754. #, no-wrap
  9755. msgid ""
  9756. " ;; The 'introduction' bit below is optional: you would\n"
  9757. " ;; provide it for dependencies that can be authenticated.\n"
  9758. " (introduction\n"
  9759. " (channel-introduction\n"
  9760. " (version 0)\n"
  9761. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  9762. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9763. " (channel\n"
  9764. " (name some-other-collection)\n"
  9765. " (url \"https://example.org/second-collection.git\")\n"
  9766. " (branch \"testing\"))))\n"
  9767. msgstr ""
  9768. #. type: Plain text
  9769. #: guix-git/doc/guix.texi:5324
  9770. 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."
  9771. msgstr ""
  9772. #. type: Plain text
  9773. #: guix-git/doc/guix.texi:5328
  9774. 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."
  9775. msgstr ""
  9776. #. type: cindex
  9777. #: guix-git/doc/guix.texi:5332
  9778. #, no-wrap
  9779. msgid "channel authorizations"
  9780. msgstr ""
  9781. #. type: anchor{#1}
  9782. #: guix-git/doc/guix.texi:5346
  9783. msgid "channel-authorizations"
  9784. msgstr ""
  9785. #. type: Plain text
  9786. #: guix-git/doc/guix.texi:5346
  9787. 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:"
  9788. msgstr ""
  9789. #. type: lisp
  9790. #: guix-git/doc/guix.texi:5349
  9791. #, no-wrap
  9792. msgid ""
  9793. ";; Example '.guix-authorizations' file.\n"
  9794. "\n"
  9795. msgstr ""
  9796. #. type: lisp
  9797. #: guix-git/doc/guix.texi:5352
  9798. #, no-wrap
  9799. msgid ""
  9800. "(authorizations\n"
  9801. " (version 0) ;current file format version\n"
  9802. "\n"
  9803. msgstr ""
  9804. #. type: lisp
  9805. #: guix-git/doc/guix.texi:5359
  9806. #, no-wrap
  9807. msgid ""
  9808. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  9809. " (name \"alice\"))\n"
  9810. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  9811. " (name \"bob\"))\n"
  9812. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  9813. " (name \"charlie\"))))\n"
  9814. msgstr ""
  9815. #. type: Plain text
  9816. #: guix-git/doc/guix.texi:5363
  9817. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  9818. msgstr ""
  9819. #. type: Plain text
  9820. #: guix-git/doc/guix.texi:5368
  9821. 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?"
  9822. msgstr ""
  9823. #. type: cindex
  9824. #: guix-git/doc/guix.texi:5369
  9825. #, no-wrap
  9826. msgid "channel introduction"
  9827. msgstr ""
  9828. #. type: Plain text
  9829. #: guix-git/doc/guix.texi:5376
  9830. 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."
  9831. msgstr ""
  9832. #. type: Plain text
  9833. #: guix-git/doc/guix.texi:5383
  9834. 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:"
  9835. msgstr ""
  9836. #. type: lisp
  9837. #: guix-git/doc/guix.texi:5388
  9838. #, no-wrap
  9839. msgid ""
  9840. "(channel\n"
  9841. " (version 0)\n"
  9842. " (keyring-reference \"my-keyring-branch\"))\n"
  9843. msgstr ""
  9844. #. type: Plain text
  9845. #: guix-git/doc/guix.texi:5392
  9846. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  9847. msgstr ""
  9848. #. type: enumerate
  9849. #: guix-git/doc/guix.texi:5398
  9850. 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})."
  9851. msgstr ""
  9852. #. type: enumerate
  9853. #: guix-git/doc/guix.texi:5403
  9854. 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.)"
  9855. msgstr ""
  9856. #. type: enumerate
  9857. #: guix-git/doc/guix.texi:5409
  9858. 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."
  9859. msgstr ""
  9860. #. type: Plain text
  9861. #: guix-git/doc/guix.texi:5414
  9862. 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:"
  9863. msgstr ""
  9864. #. type: example
  9865. #: guix-git/doc/guix.texi:5417
  9866. #, no-wrap
  9867. msgid "guix git authenticate @var{commit} @var{signer}\n"
  9868. msgstr ""
  9869. #. type: Plain text
  9870. #: guix-git/doc/guix.texi:5422
  9871. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  9872. msgstr ""
  9873. #. type: Plain text
  9874. #: guix-git/doc/guix.texi:5429
  9875. 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."
  9876. msgstr ""
  9877. #. type: cindex
  9878. #: guix-git/doc/guix.texi:5433
  9879. #, no-wrap
  9880. msgid "primary URL, channels"
  9881. msgstr ""
  9882. #. type: Plain text
  9883. #: guix-git/doc/guix.texi:5436
  9884. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  9885. msgstr ""
  9886. #. type: lisp
  9887. #: guix-git/doc/guix.texi:5441
  9888. #, no-wrap
  9889. msgid ""
  9890. "(channel\n"
  9891. " (version 0)\n"
  9892. " (url \"https://example.org/guix.git\"))\n"
  9893. msgstr ""
  9894. #. type: Plain text
  9895. #: guix-git/doc/guix.texi:5448
  9896. 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."
  9897. msgstr ""
  9898. #. type: Plain text
  9899. #: guix-git/doc/guix.texi:5452
  9900. 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."
  9901. msgstr ""
  9902. #. type: cindex
  9903. #: guix-git/doc/guix.texi:5456
  9904. #, no-wrap
  9905. msgid "news, for channels"
  9906. msgstr ""
  9907. #. type: Plain text
  9908. #: guix-git/doc/guix.texi:5460
  9909. 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."
  9910. msgstr ""
  9911. #. type: Plain text
  9912. #: guix-git/doc/guix.texi:5465
  9913. 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."
  9914. msgstr ""
  9915. #. type: Plain text
  9916. #: guix-git/doc/guix.texi:5468
  9917. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  9918. msgstr ""
  9919. #. type: lisp
  9920. #: guix-git/doc/guix.texi:5473
  9921. #, no-wrap
  9922. msgid ""
  9923. "(channel\n"
  9924. " (version 0)\n"
  9925. " (news-file \"etc/news.txt\"))\n"
  9926. msgstr ""
  9927. #. type: Plain text
  9928. #: guix-git/doc/guix.texi:5477
  9929. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  9930. msgstr ""
  9931. #. type: lisp
  9932. #: guix-git/doc/guix.texi:5490
  9933. #, no-wrap
  9934. msgid ""
  9935. "(channel-news\n"
  9936. " (version 0)\n"
  9937. " (entry (tag \"the-bug-fix\")\n"
  9938. " (title (en \"Fixed terrible bug\")\n"
  9939. " (fr \"Oh la la\"))\n"
  9940. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  9941. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  9942. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  9943. " (title (en \"Added a great package\")\n"
  9944. " (ca \"Què vol dir guix?\"))\n"
  9945. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  9946. msgstr ""
  9947. #. type: Plain text
  9948. #: guix-git/doc/guix.texi:5497
  9949. 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."
  9950. msgstr ""
  9951. #. type: Plain text
  9952. #: guix-git/doc/guix.texi:5502
  9953. 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."
  9954. msgstr ""
  9955. #. type: Plain text
  9956. #: guix-git/doc/guix.texi:5508
  9957. 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."
  9958. msgstr ""
  9959. #. type: Plain text
  9960. #: guix-git/doc/guix.texi:5514
  9961. 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:"
  9962. msgstr ""
  9963. #. type: example
  9964. #: guix-git/doc/guix.texi:5517
  9965. #, no-wrap
  9966. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  9967. msgstr ""
  9968. #. type: Plain text
  9969. #: guix-git/doc/guix.texi:5521
  9970. 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."
  9971. msgstr ""
  9972. #. type: cindex
  9973. #: guix-git/doc/guix.texi:5526
  9974. #, no-wrap
  9975. msgid "software development"
  9976. msgstr ""
  9977. #. type: Plain text
  9978. #: guix-git/doc/guix.texi:5530
  9979. 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."
  9980. msgstr ""
  9981. #. type: Plain text
  9982. #: guix-git/doc/guix.texi:5536
  9983. msgid "The @command{guix environment} command provides a convenient way to set up @dfn{development environments} containing all the dependencies and tools necessary to work on the software package of your choice. The @command{guix pack} command allows you to create @dfn{application bundles} that can be easily distributed to users who do not run Guix."
  9984. msgstr ""
  9985. #. type: section
  9986. #: guix-git/doc/guix.texi:5545
  9987. #, no-wrap
  9988. msgid "Invoking @command{guix environment}"
  9989. msgstr ""
  9990. #. type: cindex
  9991. #: guix-git/doc/guix.texi:5547
  9992. #, no-wrap
  9993. msgid "reproducible build environments"
  9994. msgstr ""
  9995. #. type: cindex
  9996. #: guix-git/doc/guix.texi:5548
  9997. #, no-wrap
  9998. msgid "development environments"
  9999. msgstr ""
  10000. #. type: command{#1}
  10001. #: guix-git/doc/guix.texi:5549
  10002. #, no-wrap
  10003. msgid "guix environment"
  10004. msgstr ""
  10005. #. type: cindex
  10006. #: guix-git/doc/guix.texi:5550
  10007. #, no-wrap
  10008. msgid "environment, package build environment"
  10009. msgstr ""
  10010. #. type: Plain text
  10011. #: guix-git/doc/guix.texi:5556
  10012. msgid "The purpose of @command{guix environment} is to assist hackers in creating reproducible development environments without polluting their package profile. The @command{guix environment} tool takes one or more packages, builds all of their inputs, and creates a shell environment to use them."
  10013. msgstr ""
  10014. #. type: example
  10015. #: guix-git/doc/guix.texi:5561
  10016. #, no-wrap
  10017. msgid "guix environment @var{options} @var{package}@dots{}\n"
  10018. msgstr ""
  10019. #. type: Plain text
  10020. #: guix-git/doc/guix.texi:5565
  10021. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  10022. msgstr ""
  10023. #. type: example
  10024. #: guix-git/doc/guix.texi:5568
  10025. #, no-wrap
  10026. msgid "guix environment guile\n"
  10027. msgstr ""
  10028. #. type: Plain text
  10029. #: guix-git/doc/guix.texi:5585
  10030. 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.}."
  10031. msgstr ""
  10032. #. type: Plain text
  10033. #: guix-git/doc/guix.texi:5591
  10034. 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."
  10035. msgstr ""
  10036. #. type: vindex
  10037. #: guix-git/doc/guix.texi:5592
  10038. #, no-wrap
  10039. msgid "GUIX_ENVIRONMENT"
  10040. msgstr ""
  10041. #. type: Plain text
  10042. #: guix-git/doc/guix.texi:5598
  10043. 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}):"
  10044. msgstr ""
  10045. #. type: example
  10046. #: guix-git/doc/guix.texi:5604
  10047. #, no-wrap
  10048. msgid ""
  10049. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10050. "then\n"
  10051. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10052. "fi\n"
  10053. msgstr ""
  10054. #. type: Plain text
  10055. #: guix-git/doc/guix.texi:5608
  10056. msgid "...@: or to browse the profile:"
  10057. msgstr ""
  10058. #. type: example
  10059. #: guix-git/doc/guix.texi:5611
  10060. #, no-wrap
  10061. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10062. msgstr ""
  10063. #. type: Plain text
  10064. #: guix-git/doc/guix.texi:5617
  10065. 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:"
  10066. msgstr ""
  10067. #. type: example
  10068. #: guix-git/doc/guix.texi:5620
  10069. #, no-wrap
  10070. msgid "guix environment guile emacs\n"
  10071. msgstr ""
  10072. #. type: Plain text
  10073. #: guix-git/doc/guix.texi:5625
  10074. 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:"
  10075. msgstr ""
  10076. #. type: example
  10077. #: guix-git/doc/guix.texi:5628
  10078. #, no-wrap
  10079. msgid "guix environment guile -- make -j4\n"
  10080. msgstr ""
  10081. #. type: Plain text
  10082. #: guix-git/doc/guix.texi:5634
  10083. msgid "In other situations, it is more convenient to specify the list of packages needed in the environment. For example, the following command runs @command{python} from an environment containing Python@tie{}2.7 and NumPy:"
  10084. msgstr ""
  10085. #. type: example
  10086. #: guix-git/doc/guix.texi:5637
  10087. #, no-wrap
  10088. msgid "guix environment --ad-hoc python2-numpy python-2.7 -- python\n"
  10089. msgstr ""
  10090. #. type: Plain text
  10091. #: guix-git/doc/guix.texi:5648
  10092. 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:"
  10093. msgstr ""
  10094. #. type: example
  10095. #: guix-git/doc/guix.texi:5651
  10096. #, no-wrap
  10097. msgid "guix environment --pure guix --ad-hoc git strace\n"
  10098. msgstr ""
  10099. #. type: item
  10100. #: guix-git/doc/guix.texi:5653 guix-git/doc/guix.texi:5814
  10101. #: guix-git/doc/guix.texi:13182 guix-git/doc/guix.texi:33803
  10102. #, no-wrap
  10103. msgid "container"
  10104. msgstr ""
  10105. #. type: Plain text
  10106. #: guix-git/doc/guix.texi:5661
  10107. 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:"
  10108. msgstr ""
  10109. #. type: example
  10110. #: guix-git/doc/guix.texi:5664
  10111. #, no-wrap
  10112. msgid "guix environment --ad-hoc --container guile -- guile\n"
  10113. msgstr ""
  10114. #. type: quotation
  10115. #: guix-git/doc/guix.texi:5668
  10116. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  10117. msgstr ""
  10118. #. type: cindex
  10119. #: guix-git/doc/guix.texi:5670
  10120. #, no-wrap
  10121. msgid "certificates"
  10122. msgstr ""
  10123. #. type: Plain text
  10124. #: guix-git/doc/guix.texi:5677
  10125. 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."
  10126. msgstr ""
  10127. #. type: example
  10128. #: guix-git/doc/guix.texi:5684
  10129. #, no-wrap
  10130. msgid ""
  10131. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  10132. " --expose=/etc/machine-id \\\n"
  10133. " --expose=/etc/ssl/certs/ \\\n"
  10134. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  10135. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  10136. msgstr ""
  10137. #. type: Plain text
  10138. #: guix-git/doc/guix.texi:5687
  10139. msgid "The available options are summarized below."
  10140. msgstr ""
  10141. #. type: item
  10142. #: guix-git/doc/guix.texi:5689 guix-git/doc/guix.texi:6254
  10143. #: guix-git/doc/guix.texi:10937 guix-git/doc/guix.texi:33900
  10144. #, no-wrap
  10145. msgid "--root=@var{file}"
  10146. msgstr ""
  10147. #. type: itemx
  10148. #: guix-git/doc/guix.texi:5690 guix-git/doc/guix.texi:6255
  10149. #: guix-git/doc/guix.texi:10938 guix-git/doc/guix.texi:33901
  10150. #, no-wrap
  10151. msgid "-r @var{file}"
  10152. msgstr ""
  10153. #. type: cindex
  10154. #: guix-git/doc/guix.texi:5691
  10155. #, no-wrap
  10156. msgid "persistent environment"
  10157. msgstr ""
  10158. #. type: cindex
  10159. #: guix-git/doc/guix.texi:5692
  10160. #, no-wrap
  10161. msgid "garbage collector root, for environments"
  10162. msgstr ""
  10163. #. type: table
  10164. #: guix-git/doc/guix.texi:5695
  10165. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10166. msgstr ""
  10167. #. type: table
  10168. #: guix-git/doc/guix.texi:5698
  10169. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10170. msgstr ""
  10171. #. type: table
  10172. #: guix-git/doc/guix.texi:5704
  10173. 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."
  10174. msgstr ""
  10175. #. type: item
  10176. #: guix-git/doc/guix.texi:5705 guix-git/doc/guix.texi:6186
  10177. #: guix-git/doc/guix.texi:10783 guix-git/doc/guix.texi:11829
  10178. #: guix-git/doc/guix.texi:12626 guix-git/doc/guix.texi:33835
  10179. #, no-wrap
  10180. msgid "--expression=@var{expr}"
  10181. msgstr ""
  10182. #. type: itemx
  10183. #: guix-git/doc/guix.texi:5706 guix-git/doc/guix.texi:6187
  10184. #: guix-git/doc/guix.texi:10784 guix-git/doc/guix.texi:11830
  10185. #: guix-git/doc/guix.texi:12627 guix-git/doc/guix.texi:33836
  10186. #, no-wrap
  10187. msgid "-e @var{expr}"
  10188. msgstr ""
  10189. #. type: table
  10190. #: guix-git/doc/guix.texi:5709
  10191. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10192. msgstr ""
  10193. #. type: table
  10194. #: guix-git/doc/guix.texi:5711
  10195. msgid "For example, running:"
  10196. msgstr ""
  10197. #. type: example
  10198. #: guix-git/doc/guix.texi:5714
  10199. #, no-wrap
  10200. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10201. msgstr ""
  10202. #. type: table
  10203. #: guix-git/doc/guix.texi:5718
  10204. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10205. msgstr ""
  10206. #. type: table
  10207. #: guix-git/doc/guix.texi:5720
  10208. msgid "Running:"
  10209. msgstr ""
  10210. #. type: example
  10211. #: guix-git/doc/guix.texi:5723
  10212. #, no-wrap
  10213. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  10214. msgstr ""
  10215. #. type: table
  10216. #: guix-git/doc/guix.texi:5726
  10217. msgid "starts a shell with all the base system packages available."
  10218. msgstr ""
  10219. #. type: table
  10220. #: guix-git/doc/guix.texi:5729
  10221. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10222. msgstr ""
  10223. #. type: example
  10224. #: guix-git/doc/guix.texi:5732
  10225. #, no-wrap
  10226. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10227. msgstr ""
  10228. #. type: item
  10229. #: guix-git/doc/guix.texi:5734
  10230. #, no-wrap
  10231. msgid "--load=@var{file}"
  10232. msgstr ""
  10233. #. type: itemx
  10234. #: guix-git/doc/guix.texi:5735
  10235. #, no-wrap
  10236. msgid "-l @var{file}"
  10237. msgstr ""
  10238. #. type: table
  10239. #: guix-git/doc/guix.texi:5738
  10240. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  10241. msgstr ""
  10242. #. type: lisp
  10243. #: guix-git/doc/guix.texi:5744
  10244. #, no-wrap
  10245. msgid "@verbatiminclude environment-gdb.scm\n"
  10246. msgstr ""
  10247. #. type: table
  10248. #: guix-git/doc/guix.texi:5751
  10249. 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."
  10250. msgstr ""
  10251. #. type: table
  10252. #: guix-git/doc/guix.texi:5755
  10253. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10254. msgstr ""
  10255. #. type: item
  10256. #: guix-git/doc/guix.texi:5756
  10257. #, no-wrap
  10258. msgid "--ad-hoc"
  10259. msgstr ""
  10260. #. type: table
  10261. #: guix-git/doc/guix.texi:5761
  10262. 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."
  10263. msgstr ""
  10264. #. type: table
  10265. #: guix-git/doc/guix.texi:5763
  10266. msgid "For instance, the command:"
  10267. msgstr ""
  10268. #. type: example
  10269. #: guix-git/doc/guix.texi:5766
  10270. #, no-wrap
  10271. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  10272. msgstr ""
  10273. #. type: table
  10274. #: guix-git/doc/guix.texi:5770
  10275. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  10276. msgstr ""
  10277. #. type: table
  10278. #: guix-git/doc/guix.texi:5775
  10279. 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})."
  10280. msgstr ""
  10281. #. type: table
  10282. #: guix-git/doc/guix.texi:5781
  10283. 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."
  10284. msgstr ""
  10285. #. type: item
  10286. #: guix-git/doc/guix.texi:5782
  10287. #, no-wrap
  10288. msgid "--pure"
  10289. msgstr ""
  10290. #. type: table
  10291. #: guix-git/doc/guix.texi:5786
  10292. 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."
  10293. msgstr ""
  10294. #. type: item
  10295. #: guix-git/doc/guix.texi:5787
  10296. #, no-wrap
  10297. msgid "--preserve=@var{regexp}"
  10298. msgstr ""
  10299. #. type: itemx
  10300. #: guix-git/doc/guix.texi:5788
  10301. #, no-wrap
  10302. msgid "-E @var{regexp}"
  10303. msgstr ""
  10304. #. type: table
  10305. #: guix-git/doc/guix.texi:5793
  10306. 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."
  10307. msgstr ""
  10308. #. type: example
  10309. #: guix-git/doc/guix.texi:5797
  10310. #, no-wrap
  10311. msgid ""
  10312. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  10313. " -- mpirun @dots{}\n"
  10314. msgstr ""
  10315. #. type: table
  10316. #: guix-git/doc/guix.texi:5803
  10317. 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.)."
  10318. msgstr ""
  10319. #. type: item
  10320. #: guix-git/doc/guix.texi:5804
  10321. #, no-wrap
  10322. msgid "--search-paths"
  10323. msgstr ""
  10324. #. type: table
  10325. #: guix-git/doc/guix.texi:5807
  10326. msgid "Display the environment variable definitions that make up the environment."
  10327. msgstr ""
  10328. #. type: table
  10329. #: guix-git/doc/guix.texi:5811
  10330. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10331. msgstr ""
  10332. #. type: item
  10333. #: guix-git/doc/guix.texi:5812
  10334. #, no-wrap
  10335. msgid "--container"
  10336. msgstr ""
  10337. #. type: itemx
  10338. #: guix-git/doc/guix.texi:5813
  10339. #, no-wrap
  10340. msgid "-C"
  10341. msgstr ""
  10342. #. type: table
  10343. #: guix-git/doc/guix.texi:5820
  10344. 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."
  10345. msgstr ""
  10346. #. type: table
  10347. #: guix-git/doc/guix.texi:5824
  10348. 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)."
  10349. msgstr ""
  10350. #. type: item
  10351. #: guix-git/doc/guix.texi:5825 guix-git/doc/guix.texi:33895
  10352. #, no-wrap
  10353. msgid "--network"
  10354. msgstr ""
  10355. #. type: table
  10356. #: guix-git/doc/guix.texi:5830
  10357. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10358. msgstr ""
  10359. #. type: item
  10360. #: guix-git/doc/guix.texi:5831
  10361. #, no-wrap
  10362. msgid "--link-profile"
  10363. msgstr ""
  10364. #. type: itemx
  10365. #: guix-git/doc/guix.texi:5832
  10366. #, no-wrap
  10367. msgid "-P"
  10368. msgstr ""
  10369. #. type: table
  10370. #: guix-git/doc/guix.texi:5840
  10371. 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."
  10372. msgstr ""
  10373. #. type: table
  10374. #: guix-git/doc/guix.texi:5846
  10375. 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."
  10376. msgstr ""
  10377. #. type: item
  10378. #: guix-git/doc/guix.texi:5847 guix-git/doc/guix.texi:12759
  10379. #, no-wrap
  10380. msgid "--user=@var{user}"
  10381. msgstr ""
  10382. #. type: itemx
  10383. #: guix-git/doc/guix.texi:5848 guix-git/doc/guix.texi:12760
  10384. #, no-wrap
  10385. msgid "-u @var{user}"
  10386. msgstr ""
  10387. #. type: table
  10388. #: guix-git/doc/guix.texi:5855
  10389. 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."
  10390. msgstr ""
  10391. #. type: table
  10392. #: guix-git/doc/guix.texi:5860
  10393. 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."
  10394. msgstr ""
  10395. #. type: example
  10396. #: guix-git/doc/guix.texi:5867
  10397. #, no-wrap
  10398. msgid ""
  10399. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10400. "cd $HOME/wd\n"
  10401. "guix environment --container --user=foo \\\n"
  10402. " --expose=$HOME/test \\\n"
  10403. " --expose=/tmp/target=$HOME/target\n"
  10404. msgstr ""
  10405. #. type: table
  10406. #: guix-git/doc/guix.texi:5872
  10407. 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."
  10408. msgstr ""
  10409. #. type: item
  10410. #: guix-git/doc/guix.texi:5873
  10411. #, no-wrap
  10412. msgid "--no-cwd"
  10413. msgstr ""
  10414. #. type: table
  10415. #: guix-git/doc/guix.texi:5880
  10416. 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}."
  10417. msgstr ""
  10418. #. type: item
  10419. #: guix-git/doc/guix.texi:5881
  10420. #, no-wrap
  10421. msgid "--expose=@var{source}[=@var{target}]"
  10422. msgstr ""
  10423. #. type: itemx
  10424. #: guix-git/doc/guix.texi:5882
  10425. #, no-wrap
  10426. msgid "--share=@var{source}[=@var{target}]"
  10427. msgstr ""
  10428. #. type: table
  10429. #: guix-git/doc/guix.texi:5888
  10430. 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."
  10431. msgstr ""
  10432. #. type: table
  10433. #: guix-git/doc/guix.texi:5892
  10434. 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:"
  10435. msgstr ""
  10436. #. type: example
  10437. #: guix-git/doc/guix.texi:5895
  10438. #, no-wrap
  10439. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  10440. msgstr ""
  10441. #. type: Plain text
  10442. #: guix-git/doc/guix.texi:5903
  10443. 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})."
  10444. msgstr ""
  10445. #. type: section
  10446. #: guix-git/doc/guix.texi:5905
  10447. #, no-wrap
  10448. msgid "Invoking @command{guix pack}"
  10449. msgstr ""
  10450. #. type: Plain text
  10451. #: guix-git/doc/guix.texi:5911
  10452. 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."
  10453. msgstr ""
  10454. #. type: quotation
  10455. #: guix-git/doc/guix.texi:5916
  10456. 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}."
  10457. msgstr ""
  10458. #. type: cindex
  10459. #: guix-git/doc/guix.texi:5918
  10460. #, no-wrap
  10461. msgid "pack"
  10462. msgstr ""
  10463. #. type: cindex
  10464. #: guix-git/doc/guix.texi:5919
  10465. #, no-wrap
  10466. msgid "bundle"
  10467. msgstr ""
  10468. #. type: cindex
  10469. #: guix-git/doc/guix.texi:5920
  10470. #, no-wrap
  10471. msgid "application bundle"
  10472. msgstr ""
  10473. #. type: cindex
  10474. #: guix-git/doc/guix.texi:5921
  10475. #, no-wrap
  10476. msgid "software bundle"
  10477. msgstr ""
  10478. #. type: Plain text
  10479. #: guix-git/doc/guix.texi:5930
  10480. 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."
  10481. msgstr ""
  10482. #. type: Plain text
  10483. #: guix-git/doc/guix.texi:5933
  10484. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  10485. msgstr ""
  10486. #. type: example
  10487. #: guix-git/doc/guix.texi:5938
  10488. #, no-wrap
  10489. msgid ""
  10490. "$ guix pack guile emacs emacs-geiser\n"
  10491. "@dots{}\n"
  10492. "/gnu/store/@dots{}-pack.tar.gz\n"
  10493. msgstr ""
  10494. #. type: Plain text
  10495. #: guix-git/doc/guix.texi:5946
  10496. 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})."
  10497. msgstr ""
  10498. #. type: Plain text
  10499. #: guix-git/doc/guix.texi:5951
  10500. 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:"
  10501. msgstr ""
  10502. #. type: example
  10503. #: guix-git/doc/guix.texi:5954
  10504. #, no-wrap
  10505. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  10506. msgstr ""
  10507. #. type: Plain text
  10508. #: guix-git/doc/guix.texi:5958
  10509. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  10510. msgstr ""
  10511. #. type: cindex
  10512. #: guix-git/doc/guix.texi:5959
  10513. #, no-wrap
  10514. msgid "relocatable binaries, with @command{guix pack}"
  10515. msgstr ""
  10516. #. type: Plain text
  10517. #: guix-git/doc/guix.texi:5967
  10518. 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}."
  10519. msgstr ""
  10520. #. type: cindex
  10521. #: guix-git/doc/guix.texi:5968
  10522. #, no-wrap
  10523. msgid "Docker, build an image with guix pack"
  10524. msgstr ""
  10525. #. type: Plain text
  10526. #: guix-git/doc/guix.texi:5971
  10527. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  10528. msgstr ""
  10529. #. type: example
  10530. #: guix-git/doc/guix.texi:5974
  10531. #, no-wrap
  10532. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  10533. msgstr ""
  10534. #. type: Plain text
  10535. #: guix-git/doc/guix.texi:5979
  10536. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  10537. msgstr ""
  10538. #. type: example
  10539. #: guix-git/doc/guix.texi:5983
  10540. #, no-wrap
  10541. msgid ""
  10542. "docker load < @var{file}\n"
  10543. "docker run -ti guile-guile-readline /bin/guile\n"
  10544. msgstr ""
  10545. #. type: Plain text
  10546. #: guix-git/doc/guix.texi:5990
  10547. 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."
  10548. msgstr ""
  10549. #. type: cindex
  10550. #: guix-git/doc/guix.texi:5991
  10551. #, no-wrap
  10552. msgid "Singularity, build an image with guix pack"
  10553. msgstr ""
  10554. #. type: cindex
  10555. #: guix-git/doc/guix.texi:5992
  10556. #, no-wrap
  10557. msgid "SquashFS, build an image with guix pack"
  10558. msgstr ""
  10559. #. type: Plain text
  10560. #: guix-git/doc/guix.texi:5995
  10561. msgid "Yet another option is to produce a SquashFS image with the following command:"
  10562. msgstr ""
  10563. #. type: example
  10564. #: guix-git/doc/guix.texi:5998
  10565. #, no-wrap
  10566. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  10567. msgstr ""
  10568. #. type: Plain text
  10569. #: guix-git/doc/guix.texi:6006
  10570. 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}."
  10571. msgstr ""
  10572. #. type: Plain text
  10573. #: guix-git/doc/guix.texi:6008
  10574. msgid "Several command-line options allow you to customize your pack:"
  10575. msgstr ""
  10576. #. type: table
  10577. #: guix-git/doc/guix.texi:6013
  10578. msgid "Produce a pack in the given @var{format}."
  10579. msgstr ""
  10580. #. type: table
  10581. #: guix-git/doc/guix.texi:6015
  10582. msgid "The available formats are:"
  10583. msgstr ""
  10584. #. type: item
  10585. #: guix-git/doc/guix.texi:6017
  10586. #, no-wrap
  10587. msgid "tarball"
  10588. msgstr ""
  10589. #. type: table
  10590. #: guix-git/doc/guix.texi:6020
  10591. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  10592. msgstr ""
  10593. #. type: item
  10594. #: guix-git/doc/guix.texi:6021
  10595. #, no-wrap
  10596. msgid "docker"
  10597. msgstr ""
  10598. #. type: table
  10599. #: guix-git/doc/guix.texi:6027
  10600. 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."
  10601. msgstr ""
  10602. #. type: item
  10603. #: guix-git/doc/guix.texi:6028
  10604. #, no-wrap
  10605. msgid "squashfs"
  10606. msgstr ""
  10607. #. type: table
  10608. #: guix-git/doc/guix.texi:6032
  10609. 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."
  10610. msgstr ""
  10611. #. type: quotation
  10612. #: guix-git/doc/guix.texi:6038
  10613. 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:"
  10614. msgstr ""
  10615. #. type: example
  10616. #: guix-git/doc/guix.texi:6041
  10617. #, no-wrap
  10618. msgid "guix pack -f squashfs bash @dots{}\n"
  10619. msgstr ""
  10620. #. type: quotation
  10621. #: guix-git/doc/guix.texi:6046
  10622. 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."
  10623. msgstr ""
  10624. #. type: item
  10625. #: guix-git/doc/guix.texi:6048
  10626. #, no-wrap
  10627. msgid "deb"
  10628. msgstr ""
  10629. #. type: table
  10630. #: guix-git/doc/guix.texi:6056
  10631. 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."
  10632. msgstr ""
  10633. #. type: example
  10634. #: guix-git/doc/guix.texi:6059
  10635. #, no-wrap
  10636. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  10637. msgstr ""
  10638. #. type: quotation
  10639. #: guix-git/doc/guix.texi:6066
  10640. 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."
  10641. msgstr ""
  10642. #. type: quotation
  10643. #: guix-git/doc/guix.texi:6074
  10644. 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."
  10645. msgstr ""
  10646. #. type: cindex
  10647. #: guix-git/doc/guix.texi:6078
  10648. #, no-wrap
  10649. msgid "relocatable binaries"
  10650. msgstr ""
  10651. #. type: item
  10652. #: guix-git/doc/guix.texi:6079
  10653. #, no-wrap
  10654. msgid "--relocatable"
  10655. msgstr ""
  10656. #. type: table
  10657. #: guix-git/doc/guix.texi:6083
  10658. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  10659. msgstr ""
  10660. #. type: table
  10661. #: guix-git/doc/guix.texi:6091
  10662. 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."
  10663. msgstr ""
  10664. #. type: table
  10665. #: guix-git/doc/guix.texi:6093
  10666. msgid "For example, if you create a pack containing Bash with:"
  10667. msgstr ""
  10668. #. type: example
  10669. #: guix-git/doc/guix.texi:6096
  10670. #, no-wrap
  10671. msgid "guix pack -RR -S /mybin=bin bash\n"
  10672. msgstr ""
  10673. #. type: table
  10674. #: guix-git/doc/guix.texi:6101
  10675. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  10676. msgstr ""
  10677. #. type: example
  10678. #: guix-git/doc/guix.texi:6105
  10679. #, no-wrap
  10680. msgid ""
  10681. "tar xf pack.tar.gz\n"
  10682. "./mybin/sh\n"
  10683. msgstr ""
  10684. #. type: table
  10685. #: guix-git/doc/guix.texi:6113
  10686. 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."
  10687. msgstr ""
  10688. #. type: quotation
  10689. #: guix-git/doc/guix.texi:6119
  10690. 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."
  10691. msgstr ""
  10692. #. type: quotation
  10693. #: guix-git/doc/guix.texi:6125
  10694. 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:"
  10695. msgstr ""
  10696. #. type: item
  10697. #: guix-git/doc/guix.texi:6127 guix-git/doc/guix.texi:16403
  10698. #, no-wrap
  10699. msgid "default"
  10700. msgstr ""
  10701. #. type: table
  10702. #: guix-git/doc/guix.texi:6130
  10703. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  10704. msgstr ""
  10705. #. type: item
  10706. #: guix-git/doc/guix.texi:6131
  10707. #, no-wrap
  10708. msgid "performance"
  10709. msgstr ""
  10710. #. type: table
  10711. #: guix-git/doc/guix.texi:6134
  10712. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  10713. msgstr ""
  10714. #. type: item
  10715. #: guix-git/doc/guix.texi:6135
  10716. #, no-wrap
  10717. msgid "userns"
  10718. msgstr ""
  10719. #. type: table
  10720. #: guix-git/doc/guix.texi:6138
  10721. msgid "Run the program through user namespaces and abort if they are not supported."
  10722. msgstr ""
  10723. #. type: item
  10724. #: guix-git/doc/guix.texi:6139
  10725. #, no-wrap
  10726. msgid "proot"
  10727. msgstr ""
  10728. #. type: table
  10729. #: guix-git/doc/guix.texi:6146
  10730. 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."
  10731. msgstr ""
  10732. #. type: item
  10733. #: guix-git/doc/guix.texi:6147
  10734. #, no-wrap
  10735. msgid "fakechroot"
  10736. msgstr ""
  10737. #. type: table
  10738. #: guix-git/doc/guix.texi:6155
  10739. 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."
  10740. msgstr ""
  10741. #. type: vindex
  10742. #: guix-git/doc/guix.texi:6157
  10743. #, no-wrap
  10744. msgid "GUIX_EXECUTION_ENGINE"
  10745. msgstr ""
  10746. #. type: quotation
  10747. #: guix-git/doc/guix.texi:6161
  10748. 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."
  10749. msgstr ""
  10750. #. type: cindex
  10751. #: guix-git/doc/guix.texi:6163
  10752. #, no-wrap
  10753. msgid "entry point, for Docker images"
  10754. msgstr ""
  10755. #. type: item
  10756. #: guix-git/doc/guix.texi:6164
  10757. #, no-wrap
  10758. msgid "--entry-point=@var{command}"
  10759. msgstr ""
  10760. #. type: table
  10761. #: guix-git/doc/guix.texi:6169
  10762. 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."
  10763. msgstr ""
  10764. #. type: table
  10765. #: guix-git/doc/guix.texi:6173
  10766. 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:"
  10767. msgstr ""
  10768. #. type: example
  10769. #: guix-git/doc/guix.texi:6176
  10770. #, no-wrap
  10771. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  10772. msgstr ""
  10773. #. type: table
  10774. #: guix-git/doc/guix.texi:6180
  10775. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  10776. msgstr ""
  10777. #. type: example
  10778. #: guix-git/doc/guix.texi:6184
  10779. #, no-wrap
  10780. msgid ""
  10781. "docker load -i pack.tar.gz\n"
  10782. "docker run @var{image-id}\n"
  10783. msgstr ""
  10784. #. type: table
  10785. #: guix-git/doc/guix.texi:6189 guix-git/doc/guix.texi:11832
  10786. #: guix-git/doc/guix.texi:12629
  10787. msgid "Consider the package @var{expr} evaluates to."
  10788. msgstr ""
  10789. #. type: table
  10790. #: guix-git/doc/guix.texi:6193
  10791. 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}})."
  10792. msgstr ""
  10793. #. type: table
  10794. #: guix-git/doc/guix.texi:6199
  10795. 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."
  10796. msgstr ""
  10797. #. type: table
  10798. #: guix-git/doc/guix.texi:6207
  10799. 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."
  10800. msgstr ""
  10801. #. type: item
  10802. #: guix-git/doc/guix.texi:6213 guix-git/doc/guix.texi:10901
  10803. #, no-wrap
  10804. msgid "--target=@var{triplet}"
  10805. msgstr ""
  10806. #. type: cindex
  10807. #: guix-git/doc/guix.texi:6214 guix-git/doc/guix.texi:6665
  10808. #: guix-git/doc/guix.texi:10902
  10809. #, no-wrap
  10810. msgid "cross-compilation"
  10811. msgstr ""
  10812. #. type: table
  10813. #: guix-git/doc/guix.texi:6218
  10814. 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})."
  10815. msgstr ""
  10816. #. type: item
  10817. #: guix-git/doc/guix.texi:6219
  10818. #, no-wrap
  10819. msgid "--compression=@var{tool}"
  10820. msgstr ""
  10821. #. type: itemx
  10822. #: guix-git/doc/guix.texi:6220
  10823. #, no-wrap
  10824. msgid "-C @var{tool}"
  10825. msgstr ""
  10826. #. type: table
  10827. #: guix-git/doc/guix.texi:6224
  10828. 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."
  10829. msgstr ""
  10830. #. type: item
  10831. #: guix-git/doc/guix.texi:6225
  10832. #, no-wrap
  10833. msgid "--symlink=@var{spec}"
  10834. msgstr ""
  10835. #. type: itemx
  10836. #: guix-git/doc/guix.texi:6226
  10837. #, no-wrap
  10838. msgid "-S @var{spec}"
  10839. msgstr ""
  10840. #. type: table
  10841. #: guix-git/doc/guix.texi:6229
  10842. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  10843. msgstr ""
  10844. #. type: table
  10845. #: guix-git/doc/guix.texi:6233
  10846. 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."
  10847. msgstr ""
  10848. #. type: table
  10849. #: guix-git/doc/guix.texi:6236
  10850. 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."
  10851. msgstr ""
  10852. #. type: item
  10853. #: guix-git/doc/guix.texi:6237 guix-git/doc/guix.texi:33854
  10854. #, no-wrap
  10855. msgid "--save-provenance"
  10856. msgstr ""
  10857. #. type: table
  10858. #: guix-git/doc/guix.texi:6241
  10859. 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})."
  10860. msgstr ""
  10861. #. type: table
  10862. #: guix-git/doc/guix.texi:6247
  10863. 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."
  10864. msgstr ""
  10865. #. type: table
  10866. #: guix-git/doc/guix.texi:6253
  10867. 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."
  10868. msgstr ""
  10869. #. type: cindex
  10870. #: guix-git/doc/guix.texi:6256
  10871. #, no-wrap
  10872. msgid "garbage collector root, for packs"
  10873. msgstr ""
  10874. #. type: table
  10875. #: guix-git/doc/guix.texi:6259
  10876. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  10877. msgstr ""
  10878. #. type: item
  10879. #: guix-git/doc/guix.texi:6260
  10880. #, no-wrap
  10881. msgid "--localstatedir"
  10882. msgstr ""
  10883. #. type: itemx
  10884. #: guix-git/doc/guix.texi:6261
  10885. #, no-wrap
  10886. msgid "--profile-name=@var{name}"
  10887. msgstr ""
  10888. #. type: table
  10889. #: guix-git/doc/guix.texi:6266
  10890. 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}."
  10891. msgstr ""
  10892. #. type: table
  10893. #: guix-git/doc/guix.texi:6272
  10894. 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."
  10895. msgstr ""
  10896. #. type: table
  10897. #: guix-git/doc/guix.texi:6275
  10898. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  10899. msgstr ""
  10900. #. type: item
  10901. #: guix-git/doc/guix.texi:6276 guix-git/doc/guix.texi:33848
  10902. #, no-wrap
  10903. msgid "--derivation"
  10904. msgstr ""
  10905. #. type: itemx
  10906. #: guix-git/doc/guix.texi:6277 guix-git/doc/guix.texi:10933
  10907. #: guix-git/doc/guix.texi:33849
  10908. #, no-wrap
  10909. msgid "-d"
  10910. msgstr ""
  10911. #. type: table
  10912. #: guix-git/doc/guix.texi:6279
  10913. msgid "Print the name of the derivation that builds the pack."
  10914. msgstr ""
  10915. #. type: table
  10916. #: guix-git/doc/guix.texi:6283
  10917. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  10918. msgstr ""
  10919. #. type: Plain text
  10920. #: guix-git/doc/guix.texi:6288
  10921. 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})."
  10922. msgstr ""
  10923. #. type: cindex
  10924. #: guix-git/doc/guix.texi:6293
  10925. #, no-wrap
  10926. msgid "GCC"
  10927. msgstr ""
  10928. #. type: cindex
  10929. #: guix-git/doc/guix.texi:6294
  10930. #, no-wrap
  10931. msgid "ld-wrapper"
  10932. msgstr ""
  10933. #. type: cindex
  10934. #: guix-git/doc/guix.texi:6295
  10935. #, no-wrap
  10936. msgid "linker wrapper"
  10937. msgstr ""
  10938. #. type: cindex
  10939. #: guix-git/doc/guix.texi:6296
  10940. #, no-wrap
  10941. msgid "toolchain, for C development"
  10942. msgstr ""
  10943. #. type: cindex
  10944. #: guix-git/doc/guix.texi:6297
  10945. #, no-wrap
  10946. msgid "toolchain, for Fortran development"
  10947. msgstr ""
  10948. #. type: Plain text
  10949. #: guix-git/doc/guix.texi:6304
  10950. 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."
  10951. msgstr ""
  10952. #. type: Plain text
  10953. #: guix-git/doc/guix.texi:6310
  10954. 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}."
  10955. msgstr ""
  10956. #. type: Plain text
  10957. #: guix-git/doc/guix.texi:6314
  10958. 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})."
  10959. msgstr ""
  10960. #. type: section
  10961. #: guix-git/doc/guix.texi:6317
  10962. #, no-wrap
  10963. msgid "Invoking @command{guix git authenticate}"
  10964. msgstr ""
  10965. #. type: Plain text
  10966. #: guix-git/doc/guix.texi:6325
  10967. 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)."
  10968. msgstr ""
  10969. #. type: Plain text
  10970. #: guix-git/doc/guix.texi:6330
  10971. 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."
  10972. msgstr ""
  10973. #. type: example
  10974. #: guix-git/doc/guix.texi:6335
  10975. #, no-wrap
  10976. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  10977. msgstr ""
  10978. #. type: Plain text
  10979. #: guix-git/doc/guix.texi:6344
  10980. 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."
  10981. msgstr ""
  10982. #. type: item
  10983. #: guix-git/doc/guix.texi:6346
  10984. #, no-wrap
  10985. msgid "--repository=@var{directory}"
  10986. msgstr ""
  10987. #. type: itemx
  10988. #: guix-git/doc/guix.texi:6347
  10989. #, no-wrap
  10990. msgid "-r @var{directory}"
  10991. msgstr ""
  10992. #. type: table
  10993. #: guix-git/doc/guix.texi:6350
  10994. msgid "Open the Git repository in @var{directory} instead of the current directory."
  10995. msgstr ""
  10996. #. type: item
  10997. #: guix-git/doc/guix.texi:6351
  10998. #, no-wrap
  10999. msgid "--keyring=@var{reference}"
  11000. msgstr ""
  11001. #. type: itemx
  11002. #: guix-git/doc/guix.texi:6352
  11003. #, no-wrap
  11004. msgid "-k @var{reference}"
  11005. msgstr ""
  11006. #. type: table
  11007. #: guix-git/doc/guix.texi:6358
  11008. 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}."
  11009. msgstr ""
  11010. #. type: item
  11011. #: guix-git/doc/guix.texi:6359
  11012. #, no-wrap
  11013. msgid "--stats"
  11014. msgstr ""
  11015. #. type: table
  11016. #: guix-git/doc/guix.texi:6361
  11017. msgid "Display commit signing statistics upon completion."
  11018. msgstr ""
  11019. #. type: item
  11020. #: guix-git/doc/guix.texi:6362
  11021. #, no-wrap
  11022. msgid "--cache-key=@var{key}"
  11023. msgstr ""
  11024. #. type: table
  11025. #: guix-git/doc/guix.texi:6366
  11026. 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."
  11027. msgstr ""
  11028. #. type: item
  11029. #: guix-git/doc/guix.texi:6367
  11030. #, no-wrap
  11031. msgid "--historical-authorizations=@var{file}"
  11032. msgstr ""
  11033. #. type: table
  11034. #: guix-git/doc/guix.texi:6374
  11035. 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})."
  11036. msgstr ""
  11037. #. type: Plain text
  11038. #: guix-git/doc/guix.texi:6387
  11039. 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."
  11040. msgstr ""
  11041. #. type: Plain text
  11042. #: guix-git/doc/guix.texi:6393
  11043. 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."
  11044. msgstr ""
  11045. #. type: Plain text
  11046. #: guix-git/doc/guix.texi:6402
  11047. 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."
  11048. msgstr ""
  11049. #. type: Plain text
  11050. #: guix-git/doc/guix.texi:6405
  11051. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11052. msgstr ""
  11053. #. type: menuentry
  11054. #: guix-git/doc/guix.texi:6418
  11055. msgid "Programming Guix in Guile"
  11056. msgstr ""
  11057. #. type: Plain text
  11058. #: guix-git/doc/guix.texi:6434
  11059. 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})."
  11060. msgstr ""
  11061. #. type: Plain text
  11062. #: guix-git/doc/guix.texi:6441
  11063. 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."
  11064. msgstr ""
  11065. #. type: cindex
  11066. #: guix-git/doc/guix.texi:6443
  11067. #, no-wrap
  11068. msgid "package module search path"
  11069. msgstr ""
  11070. #. type: Plain text
  11071. #: guix-git/doc/guix.texi:6452
  11072. 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:"
  11073. msgstr ""
  11074. #. type: enumerate
  11075. #: guix-git/doc/guix.texi:6459
  11076. 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."
  11077. msgstr ""
  11078. #. type: enumerate
  11079. #: guix-git/doc/guix.texi:6465
  11080. 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."
  11081. msgstr ""
  11082. #. type: Plain text
  11083. #: guix-git/doc/guix.texi:6468
  11084. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11085. msgstr ""
  11086. #. type: defvr
  11087. #: guix-git/doc/guix.texi:6469
  11088. #, no-wrap
  11089. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11090. msgstr ""
  11091. #. type: defvr
  11092. #: guix-git/doc/guix.texi:6473
  11093. 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."
  11094. msgstr ""
  11095. #. type: Plain text
  11096. #: guix-git/doc/guix.texi:6481
  11097. 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}."
  11098. msgstr ""
  11099. #. type: Plain text
  11100. #: guix-git/doc/guix.texi:6489
  11101. 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:"
  11102. msgstr ""
  11103. #. type: lisp
  11104. #: guix-git/doc/guix.texi:6497
  11105. #, no-wrap
  11106. msgid ""
  11107. "(define-module (gnu packages hello)\n"
  11108. " #:use-module (guix packages)\n"
  11109. " #:use-module (guix download)\n"
  11110. " #:use-module (guix build-system gnu)\n"
  11111. " #:use-module (guix licenses)\n"
  11112. " #:use-module (gnu packages gawk))\n"
  11113. "\n"
  11114. msgstr ""
  11115. #. type: lisp
  11116. #: guix-git/doc/guix.texi:6516
  11117. #, no-wrap
  11118. msgid ""
  11119. "(define-public hello\n"
  11120. " (package\n"
  11121. " (name \"hello\")\n"
  11122. " (version \"2.10\")\n"
  11123. " (source (origin\n"
  11124. " (method url-fetch)\n"
  11125. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11126. " \".tar.gz\"))\n"
  11127. " (sha256\n"
  11128. " (base32\n"
  11129. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11130. " (build-system gnu-build-system)\n"
  11131. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11132. " (inputs `((\"gawk\" ,gawk)))\n"
  11133. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11134. " (description \"Guess what GNU Hello prints!\")\n"
  11135. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11136. " (license gpl3+)))\n"
  11137. msgstr ""
  11138. #. type: Plain text
  11139. #: guix-git/doc/guix.texi:6526
  11140. 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\"}."
  11141. msgstr ""
  11142. #. type: Plain text
  11143. #: guix-git/doc/guix.texi:6530
  11144. 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})."
  11145. msgstr ""
  11146. #. type: Plain text
  11147. #: guix-git/doc/guix.texi:6536
  11148. 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})."
  11149. msgstr ""
  11150. #. type: Plain text
  11151. #: guix-git/doc/guix.texi:6538
  11152. msgid "There are a few points worth noting in the above package definition:"
  11153. msgstr ""
  11154. #. type: itemize
  11155. #: guix-git/doc/guix.texi:6545
  11156. 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."
  11157. msgstr ""
  11158. #. type: itemize
  11159. #: guix-git/doc/guix.texi:6548
  11160. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11161. msgstr ""
  11162. #. type: itemize
  11163. #: guix-git/doc/guix.texi:6555
  11164. 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})."
  11165. msgstr ""
  11166. #. type: cindex
  11167. #: guix-git/doc/guix.texi:6556
  11168. #, no-wrap
  11169. msgid "patches"
  11170. msgstr ""
  11171. #. type: itemize
  11172. #: guix-git/doc/guix.texi:6560
  11173. 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."
  11174. msgstr ""
  11175. #. type: cindex
  11176. #: guix-git/doc/guix.texi:6562
  11177. #, no-wrap
  11178. msgid "GNU Build System"
  11179. msgstr ""
  11180. #. type: itemize
  11181. #: guix-git/doc/guix.texi:6568
  11182. 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."
  11183. msgstr ""
  11184. #. type: itemize
  11185. #: guix-git/doc/guix.texi:6572
  11186. 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."
  11187. msgstr ""
  11188. #. type: itemize
  11189. #: guix-git/doc/guix.texi:6578
  11190. 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."
  11191. msgstr ""
  11192. #. type: findex
  11193. #: guix-git/doc/guix.texi:6579 guix-git/doc/guix.texi:6582
  11194. #, no-wrap
  11195. msgid "quote"
  11196. msgstr ""
  11197. #. type: cindex
  11198. #: guix-git/doc/guix.texi:6580
  11199. #, no-wrap
  11200. msgid "quoting"
  11201. msgstr ""
  11202. #. type: findex
  11203. #: guix-git/doc/guix.texi:6581
  11204. #, no-wrap
  11205. msgid "'"
  11206. msgstr ""
  11207. #. type: itemize
  11208. #: guix-git/doc/guix.texi:6590
  11209. msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. @xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, for details. Here the value of the @code{arguments} field is a list of arguments passed to the build system down the road, as with @code{apply} (@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual})."
  11210. msgstr ""
  11211. #. type: itemize
  11212. #: guix-git/doc/guix.texi:6596
  11213. 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})."
  11214. msgstr ""
  11215. #. type: itemize
  11216. #: guix-git/doc/guix.texi:6602
  11217. msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we define an input called @code{\"gawk\"} whose value is that of the @code{gawk} variable; @code{gawk} is itself bound to a @code{<package>} object."
  11218. msgstr ""
  11219. #. type: cindex
  11220. #: guix-git/doc/guix.texi:6603
  11221. #, no-wrap
  11222. msgid "backquote (quasiquote)"
  11223. msgstr ""
  11224. #. type: findex
  11225. #: guix-git/doc/guix.texi:6604
  11226. #, no-wrap
  11227. msgid "`"
  11228. msgstr ""
  11229. #. type: findex
  11230. #: guix-git/doc/guix.texi:6605
  11231. #, no-wrap
  11232. msgid "quasiquote"
  11233. msgstr ""
  11234. #. type: cindex
  11235. #: guix-git/doc/guix.texi:6606
  11236. #, no-wrap
  11237. msgid "comma (unquote)"
  11238. msgstr ""
  11239. #. type: findex
  11240. #: guix-git/doc/guix.texi:6607
  11241. #, no-wrap
  11242. msgid ","
  11243. msgstr ""
  11244. #. type: findex
  11245. #: guix-git/doc/guix.texi:6608
  11246. #, no-wrap
  11247. msgid "unquote"
  11248. msgstr ""
  11249. #. type: findex
  11250. #: guix-git/doc/guix.texi:6609
  11251. #, no-wrap
  11252. msgid ",@@"
  11253. msgstr ""
  11254. #. type: findex
  11255. #: guix-git/doc/guix.texi:6610
  11256. #, no-wrap
  11257. msgid "unquote-splicing"
  11258. msgstr ""
  11259. #. type: itemize
  11260. #: guix-git/doc/guix.texi:6616
  11261. msgid "Again, @code{`} (a backquote, synonymous with @code{quasiquote}) allows us to introduce a literal list in the @code{inputs} field, while @code{,} (a comma, synonymous with @code{unquote}) allows us to insert a value in that list (@pxref{Expression Syntax, unquote,, guile, GNU Guile Reference Manual})."
  11262. msgstr ""
  11263. #. type: itemize
  11264. #: guix-git/doc/guix.texi:6620
  11265. 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})."
  11266. msgstr ""
  11267. #. type: itemize
  11268. #: guix-git/doc/guix.texi:6624
  11269. 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."
  11270. msgstr ""
  11271. #. type: Plain text
  11272. #: guix-git/doc/guix.texi:6627
  11273. msgid "@xref{package Reference}, for a full description of possible fields."
  11274. msgstr ""
  11275. #. type: Plain text
  11276. #: guix-git/doc/guix.texi:6638
  11277. 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."
  11278. msgstr ""
  11279. #. type: vindex
  11280. #: guix-git/doc/guix.texi:6638
  11281. #, no-wrap
  11282. msgid "GUIX_PACKAGE_PATH"
  11283. msgstr ""
  11284. #. type: Plain text
  11285. #: guix-git/doc/guix.texi:6642
  11286. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  11287. msgstr ""
  11288. #. type: Plain text
  11289. #: guix-git/doc/guix.texi:6646
  11290. 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})."
  11291. msgstr ""
  11292. #. type: Plain text
  11293. #: guix-git/doc/guix.texi:6652
  11294. 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})."
  11295. msgstr ""
  11296. #. type: deffn
  11297. #: guix-git/doc/guix.texi:6653
  11298. #, no-wrap
  11299. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  11300. msgstr ""
  11301. #. type: deffn
  11302. #: guix-git/doc/guix.texi:6656
  11303. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  11304. msgstr ""
  11305. #. type: deffn
  11306. #: guix-git/doc/guix.texi:6662
  11307. 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})."
  11308. msgstr ""
  11309. #. type: Plain text
  11310. #: guix-git/doc/guix.texi:6668
  11311. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  11312. msgstr ""
  11313. #. type: deffn
  11314. #: guix-git/doc/guix.texi:6669
  11315. #, no-wrap
  11316. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  11317. msgstr ""
  11318. #. type: deffn
  11319. #: guix-git/doc/guix.texi:6673
  11320. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  11321. msgstr ""
  11322. #. type: deffn
  11323. #: guix-git/doc/guix.texi:6677
  11324. 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})."
  11325. msgstr ""
  11326. #. type: Plain text
  11327. #: guix-git/doc/guix.texi:6681
  11328. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  11329. msgstr ""
  11330. #. type: subsection
  11331. #: guix-git/doc/guix.texi:6689
  11332. #, no-wrap
  11333. msgid "@code{package} Reference"
  11334. msgstr ""
  11335. #. type: Plain text
  11336. #: guix-git/doc/guix.texi:6693
  11337. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  11338. msgstr ""
  11339. #. type: deftp
  11340. #: guix-git/doc/guix.texi:6694
  11341. #, no-wrap
  11342. msgid "{Data Type} package"
  11343. msgstr ""
  11344. #. type: deftp
  11345. #: guix-git/doc/guix.texi:6696
  11346. msgid "This is the data type representing a package recipe."
  11347. msgstr ""
  11348. #. type: table
  11349. #: guix-git/doc/guix.texi:6700
  11350. msgid "The name of the package, as a string."
  11351. msgstr ""
  11352. #. type: code{#1}
  11353. #: guix-git/doc/guix.texi:6701
  11354. #, no-wrap
  11355. msgid "version"
  11356. msgstr ""
  11357. #. type: table
  11358. #: guix-git/doc/guix.texi:6704
  11359. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  11360. msgstr ""
  11361. #. type: code{#1}
  11362. #: guix-git/doc/guix.texi:6705 guix-git/doc/guix.texi:12105
  11363. #: guix-git/doc/guix.texi:14363 guix-git/doc/guix.texi:14866
  11364. #, no-wrap
  11365. msgid "source"
  11366. msgstr "منبع"
  11367. #. type: table
  11368. #: guix-git/doc/guix.texi:6712
  11369. 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}})."
  11370. msgstr ""
  11371. #. type: code{#1}
  11372. #: guix-git/doc/guix.texi:6713
  11373. #, no-wrap
  11374. msgid "build-system"
  11375. msgstr ""
  11376. #. type: table
  11377. #: guix-git/doc/guix.texi:6716
  11378. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  11379. msgstr ""
  11380. #. type: item
  11381. #: guix-git/doc/guix.texi:6717 guix-git/doc/guix.texi:16851
  11382. #, no-wrap
  11383. msgid "@code{arguments} (default: @code{'()})"
  11384. msgstr ""
  11385. #. type: table
  11386. #: guix-git/doc/guix.texi:6720
  11387. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  11388. msgstr ""
  11389. #. type: item
  11390. #: guix-git/doc/guix.texi:6721
  11391. #, no-wrap
  11392. msgid "@code{inputs} (default: @code{'()})"
  11393. msgstr ""
  11394. #. type: itemx
  11395. #: guix-git/doc/guix.texi:6722
  11396. #, no-wrap
  11397. msgid "@code{native-inputs} (default: @code{'()})"
  11398. msgstr ""
  11399. #. type: itemx
  11400. #: guix-git/doc/guix.texi:6723
  11401. #, no-wrap
  11402. msgid "@code{propagated-inputs} (default: @code{'()})"
  11403. msgstr ""
  11404. #. type: cindex
  11405. #: guix-git/doc/guix.texi:6724
  11406. #, no-wrap
  11407. msgid "inputs, of packages"
  11408. msgstr ""
  11409. #. type: table
  11410. #: guix-git/doc/guix.texi:6732
  11411. msgid "These fields list dependencies of the package. Each one is a list of tuples, where each tuple has a label for the input (a string) as its first element, a package, origin, or derivation as its second element, and optionally the name of the output thereof that should be used, which defaults to @code{\"out\"} (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:"
  11412. msgstr ""
  11413. #. type: lisp
  11414. #: guix-git/doc/guix.texi:6737
  11415. #, no-wrap
  11416. msgid ""
  11417. "`((\"libffi\" ,libffi)\n"
  11418. " (\"libunistring\" ,libunistring)\n"
  11419. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of Glib\n"
  11420. msgstr ""
  11421. #. type: cindex
  11422. #: guix-git/doc/guix.texi:6739
  11423. #, no-wrap
  11424. msgid "cross compilation, package dependencies"
  11425. msgstr ""
  11426. #. type: table
  11427. #: guix-git/doc/guix.texi:6745
  11428. 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."
  11429. msgstr ""
  11430. #. type: table
  11431. #: guix-git/doc/guix.texi:6750
  11432. 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})."
  11433. msgstr ""
  11434. #. type: anchor{#1}
  11435. #: guix-git/doc/guix.texi:6758
  11436. msgid "package-propagated-inputs"
  11437. msgstr ""
  11438. #. type: table
  11439. #: guix-git/doc/guix.texi:6758
  11440. 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)."
  11441. msgstr ""
  11442. #. type: table
  11443. #: guix-git/doc/guix.texi:6762
  11444. 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."
  11445. msgstr ""
  11446. #. type: table
  11447. #: guix-git/doc/guix.texi:6769
  11448. 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}."
  11449. msgstr ""
  11450. #. type: item
  11451. #: guix-git/doc/guix.texi:6770
  11452. #, no-wrap
  11453. msgid "@code{outputs} (default: @code{'(\"out\")})"
  11454. msgstr ""
  11455. #. type: table
  11456. #: guix-git/doc/guix.texi:6773
  11457. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  11458. msgstr ""
  11459. #. type: item
  11460. #: guix-git/doc/guix.texi:6774
  11461. #, no-wrap
  11462. msgid "@code{native-search-paths} (default: @code{'()})"
  11463. msgstr ""
  11464. #. type: itemx
  11465. #: guix-git/doc/guix.texi:6775
  11466. #, no-wrap
  11467. msgid "@code{search-paths} (default: @code{'()})"
  11468. msgstr ""
  11469. #. type: table
  11470. #: guix-git/doc/guix.texi:6778
  11471. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package."
  11472. msgstr ""
  11473. #. type: item
  11474. #: guix-git/doc/guix.texi:6779
  11475. #, no-wrap
  11476. msgid "@code{replacement} (default: @code{#f})"
  11477. msgstr ""
  11478. #. type: table
  11479. #: guix-git/doc/guix.texi:6783
  11480. 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."
  11481. msgstr ""
  11482. #. type: item
  11483. #: guix-git/doc/guix.texi:6784 guix-git/doc/guix.texi:12097
  11484. #, no-wrap
  11485. msgid "synopsis"
  11486. msgstr ""
  11487. #. type: table
  11488. #: guix-git/doc/guix.texi:6786
  11489. msgid "A one-line description of the package."
  11490. msgstr ""
  11491. #. type: code{#1}
  11492. #: guix-git/doc/guix.texi:6787 guix-git/doc/guix.texi:12098
  11493. #: guix-git/doc/guix.texi:34550 guix-git/doc/guix.texi:34701
  11494. #, no-wrap
  11495. msgid "description"
  11496. msgstr ""
  11497. #. type: table
  11498. #: guix-git/doc/guix.texi:6789
  11499. msgid "A more elaborate description of the package."
  11500. msgstr ""
  11501. #. type: code{#1}
  11502. #: guix-git/doc/guix.texi:6790
  11503. #, no-wrap
  11504. msgid "license"
  11505. msgstr ""
  11506. #. type: cindex
  11507. #: guix-git/doc/guix.texi:6791
  11508. #, no-wrap
  11509. msgid "license, of packages"
  11510. msgstr ""
  11511. #. type: table
  11512. #: guix-git/doc/guix.texi:6794
  11513. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  11514. msgstr ""
  11515. #. type: itemx
  11516. #: guix-git/doc/guix.texi:6795 guix-git/doc/guix.texi:12106
  11517. #, no-wrap
  11518. msgid "home-page"
  11519. msgstr ""
  11520. #. type: table
  11521. #: guix-git/doc/guix.texi:6797
  11522. msgid "The URL to the home-page of the package, as a string."
  11523. msgstr ""
  11524. #. type: item
  11525. #: guix-git/doc/guix.texi:6798
  11526. #, no-wrap
  11527. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  11528. msgstr ""
  11529. #. type: table
  11530. #: guix-git/doc/guix.texi:6801
  11531. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  11532. msgstr ""
  11533. #. type: item
  11534. #: guix-git/doc/guix.texi:6802
  11535. #, no-wrap
  11536. msgid "@code{location} (default: source location of the @code{package} form)"
  11537. msgstr ""
  11538. #. type: table
  11539. #: guix-git/doc/guix.texi:6806
  11540. 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."
  11541. msgstr ""
  11542. #. type: deffn
  11543. #: guix-git/doc/guix.texi:6809
  11544. #, no-wrap
  11545. msgid "{Scheme Syntax} this-package"
  11546. msgstr ""
  11547. #. type: deffn
  11548. #: guix-git/doc/guix.texi:6812
  11549. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  11550. msgstr ""
  11551. #. type: deffn
  11552. #: guix-git/doc/guix.texi:6815
  11553. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  11554. msgstr ""
  11555. #. type: lisp
  11556. #: guix-git/doc/guix.texi:6820
  11557. #, no-wrap
  11558. msgid ""
  11559. "(package\n"
  11560. " (name \"guile\")\n"
  11561. " ;; ...\n"
  11562. "\n"
  11563. msgstr ""
  11564. #. type: lisp
  11565. #: guix-git/doc/guix.texi:6826
  11566. #, no-wrap
  11567. msgid ""
  11568. " ;; When cross-compiled, Guile, for example, depends on\n"
  11569. " ;; a native version of itself. Add it here.\n"
  11570. " (native-inputs (if (%current-target-system)\n"
  11571. " `((\"self\" ,this-package))\n"
  11572. " '())))\n"
  11573. msgstr ""
  11574. #. type: deffn
  11575. #: guix-git/doc/guix.texi:6829
  11576. msgid "It is an error to refer to @code{this-package} outside a package definition."
  11577. msgstr ""
  11578. #. type: Plain text
  11579. #: guix-git/doc/guix.texi:6835
  11580. 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."
  11581. msgstr ""
  11582. #. type: cindex
  11583. #: guix-git/doc/guix.texi:6836
  11584. #, no-wrap
  11585. msgid "tool chain, choosing a package's tool chain"
  11586. msgstr ""
  11587. #. type: deffn
  11588. #: guix-git/doc/guix.texi:6837
  11589. #, no-wrap
  11590. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  11591. msgstr ""
  11592. #. type: deffn
  11593. #: guix-git/doc/guix.texi:6842
  11594. 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."
  11595. msgstr ""
  11596. #. type: deffn
  11597. #: guix-git/doc/guix.texi:6846
  11598. 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:"
  11599. msgstr ""
  11600. #. type: lisp
  11601. #: guix-git/doc/guix.texi:6850
  11602. #, no-wrap
  11603. msgid ""
  11604. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  11605. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  11606. msgstr ""
  11607. #. type: deffn
  11608. #: guix-git/doc/guix.texi:6858
  11609. 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."
  11610. msgstr ""
  11611. #. type: subsection
  11612. #: guix-git/doc/guix.texi:6861
  11613. #, no-wrap
  11614. msgid "@code{origin} Reference"
  11615. msgstr ""
  11616. #. type: Plain text
  11617. #: guix-git/doc/guix.texi:6869
  11618. 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."
  11619. msgstr ""
  11620. #. type: deftp
  11621. #: guix-git/doc/guix.texi:6870
  11622. #, no-wrap
  11623. msgid "{Data Type} origin"
  11624. msgstr ""
  11625. #. type: deftp
  11626. #: guix-git/doc/guix.texi:6872
  11627. msgid "This is the data type representing a source code origin."
  11628. msgstr ""
  11629. #. type: code{#1}
  11630. #: guix-git/doc/guix.texi:6874 guix-git/doc/guix.texi:25394
  11631. #, no-wrap
  11632. msgid "uri"
  11633. msgstr ""
  11634. #. type: table
  11635. #: guix-git/doc/guix.texi:6879
  11636. 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."
  11637. msgstr ""
  11638. #. type: cindex
  11639. #: guix-git/doc/guix.texi:6880
  11640. #, no-wrap
  11641. msgid "fixed-output derivations, for download"
  11642. msgstr ""
  11643. #. type: code{#1}
  11644. #: guix-git/doc/guix.texi:6881
  11645. #, no-wrap
  11646. msgid "method"
  11647. msgstr ""
  11648. #. type: table
  11649. #: guix-git/doc/guix.texi:6888
  11650. 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})."
  11651. msgstr ""
  11652. #. type: table
  11653. #: guix-git/doc/guix.texi:6892
  11654. 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)."
  11655. msgstr ""
  11656. #. type: code{#1}
  11657. #: guix-git/doc/guix.texi:6893
  11658. #, no-wrap
  11659. msgid "sha256"
  11660. msgstr ""
  11661. #. type: table
  11662. #: guix-git/doc/guix.texi:6897
  11663. 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."
  11664. msgstr ""
  11665. #. type: code{#1}
  11666. #: guix-git/doc/guix.texi:6898
  11667. #, no-wrap
  11668. msgid "hash"
  11669. msgstr ""
  11670. #. type: table
  11671. #: guix-git/doc/guix.texi:6901
  11672. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  11673. msgstr ""
  11674. #. type: table
  11675. #: guix-git/doc/guix.texi:6905
  11676. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  11677. msgstr ""
  11678. #. type: item
  11679. #: guix-git/doc/guix.texi:6906
  11680. #, no-wrap
  11681. msgid "@code{file-name} (default: @code{#f})"
  11682. msgstr ""
  11683. #. type: table
  11684. #: guix-git/doc/guix.texi:6912
  11685. 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."
  11686. msgstr ""
  11687. #. type: item
  11688. #: guix-git/doc/guix.texi:6913
  11689. #, no-wrap
  11690. msgid "@code{patches} (default: @code{'()})"
  11691. msgstr ""
  11692. #. type: table
  11693. #: guix-git/doc/guix.texi:6916
  11694. 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."
  11695. msgstr ""
  11696. #. type: table
  11697. #: guix-git/doc/guix.texi:6920
  11698. 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}."
  11699. msgstr ""
  11700. #. type: item
  11701. #: guix-git/doc/guix.texi:6921
  11702. #, no-wrap
  11703. msgid "@code{snippet} (default: @code{#f})"
  11704. msgstr ""
  11705. #. type: table
  11706. #: guix-git/doc/guix.texi:6925
  11707. 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."
  11708. msgstr ""
  11709. #. type: item
  11710. #: guix-git/doc/guix.texi:6926
  11711. #, no-wrap
  11712. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  11713. msgstr ""
  11714. #. type: table
  11715. #: guix-git/doc/guix.texi:6929
  11716. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  11717. msgstr ""
  11718. #. type: item
  11719. #: guix-git/doc/guix.texi:6930
  11720. #, no-wrap
  11721. msgid "@code{patch-inputs} (default: @code{#f})"
  11722. msgstr ""
  11723. #. type: table
  11724. #: guix-git/doc/guix.texi:6934
  11725. 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."
  11726. msgstr ""
  11727. #. type: item
  11728. #: guix-git/doc/guix.texi:6935 guix-git/doc/guix.texi:25267
  11729. #, no-wrap
  11730. msgid "@code{modules} (default: @code{'()})"
  11731. msgstr ""
  11732. #. type: table
  11733. #: guix-git/doc/guix.texi:6938
  11734. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  11735. msgstr ""
  11736. #. type: item
  11737. #: guix-git/doc/guix.texi:6939
  11738. #, no-wrap
  11739. msgid "@code{patch-guile} (default: @code{#f})"
  11740. msgstr ""
  11741. #. type: table
  11742. #: guix-git/doc/guix.texi:6942
  11743. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  11744. msgstr ""
  11745. #. type: deftp
  11746. #: guix-git/doc/guix.texi:6945
  11747. #, no-wrap
  11748. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  11749. msgstr ""
  11750. #. type: deftp
  11751. #: guix-git/doc/guix.texi:6949
  11752. 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}."
  11753. msgstr ""
  11754. #. type: deftp
  11755. #: guix-git/doc/guix.texi:6952
  11756. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  11757. msgstr ""
  11758. #. type: deftp
  11759. #: guix-git/doc/guix.texi:6954
  11760. msgid "The following forms are all equivalent:"
  11761. msgstr ""
  11762. #. type: lisp
  11763. #: guix-git/doc/guix.texi:6963
  11764. #, no-wrap
  11765. msgid ""
  11766. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  11767. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  11768. " sha256)\n"
  11769. "(content-hash (base32\n"
  11770. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  11771. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  11772. " sha256)\n"
  11773. msgstr ""
  11774. #. type: deftp
  11775. #: guix-git/doc/guix.texi:6968
  11776. 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}."
  11777. msgstr ""
  11778. #. type: Plain text
  11779. #: guix-git/doc/guix.texi:6974
  11780. 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."
  11781. msgstr ""
  11782. #. type: deffn
  11783. #: guix-git/doc/guix.texi:6975
  11784. #, no-wrap
  11785. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  11786. msgstr ""
  11787. #. type: deffn
  11788. #: guix-git/doc/guix.texi:6983
  11789. 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."
  11790. msgstr ""
  11791. #. type: deffn
  11792. #: guix-git/doc/guix.texi:6986
  11793. 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}."
  11794. msgstr ""
  11795. #. type: deffn
  11796. #: guix-git/doc/guix.texi:6989
  11797. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  11798. msgstr ""
  11799. #. type: Plain text
  11800. #: guix-git/doc/guix.texi:6995
  11801. 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."
  11802. msgstr ""
  11803. #. type: deffn
  11804. #: guix-git/doc/guix.texi:6996
  11805. #, no-wrap
  11806. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  11807. msgstr ""
  11808. #. type: deffn
  11809. #: guix-git/doc/guix.texi:7001
  11810. 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}."
  11811. msgstr ""
  11812. #. type: deftp
  11813. #: guix-git/doc/guix.texi:7003
  11814. #, no-wrap
  11815. msgid "{Data Type} git-reference"
  11816. msgstr ""
  11817. #. type: deftp
  11818. #: guix-git/doc/guix.texi:7006
  11819. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  11820. msgstr ""
  11821. #. type: code{#1}
  11822. #: guix-git/doc/guix.texi:7008 guix-git/doc/guix.texi:23029
  11823. #, no-wrap
  11824. msgid "url"
  11825. msgstr ""
  11826. #. type: table
  11827. #: guix-git/doc/guix.texi:7010
  11828. msgid "The URL of the Git repository to clone."
  11829. msgstr ""
  11830. #. type: code{#1}
  11831. #: guix-git/doc/guix.texi:7011
  11832. #, no-wrap
  11833. msgid "commit"
  11834. msgstr ""
  11835. #. type: table
  11836. #: guix-git/doc/guix.texi:7015
  11837. msgid "This string denotes either the commit to fetch (a hexadecimal string, either the full SHA1 commit or a ``short'' commit string; the latter is not recommended) or the tag to fetch."
  11838. msgstr ""
  11839. #. type: item
  11840. #: guix-git/doc/guix.texi:7016
  11841. #, no-wrap
  11842. msgid "@code{recursive?} (default: @code{#f})"
  11843. msgstr ""
  11844. #. type: table
  11845. #: guix-git/doc/guix.texi:7018
  11846. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  11847. msgstr ""
  11848. #. type: deftp
  11849. #: guix-git/doc/guix.texi:7022
  11850. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  11851. msgstr ""
  11852. #. type: lisp
  11853. #: guix-git/doc/guix.texi:7027
  11854. #, no-wrap
  11855. msgid ""
  11856. "(git-reference\n"
  11857. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11858. " (commit \"v2.10\"))\n"
  11859. msgstr ""
  11860. #. type: deftp
  11861. #: guix-git/doc/guix.texi:7031
  11862. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  11863. msgstr ""
  11864. #. type: lisp
  11865. #: guix-git/doc/guix.texi:7036
  11866. #, no-wrap
  11867. msgid ""
  11868. "(git-reference\n"
  11869. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11870. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  11871. msgstr ""
  11872. #. type: Plain text
  11873. #: guix-git/doc/guix.texi:7042
  11874. 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."
  11875. msgstr ""
  11876. #. type: deffn
  11877. #: guix-git/doc/guix.texi:7043
  11878. #, no-wrap
  11879. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  11880. msgstr ""
  11881. #. type: deffn
  11882. #: guix-git/doc/guix.texi:7049
  11883. 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}."
  11884. msgstr ""
  11885. #. type: cindex
  11886. #: guix-git/doc/guix.texi:7054
  11887. #, no-wrap
  11888. msgid "customizing packages"
  11889. msgstr ""
  11890. #. type: cindex
  11891. #: guix-git/doc/guix.texi:7055
  11892. #, no-wrap
  11893. msgid "variants, of packages"
  11894. msgstr ""
  11895. #. type: Plain text
  11896. #: guix-git/doc/guix.texi:7065
  11897. 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!"
  11898. msgstr ""
  11899. #. type: cindex
  11900. #: guix-git/doc/guix.texi:7066
  11901. #, no-wrap
  11902. msgid "inherit, for package definitions"
  11903. msgstr ""
  11904. #. type: Plain text
  11905. #: guix-git/doc/guix.texi:7073
  11906. 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."
  11907. msgstr ""
  11908. #. type: Plain text
  11909. #: guix-git/doc/guix.texi:7078
  11910. 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!):"
  11911. msgstr ""
  11912. #. type: lisp
  11913. #: guix-git/doc/guix.texi:7081
  11914. #, no-wrap
  11915. msgid ""
  11916. "(use-modules (gnu packages base)) ;for 'hello'\n"
  11917. "\n"
  11918. msgstr ""
  11919. #. type: lisp
  11920. #: guix-git/doc/guix.texi:7093
  11921. #, no-wrap
  11922. msgid ""
  11923. "(define hello-2.2\n"
  11924. " (package\n"
  11925. " (inherit hello)\n"
  11926. " (version \"2.2\")\n"
  11927. " (source (origin\n"
  11928. " (method url-fetch)\n"
  11929. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11930. " \".tar.gz\"))\n"
  11931. " (sha256\n"
  11932. " (base32\n"
  11933. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  11934. msgstr ""
  11935. #. type: Plain text
  11936. #: guix-git/doc/guix.texi:7102
  11937. 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."
  11938. msgstr ""
  11939. #. type: Plain text
  11940. #: guix-git/doc/guix.texi:7108
  11941. 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:"
  11942. msgstr ""
  11943. #. type: lisp
  11944. #: guix-git/doc/guix.texi:7112
  11945. #, no-wrap
  11946. msgid ""
  11947. "(use-modules (gnu packages gdb) ;for 'gdb'\n"
  11948. " (srfi srfi-1)) ;for 'alist-delete'\n"
  11949. "\n"
  11950. msgstr ""
  11951. #. type: lisp
  11952. #: guix-git/doc/guix.texi:7118
  11953. #, no-wrap
  11954. msgid ""
  11955. "(define gdb-sans-guile\n"
  11956. " (package\n"
  11957. " (inherit gdb)\n"
  11958. " (inputs (alist-delete \"guile\"\n"
  11959. " (package-inputs gdb)))))\n"
  11960. msgstr ""
  11961. #. type: Plain text
  11962. #: guix-git/doc/guix.texi:7124
  11963. msgid "The @code{alist-delete} call above removes the tuple from the @code{inputs} field that has @code{\"guile\"} as its first element (@pxref{SRFI-1 Association Lists,,, guile, GNU Guile Reference Manual})."
  11964. msgstr ""
  11965. #. type: Plain text
  11966. #: guix-git/doc/guix.texi:7132
  11967. 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:"
  11968. msgstr ""
  11969. #. type: lisp
  11970. #: guix-git/doc/guix.texi:7143
  11971. #, no-wrap
  11972. msgid ""
  11973. "(define (make-lua-socket name lua)\n"
  11974. " ;; Return a luasocket package built with LUA.\n"
  11975. " (package\n"
  11976. " (name name)\n"
  11977. " (version \"3.0\")\n"
  11978. " ;; several fields omitted\n"
  11979. " (inputs\n"
  11980. " `((\"lua\" ,lua)))\n"
  11981. " (synopsis \"Socket library for Lua\")))\n"
  11982. "\n"
  11983. msgstr ""
  11984. #. type: lisp
  11985. #: guix-git/doc/guix.texi:7146
  11986. #, no-wrap
  11987. msgid ""
  11988. "(define-public lua5.1-socket\n"
  11989. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  11990. "\n"
  11991. msgstr ""
  11992. #. type: lisp
  11993. #: guix-git/doc/guix.texi:7149
  11994. #, no-wrap
  11995. msgid ""
  11996. "(define-public lua5.2-socket\n"
  11997. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  11998. msgstr ""
  11999. #. type: Plain text
  12000. #: guix-git/doc/guix.texi:7157
  12001. 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})."
  12002. msgstr ""
  12003. #. type: cindex
  12004. #: guix-git/doc/guix.texi:7158
  12005. #, no-wrap
  12006. msgid "package transformations"
  12007. msgstr ""
  12008. #. type: Plain text
  12009. #: guix-git/doc/guix.texi:7163
  12010. 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}):"
  12011. msgstr ""
  12012. #. type: deffn
  12013. #: guix-git/doc/guix.texi:7164
  12014. #, no-wrap
  12015. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12016. msgstr ""
  12017. #. type: deffn
  12018. #: guix-git/doc/guix.texi:7168
  12019. 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:"
  12020. msgstr ""
  12021. #. type: lisp
  12022. #: guix-git/doc/guix.texi:7172
  12023. #, no-wrap
  12024. msgid ""
  12025. "((with-branch . \"guile-gcrypt=master\")\n"
  12026. " (without-tests . \"libgcrypt\"))\n"
  12027. msgstr ""
  12028. #. type: deffn
  12029. #: guix-git/doc/guix.texi:7176
  12030. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  12031. msgstr ""
  12032. #. type: Plain text
  12033. #: guix-git/doc/guix.texi:7179
  12034. msgid "For instance, a manifest equivalent to this command:"
  12035. msgstr ""
  12036. #. type: example
  12037. #: guix-git/doc/guix.texi:7184
  12038. #, no-wrap
  12039. msgid ""
  12040. "guix build guix \\\n"
  12041. " --with-branch=guile-gcrypt=master \\\n"
  12042. " --with-debug-info=zlib\n"
  12043. msgstr ""
  12044. #. type: Plain text
  12045. #: guix-git/doc/guix.texi:7188
  12046. msgid "... would look like this:"
  12047. msgstr ""
  12048. #. type: lisp
  12049. #: guix-git/doc/guix.texi:7191
  12050. #, no-wrap
  12051. msgid ""
  12052. "(use-modules (guix transformations))\n"
  12053. "\n"
  12054. msgstr ""
  12055. #. type: lisp
  12056. #: guix-git/doc/guix.texi:7197
  12057. #, no-wrap
  12058. msgid ""
  12059. "(define transform\n"
  12060. " ;; The package transformation procedure.\n"
  12061. " (options->transformation\n"
  12062. " '((with-branch . \"guile-gcrypt=master\")\n"
  12063. " (with-debug-info . \"zlib\"))))\n"
  12064. "\n"
  12065. msgstr ""
  12066. #. type: lisp
  12067. #: guix-git/doc/guix.texi:7200
  12068. #, no-wrap
  12069. msgid ""
  12070. "(packages->manifest\n"
  12071. " (list (transform (specification->package \"guix\"))))\n"
  12072. msgstr ""
  12073. #. type: cindex
  12074. #: guix-git/doc/guix.texi:7202
  12075. #, no-wrap
  12076. msgid "input rewriting"
  12077. msgstr ""
  12078. #. type: cindex
  12079. #: guix-git/doc/guix.texi:7203
  12080. #, no-wrap
  12081. msgid "dependency graph rewriting"
  12082. msgstr ""
  12083. #. type: Plain text
  12084. #: guix-git/doc/guix.texi:7210
  12085. 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."
  12086. msgstr ""
  12087. #. type: Plain text
  12088. #: guix-git/doc/guix.texi:7214
  12089. 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."
  12090. msgstr ""
  12091. #. type: deffn
  12092. #: guix-git/doc/guix.texi:7215
  12093. #, no-wrap
  12094. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  12095. msgstr ""
  12096. #. type: deffn
  12097. #: guix-git/doc/guix.texi:7222
  12098. 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."
  12099. msgstr ""
  12100. #. type: deffn
  12101. #: guix-git/doc/guix.texi:7225
  12102. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  12103. msgstr ""
  12104. #. type: table
  12105. #: guix-git/doc/guix.texi:7229 guix-git/doc/guix.texi:10579
  12106. msgid "Consider this example:"
  12107. msgstr ""
  12108. #. type: lisp
  12109. #: guix-git/doc/guix.texi:7235
  12110. #, no-wrap
  12111. msgid ""
  12112. "(define libressl-instead-of-openssl\n"
  12113. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  12114. " ;; recursively.\n"
  12115. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  12116. "\n"
  12117. msgstr ""
  12118. #. type: lisp
  12119. #: guix-git/doc/guix.texi:7238
  12120. #, no-wrap
  12121. msgid ""
  12122. "(define git-with-libressl\n"
  12123. " (libressl-instead-of-openssl git))\n"
  12124. msgstr ""
  12125. #. type: Plain text
  12126. #: guix-git/doc/guix.texi:7246
  12127. 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}})."
  12128. msgstr ""
  12129. #. type: Plain text
  12130. #: guix-git/doc/guix.texi:7249
  12131. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  12132. msgstr ""
  12133. #. type: deffn
  12134. #: guix-git/doc/guix.texi:7250
  12135. #, no-wrap
  12136. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  12137. msgstr ""
  12138. #. type: deffn
  12139. #: guix-git/doc/guix.texi:7257
  12140. 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."
  12141. msgstr ""
  12142. #. type: Plain text
  12143. #: guix-git/doc/guix.texi:7260
  12144. msgid "The example above could be rewritten this way:"
  12145. msgstr ""
  12146. #. type: lisp
  12147. #: guix-git/doc/guix.texi:7265
  12148. #, no-wrap
  12149. msgid ""
  12150. "(define libressl-instead-of-openssl\n"
  12151. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  12152. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  12153. msgstr ""
  12154. #. type: Plain text
  12155. #: guix-git/doc/guix.texi:7270
  12156. 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."
  12157. msgstr ""
  12158. #. type: Plain text
  12159. #: guix-git/doc/guix.texi:7274
  12160. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  12161. msgstr ""
  12162. #. type: deffn
  12163. #: guix-git/doc/guix.texi:7275
  12164. #, no-wrap
  12165. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  12166. msgstr ""
  12167. #. type: deffn
  12168. #: guix-git/doc/guix.texi:7280
  12169. 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."
  12170. msgstr ""
  12171. #. type: cindex
  12172. #: guix-git/doc/guix.texi:7286
  12173. #, no-wrap
  12174. msgid "build system"
  12175. msgstr ""
  12176. #. type: Plain text
  12177. #: guix-git/doc/guix.texi:7291
  12178. 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."
  12179. msgstr ""
  12180. #. type: Plain text
  12181. #: guix-git/doc/guix.texi:7295
  12182. 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."
  12183. msgstr ""
  12184. #. type: cindex
  12185. #: guix-git/doc/guix.texi:7296
  12186. #, no-wrap
  12187. msgid "bag (low-level package representation)"
  12188. msgstr ""
  12189. #. type: Plain text
  12190. #: guix-git/doc/guix.texi:7306
  12191. 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}})."
  12192. msgstr ""
  12193. #. type: Plain text
  12194. #: guix-git/doc/guix.texi:7314
  12195. 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})."
  12196. msgstr ""
  12197. #. type: Plain text
  12198. #: guix-git/doc/guix.texi:7318
  12199. 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."
  12200. msgstr ""
  12201. #. type: defvr
  12202. #: guix-git/doc/guix.texi:7319
  12203. #, no-wrap
  12204. msgid "{Scheme Variable} gnu-build-system"
  12205. msgstr ""
  12206. #. type: defvr
  12207. #: guix-git/doc/guix.texi:7323
  12208. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  12209. msgstr ""
  12210. #. type: cindex
  12211. #: guix-git/doc/guix.texi:7324 guix-git/doc/guix.texi:8264
  12212. #: guix-git/doc/guix.texi:8719
  12213. #, no-wrap
  12214. msgid "build phases"
  12215. msgstr ""
  12216. #. type: defvr
  12217. #: guix-git/doc/guix.texi:7331
  12218. 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."
  12219. msgstr ""
  12220. #. type: defvr
  12221. #: guix-git/doc/guix.texi:7338
  12222. 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."
  12223. msgstr ""
  12224. #. type: defvr
  12225. #: guix-git/doc/guix.texi:7342
  12226. 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:"
  12227. msgstr ""
  12228. #. type: item
  12229. #: guix-git/doc/guix.texi:7344
  12230. #, no-wrap
  12231. msgid "#:phases"
  12232. msgstr ""
  12233. #. type: table
  12234. #: guix-git/doc/guix.texi:7347
  12235. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  12236. msgstr ""
  12237. #. type: item
  12238. #: guix-git/doc/guix.texi:7348
  12239. #, no-wrap
  12240. msgid "#:configure-flags"
  12241. msgstr ""
  12242. #. type: table
  12243. #: guix-git/doc/guix.texi:7351
  12244. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  12245. msgstr ""
  12246. #. type: item
  12247. #: guix-git/doc/guix.texi:7352
  12248. #, no-wrap
  12249. msgid "#:make-flags"
  12250. msgstr ""
  12251. #. type: table
  12252. #: guix-git/doc/guix.texi:7356
  12253. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  12254. msgstr ""
  12255. #. type: item
  12256. #: guix-git/doc/guix.texi:7357
  12257. #, no-wrap
  12258. msgid "#:out-of-source?"
  12259. msgstr ""
  12260. #. type: table
  12261. #: guix-git/doc/guix.texi:7360
  12262. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  12263. msgstr ""
  12264. #. type: table
  12265. #: guix-git/doc/guix.texi:7365
  12266. 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}."
  12267. msgstr ""
  12268. #. type: item
  12269. #: guix-git/doc/guix.texi:7366
  12270. #, no-wrap
  12271. msgid "#:tests?"
  12272. msgstr ""
  12273. #. type: table
  12274. #: guix-git/doc/guix.texi:7369
  12275. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  12276. msgstr ""
  12277. #. type: item
  12278. #: guix-git/doc/guix.texi:7370
  12279. #, no-wrap
  12280. msgid "#:test-target"
  12281. msgstr ""
  12282. #. type: table
  12283. #: guix-git/doc/guix.texi:7373
  12284. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  12285. msgstr ""
  12286. #. type: item
  12287. #: guix-git/doc/guix.texi:7374
  12288. #, no-wrap
  12289. msgid "#:parallel-build?"
  12290. msgstr ""
  12291. #. type: itemx
  12292. #: guix-git/doc/guix.texi:7375
  12293. #, no-wrap
  12294. msgid "#:parallel-tests?"
  12295. msgstr ""
  12296. #. type: table
  12297. #: guix-git/doc/guix.texi:7382
  12298. 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}})."
  12299. msgstr ""
  12300. #. type: cindex
  12301. #: guix-git/doc/guix.texi:7383
  12302. #, no-wrap
  12303. msgid "RUNPATH, validation"
  12304. msgstr ""
  12305. #. type: item
  12306. #: guix-git/doc/guix.texi:7384
  12307. #, no-wrap
  12308. msgid "#:validate-runpath?"
  12309. msgstr ""
  12310. #. type: table
  12311. #: guix-git/doc/guix.texi:7388
  12312. 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."
  12313. msgstr ""
  12314. #. type: table
  12315. #: guix-git/doc/guix.texi:7396
  12316. 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}."
  12317. msgstr ""
  12318. #. type: item
  12319. #: guix-git/doc/guix.texi:7397
  12320. #, no-wrap
  12321. msgid "#:substitutable?"
  12322. msgstr ""
  12323. #. type: table
  12324. #: guix-git/doc/guix.texi:7401
  12325. 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})."
  12326. msgstr ""
  12327. #. type: item
  12328. #: guix-git/doc/guix.texi:7402
  12329. #, no-wrap
  12330. msgid "#:allowed-references"
  12331. msgstr ""
  12332. #. type: itemx
  12333. #: guix-git/doc/guix.texi:7403
  12334. #, no-wrap
  12335. msgid "#:disallowed-references"
  12336. msgstr ""
  12337. #. type: table
  12338. #: guix-git/doc/guix.texi:7408
  12339. 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."
  12340. msgstr ""
  12341. #. type: table
  12342. #: guix-git/doc/guix.texi:7413
  12343. 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})."
  12344. msgstr ""
  12345. #. type: defvr
  12346. #: guix-git/doc/guix.texi:7416
  12347. msgid "Most other build systems support these keyword arguments."
  12348. msgstr ""
  12349. #. type: Plain text
  12350. #: guix-git/doc/guix.texi:7423
  12351. 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."
  12352. msgstr ""
  12353. #. type: defvr
  12354. #: guix-git/doc/guix.texi:7424
  12355. #, no-wrap
  12356. msgid "{Scheme Variable} ant-build-system"
  12357. msgstr ""
  12358. #. type: defvr
  12359. #: guix-git/doc/guix.texi:7428
  12360. 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}."
  12361. msgstr ""
  12362. #. type: defvr
  12363. #: guix-git/doc/guix.texi:7433
  12364. 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."
  12365. msgstr ""
  12366. #. type: defvr
  12367. #: guix-git/doc/guix.texi:7439
  12368. 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''."
  12369. msgstr ""
  12370. #. type: defvr
  12371. #: guix-git/doc/guix.texi:7447
  12372. 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."
  12373. msgstr ""
  12374. #. type: defvr
  12375. #: guix-git/doc/guix.texi:7451
  12376. 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."
  12377. msgstr ""
  12378. #. type: defvr
  12379. #: guix-git/doc/guix.texi:7454
  12380. #, no-wrap
  12381. msgid "{Scheme Variable} android-ndk-build-system"
  12382. msgstr ""
  12383. #. type: cindex
  12384. #: guix-git/doc/guix.texi:7455
  12385. #, no-wrap
  12386. msgid "Android distribution"
  12387. msgstr ""
  12388. #. type: cindex
  12389. #: guix-git/doc/guix.texi:7456
  12390. #, no-wrap
  12391. msgid "Android NDK build system"
  12392. msgstr ""
  12393. #. type: defvr
  12394. #: guix-git/doc/guix.texi:7460
  12395. 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."
  12396. msgstr ""
  12397. #. type: defvr
  12398. #: guix-git/doc/guix.texi:7464
  12399. 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."
  12400. msgstr ""
  12401. #. type: defvr
  12402. #: guix-git/doc/guix.texi:7467
  12403. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  12404. msgstr ""
  12405. #. type: defvr
  12406. #: guix-git/doc/guix.texi:7470
  12407. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  12408. msgstr ""
  12409. #. type: defvr
  12410. #: guix-git/doc/guix.texi:7473
  12411. #, no-wrap
  12412. msgid "{Scheme Variable} asdf-build-system/source"
  12413. msgstr ""
  12414. #. type: defvrx
  12415. #: guix-git/doc/guix.texi:7474
  12416. #, no-wrap
  12417. msgid "{Scheme Variable} asdf-build-system/sbcl"
  12418. msgstr ""
  12419. #. type: defvrx
  12420. #: guix-git/doc/guix.texi:7475
  12421. #, no-wrap
  12422. msgid "{Scheme Variable} asdf-build-system/ecl"
  12423. msgstr ""
  12424. #. type: defvr
  12425. #: guix-git/doc/guix.texi:7481
  12426. 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."
  12427. msgstr ""
  12428. #. type: defvr
  12429. #: guix-git/doc/guix.texi:7488
  12430. 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."
  12431. msgstr ""
  12432. #. type: defvr
  12433. #: guix-git/doc/guix.texi:7492
  12434. 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}."
  12435. msgstr ""
  12436. #. type: defvr
  12437. #: guix-git/doc/guix.texi:7496
  12438. 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."
  12439. msgstr ""
  12440. #. type: defvr
  12441. #: guix-git/doc/guix.texi:7504
  12442. 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."
  12443. msgstr ""
  12444. #. type: defvr
  12445. #: guix-git/doc/guix.texi:7513
  12446. 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."
  12447. msgstr ""
  12448. #. type: defvr
  12449. #: guix-git/doc/guix.texi:7518
  12450. 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."
  12451. msgstr ""
  12452. #. type: defvr
  12453. #: guix-git/doc/guix.texi:7521
  12454. #, no-wrap
  12455. msgid "{Scheme Variable} cargo-build-system"
  12456. msgstr ""
  12457. #. type: cindex
  12458. #: guix-git/doc/guix.texi:7522
  12459. #, no-wrap
  12460. msgid "Rust programming language"
  12461. msgstr ""
  12462. #. type: cindex
  12463. #: guix-git/doc/guix.texi:7523
  12464. #, no-wrap
  12465. msgid "Cargo (Rust build system)"
  12466. msgstr ""
  12467. #. type: defvr
  12468. #: guix-git/doc/guix.texi:7527
  12469. 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}."
  12470. msgstr ""
  12471. #. type: defvr
  12472. #: guix-git/doc/guix.texi:7530
  12473. 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."
  12474. msgstr ""
  12475. #. type: defvr
  12476. #: guix-git/doc/guix.texi:7540
  12477. 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."
  12478. msgstr ""
  12479. #. type: defvr
  12480. #: guix-git/doc/guix.texi:7550
  12481. 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."
  12482. msgstr ""
  12483. #. type: defvr
  12484. #: guix-git/doc/guix.texi:7552
  12485. #, no-wrap
  12486. msgid "{Scheme Variable} chicken-build-system"
  12487. msgstr ""
  12488. #. type: defvr
  12489. #: guix-git/doc/guix.texi:7557
  12490. 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."
  12491. msgstr ""
  12492. #. type: defvr
  12493. #: guix-git/doc/guix.texi:7560
  12494. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  12495. msgstr ""
  12496. #. type: defvr
  12497. #: guix-git/doc/guix.texi:7564
  12498. 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."
  12499. msgstr ""
  12500. #. type: defvr
  12501. #: guix-git/doc/guix.texi:7566
  12502. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  12503. msgstr ""
  12504. #. type: lisp
  12505. #: guix-git/doc/guix.texi:7569
  12506. #, no-wrap
  12507. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  12508. msgstr ""
  12509. #. type: defvr
  12510. #: guix-git/doc/guix.texi:7574
  12511. 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."
  12512. msgstr ""
  12513. #. type: defvr
  12514. #: guix-git/doc/guix.texi:7576
  12515. #, no-wrap
  12516. msgid "{Scheme Variable} copy-build-system"
  12517. msgstr ""
  12518. #. type: defvr
  12519. #: guix-git/doc/guix.texi:7580
  12520. 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."
  12521. msgstr ""
  12522. #. type: defvr
  12523. #: guix-git/doc/guix.texi:7585
  12524. 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}."
  12525. msgstr ""
  12526. #. type: defvr
  12527. #: guix-git/doc/guix.texi:7590
  12528. 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."
  12529. msgstr ""
  12530. #. type: item
  12531. #: guix-git/doc/guix.texi:7592
  12532. #, no-wrap
  12533. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  12534. msgstr ""
  12535. #. type: item
  12536. #: guix-git/doc/guix.texi:7594
  12537. #, no-wrap
  12538. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  12539. msgstr ""
  12540. #. type: item
  12541. #: guix-git/doc/guix.texi:7595
  12542. #, no-wrap
  12543. msgid "Otherwise install @var{source} as @var{target}."
  12544. msgstr ""
  12545. #. type: item
  12546. #: guix-git/doc/guix.texi:7598
  12547. #, no-wrap
  12548. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  12549. msgstr ""
  12550. #. type: itemize
  12551. #: guix-git/doc/guix.texi:7601
  12552. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  12553. msgstr ""
  12554. #. type: item
  12555. #: guix-git/doc/guix.texi:7602
  12556. #, no-wrap
  12557. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  12558. msgstr ""
  12559. #. type: item
  12560. #: guix-git/doc/guix.texi:7603
  12561. #, no-wrap
  12562. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  12563. msgstr ""
  12564. #. type: itemize
  12565. #: guix-git/doc/guix.texi:7606
  12566. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  12567. msgstr ""
  12568. #. type: item
  12569. #: guix-git/doc/guix.texi:7607
  12570. #, no-wrap
  12571. msgid "With @code{#:include}, install all the files which the path suffix matches"
  12572. msgstr ""
  12573. #. type: itemize
  12574. #: guix-git/doc/guix.texi:7609
  12575. msgid "at least one of the elements in the given list."
  12576. msgstr ""
  12577. #. type: item
  12578. #: guix-git/doc/guix.texi:7609
  12579. #, no-wrap
  12580. msgid "With @code{#:include-regexp}, install all the files which the"
  12581. msgstr ""
  12582. #. type: itemize
  12583. #: guix-git/doc/guix.texi:7612
  12584. msgid "subpaths match at least one of the regular expressions in the given list."
  12585. msgstr ""
  12586. #. type: item
  12587. #: guix-git/doc/guix.texi:7612
  12588. #, no-wrap
  12589. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  12590. msgstr ""
  12591. #. type: itemize
  12592. #: guix-git/doc/guix.texi:7617
  12593. 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."
  12594. msgstr ""
  12595. #. type: itemize
  12596. #: guix-git/doc/guix.texi:7621
  12597. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  12598. msgstr ""
  12599. #. type: defvr
  12600. #: guix-git/doc/guix.texi:7624
  12601. msgid "Examples:"
  12602. msgstr ""
  12603. #. type: item
  12604. #: guix-git/doc/guix.texi:7626
  12605. #, no-wrap
  12606. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  12607. msgstr ""
  12608. #. type: item
  12609. #: guix-git/doc/guix.texi:7627
  12610. #, no-wrap
  12611. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  12612. msgstr ""
  12613. #. type: item
  12614. #: guix-git/doc/guix.texi:7628
  12615. #, no-wrap
  12616. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  12617. msgstr ""
  12618. #. type: itemize
  12619. #: guix-git/doc/guix.texi:7630
  12620. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  12621. msgstr ""
  12622. #. type: item
  12623. #: guix-git/doc/guix.texi:7630
  12624. #, no-wrap
  12625. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  12626. msgstr ""
  12627. #. type: itemize
  12628. #: guix-git/doc/guix.texi:7632
  12629. msgid "@file{share/my-app/sub/file}."
  12630. msgstr ""
  12631. #. type: item
  12632. #: guix-git/doc/guix.texi:7632
  12633. #, no-wrap
  12634. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  12635. msgstr ""
  12636. #. type: itemize
  12637. #: guix-git/doc/guix.texi:7634
  12638. msgid "@file{share/my-app/file}."
  12639. msgstr ""
  12640. #. type: cindex
  12641. #: guix-git/doc/guix.texi:7638
  12642. #, no-wrap
  12643. msgid "Clojure (programming language)"
  12644. msgstr ""
  12645. #. type: cindex
  12646. #: guix-git/doc/guix.texi:7639
  12647. #, no-wrap
  12648. msgid "simple Clojure build system"
  12649. msgstr ""
  12650. #. type: defvr
  12651. #: guix-git/doc/guix.texi:7640
  12652. #, no-wrap
  12653. msgid "{Scheme Variable} clojure-build-system"
  12654. msgstr ""
  12655. #. type: defvr
  12656. #: guix-git/doc/guix.texi:7645
  12657. 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."
  12658. msgstr ""
  12659. #. type: defvr
  12660. #: guix-git/doc/guix.texi:7649
  12661. 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."
  12662. msgstr ""
  12663. #. type: defvr
  12664. #: guix-git/doc/guix.texi:7655
  12665. 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."
  12666. msgstr ""
  12667. #. type: defvr
  12668. #: guix-git/doc/guix.texi:7658
  12669. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  12670. msgstr ""
  12671. #. type: item
  12672. #: guix-git/doc/guix.texi:7661 guix-git/doc/guix.texi:8227
  12673. #: guix-git/doc/guix.texi:8274 guix-git/doc/guix.texi:8343
  12674. #: guix-git/doc/guix.texi:33640
  12675. #, no-wrap
  12676. msgid "build"
  12677. msgstr ""
  12678. #. type: table
  12679. #: guix-git/doc/guix.texi:7670
  12680. 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."
  12681. msgstr ""
  12682. #. type: item
  12683. #: guix-git/doc/guix.texi:7671 guix-git/doc/guix.texi:8231
  12684. #: guix-git/doc/guix.texi:8348
  12685. #, no-wrap
  12686. msgid "check"
  12687. msgstr ""
  12688. #. type: table
  12689. #: guix-git/doc/guix.texi:7678
  12690. 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."
  12691. msgstr ""
  12692. #. type: item
  12693. #: guix-git/doc/guix.texi:7679 guix-git/doc/guix.texi:8235
  12694. #: guix-git/doc/guix.texi:8278 guix-git/doc/guix.texi:8354
  12695. #, no-wrap
  12696. msgid "install"
  12697. msgstr ""
  12698. #. type: table
  12699. #: guix-git/doc/guix.texi:7681
  12700. msgid "This phase installs all jars built previously."
  12701. msgstr ""
  12702. #. type: defvr
  12703. #: guix-git/doc/guix.texi:7684
  12704. msgid "Apart from the above, this build system also contains an additional phase:"
  12705. msgstr ""
  12706. #. type: item
  12707. #: guix-git/doc/guix.texi:7687
  12708. #, no-wrap
  12709. msgid "install-doc"
  12710. msgstr ""
  12711. #. type: table
  12712. #: guix-git/doc/guix.texi:7692
  12713. 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."
  12714. msgstr ""
  12715. #. type: defvr
  12716. #: guix-git/doc/guix.texi:7695
  12717. #, no-wrap
  12718. msgid "{Scheme Variable} cmake-build-system"
  12719. msgstr ""
  12720. #. type: defvr
  12721. #: guix-git/doc/guix.texi:7699
  12722. 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}."
  12723. msgstr ""
  12724. #. type: defvr
  12725. #: guix-git/doc/guix.texi:7703
  12726. 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."
  12727. msgstr ""
  12728. #. type: defvr
  12729. #: guix-git/doc/guix.texi:7710
  12730. 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."
  12731. msgstr ""
  12732. #. type: defvr
  12733. #: guix-git/doc/guix.texi:7712
  12734. #, no-wrap
  12735. msgid "{Scheme Variable} dune-build-system"
  12736. msgstr ""
  12737. #. type: defvr
  12738. #: guix-git/doc/guix.texi:7719
  12739. 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."
  12740. msgstr ""
  12741. #. type: defvr
  12742. #: guix-git/doc/guix.texi:7723
  12743. 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."
  12744. msgstr ""
  12745. #. type: defvr
  12746. #: guix-git/doc/guix.texi:7727
  12747. 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."
  12748. msgstr ""
  12749. #. type: defvr
  12750. #: guix-git/doc/guix.texi:7731
  12751. 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}."
  12752. msgstr ""
  12753. #. type: defvr
  12754. #: guix-git/doc/guix.texi:7736
  12755. 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}."
  12756. msgstr ""
  12757. #. type: defvr
  12758. #: guix-git/doc/guix.texi:7741
  12759. msgid "The @code{#:profile} parameter can be passed to specify the @uref{https://dune.readthedocs.io/en/stable/dune-files.html#profile, dune build profile}. This is equivalent to passing the @code{--profile} argument to @code{dune}. Its default value is @code{\"release\"}."
  12760. msgstr ""
  12761. #. type: defvr
  12762. #: guix-git/doc/guix.texi:7744
  12763. #, no-wrap
  12764. msgid "{Scheme Variable} go-build-system"
  12765. msgstr ""
  12766. #. type: defvr
  12767. #: guix-git/doc/guix.texi:7749
  12768. 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}."
  12769. msgstr ""
  12770. #. type: defvr
  12771. #: guix-git/doc/guix.texi:7760
  12772. 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."
  12773. msgstr ""
  12774. #. type: defvr
  12775. #: guix-git/doc/guix.texi:7765
  12776. 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."
  12777. msgstr ""
  12778. #. type: defvr
  12779. #: guix-git/doc/guix.texi:7767
  12780. #, no-wrap
  12781. msgid "{Scheme Variable} glib-or-gtk-build-system"
  12782. msgstr ""
  12783. #. type: defvr
  12784. #: guix-git/doc/guix.texi:7770
  12785. 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+."
  12786. msgstr ""
  12787. #. type: defvr
  12788. #: guix-git/doc/guix.texi:7773
  12789. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  12790. msgstr ""
  12791. #. type: item
  12792. #: guix-git/doc/guix.texi:7775 guix-git/doc/guix.texi:8251
  12793. #, no-wrap
  12794. msgid "glib-or-gtk-wrap"
  12795. msgstr ""
  12796. #. type: table
  12797. #: guix-git/doc/guix.texi:7782
  12798. 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."
  12799. msgstr ""
  12800. #. type: table
  12801. #: guix-git/doc/guix.texi:7789
  12802. 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+."
  12803. msgstr ""
  12804. #. type: item
  12805. #: guix-git/doc/guix.texi:7790 guix-git/doc/guix.texi:8255
  12806. #, no-wrap
  12807. msgid "glib-or-gtk-compile-schemas"
  12808. msgstr ""
  12809. #. type: table
  12810. #: guix-git/doc/guix.texi:7798
  12811. 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."
  12812. msgstr ""
  12813. #. type: defvr
  12814. #: guix-git/doc/guix.texi:7801
  12815. msgid "Both phases are executed after the @code{install} phase."
  12816. msgstr ""
  12817. #. type: defvr
  12818. #: guix-git/doc/guix.texi:7803
  12819. #, no-wrap
  12820. msgid "{Scheme Variable} guile-build-system"
  12821. msgstr ""
  12822. #. type: defvr
  12823. #: guix-git/doc/guix.texi:7810
  12824. 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."
  12825. msgstr ""
  12826. #. type: defvr
  12827. #: guix-git/doc/guix.texi:7813
  12828. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  12829. msgstr ""
  12830. #. type: defvr
  12831. #: guix-git/doc/guix.texi:7816
  12832. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  12833. msgstr ""
  12834. #. type: defvr
  12835. #: guix-git/doc/guix.texi:7818
  12836. #, no-wrap
  12837. msgid "{Scheme Variable} julia-build-system"
  12838. msgstr ""
  12839. #. type: defvr
  12840. #: guix-git/doc/guix.texi:7825
  12841. 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}."
  12842. msgstr ""
  12843. #. type: defvr
  12844. #: guix-git/doc/guix.texi:7829
  12845. 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)."
  12846. msgstr ""
  12847. #. type: defvr
  12848. #: guix-git/doc/guix.texi:7833
  12849. 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}."
  12850. msgstr ""
  12851. #. type: defvr
  12852. #: guix-git/doc/guix.texi:7838
  12853. 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."
  12854. msgstr ""
  12855. #. type: defvr
  12856. #: guix-git/doc/guix.texi:7842
  12857. 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:"
  12858. msgstr ""
  12859. #. type: lisp
  12860. #: guix-git/doc/guix.texi:7854
  12861. #, no-wrap
  12862. msgid ""
  12863. "(add-after 'unpack 'override-binary-path\n"
  12864. " (lambda* (#:key inputs #:allow-other-keys)\n"
  12865. " (for-each (lambda (wrapper)\n"
  12866. " (substitute* wrapper\n"
  12867. " ((\"generate_wrapper_header.*\")\n"
  12868. " (string-append\n"
  12869. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  12870. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  12871. " ;; There's a Julia file for each platform, override them all.\n"
  12872. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  12873. msgstr ""
  12874. #. type: defvr
  12875. #: guix-git/doc/guix.texi:7862
  12876. 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."
  12877. msgstr ""
  12878. #. type: defvr
  12879. #: guix-git/doc/guix.texi:7864
  12880. #, no-wrap
  12881. msgid "{Scheme Variable} maven-build-system"
  12882. msgstr ""
  12883. #. type: defvr
  12884. #: guix-git/doc/guix.texi:7871
  12885. 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."
  12886. msgstr ""
  12887. #. type: defvr
  12888. #: guix-git/doc/guix.texi:7881
  12889. 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."
  12890. msgstr ""
  12891. #. type: defvr
  12892. #: guix-git/doc/guix.texi:7884
  12893. 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."
  12894. msgstr ""
  12895. #. type: defvr
  12896. #: guix-git/doc/guix.texi:7890
  12897. 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}."
  12898. msgstr ""
  12899. #. type: defvr
  12900. #: guix-git/doc/guix.texi:7896
  12901. 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."
  12902. msgstr ""
  12903. #. type: defvr
  12904. #: guix-git/doc/guix.texi:7899
  12905. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  12906. msgstr ""
  12907. #. type: defvr
  12908. #: guix-git/doc/guix.texi:7904
  12909. 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."
  12910. msgstr ""
  12911. #. type: defvr
  12912. #: guix-git/doc/guix.texi:7906
  12913. #, no-wrap
  12914. msgid "{Scheme Variable} minetest-mod-build-system"
  12915. msgstr ""
  12916. #. type: defvr
  12917. #: guix-git/doc/guix.texi:7912
  12918. 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."
  12919. msgstr ""
  12920. #. type: defvr
  12921. #: guix-git/doc/guix.texi:7914
  12922. #, no-wrap
  12923. msgid "{Scheme Variable} minify-build-system"
  12924. msgstr ""
  12925. #. type: defvr
  12926. #: guix-git/doc/guix.texi:7917
  12927. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  12928. msgstr ""
  12929. #. type: defvr
  12930. #: guix-git/doc/guix.texi:7923
  12931. 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."
  12932. msgstr ""
  12933. #. type: defvr
  12934. #: guix-git/doc/guix.texi:7927
  12935. 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."
  12936. msgstr ""
  12937. #. type: defvr
  12938. #: guix-git/doc/guix.texi:7929
  12939. #, no-wrap
  12940. msgid "{Scheme Variable} ocaml-build-system"
  12941. msgstr ""
  12942. #. type: defvr
  12943. #: guix-git/doc/guix.texi:7935
  12944. 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."
  12945. msgstr ""
  12946. #. type: defvr
  12947. #: guix-git/doc/guix.texi:7945
  12948. 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."
  12949. msgstr ""
  12950. #. type: defvr
  12951. #: guix-git/doc/guix.texi:7950
  12952. 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."
  12953. msgstr ""
  12954. #. type: defvr
  12955. #: guix-git/doc/guix.texi:7954
  12956. 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."
  12957. msgstr ""
  12958. #. type: defvr
  12959. #: guix-git/doc/guix.texi:7962
  12960. 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."
  12961. msgstr ""
  12962. #. type: defvr
  12963. #: guix-git/doc/guix.texi:7970
  12964. 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."
  12965. msgstr ""
  12966. #. type: defvr
  12967. #: guix-git/doc/guix.texi:7972
  12968. #, no-wrap
  12969. msgid "{Scheme Variable} python-build-system"
  12970. msgstr ""
  12971. #. type: defvr
  12972. #: guix-git/doc/guix.texi:7977
  12973. 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{}}."
  12974. msgstr ""
  12975. #. type: defvr
  12976. #: guix-git/doc/guix.texi:7981
  12977. msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @env{PYTHONPATH} environment variable points to all the Python libraries they depend on."
  12978. msgstr ""
  12979. #. type: defvr
  12980. #: guix-git/doc/guix.texi:7987
  12981. 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."
  12982. msgstr ""
  12983. #. type: defvr
  12984. #: guix-git/doc/guix.texi:7992
  12985. 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}."
  12986. msgstr ""
  12987. #. type: defvr
  12988. #: guix-git/doc/guix.texi:7994
  12989. #, no-wrap
  12990. msgid "{Scheme Variable} perl-build-system"
  12991. msgstr ""
  12992. #. type: defvr
  12993. #: guix-git/doc/guix.texi:8006
  12994. 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."
  12995. msgstr ""
  12996. #. type: defvr
  12997. #: guix-git/doc/guix.texi:8010
  12998. 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."
  12999. msgstr ""
  13000. #. type: defvr
  13001. #: guix-git/doc/guix.texi:8012
  13002. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13003. msgstr ""
  13004. #. type: defvr
  13005. #: guix-git/doc/guix.texi:8014
  13006. #, no-wrap
  13007. msgid "{Scheme Variable} renpy-build-system"
  13008. msgstr ""
  13009. #. type: defvr
  13010. #: guix-git/doc/guix.texi:8018
  13011. 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."
  13012. msgstr ""
  13013. #. type: defvr
  13014. #: guix-git/doc/guix.texi:8021
  13015. 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."
  13016. msgstr ""
  13017. #. type: defvr
  13018. #: guix-git/doc/guix.texi:8025
  13019. 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}."
  13020. msgstr ""
  13021. #. type: defvr
  13022. #: guix-git/doc/guix.texi:8027
  13023. #, no-wrap
  13024. msgid "{Scheme Variable} qt-build-system"
  13025. msgstr ""
  13026. #. type: defvr
  13027. #: guix-git/doc/guix.texi:8030
  13028. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  13029. msgstr ""
  13030. #. type: defvr
  13031. #: guix-git/doc/guix.texi:8033
  13032. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  13033. msgstr ""
  13034. #. type: item
  13035. #: guix-git/doc/guix.texi:8035
  13036. #, no-wrap
  13037. msgid "check-setup"
  13038. msgstr ""
  13039. #. type: table
  13040. #: guix-git/doc/guix.texi:8042
  13041. 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}."
  13042. msgstr ""
  13043. #. type: table
  13044. #: guix-git/doc/guix.texi:8045
  13045. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  13046. msgstr ""
  13047. #. type: item
  13048. #: guix-git/doc/guix.texi:8046
  13049. #, no-wrap
  13050. msgid "qt-wrap"
  13051. msgstr ""
  13052. #. type: table
  13053. #: guix-git/doc/guix.texi:8052
  13054. 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."
  13055. msgstr ""
  13056. #. type: table
  13057. #: guix-git/doc/guix.texi:8058
  13058. 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."
  13059. msgstr ""
  13060. #. type: table
  13061. #: guix-git/doc/guix.texi:8060
  13062. msgid "This phase is added after the @code{install} phase."
  13063. msgstr ""
  13064. #. type: defvr
  13065. #: guix-git/doc/guix.texi:8063
  13066. #, no-wrap
  13067. msgid "{Scheme Variable} r-build-system"
  13068. msgstr ""
  13069. #. type: defvr
  13070. #: guix-git/doc/guix.texi:8071
  13071. 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}."
  13072. msgstr ""
  13073. #. type: defvr
  13074. #: guix-git/doc/guix.texi:8073
  13075. #, no-wrap
  13076. msgid "{Scheme Variable} rakudo-build-system"
  13077. msgstr ""
  13078. #. type: defvr
  13079. #: guix-git/doc/guix.texi:8081
  13080. 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."
  13081. msgstr ""
  13082. #. type: defvr
  13083. #: guix-git/doc/guix.texi:8089
  13084. 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."
  13085. msgstr ""
  13086. #. type: defvr
  13087. #: guix-git/doc/guix.texi:8091
  13088. #, no-wrap
  13089. msgid "{Scheme Variable} texlive-build-system"
  13090. msgstr ""
  13091. #. type: defvr
  13092. #: guix-git/doc/guix.texi:8096
  13093. 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."
  13094. msgstr ""
  13095. #. type: defvr
  13096. #: guix-git/doc/guix.texi:8105
  13097. 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."
  13098. msgstr ""
  13099. #. type: defvr
  13100. #: guix-git/doc/guix.texi:8108
  13101. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  13102. msgstr ""
  13103. #. type: defvr
  13104. #: guix-git/doc/guix.texi:8110
  13105. #, no-wrap
  13106. msgid "{Scheme Variable} ruby-build-system"
  13107. msgstr ""
  13108. #. type: defvr
  13109. #: guix-git/doc/guix.texi:8114
  13110. 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}."
  13111. msgstr ""
  13112. #. type: defvr
  13113. #: guix-git/doc/guix.texi:8122
  13114. 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."
  13115. msgstr ""
  13116. #. type: defvr
  13117. #: guix-git/doc/guix.texi:8126
  13118. 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."
  13119. msgstr ""
  13120. #. type: defvr
  13121. #: guix-git/doc/guix.texi:8128
  13122. #, no-wrap
  13123. msgid "{Scheme Variable} waf-build-system"
  13124. msgstr ""
  13125. #. type: defvr
  13126. #: guix-git/doc/guix.texi:8134
  13127. 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."
  13128. msgstr ""
  13129. #. type: defvr
  13130. #: guix-git/doc/guix.texi:8138
  13131. 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."
  13132. msgstr ""
  13133. #. type: defvr
  13134. #: guix-git/doc/guix.texi:8140
  13135. #, no-wrap
  13136. msgid "{Scheme Variable} scons-build-system"
  13137. msgstr ""
  13138. #. type: defvr
  13139. #: guix-git/doc/guix.texi:8146
  13140. 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."
  13141. msgstr ""
  13142. #. type: defvr
  13143. #: guix-git/doc/guix.texi:8153
  13144. 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."
  13145. msgstr ""
  13146. #. type: defvr
  13147. #: guix-git/doc/guix.texi:8155
  13148. #, no-wrap
  13149. msgid "{Scheme Variable} haskell-build-system"
  13150. msgstr ""
  13151. #. type: defvr
  13152. #: guix-git/doc/guix.texi:8169
  13153. 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."
  13154. msgstr ""
  13155. #. type: defvr
  13156. #: guix-git/doc/guix.texi:8172
  13157. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  13158. msgstr ""
  13159. #. type: defvr
  13160. #: guix-git/doc/guix.texi:8174
  13161. #, no-wrap
  13162. msgid "{Scheme Variable} dub-build-system"
  13163. msgstr ""
  13164. #. type: defvr
  13165. #: guix-git/doc/guix.texi:8179
  13166. 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."
  13167. msgstr ""
  13168. #. type: defvr
  13169. #: guix-git/doc/guix.texi:8182
  13170. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  13171. msgstr ""
  13172. #. type: anchor{#1}
  13173. #: guix-git/doc/guix.texi:8185
  13174. msgid "emacs-build-system"
  13175. msgstr ""
  13176. #. type: defvr
  13177. #: guix-git/doc/guix.texi:8185
  13178. #, no-wrap
  13179. msgid "{Scheme Variable} emacs-build-system"
  13180. msgstr ""
  13181. #. type: defvr
  13182. #: guix-git/doc/guix.texi:8189
  13183. 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})."
  13184. msgstr ""
  13185. #. type: defvr
  13186. #: guix-git/doc/guix.texi:8195
  13187. 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}."
  13188. msgstr ""
  13189. #. type: defvr
  13190. #: guix-git/doc/guix.texi:8197
  13191. #, no-wrap
  13192. msgid "{Scheme Variable} font-build-system"
  13193. msgstr ""
  13194. #. type: defvr
  13195. #: guix-git/doc/guix.texi:8203
  13196. 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."
  13197. msgstr ""
  13198. #. type: defvr
  13199. #: guix-git/doc/guix.texi:8205
  13200. #, no-wrap
  13201. msgid "{Scheme Variable} meson-build-system"
  13202. msgstr ""
  13203. #. type: defvr
  13204. #: guix-git/doc/guix.texi:8209
  13205. 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."
  13206. msgstr ""
  13207. #. type: defvr
  13208. #: guix-git/doc/guix.texi:8215
  13209. msgid "It adds both Meson and @uref{https://ninja-build.org/, Ninja} to the set of inputs, and they can be changed with the parameters @code{#:meson} and @code{#:ninja} if needed. The default Meson is @code{meson-for-build}, which is special because it doesn't clear the @code{RUNPATH} of binaries and libraries when they are installed."
  13210. msgstr ""
  13211. #. type: defvr
  13212. #: guix-git/doc/guix.texi:8218
  13213. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  13214. msgstr ""
  13215. #. type: item
  13216. #: guix-git/doc/guix.texi:8221 guix-git/doc/guix.texi:8270
  13217. #: guix-git/doc/guix.texi:8338
  13218. #, no-wrap
  13219. msgid "configure"
  13220. msgstr ""
  13221. #. type: table
  13222. #: guix-git/doc/guix.texi:8226
  13223. 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}."
  13224. msgstr ""
  13225. #. type: table
  13226. #: guix-git/doc/guix.texi:8230
  13227. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  13228. msgstr ""
  13229. #. type: table
  13230. #: guix-git/doc/guix.texi:8234
  13231. msgid "The phase runs @code{ninja} with the target specified in @code{#:test-target}, which is @code{\"test\"} by default."
  13232. msgstr ""
  13233. #. type: table
  13234. #: guix-git/doc/guix.texi:8237
  13235. msgid "The phase runs @code{ninja install} and can not be changed."
  13236. msgstr ""
  13237. #. type: defvr
  13238. #: guix-git/doc/guix.texi:8240
  13239. msgid "Apart from that, the build system also adds the following phases:"
  13240. msgstr ""
  13241. #. type: item
  13242. #: guix-git/doc/guix.texi:8243
  13243. #, no-wrap
  13244. msgid "fix-runpath"
  13245. msgstr ""
  13246. #. type: table
  13247. #: guix-git/doc/guix.texi:8250
  13248. msgid "This phase ensures that all binaries can find the libraries they need. It searches for required libraries in subdirectories of the package being built, and adds those to @code{RUNPATH} where needed. It also removes references to libraries left over from the build phase by @code{meson-for-build}, such as test dependencies, that aren't actually required for the program to run."
  13249. msgstr ""
  13250. #. type: table
  13251. #: guix-git/doc/guix.texi:8254 guix-git/doc/guix.texi:8258
  13252. 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?}."
  13253. msgstr ""
  13254. #. type: defvr
  13255. #: guix-git/doc/guix.texi:8261
  13256. #, no-wrap
  13257. msgid "{Scheme Variable} linux-module-build-system"
  13258. msgstr ""
  13259. #. type: defvr
  13260. #: guix-git/doc/guix.texi:8263
  13261. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  13262. msgstr ""
  13263. #. type: defvr
  13264. #: guix-git/doc/guix.texi:8267
  13265. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  13266. msgstr ""
  13267. #. type: table
  13268. #: guix-git/doc/guix.texi:8273
  13269. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  13270. msgstr ""
  13271. #. type: table
  13272. #: guix-git/doc/guix.texi:8277
  13273. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  13274. msgstr ""
  13275. #. type: table
  13276. #: guix-git/doc/guix.texi:8281
  13277. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  13278. msgstr ""
  13279. #. type: defvr
  13280. #: guix-git/doc/guix.texi:8286
  13281. 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)."
  13282. msgstr ""
  13283. #. type: defvr
  13284. #: guix-git/doc/guix.texi:8288
  13285. #, no-wrap
  13286. msgid "{Scheme Variable} node-build-system"
  13287. msgstr ""
  13288. #. type: defvr
  13289. #: guix-git/doc/guix.texi:8293
  13290. 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."
  13291. msgstr ""
  13292. #. type: defvr
  13293. #: guix-git/doc/guix.texi:8297
  13294. 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}."
  13295. msgstr ""
  13296. #. type: Plain text
  13297. #: guix-git/doc/guix.texi:8303
  13298. 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."
  13299. msgstr ""
  13300. #. type: defvr
  13301. #: guix-git/doc/guix.texi:8304
  13302. #, no-wrap
  13303. msgid "{Scheme Variable} trivial-build-system"
  13304. msgstr ""
  13305. #. type: defvr
  13306. #: guix-git/doc/guix.texi:8306
  13307. msgid "This variable is exported by @code{(guix build-system trivial)}."
  13308. msgstr ""
  13309. #. type: defvr
  13310. #: guix-git/doc/guix.texi:8311
  13311. 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}})."
  13312. msgstr ""
  13313. #. type: cindex
  13314. #: guix-git/doc/guix.texi:8316
  13315. #, no-wrap
  13316. msgid "build phases, for packages"
  13317. msgstr ""
  13318. #. type: Plain text
  13319. #: guix-git/doc/guix.texi:8322
  13320. 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})."
  13321. msgstr ""
  13322. #. type: Plain text
  13323. #: guix-git/doc/guix.texi:8326
  13324. 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:"
  13325. msgstr ""
  13326. #. type: item
  13327. #: guix-git/doc/guix.texi:8328
  13328. #, no-wrap
  13329. msgid "unpack"
  13330. msgstr ""
  13331. #. type: table
  13332. #: guix-git/doc/guix.texi:8332
  13333. 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."
  13334. msgstr ""
  13335. #. type: item
  13336. #: guix-git/doc/guix.texi:8333
  13337. #, no-wrap
  13338. msgid "patch-source-shebangs"
  13339. msgstr ""
  13340. #. type: table
  13341. #: guix-git/doc/guix.texi:8337
  13342. 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}."
  13343. msgstr ""
  13344. #. type: table
  13345. #: guix-git/doc/guix.texi:8342
  13346. 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."
  13347. msgstr ""
  13348. #. type: table
  13349. #: guix-git/doc/guix.texi:8347
  13350. 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}."
  13351. msgstr ""
  13352. #. type: table
  13353. #: guix-git/doc/guix.texi:8353
  13354. 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}."
  13355. msgstr ""
  13356. #. type: table
  13357. #: guix-git/doc/guix.texi:8356
  13358. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  13359. msgstr ""
  13360. #. type: item
  13361. #: guix-git/doc/guix.texi:8357
  13362. #, no-wrap
  13363. msgid "patch-shebangs"
  13364. msgstr ""
  13365. #. type: table
  13366. #: guix-git/doc/guix.texi:8359
  13367. msgid "Patch shebangs on the installed executable files."
  13368. msgstr ""
  13369. #. type: item
  13370. #: guix-git/doc/guix.texi:8360
  13371. #, no-wrap
  13372. msgid "strip"
  13373. msgstr ""
  13374. #. type: table
  13375. #: guix-git/doc/guix.texi:8364
  13376. 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})."
  13377. msgstr ""
  13378. #. type: Plain text
  13379. #: guix-git/doc/guix.texi:8373
  13380. 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})."
  13381. msgstr ""
  13382. #. type: Plain text
  13383. #: guix-git/doc/guix.texi:8380
  13384. 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."
  13385. msgstr ""
  13386. #. type: vindex
  13387. #: guix-git/doc/guix.texi:8381
  13388. #, no-wrap
  13389. msgid "%standard-phases"
  13390. msgstr ""
  13391. #. type: Plain text
  13392. #: guix-git/doc/guix.texi:8387
  13393. 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!}:"
  13394. msgstr ""
  13395. #. type: lisp
  13396. #: guix-git/doc/guix.texi:8390
  13397. #, no-wrap
  13398. msgid ""
  13399. ";; The build phases of 'gnu-build-system'.\n"
  13400. "\n"
  13401. msgstr ""
  13402. #. type: lisp
  13403. #: guix-git/doc/guix.texi:8394
  13404. #, no-wrap
  13405. msgid ""
  13406. "(define* (unpack #:key source #:allow-other-keys)\n"
  13407. " ;; Extract the source tarball.\n"
  13408. " (invoke \"tar\" \"xvf\" source))\n"
  13409. "\n"
  13410. msgstr ""
  13411. #. type: lisp
  13412. #: guix-git/doc/guix.texi:8400
  13413. #, no-wrap
  13414. msgid ""
  13415. "(define* (configure #:key outputs #:allow-other-keys)\n"
  13416. " ;; Run the 'configure' script. Install to output \"out\".\n"
  13417. " (let ((out (assoc-ref outputs \"out\")))\n"
  13418. " (invoke \"./configure\"\n"
  13419. " (string-append \"--prefix=\" out))))\n"
  13420. "\n"
  13421. msgstr ""
  13422. #. type: lisp
  13423. #: guix-git/doc/guix.texi:8404
  13424. #, no-wrap
  13425. msgid ""
  13426. "(define* (build #:allow-other-keys)\n"
  13427. " ;; Compile.\n"
  13428. " (invoke \"make\"))\n"
  13429. "\n"
  13430. msgstr ""
  13431. #. type: lisp
  13432. #: guix-git/doc/guix.texi:8411
  13433. #, no-wrap
  13434. msgid ""
  13435. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  13436. " #:allow-other-keys)\n"
  13437. " ;; Run the test suite.\n"
  13438. " (if tests?\n"
  13439. " (invoke \"make\" test-target)\n"
  13440. " (display \"test suite not run\\n\")))\n"
  13441. "\n"
  13442. msgstr ""
  13443. #. type: lisp
  13444. #: guix-git/doc/guix.texi:8415
  13445. #, no-wrap
  13446. msgid ""
  13447. "(define* (install #:allow-other-keys)\n"
  13448. " ;; Install files to the prefix 'configure' specified.\n"
  13449. " (invoke \"make\" \"install\"))\n"
  13450. "\n"
  13451. msgstr ""
  13452. #. type: lisp
  13453. #: guix-git/doc/guix.texi:8424
  13454. #, no-wrap
  13455. msgid ""
  13456. "(define %standard-phases\n"
  13457. " ;; The list of standard phases (quite a few are omitted\n"
  13458. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  13459. " (list (cons 'unpack unpack)\n"
  13460. " (cons 'configure configure)\n"
  13461. " (cons 'build build)\n"
  13462. " (cons 'check check)\n"
  13463. " (cons 'install install)))\n"
  13464. msgstr ""
  13465. #. type: Plain text
  13466. #: guix-git/doc/guix.texi:8434
  13467. 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."
  13468. msgstr ""
  13469. #. type: Plain text
  13470. #: guix-git/doc/guix.texi:8440
  13471. 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})."
  13472. msgstr ""
  13473. #. type: Plain text
  13474. #: guix-git/doc/guix.texi:8456
  13475. 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."
  13476. msgstr ""
  13477. #. type: cindex
  13478. #: guix-git/doc/guix.texi:8457
  13479. #, no-wrap
  13480. msgid "build phases, customizing"
  13481. msgstr ""
  13482. #. type: Plain text
  13483. #: guix-git/doc/guix.texi:8466
  13484. 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}})."
  13485. msgstr ""
  13486. #. type: Plain text
  13487. #: guix-git/doc/guix.texi:8471
  13488. 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}:"
  13489. msgstr ""
  13490. #. type: lisp
  13491. #: guix-git/doc/guix.texi:8491
  13492. #, no-wrap
  13493. msgid ""
  13494. "(define-public example\n"
  13495. " (package\n"
  13496. " (name \"example\")\n"
  13497. " ;; other fields omitted\n"
  13498. " (build-system gnu-build-system)\n"
  13499. " (arguments\n"
  13500. " '(#:phases (modify-phases %standard-phases\n"
  13501. " (delete 'configure)\n"
  13502. " (add-before 'build 'set-prefix-in-makefile\n"
  13503. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13504. " ;; Modify the makefile so that its\n"
  13505. " ;; 'PREFIX' variable points to \"out\".\n"
  13506. " (let ((out (assoc-ref outputs \"out\")))\n"
  13507. " (substitute* \"Makefile\"\n"
  13508. " ((\"PREFIX =.*\")\n"
  13509. " (string-append \"PREFIX = \"\n"
  13510. " out \"\\n\")))\n"
  13511. " #true))))))))\n"
  13512. msgstr ""
  13513. #. type: Plain text
  13514. #: guix-git/doc/guix.texi:8497
  13515. 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}."
  13516. msgstr ""
  13517. #. type: cindex
  13518. #: guix-git/doc/guix.texi:8498 guix-git/doc/guix.texi:9471
  13519. #, no-wrap
  13520. msgid "code staging"
  13521. msgstr ""
  13522. #. type: cindex
  13523. #: guix-git/doc/guix.texi:8499 guix-git/doc/guix.texi:9472
  13524. #, no-wrap
  13525. msgid "staging, of code"
  13526. msgstr ""
  13527. #. type: Plain text
  13528. #: guix-git/doc/guix.texi:8506
  13529. 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."
  13530. msgstr ""
  13531. #. type: Plain text
  13532. #: guix-git/doc/guix.texi:8516
  13533. 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."
  13534. msgstr ""
  13535. #. type: Plain text
  13536. #: guix-git/doc/guix.texi:8520
  13537. 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."
  13538. msgstr ""
  13539. #. type: Plain text
  13540. #: guix-git/doc/guix.texi:8525
  13541. 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}):"
  13542. msgstr ""
  13543. #. type: lisp
  13544. #: guix-git/doc/guix.texi:8532
  13545. #, no-wrap
  13546. msgid ""
  13547. "(with-imported-modules '((guix build utils)) ;import it\n"
  13548. " (computed-file \"empty-tree\"\n"
  13549. " #~(begin\n"
  13550. " ;; Put it in scope.\n"
  13551. " (use-modules (guix build utils))\n"
  13552. "\n"
  13553. msgstr ""
  13554. #. type: lisp
  13555. #: guix-git/doc/guix.texi:8535
  13556. #, no-wrap
  13557. msgid ""
  13558. " ;; Happily use its 'mkdir-p' procedure.\n"
  13559. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  13560. msgstr ""
  13561. #. type: Plain text
  13562. #: guix-git/doc/guix.texi:8539
  13563. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  13564. msgstr ""
  13565. #. type: subsection
  13566. #: guix-git/doc/guix.texi:8542
  13567. #, no-wrap
  13568. msgid "Dealing with Store File Names"
  13569. msgstr ""
  13570. #. type: Plain text
  13571. #: guix-git/doc/guix.texi:8545
  13572. msgid "This section documents procedures that deal with store file names."
  13573. msgstr ""
  13574. #. type: deffn
  13575. #: guix-git/doc/guix.texi:8546
  13576. #, no-wrap
  13577. msgid "{Scheme Procedure} %store-directory"
  13578. msgstr ""
  13579. #. type: deffn
  13580. #: guix-git/doc/guix.texi:8548
  13581. msgid "Return the directory name of the store."
  13582. msgstr ""
  13583. #. type: deffn
  13584. #: guix-git/doc/guix.texi:8550
  13585. #, no-wrap
  13586. msgid "{Scheme Procedure} store-file-name? @var{file}"
  13587. msgstr ""
  13588. #. type: deffn
  13589. #: guix-git/doc/guix.texi:8552
  13590. msgid "Return true if @var{file} is in the store."
  13591. msgstr ""
  13592. #. type: deffn
  13593. #: guix-git/doc/guix.texi:8554
  13594. #, no-wrap
  13595. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  13596. msgstr ""
  13597. #. type: deffn
  13598. #: guix-git/doc/guix.texi:8557
  13599. 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."
  13600. msgstr ""
  13601. #. type: deffn
  13602. #: guix-git/doc/guix.texi:8559
  13603. #, no-wrap
  13604. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  13605. msgstr ""
  13606. #. type: deffn
  13607. #: guix-git/doc/guix.texi:8564
  13608. 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."
  13609. msgstr ""
  13610. #. type: subsection
  13611. #: guix-git/doc/guix.texi:8566
  13612. #, no-wrap
  13613. msgid "File Types"
  13614. msgstr ""
  13615. #. type: Plain text
  13616. #: guix-git/doc/guix.texi:8569
  13617. msgid "The procedures below deal with files and file types."
  13618. msgstr ""
  13619. #. type: deffn
  13620. #: guix-git/doc/guix.texi:8570
  13621. #, no-wrap
  13622. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  13623. msgstr ""
  13624. #. type: deffn
  13625. #: guix-git/doc/guix.texi:8572
  13626. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  13627. msgstr ""
  13628. #. type: deffn
  13629. #: guix-git/doc/guix.texi:8574
  13630. #, no-wrap
  13631. msgid "{Scheme Procedure} executable-file? @var{file}"
  13632. msgstr ""
  13633. #. type: deffn
  13634. #: guix-git/doc/guix.texi:8576
  13635. msgid "Return @code{#t} if @var{file} exists and is executable."
  13636. msgstr ""
  13637. #. type: deffn
  13638. #: guix-git/doc/guix.texi:8578
  13639. #, no-wrap
  13640. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  13641. msgstr ""
  13642. #. type: deffn
  13643. #: guix-git/doc/guix.texi:8580
  13644. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  13645. msgstr ""
  13646. #. type: deffn
  13647. #: guix-git/doc/guix.texi:8582
  13648. #, no-wrap
  13649. msgid "{Scheme Procedure} elf-file? @var{file}"
  13650. msgstr ""
  13651. #. type: deffnx
  13652. #: guix-git/doc/guix.texi:8583
  13653. #, no-wrap
  13654. msgid "{Scheme Procedure} ar-file? @var{file}"
  13655. msgstr ""
  13656. #. type: deffnx
  13657. #: guix-git/doc/guix.texi:8584
  13658. #, no-wrap
  13659. msgid "{Scheme Procedure} gzip-file? @var{file}"
  13660. msgstr ""
  13661. #. type: deffn
  13662. #: guix-git/doc/guix.texi:8587
  13663. 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."
  13664. msgstr ""
  13665. #. type: deffn
  13666. #: guix-git/doc/guix.texi:8589
  13667. #, no-wrap
  13668. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  13669. msgstr ""
  13670. #. type: deffn
  13671. #: guix-git/doc/guix.texi:8593
  13672. 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."
  13673. msgstr ""
  13674. #. type: subsection
  13675. #: guix-git/doc/guix.texi:8595
  13676. #, no-wrap
  13677. msgid "File Manipulation"
  13678. msgstr ""
  13679. #. type: Plain text
  13680. #: guix-git/doc/guix.texi:8602
  13681. 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})."
  13682. msgstr ""
  13683. #. type: deffn
  13684. #: guix-git/doc/guix.texi:8603
  13685. #, no-wrap
  13686. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  13687. msgstr ""
  13688. #. type: deffn
  13689. #: guix-git/doc/guix.texi:8605
  13690. msgid "Run @var{body} with @var{directory} as the process's current directory."
  13691. msgstr ""
  13692. #. type: deffn
  13693. #: guix-git/doc/guix.texi:8612
  13694. 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."
  13695. msgstr ""
  13696. #. type: deffn
  13697. #: guix-git/doc/guix.texi:8614
  13698. #, no-wrap
  13699. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  13700. msgstr ""
  13701. #. type: deffn
  13702. #: guix-git/doc/guix.texi:8616
  13703. msgid "Create directory @var{dir} and all its ancestors."
  13704. msgstr ""
  13705. #. type: deffn
  13706. #: guix-git/doc/guix.texi:8618
  13707. #, no-wrap
  13708. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  13709. msgstr ""
  13710. #. type: deffn
  13711. #: guix-git/doc/guix.texi:8621
  13712. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  13713. msgstr ""
  13714. #. type: deffn
  13715. #: guix-git/doc/guix.texi:8623
  13716. #, no-wrap
  13717. msgid "{Scheme Procedure} make-file-writable @var{file}"
  13718. msgstr ""
  13719. #. type: deffn
  13720. #: guix-git/doc/guix.texi:8625
  13721. msgid "Make @var{file} writable for its owner."
  13722. msgstr ""
  13723. #. type: deffn
  13724. #: guix-git/doc/guix.texi:8627
  13725. #, no-wrap
  13726. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  13727. msgstr ""
  13728. #. type: deffn
  13729. #: guix-git/doc/guix.texi:8634
  13730. msgid "[#:log (current-output-port)] [#:follow-symlinks? #f] [#:keep-mtime? #f] Copy @var{source} directory to @var{destination}. Follow symlinks if @var{follow-symlinks?} is true; otherwise, just preserve them. When @var{keep-mtime?} is true, keep the modification time of the files in @var{source} on those of @var{destination}. Write verbose output to the @var{log} port."
  13731. msgstr ""
  13732. #. type: deffn
  13733. #: guix-git/doc/guix.texi:8636
  13734. #, no-wrap
  13735. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  13736. msgstr ""
  13737. #. type: deffn
  13738. #: guix-git/doc/guix.texi:8641
  13739. 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."
  13740. msgstr ""
  13741. #. type: deffn
  13742. #: guix-git/doc/guix.texi:8643
  13743. #, no-wrap
  13744. msgid "{Scheme Syntax} substitute* @var{file} @"
  13745. msgstr ""
  13746. #. type: deffn
  13747. #: guix-git/doc/guix.texi:8648
  13748. 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:"
  13749. msgstr ""
  13750. #. type: lisp
  13751. #: guix-git/doc/guix.texi:8655
  13752. #, no-wrap
  13753. msgid ""
  13754. "(substitute* file\n"
  13755. " ((\"hello\")\n"
  13756. " \"good morning\\n\")\n"
  13757. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  13758. " (string-append \"baz\" letter end)))\n"
  13759. msgstr ""
  13760. #. type: deffn
  13761. #: guix-git/doc/guix.texi:8661
  13762. 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."
  13763. msgstr ""
  13764. #. type: deffn
  13765. #: guix-git/doc/guix.texi:8664
  13766. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  13767. msgstr ""
  13768. #. type: deffn
  13769. #: guix-git/doc/guix.texi:8667
  13770. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  13771. msgstr ""
  13772. #. type: deffn
  13773. #: guix-git/doc/guix.texi:8670
  13774. 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."
  13775. msgstr ""
  13776. #. type: subsection
  13777. #: guix-git/doc/guix.texi:8672
  13778. #, no-wrap
  13779. msgid "File Search"
  13780. msgstr ""
  13781. #. type: cindex
  13782. #: guix-git/doc/guix.texi:8674
  13783. #, no-wrap
  13784. msgid "file, searching"
  13785. msgstr ""
  13786. #. type: Plain text
  13787. #: guix-git/doc/guix.texi:8676
  13788. msgid "This section documents procedures to search and filter files."
  13789. msgstr ""
  13790. #. type: deffn
  13791. #: guix-git/doc/guix.texi:8677
  13792. #, no-wrap
  13793. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  13794. msgstr ""
  13795. #. type: deffn
  13796. #: guix-git/doc/guix.texi:8680
  13797. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  13798. msgstr ""
  13799. #. type: deffn
  13800. #: guix-git/doc/guix.texi:8682
  13801. #, no-wrap
  13802. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  13803. msgstr ""
  13804. #. type: deffn
  13805. #: guix-git/doc/guix.texi:8693
  13806. 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."
  13807. msgstr ""
  13808. #. type: Plain text
  13809. #: guix-git/doc/guix.texi:8697
  13810. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  13811. msgstr ""
  13812. #. type: lisp
  13813. #: guix-git/doc/guix.texi:8702
  13814. #, no-wrap
  13815. msgid ""
  13816. ";; List all the regular files in the current directory.\n"
  13817. "(find-files \".\")\n"
  13818. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  13819. "\n"
  13820. msgstr ""
  13821. #. type: lisp
  13822. #: guix-git/doc/guix.texi:8706
  13823. #, no-wrap
  13824. msgid ""
  13825. ";; List all the .scm files under gnu/services.\n"
  13826. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  13827. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  13828. "\n"
  13829. msgstr ""
  13830. #. type: lisp
  13831. #: guix-git/doc/guix.texi:8710
  13832. #, no-wrap
  13833. msgid ""
  13834. ";; List ar files in the current directory.\n"
  13835. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  13836. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  13837. msgstr ""
  13838. #. type: deffn
  13839. #: guix-git/doc/guix.texi:8712
  13840. #, no-wrap
  13841. msgid "{Scheme Procedure} which @var{program}"
  13842. msgstr ""
  13843. #. type: deffn
  13844. #: guix-git/doc/guix.texi:8715
  13845. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  13846. msgstr ""
  13847. #. type: Plain text
  13848. #: guix-git/doc/guix.texi:8726
  13849. 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})."
  13850. msgstr ""
  13851. #. type: Plain text
  13852. #: guix-git/doc/guix.texi:8730
  13853. 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."
  13854. msgstr ""
  13855. #. type: cindex
  13856. #: guix-git/doc/guix.texi:8731
  13857. #, no-wrap
  13858. msgid "build phases, modifying"
  13859. msgstr ""
  13860. #. type: deffn
  13861. #: guix-git/doc/guix.texi:8732
  13862. #, no-wrap
  13863. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  13864. msgstr ""
  13865. #. type: deffn
  13866. #: guix-git/doc/guix.texi:8735
  13867. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  13868. msgstr ""
  13869. #. type: lisp
  13870. #: guix-git/doc/guix.texi:8741
  13871. #, no-wrap
  13872. msgid ""
  13873. "(delete @var{old-phase-name})\n"
  13874. "(replace @var{old-phase-name} @var{new-phase})\n"
  13875. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13876. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13877. msgstr ""
  13878. #. type: deffn
  13879. #: guix-git/doc/guix.texi:8745
  13880. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  13881. msgstr ""
  13882. #. type: Plain text
  13883. #: guix-git/doc/guix.texi:8756
  13884. 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:"
  13885. msgstr ""
  13886. #. type: lisp
  13887. #: guix-git/doc/guix.texi:8770
  13888. #, no-wrap
  13889. msgid ""
  13890. "(modify-phases %standard-phases\n"
  13891. " (add-after 'install 'fix-egrep-and-fgrep\n"
  13892. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  13893. " ;; absolute file name instead of searching for it in $PATH.\n"
  13894. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13895. " (let* ((out (assoc-ref outputs \"out\"))\n"
  13896. " (bin (string-append out \"/bin\")))\n"
  13897. " (substitute* (list (string-append bin \"/egrep\")\n"
  13898. " (string-append bin \"/fgrep\"))\n"
  13899. " ((\"^exec grep\")\n"
  13900. " (string-append \"exec \" bin \"/grep\")))\n"
  13901. " #t))))\n"
  13902. msgstr ""
  13903. #. type: Plain text
  13904. #: guix-git/doc/guix.texi:8777
  13905. 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:"
  13906. msgstr ""
  13907. #. type: lisp
  13908. #: guix-git/doc/guix.texi:8790
  13909. #, no-wrap
  13910. msgid ""
  13911. "(modify-phases %standard-phases\n"
  13912. " (delete 'configure) ;no 'configure' script\n"
  13913. " (replace 'install\n"
  13914. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13915. " ;; The package's Makefile doesn't provide an \"install\"\n"
  13916. " ;; rule so do it by ourselves.\n"
  13917. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  13918. " \"/bin\")))\n"
  13919. " (install-file \"footswitch\" bin)\n"
  13920. " (install-file \"scythe\" bin)\n"
  13921. " #t))))\n"
  13922. msgstr ""
  13923. #. type: cindex
  13924. #: guix-git/doc/guix.texi:8798
  13925. #, no-wrap
  13926. msgid "store items"
  13927. msgstr ""
  13928. #. type: cindex
  13929. #: guix-git/doc/guix.texi:8799
  13930. #, no-wrap
  13931. msgid "store paths"
  13932. msgstr ""
  13933. #. type: Plain text
  13934. #: guix-git/doc/guix.texi:8810
  13935. 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}."
  13936. msgstr ""
  13937. #. type: Plain text
  13938. #: guix-git/doc/guix.texi:8815
  13939. 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."
  13940. msgstr ""
  13941. #. type: quotation
  13942. #: guix-git/doc/guix.texi:8820
  13943. 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})."
  13944. msgstr ""
  13945. #. type: quotation
  13946. #: guix-git/doc/guix.texi:8824
  13947. 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."
  13948. msgstr ""
  13949. #. type: Plain text
  13950. #: guix-git/doc/guix.texi:8831
  13951. 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."
  13952. msgstr ""
  13953. #. type: defvr
  13954. #: guix-git/doc/guix.texi:8832
  13955. #, no-wrap
  13956. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  13957. msgstr ""
  13958. #. type: defvr
  13959. #: guix-git/doc/guix.texi:8837
  13960. 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:"
  13961. msgstr ""
  13962. #. type: code{#1}
  13963. #: guix-git/doc/guix.texi:8839 guix-git/doc/guix.texi:25026
  13964. #, no-wrap
  13965. msgid "file"
  13966. msgstr ""
  13967. #. type: itemx
  13968. #: guix-git/doc/guix.texi:8840
  13969. #, no-wrap
  13970. msgid "unix"
  13971. msgstr ""
  13972. #. type: table
  13973. #: guix-git/doc/guix.texi:8844
  13974. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  13975. msgstr ""
  13976. #. type: table
  13977. #: guix-git/doc/guix.texi:8853
  13978. 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):"
  13979. msgstr ""
  13980. #. type: example
  13981. #: guix-git/doc/guix.texi:8856
  13982. #, no-wrap
  13983. msgid "guix://master.guix.example.org:1234\n"
  13984. msgstr ""
  13985. #. type: table
  13986. #: guix-git/doc/guix.texi:8861
  13987. 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}."
  13988. msgstr ""
  13989. #. type: table
  13990. #: guix-git/doc/guix.texi:8865
  13991. 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}})."
  13992. msgstr ""
  13993. #. type: item
  13994. #: guix-git/doc/guix.texi:8866
  13995. #, no-wrap
  13996. msgid "ssh"
  13997. msgstr ""
  13998. #. type: cindex
  13999. #: guix-git/doc/guix.texi:8867
  14000. #, no-wrap
  14001. msgid "SSH access to build daemons"
  14002. msgstr ""
  14003. #. type: table
  14004. #: guix-git/doc/guix.texi:8873
  14005. 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:"
  14006. msgstr ""
  14007. #. type: example
  14008. #: guix-git/doc/guix.texi:8876
  14009. #, no-wrap
  14010. msgid "ssh://charlie@@guix.example.org:22\n"
  14011. msgstr ""
  14012. #. type: table
  14013. #: guix-git/doc/guix.texi:8880
  14014. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  14015. msgstr ""
  14016. #. type: defvr
  14017. #: guix-git/doc/guix.texi:8883
  14018. msgid "Additional URI schemes may be supported in the future."
  14019. msgstr ""
  14020. #. type: quotation
  14021. #: guix-git/doc/guix.texi:8890
  14022. 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})."
  14023. msgstr ""
  14024. #. type: deffn
  14025. #: guix-git/doc/guix.texi:8893
  14026. #, no-wrap
  14027. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  14028. msgstr ""
  14029. #. type: deffn
  14030. #: guix-git/doc/guix.texi:8898
  14031. 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."
  14032. msgstr ""
  14033. #. type: deffn
  14034. #: guix-git/doc/guix.texi:8901
  14035. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  14036. msgstr ""
  14037. #. type: deffn
  14038. #: guix-git/doc/guix.texi:8903
  14039. #, no-wrap
  14040. msgid "{Scheme Procedure} close-connection @var{server}"
  14041. msgstr ""
  14042. #. type: deffn
  14043. #: guix-git/doc/guix.texi:8905
  14044. msgid "Close the connection to @var{server}."
  14045. msgstr ""
  14046. #. type: defvr
  14047. #: guix-git/doc/guix.texi:8907
  14048. #, no-wrap
  14049. msgid "{Scheme Variable} current-build-output-port"
  14050. msgstr ""
  14051. #. type: defvr
  14052. #: guix-git/doc/guix.texi:8910
  14053. 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."
  14054. msgstr ""
  14055. #. type: Plain text
  14056. #: guix-git/doc/guix.texi:8914
  14057. msgid "Procedures that make RPCs all take a server object as their first argument."
  14058. msgstr ""
  14059. #. type: deffn
  14060. #: guix-git/doc/guix.texi:8915
  14061. #, no-wrap
  14062. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  14063. msgstr ""
  14064. #. type: cindex
  14065. #: guix-git/doc/guix.texi:8916
  14066. #, no-wrap
  14067. msgid "invalid store items"
  14068. msgstr ""
  14069. #. type: deffn
  14070. #: guix-git/doc/guix.texi:8921
  14071. 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)."
  14072. msgstr ""
  14073. #. type: deffn
  14074. #: guix-git/doc/guix.texi:8924
  14075. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  14076. msgstr ""
  14077. #. type: deffn
  14078. #: guix-git/doc/guix.texi:8926
  14079. #, no-wrap
  14080. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  14081. msgstr ""
  14082. #. type: deffn
  14083. #: guix-git/doc/guix.texi:8930
  14084. 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."
  14085. msgstr ""
  14086. #. type: deffn
  14087. #: guix-git/doc/guix.texi:8932
  14088. #, no-wrap
  14089. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  14090. msgstr ""
  14091. #. type: deffn
  14092. #: guix-git/doc/guix.texi:8937
  14093. 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."
  14094. msgstr ""
  14095. #. type: Plain text
  14096. #: guix-git/doc/guix.texi:8943
  14097. 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})."
  14098. msgstr ""
  14099. #. type: i{#1}
  14100. #: guix-git/doc/guix.texi:8946
  14101. msgid "This section is currently incomplete."
  14102. msgstr ""
  14103. #. type: cindex
  14104. #: guix-git/doc/guix.texi:8950
  14105. #, no-wrap
  14106. msgid "derivations"
  14107. msgstr ""
  14108. #. type: Plain text
  14109. #: guix-git/doc/guix.texi:8954
  14110. 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:"
  14111. msgstr ""
  14112. #. type: itemize
  14113. #: guix-git/doc/guix.texi:8959
  14114. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  14115. msgstr ""
  14116. #. type: cindex
  14117. #: guix-git/doc/guix.texi:8961
  14118. #, no-wrap
  14119. msgid "build-time dependencies"
  14120. msgstr ""
  14121. #. type: cindex
  14122. #: guix-git/doc/guix.texi:8962
  14123. #, no-wrap
  14124. msgid "dependencies, build-time"
  14125. msgstr ""
  14126. #. type: itemize
  14127. #: guix-git/doc/guix.texi:8966
  14128. 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.)."
  14129. msgstr ""
  14130. #. type: itemize
  14131. #: guix-git/doc/guix.texi:8969
  14132. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  14133. msgstr ""
  14134. #. type: itemize
  14135. #: guix-git/doc/guix.texi:8973
  14136. msgid "The file name of a build script in the store, along with the arguments to be passed."
  14137. msgstr ""
  14138. #. type: itemize
  14139. #: guix-git/doc/guix.texi:8976
  14140. msgid "A list of environment variables to be defined."
  14141. msgstr ""
  14142. #. type: cindex
  14143. #: guix-git/doc/guix.texi:8979
  14144. #, no-wrap
  14145. msgid "derivation path"
  14146. msgstr ""
  14147. #. type: Plain text
  14148. #: guix-git/doc/guix.texi:8987
  14149. 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})."
  14150. msgstr ""
  14151. #. type: cindex
  14152. #: guix-git/doc/guix.texi:8988
  14153. #, no-wrap
  14154. msgid "fixed-output derivations"
  14155. msgstr ""
  14156. #. type: Plain text
  14157. #: guix-git/doc/guix.texi:8995
  14158. 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."
  14159. msgstr ""
  14160. #. type: item
  14161. #: guix-git/doc/guix.texi:8996 guix-git/doc/guix.texi:12539
  14162. #, no-wrap
  14163. msgid "references"
  14164. msgstr ""
  14165. #. type: cindex
  14166. #: guix-git/doc/guix.texi:8997
  14167. #, no-wrap
  14168. msgid "run-time dependencies"
  14169. msgstr ""
  14170. #. type: cindex
  14171. #: guix-git/doc/guix.texi:8998
  14172. #, no-wrap
  14173. msgid "dependencies, run-time"
  14174. msgstr ""
  14175. #. type: Plain text
  14176. #: guix-git/doc/guix.texi:9005
  14177. 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."
  14178. msgstr ""
  14179. #. type: Plain text
  14180. #: guix-git/doc/guix.texi:9010
  14181. 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:"
  14182. msgstr ""
  14183. #. type: deffn
  14184. #: guix-git/doc/guix.texi:9011
  14185. #, no-wrap
  14186. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  14187. msgstr ""
  14188. #. type: deffn
  14189. #: guix-git/doc/guix.texi:9020
  14190. 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."
  14191. msgstr ""
  14192. #. type: deffn
  14193. #: guix-git/doc/guix.texi:9027
  14194. 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."
  14195. msgstr ""
  14196. #. type: deffn
  14197. #: guix-git/doc/guix.texi:9032
  14198. 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."
  14199. msgstr ""
  14200. #. type: deffn
  14201. #: guix-git/doc/guix.texi:9037
  14202. 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."
  14203. msgstr ""
  14204. #. type: deffn
  14205. #: guix-git/doc/guix.texi:9044
  14206. 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."
  14207. msgstr ""
  14208. #. type: deffn
  14209. #: guix-git/doc/guix.texi:9049
  14210. 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."
  14211. msgstr ""
  14212. #. type: deffn
  14213. #: guix-git/doc/guix.texi:9054
  14214. 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."
  14215. msgstr ""
  14216. #. type: deffn
  14217. #: guix-git/doc/guix.texi:9057
  14218. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  14219. msgstr ""
  14220. #. type: Plain text
  14221. #: guix-git/doc/guix.texi:9063
  14222. 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:"
  14223. msgstr ""
  14224. #. type: lisp
  14225. #: guix-git/doc/guix.texi:9068
  14226. #, no-wrap
  14227. msgid ""
  14228. "(use-modules (guix utils)\n"
  14229. " (guix store)\n"
  14230. " (guix derivations))\n"
  14231. "\n"
  14232. msgstr ""
  14233. #. type: lisp
  14234. #: guix-git/doc/guix.texi:9077
  14235. #, no-wrap
  14236. msgid ""
  14237. "(let ((builder ; add the Bash script to the store\n"
  14238. " (add-text-to-store store \"my-builder.sh\"\n"
  14239. " \"echo hello world > $out\\n\" '())))\n"
  14240. " (derivation store \"foo\"\n"
  14241. " bash `(\"-e\" ,builder)\n"
  14242. " #:inputs `((,bash) (,builder))\n"
  14243. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  14244. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  14245. msgstr ""
  14246. #. type: Plain text
  14247. #: guix-git/doc/guix.texi:9084
  14248. 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}."
  14249. msgstr ""
  14250. #. type: Plain text
  14251. #: guix-git/doc/guix.texi:9089
  14252. 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}."
  14253. msgstr ""
  14254. #. type: deffn
  14255. #: guix-git/doc/guix.texi:9090
  14256. #, no-wrap
  14257. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  14258. msgstr ""
  14259. #. type: deffn
  14260. #: guix-git/doc/guix.texi:9106
  14261. 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))}."
  14262. msgstr ""
  14263. #. type: deffn
  14264. #: guix-git/doc/guix.texi:9114
  14265. 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."
  14266. msgstr ""
  14267. #. type: deffn
  14268. #: guix-git/doc/guix.texi:9118
  14269. 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."
  14270. msgstr ""
  14271. #. type: deffn
  14272. #: guix-git/doc/guix.texi:9123
  14273. 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?}."
  14274. msgstr ""
  14275. #. type: Plain text
  14276. #: guix-git/doc/guix.texi:9128
  14277. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  14278. msgstr ""
  14279. #. type: lisp
  14280. #: guix-git/doc/guix.texi:9136
  14281. #, no-wrap
  14282. msgid ""
  14283. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  14284. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  14285. " (call-with-output-file (string-append out \"/test\")\n"
  14286. " (lambda (p)\n"
  14287. " (display '(hello guix) p))))))\n"
  14288. " (build-expression->derivation store \"goo\" builder))\n"
  14289. "\n"
  14290. msgstr ""
  14291. #. type: lisp
  14292. #: guix-git/doc/guix.texi:9138
  14293. #, no-wrap
  14294. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  14295. msgstr ""
  14296. #. type: cindex
  14297. #: guix-git/doc/guix.texi:9144
  14298. #, no-wrap
  14299. msgid "monad"
  14300. msgstr ""
  14301. #. type: Plain text
  14302. #: guix-git/doc/guix.texi:9150
  14303. 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."
  14304. msgstr ""
  14305. #. type: Plain text
  14306. #: guix-git/doc/guix.texi:9156
  14307. 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."
  14308. msgstr ""
  14309. #. type: cindex
  14310. #: guix-git/doc/guix.texi:9157
  14311. #, no-wrap
  14312. msgid "monadic values"
  14313. msgstr ""
  14314. #. type: cindex
  14315. #: guix-git/doc/guix.texi:9158
  14316. #, no-wrap
  14317. msgid "monadic functions"
  14318. msgstr ""
  14319. #. type: Plain text
  14320. #: guix-git/doc/guix.texi:9168
  14321. 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}."
  14322. msgstr ""
  14323. #. type: Plain text
  14324. #: guix-git/doc/guix.texi:9170
  14325. msgid "Consider this ``normal'' procedure:"
  14326. msgstr ""
  14327. #. type: lisp
  14328. #: guix-git/doc/guix.texi:9179
  14329. #, no-wrap
  14330. msgid ""
  14331. "(define (sh-symlink store)\n"
  14332. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  14333. " (let* ((drv (package-derivation store bash))\n"
  14334. " (out (derivation->output-path drv))\n"
  14335. " (sh (string-append out \"/bin/bash\")))\n"
  14336. " (build-expression->derivation store \"sh\"\n"
  14337. " `(symlink ,sh %output))))\n"
  14338. msgstr ""
  14339. #. type: Plain text
  14340. #: guix-git/doc/guix.texi:9183
  14341. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  14342. msgstr ""
  14343. #. type: lisp
  14344. #: guix-git/doc/guix.texi:9191
  14345. #, no-wrap
  14346. msgid ""
  14347. "(define (sh-symlink)\n"
  14348. " ;; Same, but return a monadic value.\n"
  14349. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  14350. " (gexp->derivation \"sh\"\n"
  14351. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  14352. " #$output))))\n"
  14353. msgstr ""
  14354. #. type: Plain text
  14355. #: guix-git/doc/guix.texi:9198
  14356. 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}."
  14357. msgstr ""
  14358. #. type: Plain text
  14359. #: guix-git/doc/guix.texi:9202
  14360. 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}):"
  14361. msgstr ""
  14362. #. type: lisp
  14363. #: guix-git/doc/guix.texi:9208
  14364. #, no-wrap
  14365. msgid ""
  14366. "(define (sh-symlink)\n"
  14367. " (gexp->derivation \"sh\"\n"
  14368. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  14369. " #$output)))\n"
  14370. msgstr ""
  14371. #. type: Plain text
  14372. #: guix-git/doc/guix.texi:9217
  14373. 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}:"
  14374. msgstr ""
  14375. #. type: lisp
  14376. #: guix-git/doc/guix.texi:9221
  14377. #, no-wrap
  14378. msgid ""
  14379. "(run-with-store (open-connection) (sh-symlink))\n"
  14380. "@result{} /gnu/store/...-sh-symlink\n"
  14381. msgstr ""
  14382. #. type: Plain text
  14383. #: guix-git/doc/guix.texi:9227
  14384. 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:"
  14385. msgstr ""
  14386. #. type: example
  14387. #: guix-git/doc/guix.texi:9231
  14388. #, no-wrap
  14389. msgid ""
  14390. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  14391. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  14392. msgstr ""
  14393. #. type: Plain text
  14394. #: guix-git/doc/guix.texi:9235
  14395. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  14396. msgstr ""
  14397. #. type: example
  14398. #: guix-git/doc/guix.texi:9244
  14399. #, no-wrap
  14400. msgid ""
  14401. "scheme@@(guile-user)> ,enter-store-monad\n"
  14402. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  14403. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  14404. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  14405. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  14406. "store-monad@@(guile-user) [1]> ,q\n"
  14407. "scheme@@(guile-user)>\n"
  14408. msgstr ""
  14409. #. type: Plain text
  14410. #: guix-git/doc/guix.texi:9249
  14411. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  14412. msgstr ""
  14413. #. type: Plain text
  14414. #: guix-git/doc/guix.texi:9252
  14415. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  14416. msgstr ""
  14417. #. type: deffn
  14418. #: guix-git/doc/guix.texi:9253
  14419. #, no-wrap
  14420. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  14421. msgstr ""
  14422. #. type: deffn
  14423. #: guix-git/doc/guix.texi:9256
  14424. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  14425. msgstr ""
  14426. #. type: deffn
  14427. #: guix-git/doc/guix.texi:9258
  14428. #, no-wrap
  14429. msgid "{Scheme Syntax} return @var{val}"
  14430. msgstr ""
  14431. #. type: deffn
  14432. #: guix-git/doc/guix.texi:9260
  14433. msgid "Return a monadic value that encapsulates @var{val}."
  14434. msgstr ""
  14435. #. type: deffn
  14436. #: guix-git/doc/guix.texi:9262
  14437. #, no-wrap
  14438. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  14439. msgstr ""
  14440. #. type: deffn
  14441. #: guix-git/doc/guix.texi:9269
  14442. 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:"
  14443. msgstr ""
  14444. #. type: lisp
  14445. #: guix-git/doc/guix.texi:9277
  14446. #, no-wrap
  14447. msgid ""
  14448. "(run-with-state\n"
  14449. " (with-monad %state-monad\n"
  14450. " (>>= (return 1)\n"
  14451. " (lambda (x) (return (+ 1 x)))\n"
  14452. " (lambda (x) (return (* 2 x)))))\n"
  14453. " 'some-state)\n"
  14454. "\n"
  14455. msgstr ""
  14456. #. type: lisp
  14457. #: guix-git/doc/guix.texi:9280
  14458. #, no-wrap
  14459. msgid ""
  14460. "@result{} 4\n"
  14461. "@result{} some-state\n"
  14462. msgstr ""
  14463. #. type: deffn
  14464. #: guix-git/doc/guix.texi:9283
  14465. #, no-wrap
  14466. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  14467. msgstr ""
  14468. #. type: deffn
  14469. #: guix-git/doc/guix.texi:9285
  14470. msgid "@var{body} ..."
  14471. msgstr ""
  14472. #. type: deffnx
  14473. #: guix-git/doc/guix.texi:9285
  14474. #, no-wrap
  14475. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  14476. msgstr ""
  14477. #. type: deffn
  14478. #: guix-git/doc/guix.texi:9297
  14479. 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}."
  14480. msgstr ""
  14481. #. type: deffn
  14482. #: guix-git/doc/guix.texi:9300
  14483. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  14484. msgstr ""
  14485. #. type: deffn
  14486. #: guix-git/doc/guix.texi:9302
  14487. #, no-wrap
  14488. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  14489. msgstr ""
  14490. #. type: deffn
  14491. #: guix-git/doc/guix.texi:9306
  14492. 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."
  14493. msgstr ""
  14494. #. type: deffn
  14495. #: guix-git/doc/guix.texi:9310
  14496. 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."
  14497. msgstr ""
  14498. #. type: deffn
  14499. #: guix-git/doc/guix.texi:9312
  14500. #, no-wrap
  14501. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  14502. msgstr ""
  14503. #. type: deffn
  14504. #: guix-git/doc/guix.texi:9317
  14505. 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."
  14506. msgstr ""
  14507. #. type: deffn
  14508. #: guix-git/doc/guix.texi:9319
  14509. #, no-wrap
  14510. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  14511. msgstr ""
  14512. #. type: deffn
  14513. #: guix-git/doc/guix.texi:9324
  14514. 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."
  14515. msgstr ""
  14516. #. type: cindex
  14517. #: guix-git/doc/guix.texi:9326
  14518. #, no-wrap
  14519. msgid "state monad"
  14520. msgstr ""
  14521. #. type: Plain text
  14522. #: guix-git/doc/guix.texi:9330
  14523. 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."
  14524. msgstr ""
  14525. #. type: defvr
  14526. #: guix-git/doc/guix.texi:9331
  14527. #, no-wrap
  14528. msgid "{Scheme Variable} %state-monad"
  14529. msgstr ""
  14530. #. type: defvr
  14531. #: guix-git/doc/guix.texi:9334
  14532. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  14533. msgstr ""
  14534. #. type: defvr
  14535. #: guix-git/doc/guix.texi:9338
  14536. 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:"
  14537. msgstr ""
  14538. #. type: lisp
  14539. #: guix-git/doc/guix.texi:9345
  14540. #, no-wrap
  14541. msgid ""
  14542. "(define (square x)\n"
  14543. " (mlet %state-monad ((count (current-state)))\n"
  14544. " (mbegin %state-monad\n"
  14545. " (set-current-state (+ 1 count))\n"
  14546. " (return (* x x)))))\n"
  14547. "\n"
  14548. msgstr ""
  14549. #. type: lisp
  14550. #: guix-git/doc/guix.texi:9349
  14551. #, no-wrap
  14552. msgid ""
  14553. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  14554. "@result{} (0 1 4)\n"
  14555. "@result{} 3\n"
  14556. msgstr ""
  14557. #. type: defvr
  14558. #: guix-git/doc/guix.texi:9353
  14559. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  14560. msgstr ""
  14561. #. type: deffn
  14562. #: guix-git/doc/guix.texi:9355
  14563. #, no-wrap
  14564. msgid "{Monadic Procedure} current-state"
  14565. msgstr ""
  14566. #. type: deffn
  14567. #: guix-git/doc/guix.texi:9357
  14568. msgid "Return the current state as a monadic value."
  14569. msgstr ""
  14570. #. type: deffn
  14571. #: guix-git/doc/guix.texi:9359
  14572. #, no-wrap
  14573. msgid "{Monadic Procedure} set-current-state @var{value}"
  14574. msgstr ""
  14575. #. type: deffn
  14576. #: guix-git/doc/guix.texi:9362
  14577. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  14578. msgstr ""
  14579. #. type: deffn
  14580. #: guix-git/doc/guix.texi:9364
  14581. #, no-wrap
  14582. msgid "{Monadic Procedure} state-push @var{value}"
  14583. msgstr ""
  14584. #. type: deffn
  14585. #: guix-git/doc/guix.texi:9367
  14586. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  14587. msgstr ""
  14588. #. type: deffn
  14589. #: guix-git/doc/guix.texi:9369
  14590. #, no-wrap
  14591. msgid "{Monadic Procedure} state-pop"
  14592. msgstr ""
  14593. #. type: deffn
  14594. #: guix-git/doc/guix.texi:9372
  14595. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  14596. msgstr ""
  14597. #. type: deffn
  14598. #: guix-git/doc/guix.texi:9374
  14599. #, no-wrap
  14600. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  14601. msgstr ""
  14602. #. type: deffn
  14603. #: guix-git/doc/guix.texi:9377
  14604. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  14605. msgstr ""
  14606. #. type: Plain text
  14607. #: guix-git/doc/guix.texi:9381
  14608. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  14609. msgstr ""
  14610. #. type: defvr
  14611. #: guix-git/doc/guix.texi:9382
  14612. #, no-wrap
  14613. msgid "{Scheme Variable} %store-monad"
  14614. msgstr ""
  14615. #. type: defvr
  14616. #: guix-git/doc/guix.texi:9384
  14617. msgid "The store monad---an alias for @code{%state-monad}."
  14618. msgstr ""
  14619. #. type: defvr
  14620. #: guix-git/doc/guix.texi:9388
  14621. 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)."
  14622. msgstr ""
  14623. #. type: deffn
  14624. #: guix-git/doc/guix.texi:9390
  14625. #, no-wrap
  14626. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  14627. msgstr ""
  14628. #. type: deffn
  14629. #: guix-git/doc/guix.texi:9393
  14630. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  14631. msgstr ""
  14632. #. type: deffn
  14633. #: guix-git/doc/guix.texi:9395
  14634. #, no-wrap
  14635. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  14636. msgstr ""
  14637. #. type: deffn
  14638. #: guix-git/doc/guix.texi:9399
  14639. 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."
  14640. msgstr ""
  14641. #. type: deffn
  14642. #: guix-git/doc/guix.texi:9401
  14643. #, no-wrap
  14644. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  14645. msgstr ""
  14646. #. type: deffn
  14647. #: guix-git/doc/guix.texi:9405
  14648. 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."
  14649. msgstr ""
  14650. #. type: deffn
  14651. #: guix-git/doc/guix.texi:9407
  14652. #, no-wrap
  14653. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  14654. msgstr ""
  14655. #. type: deffn
  14656. #: guix-git/doc/guix.texi:9412
  14657. 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."
  14658. msgstr ""
  14659. #. type: deffn
  14660. #: guix-git/doc/guix.texi:9416 guix-git/doc/guix.texi:9839
  14661. 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."
  14662. msgstr ""
  14663. #. type: deffn
  14664. #: guix-git/doc/guix.texi:9421 guix-git/doc/guix.texi:9844
  14665. 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."
  14666. msgstr ""
  14667. #. type: deffn
  14668. #: guix-git/doc/guix.texi:9423
  14669. msgid "The example below adds a file to the store, under two different names:"
  14670. msgstr ""
  14671. #. type: lisp
  14672. #: guix-git/doc/guix.texi:9429
  14673. #, no-wrap
  14674. msgid ""
  14675. "(run-with-store (open-connection)\n"
  14676. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  14677. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  14678. " (return (list a b))))\n"
  14679. "\n"
  14680. msgstr ""
  14681. #. type: lisp
  14682. #: guix-git/doc/guix.texi:9431
  14683. #, no-wrap
  14684. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  14685. msgstr ""
  14686. #. type: Plain text
  14687. #: guix-git/doc/guix.texi:9437
  14688. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  14689. msgstr ""
  14690. #. type: deffn
  14691. #: guix-git/doc/guix.texi:9438
  14692. #, no-wrap
  14693. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  14694. msgstr ""
  14695. #. type: deffn
  14696. #: guix-git/doc/guix.texi:9446
  14697. 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."
  14698. msgstr ""
  14699. #. type: deffn
  14700. #: guix-git/doc/guix.texi:9450
  14701. 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."
  14702. msgstr ""
  14703. #. type: deffn
  14704. #: guix-git/doc/guix.texi:9452
  14705. #, no-wrap
  14706. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  14707. msgstr ""
  14708. #. type: deffnx
  14709. #: guix-git/doc/guix.texi:9453
  14710. #, no-wrap
  14711. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  14712. msgstr ""
  14713. #. type: deffn
  14714. #: guix-git/doc/guix.texi:9457
  14715. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  14716. msgstr ""
  14717. #. type: cindex
  14718. #: guix-git/doc/guix.texi:9463
  14719. #, no-wrap
  14720. msgid "G-expression"
  14721. msgstr ""
  14722. #. type: cindex
  14723. #: guix-git/doc/guix.texi:9464
  14724. #, no-wrap
  14725. msgid "build code quoting"
  14726. msgstr ""
  14727. #. type: Plain text
  14728. #: guix-git/doc/guix.texi:9470
  14729. 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})."
  14730. msgstr ""
  14731. #. type: cindex
  14732. #: guix-git/doc/guix.texi:9473
  14733. #, no-wrap
  14734. msgid "strata of code"
  14735. msgstr ""
  14736. #. type: Plain text
  14737. #: guix-git/doc/guix.texi:9485
  14738. 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})."
  14739. msgstr ""
  14740. #. type: Plain text
  14741. #: guix-git/doc/guix.texi:9492
  14742. 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."
  14743. msgstr ""
  14744. #. type: Plain text
  14745. #: guix-git/doc/guix.texi:9501
  14746. 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:"
  14747. msgstr ""
  14748. #. type: itemize
  14749. #: guix-git/doc/guix.texi:9506
  14750. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  14751. msgstr ""
  14752. #. type: itemize
  14753. #: guix-git/doc/guix.texi:9511
  14754. 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."
  14755. msgstr ""
  14756. #. type: itemize
  14757. #: guix-git/doc/guix.texi:9516
  14758. 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."
  14759. msgstr ""
  14760. #. type: cindex
  14761. #: guix-git/doc/guix.texi:9518 guix-git/doc/guix.texi:10075
  14762. #, no-wrap
  14763. msgid "lowering, of high-level objects in gexps"
  14764. msgstr ""
  14765. #. type: Plain text
  14766. #: guix-git/doc/guix.texi:9528
  14767. 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)."
  14768. msgstr ""
  14769. #. type: Plain text
  14770. #: guix-git/doc/guix.texi:9530
  14771. msgid "To illustrate the idea, here is an example of a gexp:"
  14772. msgstr ""
  14773. #. type: lisp
  14774. #: guix-git/doc/guix.texi:9538
  14775. #, no-wrap
  14776. msgid ""
  14777. "(define build-exp\n"
  14778. " #~(begin\n"
  14779. " (mkdir #$output)\n"
  14780. " (chdir #$output)\n"
  14781. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  14782. " \"list-files\")))\n"
  14783. msgstr ""
  14784. #. type: Plain text
  14785. #: guix-git/doc/guix.texi:9543
  14786. 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}:"
  14787. msgstr ""
  14788. #. type: lisp
  14789. #: guix-git/doc/guix.texi:9546
  14790. #, no-wrap
  14791. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  14792. msgstr ""
  14793. #. type: Plain text
  14794. #: guix-git/doc/guix.texi:9554
  14795. 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."
  14796. msgstr ""
  14797. #. type: cindex
  14798. #: guix-git/doc/guix.texi:9555
  14799. #, no-wrap
  14800. msgid "cross compilation"
  14801. msgstr ""
  14802. #. type: Plain text
  14803. #: guix-git/doc/guix.texi:9561
  14804. 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:"
  14805. msgstr ""
  14806. #. type: lisp
  14807. #: guix-git/doc/guix.texi:9572
  14808. #, no-wrap
  14809. msgid ""
  14810. "(gexp->derivation \"vi\"\n"
  14811. " #~(begin\n"
  14812. " (mkdir #$output)\n"
  14813. " (mkdir (string-append #$output \"/bin\"))\n"
  14814. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  14815. " \"-s\"\n"
  14816. " (string-append #$emacs \"/bin/emacs\")\n"
  14817. " (string-append #$output \"/bin/vi\")))\n"
  14818. " #:target \"aarch64-linux-gnu\")\n"
  14819. msgstr ""
  14820. #. type: Plain text
  14821. #: guix-git/doc/guix.texi:9578
  14822. 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."
  14823. msgstr ""
  14824. #. type: cindex
  14825. #: guix-git/doc/guix.texi:9579
  14826. #, no-wrap
  14827. msgid "imported modules, for gexps"
  14828. msgstr ""
  14829. #. type: findex
  14830. #: guix-git/doc/guix.texi:9580
  14831. #, no-wrap
  14832. msgid "with-imported-modules"
  14833. msgstr ""
  14834. #. type: Plain text
  14835. #: guix-git/doc/guix.texi:9585
  14836. 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:"
  14837. msgstr ""
  14838. #. type: lisp
  14839. #: guix-git/doc/guix.texi:9596
  14840. #, no-wrap
  14841. msgid ""
  14842. "(let ((build (with-imported-modules '((guix build utils))\n"
  14843. " #~(begin\n"
  14844. " (use-modules (guix build utils))\n"
  14845. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  14846. " (gexp->derivation \"empty-dir\"\n"
  14847. " #~(begin\n"
  14848. " #$build\n"
  14849. " (display \"success!\\n\")\n"
  14850. " #t)))\n"
  14851. msgstr ""
  14852. #. type: Plain text
  14853. #: guix-git/doc/guix.texi:9602
  14854. 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."
  14855. msgstr ""
  14856. #. type: cindex
  14857. #: guix-git/doc/guix.texi:9603
  14858. #, no-wrap
  14859. msgid "module closure"
  14860. msgstr ""
  14861. #. type: findex
  14862. #: guix-git/doc/guix.texi:9604
  14863. #, no-wrap
  14864. msgid "source-module-closure"
  14865. msgstr ""
  14866. #. type: Plain text
  14867. #: guix-git/doc/guix.texi:9611
  14868. 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:"
  14869. msgstr ""
  14870. #. type: lisp
  14871. #: guix-git/doc/guix.texi:9614
  14872. #, no-wrap
  14873. msgid ""
  14874. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  14875. "\n"
  14876. msgstr ""
  14877. #. type: lisp
  14878. #: guix-git/doc/guix.texi:9623
  14879. #, no-wrap
  14880. msgid ""
  14881. "(with-imported-modules (source-module-closure\n"
  14882. " '((guix build utils)\n"
  14883. " (gnu build vm)))\n"
  14884. " (gexp->derivation \"something-with-vms\"\n"
  14885. " #~(begin\n"
  14886. " (use-modules (guix build utils)\n"
  14887. " (gnu build vm))\n"
  14888. " @dots{})))\n"
  14889. msgstr ""
  14890. #. type: cindex
  14891. #: guix-git/doc/guix.texi:9625
  14892. #, no-wrap
  14893. msgid "extensions, for gexps"
  14894. msgstr ""
  14895. #. type: findex
  14896. #: guix-git/doc/guix.texi:9626
  14897. #, no-wrap
  14898. msgid "with-extensions"
  14899. msgstr ""
  14900. #. type: Plain text
  14901. #: guix-git/doc/guix.texi:9631
  14902. 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:"
  14903. msgstr ""
  14904. #. type: lisp
  14905. #: guix-git/doc/guix.texi:9634
  14906. #, no-wrap
  14907. msgid ""
  14908. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  14909. "\n"
  14910. msgstr ""
  14911. #. type: lisp
  14912. #: guix-git/doc/guix.texi:9640
  14913. #, no-wrap
  14914. msgid ""
  14915. "(with-extensions (list guile-json)\n"
  14916. " (gexp->derivation \"something-with-json\"\n"
  14917. " #~(begin\n"
  14918. " (use-modules (json))\n"
  14919. " @dots{})))\n"
  14920. msgstr ""
  14921. #. type: Plain text
  14922. #: guix-git/doc/guix.texi:9643
  14923. msgid "The syntactic form to construct gexps is summarized below."
  14924. msgstr ""
  14925. #. type: deffn
  14926. #: guix-git/doc/guix.texi:9644
  14927. #, no-wrap
  14928. msgid "{Scheme Syntax} #~@var{exp}"
  14929. msgstr ""
  14930. #. type: deffnx
  14931. #: guix-git/doc/guix.texi:9645
  14932. #, no-wrap
  14933. msgid "{Scheme Syntax} (gexp @var{exp})"
  14934. msgstr ""
  14935. #. type: deffn
  14936. #: guix-git/doc/guix.texi:9648
  14937. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  14938. msgstr ""
  14939. #. type: item
  14940. #: guix-git/doc/guix.texi:9650
  14941. #, no-wrap
  14942. msgid "#$@var{obj}"
  14943. msgstr ""
  14944. #. type: itemx
  14945. #: guix-git/doc/guix.texi:9651
  14946. #, no-wrap
  14947. msgid "(ungexp @var{obj})"
  14948. msgstr ""
  14949. #. type: table
  14950. #: guix-git/doc/guix.texi:9656
  14951. 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}."
  14952. msgstr ""
  14953. #. type: table
  14954. #: guix-git/doc/guix.texi:9659
  14955. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  14956. msgstr ""
  14957. #. type: table
  14958. #: guix-git/doc/guix.texi:9662
  14959. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  14960. msgstr ""
  14961. #. type: table
  14962. #: guix-git/doc/guix.texi:9664
  14963. msgid "If @var{obj} is another kind of object, it is inserted as is."
  14964. msgstr ""
  14965. #. type: item
  14966. #: guix-git/doc/guix.texi:9665
  14967. #, no-wrap
  14968. msgid "#$@var{obj}:@var{output}"
  14969. msgstr ""
  14970. #. type: itemx
  14971. #: guix-git/doc/guix.texi:9666
  14972. #, no-wrap
  14973. msgid "(ungexp @var{obj} @var{output})"
  14974. msgstr ""
  14975. #. type: table
  14976. #: guix-git/doc/guix.texi:9670
  14977. 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})."
  14978. msgstr ""
  14979. #. type: item
  14980. #: guix-git/doc/guix.texi:9671
  14981. #, no-wrap
  14982. msgid "#+@var{obj}"
  14983. msgstr ""
  14984. #. type: itemx
  14985. #: guix-git/doc/guix.texi:9672
  14986. #, no-wrap
  14987. msgid "#+@var{obj}:output"
  14988. msgstr ""
  14989. #. type: itemx
  14990. #: guix-git/doc/guix.texi:9673
  14991. #, no-wrap
  14992. msgid "(ungexp-native @var{obj})"
  14993. msgstr ""
  14994. #. type: itemx
  14995. #: guix-git/doc/guix.texi:9674
  14996. #, no-wrap
  14997. msgid "(ungexp-native @var{obj} @var{output})"
  14998. msgstr ""
  14999. #. type: table
  15000. #: guix-git/doc/guix.texi:9677
  15001. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  15002. msgstr ""
  15003. #. type: item
  15004. #: guix-git/doc/guix.texi:9678
  15005. #, no-wrap
  15006. msgid "#$output[:@var{output}]"
  15007. msgstr ""
  15008. #. type: itemx
  15009. #: guix-git/doc/guix.texi:9679
  15010. #, no-wrap
  15011. msgid "(ungexp output [@var{output}])"
  15012. msgstr ""
  15013. #. type: table
  15014. #: guix-git/doc/guix.texi:9682
  15015. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  15016. msgstr ""
  15017. #. type: table
  15018. #: guix-git/doc/guix.texi:9684
  15019. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  15020. msgstr ""
  15021. #. type: item
  15022. #: guix-git/doc/guix.texi:9685
  15023. #, no-wrap
  15024. msgid "#$@@@var{lst}"
  15025. msgstr ""
  15026. #. type: itemx
  15027. #: guix-git/doc/guix.texi:9686
  15028. #, no-wrap
  15029. msgid "(ungexp-splicing @var{lst})"
  15030. msgstr ""
  15031. #. type: table
  15032. #: guix-git/doc/guix.texi:9689
  15033. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  15034. msgstr ""
  15035. #. type: item
  15036. #: guix-git/doc/guix.texi:9690
  15037. #, no-wrap
  15038. msgid "#+@@@var{lst}"
  15039. msgstr ""
  15040. #. type: itemx
  15041. #: guix-git/doc/guix.texi:9691
  15042. #, no-wrap
  15043. msgid "(ungexp-native-splicing @var{lst})"
  15044. msgstr ""
  15045. #. type: table
  15046. #: guix-git/doc/guix.texi:9694
  15047. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  15048. msgstr ""
  15049. #. type: deffn
  15050. #: guix-git/doc/guix.texi:9699
  15051. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  15052. msgstr ""
  15053. #. type: deffn
  15054. #: guix-git/doc/guix.texi:9701
  15055. #, no-wrap
  15056. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  15057. msgstr ""
  15058. #. type: deffn
  15059. #: guix-git/doc/guix.texi:9704
  15060. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  15061. msgstr ""
  15062. #. type: deffn
  15063. #: guix-git/doc/guix.texi:9708
  15064. 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:"
  15065. msgstr ""
  15066. #. type: lisp
  15067. #: guix-git/doc/guix.texi:9714
  15068. #, no-wrap
  15069. msgid ""
  15070. "`((guix build utils)\n"
  15071. " (guix gcrypt)\n"
  15072. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  15073. " #~(define-module @dots{}))))\n"
  15074. msgstr ""
  15075. #. type: deffn
  15076. #: guix-git/doc/guix.texi:9719
  15077. 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."
  15078. msgstr ""
  15079. #. type: deffn
  15080. #: guix-git/doc/guix.texi:9723
  15081. 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{}."
  15082. msgstr ""
  15083. #. type: deffn
  15084. #: guix-git/doc/guix.texi:9725
  15085. #, no-wrap
  15086. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  15087. msgstr ""
  15088. #. type: deffn
  15089. #: guix-git/doc/guix.texi:9730
  15090. 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."
  15091. msgstr ""
  15092. #. type: deffn
  15093. #: guix-git/doc/guix.texi:9735
  15094. 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{}."
  15095. msgstr ""
  15096. #. type: deffn
  15097. #: guix-git/doc/guix.texi:9737
  15098. #, no-wrap
  15099. msgid "{Scheme Procedure} gexp? @var{obj}"
  15100. msgstr ""
  15101. #. type: deffn
  15102. #: guix-git/doc/guix.texi:9739
  15103. msgid "Return @code{#t} if @var{obj} is a G-expression."
  15104. msgstr ""
  15105. #. type: Plain text
  15106. #: guix-git/doc/guix.texi:9745
  15107. 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)."
  15108. msgstr ""
  15109. #. type: deffn
  15110. #: guix-git/doc/guix.texi:9746
  15111. #, no-wrap
  15112. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  15113. msgstr ""
  15114. #. type: deffn
  15115. #: guix-git/doc/guix.texi:9764
  15116. 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}."
  15117. msgstr ""
  15118. #. type: deffn
  15119. #: guix-git/doc/guix.texi:9772
  15120. 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))}."
  15121. msgstr ""
  15122. #. type: deffn
  15123. #: guix-git/doc/guix.texi:9775
  15124. 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\"}."
  15125. msgstr ""
  15126. #. type: deffn
  15127. #: guix-git/doc/guix.texi:9778
  15128. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  15129. msgstr ""
  15130. #. type: deffn
  15131. #: guix-git/doc/guix.texi:9781
  15132. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  15133. msgstr ""
  15134. #. type: example
  15135. #: guix-git/doc/guix.texi:9788
  15136. #, no-wrap
  15137. msgid ""
  15138. "(@var{file-name} @var{package})\n"
  15139. "(@var{file-name} @var{package} @var{output})\n"
  15140. "(@var{file-name} @var{derivation})\n"
  15141. "(@var{file-name} @var{derivation} @var{output})\n"
  15142. "(@var{file-name} @var{store-item})\n"
  15143. msgstr ""
  15144. #. type: deffn
  15145. #: guix-git/doc/guix.texi:9794
  15146. 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."
  15147. msgstr ""
  15148. #. type: deffn
  15149. #: guix-git/doc/guix.texi:9800
  15150. 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."
  15151. msgstr ""
  15152. #. type: deffn
  15153. #: guix-git/doc/guix.texi:9803
  15154. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  15155. msgstr ""
  15156. #. type: deffn
  15157. #: guix-git/doc/guix.texi:9805
  15158. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  15159. msgstr ""
  15160. #. type: cindex
  15161. #: guix-git/doc/guix.texi:9807
  15162. #, no-wrap
  15163. msgid "file-like objects"
  15164. msgstr ""
  15165. #. type: Plain text
  15166. #: guix-git/doc/guix.texi:9812
  15167. 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:"
  15168. msgstr ""
  15169. #. type: lisp
  15170. #: guix-git/doc/guix.texi:9816
  15171. #, no-wrap
  15172. msgid ""
  15173. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  15174. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  15175. msgstr ""
  15176. #. type: Plain text
  15177. #: guix-git/doc/guix.texi:9825
  15178. 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."
  15179. msgstr ""
  15180. #. type: deffn
  15181. #: guix-git/doc/guix.texi:9826
  15182. #, no-wrap
  15183. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  15184. msgstr ""
  15185. #. type: deffn
  15186. #: guix-git/doc/guix.texi:9835
  15187. 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}."
  15188. msgstr ""
  15189. #. type: deffn
  15190. #: guix-git/doc/guix.texi:9847
  15191. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  15192. msgstr ""
  15193. #. type: deffn
  15194. #: guix-git/doc/guix.texi:9849
  15195. #, no-wrap
  15196. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  15197. msgstr ""
  15198. #. type: deffn
  15199. #: guix-git/doc/guix.texi:9852
  15200. 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."
  15201. msgstr ""
  15202. #. type: deffn
  15203. #: guix-git/doc/guix.texi:9854
  15204. msgid "This is the declarative counterpart of @code{text-file}."
  15205. msgstr ""
  15206. #. type: deffn
  15207. #: guix-git/doc/guix.texi:9856
  15208. #, no-wrap
  15209. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  15210. msgstr ""
  15211. #. type: deffn
  15212. #: guix-git/doc/guix.texi:9863
  15213. 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}."
  15214. msgstr ""
  15215. #. type: deffn
  15216. #: guix-git/doc/guix.texi:9865
  15217. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  15218. msgstr ""
  15219. #. type: deffn
  15220. #: guix-git/doc/guix.texi:9867
  15221. #, no-wrap
  15222. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  15223. msgstr ""
  15224. #. type: deffn
  15225. #: guix-git/doc/guix.texi:9873
  15226. 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}."
  15227. msgstr ""
  15228. #. type: deffn
  15229. #: guix-git/doc/guix.texi:9876
  15230. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  15231. msgstr ""
  15232. #. type: lisp
  15233. #: guix-git/doc/guix.texi:9879
  15234. #, no-wrap
  15235. msgid ""
  15236. "(use-modules (guix gexp) (gnu packages base))\n"
  15237. "\n"
  15238. msgstr ""
  15239. #. type: lisp
  15240. #: guix-git/doc/guix.texi:9883
  15241. #, no-wrap
  15242. msgid ""
  15243. "(gexp->script \"list-files\"\n"
  15244. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  15245. " \"ls\"))\n"
  15246. msgstr ""
  15247. #. type: deffn
  15248. #: guix-git/doc/guix.texi:9888
  15249. 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:"
  15250. msgstr ""
  15251. #. type: example
  15252. #: guix-git/doc/guix.texi:9893
  15253. #, no-wrap
  15254. msgid ""
  15255. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  15256. "!#\n"
  15257. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  15258. msgstr ""
  15259. #. type: deffn
  15260. #: guix-git/doc/guix.texi:9896
  15261. #, no-wrap
  15262. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  15263. msgstr ""
  15264. #. type: deffn
  15265. #: guix-git/doc/guix.texi:9901
  15266. 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}."
  15267. msgstr ""
  15268. #. type: deffn
  15269. #: guix-git/doc/guix.texi:9903
  15270. msgid "This is the declarative counterpart of @code{gexp->script}."
  15271. msgstr ""
  15272. #. type: deffn
  15273. #: guix-git/doc/guix.texi:9905
  15274. #, no-wrap
  15275. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  15276. msgstr ""
  15277. #. type: deffn
  15278. #: guix-git/doc/guix.texi:9912
  15279. 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."
  15280. msgstr ""
  15281. #. type: deffn
  15282. #: guix-git/doc/guix.texi:9917
  15283. 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}."
  15284. msgstr ""
  15285. #. type: deffn
  15286. #: guix-git/doc/guix.texi:9920
  15287. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  15288. msgstr ""
  15289. #. type: deffn
  15290. #: guix-git/doc/guix.texi:9922
  15291. #, no-wrap
  15292. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  15293. msgstr ""
  15294. #. type: deffn
  15295. #: guix-git/doc/guix.texi:9926
  15296. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  15297. msgstr ""
  15298. #. type: deffn
  15299. #: guix-git/doc/guix.texi:9928
  15300. msgid "This is the declarative counterpart of @code{gexp->file}."
  15301. msgstr ""
  15302. #. type: deffn
  15303. #: guix-git/doc/guix.texi:9930
  15304. #, no-wrap
  15305. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  15306. msgstr ""
  15307. #. type: deffn
  15308. #: guix-git/doc/guix.texi:9936
  15309. 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."
  15310. msgstr ""
  15311. #. type: deffn
  15312. #: guix-git/doc/guix.texi:9941
  15313. 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:"
  15314. msgstr ""
  15315. #. type: lisp
  15316. #: guix-git/doc/guix.texi:9949
  15317. #, no-wrap
  15318. msgid ""
  15319. "(define (profile.sh)\n"
  15320. " ;; Return the name of a shell script in the store that\n"
  15321. " ;; initializes the 'PATH' environment variable.\n"
  15322. " (text-file* \"profile.sh\"\n"
  15323. " \"export PATH=\" coreutils \"/bin:\"\n"
  15324. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  15325. msgstr ""
  15326. #. type: deffn
  15327. #: guix-git/doc/guix.texi:9954
  15328. 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."
  15329. msgstr ""
  15330. #. type: deffn
  15331. #: guix-git/doc/guix.texi:9956
  15332. #, no-wrap
  15333. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  15334. msgstr ""
  15335. #. type: deffn
  15336. #: guix-git/doc/guix.texi:9960
  15337. 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:"
  15338. msgstr ""
  15339. #. type: lisp
  15340. #: guix-git/doc/guix.texi:9964
  15341. #, no-wrap
  15342. msgid ""
  15343. "(mixed-text-file \"profile\"\n"
  15344. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  15345. msgstr ""
  15346. #. type: deffn
  15347. #: guix-git/doc/guix.texi:9967
  15348. msgid "This is the declarative counterpart of @code{text-file*}."
  15349. msgstr ""
  15350. #. type: deffn
  15351. #: guix-git/doc/guix.texi:9969
  15352. #, no-wrap
  15353. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  15354. msgstr ""
  15355. #. type: deffn
  15356. #: guix-git/doc/guix.texi:9974
  15357. 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:"
  15358. msgstr ""
  15359. #. type: lisp
  15360. #: guix-git/doc/guix.texi:9981
  15361. #, no-wrap
  15362. msgid ""
  15363. "(file-union \"etc\"\n"
  15364. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  15365. " \"127.0.0.1 localhost\"))\n"
  15366. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  15367. " \"alias ls='ls --color=auto'\"))))\n"
  15368. msgstr ""
  15369. #. type: deffn
  15370. #: guix-git/doc/guix.texi:9984
  15371. msgid "This yields an @code{etc} directory containing these two files."
  15372. msgstr ""
  15373. #. type: deffn
  15374. #: guix-git/doc/guix.texi:9986
  15375. #, no-wrap
  15376. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  15377. msgstr ""
  15378. #. type: deffn
  15379. #: guix-git/doc/guix.texi:9989
  15380. 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:"
  15381. msgstr ""
  15382. #. type: lisp
  15383. #: guix-git/doc/guix.texi:9992
  15384. #, no-wrap
  15385. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  15386. msgstr ""
  15387. #. type: deffn
  15388. #: guix-git/doc/guix.texi:9995
  15389. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  15390. msgstr ""
  15391. #. type: deffn
  15392. #: guix-git/doc/guix.texi:9997
  15393. #, no-wrap
  15394. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  15395. msgstr ""
  15396. #. type: deffn
  15397. #: guix-git/doc/guix.texi:10001
  15398. 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."
  15399. msgstr ""
  15400. #. type: deffn
  15401. #: guix-git/doc/guix.texi:10003
  15402. msgid "As an example, consider this gexp:"
  15403. msgstr ""
  15404. #. type: lisp
  15405. #: guix-git/doc/guix.texi:10008
  15406. #, no-wrap
  15407. msgid ""
  15408. "(gexp->script \"run-uname\"\n"
  15409. " #~(system* #$(file-append coreutils\n"
  15410. " \"/bin/uname\")))\n"
  15411. msgstr ""
  15412. #. type: deffn
  15413. #: guix-git/doc/guix.texi:10011
  15414. msgid "The same effect could be achieved with:"
  15415. msgstr ""
  15416. #. type: lisp
  15417. #: guix-git/doc/guix.texi:10016
  15418. #, no-wrap
  15419. msgid ""
  15420. "(gexp->script \"run-uname\"\n"
  15421. " #~(system* (string-append #$coreutils\n"
  15422. " \"/bin/uname\")))\n"
  15423. msgstr ""
  15424. #. type: deffn
  15425. #: guix-git/doc/guix.texi:10022
  15426. 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}."
  15427. msgstr ""
  15428. #. type: deffn
  15429. #: guix-git/doc/guix.texi:10024
  15430. #, no-wrap
  15431. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  15432. msgstr ""
  15433. #. type: deffnx
  15434. #: guix-git/doc/guix.texi:10025
  15435. #, no-wrap
  15436. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  15437. msgstr ""
  15438. #. type: deffn
  15439. #: guix-git/doc/guix.texi:10028
  15440. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  15441. msgstr ""
  15442. #. type: deffn
  15443. #: guix-git/doc/guix.texi:10033
  15444. 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."
  15445. msgstr ""
  15446. #. type: deffn
  15447. #: guix-git/doc/guix.texi:10036
  15448. 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:"
  15449. msgstr ""
  15450. #. type: lisp
  15451. #: guix-git/doc/guix.texi:10047
  15452. #, no-wrap
  15453. msgid ""
  15454. "#~(system*\n"
  15455. " #+(let-system system\n"
  15456. " (cond ((string-prefix? \"armhf-\" system)\n"
  15457. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  15458. " ((string-prefix? \"x86_64-\" system)\n"
  15459. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  15460. " (else\n"
  15461. " (error \"dunno!\"))))\n"
  15462. " \"-net\" \"user\" #$image)\n"
  15463. msgstr ""
  15464. #. type: deffn
  15465. #: guix-git/doc/guix.texi:10050
  15466. #, no-wrap
  15467. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  15468. msgstr ""
  15469. #. type: deffn
  15470. #: guix-git/doc/guix.texi:10056
  15471. 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."
  15472. msgstr ""
  15473. #. type: deffn
  15474. #: guix-git/doc/guix.texi:10059
  15475. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  15476. msgstr ""
  15477. #. type: lisp
  15478. #: guix-git/doc/guix.texi:10063
  15479. #, no-wrap
  15480. msgid ""
  15481. "(with-parameters ((%current-system \"i686-linux\"))\n"
  15482. " coreutils)\n"
  15483. msgstr ""
  15484. #. type: deffn
  15485. #: guix-git/doc/guix.texi:10067
  15486. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  15487. msgstr ""
  15488. #. type: Plain text
  15489. #: guix-git/doc/guix.texi:10074
  15490. 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."
  15491. msgstr ""
  15492. #. type: Plain text
  15493. #: guix-git/doc/guix.texi:10080
  15494. 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."
  15495. msgstr ""
  15496. #. type: deffn
  15497. #: guix-git/doc/guix.texi:10081
  15498. #, no-wrap
  15499. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  15500. msgstr ""
  15501. #. type: deffn
  15502. #: guix-git/doc/guix.texi:10087
  15503. 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>}."
  15504. msgstr ""
  15505. #. type: deffn
  15506. #: guix-git/doc/guix.texi:10089
  15507. #, no-wrap
  15508. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  15509. msgstr ""
  15510. #. type: deffn
  15511. #: guix-git/doc/guix.texi:10097
  15512. 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."
  15513. msgstr ""
  15514. #. type: section
  15515. #: guix-git/doc/guix.texi:10100
  15516. #, no-wrap
  15517. msgid "Invoking @command{guix repl}"
  15518. msgstr ""
  15519. #. type: cindex
  15520. #: guix-git/doc/guix.texi:10102
  15521. #, no-wrap
  15522. msgid "REPL, read-eval-print loop, script"
  15523. msgstr ""
  15524. #. type: Plain text
  15525. #: guix-git/doc/guix.texi:10112
  15526. 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."
  15527. msgstr ""
  15528. #. type: example
  15529. #: guix-git/doc/guix.texi:10117
  15530. #, no-wrap
  15531. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  15532. msgstr ""
  15533. #. type: Plain text
  15534. #: guix-git/doc/guix.texi:10121
  15535. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  15536. msgstr ""
  15537. #. type: example
  15538. #: guix-git/doc/guix.texi:10124
  15539. #, no-wrap
  15540. msgid "guix repl my-script.scm\n"
  15541. msgstr ""
  15542. #. type: Plain text
  15543. #: guix-git/doc/guix.texi:10128
  15544. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  15545. msgstr ""
  15546. #. type: example
  15547. #: guix-git/doc/guix.texi:10131
  15548. #, no-wrap
  15549. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  15550. msgstr ""
  15551. #. type: Plain text
  15552. #: guix-git/doc/guix.texi:10136
  15553. 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:"
  15554. msgstr ""
  15555. #. type: example
  15556. #: guix-git/doc/guix.texi:10140
  15557. #, no-wrap
  15558. msgid ""
  15559. "@code{#!/usr/bin/env -S guix repl --}\n"
  15560. "@code{!#}\n"
  15561. msgstr ""
  15562. #. type: Plain text
  15563. #: guix-git/doc/guix.texi:10143
  15564. msgid "Without a file name argument, a Guile REPL is started:"
  15565. msgstr ""
  15566. #. type: example
  15567. #: guix-git/doc/guix.texi:10149
  15568. #, no-wrap
  15569. msgid ""
  15570. "$ guix repl\n"
  15571. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  15572. "scheme@@(guile-user)> coreutils\n"
  15573. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  15574. msgstr ""
  15575. #. type: Plain text
  15576. #: guix-git/doc/guix.texi:10156
  15577. 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."
  15578. msgstr ""
  15579. #. type: Plain text
  15580. #: guix-git/doc/guix.texi:10158
  15581. msgid "The available options are as follows:"
  15582. msgstr ""
  15583. #. type: item
  15584. #: guix-git/doc/guix.texi:10160 guix-git/doc/guix.texi:12595
  15585. #, no-wrap
  15586. msgid "--type=@var{type}"
  15587. msgstr ""
  15588. #. type: itemx
  15589. #: guix-git/doc/guix.texi:10161 guix-git/doc/guix.texi:12596
  15590. #: guix-git/doc/guix.texi:33873
  15591. #, no-wrap
  15592. msgid "-t @var{type}"
  15593. msgstr ""
  15594. #. type: table
  15595. #: guix-git/doc/guix.texi:10163
  15596. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  15597. msgstr ""
  15598. #. type: item
  15599. #: guix-git/doc/guix.texi:10165
  15600. #, no-wrap
  15601. msgid "guile"
  15602. msgstr ""
  15603. #. type: table
  15604. #: guix-git/doc/guix.texi:10167
  15605. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  15606. msgstr ""
  15607. #. type: item
  15608. #: guix-git/doc/guix.texi:10167
  15609. #, no-wrap
  15610. msgid "machine"
  15611. msgstr ""
  15612. #. type: table
  15613. #: guix-git/doc/guix.texi:10170
  15614. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  15615. msgstr ""
  15616. #. type: table
  15617. #: guix-git/doc/guix.texi:10176
  15618. 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:"
  15619. msgstr ""
  15620. #. type: item
  15621. #: guix-git/doc/guix.texi:10178
  15622. #, no-wrap
  15623. msgid "--listen=tcp:37146"
  15624. msgstr ""
  15625. #. type: table
  15626. #: guix-git/doc/guix.texi:10180
  15627. msgid "Accept connections on localhost on port 37146."
  15628. msgstr ""
  15629. #. type: item
  15630. #: guix-git/doc/guix.texi:10181
  15631. #, no-wrap
  15632. msgid "--listen=unix:/tmp/socket"
  15633. msgstr ""
  15634. #. type: table
  15635. #: guix-git/doc/guix.texi:10183
  15636. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  15637. msgstr ""
  15638. #. type: item
  15639. #: guix-git/doc/guix.texi:10185 guix-git/doc/guix.texi:10289
  15640. #: guix-git/doc/guix.texi:12064 guix-git/doc/guix.texi:12244
  15641. #: guix-git/doc/guix.texi:12389 guix-git/doc/guix.texi:12643
  15642. #, no-wrap
  15643. msgid "--load-path=@var{directory}"
  15644. msgstr ""
  15645. #. type: itemx
  15646. #: guix-git/doc/guix.texi:10186 guix-git/doc/guix.texi:10290
  15647. #: guix-git/doc/guix.texi:12245 guix-git/doc/guix.texi:12390
  15648. #: guix-git/doc/guix.texi:12644
  15649. #, no-wrap
  15650. msgid "-L @var{directory}"
  15651. msgstr ""
  15652. #. type: table
  15653. #: guix-git/doc/guix.texi:10189 guix-git/doc/guix.texi:10293
  15654. #: guix-git/doc/guix.texi:12067 guix-git/doc/guix.texi:12248
  15655. #: guix-git/doc/guix.texi:12393 guix-git/doc/guix.texi:12647
  15656. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  15657. msgstr ""
  15658. #. type: table
  15659. #: guix-git/doc/guix.texi:10192
  15660. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  15661. msgstr ""
  15662. #. type: itemx
  15663. #: guix-git/doc/guix.texi:10193 guix-git/doc/guix.texi:10752
  15664. #, no-wrap
  15665. msgid "-q"
  15666. msgstr ""
  15667. #. type: table
  15668. #: guix-git/doc/guix.texi:10196
  15669. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  15670. msgstr ""
  15671. #. type: Plain text
  15672. #: guix-git/doc/guix.texi:10206
  15673. 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."
  15674. msgstr ""
  15675. #. type: cindex
  15676. #: guix-git/doc/guix.texi:10228
  15677. #, no-wrap
  15678. msgid "package building"
  15679. msgstr ""
  15680. #. type: command{#1}
  15681. #: guix-git/doc/guix.texi:10229
  15682. #, no-wrap
  15683. msgid "guix build"
  15684. msgstr ""
  15685. #. type: Plain text
  15686. #: guix-git/doc/guix.texi:10235
  15687. 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."
  15688. msgstr ""
  15689. #. type: example
  15690. #: guix-git/doc/guix.texi:10240
  15691. #, no-wrap
  15692. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  15693. msgstr ""
  15694. #. type: Plain text
  15695. #: guix-git/doc/guix.texi:10245
  15696. 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:"
  15697. msgstr ""
  15698. #. type: example
  15699. #: guix-git/doc/guix.texi:10248
  15700. #, no-wrap
  15701. msgid "guix build emacs guile\n"
  15702. msgstr ""
  15703. #. type: Plain text
  15704. #: guix-git/doc/guix.texi:10251
  15705. msgid "Similarly, the following command builds all the available packages:"
  15706. msgstr ""
  15707. #. type: example
  15708. #: guix-git/doc/guix.texi:10255
  15709. #, no-wrap
  15710. msgid ""
  15711. "guix build --quiet --keep-going \\\n"
  15712. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  15713. msgstr ""
  15714. #. type: Plain text
  15715. #: guix-git/doc/guix.texi:10263
  15716. 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})."
  15717. msgstr ""
  15718. #. type: Plain text
  15719. #: guix-git/doc/guix.texi:10268
  15720. 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."
  15721. msgstr ""
  15722. #. type: Plain text
  15723. #: guix-git/doc/guix.texi:10271
  15724. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  15725. msgstr ""
  15726. #. type: Plain text
  15727. #: guix-git/doc/guix.texi:10286
  15728. 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:"
  15729. msgstr ""
  15730. #. type: table
  15731. #: guix-git/doc/guix.texi:10296 guix-git/doc/guix.texi:12070
  15732. #: guix-git/doc/guix.texi:12251 guix-git/doc/guix.texi:12396
  15733. #: guix-git/doc/guix.texi:12650
  15734. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  15735. msgstr ""
  15736. #. type: item
  15737. #: guix-git/doc/guix.texi:10297
  15738. #, no-wrap
  15739. msgid "--keep-failed"
  15740. msgstr ""
  15741. #. type: itemx
  15742. #: guix-git/doc/guix.texi:10298
  15743. #, no-wrap
  15744. msgid "-K"
  15745. msgstr ""
  15746. #. type: table
  15747. #: guix-git/doc/guix.texi:10304
  15748. 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."
  15749. msgstr ""
  15750. #. type: table
  15751. #: guix-git/doc/guix.texi:10308
  15752. 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})."
  15753. msgstr ""
  15754. #. type: item
  15755. #: guix-git/doc/guix.texi:10309
  15756. #, no-wrap
  15757. msgid "--keep-going"
  15758. msgstr ""
  15759. #. type: itemx
  15760. #: guix-git/doc/guix.texi:10310
  15761. #, no-wrap
  15762. msgid "-k"
  15763. msgstr ""
  15764. #. type: table
  15765. #: guix-git/doc/guix.texi:10313
  15766. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  15767. msgstr ""
  15768. #. type: table
  15769. #: guix-git/doc/guix.texi:10316
  15770. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  15771. msgstr ""
  15772. #. type: table
  15773. #: guix-git/doc/guix.texi:10320
  15774. msgid "Do not build the derivations."
  15775. msgstr ""
  15776. #. type: anchor{#1}
  15777. #: guix-git/doc/guix.texi:10322
  15778. msgid "fallback-option"
  15779. msgstr ""
  15780. #. type: item
  15781. #: guix-git/doc/guix.texi:10322
  15782. #, no-wrap
  15783. msgid "--fallback"
  15784. msgstr ""
  15785. #. type: table
  15786. #: guix-git/doc/guix.texi:10325
  15787. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  15788. msgstr ""
  15789. #. type: anchor{#1}
  15790. #: guix-git/doc/guix.texi:10331
  15791. msgid "client-substitute-urls"
  15792. msgstr ""
  15793. #. type: table
  15794. #: guix-git/doc/guix.texi:10331
  15795. 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})."
  15796. msgstr ""
  15797. #. type: table
  15798. #: guix-git/doc/guix.texi:10335
  15799. 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})."
  15800. msgstr ""
  15801. #. type: table
  15802. #: guix-git/doc/guix.texi:10338
  15803. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  15804. msgstr ""
  15805. #. type: item
  15806. #: guix-git/doc/guix.texi:10344
  15807. #, no-wrap
  15808. msgid "--no-grafts"
  15809. msgstr ""
  15810. #. type: table
  15811. #: guix-git/doc/guix.texi:10348
  15812. 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."
  15813. msgstr ""
  15814. #. type: item
  15815. #: guix-git/doc/guix.texi:10349
  15816. #, no-wrap
  15817. msgid "--rounds=@var{n}"
  15818. msgstr ""
  15819. #. type: table
  15820. #: guix-git/doc/guix.texi:10352
  15821. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  15822. msgstr ""
  15823. #. type: table
  15824. #: guix-git/doc/guix.texi:10357
  15825. 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."
  15826. msgstr ""
  15827. #. type: table
  15828. #: guix-git/doc/guix.texi:10373
  15829. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  15830. msgstr ""
  15831. #. type: table
  15832. #: guix-git/doc/guix.texi:10380
  15833. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  15834. msgstr ""
  15835. #. type: cindex
  15836. #: guix-git/doc/guix.texi:10383
  15837. #, no-wrap
  15838. msgid "verbosity, of the command-line tools"
  15839. msgstr ""
  15840. #. type: cindex
  15841. #: guix-git/doc/guix.texi:10384
  15842. #, no-wrap
  15843. msgid "build logs, verbosity"
  15844. msgstr ""
  15845. #. type: item
  15846. #: guix-git/doc/guix.texi:10385
  15847. #, no-wrap
  15848. msgid "-v @var{level}"
  15849. msgstr ""
  15850. #. type: itemx
  15851. #: guix-git/doc/guix.texi:10386
  15852. #, no-wrap
  15853. msgid "--verbosity=@var{level}"
  15854. msgstr ""
  15855. #. type: table
  15856. #: guix-git/doc/guix.texi:10391
  15857. 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."
  15858. msgstr ""
  15859. #. type: table
  15860. #: guix-git/doc/guix.texi:10396
  15861. 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."
  15862. msgstr ""
  15863. #. type: table
  15864. #: guix-git/doc/guix.texi:10402
  15865. 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."
  15866. msgstr ""
  15867. #. type: item
  15868. #: guix-git/doc/guix.texi:10403
  15869. #, no-wrap
  15870. msgid "--debug=@var{level}"
  15871. msgstr ""
  15872. #. type: table
  15873. #: guix-git/doc/guix.texi:10407
  15874. 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."
  15875. msgstr ""
  15876. #. type: Plain text
  15877. #: guix-git/doc/guix.texi:10414
  15878. 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."
  15879. msgstr ""
  15880. #. type: Plain text
  15881. #: guix-git/doc/guix.texi:10418
  15882. 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."
  15883. msgstr ""
  15884. #. type: defvr
  15885. #: guix-git/doc/guix.texi:10419
  15886. #, no-wrap
  15887. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  15888. msgstr ""
  15889. #. type: defvr
  15890. #: guix-git/doc/guix.texi:10424
  15891. 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:"
  15892. msgstr ""
  15893. #. type: example
  15894. #: guix-git/doc/guix.texi:10427
  15895. #, no-wrap
  15896. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  15897. msgstr ""
  15898. #. type: defvr
  15899. #: guix-git/doc/guix.texi:10431
  15900. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  15901. msgstr ""
  15902. #. type: cindex
  15903. #: guix-git/doc/guix.texi:10437
  15904. #, no-wrap
  15905. msgid "package variants"
  15906. msgstr ""
  15907. #. type: Plain text
  15908. #: guix-git/doc/guix.texi:10445
  15909. 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})."
  15910. msgstr ""
  15911. #. type: Plain text
  15912. #: guix-git/doc/guix.texi:10449
  15913. 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."
  15914. msgstr ""
  15915. #. type: Plain text
  15916. #: guix-git/doc/guix.texi:10454
  15917. 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)."
  15918. msgstr ""
  15919. #. type: item
  15920. #: guix-git/doc/guix.texi:10457
  15921. #, no-wrap
  15922. msgid "--with-source=@var{source}"
  15923. msgstr ""
  15924. #. type: itemx
  15925. #: guix-git/doc/guix.texi:10458
  15926. #, no-wrap
  15927. msgid "--with-source=@var{package}=@var{source}"
  15928. msgstr ""
  15929. #. type: itemx
  15930. #: guix-git/doc/guix.texi:10459
  15931. #, no-wrap
  15932. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  15933. msgstr ""
  15934. #. type: table
  15935. #: guix-git/doc/guix.texi:10464
  15936. 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})."
  15937. msgstr ""
  15938. #. type: table
  15939. #: guix-git/doc/guix.texi:10470
  15940. 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}."
  15941. msgstr ""
  15942. #. type: table
  15943. #: guix-git/doc/guix.texi:10473
  15944. 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}."
  15945. msgstr ""
  15946. #. type: table
  15947. #: guix-git/doc/guix.texi:10478
  15948. 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:"
  15949. msgstr ""
  15950. #. type: example
  15951. #: guix-git/doc/guix.texi:10481
  15952. #, no-wrap
  15953. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  15954. msgstr ""
  15955. #. type: table
  15956. #: guix-git/doc/guix.texi:10485
  15957. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  15958. msgstr ""
  15959. #. type: example
  15960. #: guix-git/doc/guix.texi:10488
  15961. #, no-wrap
  15962. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  15963. msgstr ""
  15964. #. type: table
  15965. #: guix-git/doc/guix.texi:10491
  15966. msgid "@dots{} or to build from a checkout in a pristine environment:"
  15967. msgstr ""
  15968. #. type: example
  15969. #: guix-git/doc/guix.texi:10495
  15970. #, no-wrap
  15971. msgid ""
  15972. "$ git clone git://git.sv.gnu.org/guix.git\n"
  15973. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  15974. msgstr ""
  15975. #. type: item
  15976. #: guix-git/doc/guix.texi:10497
  15977. #, no-wrap
  15978. msgid "--with-input=@var{package}=@var{replacement}"
  15979. msgstr ""
  15980. #. type: table
  15981. #: guix-git/doc/guix.texi:10502
  15982. 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}."
  15983. msgstr ""
  15984. #. type: table
  15985. #: guix-git/doc/guix.texi:10506
  15986. 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}:"
  15987. msgstr ""
  15988. #. type: example
  15989. #: guix-git/doc/guix.texi:10509
  15990. #, no-wrap
  15991. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  15992. msgstr ""
  15993. #. type: table
  15994. #: guix-git/doc/guix.texi:10514
  15995. 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}."
  15996. msgstr ""
  15997. #. type: table
  15998. #: guix-git/doc/guix.texi:10517
  15999. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  16000. msgstr ""
  16001. #. type: item
  16002. #: guix-git/doc/guix.texi:10518
  16003. #, no-wrap
  16004. msgid "--with-graft=@var{package}=@var{replacement}"
  16005. msgstr ""
  16006. #. type: table
  16007. #: guix-git/doc/guix.texi:10524
  16008. 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."
  16009. msgstr ""
  16010. #. type: table
  16011. #: guix-git/doc/guix.texi:10528
  16012. 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:"
  16013. msgstr ""
  16014. #. type: example
  16015. #: guix-git/doc/guix.texi:10531
  16016. #, no-wrap
  16017. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  16018. msgstr ""
  16019. #. type: table
  16020. #: guix-git/doc/guix.texi:10540
  16021. 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!"
  16022. msgstr ""
  16023. #. type: cindex
  16024. #: guix-git/doc/guix.texi:10541 guix-git/doc/guix.texi:35239
  16025. #, no-wrap
  16026. msgid "debugging info, rebuilding"
  16027. msgstr ""
  16028. #. type: item
  16029. #: guix-git/doc/guix.texi:10542
  16030. #, no-wrap
  16031. msgid "--with-debug-info=@var{package}"
  16032. msgstr ""
  16033. #. type: table
  16034. #: guix-git/doc/guix.texi:10547
  16035. 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})."
  16036. msgstr ""
  16037. #. type: table
  16038. #: guix-git/doc/guix.texi:10553
  16039. 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:"
  16040. msgstr ""
  16041. #. type: example
  16042. #: guix-git/doc/guix.texi:10556 guix-git/doc/guix.texi:35270
  16043. #, no-wrap
  16044. msgid "guix install inkscape --with-debug-info=glib\n"
  16045. msgstr ""
  16046. #. type: table
  16047. #: guix-git/doc/guix.texi:10560
  16048. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  16049. msgstr ""
  16050. #. type: quotation
  16051. #: guix-git/doc/guix.texi:10566
  16052. 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."
  16053. msgstr ""
  16054. #. type: quotation
  16055. #: guix-git/doc/guix.texi:10570
  16056. 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."
  16057. msgstr ""
  16058. #. type: cindex
  16059. #: guix-git/doc/guix.texi:10572
  16060. #, no-wrap
  16061. msgid "tool chain, changing the build tool chain of a package"
  16062. msgstr ""
  16063. #. type: item
  16064. #: guix-git/doc/guix.texi:10573
  16065. #, no-wrap
  16066. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  16067. msgstr ""
  16068. #. type: table
  16069. #: guix-git/doc/guix.texi:10577
  16070. 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++."
  16071. msgstr ""
  16072. #. type: example
  16073. #: guix-git/doc/guix.texi:10584
  16074. #, no-wrap
  16075. msgid ""
  16076. "guix build octave-cli \\\n"
  16077. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  16078. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  16079. msgstr ""
  16080. #. type: table
  16081. #: guix-git/doc/guix.texi:10591
  16082. 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}."
  16083. msgstr ""
  16084. #. type: table
  16085. #: guix-git/doc/guix.texi:10595
  16086. 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:"
  16087. msgstr ""
  16088. #. type: example
  16089. #: guix-git/doc/guix.texi:10599
  16090. #, no-wrap
  16091. msgid ""
  16092. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  16093. " intel-mpi-benchmarks\n"
  16094. msgstr ""
  16095. #. type: quotation
  16096. #: guix-git/doc/guix.texi:10608
  16097. 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."
  16098. msgstr ""
  16099. #. type: item
  16100. #: guix-git/doc/guix.texi:10610
  16101. #, no-wrap
  16102. msgid "--with-git-url=@var{package}=@var{url}"
  16103. msgstr ""
  16104. #. type: cindex
  16105. #: guix-git/doc/guix.texi:10611
  16106. #, no-wrap
  16107. msgid "Git, using the latest commit"
  16108. msgstr ""
  16109. #. type: cindex
  16110. #: guix-git/doc/guix.texi:10612
  16111. #, no-wrap
  16112. msgid "latest commit, building"
  16113. msgstr ""
  16114. #. type: table
  16115. #: guix-git/doc/guix.texi:10616
  16116. 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."
  16117. msgstr ""
  16118. #. type: table
  16119. #: guix-git/doc/guix.texi:10619
  16120. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  16121. msgstr ""
  16122. #. type: example
  16123. #: guix-git/doc/guix.texi:10623
  16124. #, no-wrap
  16125. msgid ""
  16126. "guix build python-numpy \\\n"
  16127. " --with-git-url=python=https://github.com/python/cpython\n"
  16128. msgstr ""
  16129. #. type: table
  16130. #: guix-git/doc/guix.texi:10627
  16131. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  16132. msgstr ""
  16133. #. type: cindex
  16134. #: guix-git/doc/guix.texi:10628 guix-git/doc/guix.texi:27790
  16135. #, no-wrap
  16136. msgid "continuous integration"
  16137. msgstr ""
  16138. #. type: table
  16139. #: guix-git/doc/guix.texi:10634
  16140. 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)."
  16141. msgstr ""
  16142. #. type: table
  16143. #: guix-git/doc/guix.texi:10638
  16144. 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."
  16145. msgstr ""
  16146. #. type: item
  16147. #: guix-git/doc/guix.texi:10639
  16148. #, no-wrap
  16149. msgid "--with-branch=@var{package}=@var{branch}"
  16150. msgstr ""
  16151. #. type: table
  16152. #: guix-git/doc/guix.texi:10645
  16153. 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."
  16154. msgstr ""
  16155. #. type: table
  16156. #: guix-git/doc/guix.texi:10650
  16157. 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:"
  16158. msgstr ""
  16159. #. type: example
  16160. #: guix-git/doc/guix.texi:10653
  16161. #, no-wrap
  16162. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  16163. msgstr ""
  16164. #. type: item
  16165. #: guix-git/doc/guix.texi:10655
  16166. #, no-wrap
  16167. msgid "--with-commit=@var{package}=@var{commit}"
  16168. msgstr ""
  16169. #. type: table
  16170. #: guix-git/doc/guix.texi:10659
  16171. 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 or a tag."
  16172. msgstr ""
  16173. #. type: item
  16174. #: guix-git/doc/guix.texi:10660
  16175. #, no-wrap
  16176. msgid "--with-patch=@var{package}=@var{file}"
  16177. msgstr ""
  16178. #. type: table
  16179. #: guix-git/doc/guix.texi:10667
  16180. 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})."
  16181. msgstr ""
  16182. #. type: table
  16183. #: guix-git/doc/guix.texi:10670
  16184. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  16185. msgstr ""
  16186. #. type: example
  16187. #: guix-git/doc/guix.texi:10673
  16188. #, no-wrap
  16189. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  16190. msgstr ""
  16191. #. type: table
  16192. #: guix-git/doc/guix.texi:10677
  16193. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  16194. msgstr ""
  16195. #. type: cindex
  16196. #: guix-git/doc/guix.texi:10678
  16197. #, no-wrap
  16198. msgid "upstream, latest version"
  16199. msgstr ""
  16200. #. type: item
  16201. #: guix-git/doc/guix.texi:10679
  16202. #, no-wrap
  16203. msgid "--with-latest=@var{package}"
  16204. msgstr ""
  16205. #. type: table
  16206. #: guix-git/doc/guix.texi:10684
  16207. 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})."
  16208. msgstr ""
  16209. #. type: table
  16210. #: guix-git/doc/guix.texi:10688
  16211. 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."
  16212. msgstr ""
  16213. #. type: table
  16214. #: guix-git/doc/guix.texi:10691
  16215. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  16216. msgstr ""
  16217. #. type: example
  16218. #: guix-git/doc/guix.texi:10694
  16219. #, no-wrap
  16220. msgid "guix build guix --with-latest=guile-json\n"
  16221. msgstr ""
  16222. #. type: table
  16223. #: guix-git/doc/guix.texi:10703
  16224. 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."
  16225. msgstr ""
  16226. #. type: table
  16227. #: guix-git/doc/guix.texi:10708
  16228. 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})."
  16229. msgstr ""
  16230. #. type: cindex
  16231. #: guix-git/doc/guix.texi:10709
  16232. #, no-wrap
  16233. msgid "test suite, skipping"
  16234. msgstr ""
  16235. #. type: item
  16236. #: guix-git/doc/guix.texi:10710
  16237. #, no-wrap
  16238. msgid "--without-tests=@var{package}"
  16239. msgstr ""
  16240. #. type: table
  16241. #: guix-git/doc/guix.texi:10716
  16242. 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."
  16243. msgstr ""
  16244. #. type: table
  16245. #: guix-git/doc/guix.texi:10720
  16246. 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:"
  16247. msgstr ""
  16248. #. type: example
  16249. #: guix-git/doc/guix.texi:10723
  16250. #, no-wrap
  16251. msgid "guix install --without-tests=python python-notebook\n"
  16252. msgstr ""
  16253. #. type: table
  16254. #: guix-git/doc/guix.texi:10729
  16255. 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."
  16256. msgstr ""
  16257. #. type: table
  16258. #: guix-git/doc/guix.texi:10735
  16259. 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."
  16260. msgstr ""
  16261. #. type: Plain text
  16262. #: guix-git/doc/guix.texi:10742
  16263. 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."
  16264. msgstr ""
  16265. #. type: Plain text
  16266. #: guix-git/doc/guix.texi:10748
  16267. msgid "The command-line options presented below are specific to @command{guix build}."
  16268. msgstr ""
  16269. #. type: item
  16270. #: guix-git/doc/guix.texi:10751
  16271. #, no-wrap
  16272. msgid "--quiet"
  16273. msgstr ""
  16274. #. type: table
  16275. #: guix-git/doc/guix.texi:10756
  16276. 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."
  16277. msgstr ""
  16278. #. type: item
  16279. #: guix-git/doc/guix.texi:10757
  16280. #, no-wrap
  16281. msgid "--file=@var{file}"
  16282. msgstr ""
  16283. #. type: table
  16284. #: guix-git/doc/guix.texi:10761
  16285. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  16286. msgstr ""
  16287. #. type: table
  16288. #: guix-git/doc/guix.texi:10764
  16289. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  16290. msgstr ""
  16291. #. type: table
  16292. #: guix-git/doc/guix.texi:10773
  16293. 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}:"
  16294. msgstr ""
  16295. #. type: item
  16296. #: guix-git/doc/guix.texi:10778
  16297. #, no-wrap
  16298. msgid "--manifest=@var{manifest}"
  16299. msgstr ""
  16300. #. type: itemx
  16301. #: guix-git/doc/guix.texi:10779
  16302. #, no-wrap
  16303. msgid "-m @var{manifest}"
  16304. msgstr ""
  16305. #. type: table
  16306. #: guix-git/doc/guix.texi:10782
  16307. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  16308. msgstr ""
  16309. #. type: table
  16310. #: guix-git/doc/guix.texi:10786
  16311. msgid "Build the package or derivation @var{expr} evaluates to."
  16312. msgstr ""
  16313. #. type: table
  16314. #: guix-git/doc/guix.texi:10790
  16315. 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."
  16316. msgstr ""
  16317. #. type: table
  16318. #: guix-git/doc/guix.texi:10794
  16319. 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})."
  16320. msgstr ""
  16321. #. type: table
  16322. #: guix-git/doc/guix.texi:10798
  16323. 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}."
  16324. msgstr ""
  16325. #. type: item
  16326. #: guix-git/doc/guix.texi:10799
  16327. #, no-wrap
  16328. msgid "--source"
  16329. msgstr ""
  16330. #. type: itemx
  16331. #: guix-git/doc/guix.texi:10800
  16332. #, no-wrap
  16333. msgid "-S"
  16334. msgstr ""
  16335. #. type: table
  16336. #: guix-git/doc/guix.texi:10803
  16337. msgid "Build the source derivations of the packages, rather than the packages themselves."
  16338. msgstr ""
  16339. #. type: table
  16340. #: guix-git/doc/guix.texi:10807
  16341. 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."
  16342. msgstr ""
  16343. #. type: table
  16344. #: guix-git/doc/guix.texi:10811
  16345. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  16346. msgstr ""
  16347. #. type: cindex
  16348. #: guix-git/doc/guix.texi:10812
  16349. #, no-wrap
  16350. msgid "source, verification"
  16351. msgstr ""
  16352. #. type: table
  16353. #: guix-git/doc/guix.texi:10818
  16354. 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."
  16355. msgstr ""
  16356. #. type: table
  16357. #: guix-git/doc/guix.texi:10823
  16358. 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."
  16359. msgstr ""
  16360. #. type: item
  16361. #: guix-git/doc/guix.texi:10824
  16362. #, no-wrap
  16363. msgid "--sources"
  16364. msgstr ""
  16365. #. type: table
  16366. #: guix-git/doc/guix.texi:10831
  16367. 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:"
  16368. msgstr ""
  16369. #. type: item
  16370. #: guix-git/doc/guix.texi:10833 guix-git/doc/guix.texi:12450
  16371. #, no-wrap
  16372. msgid "package"
  16373. msgstr ""
  16374. #. type: table
  16375. #: guix-git/doc/guix.texi:10836
  16376. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  16377. msgstr ""
  16378. #. type: item
  16379. #: guix-git/doc/guix.texi:10837 guix-git/doc/guix.texi:18532
  16380. #, no-wrap
  16381. msgid "all"
  16382. msgstr ""
  16383. #. type: table
  16384. #: guix-git/doc/guix.texi:10840
  16385. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  16386. msgstr ""
  16387. #. type: example
  16388. #: guix-git/doc/guix.texi:10846
  16389. #, no-wrap
  16390. msgid ""
  16391. "$ guix build --sources tzdata\n"
  16392. "The following derivations will be built:\n"
  16393. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  16394. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  16395. msgstr ""
  16396. #. type: item
  16397. #: guix-git/doc/guix.texi:10848
  16398. #, no-wrap
  16399. msgid "transitive"
  16400. msgstr ""
  16401. #. type: table
  16402. #: guix-git/doc/guix.texi:10852
  16403. 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."
  16404. msgstr ""
  16405. #. type: example
  16406. #: guix-git/doc/guix.texi:10863
  16407. #, no-wrap
  16408. msgid ""
  16409. "$ guix build --sources=transitive tzdata\n"
  16410. "The following derivations will be built:\n"
  16411. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  16412. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  16413. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  16414. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  16415. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  16416. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  16417. "@dots{}\n"
  16418. msgstr ""
  16419. #. type: table
  16420. #: guix-git/doc/guix.texi:10873
  16421. 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."
  16422. msgstr ""
  16423. #. type: quotation
  16424. #: guix-git/doc/guix.texi:10878
  16425. 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."
  16426. msgstr ""
  16427. #. type: table
  16428. #: guix-git/doc/guix.texi:10885
  16429. 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."
  16430. msgstr ""
  16431. #. type: quotation
  16432. #: guix-git/doc/guix.texi:10890
  16433. 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."
  16434. msgstr ""
  16435. #. type: table
  16436. #: guix-git/doc/guix.texi:10896
  16437. 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."
  16438. msgstr ""
  16439. #. type: table
  16440. #: guix-git/doc/guix.texi:10900
  16441. 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."
  16442. msgstr ""
  16443. #. type: table
  16444. #: guix-git/doc/guix.texi:10906
  16445. 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})."
  16446. msgstr ""
  16447. #. type: anchor{#1}
  16448. #: guix-git/doc/guix.texi:10908
  16449. msgid "build-check"
  16450. msgstr ""
  16451. #. type: item
  16452. #: guix-git/doc/guix.texi:10908
  16453. #, no-wrap
  16454. msgid "--check"
  16455. msgstr ""
  16456. #. type: cindex
  16457. #: guix-git/doc/guix.texi:10909
  16458. #, no-wrap
  16459. msgid "determinism, checking"
  16460. msgstr ""
  16461. #. type: cindex
  16462. #: guix-git/doc/guix.texi:10910
  16463. #, no-wrap
  16464. msgid "reproducibility, checking"
  16465. msgstr ""
  16466. #. type: table
  16467. #: guix-git/doc/guix.texi:10914
  16468. 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."
  16469. msgstr ""
  16470. #. type: table
  16471. #: guix-git/doc/guix.texi:10919
  16472. 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."
  16473. msgstr ""
  16474. #. type: item
  16475. #: guix-git/doc/guix.texi:10924
  16476. #, no-wrap
  16477. msgid "--repair"
  16478. msgstr ""
  16479. #. type: cindex
  16480. #: guix-git/doc/guix.texi:10925
  16481. #, no-wrap
  16482. msgid "repairing store items"
  16483. msgstr ""
  16484. #. type: table
  16485. #: guix-git/doc/guix.texi:10929
  16486. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  16487. msgstr ""
  16488. #. type: table
  16489. #: guix-git/doc/guix.texi:10931
  16490. msgid "This operation is not atomic and thus restricted to @code{root}."
  16491. msgstr ""
  16492. #. type: item
  16493. #: guix-git/doc/guix.texi:10932
  16494. #, no-wrap
  16495. msgid "--derivations"
  16496. msgstr ""
  16497. #. type: table
  16498. #: guix-git/doc/guix.texi:10936
  16499. msgid "Return the derivation paths, not the output paths, of the given packages."
  16500. msgstr ""
  16501. #. type: cindex
  16502. #: guix-git/doc/guix.texi:10939
  16503. #, no-wrap
  16504. msgid "GC roots, adding"
  16505. msgstr ""
  16506. #. type: cindex
  16507. #: guix-git/doc/guix.texi:10940
  16508. #, no-wrap
  16509. msgid "garbage collector roots, adding"
  16510. msgstr ""
  16511. #. type: table
  16512. #: guix-git/doc/guix.texi:10943 guix-git/doc/guix.texi:33904
  16513. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  16514. msgstr ""
  16515. #. type: table
  16516. #: guix-git/doc/guix.texi:10949
  16517. 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."
  16518. msgstr ""
  16519. #. type: item
  16520. #: guix-git/doc/guix.texi:10950
  16521. #, no-wrap
  16522. msgid "--log-file"
  16523. msgstr ""
  16524. #. type: cindex
  16525. #: guix-git/doc/guix.texi:10951
  16526. #, no-wrap
  16527. msgid "build logs, access"
  16528. msgstr ""
  16529. #. type: table
  16530. #: guix-git/doc/guix.texi:10955
  16531. 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."
  16532. msgstr ""
  16533. #. type: table
  16534. #: guix-git/doc/guix.texi:10958
  16535. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  16536. msgstr ""
  16537. #. type: example
  16538. #: guix-git/doc/guix.texi:10964
  16539. #, no-wrap
  16540. msgid ""
  16541. "guix build --log-file $(guix build -d guile)\n"
  16542. "guix build --log-file $(guix build guile)\n"
  16543. "guix build --log-file guile\n"
  16544. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  16545. msgstr ""
  16546. #. type: table
  16547. #: guix-git/doc/guix.texi:10969
  16548. 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})."
  16549. msgstr ""
  16550. #. type: table
  16551. #: guix-git/doc/guix.texi:10972
  16552. 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:"
  16553. msgstr ""
  16554. #. type: example
  16555. #: guix-git/doc/guix.texi:10976
  16556. #, no-wrap
  16557. msgid ""
  16558. "$ guix build --log-file gdb -s aarch64-linux\n"
  16559. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  16560. msgstr ""
  16561. #. type: table
  16562. #: guix-git/doc/guix.texi:10979
  16563. msgid "You can freely access a huge library of build logs!"
  16564. msgstr ""
  16565. #. type: cindex
  16566. #: guix-git/doc/guix.texi:10984
  16567. #, no-wrap
  16568. msgid "build failures, debugging"
  16569. msgstr ""
  16570. #. type: Plain text
  16571. #: guix-git/doc/guix.texi:10990
  16572. 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."
  16573. msgstr ""
  16574. #. type: Plain text
  16575. #: guix-git/doc/guix.texi:10995
  16576. 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}})."
  16577. msgstr ""
  16578. #. type: Plain text
  16579. #: guix-git/doc/guix.texi:11001
  16580. 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:"
  16581. msgstr ""
  16582. #. type: example
  16583. #: guix-git/doc/guix.texi:11008
  16584. #, no-wrap
  16585. msgid ""
  16586. "$ guix build foo -K\n"
  16587. "@dots{} @i{build fails}\n"
  16588. "$ cd /tmp/guix-build-foo.drv-0\n"
  16589. "$ source ./environment-variables\n"
  16590. "$ cd foo-1.2\n"
  16591. msgstr ""
  16592. #. type: Plain text
  16593. #: guix-git/doc/guix.texi:11012
  16594. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  16595. msgstr ""
  16596. #. type: Plain text
  16597. #: guix-git/doc/guix.texi:11018
  16598. 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})."
  16599. msgstr ""
  16600. #. type: Plain text
  16601. #: guix-git/doc/guix.texi:11021
  16602. 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:"
  16603. msgstr ""
  16604. #. type: example
  16605. #: guix-git/doc/guix.texi:11029
  16606. #, no-wrap
  16607. msgid ""
  16608. "$ guix build -K foo\n"
  16609. "@dots{}\n"
  16610. "$ cd /tmp/guix-build-foo.drv-0\n"
  16611. "$ guix environment --no-grafts -C foo --ad-hoc strace gdb\n"
  16612. "[env]# source ./environment-variables\n"
  16613. "[env]# cd foo-1.2\n"
  16614. msgstr ""
  16615. #. type: Plain text
  16616. #: guix-git/doc/guix.texi:11038
  16617. msgid "Here, @command{guix environment -C} creates a container and spawns a new shell in it (@pxref{Invoking guix environment}). The @command{--ad-hoc strace gdb} part adds the @command{strace} and @command{gdb} commands to the container, which you may find handy while debugging. The @option{--no-grafts} option makes sure we get the exact same environment, with ungrafted packages (@pxref{Security Updates}, for more info on grafts)."
  16618. msgstr ""
  16619. #. type: Plain text
  16620. #: guix-git/doc/guix.texi:11041
  16621. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  16622. msgstr ""
  16623. #. type: example
  16624. #: guix-git/doc/guix.texi:11044
  16625. #, no-wrap
  16626. msgid "[env]# rm /bin/sh\n"
  16627. msgstr ""
  16628. #. type: Plain text
  16629. #: guix-git/doc/guix.texi:11048
  16630. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix environment}.)"
  16631. msgstr ""
  16632. #. type: Plain text
  16633. #: guix-git/doc/guix.texi:11051
  16634. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  16635. msgstr ""
  16636. #. type: example
  16637. #: guix-git/doc/guix.texi:11054
  16638. #, no-wrap
  16639. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  16640. msgstr ""
  16641. #. type: Plain text
  16642. #: guix-git/doc/guix.texi:11059
  16643. 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."
  16644. msgstr ""
  16645. #. type: section
  16646. #: guix-git/doc/guix.texi:11062
  16647. #, no-wrap
  16648. msgid "Invoking @command{guix edit}"
  16649. msgstr ""
  16650. #. type: command{#1}
  16651. #: guix-git/doc/guix.texi:11064
  16652. #, no-wrap
  16653. msgid "guix edit"
  16654. msgstr ""
  16655. #. type: cindex
  16656. #: guix-git/doc/guix.texi:11065
  16657. #, no-wrap
  16658. msgid "package definition, editing"
  16659. msgstr ""
  16660. #. type: Plain text
  16661. #: guix-git/doc/guix.texi:11070
  16662. 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:"
  16663. msgstr ""
  16664. #. type: example
  16665. #: guix-git/doc/guix.texi:11073
  16666. #, no-wrap
  16667. msgid "guix edit gcc@@4.9 vim\n"
  16668. msgstr ""
  16669. #. type: Plain text
  16670. #: guix-git/doc/guix.texi:11079
  16671. 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."
  16672. msgstr ""
  16673. #. type: Plain text
  16674. #: guix-git/doc/guix.texi:11085
  16675. 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."
  16676. msgstr ""
  16677. #. type: Plain text
  16678. #: guix-git/doc/guix.texi:11090
  16679. 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."
  16680. msgstr ""
  16681. #. type: section
  16682. #: guix-git/doc/guix.texi:11092
  16683. #, no-wrap
  16684. msgid "Invoking @command{guix download}"
  16685. msgstr ""
  16686. #. type: command{#1}
  16687. #: guix-git/doc/guix.texi:11094
  16688. #, no-wrap
  16689. msgid "guix download"
  16690. msgstr ""
  16691. #. type: cindex
  16692. #: guix-git/doc/guix.texi:11095
  16693. #, no-wrap
  16694. msgid "downloading package sources"
  16695. msgstr ""
  16696. #. type: Plain text
  16697. #: guix-git/doc/guix.texi:11102
  16698. 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."
  16699. msgstr ""
  16700. #. type: Plain text
  16701. #: guix-git/doc/guix.texi:11109
  16702. 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})."
  16703. msgstr ""
  16704. #. type: Plain text
  16705. #: guix-git/doc/guix.texi:11117
  16706. 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."
  16707. msgstr ""
  16708. #. type: Plain text
  16709. #: guix-git/doc/guix.texi:11122
  16710. 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."
  16711. msgstr ""
  16712. #. type: Plain text
  16713. #: guix-git/doc/guix.texi:11124 guix-git/doc/guix.texi:12749
  16714. msgid "The following options are available:"
  16715. msgstr ""
  16716. #. type: item
  16717. #: guix-git/doc/guix.texi:11126 guix-git/doc/guix.texi:11170
  16718. #, no-wrap
  16719. msgid "--hash=@var{algorithm}"
  16720. msgstr ""
  16721. #. type: itemx
  16722. #: guix-git/doc/guix.texi:11127 guix-git/doc/guix.texi:11171
  16723. #, no-wrap
  16724. msgid "-H @var{algorithm}"
  16725. msgstr ""
  16726. #. type: table
  16727. #: guix-git/doc/guix.texi:11130
  16728. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  16729. msgstr ""
  16730. #. type: item
  16731. #: guix-git/doc/guix.texi:11131 guix-git/doc/guix.texi:11180
  16732. #, no-wrap
  16733. msgid "--format=@var{fmt}"
  16734. msgstr ""
  16735. #. type: itemx
  16736. #: guix-git/doc/guix.texi:11132 guix-git/doc/guix.texi:11181
  16737. #, no-wrap
  16738. msgid "-f @var{fmt}"
  16739. msgstr ""
  16740. #. type: table
  16741. #: guix-git/doc/guix.texi:11135
  16742. 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}."
  16743. msgstr ""
  16744. #. type: item
  16745. #: guix-git/doc/guix.texi:11136
  16746. #, no-wrap
  16747. msgid "--no-check-certificate"
  16748. msgstr ""
  16749. #. type: table
  16750. #: guix-git/doc/guix.texi:11138
  16751. msgid "Do not validate the X.509 certificates of HTTPS servers."
  16752. msgstr ""
  16753. #. type: table
  16754. #: guix-git/doc/guix.texi:11142
  16755. 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."
  16756. msgstr ""
  16757. #. type: item
  16758. #: guix-git/doc/guix.texi:11143
  16759. #, no-wrap
  16760. msgid "--output=@var{file}"
  16761. msgstr ""
  16762. #. type: itemx
  16763. #: guix-git/doc/guix.texi:11144
  16764. #, no-wrap
  16765. msgid "-o @var{file}"
  16766. msgstr ""
  16767. #. type: table
  16768. #: guix-git/doc/guix.texi:11147
  16769. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  16770. msgstr ""
  16771. #. type: section
  16772. #: guix-git/doc/guix.texi:11150
  16773. #, no-wrap
  16774. msgid "Invoking @command{guix hash}"
  16775. msgstr ""
  16776. #. type: command{#1}
  16777. #: guix-git/doc/guix.texi:11152
  16778. #, no-wrap
  16779. msgid "guix hash"
  16780. msgstr ""
  16781. #. type: Plain text
  16782. #: guix-git/doc/guix.texi:11157
  16783. msgid "The @command{guix hash} command computes the hash of a file. It is primarily a convenience tool for anyone contributing to the distribution: it computes the cryptographic hash of a file, which can be used in the definition of a package (@pxref{Defining Packages})."
  16784. msgstr ""
  16785. #. type: example
  16786. #: guix-git/doc/guix.texi:11162
  16787. #, no-wrap
  16788. msgid "guix hash @var{option} @var{file}\n"
  16789. msgstr ""
  16790. #. type: Plain text
  16791. #: guix-git/doc/guix.texi:11167
  16792. 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:"
  16793. msgstr ""
  16794. #. type: table
  16795. #: guix-git/doc/guix.texi:11174
  16796. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  16797. msgstr ""
  16798. #. type: table
  16799. #: guix-git/doc/guix.texi:11179
  16800. 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})."
  16801. msgstr ""
  16802. #. type: table
  16803. #: guix-git/doc/guix.texi:11183
  16804. msgid "Write the hash in the format specified by @var{fmt}."
  16805. msgstr ""
  16806. #. type: table
  16807. #: guix-git/doc/guix.texi:11186
  16808. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  16809. msgstr ""
  16810. #. type: table
  16811. #: guix-git/doc/guix.texi:11190
  16812. 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."
  16813. msgstr ""
  16814. #. type: table
  16815. #: guix-git/doc/guix.texi:11194
  16816. msgid "Compute the hash on @var{file} recursively."
  16817. msgstr ""
  16818. #. type: table
  16819. #: guix-git/doc/guix.texi:11203
  16820. msgid "In this case, the hash is computed on an archive containing @var{file}, including its children if it is a directory. Some of the metadata of @var{file} is part of the archive; for instance, when @var{file} is a regular file, the hash is different depending on whether @var{file} is executable or not. Metadata such as time stamps has no impact on the hash (@pxref{Invoking guix archive})."
  16821. msgstr ""
  16822. #. type: item
  16823. #: guix-git/doc/guix.texi:11204
  16824. #, no-wrap
  16825. msgid "--exclude-vcs"
  16826. msgstr ""
  16827. #. type: itemx
  16828. #: guix-git/doc/guix.texi:11205 guix-git/doc/guix.texi:12236
  16829. #, no-wrap
  16830. msgid "-x"
  16831. msgstr ""
  16832. #. type: table
  16833. #: guix-git/doc/guix.texi:11208
  16834. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  16835. msgstr ""
  16836. #. type: vindex
  16837. #: guix-git/doc/guix.texi:11209
  16838. #, no-wrap
  16839. msgid "git-fetch"
  16840. msgstr ""
  16841. #. type: table
  16842. #: guix-git/doc/guix.texi:11213
  16843. 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}):"
  16844. msgstr ""
  16845. #. type: example
  16846. #: guix-git/doc/guix.texi:11218
  16847. #, no-wrap
  16848. msgid ""
  16849. "$ git clone http://example.org/foo.git\n"
  16850. "$ cd foo\n"
  16851. "$ guix hash -rx .\n"
  16852. msgstr ""
  16853. #. type: cindex
  16854. #: guix-git/doc/guix.texi:11222 guix-git/doc/guix.texi:11227
  16855. #, no-wrap
  16856. msgid "Invoking @command{guix import}"
  16857. msgstr ""
  16858. #. type: cindex
  16859. #: guix-git/doc/guix.texi:11224
  16860. #, no-wrap
  16861. msgid "importing packages"
  16862. msgstr ""
  16863. #. type: cindex
  16864. #: guix-git/doc/guix.texi:11225
  16865. #, no-wrap
  16866. msgid "package import"
  16867. msgstr ""
  16868. #. type: cindex
  16869. #: guix-git/doc/guix.texi:11226
  16870. #, no-wrap
  16871. msgid "package conversion"
  16872. msgstr ""
  16873. #. type: Plain text
  16874. #: guix-git/doc/guix.texi:11234
  16875. 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})."
  16876. msgstr ""
  16877. #. type: example
  16878. #: guix-git/doc/guix.texi:11239
  16879. #, no-wrap
  16880. msgid "guix import @var{importer} @var{options}@dots{}\n"
  16881. msgstr ""
  16882. #. type: Plain text
  16883. #: guix-git/doc/guix.texi:11244
  16884. 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}."
  16885. msgstr ""
  16886. #. type: Plain text
  16887. #: guix-git/doc/guix.texi:11248
  16888. 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."
  16889. msgstr ""
  16890. #. type: Plain text
  16891. #: guix-git/doc/guix.texi:11250
  16892. msgid "Currently, the available ``importers'' are:"
  16893. msgstr ""
  16894. #. type: item
  16895. #: guix-git/doc/guix.texi:11252 guix-git/doc/guix.texi:11881
  16896. #, no-wrap
  16897. msgid "gnu"
  16898. msgstr ""
  16899. #. type: table
  16900. #: guix-git/doc/guix.texi:11256
  16901. 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."
  16902. msgstr ""
  16903. #. type: table
  16904. #: guix-git/doc/guix.texi:11259
  16905. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  16906. msgstr ""
  16907. #. type: table
  16908. #: guix-git/doc/guix.texi:11262
  16909. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  16910. msgstr ""
  16911. #. type: example
  16912. #: guix-git/doc/guix.texi:11265
  16913. #, no-wrap
  16914. msgid "guix import gnu hello\n"
  16915. msgstr ""
  16916. #. type: table
  16917. #: guix-git/doc/guix.texi:11268 guix-git/doc/guix.texi:11510
  16918. #: guix-git/doc/guix.texi:11560 guix-git/doc/guix.texi:11589
  16919. msgid "Specific command-line options are:"
  16920. msgstr ""
  16921. #. type: item
  16922. #: guix-git/doc/guix.texi:11270 guix-git/doc/guix.texi:12044
  16923. #, no-wrap
  16924. msgid "--key-download=@var{policy}"
  16925. msgstr ""
  16926. #. type: table
  16927. #: guix-git/doc/guix.texi:11274
  16928. 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}}."
  16929. msgstr ""
  16930. #. type: item
  16931. #: guix-git/doc/guix.texi:11276 guix-git/doc/guix.texi:11277
  16932. #: guix-git/doc/guix.texi:11905
  16933. #, no-wrap
  16934. msgid "pypi"
  16935. msgstr ""
  16936. #. type: table
  16937. #: guix-git/doc/guix.texi:11284
  16938. 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."
  16939. msgstr ""
  16940. #. type: table
  16941. #: guix-git/doc/guix.texi:11287
  16942. msgid "The command below imports metadata for the @code{itsdangerous} Python package:"
  16943. msgstr ""
  16944. #. type: example
  16945. #: guix-git/doc/guix.texi:11290
  16946. #, no-wrap
  16947. msgid "guix import pypi itsdangerous\n"
  16948. msgstr ""
  16949. #. type: table
  16950. #: guix-git/doc/guix.texi:11298 guix-git/doc/guix.texi:11323
  16951. #: guix-git/doc/guix.texi:11355 guix-git/doc/guix.texi:11533
  16952. #: guix-git/doc/guix.texi:11574 guix-git/doc/guix.texi:11621
  16953. #: guix-git/doc/guix.texi:11646 guix-git/doc/guix.texi:11662
  16954. #: guix-git/doc/guix.texi:11710 guix-git/doc/guix.texi:11740
  16955. 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."
  16956. msgstr ""
  16957. #. type: item
  16958. #: guix-git/doc/guix.texi:11300 guix-git/doc/guix.texi:11301
  16959. #: guix-git/doc/guix.texi:11907
  16960. #, no-wrap
  16961. msgid "gem"
  16962. msgstr ""
  16963. #. type: table
  16964. #: guix-git/doc/guix.texi:11310
  16965. 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."
  16966. msgstr ""
  16967. #. type: table
  16968. #: guix-git/doc/guix.texi:11312
  16969. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  16970. msgstr ""
  16971. #. type: example
  16972. #: guix-git/doc/guix.texi:11315
  16973. #, no-wrap
  16974. msgid "guix import gem rails\n"
  16975. msgstr ""
  16976. #. type: item
  16977. #: guix-git/doc/guix.texi:11325
  16978. #, no-wrap
  16979. msgid "contentdb"
  16980. msgstr ""
  16981. #. type: cindex
  16982. #: guix-git/doc/guix.texi:11326
  16983. #, no-wrap
  16984. msgid "minetest"
  16985. msgstr ""
  16986. #. type: cindex
  16987. #: guix-git/doc/guix.texi:11327
  16988. #, no-wrap
  16989. msgid "ContentDB"
  16990. msgstr ""
  16991. #. type: table
  16992. #: guix-git/doc/guix.texi:11336
  16993. 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."
  16994. msgstr ""
  16995. #. type: table
  16996. #: guix-git/doc/guix.texi:11338
  16997. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  16998. msgstr ""
  16999. #. type: example
  17000. #: guix-git/doc/guix.texi:11341
  17001. #, no-wrap
  17002. msgid "guix import minetest Jeija/mesecons\n"
  17003. msgstr ""
  17004. #. type: table
  17005. #: guix-git/doc/guix.texi:11344
  17006. msgid "The author name can also be left out:"
  17007. msgstr ""
  17008. #. type: example
  17009. #: guix-git/doc/guix.texi:11347
  17010. #, no-wrap
  17011. msgid "guix import minetest mesecons\n"
  17012. msgstr ""
  17013. #. type: item
  17014. #: guix-git/doc/guix.texi:11357 guix-git/doc/guix.texi:11903
  17015. #, no-wrap
  17016. msgid "cpan"
  17017. msgstr ""
  17018. #. type: cindex
  17019. #: guix-git/doc/guix.texi:11358
  17020. #, no-wrap
  17021. msgid "CPAN"
  17022. msgstr ""
  17023. #. type: table
  17024. #: guix-git/doc/guix.texi:11366
  17025. 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."
  17026. msgstr ""
  17027. #. type: table
  17028. #: guix-git/doc/guix.texi:11369
  17029. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  17030. msgstr ""
  17031. #. type: example
  17032. #: guix-git/doc/guix.texi:11372
  17033. #, no-wrap
  17034. msgid "guix import cpan Acme::Boolean\n"
  17035. msgstr ""
  17036. #. type: item
  17037. #: guix-git/doc/guix.texi:11374 guix-git/doc/guix.texi:11899
  17038. #, no-wrap
  17039. msgid "cran"
  17040. msgstr ""
  17041. #. type: cindex
  17042. #: guix-git/doc/guix.texi:11375
  17043. #, no-wrap
  17044. msgid "CRAN"
  17045. msgstr ""
  17046. #. type: cindex
  17047. #: guix-git/doc/guix.texi:11376
  17048. #, no-wrap
  17049. msgid "Bioconductor"
  17050. msgstr ""
  17051. #. type: table
  17052. #: guix-git/doc/guix.texi:11380
  17053. 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}."
  17054. msgstr ""
  17055. #. type: table
  17056. #: guix-git/doc/guix.texi:11382
  17057. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  17058. msgstr ""
  17059. #. type: table
  17060. #: guix-git/doc/guix.texi:11384
  17061. msgid "The command command below imports metadata for the Cairo R package:"
  17062. msgstr ""
  17063. #. type: example
  17064. #: guix-git/doc/guix.texi:11387
  17065. #, no-wrap
  17066. msgid "guix import cran Cairo\n"
  17067. msgstr ""
  17068. #. type: table
  17069. #: guix-git/doc/guix.texi:11392
  17070. 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."
  17071. msgstr ""
  17072. #. type: table
  17073. #: guix-git/doc/guix.texi:11399
  17074. 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}."
  17075. msgstr ""
  17076. #. type: table
  17077. #: guix-git/doc/guix.texi:11404
  17078. 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."
  17079. msgstr ""
  17080. #. type: table
  17081. #: guix-git/doc/guix.texi:11407
  17082. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  17083. msgstr ""
  17084. #. type: table
  17085. #: guix-git/doc/guix.texi:11409
  17086. msgid "The command below imports metadata for the GenomicRanges R package:"
  17087. msgstr ""
  17088. #. type: example
  17089. #: guix-git/doc/guix.texi:11412
  17090. #, no-wrap
  17091. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  17092. msgstr ""
  17093. #. type: table
  17094. #: guix-git/doc/guix.texi:11417
  17095. 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:"
  17096. msgstr ""
  17097. #. type: example
  17098. #: guix-git/doc/guix.texi:11420
  17099. #, no-wrap
  17100. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  17101. msgstr ""
  17102. #. type: item
  17103. #: guix-git/doc/guix.texi:11422
  17104. #, no-wrap
  17105. msgid "texlive"
  17106. msgstr ""
  17107. #. type: cindex
  17108. #: guix-git/doc/guix.texi:11423
  17109. #, no-wrap
  17110. msgid "TeX Live"
  17111. msgstr ""
  17112. #. type: cindex
  17113. #: guix-git/doc/guix.texi:11424
  17114. #, no-wrap
  17115. msgid "CTAN"
  17116. msgstr ""
  17117. #. type: table
  17118. #: guix-git/doc/guix.texi:11428
  17119. msgid "Import metadata from @uref{https://www.ctan.org/, CTAN}, the comprehensive TeX archive network for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}."
  17120. msgstr ""
  17121. #. type: table
  17122. #: guix-git/doc/guix.texi:11433
  17123. msgid "Information about the package is obtained through the XML API provided by CTAN, while the source code is downloaded from the SVN repository of the Tex Live project. This is done because the CTAN does not keep versioned archives."
  17124. msgstr ""
  17125. #. type: table
  17126. #: guix-git/doc/guix.texi:11436
  17127. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  17128. msgstr ""
  17129. #. type: example
  17130. #: guix-git/doc/guix.texi:11439
  17131. #, no-wrap
  17132. msgid "guix import texlive fontspec\n"
  17133. msgstr ""
  17134. #. type: table
  17135. #: guix-git/doc/guix.texi:11445
  17136. msgid "When @option{--archive=@var{directory}} is added, the source code is downloaded not from the @file{latex} sub-directory of the @file{texmf-dist/source} tree in the TeX Live SVN repository, but from the specified sibling @var{directory} under the same root."
  17137. msgstr ""
  17138. #. type: table
  17139. #: guix-git/doc/guix.texi:11449
  17140. msgid "The command below imports metadata for the @code{ifxetex} package from CTAN while fetching the sources from the directory @file{texmf/source/generic}:"
  17141. msgstr ""
  17142. #. type: example
  17143. #: guix-git/doc/guix.texi:11452
  17144. #, no-wrap
  17145. msgid "guix import texlive --archive=generic ifxetex\n"
  17146. msgstr ""
  17147. #. type: cindex
  17148. #: guix-git/doc/guix.texi:11455
  17149. #, no-wrap
  17150. msgid "JSON, import"
  17151. msgstr ""
  17152. #. type: table
  17153. #: guix-git/doc/guix.texi:11458
  17154. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  17155. msgstr ""
  17156. #. type: example
  17157. #: guix-git/doc/guix.texi:11471
  17158. #, no-wrap
  17159. msgid ""
  17160. "@{\n"
  17161. " \"name\": \"hello\",\n"
  17162. " \"version\": \"2.10\",\n"
  17163. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17164. " \"build-system\": \"gnu\",\n"
  17165. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  17166. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  17167. " \"description\": \"GNU Hello prints a greeting.\",\n"
  17168. " \"license\": \"GPL-3.0+\",\n"
  17169. " \"native-inputs\": [\"gettext\"]\n"
  17170. "@}\n"
  17171. msgstr ""
  17172. #. type: table
  17173. #: guix-git/doc/guix.texi:11477
  17174. 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}."
  17175. msgstr ""
  17176. #. type: table
  17177. #: guix-git/doc/guix.texi:11480
  17178. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  17179. msgstr ""
  17180. #. type: example
  17181. #: guix-git/doc/guix.texi:11493
  17182. #, no-wrap
  17183. msgid ""
  17184. "@{\n"
  17185. " @dots{}\n"
  17186. " \"source\": @{\n"
  17187. " \"method\": \"url-fetch\",\n"
  17188. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17189. " \"sha256\": @{\n"
  17190. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  17191. " @}\n"
  17192. " @}\n"
  17193. " @dots{}\n"
  17194. "@}\n"
  17195. msgstr ""
  17196. #. type: table
  17197. #: guix-git/doc/guix.texi:11497
  17198. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  17199. msgstr ""
  17200. #. type: example
  17201. #: guix-git/doc/guix.texi:11500
  17202. #, no-wrap
  17203. msgid "guix import json hello.json\n"
  17204. msgstr ""
  17205. #. type: item
  17206. #: guix-git/doc/guix.texi:11502 guix-git/doc/guix.texi:11503
  17207. #: guix-git/doc/guix.texi:11911
  17208. #, no-wrap
  17209. msgid "hackage"
  17210. msgstr ""
  17211. #. type: table
  17212. #: guix-git/doc/guix.texi:11508
  17213. 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."
  17214. msgstr ""
  17215. #. type: item
  17216. #: guix-git/doc/guix.texi:11512
  17217. #, no-wrap
  17218. msgid "--stdin"
  17219. msgstr ""
  17220. #. type: itemx
  17221. #: guix-git/doc/guix.texi:11513
  17222. #, no-wrap
  17223. msgid "-s"
  17224. msgstr ""
  17225. #. type: table
  17226. #: guix-git/doc/guix.texi:11515
  17227. msgid "Read a Cabal file from standard input."
  17228. msgstr ""
  17229. #. type: item
  17230. #: guix-git/doc/guix.texi:11515 guix-git/doc/guix.texi:11562
  17231. #, no-wrap
  17232. msgid "--no-test-dependencies"
  17233. msgstr ""
  17234. #. type: table
  17235. #: guix-git/doc/guix.texi:11518 guix-git/doc/guix.texi:11565
  17236. msgid "Do not include dependencies required only by the test suites."
  17237. msgstr ""
  17238. #. type: item
  17239. #: guix-git/doc/guix.texi:11518
  17240. #, no-wrap
  17241. msgid "--cabal-environment=@var{alist}"
  17242. msgstr ""
  17243. #. type: itemx
  17244. #: guix-git/doc/guix.texi:11519
  17245. #, no-wrap
  17246. msgid "-e @var{alist}"
  17247. msgstr ""
  17248. #. type: table
  17249. #: guix-git/doc/guix.texi:11528
  17250. 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."
  17251. msgstr ""
  17252. #. type: table
  17253. #: guix-git/doc/guix.texi:11538
  17254. 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}:"
  17255. msgstr ""
  17256. #. type: example
  17257. #: guix-git/doc/guix.texi:11541
  17258. #, no-wrap
  17259. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  17260. msgstr ""
  17261. #. type: table
  17262. #: guix-git/doc/guix.texi:11545
  17263. 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:"
  17264. msgstr ""
  17265. #. type: example
  17266. #: guix-git/doc/guix.texi:11548
  17267. #, no-wrap
  17268. msgid "guix import hackage mtl@@2.1.3.1\n"
  17269. msgstr ""
  17270. #. type: item
  17271. #: guix-git/doc/guix.texi:11550 guix-git/doc/guix.texi:11551
  17272. #: guix-git/doc/guix.texi:11913
  17273. #, no-wrap
  17274. msgid "stackage"
  17275. msgstr ""
  17276. #. type: table
  17277. #: guix-git/doc/guix.texi:11558
  17278. 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."
  17279. msgstr ""
  17280. #. type: item
  17281. #: guix-git/doc/guix.texi:11565
  17282. #, no-wrap
  17283. msgid "--lts-version=@var{version}"
  17284. msgstr ""
  17285. #. type: itemx
  17286. #: guix-git/doc/guix.texi:11566
  17287. #, no-wrap
  17288. msgid "-l @var{version}"
  17289. msgstr ""
  17290. #. type: table
  17291. #: guix-git/doc/guix.texi:11569
  17292. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  17293. msgstr ""
  17294. #. type: table
  17295. #: guix-git/doc/guix.texi:11578
  17296. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  17297. msgstr ""
  17298. #. type: example
  17299. #: guix-git/doc/guix.texi:11581
  17300. #, no-wrap
  17301. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  17302. msgstr ""
  17303. #. type: item
  17304. #: guix-git/doc/guix.texi:11583 guix-git/doc/guix.texi:11584
  17305. #: guix-git/doc/guix.texi:11897
  17306. #, no-wrap
  17307. msgid "elpa"
  17308. msgstr ""
  17309. #. type: table
  17310. #: guix-git/doc/guix.texi:11587
  17311. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  17312. msgstr ""
  17313. #. type: item
  17314. #: guix-git/doc/guix.texi:11591
  17315. #, no-wrap
  17316. msgid "--archive=@var{repo}"
  17317. msgstr ""
  17318. #. type: itemx
  17319. #: guix-git/doc/guix.texi:11592
  17320. #, no-wrap
  17321. msgid "-a @var{repo}"
  17322. msgstr ""
  17323. #. type: table
  17324. #: guix-git/doc/guix.texi:11596
  17325. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  17326. msgstr ""
  17327. #. type: itemize
  17328. #: guix-git/doc/guix.texi:11600
  17329. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  17330. msgstr ""
  17331. #. type: itemize
  17332. #: guix-git/doc/guix.texi:11606
  17333. 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})."
  17334. msgstr ""
  17335. #. type: itemize
  17336. #: guix-git/doc/guix.texi:11610
  17337. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  17338. msgstr ""
  17339. #. type: itemize
  17340. #: guix-git/doc/guix.texi:11614
  17341. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  17342. msgstr ""
  17343. #. type: item
  17344. #: guix-git/doc/guix.texi:11623 guix-git/doc/guix.texi:11624
  17345. #: guix-git/doc/guix.texi:11915
  17346. #, no-wrap
  17347. msgid "crate"
  17348. msgstr ""
  17349. #. type: table
  17350. #: guix-git/doc/guix.texi:11627
  17351. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  17352. msgstr ""
  17353. #. type: example
  17354. #: guix-git/doc/guix.texi:11630
  17355. #, no-wrap
  17356. msgid "guix import crate blake2-rfc\n"
  17357. msgstr ""
  17358. #. type: table
  17359. #: guix-git/doc/guix.texi:11633
  17360. msgid "The crate importer also allows you to specify a version string:"
  17361. msgstr ""
  17362. #. type: example
  17363. #: guix-git/doc/guix.texi:11636
  17364. #, no-wrap
  17365. msgid "guix import crate constant-time-eq@@0.1.0\n"
  17366. msgstr ""
  17367. #. type: table
  17368. #: guix-git/doc/guix.texi:11639 guix-git/doc/guix.texi:11655
  17369. #: guix-git/doc/guix.texi:11703 guix-git/doc/guix.texi:11734
  17370. msgid "Additional options include:"
  17371. msgstr ""
  17372. #. type: item
  17373. #: guix-git/doc/guix.texi:11648
  17374. #, no-wrap
  17375. msgid "opam"
  17376. msgstr ""
  17377. #. type: cindex
  17378. #: guix-git/doc/guix.texi:11649
  17379. #, no-wrap
  17380. msgid "OPAM"
  17381. msgstr ""
  17382. #. type: cindex
  17383. #: guix-git/doc/guix.texi:11650
  17384. #, no-wrap
  17385. msgid "OCaml"
  17386. msgstr ""
  17387. #. type: table
  17388. #: guix-git/doc/guix.texi:11653
  17389. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  17390. msgstr ""
  17391. #. type: item
  17392. #: guix-git/doc/guix.texi:11662
  17393. #, no-wrap
  17394. msgid "--repo"
  17395. msgstr ""
  17396. #. type: table
  17397. #: guix-git/doc/guix.texi:11666
  17398. 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:"
  17399. msgstr ""
  17400. #. type: item
  17401. #: guix-git/doc/guix.texi:11668
  17402. #, no-wrap
  17403. msgid "the name of a known repository - can be one of @code{opam},"
  17404. msgstr ""
  17405. #. type: itemize
  17406. #: guix-git/doc/guix.texi:11671
  17407. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  17408. msgstr ""
  17409. #. type: item
  17410. #: guix-git/doc/guix.texi:11671
  17411. #, no-wrap
  17412. msgid "the URL of a repository as expected by the"
  17413. msgstr ""
  17414. #. type: itemize
  17415. #: guix-git/doc/guix.texi:11675
  17416. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  17417. msgstr ""
  17418. #. type: item
  17419. #: guix-git/doc/guix.texi:11675
  17420. #, no-wrap
  17421. msgid "the path to a local copy of a repository (a directory containing a"
  17422. msgstr ""
  17423. #. type: itemize
  17424. #: guix-git/doc/guix.texi:11677
  17425. msgid "@file{packages/} sub-directory)."
  17426. msgstr ""
  17427. #. type: table
  17428. #: guix-git/doc/guix.texi:11682
  17429. 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."
  17430. msgstr ""
  17431. #. type: table
  17432. #: guix-git/doc/guix.texi:11687
  17433. msgid "Also, please note that versions are not compared accross 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}."
  17434. msgstr ""
  17435. #. type: cindex
  17436. #: guix-git/doc/guix.texi:11690 guix-git/doc/guix.texi:11691
  17437. #, no-wrap
  17438. msgid "go"
  17439. msgstr ""
  17440. #. type: table
  17441. #: guix-git/doc/guix.texi:11694
  17442. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  17443. msgstr ""
  17444. #. type: example
  17445. #: guix-git/doc/guix.texi:11697
  17446. #, no-wrap
  17447. msgid "guix import go gopkg.in/yaml.v2\n"
  17448. msgstr ""
  17449. #. type: table
  17450. #: guix-git/doc/guix.texi:11701
  17451. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  17452. msgstr ""
  17453. #. type: item
  17454. #: guix-git/doc/guix.texi:11710
  17455. #, no-wrap
  17456. msgid "--pin-versions"
  17457. msgstr ""
  17458. #. type: table
  17459. #: guix-git/doc/guix.texi:11718
  17460. 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."
  17461. msgstr ""
  17462. #. type: item
  17463. #: guix-git/doc/guix.texi:11720 guix-git/doc/guix.texi:11721
  17464. #: guix-git/doc/guix.texi:11895
  17465. #, no-wrap
  17466. msgid "egg"
  17467. msgstr ""
  17468. #. type: table
  17469. #: guix-git/doc/guix.texi:11728
  17470. msgid "Import metadata for @uref{https://wiki.call-cc.org/eggs, CHICKEN eggs}. The information is taken from @file{PACKAGE.egg} files found in the @uref{git://code.call-cc.org/eggs-5-latest, eggs-5-latest} Git repository. However, it does not provide all the information that we need, there is no ``description'' field, and the licenses used are not always precise (BSD is often used instead of BSD-N)."
  17471. msgstr ""
  17472. #. type: example
  17473. #: guix-git/doc/guix.texi:11731
  17474. #, no-wrap
  17475. msgid "guix import egg sourcehut\n"
  17476. msgstr ""
  17477. #. type: Plain text
  17478. #: guix-git/doc/guix.texi:11746
  17479. 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})."
  17480. msgstr ""
  17481. #. type: section
  17482. #: guix-git/doc/guix.texi:11748
  17483. #, no-wrap
  17484. msgid "Invoking @command{guix refresh}"
  17485. msgstr ""
  17486. #. type: command{#1}
  17487. #: guix-git/doc/guix.texi:11750
  17488. #, no-wrap
  17489. msgid "guix refresh"
  17490. msgstr ""
  17491. #. type: Plain text
  17492. #: guix-git/doc/guix.texi:11758
  17493. 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:"
  17494. msgstr ""
  17495. #. type: example
  17496. #: guix-git/doc/guix.texi:11763
  17497. #, no-wrap
  17498. msgid ""
  17499. "$ guix refresh\n"
  17500. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  17501. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  17502. msgstr ""
  17503. #. type: Plain text
  17504. #: guix-git/doc/guix.texi:11767
  17505. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  17506. msgstr ""
  17507. #. type: example
  17508. #: guix-git/doc/guix.texi:11772
  17509. #, no-wrap
  17510. msgid ""
  17511. "$ guix refresh coreutils guile guile-ssh\n"
  17512. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  17513. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  17514. msgstr ""
  17515. #. type: Plain text
  17516. #: guix-git/doc/guix.texi:11781
  17517. 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!"
  17518. msgstr ""
  17519. #. type: table
  17520. #: guix-git/doc/guix.texi:11786
  17521. msgid "Consider the packages specified, and all the packages upon which they depend."
  17522. msgstr ""
  17523. #. type: example
  17524. #: guix-git/doc/guix.texi:11794
  17525. #, no-wrap
  17526. msgid ""
  17527. "$ guix refresh --recursive coreutils\n"
  17528. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  17529. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  17530. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  17531. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  17532. "@dots{}\n"
  17533. msgstr ""
  17534. #. type: Plain text
  17535. #: guix-git/doc/guix.texi:11802
  17536. 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:"
  17537. msgstr ""
  17538. #. type: lisp
  17539. #: guix-git/doc/guix.texi:11809
  17540. #, no-wrap
  17541. msgid ""
  17542. "(define-public network-manager\n"
  17543. " (package\n"
  17544. " (name \"network-manager\")\n"
  17545. " ;; @dots{}\n"
  17546. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  17547. msgstr ""
  17548. #. type: Plain text
  17549. #: guix-git/doc/guix.texi:11818
  17550. 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."
  17551. msgstr ""
  17552. #. type: Plain text
  17553. #: guix-git/doc/guix.texi:11824
  17554. 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."
  17555. msgstr ""
  17556. #. type: Plain text
  17557. #: guix-git/doc/guix.texi:11826
  17558. msgid "The following options are supported:"
  17559. msgstr ""
  17560. #. type: table
  17561. #: guix-git/doc/guix.texi:11834 guix-git/doc/guix.texi:12631
  17562. msgid "This is useful to precisely refer to a package, as in this example:"
  17563. msgstr ""
  17564. #. type: example
  17565. #: guix-git/doc/guix.texi:11837
  17566. #, no-wrap
  17567. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  17568. msgstr ""
  17569. #. type: table
  17570. #: guix-git/doc/guix.texi:11841
  17571. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  17572. msgstr ""
  17573. #. type: item
  17574. #: guix-git/doc/guix.texi:11842
  17575. #, no-wrap
  17576. msgid "--update"
  17577. msgstr ""
  17578. #. type: itemx
  17579. #: guix-git/doc/guix.texi:11843
  17580. #, no-wrap
  17581. msgid "-u"
  17582. msgstr ""
  17583. #. type: table
  17584. #: guix-git/doc/guix.texi:11847
  17585. 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}):"
  17586. msgstr ""
  17587. #. type: example
  17588. #: guix-git/doc/guix.texi:11850
  17589. #, no-wrap
  17590. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  17591. msgstr ""
  17592. #. type: table
  17593. #: guix-git/doc/guix.texi:11853
  17594. msgid "@xref{Defining Packages}, for more information on package definitions."
  17595. msgstr ""
  17596. #. type: item
  17597. #: guix-git/doc/guix.texi:11854
  17598. #, no-wrap
  17599. msgid "--select=[@var{subset}]"
  17600. msgstr ""
  17601. #. type: itemx
  17602. #: guix-git/doc/guix.texi:11855
  17603. #, no-wrap
  17604. msgid "-s @var{subset}"
  17605. msgstr ""
  17606. #. type: table
  17607. #: guix-git/doc/guix.texi:11858
  17608. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  17609. msgstr ""
  17610. #. type: table
  17611. #: guix-git/doc/guix.texi:11865
  17612. 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."
  17613. msgstr ""
  17614. #. type: table
  17615. #: guix-git/doc/guix.texi:11869
  17616. 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."
  17617. msgstr ""
  17618. #. type: table
  17619. #: guix-git/doc/guix.texi:11874
  17620. 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."
  17621. msgstr ""
  17622. #. type: item
  17623. #: guix-git/doc/guix.texi:11875
  17624. #, no-wrap
  17625. msgid "--type=@var{updater}"
  17626. msgstr ""
  17627. #. type: itemx
  17628. #: guix-git/doc/guix.texi:11876
  17629. #, no-wrap
  17630. msgid "-t @var{updater}"
  17631. msgstr ""
  17632. #. type: table
  17633. #: guix-git/doc/guix.texi:11879
  17634. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  17635. msgstr ""
  17636. #. type: table
  17637. #: guix-git/doc/guix.texi:11883
  17638. msgid "the updater for GNU packages;"
  17639. msgstr ""
  17640. #. type: item
  17641. #: guix-git/doc/guix.texi:11883
  17642. #, no-wrap
  17643. msgid "savannah"
  17644. msgstr ""
  17645. #. type: table
  17646. #: guix-git/doc/guix.texi:11885
  17647. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  17648. msgstr ""
  17649. #. type: item
  17650. #: guix-git/doc/guix.texi:11885
  17651. #, no-wrap
  17652. msgid "sourceforge"
  17653. msgstr ""
  17654. #. type: table
  17655. #: guix-git/doc/guix.texi:11887
  17656. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  17657. msgstr ""
  17658. #. type: item
  17659. #: guix-git/doc/guix.texi:11887
  17660. #, no-wrap
  17661. msgid "gnome"
  17662. msgstr ""
  17663. #. type: table
  17664. #: guix-git/doc/guix.texi:11889
  17665. msgid "the updater for GNOME packages;"
  17666. msgstr ""
  17667. #. type: item
  17668. #: guix-git/doc/guix.texi:11889
  17669. #, no-wrap
  17670. msgid "kde"
  17671. msgstr ""
  17672. #. type: table
  17673. #: guix-git/doc/guix.texi:11891
  17674. msgid "the updater for KDE packages;"
  17675. msgstr ""
  17676. #. type: item
  17677. #: guix-git/doc/guix.texi:11891
  17678. #, no-wrap
  17679. msgid "xorg"
  17680. msgstr ""
  17681. #. type: table
  17682. #: guix-git/doc/guix.texi:11893
  17683. msgid "the updater for X.org packages;"
  17684. msgstr ""
  17685. #. type: item
  17686. #: guix-git/doc/guix.texi:11893
  17687. #, no-wrap
  17688. msgid "kernel.org"
  17689. msgstr ""
  17690. #. type: table
  17691. #: guix-git/doc/guix.texi:11895
  17692. msgid "the updater for packages hosted on kernel.org;"
  17693. msgstr ""
  17694. #. type: table
  17695. #: guix-git/doc/guix.texi:11897
  17696. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  17697. msgstr ""
  17698. #. type: table
  17699. #: guix-git/doc/guix.texi:11899
  17700. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  17701. msgstr ""
  17702. #. type: table
  17703. #: guix-git/doc/guix.texi:11901
  17704. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  17705. msgstr ""
  17706. #. type: item
  17707. #: guix-git/doc/guix.texi:11901
  17708. #, no-wrap
  17709. msgid "bioconductor"
  17710. msgstr ""
  17711. #. type: table
  17712. #: guix-git/doc/guix.texi:11903
  17713. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  17714. msgstr ""
  17715. #. type: table
  17716. #: guix-git/doc/guix.texi:11905
  17717. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  17718. msgstr ""
  17719. #. type: table
  17720. #: guix-git/doc/guix.texi:11907
  17721. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  17722. msgstr ""
  17723. #. type: table
  17724. #: guix-git/doc/guix.texi:11909
  17725. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  17726. msgstr ""
  17727. #. type: item
  17728. #: guix-git/doc/guix.texi:11909
  17729. #, no-wrap
  17730. msgid "github"
  17731. msgstr ""
  17732. #. type: table
  17733. #: guix-git/doc/guix.texi:11911
  17734. msgid "the updater for @uref{https://github.com, GitHub} packages."
  17735. msgstr ""
  17736. #. type: table
  17737. #: guix-git/doc/guix.texi:11913
  17738. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  17739. msgstr ""
  17740. #. type: table
  17741. #: guix-git/doc/guix.texi:11915
  17742. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  17743. msgstr ""
  17744. #. type: table
  17745. #: guix-git/doc/guix.texi:11917
  17746. msgid "the updater for @uref{https://crates.io, Crates} packages."
  17747. msgstr ""
  17748. #. type: item
  17749. #: guix-git/doc/guix.texi:11917
  17750. #, no-wrap
  17751. msgid "launchpad"
  17752. msgstr ""
  17753. #. type: table
  17754. #: guix-git/doc/guix.texi:11919
  17755. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  17756. msgstr ""
  17757. #. type: item
  17758. #: guix-git/doc/guix.texi:11919
  17759. #, no-wrap
  17760. msgid "generic-html"
  17761. msgstr ""
  17762. #. type: table
  17763. #: guix-git/doc/guix.texi:11922
  17764. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  17765. msgstr ""
  17766. #. type: table
  17767. #: guix-git/doc/guix.texi:11926
  17768. 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:"
  17769. msgstr ""
  17770. #. type: example
  17771. #: guix-git/doc/guix.texi:11931
  17772. #, no-wrap
  17773. msgid ""
  17774. "$ guix refresh --type=elpa,cran\n"
  17775. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  17776. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  17777. msgstr ""
  17778. #. type: item
  17779. #: guix-git/doc/guix.texi:11933
  17780. #, no-wrap
  17781. msgid "--list-updaters"
  17782. msgstr ""
  17783. #. type: itemx
  17784. #: guix-git/doc/guix.texi:11934
  17785. #, no-wrap
  17786. msgid "-L"
  17787. msgstr ""
  17788. #. type: table
  17789. #: guix-git/doc/guix.texi:11936
  17790. msgid "List available updaters and exit (see @option{--type} above)."
  17791. msgstr ""
  17792. #. type: table
  17793. #: guix-git/doc/guix.texi:11939
  17794. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  17795. msgstr ""
  17796. #. type: Plain text
  17797. #: guix-git/doc/guix.texi:11943
  17798. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  17799. msgstr ""
  17800. #. type: example
  17801. #: guix-git/doc/guix.texi:11946
  17802. #, no-wrap
  17803. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  17804. msgstr ""
  17805. #. type: Plain text
  17806. #: guix-git/doc/guix.texi:11953
  17807. 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:"
  17808. msgstr ""
  17809. #. type: example
  17810. #: guix-git/doc/guix.texi:11957
  17811. #, no-wrap
  17812. msgid ""
  17813. "$ ./pre-inst-env guix refresh -u \\\n"
  17814. " $(guix package --list-installed | cut -f1)\n"
  17815. msgstr ""
  17816. #. type: Plain text
  17817. #: guix-git/doc/guix.texi:11963
  17818. 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:"
  17819. msgstr ""
  17820. #. type: item
  17821. #: guix-git/doc/guix.texi:11966
  17822. #, no-wrap
  17823. msgid "--list-dependent"
  17824. msgstr ""
  17825. #. type: itemx
  17826. #: guix-git/doc/guix.texi:11967 guix-git/doc/guix.texi:12226
  17827. #, no-wrap
  17828. msgid "-l"
  17829. msgstr ""
  17830. #. type: table
  17831. #: guix-git/doc/guix.texi:11970
  17832. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  17833. msgstr ""
  17834. #. type: table
  17835. #: guix-git/doc/guix.texi:11974
  17836. 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."
  17837. msgstr ""
  17838. #. type: Plain text
  17839. #: guix-git/doc/guix.texi:11980
  17840. 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."
  17841. msgstr ""
  17842. #. type: example
  17843. #: guix-git/doc/guix.texi:11985
  17844. #, no-wrap
  17845. msgid ""
  17846. "$ guix refresh --list-dependent flex\n"
  17847. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  17848. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  17849. msgstr ""
  17850. #. type: Plain text
  17851. #: guix-git/doc/guix.texi:11989
  17852. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  17853. msgstr ""
  17854. #. type: item
  17855. #: guix-git/doc/guix.texi:11992
  17856. #, no-wrap
  17857. msgid "--list-transitive"
  17858. msgstr ""
  17859. #. type: table
  17860. #: guix-git/doc/guix.texi:11994
  17861. msgid "List all the packages which one or more packages depend upon."
  17862. msgstr ""
  17863. #. type: example
  17864. #: guix-git/doc/guix.texi:11999
  17865. #, no-wrap
  17866. msgid ""
  17867. "$ guix refresh --list-transitive flex\n"
  17868. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  17869. "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"
  17870. msgstr ""
  17871. #. type: Plain text
  17872. #: guix-git/doc/guix.texi:12005
  17873. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  17874. msgstr ""
  17875. #. type: Plain text
  17876. #: guix-git/doc/guix.texi:12007
  17877. msgid "The following options can be used to customize GnuPG operation:"
  17878. msgstr ""
  17879. #. type: item
  17880. #: guix-git/doc/guix.texi:12010
  17881. #, no-wrap
  17882. msgid "--gpg=@var{command}"
  17883. msgstr ""
  17884. #. type: table
  17885. #: guix-git/doc/guix.texi:12013
  17886. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  17887. msgstr ""
  17888. #. type: item
  17889. #: guix-git/doc/guix.texi:12014
  17890. #, no-wrap
  17891. msgid "--keyring=@var{file}"
  17892. msgstr ""
  17893. #. type: table
  17894. #: guix-git/doc/guix.texi:12020
  17895. 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)."
  17896. msgstr ""
  17897. #. type: table
  17898. #: guix-git/doc/guix.texi:12026
  17899. 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)."
  17900. msgstr ""
  17901. #. type: table
  17902. #: guix-git/doc/guix.texi:12029
  17903. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  17904. msgstr ""
  17905. #. type: example
  17906. #: guix-git/doc/guix.texi:12032
  17907. #, no-wrap
  17908. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  17909. msgstr ""
  17910. #. type: table
  17911. #: guix-git/doc/guix.texi:12035
  17912. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  17913. msgstr ""
  17914. #. type: example
  17915. #: guix-git/doc/guix.texi:12039
  17916. #, no-wrap
  17917. msgid ""
  17918. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  17919. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  17920. msgstr ""
  17921. #. type: table
  17922. #: guix-git/doc/guix.texi:12043
  17923. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  17924. msgstr ""
  17925. #. type: table
  17926. #: guix-git/doc/guix.texi:12047
  17927. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  17928. msgstr ""
  17929. #. type: item
  17930. #: guix-git/doc/guix.texi:12049 guix-git/doc/guix.texi:21092
  17931. #, no-wrap
  17932. msgid "always"
  17933. msgstr ""
  17934. #. type: table
  17935. #: guix-git/doc/guix.texi:12052
  17936. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  17937. msgstr ""
  17938. #. type: item
  17939. #: guix-git/doc/guix.texi:12053 guix-git/doc/guix.texi:21094
  17940. #, no-wrap
  17941. msgid "never"
  17942. msgstr ""
  17943. #. type: table
  17944. #: guix-git/doc/guix.texi:12055
  17945. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  17946. msgstr ""
  17947. #. type: item
  17948. #: guix-git/doc/guix.texi:12056
  17949. #, no-wrap
  17950. msgid "interactive"
  17951. msgstr ""
  17952. #. type: table
  17953. #: guix-git/doc/guix.texi:12059
  17954. 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."
  17955. msgstr ""
  17956. #. type: item
  17957. #: guix-git/doc/guix.texi:12061
  17958. #, no-wrap
  17959. msgid "--key-server=@var{host}"
  17960. msgstr ""
  17961. #. type: table
  17962. #: guix-git/doc/guix.texi:12063
  17963. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  17964. msgstr ""
  17965. #. type: Plain text
  17966. #: guix-git/doc/guix.texi:12083
  17967. 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."
  17968. msgstr ""
  17969. #. type: section
  17970. #: guix-git/doc/guix.texi:12086
  17971. #, no-wrap
  17972. msgid "Invoking @command{guix lint}"
  17973. msgstr ""
  17974. #. type: command{#1}
  17975. #: guix-git/doc/guix.texi:12088
  17976. #, no-wrap
  17977. msgid "guix lint"
  17978. msgstr ""
  17979. #. type: cindex
  17980. #: guix-git/doc/guix.texi:12089
  17981. #, no-wrap
  17982. msgid "package, checking for errors"
  17983. msgstr ""
  17984. #. type: Plain text
  17985. #: guix-git/doc/guix.texi:12095
  17986. 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):"
  17987. msgstr ""
  17988. #. type: table
  17989. #: guix-git/doc/guix.texi:12101
  17990. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  17991. msgstr ""
  17992. #. type: item
  17993. #: guix-git/doc/guix.texi:12102
  17994. #, no-wrap
  17995. msgid "inputs-should-be-native"
  17996. msgstr ""
  17997. #. type: table
  17998. #: guix-git/doc/guix.texi:12104
  17999. msgid "Identify inputs that should most likely be native inputs."
  18000. msgstr ""
  18001. #. type: itemx
  18002. #: guix-git/doc/guix.texi:12107
  18003. #, no-wrap
  18004. msgid "mirror-url"
  18005. msgstr ""
  18006. #. type: itemx
  18007. #: guix-git/doc/guix.texi:12108
  18008. #, no-wrap
  18009. msgid "github-url"
  18010. msgstr ""
  18011. #. type: itemx
  18012. #: guix-git/doc/guix.texi:12109
  18013. #, no-wrap
  18014. msgid "source-file-name"
  18015. msgstr ""
  18016. #. type: table
  18017. #: guix-git/doc/guix.texi:12116
  18018. 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})."
  18019. msgstr ""
  18020. #. type: item
  18021. #: guix-git/doc/guix.texi:12117
  18022. #, no-wrap
  18023. msgid "source-unstable-tarball"
  18024. msgstr ""
  18025. #. type: table
  18026. #: guix-git/doc/guix.texi:12121
  18027. 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."
  18028. msgstr ""
  18029. #. type: table
  18030. #: guix-git/doc/guix.texi:12125
  18031. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  18032. msgstr ""
  18033. #. type: item
  18034. #: guix-git/doc/guix.texi:12126
  18035. #, no-wrap
  18036. msgid "profile-collisions"
  18037. msgstr ""
  18038. #. type: table
  18039. #: guix-git/doc/guix.texi:12132
  18040. 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."
  18041. msgstr ""
  18042. #. type: item
  18043. #: guix-git/doc/guix.texi:12133
  18044. #, no-wrap
  18045. msgid "archival"
  18046. msgstr ""
  18047. #. type: cindex
  18048. #: guix-git/doc/guix.texi:12134
  18049. #, no-wrap
  18050. msgid "Software Heritage, source code archive"
  18051. msgstr ""
  18052. #. type: cindex
  18053. #: guix-git/doc/guix.texi:12135
  18054. #, no-wrap
  18055. msgid "archival of source code, Software Heritage"
  18056. msgstr ""
  18057. #. type: table
  18058. #: guix-git/doc/guix.texi:12138
  18059. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  18060. msgstr ""
  18061. #. type: table
  18062. #: guix-git/doc/guix.texi:12146
  18063. 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}."
  18064. msgstr ""
  18065. #. type: table
  18066. #: guix-git/doc/guix.texi:12151
  18067. 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."
  18068. msgstr ""
  18069. #. type: table
  18070. #: guix-git/doc/guix.texi:12157
  18071. 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."
  18072. msgstr ""
  18073. #. type: item
  18074. #: guix-git/doc/guix.texi:12158
  18075. #, no-wrap
  18076. msgid "cve"
  18077. msgstr ""
  18078. #. type: cindex
  18079. #: guix-git/doc/guix.texi:12159 guix-git/doc/guix.texi:35303
  18080. #, no-wrap
  18081. msgid "security vulnerabilities"
  18082. msgstr ""
  18083. #. type: cindex
  18084. #: guix-git/doc/guix.texi:12160
  18085. #, no-wrap
  18086. msgid "CVE, Common Vulnerabilities and Exposures"
  18087. msgstr ""
  18088. #. type: table
  18089. #: guix-git/doc/guix.texi:12165
  18090. 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}."
  18091. msgstr ""
  18092. #. type: table
  18093. #: guix-git/doc/guix.texi:12167
  18094. msgid "To view information about a particular vulnerability, visit pages such as:"
  18095. msgstr ""
  18096. #. type: indicateurl{#1}
  18097. #: guix-git/doc/guix.texi:12171
  18098. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  18099. msgstr ""
  18100. #. type: indicateurl{#1}
  18101. #: guix-git/doc/guix.texi:12173
  18102. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  18103. msgstr ""
  18104. #. type: table
  18105. #: guix-git/doc/guix.texi:12178
  18106. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  18107. msgstr ""
  18108. #. type: table
  18109. #: guix-git/doc/guix.texi:12183
  18110. 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:"
  18111. msgstr ""
  18112. #. type: lisp
  18113. #: guix-git/doc/guix.texi:12191
  18114. #, no-wrap
  18115. msgid ""
  18116. "(package\n"
  18117. " (name \"grub\")\n"
  18118. " ;; @dots{}\n"
  18119. " ;; CPE calls this package \"grub2\".\n"
  18120. " (properties '((cpe-name . \"grub2\")\n"
  18121. " (cpe-version . \"2.3\"))))\n"
  18122. msgstr ""
  18123. #. type: table
  18124. #: guix-git/doc/guix.texi:12198
  18125. 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:"
  18126. msgstr ""
  18127. #. type: lisp
  18128. #: guix-git/doc/guix.texi:12208
  18129. #, no-wrap
  18130. msgid ""
  18131. "(package\n"
  18132. " (name \"t1lib\")\n"
  18133. " ;; @dots{}\n"
  18134. " ;; These CVEs no longer apply and can be safely ignored.\n"
  18135. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  18136. " \"CVE-2011-1553\"\n"
  18137. " \"CVE-2011-1554\"\n"
  18138. " \"CVE-2011-5244\")))))\n"
  18139. msgstr ""
  18140. #. type: item
  18141. #: guix-git/doc/guix.texi:12210
  18142. #, no-wrap
  18143. msgid "formatting"
  18144. msgstr ""
  18145. #. type: table
  18146. #: guix-git/doc/guix.texi:12213
  18147. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  18148. msgstr ""
  18149. #. type: example
  18150. #: guix-git/doc/guix.texi:12219
  18151. #, no-wrap
  18152. msgid "guix lint @var{options} @var{package}@dots{}\n"
  18153. msgstr ""
  18154. #. type: Plain text
  18155. #: guix-git/doc/guix.texi:12223
  18156. 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:"
  18157. msgstr ""
  18158. #. type: item
  18159. #: guix-git/doc/guix.texi:12225
  18160. #, no-wrap
  18161. msgid "--list-checkers"
  18162. msgstr ""
  18163. #. type: table
  18164. #: guix-git/doc/guix.texi:12229
  18165. msgid "List and describe all the available checkers that will be run on packages and exit."
  18166. msgstr ""
  18167. #. type: item
  18168. #: guix-git/doc/guix.texi:12230
  18169. #, no-wrap
  18170. msgid "--checkers"
  18171. msgstr ""
  18172. #. type: itemx
  18173. #: guix-git/doc/guix.texi:12231
  18174. #, no-wrap
  18175. msgid "-c"
  18176. msgstr ""
  18177. #. type: table
  18178. #: guix-git/doc/guix.texi:12234
  18179. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  18180. msgstr ""
  18181. #. type: item
  18182. #: guix-git/doc/guix.texi:12235
  18183. #, no-wrap
  18184. msgid "--exclude"
  18185. msgstr ""
  18186. #. type: table
  18187. #: guix-git/doc/guix.texi:12239
  18188. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  18189. msgstr ""
  18190. #. type: item
  18191. #: guix-git/doc/guix.texi:12240
  18192. #, no-wrap
  18193. msgid "--no-network"
  18194. msgstr ""
  18195. #. type: table
  18196. #: guix-git/doc/guix.texi:12243
  18197. msgid "Only enable the checkers that do not depend on Internet access."
  18198. msgstr ""
  18199. #. type: section
  18200. #: guix-git/doc/guix.texi:12255
  18201. #, no-wrap
  18202. msgid "Invoking @command{guix size}"
  18203. msgstr ""
  18204. #. type: code{#1}
  18205. #: guix-git/doc/guix.texi:12257 guix-git/doc/guix.texi:34216
  18206. #, no-wrap
  18207. msgid "size"
  18208. msgstr ""
  18209. #. type: cindex
  18210. #: guix-git/doc/guix.texi:12258
  18211. #, no-wrap
  18212. msgid "package size"
  18213. msgstr ""
  18214. #. type: command{#1}
  18215. #: guix-git/doc/guix.texi:12260
  18216. #, no-wrap
  18217. msgid "guix size"
  18218. msgstr ""
  18219. #. type: Plain text
  18220. #: guix-git/doc/guix.texi:12267
  18221. 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."
  18222. msgstr ""
  18223. #. type: Plain text
  18224. #: guix-git/doc/guix.texi:12272
  18225. 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:"
  18226. msgstr ""
  18227. #. type: example
  18228. #: guix-git/doc/guix.texi:12285
  18229. #, no-wrap
  18230. msgid ""
  18231. "$ guix size coreutils\n"
  18232. "store item total self\n"
  18233. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  18234. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  18235. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  18236. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  18237. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  18238. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  18239. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  18240. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  18241. "total: 78.9 MiB\n"
  18242. msgstr ""
  18243. #. type: Plain text
  18244. #: guix-git/doc/guix.texi:12291
  18245. 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:"
  18246. msgstr ""
  18247. #. type: example
  18248. #: guix-git/doc/guix.texi:12294
  18249. #, no-wrap
  18250. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  18251. msgstr ""
  18252. #. type: Plain text
  18253. #: guix-git/doc/guix.texi:12302
  18254. 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."
  18255. msgstr ""
  18256. #. type: Plain text
  18257. #: guix-git/doc/guix.texi:12308
  18258. 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.)"
  18259. msgstr ""
  18260. #. type: Plain text
  18261. #: guix-git/doc/guix.texi:12311
  18262. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  18263. msgstr ""
  18264. #. type: example
  18265. #: guix-git/doc/guix.texi:12314
  18266. #, no-wrap
  18267. msgid "guix size $(guix system build config.scm)\n"
  18268. msgstr ""
  18269. #. type: Plain text
  18270. #: guix-git/doc/guix.texi:12324
  18271. 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})."
  18272. msgstr ""
  18273. #. type: Plain text
  18274. #: guix-git/doc/guix.texi:12329
  18275. 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."
  18276. msgstr ""
  18277. #. type: Plain text
  18278. #: guix-git/doc/guix.texi:12331
  18279. msgid "You can also specify several package names:"
  18280. msgstr ""
  18281. #. type: example
  18282. #: guix-git/doc/guix.texi:12341
  18283. #, no-wrap
  18284. msgid ""
  18285. "$ guix size coreutils grep sed bash\n"
  18286. "store item total self\n"
  18287. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  18288. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  18289. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  18290. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  18291. "@dots{}\n"
  18292. "total: 102.3 MiB\n"
  18293. msgstr ""
  18294. #. type: Plain text
  18295. #: guix-git/doc/guix.texi:12347
  18296. 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."
  18297. msgstr ""
  18298. #. type: Plain text
  18299. #: guix-git/doc/guix.texi:12353
  18300. 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})."
  18301. msgstr ""
  18302. #. type: Plain text
  18303. #: guix-git/doc/guix.texi:12355
  18304. msgid "The available options are:"
  18305. msgstr ""
  18306. #. type: table
  18307. #: guix-git/doc/guix.texi:12361
  18308. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  18309. msgstr ""
  18310. #. type: item
  18311. #: guix-git/doc/guix.texi:12362
  18312. #, no-wrap
  18313. msgid "--sort=@var{key}"
  18314. msgstr ""
  18315. #. type: table
  18316. #: guix-git/doc/guix.texi:12364
  18317. msgid "Sort lines according to @var{key}, one of the following options:"
  18318. msgstr ""
  18319. #. type: item
  18320. #: guix-git/doc/guix.texi:12366
  18321. #, no-wrap
  18322. msgid "self"
  18323. msgstr ""
  18324. #. type: table
  18325. #: guix-git/doc/guix.texi:12368
  18326. msgid "the size of each item (the default);"
  18327. msgstr ""
  18328. #. type: table
  18329. #: guix-git/doc/guix.texi:12370
  18330. msgid "the total size of the item's closure."
  18331. msgstr ""
  18332. #. type: item
  18333. #: guix-git/doc/guix.texi:12372
  18334. #, no-wrap
  18335. msgid "--map-file=@var{file}"
  18336. msgstr ""
  18337. #. type: table
  18338. #: guix-git/doc/guix.texi:12374
  18339. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  18340. msgstr ""
  18341. #. type: table
  18342. #: guix-git/doc/guix.texi:12376
  18343. msgid "For the example above, the map looks like this:"
  18344. msgstr ""
  18345. #. type: table
  18346. #: guix-git/doc/guix.texi:12379
  18347. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  18348. msgstr ""
  18349. #. type: table
  18350. #: guix-git/doc/guix.texi:12384
  18351. 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."
  18352. msgstr ""
  18353. #. type: table
  18354. #: guix-git/doc/guix.texi:12388
  18355. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  18356. msgstr ""
  18357. #. type: section
  18358. #: guix-git/doc/guix.texi:12399
  18359. #, no-wrap
  18360. msgid "Invoking @command{guix graph}"
  18361. msgstr ""
  18362. #. type: cindex
  18363. #: guix-git/doc/guix.texi:12401
  18364. #, no-wrap
  18365. msgid "DAG"
  18366. msgstr ""
  18367. #. type: command{#1}
  18368. #: guix-git/doc/guix.texi:12402
  18369. #, no-wrap
  18370. msgid "guix graph"
  18371. msgstr ""
  18372. #. type: Plain text
  18373. #: guix-git/doc/guix.texi:12417
  18374. 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:"
  18375. msgstr ""
  18376. #. type: example
  18377. #: guix-git/doc/guix.texi:12420
  18378. #, no-wrap
  18379. msgid "guix graph @var{options} @var{package}@dots{}\n"
  18380. msgstr ""
  18381. #. type: Plain text
  18382. #: guix-git/doc/guix.texi:12425
  18383. 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:"
  18384. msgstr ""
  18385. #. type: example
  18386. #: guix-git/doc/guix.texi:12428
  18387. #, no-wrap
  18388. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  18389. msgstr ""
  18390. #. type: Plain text
  18391. #: guix-git/doc/guix.texi:12431
  18392. msgid "The output looks like this:"
  18393. msgstr ""
  18394. #. type: Plain text
  18395. #: guix-git/doc/guix.texi:12433
  18396. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  18397. msgstr ""
  18398. #. type: Plain text
  18399. #: guix-git/doc/guix.texi:12435
  18400. msgid "Nice little graph, no?"
  18401. msgstr ""
  18402. #. type: Plain text
  18403. #: guix-git/doc/guix.texi:12438
  18404. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  18405. msgstr ""
  18406. #. type: example
  18407. #: guix-git/doc/guix.texi:12441
  18408. #, no-wrap
  18409. msgid "guix graph coreutils | xdot -\n"
  18410. msgstr ""
  18411. #. type: Plain text
  18412. #: guix-git/doc/guix.texi:12448
  18413. 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:"
  18414. msgstr ""
  18415. #. type: table
  18416. #: guix-git/doc/guix.texi:12454
  18417. 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."
  18418. msgstr ""
  18419. #. type: item
  18420. #: guix-git/doc/guix.texi:12455
  18421. #, no-wrap
  18422. msgid "reverse-package"
  18423. msgstr ""
  18424. #. type: table
  18425. #: guix-git/doc/guix.texi:12457
  18426. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  18427. msgstr ""
  18428. #. type: example
  18429. #: guix-git/doc/guix.texi:12460
  18430. #, no-wrap
  18431. msgid "guix graph --type=reverse-package ocaml\n"
  18432. msgstr ""
  18433. #. type: table
  18434. #: guix-git/doc/guix.texi:12465
  18435. 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)."
  18436. msgstr ""
  18437. #. type: table
  18438. #: guix-git/doc/guix.texi:12470
  18439. 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}})."
  18440. msgstr ""
  18441. #. type: item
  18442. #: guix-git/doc/guix.texi:12471
  18443. #, no-wrap
  18444. msgid "bag-emerged"
  18445. msgstr ""
  18446. #. type: table
  18447. #: guix-git/doc/guix.texi:12473
  18448. msgid "This is the package DAG, @emph{including} implicit inputs."
  18449. msgstr ""
  18450. #. type: table
  18451. #: guix-git/doc/guix.texi:12475
  18452. msgid "For instance, the following command:"
  18453. msgstr ""
  18454. #. type: example
  18455. #: guix-git/doc/guix.texi:12478
  18456. #, no-wrap
  18457. msgid "guix graph --type=bag-emerged coreutils\n"
  18458. msgstr ""
  18459. #. type: table
  18460. #: guix-git/doc/guix.texi:12481
  18461. msgid "...@: yields this bigger graph:"
  18462. msgstr ""
  18463. #. type: table
  18464. #: guix-git/doc/guix.texi:12483
  18465. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  18466. msgstr ""
  18467. #. type: table
  18468. #: guix-git/doc/guix.texi:12486
  18469. 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}})."
  18470. msgstr ""
  18471. #. type: table
  18472. #: guix-git/doc/guix.texi:12490
  18473. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  18474. msgstr ""
  18475. #. type: item
  18476. #: guix-git/doc/guix.texi:12491
  18477. #, no-wrap
  18478. msgid "bag"
  18479. msgstr ""
  18480. #. type: table
  18481. #: guix-git/doc/guix.texi:12494
  18482. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  18483. msgstr ""
  18484. #. type: item
  18485. #: guix-git/doc/guix.texi:12495
  18486. #, no-wrap
  18487. msgid "bag-with-origins"
  18488. msgstr ""
  18489. #. type: table
  18490. #: guix-git/doc/guix.texi:12497
  18491. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  18492. msgstr ""
  18493. #. type: item
  18494. #: guix-git/doc/guix.texi:12498
  18495. #, no-wrap
  18496. msgid "reverse-bag"
  18497. msgstr ""
  18498. #. type: table
  18499. #: guix-git/doc/guix.texi:12501
  18500. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  18501. msgstr ""
  18502. #. type: example
  18503. #: guix-git/doc/guix.texi:12504
  18504. #, no-wrap
  18505. msgid "guix graph -t reverse-bag dune\n"
  18506. msgstr ""
  18507. #. type: table
  18508. #: guix-git/doc/guix.texi:12511
  18509. 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."
  18510. msgstr ""
  18511. #. type: table
  18512. #: guix-git/doc/guix.texi:12517
  18513. 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."
  18514. msgstr ""
  18515. #. type: table
  18516. #: guix-git/doc/guix.texi:12520
  18517. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  18518. msgstr ""
  18519. #. type: example
  18520. #: guix-git/doc/guix.texi:12523
  18521. #, no-wrap
  18522. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  18523. msgstr ""
  18524. #. type: item
  18525. #: guix-git/doc/guix.texi:12525
  18526. #, no-wrap
  18527. msgid "module"
  18528. msgstr "پیمانه"
  18529. #. type: table
  18530. #: guix-git/doc/guix.texi:12529
  18531. 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:"
  18532. msgstr ""
  18533. #. type: example
  18534. #: guix-git/doc/guix.texi:12532
  18535. #, no-wrap
  18536. msgid "guix graph -t module guile | xdot -\n"
  18537. msgstr ""
  18538. #. type: Plain text
  18539. #: guix-git/doc/guix.texi:12537
  18540. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  18541. msgstr ""
  18542. #. type: table
  18543. #: guix-git/doc/guix.texi:12542
  18544. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  18545. msgstr ""
  18546. #. type: table
  18547. #: guix-git/doc/guix.texi:12545
  18548. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  18549. msgstr ""
  18550. #. type: table
  18551. #: guix-git/doc/guix.texi:12549
  18552. 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!):"
  18553. msgstr ""
  18554. #. type: example
  18555. #: guix-git/doc/guix.texi:12552
  18556. #, no-wrap
  18557. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  18558. msgstr ""
  18559. #. type: item
  18560. #: guix-git/doc/guix.texi:12554
  18561. #, no-wrap
  18562. msgid "referrers"
  18563. msgstr ""
  18564. #. type: table
  18565. #: guix-git/doc/guix.texi:12557
  18566. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  18567. msgstr ""
  18568. #. type: table
  18569. #: guix-git/doc/guix.texi:12563
  18570. 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."
  18571. msgstr ""
  18572. #. type: table
  18573. #: guix-git/doc/guix.texi:12566
  18574. msgid "It can help determine what is preventing a store item from being garbage collected."
  18575. msgstr ""
  18576. #. type: cindex
  18577. #: guix-git/doc/guix.texi:12569
  18578. #, no-wrap
  18579. msgid "shortest path, between packages"
  18580. msgstr ""
  18581. #. type: Plain text
  18582. #: guix-git/doc/guix.texi:12576
  18583. 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.):"
  18584. msgstr ""
  18585. #. type: example
  18586. #: guix-git/doc/guix.texi:12590
  18587. #, no-wrap
  18588. msgid ""
  18589. "$ guix graph --path emacs libunistring\n"
  18590. "emacs@@26.3\n"
  18591. "mailutils@@3.9\n"
  18592. "libunistring@@0.9.10\n"
  18593. "$ guix graph --path -t derivation emacs libunistring\n"
  18594. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  18595. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  18596. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  18597. "$ guix graph --path -t references emacs libunistring\n"
  18598. "/gnu/store/@dots{}-emacs-26.3\n"
  18599. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  18600. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  18601. msgstr ""
  18602. #. type: Plain text
  18603. #: guix-git/doc/guix.texi:12593
  18604. msgid "The available options are the following:"
  18605. msgstr ""
  18606. #. type: table
  18607. #: guix-git/doc/guix.texi:12599
  18608. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  18609. msgstr ""
  18610. #. type: item
  18611. #: guix-git/doc/guix.texi:12600
  18612. #, no-wrap
  18613. msgid "--list-types"
  18614. msgstr ""
  18615. #. type: table
  18616. #: guix-git/doc/guix.texi:12602
  18617. msgid "List the supported graph types."
  18618. msgstr ""
  18619. #. type: item
  18620. #: guix-git/doc/guix.texi:12603
  18621. #, no-wrap
  18622. msgid "--backend=@var{backend}"
  18623. msgstr ""
  18624. #. type: itemx
  18625. #: guix-git/doc/guix.texi:12604
  18626. #, no-wrap
  18627. msgid "-b @var{backend}"
  18628. msgstr ""
  18629. #. type: table
  18630. #: guix-git/doc/guix.texi:12606
  18631. msgid "Produce a graph using the selected @var{backend}."
  18632. msgstr ""
  18633. #. type: item
  18634. #: guix-git/doc/guix.texi:12607
  18635. #, no-wrap
  18636. msgid "--list-backends"
  18637. msgstr ""
  18638. #. type: table
  18639. #: guix-git/doc/guix.texi:12609
  18640. msgid "List the supported graph backends."
  18641. msgstr ""
  18642. #. type: table
  18643. #: guix-git/doc/guix.texi:12611
  18644. msgid "Currently, the available backends are Graphviz and d3.js."
  18645. msgstr ""
  18646. #. type: item
  18647. #: guix-git/doc/guix.texi:12612
  18648. #, no-wrap
  18649. msgid "--path"
  18650. msgstr ""
  18651. #. type: table
  18652. #: guix-git/doc/guix.texi:12617
  18653. 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}:"
  18654. msgstr ""
  18655. #. type: example
  18656. #: guix-git/doc/guix.texi:12624
  18657. #, no-wrap
  18658. msgid ""
  18659. "$ guix graph --path -t references libreoffice llvm\n"
  18660. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  18661. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  18662. "/gnu/store/@dots{}-mesa-19.3.4\n"
  18663. "/gnu/store/@dots{}-llvm-9.0.1\n"
  18664. msgstr ""
  18665. #. type: example
  18666. #: guix-git/doc/guix.texi:12634
  18667. #, no-wrap
  18668. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  18669. msgstr ""
  18670. #. type: table
  18671. #: guix-git/doc/guix.texi:12639
  18672. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  18673. msgstr ""
  18674. #. type: table
  18675. #: guix-git/doc/guix.texi:12642
  18676. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  18677. msgstr ""
  18678. #. type: Plain text
  18679. #: guix-git/doc/guix.texi:12658
  18680. 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:"
  18681. msgstr ""
  18682. #. type: example
  18683. #: guix-git/doc/guix.texi:12661
  18684. #, no-wrap
  18685. msgid "guix graph git --with-input=openssl=libressl\n"
  18686. msgstr ""
  18687. #. type: Plain text
  18688. #: guix-git/doc/guix.texi:12664
  18689. msgid "So many possibilities, so much fun!"
  18690. msgstr ""
  18691. #. type: section
  18692. #: guix-git/doc/guix.texi:12666
  18693. #, no-wrap
  18694. msgid "Invoking @command{guix publish}"
  18695. msgstr ""
  18696. #. type: command{#1}
  18697. #: guix-git/doc/guix.texi:12668
  18698. #, no-wrap
  18699. msgid "guix publish"
  18700. msgstr ""
  18701. #. type: Plain text
  18702. #: guix-git/doc/guix.texi:12672
  18703. 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})."
  18704. msgstr ""
  18705. #. type: Plain text
  18706. #: guix-git/doc/guix.texi:12678
  18707. 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."
  18708. msgstr ""
  18709. #. type: Plain text
  18710. #: guix-git/doc/guix.texi:12684
  18711. 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."
  18712. msgstr ""
  18713. #. type: Plain text
  18714. #: guix-git/doc/guix.texi:12688
  18715. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  18716. msgstr ""
  18717. #. type: Plain text
  18718. #: guix-git/doc/guix.texi:12693
  18719. 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})."
  18720. msgstr ""
  18721. #. type: example
  18722. #: guix-git/doc/guix.texi:12698
  18723. #, no-wrap
  18724. msgid "guix publish @var{options}@dots{}\n"
  18725. msgstr ""
  18726. #. type: Plain text
  18727. #: guix-git/doc/guix.texi:12702
  18728. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  18729. msgstr ""
  18730. #. type: example
  18731. #: guix-git/doc/guix.texi:12705
  18732. #, no-wrap
  18733. msgid "guix publish\n"
  18734. msgstr ""
  18735. #. type: Plain text
  18736. #: guix-git/doc/guix.texi:12709
  18737. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  18738. msgstr ""
  18739. #. type: Plain text
  18740. #: guix-git/doc/guix.texi:12717
  18741. 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})."
  18742. msgstr ""
  18743. #. type: Plain text
  18744. #: guix-git/doc/guix.texi:12724
  18745. 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}):"
  18746. msgstr ""
  18747. #. type: example
  18748. #: guix-git/doc/guix.texi:12727
  18749. #, no-wrap
  18750. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  18751. msgstr ""
  18752. #. type: Plain text
  18753. #: guix-git/doc/guix.texi:12731
  18754. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  18755. msgstr ""
  18756. #. type: cindex
  18757. #: guix-git/doc/guix.texi:12732
  18758. #, no-wrap
  18759. msgid "build logs, publication"
  18760. msgstr ""
  18761. #. type: Plain text
  18762. #: guix-git/doc/guix.texi:12734
  18763. msgid "Build logs are available from @code{/log} URLs like:"
  18764. msgstr ""
  18765. #. type: example
  18766. #: guix-git/doc/guix.texi:12737
  18767. #, no-wrap
  18768. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  18769. msgstr ""
  18770. #. type: Plain text
  18771. #: guix-git/doc/guix.texi:12747
  18772. 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."
  18773. msgstr ""
  18774. #. type: item
  18775. #: guix-git/doc/guix.texi:12751
  18776. #, no-wrap
  18777. msgid "--port=@var{port}"
  18778. msgstr ""
  18779. #. type: itemx
  18780. #: guix-git/doc/guix.texi:12752
  18781. #, no-wrap
  18782. msgid "-p @var{port}"
  18783. msgstr ""
  18784. #. type: table
  18785. #: guix-git/doc/guix.texi:12754
  18786. msgid "Listen for HTTP requests on @var{port}."
  18787. msgstr ""
  18788. #. type: item
  18789. #: guix-git/doc/guix.texi:12755
  18790. #, no-wrap
  18791. msgid "--listen=@var{host}"
  18792. msgstr ""
  18793. #. type: table
  18794. #: guix-git/doc/guix.texi:12758
  18795. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  18796. msgstr ""
  18797. #. type: table
  18798. #: guix-git/doc/guix.texi:12763
  18799. 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."
  18800. msgstr ""
  18801. #. type: item
  18802. #: guix-git/doc/guix.texi:12764
  18803. #, no-wrap
  18804. msgid "--compression[=@var{method}[:@var{level}]]"
  18805. msgstr ""
  18806. #. type: itemx
  18807. #: guix-git/doc/guix.texi:12765
  18808. #, no-wrap
  18809. msgid "-C [@var{method}[:@var{level}]]"
  18810. msgstr ""
  18811. #. type: table
  18812. #: guix-git/doc/guix.texi:12769
  18813. 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."
  18814. msgstr ""
  18815. #. type: table
  18816. #: guix-git/doc/guix.texi:12773
  18817. 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."
  18818. msgstr ""
  18819. #. type: table
  18820. #: guix-git/doc/guix.texi:12780
  18821. 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."
  18822. msgstr ""
  18823. #. type: table
  18824. #: guix-git/doc/guix.texi:12784
  18825. 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}."
  18826. msgstr ""
  18827. #. type: table
  18828. #: guix-git/doc/guix.texi:12793
  18829. 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."
  18830. msgstr ""
  18831. #. type: table
  18832. #: guix-git/doc/guix.texi:12798
  18833. 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."
  18834. msgstr ""
  18835. #. type: item
  18836. #: guix-git/doc/guix.texi:12799
  18837. #, no-wrap
  18838. msgid "--cache=@var{directory}"
  18839. msgstr ""
  18840. #. type: itemx
  18841. #: guix-git/doc/guix.texi:12800
  18842. #, no-wrap
  18843. msgid "-c @var{directory}"
  18844. msgstr ""
  18845. #. type: table
  18846. #: guix-git/doc/guix.texi:12803
  18847. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  18848. msgstr ""
  18849. #. type: table
  18850. #: guix-git/doc/guix.texi:12811
  18851. 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."
  18852. msgstr ""
  18853. #. type: table
  18854. #: guix-git/doc/guix.texi:12819
  18855. 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."
  18856. msgstr ""
  18857. #. type: table
  18858. #: guix-git/doc/guix.texi:12826
  18859. 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."
  18860. msgstr ""
  18861. #. type: table
  18862. #: guix-git/doc/guix.texi:12830
  18863. 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."
  18864. msgstr ""
  18865. #. type: table
  18866. #: guix-git/doc/guix.texi:12833
  18867. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  18868. msgstr ""
  18869. #. type: item
  18870. #: guix-git/doc/guix.texi:12834
  18871. #, no-wrap
  18872. msgid "--workers=@var{N}"
  18873. msgstr ""
  18874. #. type: table
  18875. #: guix-git/doc/guix.texi:12837
  18876. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  18877. msgstr ""
  18878. #. type: item
  18879. #: guix-git/doc/guix.texi:12838
  18880. #, no-wrap
  18881. msgid "--ttl=@var{ttl}"
  18882. msgstr ""
  18883. #. type: table
  18884. #: guix-git/doc/guix.texi:12842
  18885. 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."
  18886. msgstr ""
  18887. #. type: table
  18888. #: guix-git/doc/guix.texi:12847
  18889. 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}."
  18890. msgstr ""
  18891. #. type: table
  18892. #: guix-git/doc/guix.texi:12851
  18893. 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."
  18894. msgstr ""
  18895. #. type: item
  18896. #: guix-git/doc/guix.texi:12852
  18897. #, no-wrap
  18898. msgid "--negative-ttl=@var{ttl}"
  18899. msgstr ""
  18900. #. type: table
  18901. #: guix-git/doc/guix.texi:12857
  18902. 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."
  18903. msgstr ""
  18904. #. type: table
  18905. #: guix-git/doc/guix.texi:12861
  18906. 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."
  18907. msgstr ""
  18908. #. type: item
  18909. #: guix-git/doc/guix.texi:12862
  18910. #, no-wrap
  18911. msgid "--cache-bypass-threshold=@var{size}"
  18912. msgstr ""
  18913. #. type: table
  18914. #: guix-git/doc/guix.texi:12867
  18915. 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}."
  18916. msgstr ""
  18917. #. type: table
  18918. #: guix-git/doc/guix.texi:12872
  18919. 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."
  18920. msgstr ""
  18921. #. type: table
  18922. #: guix-git/doc/guix.texi:12876
  18923. 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."
  18924. msgstr ""
  18925. #. type: item
  18926. #: guix-git/doc/guix.texi:12877
  18927. #, no-wrap
  18928. msgid "--nar-path=@var{path}"
  18929. msgstr ""
  18930. #. type: table
  18931. #: guix-git/doc/guix.texi:12880
  18932. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  18933. msgstr ""
  18934. #. type: table
  18935. #: guix-git/doc/guix.texi:12884
  18936. 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}."
  18937. msgstr ""
  18938. #. type: item
  18939. #: guix-git/doc/guix.texi:12885
  18940. #, no-wrap
  18941. msgid "--public-key=@var{file}"
  18942. msgstr ""
  18943. #. type: itemx
  18944. #: guix-git/doc/guix.texi:12886
  18945. #, no-wrap
  18946. msgid "--private-key=@var{file}"
  18947. msgstr ""
  18948. #. type: table
  18949. #: guix-git/doc/guix.texi:12889 guix-git/doc/guix.texi:27974
  18950. #: guix-git/doc/guix.texi:28011
  18951. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  18952. msgstr ""
  18953. #. type: table
  18954. #: guix-git/doc/guix.texi:12896
  18955. 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."
  18956. msgstr ""
  18957. #. type: item
  18958. #: guix-git/doc/guix.texi:12897
  18959. #, no-wrap
  18960. msgid "--repl[=@var{port}]"
  18961. msgstr ""
  18962. #. type: itemx
  18963. #: guix-git/doc/guix.texi:12898
  18964. #, no-wrap
  18965. msgid "-r [@var{port}]"
  18966. msgstr ""
  18967. #. type: table
  18968. #: guix-git/doc/guix.texi:12902
  18969. 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."
  18970. msgstr ""
  18971. #. type: Plain text
  18972. #: guix-git/doc/guix.texi:12908
  18973. 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}})."
  18974. msgstr ""
  18975. #. type: Plain text
  18976. #: guix-git/doc/guix.texi:12911
  18977. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  18978. msgstr ""
  18979. #. type: itemize
  18980. #: guix-git/doc/guix.texi:12915
  18981. msgid "If your host distro uses the systemd init system:"
  18982. msgstr ""
  18983. #. type: example
  18984. #: guix-git/doc/guix.texi:12920
  18985. #, no-wrap
  18986. msgid ""
  18987. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  18988. " /etc/systemd/system/\n"
  18989. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  18990. msgstr ""
  18991. #. type: example
  18992. #: guix-git/doc/guix.texi:12928
  18993. #, no-wrap
  18994. msgid ""
  18995. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  18996. "# start guix-publish\n"
  18997. msgstr ""
  18998. #. type: itemize
  18999. #: guix-git/doc/guix.texi:12932
  19000. msgid "Otherwise, proceed similarly with your distro's init system."
  19001. msgstr ""
  19002. #. type: section
  19003. #: guix-git/doc/guix.texi:12935
  19004. #, no-wrap
  19005. msgid "Invoking @command{guix challenge}"
  19006. msgstr ""
  19007. #. type: cindex
  19008. #: guix-git/doc/guix.texi:12938
  19009. #, no-wrap
  19010. msgid "verifiable builds"
  19011. msgstr ""
  19012. #. type: command{#1}
  19013. #: guix-git/doc/guix.texi:12939
  19014. #, no-wrap
  19015. msgid "guix challenge"
  19016. msgstr ""
  19017. #. type: cindex
  19018. #: guix-git/doc/guix.texi:12940
  19019. #, no-wrap
  19020. msgid "challenge"
  19021. msgstr ""
  19022. #. type: Plain text
  19023. #: guix-git/doc/guix.texi:12945
  19024. 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."
  19025. msgstr ""
  19026. #. type: Plain text
  19027. #: guix-git/doc/guix.texi:12953
  19028. 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."
  19029. msgstr ""
  19030. #. type: Plain text
  19031. #: guix-git/doc/guix.texi:12962
  19032. 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."
  19033. msgstr ""
  19034. #. type: Plain text
  19035. #: guix-git/doc/guix.texi:12964
  19036. msgid "The command output looks like this:"
  19037. msgstr ""
  19038. #. type: smallexample
  19039. #: guix-git/doc/guix.texi:12976
  19040. #, no-wrap
  19041. msgid ""
  19042. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  19043. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  19044. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  19045. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  19046. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19047. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19048. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  19049. " differing files:\n"
  19050. " /lib/libcrypto.so.1.1\n"
  19051. " /lib/libssl.so.1.1\n"
  19052. "\n"
  19053. msgstr ""
  19054. #. type: smallexample
  19055. #: guix-git/doc/guix.texi:12983
  19056. #, no-wrap
  19057. msgid ""
  19058. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  19059. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  19060. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  19061. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  19062. " differing file:\n"
  19063. " /libexec/git-core/git-fsck\n"
  19064. "\n"
  19065. msgstr ""
  19066. #. type: smallexample
  19067. #: guix-git/doc/guix.texi:12990
  19068. #, no-wrap
  19069. msgid ""
  19070. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  19071. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  19072. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  19073. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  19074. " differing file:\n"
  19075. " /share/man/man1/pius.1.gz\n"
  19076. "\n"
  19077. msgstr ""
  19078. #. type: smallexample
  19079. #: guix-git/doc/guix.texi:12992
  19080. #, no-wrap
  19081. msgid ""
  19082. "@dots{}\n"
  19083. "\n"
  19084. msgstr ""
  19085. #. type: smallexample
  19086. #: guix-git/doc/guix.texi:12997
  19087. #, no-wrap
  19088. msgid ""
  19089. "6,406 store items were analyzed:\n"
  19090. " - 4,749 (74.1%) were identical\n"
  19091. " - 525 (8.2%) differed\n"
  19092. " - 1,132 (17.7%) were inconclusive\n"
  19093. msgstr ""
  19094. #. type: Plain text
  19095. #: guix-git/doc/guix.texi:13005
  19096. 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."
  19097. msgstr ""
  19098. #. type: cindex
  19099. #: guix-git/doc/guix.texi:13006
  19100. #, no-wrap
  19101. msgid "non-determinism, in package builds"
  19102. msgstr ""
  19103. #. type: Plain text
  19104. #: guix-git/doc/guix.texi:13017
  19105. 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."
  19106. msgstr ""
  19107. #. type: Plain text
  19108. #: guix-git/doc/guix.texi:13020
  19109. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  19110. msgstr ""
  19111. #. type: example
  19112. #: guix-git/doc/guix.texi:13025
  19113. #, no-wrap
  19114. msgid ""
  19115. "guix challenge git \\\n"
  19116. " --diff=diffoscope \\\n"
  19117. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  19118. msgstr ""
  19119. #. type: Plain text
  19120. #: guix-git/doc/guix.texi:13029
  19121. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  19122. msgstr ""
  19123. #. type: Plain text
  19124. #: guix-git/doc/guix.texi:13032
  19125. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  19126. msgstr ""
  19127. #. type: example
  19128. #: guix-git/doc/guix.texi:13037
  19129. #, no-wrap
  19130. msgid ""
  19131. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  19132. " | lzip -d | guix archive -x /tmp/git\n"
  19133. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  19134. msgstr ""
  19135. #. type: Plain text
  19136. #: guix-git/doc/guix.texi:13046
  19137. 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."
  19138. msgstr ""
  19139. #. type: Plain text
  19140. #: guix-git/doc/guix.texi:13054
  19141. 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."
  19142. msgstr ""
  19143. #. type: Plain text
  19144. #: guix-git/doc/guix.texi:13058
  19145. 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:"
  19146. msgstr ""
  19147. #. type: example
  19148. #: guix-git/doc/guix.texi:13061
  19149. #, no-wrap
  19150. msgid "$ guix challenge @var{package}\n"
  19151. msgstr ""
  19152. #. type: Plain text
  19153. #: guix-git/doc/guix.texi:13066
  19154. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  19155. msgstr ""
  19156. #. type: example
  19157. #: guix-git/doc/guix.texi:13071
  19158. #, no-wrap
  19159. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  19160. msgstr ""
  19161. #. type: Plain text
  19162. #: guix-git/doc/guix.texi:13078
  19163. 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)."
  19164. msgstr ""
  19165. #. type: Plain text
  19166. #: guix-git/doc/guix.texi:13080
  19167. msgid "The one option that matters is:"
  19168. msgstr ""
  19169. #. type: table
  19170. #: guix-git/doc/guix.texi:13086
  19171. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  19172. msgstr ""
  19173. #. type: item
  19174. #: guix-git/doc/guix.texi:13087
  19175. #, no-wrap
  19176. msgid "--diff=@var{mode}"
  19177. msgstr ""
  19178. #. type: table
  19179. #: guix-git/doc/guix.texi:13089
  19180. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  19181. msgstr ""
  19182. #. type: item
  19183. #: guix-git/doc/guix.texi:13091
  19184. #, no-wrap
  19185. msgid "@code{simple} (the default)"
  19186. msgstr ""
  19187. #. type: table
  19188. #: guix-git/doc/guix.texi:13093
  19189. msgid "Show the list of files that differ."
  19190. msgstr ""
  19191. #. type: code{#1}
  19192. #: guix-git/doc/guix.texi:13094
  19193. #, no-wrap
  19194. msgid "diffoscope"
  19195. msgstr ""
  19196. #. type: var{#1}
  19197. #: guix-git/doc/guix.texi:13095
  19198. #, no-wrap
  19199. msgid "command"
  19200. msgstr ""
  19201. #. type: table
  19202. #: guix-git/doc/guix.texi:13098
  19203. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  19204. msgstr ""
  19205. #. type: table
  19206. #: guix-git/doc/guix.texi:13101
  19207. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  19208. msgstr ""
  19209. #. type: item
  19210. #: guix-git/doc/guix.texi:13102 guix-git/doc/guix.texi:16437
  19211. #: guix-git/doc/guix.texi:18529
  19212. #, no-wrap
  19213. msgid "none"
  19214. msgstr ""
  19215. #. type: table
  19216. #: guix-git/doc/guix.texi:13104
  19217. msgid "Do not show further details about the differences."
  19218. msgstr ""
  19219. #. type: table
  19220. #: guix-git/doc/guix.texi:13109
  19221. 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."
  19222. msgstr ""
  19223. #. type: item
  19224. #: guix-git/doc/guix.texi:13110
  19225. #, no-wrap
  19226. msgid "--verbose"
  19227. msgstr ""
  19228. #. type: itemx
  19229. #: guix-git/doc/guix.texi:13111
  19230. #, no-wrap
  19231. msgid "-v"
  19232. msgstr ""
  19233. #. type: table
  19234. #: guix-git/doc/guix.texi:13114
  19235. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  19236. msgstr ""
  19237. #. type: section
  19238. #: guix-git/doc/guix.texi:13118
  19239. #, no-wrap
  19240. msgid "Invoking @command{guix copy}"
  19241. msgstr ""
  19242. #. type: cindex
  19243. #: guix-git/doc/guix.texi:13120
  19244. #, no-wrap
  19245. msgid "copy, of store items, over SSH"
  19246. msgstr ""
  19247. #. type: cindex
  19248. #: guix-git/doc/guix.texi:13121
  19249. #, no-wrap
  19250. msgid "SSH, copy of store items"
  19251. msgstr ""
  19252. #. type: cindex
  19253. #: guix-git/doc/guix.texi:13122
  19254. #, no-wrap
  19255. msgid "sharing store items across machines"
  19256. msgstr ""
  19257. #. type: cindex
  19258. #: guix-git/doc/guix.texi:13123
  19259. #, no-wrap
  19260. msgid "transferring store items across machines"
  19261. msgstr ""
  19262. #. type: Plain text
  19263. #: guix-git/doc/guix.texi:13130
  19264. 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}:"
  19265. msgstr ""
  19266. #. type: example
  19267. #: guix-git/doc/guix.texi:13134
  19268. #, no-wrap
  19269. msgid ""
  19270. "guix copy --to=@var{user}@@@var{host} \\\n"
  19271. " coreutils $(readlink -f ~/.guix-profile)\n"
  19272. msgstr ""
  19273. #. type: Plain text
  19274. #: guix-git/doc/guix.texi:13138
  19275. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  19276. msgstr ""
  19277. #. type: Plain text
  19278. #: guix-git/doc/guix.texi:13141
  19279. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  19280. msgstr ""
  19281. #. type: example
  19282. #: guix-git/doc/guix.texi:13144
  19283. #, no-wrap
  19284. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  19285. msgstr ""
  19286. #. type: Plain text
  19287. #: guix-git/doc/guix.texi:13149
  19288. 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."
  19289. msgstr ""
  19290. #. type: Plain text
  19291. #: guix-git/doc/guix.texi:13155
  19292. 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."
  19293. msgstr ""
  19294. #. type: example
  19295. #: guix-git/doc/guix.texi:13160
  19296. #, no-wrap
  19297. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  19298. msgstr ""
  19299. #. type: Plain text
  19300. #: guix-git/doc/guix.texi:13163
  19301. msgid "You must always specify one of the following options:"
  19302. msgstr ""
  19303. #. type: item
  19304. #: guix-git/doc/guix.texi:13165
  19305. #, no-wrap
  19306. msgid "--to=@var{spec}"
  19307. msgstr ""
  19308. #. type: itemx
  19309. #: guix-git/doc/guix.texi:13166
  19310. #, no-wrap
  19311. msgid "--from=@var{spec}"
  19312. msgstr ""
  19313. #. type: table
  19314. #: guix-git/doc/guix.texi:13170
  19315. 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}."
  19316. msgstr ""
  19317. #. type: Plain text
  19318. #: guix-git/doc/guix.texi:13174
  19319. 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}."
  19320. msgstr ""
  19321. #. type: Plain text
  19322. #: guix-git/doc/guix.texi:13178
  19323. 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})."
  19324. msgstr ""
  19325. #. type: section
  19326. #: guix-git/doc/guix.texi:13181
  19327. #, no-wrap
  19328. msgid "Invoking @command{guix container}"
  19329. msgstr ""
  19330. #. type: command{#1}
  19331. #: guix-git/doc/guix.texi:13183
  19332. #, no-wrap
  19333. msgid "guix container"
  19334. msgstr ""
  19335. #. type: quotation
  19336. #: guix-git/doc/guix.texi:13187
  19337. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  19338. msgstr ""
  19339. #. type: Plain text
  19340. #: guix-git/doc/guix.texi:13194
  19341. msgid "The purpose of @command{guix container} is to manipulate processes running within an isolated environment, commonly known as a ``container'', typically created by the @command{guix environment} (@pxref{Invoking guix environment}) and @command{guix system container} (@pxref{Invoking guix system}) commands."
  19342. msgstr ""
  19343. #. type: example
  19344. #: guix-git/doc/guix.texi:13199
  19345. #, no-wrap
  19346. msgid "guix container @var{action} @var{options}@dots{}\n"
  19347. msgstr ""
  19348. #. type: Plain text
  19349. #: guix-git/doc/guix.texi:13203
  19350. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  19351. msgstr ""
  19352. #. type: Plain text
  19353. #: guix-git/doc/guix.texi:13205
  19354. msgid "The following actions are available:"
  19355. msgstr ""
  19356. #. type: item
  19357. #: guix-git/doc/guix.texi:13207
  19358. #, no-wrap
  19359. msgid "exec"
  19360. msgstr ""
  19361. #. type: table
  19362. #: guix-git/doc/guix.texi:13209
  19363. msgid "Execute a command within the context of a running container."
  19364. msgstr ""
  19365. #. type: table
  19366. #: guix-git/doc/guix.texi:13211
  19367. msgid "The syntax is:"
  19368. msgstr ""
  19369. #. type: example
  19370. #: guix-git/doc/guix.texi:13214
  19371. #, no-wrap
  19372. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  19373. msgstr ""
  19374. #. type: table
  19375. #: guix-git/doc/guix.texi:13220
  19376. 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}."
  19377. msgstr ""
  19378. #. type: table
  19379. #: guix-git/doc/guix.texi:13224
  19380. 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:"
  19381. msgstr ""
  19382. #. type: example
  19383. #: guix-git/doc/guix.texi:13227
  19384. #, no-wrap
  19385. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  19386. msgstr ""
  19387. #. type: table
  19388. #: guix-git/doc/guix.texi:13231
  19389. 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."
  19390. msgstr ""
  19391. #. type: section
  19392. #: guix-git/doc/guix.texi:13235
  19393. #, no-wrap
  19394. msgid "Invoking @command{guix weather}"
  19395. msgstr ""
  19396. #. type: Plain text
  19397. #: guix-git/doc/guix.texi:13244
  19398. 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})."
  19399. msgstr ""
  19400. #. type: cindex
  19401. #: guix-git/doc/guix.texi:13245
  19402. #, no-wrap
  19403. msgid "statistics, for substitutes"
  19404. msgstr ""
  19405. #. type: cindex
  19406. #: guix-git/doc/guix.texi:13246
  19407. #, no-wrap
  19408. msgid "availability of substitutes"
  19409. msgstr ""
  19410. #. type: cindex
  19411. #: guix-git/doc/guix.texi:13247
  19412. #, no-wrap
  19413. msgid "substitute availability"
  19414. msgstr ""
  19415. #. type: cindex
  19416. #: guix-git/doc/guix.texi:13248
  19417. #, no-wrap
  19418. msgid "weather, substitute availability"
  19419. msgstr ""
  19420. #. type: Plain text
  19421. #: guix-git/doc/guix.texi:13250
  19422. msgid "Here's a sample run:"
  19423. msgstr ""
  19424. #. type: example
  19425. #: guix-git/doc/guix.texi:13262
  19426. #, no-wrap
  19427. msgid ""
  19428. "$ guix weather --substitute-urls=https://guix.example.org\n"
  19429. "computing 5,872 package derivations for x86_64-linux...\n"
  19430. "looking for 6,128 store items on https://guix.example.org..\n"
  19431. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  19432. "https://guix.example.org\n"
  19433. " 43.4% substitutes available (2,658 out of 6,128)\n"
  19434. " 7,032.5 MiB of nars (compressed)\n"
  19435. " 19,824.2 MiB on disk (uncompressed)\n"
  19436. " 0.030 seconds per request (182.9 seconds in total)\n"
  19437. " 33.5 requests per second\n"
  19438. "\n"
  19439. msgstr ""
  19440. #. type: example
  19441. #: guix-git/doc/guix.texi:13272
  19442. #, no-wrap
  19443. msgid ""
  19444. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  19445. " 867 queued builds\n"
  19446. " x86_64-linux: 518 (59.7%)\n"
  19447. " i686-linux: 221 (25.5%)\n"
  19448. " aarch64-linux: 128 (14.8%)\n"
  19449. " build rate: 23.41 builds per hour\n"
  19450. " x86_64-linux: 11.16 builds per hour\n"
  19451. " i686-linux: 6.03 builds per hour\n"
  19452. " aarch64-linux: 6.41 builds per hour\n"
  19453. msgstr ""
  19454. #. type: cindex
  19455. #: guix-git/doc/guix.texi:13274
  19456. #, no-wrap
  19457. msgid "continuous integration, statistics"
  19458. msgstr ""
  19459. #. type: Plain text
  19460. #: guix-git/doc/guix.texi:13285
  19461. 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)."
  19462. msgstr ""
  19463. #. type: Plain text
  19464. #: guix-git/doc/guix.texi:13291
  19465. 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."
  19466. msgstr ""
  19467. #. type: example
  19468. #: guix-git/doc/guix.texi:13296
  19469. #, no-wrap
  19470. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  19471. msgstr ""
  19472. #. type: Plain text
  19473. #: guix-git/doc/guix.texi:13304
  19474. 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%."
  19475. msgstr ""
  19476. #. type: Plain text
  19477. #: guix-git/doc/guix.texi:13306
  19478. msgid "The available options are listed below."
  19479. msgstr ""
  19480. #. type: table
  19481. #: guix-git/doc/guix.texi:13312
  19482. 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."
  19483. msgstr ""
  19484. #. type: table
  19485. #: guix-git/doc/guix.texi:13318
  19486. 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."
  19487. msgstr ""
  19488. #. type: table
  19489. #: guix-git/doc/guix.texi:13324
  19490. 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})."
  19491. msgstr ""
  19492. #. type: table
  19493. #: guix-git/doc/guix.texi:13327
  19494. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  19495. msgstr ""
  19496. #. type: item
  19497. #: guix-git/doc/guix.texi:13328
  19498. #, no-wrap
  19499. msgid "--coverage[=@var{count}]"
  19500. msgstr ""
  19501. #. type: itemx
  19502. #: guix-git/doc/guix.texi:13329
  19503. #, no-wrap
  19504. msgid "-c [@var{count}]"
  19505. msgstr ""
  19506. #. type: table
  19507. #: guix-git/doc/guix.texi:13335
  19508. 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:"
  19509. msgstr ""
  19510. #. type: example
  19511. #: guix-git/doc/guix.texi:13349
  19512. #, no-wrap
  19513. msgid ""
  19514. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  19515. "computing 8,983 package derivations for x86_64-linux...\n"
  19516. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  19517. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  19518. "@value{SUBSTITUTE-URLS}\n"
  19519. " 64.7% substitutes available (6,047 out of 9,343)\n"
  19520. "@dots{}\n"
  19521. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  19522. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  19523. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  19524. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  19525. " @dots{}\n"
  19526. msgstr ""
  19527. #. type: table
  19528. #: guix-git/doc/guix.texi:13355
  19529. 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."
  19530. msgstr ""
  19531. #. type: table
  19532. #: guix-git/doc/guix.texi:13359
  19533. 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."
  19534. msgstr ""
  19535. #. type: item
  19536. #: guix-git/doc/guix.texi:13360
  19537. #, no-wrap
  19538. msgid "--display-missing"
  19539. msgstr ""
  19540. #. type: table
  19541. #: guix-git/doc/guix.texi:13362
  19542. msgid "Display the list of store items for which substitutes are missing."
  19543. msgstr ""
  19544. #. type: section
  19545. #: guix-git/doc/guix.texi:13365
  19546. #, no-wrap
  19547. msgid "Invoking @command{guix processes}"
  19548. msgstr ""
  19549. #. type: Plain text
  19550. #: guix-git/doc/guix.texi:13373
  19551. 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:"
  19552. msgstr ""
  19553. #. type: example
  19554. #: guix-git/doc/guix.texi:13379
  19555. #, no-wrap
  19556. msgid ""
  19557. "$ sudo guix processes\n"
  19558. "SessionPID: 19002\n"
  19559. "ClientPID: 19090\n"
  19560. "ClientCommand: guix environment --ad-hoc python\n"
  19561. "\n"
  19562. msgstr ""
  19563. #. type: example
  19564. #: guix-git/doc/guix.texi:13383
  19565. #, no-wrap
  19566. msgid ""
  19567. "SessionPID: 19402\n"
  19568. "ClientPID: 19367\n"
  19569. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  19570. "\n"
  19571. msgstr ""
  19572. #. type: example
  19573. #: guix-git/doc/guix.texi:13396
  19574. #, no-wrap
  19575. msgid ""
  19576. "SessionPID: 19444\n"
  19577. "ClientPID: 19419\n"
  19578. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19579. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  19580. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  19581. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  19582. "ChildPID: 20495\n"
  19583. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19584. "ChildPID: 27733\n"
  19585. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19586. "ChildPID: 27793\n"
  19587. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19588. msgstr ""
  19589. #. type: Plain text
  19590. #: guix-git/doc/guix.texi:13403
  19591. 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."
  19592. msgstr ""
  19593. #. type: Plain text
  19594. #: guix-git/doc/guix.texi:13410
  19595. 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})."
  19596. msgstr ""
  19597. #. type: Plain text
  19598. #: guix-git/doc/guix.texi:13415
  19599. 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:"
  19600. msgstr ""
  19601. #. type: example
  19602. #: guix-git/doc/guix.texi:13421
  19603. #, no-wrap
  19604. msgid ""
  19605. "$ sudo guix processes | \\\n"
  19606. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  19607. "ClientPID: 19419\n"
  19608. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19609. msgstr ""
  19610. #. type: Plain text
  19611. #: guix-git/doc/guix.texi:13424
  19612. msgid "Additional options are listed below."
  19613. msgstr ""
  19614. #. type: table
  19615. #: guix-git/doc/guix.texi:13434
  19616. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  19617. msgstr ""
  19618. #. type: item
  19619. #: guix-git/doc/guix.texi:13435
  19620. #, no-wrap
  19621. msgid "normalized"
  19622. msgstr ""
  19623. #. type: table
  19624. #: guix-git/doc/guix.texi:13442
  19625. 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}."
  19626. msgstr ""
  19627. #. type: example
  19628. #: guix-git/doc/guix.texi:13452
  19629. #, no-wrap
  19630. msgid ""
  19631. "$ guix processes --format=normalized | \\\n"
  19632. " recsel \\\n"
  19633. " -j Session \\\n"
  19634. " -t ChildProcess \\\n"
  19635. " -p Session.PID,PID \\\n"
  19636. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  19637. "PID: 4435\n"
  19638. "Session_PID: 4278\n"
  19639. "\n"
  19640. msgstr ""
  19641. #. type: example
  19642. #: guix-git/doc/guix.texi:13455
  19643. #, no-wrap
  19644. msgid ""
  19645. "PID: 4554\n"
  19646. "Session_PID: 4278\n"
  19647. "\n"
  19648. msgstr ""
  19649. #. type: example
  19650. #: guix-git/doc/guix.texi:13458
  19651. #, no-wrap
  19652. msgid ""
  19653. "PID: 4646\n"
  19654. "Session_PID: 4278\n"
  19655. msgstr ""
  19656. #. type: cindex
  19657. #: guix-git/doc/guix.texi:13465
  19658. #, no-wrap
  19659. msgid "system configuration"
  19660. msgstr ""
  19661. #. type: Plain text
  19662. #: guix-git/doc/guix.texi:13471
  19663. 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."
  19664. msgstr ""
  19665. #. type: Plain text
  19666. #: guix-git/doc/guix.texi:13481
  19667. 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."
  19668. msgstr ""
  19669. #. type: Plain text
  19670. #: guix-git/doc/guix.texi:13486
  19671. 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."
  19672. msgstr ""
  19673. #. type: Plain text
  19674. #: guix-git/doc/guix.texi:13515
  19675. 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:"
  19676. msgstr ""
  19677. #. type: code{#1}
  19678. #: guix-git/doc/guix.texi:13516 guix-git/doc/guix.texi:34145
  19679. #, no-wrap
  19680. msgid "operating-system"
  19681. msgstr ""
  19682. #. type: include
  19683. #: guix-git/doc/guix.texi:13518
  19684. #, no-wrap
  19685. msgid "os-config-bare-bones.texi"
  19686. msgstr ""
  19687. #. type: Plain text
  19688. #: guix-git/doc/guix.texi:13525
  19689. 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."
  19690. msgstr ""
  19691. #. type: Plain text
  19692. #: guix-git/doc/guix.texi:13530
  19693. 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}."
  19694. msgstr ""
  19695. #. type: unnumberedsubsec
  19696. #: guix-git/doc/guix.texi:13531
  19697. #, no-wrap
  19698. msgid "Bootloader"
  19699. msgstr ""
  19700. #. type: cindex
  19701. #: guix-git/doc/guix.texi:13533
  19702. #, no-wrap
  19703. msgid "legacy boot, on Intel machines"
  19704. msgstr ""
  19705. #. type: cindex
  19706. #: guix-git/doc/guix.texi:13534
  19707. #, no-wrap
  19708. msgid "BIOS boot, on Intel machines"
  19709. msgstr ""
  19710. #. type: cindex
  19711. #: guix-git/doc/guix.texi:13535
  19712. #, no-wrap
  19713. msgid "UEFI boot"
  19714. msgstr ""
  19715. #. type: cindex
  19716. #: guix-git/doc/guix.texi:13536
  19717. #, no-wrap
  19718. msgid "EFI boot"
  19719. msgstr ""
  19720. #. type: Plain text
  19721. #: guix-git/doc/guix.texi:13542
  19722. 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:"
  19723. msgstr ""
  19724. #. type: lisp
  19725. #: guix-git/doc/guix.texi:13547
  19726. #, no-wrap
  19727. msgid ""
  19728. "(bootloader-configuration\n"
  19729. " (bootloader grub-efi-bootloader)\n"
  19730. " (target \"/boot/efi\"))\n"
  19731. msgstr ""
  19732. #. type: Plain text
  19733. #: guix-git/doc/guix.texi:13551
  19734. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  19735. msgstr ""
  19736. #. type: unnumberedsubsec
  19737. #: guix-git/doc/guix.texi:13552
  19738. #, no-wrap
  19739. msgid "Globally-Visible Packages"
  19740. msgstr ""
  19741. #. type: vindex
  19742. #: guix-git/doc/guix.texi:13554
  19743. #, no-wrap
  19744. msgid "%base-packages"
  19745. msgstr ""
  19746. #. type: Plain text
  19747. #: guix-git/doc/guix.texi:13567
  19748. 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:"
  19749. msgstr ""
  19750. #. type: lisp
  19751. #: guix-git/doc/guix.texi:13571
  19752. #, no-wrap
  19753. msgid ""
  19754. "(use-modules (gnu packages))\n"
  19755. "(use-modules (gnu packages dns))\n"
  19756. "\n"
  19757. msgstr ""
  19758. #. type: lisp
  19759. #: guix-git/doc/guix.texi:13576
  19760. #, no-wrap
  19761. msgid ""
  19762. "(operating-system\n"
  19763. " ;; ...\n"
  19764. " (packages (cons (list isc-bind \"utils\")\n"
  19765. " %base-packages)))\n"
  19766. msgstr ""
  19767. #. type: findex
  19768. #: guix-git/doc/guix.texi:13578
  19769. #, no-wrap
  19770. msgid "specification->package"
  19771. msgstr ""
  19772. #. type: Plain text
  19773. #: guix-git/doc/guix.texi:13587
  19774. 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:"
  19775. msgstr ""
  19776. #. type: lisp
  19777. #: guix-git/doc/guix.texi:13590
  19778. #, no-wrap
  19779. msgid ""
  19780. "(use-modules (gnu packages))\n"
  19781. "\n"
  19782. msgstr ""
  19783. #. type: lisp
  19784. #: guix-git/doc/guix.texi:13596
  19785. #, no-wrap
  19786. msgid ""
  19787. "(operating-system\n"
  19788. " ;; ...\n"
  19789. " (packages (append (map specification->package\n"
  19790. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  19791. " %base-packages)))\n"
  19792. msgstr ""
  19793. #. type: unnumberedsubsec
  19794. #: guix-git/doc/guix.texi:13598
  19795. #, no-wrap
  19796. msgid "System Services"
  19797. msgstr ""
  19798. #. type: cindex
  19799. #: guix-git/doc/guix.texi:13600 guix-git/doc/guix.texi:32928
  19800. #: guix-git/doc/guix.texi:34374
  19801. #, no-wrap
  19802. msgid "services"
  19803. msgstr ""
  19804. #. type: vindex
  19805. #: guix-git/doc/guix.texi:13601
  19806. #, no-wrap
  19807. msgid "%base-services"
  19808. msgstr ""
  19809. #. type: Plain text
  19810. #: guix-git/doc/guix.texi:13611
  19811. 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})."
  19812. msgstr ""
  19813. #. type: cindex
  19814. #: guix-git/doc/guix.texi:13612
  19815. #, no-wrap
  19816. msgid "customization, of services"
  19817. msgstr ""
  19818. #. type: findex
  19819. #: guix-git/doc/guix.texi:13613
  19820. #, no-wrap
  19821. msgid "modify-services"
  19822. msgstr ""
  19823. #. type: Plain text
  19824. #: guix-git/doc/guix.texi:13617
  19825. 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."
  19826. msgstr ""
  19827. #. type: anchor{#1}
  19828. #: guix-git/doc/guix.texi:13623
  19829. msgid "auto-login to TTY"
  19830. msgstr ""
  19831. #. type: Plain text
  19832. #: guix-git/doc/guix.texi:13623
  19833. 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:"
  19834. msgstr ""
  19835. #. type: lisp
  19836. #: guix-git/doc/guix.texi:13640
  19837. #, no-wrap
  19838. msgid ""
  19839. "(define %my-services\n"
  19840. " ;; My very own list of services.\n"
  19841. " (modify-services %base-services\n"
  19842. " (guix-service-type config =>\n"
  19843. " (guix-configuration\n"
  19844. " (inherit config)\n"
  19845. " ;; Fetch substitutes from example.org.\n"
  19846. " (substitute-urls\n"
  19847. " (list \"https://example.org/guix\"\n"
  19848. " \"https://ci.guix.gnu.org\"))))\n"
  19849. " (mingetty-service-type config =>\n"
  19850. " (mingetty-configuration\n"
  19851. " (inherit config)\n"
  19852. " ;; Automatially log in as \"guest\".\n"
  19853. " (auto-login \"guest\")))))\n"
  19854. "\n"
  19855. msgstr ""
  19856. #. type: lisp
  19857. #: guix-git/doc/guix.texi:13644
  19858. #, no-wrap
  19859. msgid ""
  19860. "(operating-system\n"
  19861. " ;; @dots{}\n"
  19862. " (services %my-services))\n"
  19863. msgstr ""
  19864. #. type: Plain text
  19865. #: guix-git/doc/guix.texi:13657
  19866. 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."
  19867. msgstr ""
  19868. #. type: Plain text
  19869. #: guix-git/doc/guix.texi:13664
  19870. msgid "The configuration for a typical ``desktop'' usage, with an encrypted root partition, the X11 display server, GNOME and Xfce (users can choose which of these desktop environments to use at the log-in screen by pressing @kbd{F1}), network management, power management, and more, would look like this:"
  19871. msgstr ""
  19872. #. type: include
  19873. #: guix-git/doc/guix.texi:13666
  19874. #, no-wrap
  19875. msgid "os-config-desktop.texi"
  19876. msgstr ""
  19877. #. type: Plain text
  19878. #: guix-git/doc/guix.texi:13671
  19879. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  19880. msgstr ""
  19881. #. type: include
  19882. #: guix-git/doc/guix.texi:13673
  19883. #, no-wrap
  19884. msgid "os-config-lightweight-desktop.texi"
  19885. msgstr ""
  19886. #. type: Plain text
  19887. #: guix-git/doc/guix.texi:13679
  19888. 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."
  19889. msgstr ""
  19890. #. type: Plain text
  19891. #: guix-git/doc/guix.texi:13683
  19892. 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."
  19893. msgstr ""
  19894. #. type: Plain text
  19895. #: guix-git/doc/guix.texi:13690
  19896. 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:"
  19897. msgstr ""
  19898. #. type: lisp
  19899. #: guix-git/doc/guix.texi:13695
  19900. #, no-wrap
  19901. msgid ""
  19902. "(remove (lambda (service)\n"
  19903. " (eq? (service-kind service) avahi-service-type))\n"
  19904. " %desktop-services)\n"
  19905. msgstr ""
  19906. #. type: Plain text
  19907. #: guix-git/doc/guix.texi:13698
  19908. msgid "Alternatively, the @code{modify-services} macro can be used:"
  19909. msgstr ""
  19910. #. type: lisp
  19911. #: guix-git/doc/guix.texi:13702
  19912. #, no-wrap
  19913. msgid ""
  19914. "(modify-services %desktop-services\n"
  19915. " (delete avahi-service-type))\n"
  19916. msgstr ""
  19917. #. type: unnumberedsubsec
  19918. #: guix-git/doc/guix.texi:13705
  19919. #, no-wrap
  19920. msgid "Instantiating the System"
  19921. msgstr ""
  19922. #. type: Plain text
  19923. #: guix-git/doc/guix.texi:13712
  19924. 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})."
  19925. msgstr ""
  19926. #. type: Plain text
  19927. #: guix-git/doc/guix.texi:13720
  19928. 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."
  19929. msgstr ""
  19930. #. type: cindex
  19931. #: guix-git/doc/guix.texi:13721
  19932. #, no-wrap
  19933. msgid "roll-back, of the operating system"
  19934. msgstr ""
  19935. #. type: Plain text
  19936. #: guix-git/doc/guix.texi:13731
  19937. 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}."
  19938. msgstr ""
  19939. #. type: Plain text
  19940. #: guix-git/doc/guix.texi:13737
  19941. 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})."
  19942. msgstr ""
  19943. #. type: unnumberedsubsec
  19944. #: guix-git/doc/guix.texi:13738
  19945. #, no-wrap
  19946. msgid "The Programming Interface"
  19947. msgstr ""
  19948. #. type: Plain text
  19949. #: guix-git/doc/guix.texi:13743
  19950. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  19951. msgstr ""
  19952. #. type: deffn
  19953. #: guix-git/doc/guix.texi:13744
  19954. #, no-wrap
  19955. msgid "{Monadic Procedure} operating-system-derivation os"
  19956. msgstr ""
  19957. #. type: deffn
  19958. #: guix-git/doc/guix.texi:13747
  19959. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  19960. msgstr ""
  19961. #. type: deffn
  19962. #: guix-git/doc/guix.texi:13751
  19963. 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}."
  19964. msgstr ""
  19965. #. type: Plain text
  19966. #: guix-git/doc/guix.texi:13756
  19967. 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!"
  19968. msgstr ""
  19969. #. type: section
  19970. #: guix-git/doc/guix.texi:13759
  19971. #, no-wrap
  19972. msgid "@code{operating-system} Reference"
  19973. msgstr ""
  19974. #. type: Plain text
  19975. #: guix-git/doc/guix.texi:13764
  19976. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  19977. msgstr ""
  19978. #. type: deftp
  19979. #: guix-git/doc/guix.texi:13765
  19980. #, no-wrap
  19981. msgid "{Data Type} operating-system"
  19982. msgstr ""
  19983. #. type: deftp
  19984. #: guix-git/doc/guix.texi:13769
  19985. 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})."
  19986. msgstr ""
  19987. #. type: item
  19988. #: guix-git/doc/guix.texi:13771
  19989. #, no-wrap
  19990. msgid "@code{kernel} (default: @code{linux-libre})"
  19991. msgstr ""
  19992. #. type: table
  19993. #: guix-git/doc/guix.texi:13776
  19994. 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.}."
  19995. msgstr ""
  19996. #. type: code{#1}
  19997. #: guix-git/doc/guix.texi:13777 guix-git/doc/guix.texi:29519
  19998. #, no-wrap
  19999. msgid "hurd"
  20000. msgstr ""
  20001. #. type: item
  20002. #: guix-git/doc/guix.texi:13778
  20003. #, no-wrap
  20004. msgid "@code{hurd} (default: @code{#f})"
  20005. msgstr ""
  20006. #. type: table
  20007. #: guix-git/doc/guix.texi:13783
  20008. 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."
  20009. msgstr ""
  20010. #. type: quotation
  20011. #: guix-git/doc/guix.texi:13786
  20012. msgid "This feature is experimental and only supported for disk images."
  20013. msgstr ""
  20014. #. type: item
  20015. #: guix-git/doc/guix.texi:13788
  20016. #, no-wrap
  20017. msgid "@code{kernel-loadable-modules} (default: '())"
  20018. msgstr ""
  20019. #. type: table
  20020. #: guix-git/doc/guix.texi:13791
  20021. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  20022. msgstr ""
  20023. #. type: item
  20024. #: guix-git/doc/guix.texi:13792
  20025. #, no-wrap
  20026. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  20027. msgstr ""
  20028. #. type: table
  20029. #: guix-git/doc/guix.texi:13795
  20030. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  20031. msgstr ""
  20032. #. type: code{#1}
  20033. #: guix-git/doc/guix.texi:13796 guix-git/doc/guix.texi:33141
  20034. #: guix-git/doc/guix.texi:33160
  20035. #, no-wrap
  20036. msgid "bootloader"
  20037. msgstr ""
  20038. #. type: table
  20039. #: guix-git/doc/guix.texi:13798
  20040. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  20041. msgstr ""
  20042. #. type: code{#1}
  20043. #: guix-git/doc/guix.texi:13799 guix-git/doc/guix.texi:33330
  20044. #, no-wrap
  20045. msgid "label"
  20046. msgstr ""
  20047. #. type: table
  20048. #: guix-git/doc/guix.texi:13802
  20049. 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."
  20050. msgstr ""
  20051. #. type: item
  20052. #: guix-git/doc/guix.texi:13803 guix-git/doc/guix.texi:15393
  20053. #: guix-git/doc/guix.texi:18353 guix-git/doc/guix.texi:33260
  20054. #, no-wrap
  20055. msgid "@code{keyboard-layout} (default: @code{#f})"
  20056. msgstr ""
  20057. #. type: table
  20058. #: guix-git/doc/guix.texi:13808
  20059. 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."
  20060. msgstr ""
  20061. #. type: table
  20062. #: guix-git/doc/guix.texi:13813
  20063. 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})."
  20064. msgstr ""
  20065. #. type: quotation
  20066. #: guix-git/doc/guix.texi:13820
  20067. 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."
  20068. msgstr ""
  20069. #. type: item
  20070. #: guix-git/doc/guix.texi:13822
  20071. #, no-wrap
  20072. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  20073. msgstr ""
  20074. #. type: cindex
  20075. #: guix-git/doc/guix.texi:13823 guix-git/doc/guix.texi:32965
  20076. #: guix-git/doc/guix.texi:33069
  20077. #, no-wrap
  20078. msgid "initrd"
  20079. msgstr ""
  20080. #. type: cindex
  20081. #: guix-git/doc/guix.texi:13824 guix-git/doc/guix.texi:32966
  20082. #: guix-git/doc/guix.texi:33070
  20083. #, no-wrap
  20084. msgid "initial RAM disk"
  20085. msgstr ""
  20086. #. type: table
  20087. #: guix-git/doc/guix.texi:13827
  20088. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  20089. msgstr ""
  20090. #. type: item
  20091. #: guix-git/doc/guix.texi:13828
  20092. #, no-wrap
  20093. msgid "@code{initrd} (default: @code{base-initrd})"
  20094. msgstr ""
  20095. #. type: table
  20096. #: guix-git/doc/guix.texi:13832
  20097. 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}."
  20098. msgstr ""
  20099. #. type: item
  20100. #: guix-git/doc/guix.texi:13833
  20101. #, no-wrap
  20102. msgid "@code{firmware} (default: @code{%base-firmware})"
  20103. msgstr ""
  20104. #. type: cindex
  20105. #: guix-git/doc/guix.texi:13834
  20106. #, no-wrap
  20107. msgid "firmware"
  20108. msgstr ""
  20109. #. type: table
  20110. #: guix-git/doc/guix.texi:13836
  20111. msgid "List of firmware packages loadable by the operating system kernel."
  20112. msgstr ""
  20113. #. type: table
  20114. #: guix-git/doc/guix.texi:13841
  20115. 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."
  20116. msgstr ""
  20117. #. type: code{#1}
  20118. #: guix-git/doc/guix.texi:13842 guix-git/doc/guix.texi:34164
  20119. #, no-wrap
  20120. msgid "host-name"
  20121. msgstr ""
  20122. #. type: table
  20123. #: guix-git/doc/guix.texi:13844
  20124. msgid "The host name."
  20125. msgstr ""
  20126. #. type: code{#1}
  20127. #: guix-git/doc/guix.texi:13845
  20128. #, no-wrap
  20129. msgid "hosts-file"
  20130. msgstr ""
  20131. #. type: cindex
  20132. #: guix-git/doc/guix.texi:13846
  20133. #, no-wrap
  20134. msgid "hosts file"
  20135. msgstr ""
  20136. #. type: table
  20137. #: guix-git/doc/guix.texi:13851
  20138. 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}."
  20139. msgstr ""
  20140. #. type: item
  20141. #: guix-git/doc/guix.texi:13852
  20142. #, no-wrap
  20143. msgid "@code{mapped-devices} (default: @code{'()})"
  20144. msgstr ""
  20145. #. type: table
  20146. #: guix-git/doc/guix.texi:13854
  20147. msgid "A list of mapped devices. @xref{Mapped Devices}."
  20148. msgstr ""
  20149. #. type: code{#1}
  20150. #: guix-git/doc/guix.texi:13855
  20151. #, no-wrap
  20152. msgid "file-systems"
  20153. msgstr ""
  20154. #. type: table
  20155. #: guix-git/doc/guix.texi:13857
  20156. msgid "A list of file systems. @xref{File Systems}."
  20157. msgstr ""
  20158. #. type: cindex
  20159. #: guix-git/doc/guix.texi:13858
  20160. #, no-wrap
  20161. msgid "swap devices"
  20162. msgstr ""
  20163. #. type: cindex
  20164. #: guix-git/doc/guix.texi:13859
  20165. #, no-wrap
  20166. msgid "swap space"
  20167. msgstr ""
  20168. #. type: item
  20169. #: guix-git/doc/guix.texi:13860
  20170. #, no-wrap
  20171. msgid "@code{swap-devices} (default: @code{'()})"
  20172. msgstr ""
  20173. #. type: table
  20174. #: guix-git/doc/guix.texi:13865
  20175. msgid "A list of UUIDs, file system labels, or strings identifying devices or files to be used for ``swap space'' (@pxref{Memory Concepts,,, libc, The GNU C Library Reference Manual}). Here are some examples:"
  20176. msgstr ""
  20177. #. type: item
  20178. #: guix-git/doc/guix.texi:13867
  20179. #, no-wrap
  20180. msgid "(list (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\"))"
  20181. msgstr ""
  20182. #. type: table
  20183. #: guix-git/doc/guix.texi:13871
  20184. 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."
  20185. msgstr ""
  20186. #. type: item
  20187. #: guix-git/doc/guix.texi:13872
  20188. #, no-wrap
  20189. msgid "(list (file-system-label \"swap\"))"
  20190. msgstr ""
  20191. #. type: table
  20192. #: guix-git/doc/guix.texi:13876
  20193. msgid "Use the partition with label @code{swap}. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition."
  20194. msgstr ""
  20195. #. type: item
  20196. #: guix-git/doc/guix.texi:13877
  20197. #, no-wrap
  20198. msgid "(list \"/swapfile\")"
  20199. msgstr ""
  20200. #. type: table
  20201. #: guix-git/doc/guix.texi:13879
  20202. msgid "Use the file @file{/swapfile} as swap space."
  20203. msgstr ""
  20204. #. type: item
  20205. #: guix-git/doc/guix.texi:13880
  20206. #, no-wrap
  20207. msgid "(list \"/dev/sda3\" \"/dev/sdb2\")"
  20208. msgstr ""
  20209. #. type: table
  20210. #: guix-git/doc/guix.texi:13884
  20211. msgid "Use the @file{/dev/sda3} and @file{/dev/sdb2} partitions as swap space. We recommend referring to swap devices by UUIDs or labels as shown above instead."
  20212. msgstr ""
  20213. #. type: table
  20214. #: guix-git/doc/guix.texi:13890
  20215. msgid "It is possible to specify a swap file in a file system on a mapped device (under @file{/dev/mapper}), provided that the necessary device mapping and file system are also specified. @xref{Mapped Devices} and @ref{File Systems}."
  20216. msgstr ""
  20217. #. type: item
  20218. #: guix-git/doc/guix.texi:13891
  20219. #, no-wrap
  20220. msgid "@code{users} (default: @code{%base-user-accounts})"
  20221. msgstr ""
  20222. #. type: itemx
  20223. #: guix-git/doc/guix.texi:13892
  20224. #, no-wrap
  20225. msgid "@code{groups} (default: @code{%base-groups})"
  20226. msgstr ""
  20227. #. type: table
  20228. #: guix-git/doc/guix.texi:13894
  20229. msgid "List of user accounts and groups. @xref{User Accounts}."
  20230. msgstr ""
  20231. #. type: table
  20232. #: guix-git/doc/guix.texi:13897
  20233. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  20234. msgstr ""
  20235. #. type: item
  20236. #: guix-git/doc/guix.texi:13898
  20237. #, no-wrap
  20238. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  20239. msgstr ""
  20240. #. type: table
  20241. #: guix-git/doc/guix.texi:13902
  20242. 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."
  20243. msgstr ""
  20244. #. type: table
  20245. #: guix-git/doc/guix.texi:13904
  20246. msgid "For instance, a valid value may look like this:"
  20247. msgstr ""
  20248. #. type: lisp
  20249. #: guix-git/doc/guix.texi:13910
  20250. #, no-wrap
  20251. msgid ""
  20252. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  20253. " (\".guile\" ,(plain-file \"guile\"\n"
  20254. " \"(use-modules (ice-9 readline))\n"
  20255. " (activate-readline)\")))\n"
  20256. msgstr ""
  20257. #. type: item
  20258. #: guix-git/doc/guix.texi:13912
  20259. #, no-wrap
  20260. msgid "@code{issue} (default: @code{%default-issue})"
  20261. msgstr ""
  20262. #. type: table
  20263. #: guix-git/doc/guix.texi:13915
  20264. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  20265. msgstr ""
  20266. #. type: item
  20267. #: guix-git/doc/guix.texi:13916
  20268. #, no-wrap
  20269. msgid "@code{packages} (default: @code{%base-packages})"
  20270. msgstr ""
  20271. #. type: table
  20272. #: guix-git/doc/guix.texi:13920
  20273. 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:"
  20274. msgstr ""
  20275. #. type: lisp
  20276. #: guix-git/doc/guix.texi:13925
  20277. #, no-wrap
  20278. msgid ""
  20279. "(cons* git ; the default \"out\" output\n"
  20280. " (list git \"send-email\") ; another output of git\n"
  20281. " %base-packages) ; the default set\n"
  20282. msgstr ""
  20283. #. type: table
  20284. #: guix-git/doc/guix.texi:13930
  20285. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  20286. msgstr ""
  20287. #. type: code{#1}
  20288. #: guix-git/doc/guix.texi:13931
  20289. #, no-wrap
  20290. msgid "timezone"
  20291. msgstr ""
  20292. #. type: table
  20293. #: guix-git/doc/guix.texi:13933
  20294. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  20295. msgstr ""
  20296. #. type: table
  20297. #: guix-git/doc/guix.texi:13937
  20298. 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."
  20299. msgstr ""
  20300. #. type: item
  20301. #: guix-git/doc/guix.texi:13938 guix-git/doc/guix.texi:19958
  20302. #, no-wrap
  20303. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  20304. msgstr ""
  20305. #. type: table
  20306. #: guix-git/doc/guix.texi:13941
  20307. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  20308. msgstr ""
  20309. #. type: item
  20310. #: guix-git/doc/guix.texi:13942
  20311. #, no-wrap
  20312. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  20313. msgstr ""
  20314. #. type: table
  20315. #: guix-git/doc/guix.texi:13945
  20316. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  20317. msgstr ""
  20318. #. type: item
  20319. #: guix-git/doc/guix.texi:13946
  20320. #, no-wrap
  20321. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  20322. msgstr ""
  20323. #. type: table
  20324. #: guix-git/doc/guix.texi:13950
  20325. 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."
  20326. msgstr ""
  20327. #. type: item
  20328. #: guix-git/doc/guix.texi:13951
  20329. #, no-wrap
  20330. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  20331. msgstr ""
  20332. #. type: table
  20333. #: guix-git/doc/guix.texi:13955
  20334. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  20335. msgstr ""
  20336. #. type: item
  20337. #: guix-git/doc/guix.texi:13956
  20338. #, no-wrap
  20339. msgid "@code{services} (default: @code{%base-services})"
  20340. msgstr ""
  20341. #. type: table
  20342. #: guix-git/doc/guix.texi:13958
  20343. msgid "A list of service objects denoting system services. @xref{Services}."
  20344. msgstr ""
  20345. #. type: cindex
  20346. #: guix-git/doc/guix.texi:13959
  20347. #, no-wrap
  20348. msgid "essential services"
  20349. msgstr ""
  20350. #. type: item
  20351. #: guix-git/doc/guix.texi:13960
  20352. #, no-wrap
  20353. msgid "@code{essential-services} (default: ...)"
  20354. msgstr ""
  20355. #. type: table
  20356. #: guix-git/doc/guix.texi:13965
  20357. 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."
  20358. msgstr ""
  20359. #. type: item
  20360. #: guix-git/doc/guix.texi:13966
  20361. #, no-wrap
  20362. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  20363. msgstr ""
  20364. #. type: cindex
  20365. #: guix-git/doc/guix.texi:13967
  20366. #, no-wrap
  20367. msgid "PAM"
  20368. msgstr ""
  20369. #. type: cindex
  20370. #: guix-git/doc/guix.texi:13968
  20371. #, no-wrap
  20372. msgid "pluggable authentication modules"
  20373. msgstr ""
  20374. #. type: table
  20375. #: guix-git/doc/guix.texi:13971
  20376. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  20377. msgstr ""
  20378. #. type: item
  20379. #: guix-git/doc/guix.texi:13972
  20380. #, no-wrap
  20381. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  20382. msgstr ""
  20383. #. type: table
  20384. #: guix-git/doc/guix.texi:13975
  20385. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  20386. msgstr ""
  20387. #. type: item
  20388. #: guix-git/doc/guix.texi:13976
  20389. #, no-wrap
  20390. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  20391. msgstr ""
  20392. #. type: cindex
  20393. #: guix-git/doc/guix.texi:13977
  20394. #, no-wrap
  20395. msgid "sudoers file"
  20396. msgstr ""
  20397. #. type: table
  20398. #: guix-git/doc/guix.texi:13980
  20399. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  20400. msgstr ""
  20401. #. type: table
  20402. #: guix-git/doc/guix.texi:13985
  20403. 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}."
  20404. msgstr ""
  20405. #. type: deffn
  20406. #: guix-git/doc/guix.texi:13988
  20407. #, no-wrap
  20408. msgid "{Scheme Syntax} this-operating-system"
  20409. msgstr ""
  20410. #. type: deffn
  20411. #: guix-git/doc/guix.texi:13991
  20412. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  20413. msgstr ""
  20414. #. type: deffn
  20415. #: guix-git/doc/guix.texi:13994
  20416. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  20417. msgstr ""
  20418. #. type: lisp
  20419. #: guix-git/doc/guix.texi:13997 guix-git/doc/guix.texi:17574
  20420. #, no-wrap
  20421. msgid ""
  20422. "(use-modules (gnu) (guix))\n"
  20423. "\n"
  20424. msgstr ""
  20425. #. type: lisp
  20426. #: guix-git/doc/guix.texi:14002
  20427. #, no-wrap
  20428. msgid ""
  20429. "(operating-system\n"
  20430. " ;; ...\n"
  20431. " (label (package-full-name\n"
  20432. " (operating-system-kernel this-operating-system))))\n"
  20433. msgstr ""
  20434. #. type: deffn
  20435. #: guix-git/doc/guix.texi:14006
  20436. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  20437. msgstr ""
  20438. #. type: Plain text
  20439. #: guix-git/doc/guix.texi:14017
  20440. 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:"
  20441. msgstr ""
  20442. #. type: lisp
  20443. #: guix-git/doc/guix.texi:14023
  20444. #, no-wrap
  20445. msgid ""
  20446. "(file-system\n"
  20447. " (mount-point \"/home\")\n"
  20448. " (device \"/dev/sda3\")\n"
  20449. " (type \"ext4\"))\n"
  20450. msgstr ""
  20451. #. type: Plain text
  20452. #: guix-git/doc/guix.texi:14027
  20453. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  20454. msgstr ""
  20455. #. type: deftp
  20456. #: guix-git/doc/guix.texi:14028
  20457. #, no-wrap
  20458. msgid "{Data Type} file-system"
  20459. msgstr ""
  20460. #. type: deftp
  20461. #: guix-git/doc/guix.texi:14031
  20462. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  20463. msgstr ""
  20464. #. type: item
  20465. #: guix-git/doc/guix.texi:14033 guix-git/doc/guix.texi:14383
  20466. #, no-wrap
  20467. msgid "type"
  20468. msgstr ""
  20469. #. type: table
  20470. #: guix-git/doc/guix.texi:14036
  20471. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  20472. msgstr ""
  20473. #. type: code{#1}
  20474. #: guix-git/doc/guix.texi:14037
  20475. #, no-wrap
  20476. msgid "mount-point"
  20477. msgstr ""
  20478. #. type: table
  20479. #: guix-git/doc/guix.texi:14039
  20480. msgid "This designates the place where the file system is to be mounted."
  20481. msgstr ""
  20482. #. type: code{#1}
  20483. #: guix-git/doc/guix.texi:14040
  20484. #, no-wrap
  20485. msgid "device"
  20486. msgstr ""
  20487. #. type: table
  20488. #: guix-git/doc/guix.texi:14050
  20489. 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.}."
  20490. msgstr ""
  20491. #. type: findex
  20492. #: guix-git/doc/guix.texi:14051
  20493. #, no-wrap
  20494. msgid "file-system-label"
  20495. msgstr ""
  20496. #. type: table
  20497. #: guix-git/doc/guix.texi:14056
  20498. 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:"
  20499. msgstr ""
  20500. #. type: lisp
  20501. #: guix-git/doc/guix.texi:14062
  20502. #, no-wrap
  20503. msgid ""
  20504. "(file-system\n"
  20505. " (mount-point \"/home\")\n"
  20506. " (type \"ext4\")\n"
  20507. " (device (file-system-label \"my-home\")))\n"
  20508. msgstr ""
  20509. #. type: code{#1}
  20510. #: guix-git/doc/guix.texi:14064 guix-git/doc/guix.texi:31772
  20511. #: guix-git/doc/guix.texi:31788
  20512. #, no-wrap
  20513. msgid "uuid"
  20514. msgstr ""
  20515. #. type: table
  20516. #: guix-git/doc/guix.texi:14072
  20517. 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:"
  20518. msgstr ""
  20519. #. type: lisp
  20520. #: guix-git/doc/guix.texi:14078
  20521. #, no-wrap
  20522. msgid ""
  20523. "(file-system\n"
  20524. " (mount-point \"/home\")\n"
  20525. " (type \"ext4\")\n"
  20526. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  20527. msgstr ""
  20528. #. type: table
  20529. #: guix-git/doc/guix.texi:14086
  20530. 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."
  20531. msgstr ""
  20532. #. type: item
  20533. #: guix-git/doc/guix.texi:14087
  20534. #, no-wrap
  20535. msgid "@code{flags} (default: @code{'()})"
  20536. msgstr ""
  20537. #. type: table
  20538. #: guix-git/doc/guix.texi:14097
  20539. 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."
  20540. msgstr ""
  20541. #. type: item
  20542. #: guix-git/doc/guix.texi:14098
  20543. #, no-wrap
  20544. msgid "@code{options} (default: @code{#f})"
  20545. msgstr ""
  20546. #. type: table
  20547. #: guix-git/doc/guix.texi:14107
  20548. 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."
  20549. msgstr ""
  20550. #. type: item
  20551. #: guix-git/doc/guix.texi:14108
  20552. #, no-wrap
  20553. msgid "@code{mount?} (default: @code{#t})"
  20554. msgstr ""
  20555. #. type: table
  20556. #: guix-git/doc/guix.texi:14113
  20557. 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."
  20558. msgstr ""
  20559. #. type: item
  20560. #: guix-git/doc/guix.texi:14114
  20561. #, no-wrap
  20562. msgid "@code{needed-for-boot?} (default: @code{#f})"
  20563. msgstr ""
  20564. #. type: table
  20565. #: guix-git/doc/guix.texi:14119
  20566. 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."
  20567. msgstr ""
  20568. #. type: item
  20569. #: guix-git/doc/guix.texi:14120
  20570. #, no-wrap
  20571. msgid "@code{check?} (default: @code{#t})"
  20572. msgstr ""
  20573. #. type: table
  20574. #: guix-git/doc/guix.texi:14123
  20575. msgid "This Boolean indicates whether the file system needs to be checked for errors before being mounted."
  20576. msgstr ""
  20577. #. type: item
  20578. #: guix-git/doc/guix.texi:14124
  20579. #, no-wrap
  20580. msgid "@code{create-mount-point?} (default: @code{#f})"
  20581. msgstr ""
  20582. #. type: table
  20583. #: guix-git/doc/guix.texi:14126
  20584. msgid "When true, the mount point is created if it does not exist yet."
  20585. msgstr ""
  20586. #. type: item
  20587. #: guix-git/doc/guix.texi:14127
  20588. #, no-wrap
  20589. msgid "@code{mount-may-fail?} (default: @code{#f})"
  20590. msgstr ""
  20591. #. type: table
  20592. #: guix-git/doc/guix.texi:14132
  20593. 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."
  20594. msgstr ""
  20595. #. type: item
  20596. #: guix-git/doc/guix.texi:14133
  20597. #, no-wrap
  20598. msgid "@code{dependencies} (default: @code{'()})"
  20599. msgstr ""
  20600. #. type: table
  20601. #: guix-git/doc/guix.texi:14137
  20602. 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."
  20603. msgstr ""
  20604. #. type: table
  20605. #: guix-git/doc/guix.texi:14141
  20606. 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}."
  20607. msgstr ""
  20608. #. type: table
  20609. #: guix-git/doc/guix.texi:14144
  20610. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  20611. msgstr ""
  20612. #. type: deffn
  20613. #: guix-git/doc/guix.texi:14147
  20614. #, no-wrap
  20615. msgid "{Scheme Procedure} file-system-label @var{str}"
  20616. msgstr ""
  20617. #. type: deffn
  20618. #: guix-git/doc/guix.texi:14150
  20619. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  20620. msgstr ""
  20621. #. type: lisp
  20622. #: guix-git/doc/guix.texi:14154
  20623. #, no-wrap
  20624. msgid ""
  20625. "(file-system-label \"home\")\n"
  20626. "@result{} #<file-system-label \"home\">\n"
  20627. msgstr ""
  20628. #. type: deffn
  20629. #: guix-git/doc/guix.texi:14158
  20630. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  20631. msgstr ""
  20632. #. type: Plain text
  20633. #: guix-git/doc/guix.texi:14162
  20634. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  20635. msgstr ""
  20636. #. type: defvr
  20637. #: guix-git/doc/guix.texi:14163
  20638. #, no-wrap
  20639. msgid "{Scheme Variable} %base-file-systems"
  20640. msgstr ""
  20641. #. type: defvr
  20642. #: guix-git/doc/guix.texi:14168
  20643. 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."
  20644. msgstr ""
  20645. #. type: defvr
  20646. #: guix-git/doc/guix.texi:14170
  20647. #, no-wrap
  20648. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  20649. msgstr ""
  20650. #. type: defvr
  20651. #: guix-git/doc/guix.texi:14176
  20652. 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}."
  20653. msgstr ""
  20654. #. type: defvr
  20655. #: guix-git/doc/guix.texi:14178
  20656. #, no-wrap
  20657. msgid "{Scheme Variable} %shared-memory-file-system"
  20658. msgstr ""
  20659. #. type: defvr
  20660. #: guix-git/doc/guix.texi:14182
  20661. 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})."
  20662. msgstr ""
  20663. #. type: defvr
  20664. #: guix-git/doc/guix.texi:14184
  20665. #, no-wrap
  20666. msgid "{Scheme Variable} %immutable-store"
  20667. msgstr ""
  20668. #. type: defvr
  20669. #: guix-git/doc/guix.texi:14189
  20670. 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."
  20671. msgstr ""
  20672. #. type: defvr
  20673. #: guix-git/doc/guix.texi:14192
  20674. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  20675. msgstr ""
  20676. #. type: defvr
  20677. #: guix-git/doc/guix.texi:14194
  20678. #, no-wrap
  20679. msgid "{Scheme Variable} %binary-format-file-system"
  20680. msgstr ""
  20681. #. type: defvr
  20682. #: guix-git/doc/guix.texi:14198
  20683. 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."
  20684. msgstr ""
  20685. #. type: defvr
  20686. #: guix-git/doc/guix.texi:14200
  20687. #, no-wrap
  20688. msgid "{Scheme Variable} %fuse-control-file-system"
  20689. msgstr ""
  20690. #. type: defvr
  20691. #: guix-git/doc/guix.texi:14204
  20692. 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."
  20693. msgstr ""
  20694. #. type: Plain text
  20695. #: guix-git/doc/guix.texi:14208
  20696. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  20697. msgstr ""
  20698. #. type: deffn
  20699. #: guix-git/doc/guix.texi:14209
  20700. #, no-wrap
  20701. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  20702. msgstr ""
  20703. #. type: deffn
  20704. #: guix-git/doc/guix.texi:14212
  20705. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  20706. msgstr ""
  20707. #. type: lisp
  20708. #: guix-git/doc/guix.texi:14216
  20709. #, no-wrap
  20710. msgid ""
  20711. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  20712. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  20713. "\n"
  20714. msgstr ""
  20715. #. type: lisp
  20716. #: guix-git/doc/guix.texi:14219
  20717. #, no-wrap
  20718. msgid ""
  20719. "(uuid \"1234-ABCD\" 'fat)\n"
  20720. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  20721. msgstr ""
  20722. #. type: deffn
  20723. #: guix-git/doc/guix.texi:14223
  20724. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  20725. msgstr ""
  20726. #. type: deffn
  20727. #: guix-git/doc/guix.texi:14226
  20728. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  20729. msgstr ""
  20730. #. type: subsection
  20731. #: guix-git/doc/guix.texi:14229 guix-git/doc/guix.texi:14230
  20732. #, no-wrap
  20733. msgid "Btrfs file system"
  20734. msgstr ""
  20735. #. type: Plain text
  20736. #: guix-git/doc/guix.texi:14236
  20737. 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."
  20738. msgstr ""
  20739. #. type: Plain text
  20740. #: guix-git/doc/guix.texi:14239
  20741. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  20742. msgstr ""
  20743. #. type: lisp
  20744. #: guix-git/doc/guix.texi:14245
  20745. #, no-wrap
  20746. msgid ""
  20747. "(file-system\n"
  20748. " (mount-point \"/home\")\n"
  20749. " (type \"btrfs\")\n"
  20750. " (device (file-system-label \"my-home\")))\n"
  20751. msgstr ""
  20752. #. type: Plain text
  20753. #: guix-git/doc/guix.texi:14251
  20754. 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}):"
  20755. msgstr ""
  20756. #. type: lisp
  20757. #: guix-git/doc/guix.texi:14259
  20758. #, no-wrap
  20759. msgid ""
  20760. "(file-system\n"
  20761. " (device (file-system-label \"my-btrfs-pool\"))\n"
  20762. " (mount-point \"/\")\n"
  20763. " (type \"btrfs\")\n"
  20764. " (options \"subvol=rootfs\")\n"
  20765. " (dependencies mapped-devices))\n"
  20766. msgstr ""
  20767. #. type: Plain text
  20768. #: guix-git/doc/guix.texi:14270
  20769. 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."
  20770. msgstr ""
  20771. #. type: Plain text
  20772. #: guix-git/doc/guix.texi:14278
  20773. 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.:"
  20774. msgstr ""
  20775. #. type: example
  20776. #: guix-git/doc/guix.texi:14285
  20777. #, no-wrap
  20778. msgid ""
  20779. "/ (top level)\n"
  20780. "├── rootfs (subvolume directory)\n"
  20781. " ├── gnu (normal directory)\n"
  20782. " ├── store (normal directory)\n"
  20783. "[...]\n"
  20784. msgstr ""
  20785. #. type: Plain text
  20786. #: guix-git/doc/guix.texi:14290
  20787. 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."
  20788. msgstr ""
  20789. #. type: Plain text
  20790. #: guix-git/doc/guix.texi:14293
  20791. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  20792. msgstr ""
  20793. #. type: example
  20794. #: guix-git/doc/guix.texi:14300
  20795. #, no-wrap
  20796. msgid ""
  20797. "/ (top level)\n"
  20798. "├── rootfs (subvolume)\n"
  20799. " ├── gnu (normal directory)\n"
  20800. " ├── store (subvolume)\n"
  20801. "[...]\n"
  20802. msgstr ""
  20803. #. type: Plain text
  20804. #: guix-git/doc/guix.texi:14307
  20805. 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}."
  20806. msgstr ""
  20807. #. type: Plain text
  20808. #: guix-git/doc/guix.texi:14309
  20809. msgid "Finally, a more contrived example of nested subvolumes:"
  20810. msgstr ""
  20811. #. type: example
  20812. #: guix-git/doc/guix.texi:14316
  20813. #, no-wrap
  20814. msgid ""
  20815. "/ (top level)\n"
  20816. "├── root-snapshots (subvolume)\n"
  20817. " ├── root-current (subvolume)\n"
  20818. " ├── guix-store (subvolume)\n"
  20819. "[...]\n"
  20820. msgstr ""
  20821. #. type: Plain text
  20822. #: guix-git/doc/guix.texi:14323
  20823. 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:"
  20824. msgstr ""
  20825. #. type: lisp
  20826. #: guix-git/doc/guix.texi:14331
  20827. #, no-wrap
  20828. msgid ""
  20829. "(file-system\n"
  20830. " (device (file-system-label \"btrfs-pool-1\"))\n"
  20831. " (mount-point \"/gnu/store\")\n"
  20832. " (type \"btrfs\")\n"
  20833. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  20834. "compress-force=zstd,space_cache=v2\"))\n"
  20835. msgstr ""
  20836. #. type: cindex
  20837. #: guix-git/doc/guix.texi:14336
  20838. #, no-wrap
  20839. msgid "device mapping"
  20840. msgstr ""
  20841. #. type: cindex
  20842. #: guix-git/doc/guix.texi:14337
  20843. #, no-wrap
  20844. msgid "mapped devices"
  20845. msgstr ""
  20846. #. type: Plain text
  20847. #: guix-git/doc/guix.texi:14354
  20848. 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."
  20849. msgstr ""
  20850. #. type: Plain text
  20851. #: guix-git/doc/guix.texi:14357
  20852. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  20853. msgstr ""
  20854. #. type: deftp
  20855. #: guix-git/doc/guix.texi:14358
  20856. #, no-wrap
  20857. msgid "{Data Type} mapped-device"
  20858. msgstr ""
  20859. #. type: deftp
  20860. #: guix-git/doc/guix.texi:14361
  20861. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  20862. msgstr ""
  20863. #. type: table
  20864. #: guix-git/doc/guix.texi:14368
  20865. 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."
  20866. msgstr ""
  20867. #. type: code{#1}
  20868. #: guix-git/doc/guix.texi:14369 guix-git/doc/guix.texi:33233
  20869. #, no-wrap
  20870. msgid "target"
  20871. msgstr ""
  20872. #. type: table
  20873. #: guix-git/doc/guix.texi:14378
  20874. 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\"}."
  20875. msgstr ""
  20876. #. type: item
  20877. #: guix-git/doc/guix.texi:14379
  20878. #, no-wrap
  20879. msgid "targets"
  20880. msgstr ""
  20881. #. type: table
  20882. #: guix-git/doc/guix.texi:14382
  20883. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  20884. msgstr ""
  20885. #. type: table
  20886. #: guix-git/doc/guix.texi:14386
  20887. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  20888. msgstr ""
  20889. #. type: defvr
  20890. #: guix-git/doc/guix.texi:14389
  20891. #, no-wrap
  20892. msgid "{Scheme Variable} luks-device-mapping"
  20893. msgstr ""
  20894. #. type: defvr
  20895. #: guix-git/doc/guix.texi:14393
  20896. 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."
  20897. msgstr ""
  20898. #. type: defvr
  20899. #: guix-git/doc/guix.texi:14395
  20900. #, no-wrap
  20901. msgid "{Scheme Variable} raid-device-mapping"
  20902. msgstr ""
  20903. #. type: defvr
  20904. #: guix-git/doc/guix.texi:14400
  20905. 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."
  20906. msgstr ""
  20907. #. type: cindex
  20908. #: guix-git/doc/guix.texi:14402
  20909. #, no-wrap
  20910. msgid "LVM, logical volume manager"
  20911. msgstr ""
  20912. #. type: defvr
  20913. #: guix-git/doc/guix.texi:14403
  20914. #, no-wrap
  20915. msgid "{Scheme Variable} lvm-device-mapping"
  20916. msgstr ""
  20917. #. type: defvr
  20918. #: guix-git/doc/guix.texi:14408
  20919. 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."
  20920. msgstr ""
  20921. #. type: cindex
  20922. #: guix-git/doc/guix.texi:14410
  20923. #, no-wrap
  20924. msgid "disk encryption"
  20925. msgstr ""
  20926. #. type: cindex
  20927. #: guix-git/doc/guix.texi:14411
  20928. #, no-wrap
  20929. msgid "LUKS"
  20930. msgstr ""
  20931. #. type: Plain text
  20932. #: guix-git/doc/guix.texi:14419
  20933. 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})."
  20934. msgstr ""
  20935. #. type: lisp
  20936. #: guix-git/doc/guix.texi:14425
  20937. #, no-wrap
  20938. msgid ""
  20939. "(mapped-device\n"
  20940. " (source \"/dev/sda3\")\n"
  20941. " (target \"home\")\n"
  20942. " (type luks-device-mapping))\n"
  20943. msgstr ""
  20944. #. type: Plain text
  20945. #: guix-git/doc/guix.texi:14430
  20946. 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:"
  20947. msgstr ""
  20948. #. type: example
  20949. #: guix-git/doc/guix.texi:14433
  20950. #, no-wrap
  20951. msgid "cryptsetup luksUUID /dev/sda3\n"
  20952. msgstr ""
  20953. #. type: Plain text
  20954. #: guix-git/doc/guix.texi:14436
  20955. msgid "and use it as follows:"
  20956. msgstr ""
  20957. #. type: lisp
  20958. #: guix-git/doc/guix.texi:14442
  20959. #, no-wrap
  20960. msgid ""
  20961. "(mapped-device\n"
  20962. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  20963. " (target \"home\")\n"
  20964. " (type luks-device-mapping))\n"
  20965. msgstr ""
  20966. #. type: cindex
  20967. #: guix-git/doc/guix.texi:14444
  20968. #, no-wrap
  20969. msgid "swap encryption"
  20970. msgstr ""
  20971. #. type: Plain text
  20972. #: guix-git/doc/guix.texi:14450
  20973. msgid "It is also desirable to encrypt swap space, since swap space may contain sensitive data. One way to accomplish that is to use a swap file in a file system on a device mapped via LUKS encryption. In this way, the swap file is encrypted because the entire device is encrypted. @xref{Preparing for Installation,,Disk Partitioning}, for an example."
  20974. msgstr ""
  20975. #. type: Plain text
  20976. #: guix-git/doc/guix.texi:14453
  20977. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  20978. msgstr ""
  20979. #. type: lisp
  20980. #: guix-git/doc/guix.texi:14459
  20981. #, no-wrap
  20982. msgid ""
  20983. "(mapped-device\n"
  20984. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  20985. " (target \"/dev/md0\")\n"
  20986. " (type raid-device-mapping))\n"
  20987. msgstr ""
  20988. #. type: Plain text
  20989. #: guix-git/doc/guix.texi:14466
  20990. 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."
  20991. msgstr ""
  20992. #. type: Plain text
  20993. #: guix-git/doc/guix.texi:14469
  20994. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  20995. msgstr ""
  20996. #. type: lisp
  20997. #: guix-git/doc/guix.texi:14475
  20998. #, no-wrap
  20999. msgid ""
  21000. "(mapped-device\n"
  21001. " (source \"vg0\")\n"
  21002. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  21003. " (type lvm-device-mapping))\n"
  21004. msgstr ""
  21005. #. type: Plain text
  21006. #: guix-git/doc/guix.texi:14480
  21007. 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})."
  21008. msgstr ""
  21009. #. type: cindex
  21010. #: guix-git/doc/guix.texi:14484
  21011. #, no-wrap
  21012. msgid "users"
  21013. msgstr ""
  21014. #. type: cindex
  21015. #: guix-git/doc/guix.texi:14485
  21016. #, no-wrap
  21017. msgid "accounts"
  21018. msgstr ""
  21019. #. type: cindex
  21020. #: guix-git/doc/guix.texi:14486
  21021. #, no-wrap
  21022. msgid "user accounts"
  21023. msgstr ""
  21024. #. type: Plain text
  21025. #: guix-git/doc/guix.texi:14490
  21026. 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:"
  21027. msgstr ""
  21028. #. type: lisp
  21029. #: guix-git/doc/guix.texi:14500
  21030. #, no-wrap
  21031. msgid ""
  21032. "(user-account\n"
  21033. " (name \"alice\")\n"
  21034. " (group \"users\")\n"
  21035. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  21036. " \"audio\" ;sound card\n"
  21037. " \"video\" ;video devices such as webcams\n"
  21038. " \"cdrom\")) ;the good ol' CD-ROM\n"
  21039. " (comment \"Bob's sister\"))\n"
  21040. msgstr ""
  21041. #. type: Plain text
  21042. #: guix-git/doc/guix.texi:14504
  21043. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  21044. msgstr ""
  21045. #. type: lisp
  21046. #: guix-git/doc/guix.texi:14512
  21047. #, no-wrap
  21048. msgid ""
  21049. "(user-account\n"
  21050. " (name \"bob\")\n"
  21051. " (group \"users\")\n"
  21052. " (comment \"Alice's bro\")\n"
  21053. " (shell (file-append zsh \"/bin/zsh\"))\n"
  21054. " (home-directory \"/home/robert\"))\n"
  21055. msgstr ""
  21056. #. type: Plain text
  21057. #: guix-git/doc/guix.texi:14521
  21058. 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."
  21059. msgstr ""
  21060. #. type: deftp
  21061. #: guix-git/doc/guix.texi:14522
  21062. #, no-wrap
  21063. msgid "{Data Type} user-account"
  21064. msgstr ""
  21065. #. type: deftp
  21066. #: guix-git/doc/guix.texi:14525
  21067. msgid "Objects of this type represent user accounts. The following members may be specified:"
  21068. msgstr ""
  21069. #. type: table
  21070. #: guix-git/doc/guix.texi:14529
  21071. msgid "The name of the user account."
  21072. msgstr ""
  21073. #. type: itemx
  21074. #: guix-git/doc/guix.texi:14530 guix-git/doc/guix.texi:32919
  21075. #, no-wrap
  21076. msgid "group"
  21077. msgstr ""
  21078. #. type: cindex
  21079. #: guix-git/doc/guix.texi:14531 guix-git/doc/guix.texi:14610
  21080. #, no-wrap
  21081. msgid "groups"
  21082. msgstr ""
  21083. #. type: table
  21084. #: guix-git/doc/guix.texi:14534
  21085. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  21086. msgstr ""
  21087. #. type: item
  21088. #: guix-git/doc/guix.texi:14535
  21089. #, no-wrap
  21090. msgid "@code{supplementary-groups} (default: @code{'()})"
  21091. msgstr ""
  21092. #. type: table
  21093. #: guix-git/doc/guix.texi:14538
  21094. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  21095. msgstr ""
  21096. #. type: item
  21097. #: guix-git/doc/guix.texi:14539
  21098. #, no-wrap
  21099. msgid "@code{uid} (default: @code{#f})"
  21100. msgstr ""
  21101. #. type: table
  21102. #: guix-git/doc/guix.texi:14543
  21103. 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."
  21104. msgstr ""
  21105. #. type: item
  21106. #: guix-git/doc/guix.texi:14544
  21107. #, no-wrap
  21108. msgid "@code{comment} (default: @code{\"\"})"
  21109. msgstr ""
  21110. #. type: table
  21111. #: guix-git/doc/guix.texi:14546
  21112. msgid "A comment about the account, such as the account owner's full name."
  21113. msgstr ""
  21114. #. type: code{#1}
  21115. #: guix-git/doc/guix.texi:14547
  21116. #, no-wrap
  21117. msgid "home-directory"
  21118. msgstr ""
  21119. #. type: table
  21120. #: guix-git/doc/guix.texi:14549
  21121. msgid "This is the name of the home directory for the account."
  21122. msgstr ""
  21123. #. type: item
  21124. #: guix-git/doc/guix.texi:14550
  21125. #, no-wrap
  21126. msgid "@code{create-home-directory?} (default: @code{#t})"
  21127. msgstr ""
  21128. #. type: table
  21129. #: guix-git/doc/guix.texi:14553
  21130. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  21131. msgstr ""
  21132. #. type: item
  21133. #: guix-git/doc/guix.texi:14554
  21134. #, no-wrap
  21135. msgid "@code{shell} (default: Bash)"
  21136. msgstr ""
  21137. #. type: table
  21138. #: guix-git/doc/guix.texi:14558
  21139. 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:"
  21140. msgstr ""
  21141. #. type: lisp
  21142. #: guix-git/doc/guix.texi:14561
  21143. #, no-wrap
  21144. msgid "(file-append bash \"/bin/bash\")\n"
  21145. msgstr ""
  21146. #. type: table
  21147. #: guix-git/doc/guix.texi:14565
  21148. msgid "... and to the Zsh executable like that:"
  21149. msgstr ""
  21150. #. type: lisp
  21151. #: guix-git/doc/guix.texi:14568
  21152. #, no-wrap
  21153. msgid "(file-append zsh \"/bin/zsh\")\n"
  21154. msgstr ""
  21155. #. type: item
  21156. #: guix-git/doc/guix.texi:14570 guix-git/doc/guix.texi:14628
  21157. #, no-wrap
  21158. msgid "@code{system?} (default: @code{#f})"
  21159. msgstr ""
  21160. #. type: table
  21161. #: guix-git/doc/guix.texi:14574
  21162. 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."
  21163. msgstr ""
  21164. #. type: anchor{#1}
  21165. #: guix-git/doc/guix.texi:14576
  21166. msgid "user-account-password"
  21167. msgstr ""
  21168. #. type: cindex
  21169. #: guix-git/doc/guix.texi:14576
  21170. #, no-wrap
  21171. msgid "password, for user accounts"
  21172. msgstr ""
  21173. #. type: item
  21174. #: guix-git/doc/guix.texi:14577 guix-git/doc/guix.texi:14632
  21175. #, no-wrap
  21176. msgid "@code{password} (default: @code{#f})"
  21177. msgstr ""
  21178. #. type: table
  21179. #: guix-git/doc/guix.texi:14583
  21180. 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."
  21181. msgstr ""
  21182. #. type: table
  21183. #: guix-git/doc/guix.texi:14587
  21184. 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:"
  21185. msgstr ""
  21186. #. type: lisp
  21187. #: guix-git/doc/guix.texi:14592
  21188. #, no-wrap
  21189. msgid ""
  21190. "(user-account\n"
  21191. " (name \"charlie\")\n"
  21192. " (group \"users\")\n"
  21193. "\n"
  21194. msgstr ""
  21195. #. type: lisp
  21196. #: guix-git/doc/guix.texi:14595
  21197. #, no-wrap
  21198. msgid ""
  21199. " ;; Specify a SHA-512-hashed initial password.\n"
  21200. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  21201. msgstr ""
  21202. #. type: quotation
  21203. #: guix-git/doc/guix.texi:14601
  21204. 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."
  21205. msgstr ""
  21206. #. type: table
  21207. #: guix-git/doc/guix.texi:14606
  21208. 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."
  21209. msgstr ""
  21210. #. type: Plain text
  21211. #: guix-git/doc/guix.texi:14612
  21212. msgid "User group declarations are even simpler:"
  21213. msgstr ""
  21214. #. type: lisp
  21215. #: guix-git/doc/guix.texi:14615
  21216. #, no-wrap
  21217. msgid "(user-group (name \"students\"))\n"
  21218. msgstr ""
  21219. #. type: deftp
  21220. #: guix-git/doc/guix.texi:14617
  21221. #, no-wrap
  21222. msgid "{Data Type} user-group"
  21223. msgstr ""
  21224. #. type: deftp
  21225. #: guix-git/doc/guix.texi:14619
  21226. msgid "This type is for, well, user groups. There are just a few fields:"
  21227. msgstr ""
  21228. #. type: table
  21229. #: guix-git/doc/guix.texi:14623
  21230. msgid "The name of the group."
  21231. msgstr ""
  21232. #. type: item
  21233. #: guix-git/doc/guix.texi:14624 guix-git/doc/guix.texi:29606
  21234. #, no-wrap
  21235. msgid "@code{id} (default: @code{#f})"
  21236. msgstr ""
  21237. #. type: table
  21238. #: guix-git/doc/guix.texi:14627
  21239. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  21240. msgstr ""
  21241. #. type: table
  21242. #: guix-git/doc/guix.texi:14631
  21243. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  21244. msgstr ""
  21245. #. type: table
  21246. #: guix-git/doc/guix.texi:14635
  21247. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  21248. msgstr ""
  21249. #. type: Plain text
  21250. #: guix-git/doc/guix.texi:14641
  21251. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  21252. msgstr ""
  21253. #. type: defvr
  21254. #: guix-git/doc/guix.texi:14642
  21255. #, no-wrap
  21256. msgid "{Scheme Variable} %base-groups"
  21257. msgstr ""
  21258. #. type: defvr
  21259. #: guix-git/doc/guix.texi:14647
  21260. 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''."
  21261. msgstr ""
  21262. #. type: defvr
  21263. #: guix-git/doc/guix.texi:14649
  21264. #, no-wrap
  21265. msgid "{Scheme Variable} %base-user-accounts"
  21266. msgstr ""
  21267. #. type: defvr
  21268. #: guix-git/doc/guix.texi:14652
  21269. 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."
  21270. msgstr ""
  21271. #. type: defvr
  21272. #: guix-git/doc/guix.texi:14655
  21273. 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."
  21274. msgstr ""
  21275. #. type: cindex
  21276. #: guix-git/doc/guix.texi:14661
  21277. #, no-wrap
  21278. msgid "keymap"
  21279. msgstr ""
  21280. #. type: Plain text
  21281. #: guix-git/doc/guix.texi:14669
  21282. 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."
  21283. msgstr ""
  21284. #. type: cindex
  21285. #: guix-git/doc/guix.texi:14670
  21286. #, no-wrap
  21287. msgid "keyboard layout, definition"
  21288. msgstr ""
  21289. #. type: Plain text
  21290. #: guix-git/doc/guix.texi:14672
  21291. msgid "There are three components that will want to know about your keyboard layout:"
  21292. msgstr ""
  21293. #. type: itemize
  21294. #: guix-git/doc/guix.texi:14679
  21295. 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."
  21296. msgstr ""
  21297. #. type: itemize
  21298. #: guix-git/doc/guix.texi:14684
  21299. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  21300. msgstr ""
  21301. #. type: itemize
  21302. #: guix-git/doc/guix.texi:14688
  21303. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  21304. msgstr ""
  21305. #. type: Plain text
  21306. #: guix-git/doc/guix.texi:14692
  21307. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  21308. msgstr ""
  21309. #. type: cindex
  21310. #: guix-git/doc/guix.texi:14693
  21311. #, no-wrap
  21312. msgid "XKB, keyboard layouts"
  21313. msgstr ""
  21314. #. type: Plain text
  21315. #: guix-git/doc/guix.texi:14701
  21316. 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."
  21317. msgstr ""
  21318. #. type: deffn
  21319. #: guix-git/doc/guix.texi:14702
  21320. #, no-wrap
  21321. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  21322. msgstr ""
  21323. #. type: deffn
  21324. #: guix-git/doc/guix.texi:14705
  21325. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  21326. msgstr ""
  21327. #. type: deffn
  21328. #: guix-git/doc/guix.texi:14709
  21329. 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."
  21330. msgstr ""
  21331. #. type: Plain text
  21332. #: guix-git/doc/guix.texi:14712
  21333. msgid "Here are a few examples:"
  21334. msgstr ""
  21335. #. type: lisp
  21336. #: guix-git/doc/guix.texi:14717
  21337. #, no-wrap
  21338. msgid ""
  21339. ";; The German QWERTZ layout. Here we assume a standard\n"
  21340. ";; \"pc105\" keyboard model.\n"
  21341. "(keyboard-layout \"de\")\n"
  21342. "\n"
  21343. msgstr ""
  21344. #. type: lisp
  21345. #: guix-git/doc/guix.texi:14720
  21346. #, no-wrap
  21347. msgid ""
  21348. ";; The bépo variant of the French layout.\n"
  21349. "(keyboard-layout \"fr\" \"bepo\")\n"
  21350. "\n"
  21351. msgstr ""
  21352. #. type: lisp
  21353. #: guix-git/doc/guix.texi:14723
  21354. #, no-wrap
  21355. msgid ""
  21356. ";; The Catalan layout.\n"
  21357. "(keyboard-layout \"es\" \"cat\")\n"
  21358. "\n"
  21359. msgstr ""
  21360. #. type: lisp
  21361. #: guix-git/doc/guix.texi:14726
  21362. #, no-wrap
  21363. msgid ""
  21364. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  21365. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  21366. "\n"
  21367. msgstr ""
  21368. #. type: lisp
  21369. #: guix-git/doc/guix.texi:14733
  21370. #, no-wrap
  21371. msgid ""
  21372. ";; The Latin American Spanish layout. In addition, the\n"
  21373. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  21374. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  21375. ";; accented letters.\n"
  21376. "(keyboard-layout \"latam\"\n"
  21377. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  21378. "\n"
  21379. msgstr ""
  21380. #. type: lisp
  21381. #: guix-git/doc/guix.texi:14736
  21382. #, no-wrap
  21383. msgid ""
  21384. ";; The Russian layout for a ThinkPad keyboard.\n"
  21385. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  21386. "\n"
  21387. msgstr ""
  21388. #. type: lisp
  21389. #: guix-git/doc/guix.texi:14741
  21390. #, no-wrap
  21391. msgid ""
  21392. ";; The \"US international\" layout, which is the US layout plus\n"
  21393. ";; dead keys to enter accented characters. This is for an\n"
  21394. ";; Apple MacBook keyboard.\n"
  21395. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  21396. msgstr ""
  21397. #. type: Plain text
  21398. #: guix-git/doc/guix.texi:14745
  21399. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  21400. msgstr ""
  21401. #. type: cindex
  21402. #: guix-git/doc/guix.texi:14746
  21403. #, no-wrap
  21404. msgid "keyboard layout, configuration"
  21405. msgstr ""
  21406. #. type: Plain text
  21407. #: guix-git/doc/guix.texi:14750
  21408. 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:"
  21409. msgstr ""
  21410. #. type: findex
  21411. #: guix-git/doc/guix.texi:14751
  21412. #, no-wrap
  21413. msgid "set-xorg-configuration"
  21414. msgstr ""
  21415. #. type: lisp
  21416. #: guix-git/doc/guix.texi:14755
  21417. #, no-wrap
  21418. msgid ""
  21419. ";; Using the Turkish layout for the bootloader, the console,\n"
  21420. ";; and for Xorg.\n"
  21421. "\n"
  21422. msgstr ""
  21423. #. type: lisp
  21424. #: guix-git/doc/guix.texi:14767
  21425. #, no-wrap
  21426. msgid ""
  21427. "(operating-system\n"
  21428. " ;; ...\n"
  21429. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  21430. " (bootloader (bootloader-configuration\n"
  21431. " (bootloader grub-efi-bootloader)\n"
  21432. " (target \"/boot/efi\")\n"
  21433. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  21434. " (services (cons (set-xorg-configuration\n"
  21435. " (xorg-configuration ;for Xorg\n"
  21436. " (keyboard-layout keyboard-layout)))\n"
  21437. " %desktop-services)))\n"
  21438. msgstr ""
  21439. #. type: Plain text
  21440. #: guix-git/doc/guix.texi:14774
  21441. 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."
  21442. msgstr ""
  21443. #. type: Plain text
  21444. #: guix-git/doc/guix.texi:14777
  21445. 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:"
  21446. msgstr ""
  21447. #. type: itemize
  21448. #: guix-git/doc/guix.texi:14782
  21449. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  21450. msgstr ""
  21451. #. type: itemize
  21452. #: guix-git/doc/guix.texi:14787
  21453. 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:"
  21454. msgstr ""
  21455. #. type: example
  21456. #: guix-git/doc/guix.texi:14790
  21457. #, no-wrap
  21458. msgid "setxkbmap us dvorak\n"
  21459. msgstr ""
  21460. #. type: itemize
  21461. #: guix-git/doc/guix.texi:14797
  21462. 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:"
  21463. msgstr ""
  21464. #. type: example
  21465. #: guix-git/doc/guix.texi:14800
  21466. #, no-wrap
  21467. msgid "loadkeys fr-bepo\n"
  21468. msgstr ""
  21469. #. type: cindex
  21470. #: guix-git/doc/guix.texi:14806
  21471. #, no-wrap
  21472. msgid "locale"
  21473. msgstr ""
  21474. #. type: Plain text
  21475. #: guix-git/doc/guix.texi:14813
  21476. 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."
  21477. msgstr ""
  21478. #. type: cindex
  21479. #: guix-git/doc/guix.texi:14814
  21480. #, no-wrap
  21481. msgid "locale definition"
  21482. msgstr ""
  21483. #. type: Plain text
  21484. #: guix-git/doc/guix.texi:14818
  21485. 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}})."
  21486. msgstr ""
  21487. #. type: Plain text
  21488. #: guix-git/doc/guix.texi:14827
  21489. 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."
  21490. msgstr ""
  21491. #. type: Plain text
  21492. #: guix-git/doc/guix.texi:14830
  21493. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  21494. msgstr ""
  21495. #. type: lisp
  21496. #: guix-git/doc/guix.texi:14835
  21497. #, no-wrap
  21498. msgid ""
  21499. "(cons (locale-definition\n"
  21500. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  21501. " %default-locale-definitions)\n"
  21502. msgstr ""
  21503. #. type: Plain text
  21504. #: guix-git/doc/guix.texi:14839
  21505. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  21506. msgstr ""
  21507. #. type: lisp
  21508. #: guix-git/doc/guix.texi:14844
  21509. #, no-wrap
  21510. msgid ""
  21511. "(list (locale-definition\n"
  21512. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  21513. " (charset \"EUC-JP\")))\n"
  21514. msgstr ""
  21515. #. type: Plain text
  21516. #: guix-git/doc/guix.texi:14853
  21517. 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})."
  21518. msgstr ""
  21519. #. type: Plain text
  21520. #: guix-git/doc/guix.texi:14856
  21521. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  21522. msgstr ""
  21523. #. type: deftp
  21524. #: guix-git/doc/guix.texi:14857
  21525. #, no-wrap
  21526. msgid "{Data Type} locale-definition"
  21527. msgstr ""
  21528. #. type: deftp
  21529. #: guix-git/doc/guix.texi:14859
  21530. msgid "This is the data type of a locale definition."
  21531. msgstr ""
  21532. #. type: table
  21533. #: guix-git/doc/guix.texi:14865
  21534. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  21535. msgstr ""
  21536. #. type: table
  21537. #: guix-git/doc/guix.texi:14869
  21538. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  21539. msgstr ""
  21540. #. type: item
  21541. #: guix-git/doc/guix.texi:14870
  21542. #, no-wrap
  21543. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  21544. msgstr ""
  21545. #. type: table
  21546. #: guix-git/doc/guix.texi:14874
  21547. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  21548. msgstr ""
  21549. #. type: defvr
  21550. #: guix-git/doc/guix.texi:14878
  21551. #, no-wrap
  21552. msgid "{Scheme Variable} %default-locale-definitions"
  21553. msgstr ""
  21554. #. type: defvr
  21555. #: guix-git/doc/guix.texi:14882
  21556. 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."
  21557. msgstr ""
  21558. #. type: cindex
  21559. #: guix-git/doc/guix.texi:14883
  21560. #, no-wrap
  21561. msgid "locale name"
  21562. msgstr ""
  21563. #. type: cindex
  21564. #: guix-git/doc/guix.texi:14884
  21565. #, no-wrap
  21566. msgid "normalized codeset in locale names"
  21567. msgstr ""
  21568. #. type: defvr
  21569. #: guix-git/doc/guix.texi:14890
  21570. 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}."
  21571. msgstr ""
  21572. #. type: subsection
  21573. #: guix-git/doc/guix.texi:14892
  21574. #, no-wrap
  21575. msgid "Locale Data Compatibility Considerations"
  21576. msgstr ""
  21577. #. type: cindex
  21578. #: guix-git/doc/guix.texi:14894
  21579. #, no-wrap
  21580. msgid "incompatibility, of locale data"
  21581. msgstr ""
  21582. #. type: Plain text
  21583. #: guix-git/doc/guix.texi:14901
  21584. 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."
  21585. msgstr ""
  21586. #. type: Plain text
  21587. #: guix-git/doc/guix.texi:14913
  21588. 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."
  21589. msgstr ""
  21590. #. type: Plain text
  21591. #: guix-git/doc/guix.texi:14918
  21592. 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."
  21593. msgstr ""
  21594. #. type: Plain text
  21595. #: guix-git/doc/guix.texi:14922
  21596. 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})."
  21597. msgstr ""
  21598. #. type: Plain text
  21599. #: guix-git/doc/guix.texi:14929
  21600. 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}:"
  21601. msgstr ""
  21602. #. type: lisp
  21603. #: guix-git/doc/guix.texi:14932
  21604. #, no-wrap
  21605. msgid ""
  21606. "(use-package-modules base)\n"
  21607. "\n"
  21608. msgstr ""
  21609. #. type: lisp
  21610. #: guix-git/doc/guix.texi:14936
  21611. #, no-wrap
  21612. msgid ""
  21613. "(operating-system\n"
  21614. " ;; @dots{}\n"
  21615. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  21616. msgstr ""
  21617. #. type: Plain text
  21618. #: guix-git/doc/guix.texi:14941
  21619. 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}."
  21620. msgstr ""
  21621. #. type: cindex
  21622. #: guix-git/doc/guix.texi:14946
  21623. #, no-wrap
  21624. msgid "system services"
  21625. msgstr ""
  21626. #. type: Plain text
  21627. #: guix-git/doc/guix.texi:14952
  21628. 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."
  21629. msgstr ""
  21630. #. type: Plain text
  21631. #: guix-git/doc/guix.texi:14959
  21632. 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:"
  21633. msgstr ""
  21634. #. type: example
  21635. #: guix-git/doc/guix.texi:14962
  21636. #, no-wrap
  21637. msgid "# herd status\n"
  21638. msgstr ""
  21639. #. type: Plain text
  21640. #: guix-git/doc/guix.texi:14967
  21641. 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:"
  21642. msgstr ""
  21643. #. type: example
  21644. #: guix-git/doc/guix.texi:14971
  21645. #, no-wrap
  21646. msgid ""
  21647. "# herd doc nscd\n"
  21648. "Run libc's name service cache daemon (nscd).\n"
  21649. "\n"
  21650. msgstr ""
  21651. #. type: example
  21652. #: guix-git/doc/guix.texi:14974
  21653. #, no-wrap
  21654. msgid ""
  21655. "# herd doc nscd action invalidate\n"
  21656. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  21657. msgstr ""
  21658. #. type: Plain text
  21659. #: guix-git/doc/guix.texi:14979
  21660. 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:"
  21661. msgstr ""
  21662. #. type: example
  21663. #: guix-git/doc/guix.texi:14986
  21664. #, no-wrap
  21665. msgid ""
  21666. "# herd stop nscd\n"
  21667. "Service nscd has been stopped.\n"
  21668. "# herd restart xorg-server\n"
  21669. "Service xorg-server has been stopped.\n"
  21670. "Service xorg-server has been started.\n"
  21671. msgstr ""
  21672. #. type: Plain text
  21673. #: guix-git/doc/guix.texi:14991
  21674. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  21675. msgstr ""
  21676. #. type: subsection
  21677. #: guix-git/doc/guix.texi:15026 guix-git/doc/guix.texi:23041
  21678. #: guix-git/doc/guix.texi:23042
  21679. #, no-wrap
  21680. msgid "File-Sharing Services"
  21681. msgstr ""
  21682. #. type: menuentry
  21683. #: guix-git/doc/guix.texi:15026
  21684. msgid "File-sharing services."
  21685. msgstr ""
  21686. #. type: Plain text
  21687. #: guix-git/doc/guix.texi:15034
  21688. 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."
  21689. msgstr ""
  21690. #. type: defvr
  21691. #: guix-git/doc/guix.texi:15035
  21692. #, no-wrap
  21693. msgid "{Scheme Variable} %base-services"
  21694. msgstr ""
  21695. #. type: defvr
  21696. #: guix-git/doc/guix.texi:15041
  21697. 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."
  21698. msgstr ""
  21699. #. type: defvr
  21700. #: guix-git/doc/guix.texi:15046
  21701. 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:"
  21702. msgstr ""
  21703. #. type: lisp
  21704. #: guix-git/doc/guix.texi:15051
  21705. #, no-wrap
  21706. msgid ""
  21707. "(append (list (service avahi-service-type)\n"
  21708. " (service openssh-service-type))\n"
  21709. " %base-services)\n"
  21710. msgstr ""
  21711. #. type: defvr
  21712. #: guix-git/doc/guix.texi:15054
  21713. #, no-wrap
  21714. msgid "{Scheme Variable} special-files-service-type"
  21715. msgstr ""
  21716. #. type: defvr
  21717. #: guix-git/doc/guix.texi:15057
  21718. 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}."
  21719. msgstr ""
  21720. #. type: defvr
  21721. #: guix-git/doc/guix.texi:15061
  21722. 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:"
  21723. msgstr ""
  21724. #. type: file{#1}
  21725. #: guix-git/doc/guix.texi:15062
  21726. #, no-wrap
  21727. msgid "/bin/sh"
  21728. msgstr ""
  21729. #. type: cindex
  21730. #: guix-git/doc/guix.texi:15063
  21731. #, no-wrap
  21732. msgid "@file{sh}, in @file{/bin}"
  21733. msgstr ""
  21734. #. type: lisp
  21735. #: guix-git/doc/guix.texi:15066
  21736. #, no-wrap
  21737. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  21738. msgstr ""
  21739. #. type: file{#1}
  21740. #: guix-git/doc/guix.texi:15068
  21741. #, no-wrap
  21742. msgid "/usr/bin/env"
  21743. msgstr ""
  21744. #. type: cindex
  21745. #: guix-git/doc/guix.texi:15069
  21746. #, no-wrap
  21747. msgid "@file{env}, in @file{/usr/bin}"
  21748. msgstr ""
  21749. #. type: defvr
  21750. #: guix-git/doc/guix.texi:15072
  21751. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  21752. msgstr ""
  21753. #. type: lisp
  21754. #: guix-git/doc/guix.texi:15076
  21755. #, no-wrap
  21756. msgid ""
  21757. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  21758. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  21759. msgstr ""
  21760. #. type: defvr
  21761. #: guix-git/doc/guix.texi:15083
  21762. 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)."
  21763. msgstr ""
  21764. #. type: deffn
  21765. #: guix-git/doc/guix.texi:15085
  21766. #, no-wrap
  21767. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  21768. msgstr ""
  21769. #. type: deffn
  21770. #: guix-git/doc/guix.texi:15087
  21771. msgid "Use @var{target} as the ``special file'' @var{file}."
  21772. msgstr ""
  21773. #. type: deffn
  21774. #: guix-git/doc/guix.texi:15091
  21775. 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:"
  21776. msgstr ""
  21777. #. type: lisp
  21778. #: guix-git/doc/guix.texi:15095
  21779. #, no-wrap
  21780. msgid ""
  21781. "(extra-special-file \"/usr/bin/env\"\n"
  21782. " (file-append coreutils \"/bin/env\"))\n"
  21783. msgstr ""
  21784. #. type: deffn
  21785. #: guix-git/doc/guix.texi:15098
  21786. #, no-wrap
  21787. msgid "{Scheme Procedure} host-name-service @var{name}"
  21788. msgstr ""
  21789. #. type: deffn
  21790. #: guix-git/doc/guix.texi:15100
  21791. msgid "Return a service that sets the host name to @var{name}."
  21792. msgstr ""
  21793. #. type: defvr
  21794. #: guix-git/doc/guix.texi:15102
  21795. #, no-wrap
  21796. msgid "{Scheme Variable} console-font-service-type"
  21797. msgstr ""
  21798. #. type: defvr
  21799. #: guix-git/doc/guix.texi:15107
  21800. 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:"
  21801. msgstr ""
  21802. #. type: lisp
  21803. #: guix-git/doc/guix.texi:15116
  21804. #, no-wrap
  21805. msgid ""
  21806. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  21807. " (\"tty2\" . ,(file-append\n"
  21808. " font-tamzen\n"
  21809. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  21810. " (\"tty3\" . ,(file-append\n"
  21811. " font-terminus\n"
  21812. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  21813. msgstr ""
  21814. #. type: deffn
  21815. #: guix-git/doc/guix.texi:15119
  21816. #, no-wrap
  21817. msgid "{Scheme Procedure} login-service @var{config}"
  21818. msgstr ""
  21819. #. type: deffn
  21820. #: guix-git/doc/guix.texi:15123
  21821. 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."
  21822. msgstr ""
  21823. #. type: deftp
  21824. #: guix-git/doc/guix.texi:15125
  21825. #, no-wrap
  21826. msgid "{Data Type} login-configuration"
  21827. msgstr ""
  21828. #. type: deftp
  21829. #: guix-git/doc/guix.texi:15127
  21830. msgid "This is the data type representing the configuration of login."
  21831. msgstr ""
  21832. #. type: code{#1}
  21833. #: guix-git/doc/guix.texi:15130
  21834. #, no-wrap
  21835. msgid "motd"
  21836. msgstr ""
  21837. #. type: cindex
  21838. #: guix-git/doc/guix.texi:15131
  21839. #, no-wrap
  21840. msgid "message of the day"
  21841. msgstr ""
  21842. #. type: table
  21843. #: guix-git/doc/guix.texi:15133
  21844. msgid "A file-like object containing the ``message of the day''."
  21845. msgstr ""
  21846. #. type: item
  21847. #: guix-git/doc/guix.texi:15134 guix-git/doc/guix.texi:18130
  21848. #, no-wrap
  21849. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  21850. msgstr ""
  21851. #. type: table
  21852. #: guix-git/doc/guix.texi:15137
  21853. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  21854. msgstr ""
  21855. #. type: deffn
  21856. #: guix-git/doc/guix.texi:15141
  21857. #, no-wrap
  21858. msgid "{Scheme Procedure} mingetty-service @var{config}"
  21859. msgstr ""
  21860. #. type: deffn
  21861. #: guix-git/doc/guix.texi:15145
  21862. 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."
  21863. msgstr ""
  21864. #. type: deftp
  21865. #: guix-git/doc/guix.texi:15147
  21866. #, no-wrap
  21867. msgid "{Data Type} mingetty-configuration"
  21868. msgstr ""
  21869. #. type: deftp
  21870. #: guix-git/doc/guix.texi:15150
  21871. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  21872. msgstr ""
  21873. #. type: code{#1}
  21874. #: guix-git/doc/guix.texi:15153 guix-git/doc/guix.texi:15192
  21875. #: guix-git/doc/guix.texi:32192
  21876. #, no-wrap
  21877. msgid "tty"
  21878. msgstr ""
  21879. #. type: table
  21880. #: guix-git/doc/guix.texi:15155
  21881. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  21882. msgstr ""
  21883. #. type: item
  21884. #: guix-git/doc/guix.texi:15156 guix-git/doc/guix.texi:15221
  21885. #: guix-git/doc/guix.texi:15380
  21886. #, no-wrap
  21887. msgid "@code{auto-login} (default: @code{#f})"
  21888. msgstr ""
  21889. #. type: table
  21890. #: guix-git/doc/guix.texi:15160
  21891. 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."
  21892. msgstr ""
  21893. #. type: item
  21894. #: guix-git/doc/guix.texi:15161
  21895. #, no-wrap
  21896. msgid "@code{login-program} (default: @code{#f})"
  21897. msgstr ""
  21898. #. type: table
  21899. #: guix-git/doc/guix.texi:15165
  21900. 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."
  21901. msgstr ""
  21902. #. type: item
  21903. #: guix-git/doc/guix.texi:15166
  21904. #, no-wrap
  21905. msgid "@code{login-pause?} (default: @code{#f})"
  21906. msgstr ""
  21907. #. type: table
  21908. #: guix-git/doc/guix.texi:15169
  21909. 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."
  21910. msgstr ""
  21911. #. type: item
  21912. #: guix-git/doc/guix.texi:15170
  21913. #, no-wrap
  21914. msgid "@code{clear-on-logout?} (default: @code{#t})"
  21915. msgstr ""
  21916. #. type: table
  21917. #: guix-git/doc/guix.texi:15172
  21918. msgid "When set to @code{#t}, the screen will be cleared after logout."
  21919. msgstr ""
  21920. #. type: item
  21921. #: guix-git/doc/guix.texi:15173
  21922. #, no-wrap
  21923. msgid "@code{mingetty} (default: @var{mingetty})"
  21924. msgstr ""
  21925. #. type: table
  21926. #: guix-git/doc/guix.texi:15175
  21927. msgid "The Mingetty package to use."
  21928. msgstr ""
  21929. #. type: deffn
  21930. #: guix-git/doc/guix.texi:15179
  21931. #, no-wrap
  21932. msgid "{Scheme Procedure} agetty-service @var{config}"
  21933. msgstr ""
  21934. #. type: deffn
  21935. #: guix-git/doc/guix.texi:15183
  21936. 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."
  21937. msgstr ""
  21938. #. type: deftp
  21939. #: guix-git/doc/guix.texi:15185
  21940. #, no-wrap
  21941. msgid "{Data Type} agetty-configuration"
  21942. msgstr ""
  21943. #. type: deftp
  21944. #: guix-git/doc/guix.texi:15189
  21945. 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."
  21946. msgstr ""
  21947. #. type: table
  21948. #: guix-git/doc/guix.texi:15196
  21949. 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."
  21950. msgstr ""
  21951. #. type: table
  21952. #: guix-git/doc/guix.texi:15200
  21953. 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."
  21954. msgstr ""
  21955. #. type: table
  21956. #: guix-git/doc/guix.texi:15204
  21957. 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."
  21958. msgstr ""
  21959. #. type: table
  21960. #: guix-git/doc/guix.texi:15208
  21961. 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."
  21962. msgstr ""
  21963. #. type: item
  21964. #: guix-git/doc/guix.texi:15209 guix-git/doc/guix.texi:32353
  21965. #, no-wrap
  21966. msgid "@code{baud-rate} (default: @code{#f})"
  21967. msgstr ""
  21968. #. type: table
  21969. #: guix-git/doc/guix.texi:15212
  21970. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  21971. msgstr ""
  21972. #. type: item
  21973. #: guix-git/doc/guix.texi:15213
  21974. #, no-wrap
  21975. msgid "@code{term} (default: @code{#f})"
  21976. msgstr ""
  21977. #. type: table
  21978. #: guix-git/doc/guix.texi:15216
  21979. msgid "A string containing the value used for the @env{TERM} environment variable."
  21980. msgstr ""
  21981. #. type: item
  21982. #: guix-git/doc/guix.texi:15217
  21983. #, no-wrap
  21984. msgid "@code{eight-bits?} (default: @code{#f})"
  21985. msgstr ""
  21986. #. type: table
  21987. #: guix-git/doc/guix.texi:15220
  21988. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  21989. msgstr ""
  21990. #. type: table
  21991. #: guix-git/doc/guix.texi:15224 guix-git/doc/guix.texi:15383
  21992. 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."
  21993. msgstr ""
  21994. #. type: item
  21995. #: guix-git/doc/guix.texi:15225
  21996. #, no-wrap
  21997. msgid "@code{no-reset?} (default: @code{#f})"
  21998. msgstr ""
  21999. #. type: table
  22000. #: guix-git/doc/guix.texi:15227
  22001. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  22002. msgstr ""
  22003. #. type: item
  22004. #: guix-git/doc/guix.texi:15228
  22005. #, no-wrap
  22006. msgid "@code{host} (default: @code{#f})"
  22007. msgstr ""
  22008. #. type: table
  22009. #: guix-git/doc/guix.texi:15231
  22010. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  22011. msgstr ""
  22012. #. type: item
  22013. #: guix-git/doc/guix.texi:15232
  22014. #, no-wrap
  22015. msgid "@code{remote?} (default: @code{#f})"
  22016. msgstr ""
  22017. #. type: table
  22018. #: guix-git/doc/guix.texi:15236
  22019. 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}."
  22020. msgstr ""
  22021. #. type: item
  22022. #: guix-git/doc/guix.texi:15237
  22023. #, no-wrap
  22024. msgid "@code{flow-control?} (default: @code{#f})"
  22025. msgstr ""
  22026. #. type: table
  22027. #: guix-git/doc/guix.texi:15239
  22028. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  22029. msgstr ""
  22030. #. type: item
  22031. #: guix-git/doc/guix.texi:15240
  22032. #, no-wrap
  22033. msgid "@code{no-issue?} (default: @code{#f})"
  22034. msgstr ""
  22035. #. type: table
  22036. #: guix-git/doc/guix.texi:15243
  22037. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  22038. msgstr ""
  22039. #. type: item
  22040. #: guix-git/doc/guix.texi:15244
  22041. #, no-wrap
  22042. msgid "@code{init-string} (default: @code{#f})"
  22043. msgstr ""
  22044. #. type: table
  22045. #: guix-git/doc/guix.texi:15247
  22046. 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."
  22047. msgstr ""
  22048. #. type: item
  22049. #: guix-git/doc/guix.texi:15248
  22050. #, no-wrap
  22051. msgid "@code{no-clear?} (default: @code{#f})"
  22052. msgstr ""
  22053. #. type: table
  22054. #: guix-git/doc/guix.texi:15251
  22055. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  22056. msgstr ""
  22057. #. type: item
  22058. #: guix-git/doc/guix.texi:15252
  22059. #, no-wrap
  22060. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  22061. msgstr ""
  22062. #. type: table
  22063. #: guix-git/doc/guix.texi:15256
  22064. 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."
  22065. msgstr ""
  22066. #. type: item
  22067. #: guix-git/doc/guix.texi:15257
  22068. #, no-wrap
  22069. msgid "@code{local-line} (default: @code{#f})"
  22070. msgstr ""
  22071. #. type: table
  22072. #: guix-git/doc/guix.texi:15261
  22073. 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}."
  22074. msgstr ""
  22075. #. type: item
  22076. #: guix-git/doc/guix.texi:15262
  22077. #, no-wrap
  22078. msgid "@code{extract-baud?} (default: @code{#f})"
  22079. msgstr ""
  22080. #. type: table
  22081. #: guix-git/doc/guix.texi:15265
  22082. 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."
  22083. msgstr ""
  22084. #. type: item
  22085. #: guix-git/doc/guix.texi:15266
  22086. #, no-wrap
  22087. msgid "@code{skip-login?} (default: @code{#f})"
  22088. msgstr ""
  22089. #. type: table
  22090. #: guix-git/doc/guix.texi:15270
  22091. 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."
  22092. msgstr ""
  22093. #. type: item
  22094. #: guix-git/doc/guix.texi:15271
  22095. #, no-wrap
  22096. msgid "@code{no-newline?} (default: @code{#f})"
  22097. msgstr ""
  22098. #. type: table
  22099. #: guix-git/doc/guix.texi:15274
  22100. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  22101. msgstr ""
  22102. #. type: item
  22103. #: guix-git/doc/guix.texi:15276
  22104. #, no-wrap
  22105. msgid "@code{login-options} (default: @code{#f})"
  22106. msgstr ""
  22107. #. type: table
  22108. #: guix-git/doc/guix.texi:15281
  22109. 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."
  22110. msgstr ""
  22111. #. type: item
  22112. #: guix-git/doc/guix.texi:15282
  22113. #, no-wrap
  22114. msgid "@code{login-pause} (default: @code{#f})"
  22115. msgstr ""
  22116. #. type: table
  22117. #: guix-git/doc/guix.texi:15286
  22118. 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."
  22119. msgstr ""
  22120. #. type: item
  22121. #: guix-git/doc/guix.texi:15287
  22122. #, no-wrap
  22123. msgid "@code{chroot} (default: @code{#f})"
  22124. msgstr ""
  22125. #. type: table
  22126. #: guix-git/doc/guix.texi:15290
  22127. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  22128. msgstr ""
  22129. #. type: item
  22130. #: guix-git/doc/guix.texi:15291
  22131. #, no-wrap
  22132. msgid "@code{hangup?} (default: @code{#f})"
  22133. msgstr ""
  22134. #. type: table
  22135. #: guix-git/doc/guix.texi:15294
  22136. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  22137. msgstr ""
  22138. #. type: item
  22139. #: guix-git/doc/guix.texi:15295
  22140. #, no-wrap
  22141. msgid "@code{keep-baud?} (default: @code{#f})"
  22142. msgstr ""
  22143. #. type: table
  22144. #: guix-git/doc/guix.texi:15299
  22145. 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."
  22146. msgstr ""
  22147. #. type: item
  22148. #: guix-git/doc/guix.texi:15300
  22149. #, no-wrap
  22150. msgid "@code{timeout} (default: @code{#f})"
  22151. msgstr ""
  22152. #. type: table
  22153. #: guix-git/doc/guix.texi:15303
  22154. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  22155. msgstr ""
  22156. #. type: item
  22157. #: guix-git/doc/guix.texi:15304
  22158. #, no-wrap
  22159. msgid "@code{detect-case?} (default: @code{#f})"
  22160. msgstr ""
  22161. #. type: table
  22162. #: guix-git/doc/guix.texi:15310
  22163. 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."
  22164. msgstr ""
  22165. #. type: item
  22166. #: guix-git/doc/guix.texi:15311
  22167. #, no-wrap
  22168. msgid "@code{wait-cr?} (default: @code{#f})"
  22169. msgstr ""
  22170. #. type: table
  22171. #: guix-git/doc/guix.texi:15316
  22172. 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."
  22173. msgstr ""
  22174. #. type: item
  22175. #: guix-git/doc/guix.texi:15317
  22176. #, no-wrap
  22177. msgid "@code{no-hints?} (default: @code{#f})"
  22178. msgstr ""
  22179. #. type: table
  22180. #: guix-git/doc/guix.texi:15320
  22181. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  22182. msgstr ""
  22183. #. type: item
  22184. #: guix-git/doc/guix.texi:15321
  22185. #, no-wrap
  22186. msgid "@code{no-hostname?} (default: @code{#f})"
  22187. msgstr ""
  22188. #. type: table
  22189. #: guix-git/doc/guix.texi:15324
  22190. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  22191. msgstr ""
  22192. #. type: item
  22193. #: guix-git/doc/guix.texi:15325
  22194. #, no-wrap
  22195. msgid "@code{long-hostname?} (default: @code{#f})"
  22196. msgstr ""
  22197. #. type: table
  22198. #: guix-git/doc/guix.texi:15329
  22199. 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."
  22200. msgstr ""
  22201. #. type: item
  22202. #: guix-git/doc/guix.texi:15330
  22203. #, no-wrap
  22204. msgid "@code{erase-characters} (default: @code{#f})"
  22205. msgstr ""
  22206. #. type: table
  22207. #: guix-git/doc/guix.texi:15333
  22208. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  22209. msgstr ""
  22210. #. type: item
  22211. #: guix-git/doc/guix.texi:15334
  22212. #, no-wrap
  22213. msgid "@code{kill-characters} (default: @code{#f})"
  22214. msgstr ""
  22215. #. type: table
  22216. #: guix-git/doc/guix.texi:15338
  22217. 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."
  22218. msgstr ""
  22219. #. type: item
  22220. #: guix-git/doc/guix.texi:15339
  22221. #, no-wrap
  22222. msgid "@code{chdir} (default: @code{#f})"
  22223. msgstr ""
  22224. #. type: table
  22225. #: guix-git/doc/guix.texi:15342
  22226. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  22227. msgstr ""
  22228. #. type: item
  22229. #: guix-git/doc/guix.texi:15343
  22230. #, no-wrap
  22231. msgid "@code{delay} (default: @code{#f})"
  22232. msgstr ""
  22233. #. type: table
  22234. #: guix-git/doc/guix.texi:15346
  22235. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  22236. msgstr ""
  22237. #. type: item
  22238. #: guix-git/doc/guix.texi:15347
  22239. #, no-wrap
  22240. msgid "@code{nice} (default: @code{#f})"
  22241. msgstr ""
  22242. #. type: table
  22243. #: guix-git/doc/guix.texi:15350
  22244. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  22245. msgstr ""
  22246. #. type: item
  22247. #: guix-git/doc/guix.texi:15351 guix-git/doc/guix.texi:15639
  22248. #: guix-git/doc/guix.texi:16510 guix-git/doc/guix.texi:24024
  22249. #: guix-git/doc/guix.texi:25500 guix-git/doc/guix.texi:27907
  22250. #: guix-git/doc/guix.texi:28702 guix-git/doc/guix.texi:30402
  22251. #: guix-git/doc/guix.texi:32683
  22252. #, no-wrap
  22253. msgid "@code{extra-options} (default: @code{'()})"
  22254. msgstr ""
  22255. #. type: table
  22256. #: guix-git/doc/guix.texi:15354
  22257. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  22258. msgstr ""
  22259. #. type: deffn
  22260. #: guix-git/doc/guix.texi:15358
  22261. #, no-wrap
  22262. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  22263. msgstr ""
  22264. #. type: deffn
  22265. #: guix-git/doc/guix.texi:15362
  22266. 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."
  22267. msgstr ""
  22268. #. type: deftp
  22269. #: guix-git/doc/guix.texi:15364
  22270. #, no-wrap
  22271. msgid "{Data Type} kmscon-configuration"
  22272. msgstr ""
  22273. #. type: deftp
  22274. #: guix-git/doc/guix.texi:15367
  22275. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  22276. msgstr ""
  22277. #. type: code{#1}
  22278. #: guix-git/doc/guix.texi:15370
  22279. #, no-wrap
  22280. msgid "virtual-terminal"
  22281. msgstr ""
  22282. #. type: table
  22283. #: guix-git/doc/guix.texi:15372
  22284. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  22285. msgstr ""
  22286. #. type: item
  22287. #: guix-git/doc/guix.texi:15373
  22288. #, no-wrap
  22289. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  22290. msgstr ""
  22291. #. type: table
  22292. #: guix-git/doc/guix.texi:15376
  22293. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  22294. msgstr ""
  22295. #. type: item
  22296. #: guix-git/doc/guix.texi:15377
  22297. #, no-wrap
  22298. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  22299. msgstr ""
  22300. #. type: table
  22301. #: guix-git/doc/guix.texi:15379
  22302. msgid "A list of arguments to pass to @command{login}."
  22303. msgstr ""
  22304. #. type: item
  22305. #: guix-git/doc/guix.texi:15384
  22306. #, no-wrap
  22307. msgid "@code{hardware-acceleration?} (default: #f)"
  22308. msgstr ""
  22309. #. type: table
  22310. #: guix-git/doc/guix.texi:15386
  22311. msgid "Whether to use hardware acceleration."
  22312. msgstr ""
  22313. #. type: item
  22314. #: guix-git/doc/guix.texi:15387
  22315. #, no-wrap
  22316. msgid "@code{font-engine} (default: @code{\"pango\"})"
  22317. msgstr ""
  22318. #. type: table
  22319. #: guix-git/doc/guix.texi:15389
  22320. msgid "Font engine used in Kmscon."
  22321. msgstr ""
  22322. #. type: item
  22323. #: guix-git/doc/guix.texi:15390
  22324. #, no-wrap
  22325. msgid "@code{font-size} (default: @code{12})"
  22326. msgstr ""
  22327. #. type: table
  22328. #: guix-git/doc/guix.texi:15392
  22329. msgid "Font size used in Kmscon."
  22330. msgstr ""
  22331. #. type: table
  22332. #: guix-git/doc/guix.texi:15396
  22333. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  22334. msgstr ""
  22335. #. type: table
  22336. #: guix-git/doc/guix.texi:15400
  22337. 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."
  22338. msgstr ""
  22339. #. type: item
  22340. #: guix-git/doc/guix.texi:15401
  22341. #, no-wrap
  22342. msgid "@code{kmscon} (default: @var{kmscon})"
  22343. msgstr ""
  22344. #. type: table
  22345. #: guix-git/doc/guix.texi:15403
  22346. msgid "The Kmscon package to use."
  22347. msgstr ""
  22348. #. type: cindex
  22349. #: guix-git/doc/guix.texi:15407
  22350. #, no-wrap
  22351. msgid "name service cache daemon"
  22352. msgstr ""
  22353. #. type: cindex
  22354. #: guix-git/doc/guix.texi:15408
  22355. #, no-wrap
  22356. msgid "nscd"
  22357. msgstr ""
  22358. #. type: deffn
  22359. #: guix-git/doc/guix.texi:15409
  22360. #, no-wrap
  22361. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  22362. msgstr ""
  22363. #. type: deffn
  22364. #: guix-git/doc/guix.texi:15414
  22365. 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."
  22366. msgstr ""
  22367. #. type: deffn
  22368. #: guix-git/doc/guix.texi:15416
  22369. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  22370. msgstr ""
  22371. #. type: item
  22372. #: guix-git/doc/guix.texi:15418
  22373. #, no-wrap
  22374. msgid "invalidate"
  22375. msgstr ""
  22376. #. type: cindex
  22377. #: guix-git/doc/guix.texi:15419
  22378. #, no-wrap
  22379. msgid "cache invalidation, nscd"
  22380. msgstr ""
  22381. #. type: cindex
  22382. #: guix-git/doc/guix.texi:15420
  22383. #, no-wrap
  22384. msgid "nscd, cache invalidation"
  22385. msgstr ""
  22386. #. type: table
  22387. #: guix-git/doc/guix.texi:15422
  22388. msgid "This invalidate the given cache. For instance, running:"
  22389. msgstr ""
  22390. #. type: example
  22391. #: guix-git/doc/guix.texi:15425
  22392. #, no-wrap
  22393. msgid "herd invalidate nscd hosts\n"
  22394. msgstr ""
  22395. #. type: table
  22396. #: guix-git/doc/guix.texi:15429
  22397. msgid "invalidates the host name lookup cache of nscd."
  22398. msgstr ""
  22399. #. type: item
  22400. #: guix-git/doc/guix.texi:15430
  22401. #, no-wrap
  22402. msgid "statistics"
  22403. msgstr ""
  22404. #. type: table
  22405. #: guix-git/doc/guix.texi:15433
  22406. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  22407. msgstr ""
  22408. #. type: defvr
  22409. #: guix-git/doc/guix.texi:15437
  22410. #, no-wrap
  22411. msgid "{Scheme Variable} %nscd-default-configuration"
  22412. msgstr ""
  22413. #. type: defvr
  22414. #: guix-git/doc/guix.texi:15441
  22415. 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."
  22416. msgstr ""
  22417. #. type: deftp
  22418. #: guix-git/doc/guix.texi:15443
  22419. #, no-wrap
  22420. msgid "{Data Type} nscd-configuration"
  22421. msgstr ""
  22422. #. type: deftp
  22423. #: guix-git/doc/guix.texi:15446
  22424. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  22425. msgstr ""
  22426. #. type: item
  22427. #: guix-git/doc/guix.texi:15449
  22428. #, no-wrap
  22429. msgid "@code{name-services} (default: @code{'()})"
  22430. msgstr ""
  22431. #. type: table
  22432. #: guix-git/doc/guix.texi:15452
  22433. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  22434. msgstr ""
  22435. #. type: item
  22436. #: guix-git/doc/guix.texi:15453
  22437. #, no-wrap
  22438. msgid "@code{glibc} (default: @var{glibc})"
  22439. msgstr ""
  22440. #. type: table
  22441. #: guix-git/doc/guix.texi:15456
  22442. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  22443. msgstr ""
  22444. #. type: item
  22445. #: guix-git/doc/guix.texi:15457
  22446. #, no-wrap
  22447. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  22448. msgstr ""
  22449. #. type: table
  22450. #: guix-git/doc/guix.texi:15460
  22451. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  22452. msgstr ""
  22453. #. type: item
  22454. #: guix-git/doc/guix.texi:15461
  22455. #, no-wrap
  22456. msgid "@code{debug-level} (default: @code{0})"
  22457. msgstr ""
  22458. #. type: table
  22459. #: guix-git/doc/guix.texi:15464
  22460. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  22461. msgstr ""
  22462. #. type: item
  22463. #: guix-git/doc/guix.texi:15465
  22464. #, no-wrap
  22465. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  22466. msgstr ""
  22467. #. type: table
  22468. #: guix-git/doc/guix.texi:15468
  22469. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  22470. msgstr ""
  22471. #. type: deftp
  22472. #: guix-git/doc/guix.texi:15472
  22473. #, no-wrap
  22474. msgid "{Data Type} nscd-cache"
  22475. msgstr ""
  22476. #. type: deftp
  22477. #: guix-git/doc/guix.texi:15474
  22478. msgid "Data type representing a cache database of nscd and its parameters."
  22479. msgstr ""
  22480. #. type: cindex
  22481. #: guix-git/doc/guix.texi:15477 guix-git/doc/guix.texi:19914
  22482. #, no-wrap
  22483. msgid "database"
  22484. msgstr ""
  22485. #. type: table
  22486. #: guix-git/doc/guix.texi:15482
  22487. 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})."
  22488. msgstr ""
  22489. #. type: code{#1}
  22490. #: guix-git/doc/guix.texi:15483
  22491. #, no-wrap
  22492. msgid "positive-time-to-live"
  22493. msgstr ""
  22494. #. type: itemx
  22495. #: guix-git/doc/guix.texi:15484
  22496. #, no-wrap
  22497. msgid "@code{negative-time-to-live} (default: @code{20})"
  22498. msgstr ""
  22499. #. type: table
  22500. #: guix-git/doc/guix.texi:15487
  22501. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  22502. msgstr ""
  22503. #. type: item
  22504. #: guix-git/doc/guix.texi:15488
  22505. #, no-wrap
  22506. msgid "@code{check-files?} (default: @code{#t})"
  22507. msgstr ""
  22508. #. type: table
  22509. #: guix-git/doc/guix.texi:15491
  22510. msgid "Whether to check for updates of the files corresponding to @var{database}."
  22511. msgstr ""
  22512. #. type: table
  22513. #: guix-git/doc/guix.texi:15495
  22514. 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."
  22515. msgstr ""
  22516. #. type: item
  22517. #: guix-git/doc/guix.texi:15496
  22518. #, no-wrap
  22519. msgid "@code{persistent?} (default: @code{#t})"
  22520. msgstr ""
  22521. #. type: table
  22522. #: guix-git/doc/guix.texi:15498
  22523. msgid "Whether the cache should be stored persistently on disk."
  22524. msgstr ""
  22525. #. type: item
  22526. #: guix-git/doc/guix.texi:15499
  22527. #, no-wrap
  22528. msgid "@code{shared?} (default: @code{#t})"
  22529. msgstr ""
  22530. #. type: table
  22531. #: guix-git/doc/guix.texi:15501
  22532. msgid "Whether the cache should be shared among users."
  22533. msgstr ""
  22534. #. type: item
  22535. #: guix-git/doc/guix.texi:15502
  22536. #, no-wrap
  22537. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  22538. msgstr ""
  22539. #. type: table
  22540. #: guix-git/doc/guix.texi:15504
  22541. msgid "Maximum size in bytes of the database cache."
  22542. msgstr ""
  22543. #. type: defvr
  22544. #: guix-git/doc/guix.texi:15511
  22545. #, no-wrap
  22546. msgid "{Scheme Variable} %nscd-default-caches"
  22547. msgstr ""
  22548. #. type: defvr
  22549. #: guix-git/doc/guix.texi:15514
  22550. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  22551. msgstr ""
  22552. #. type: defvr
  22553. #: guix-git/doc/guix.texi:15520
  22554. 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."
  22555. msgstr ""
  22556. #. type: anchor{#1}
  22557. #: guix-git/doc/guix.texi:15523
  22558. msgid "syslog-configuration-type"
  22559. msgstr ""
  22560. #. type: cindex
  22561. #: guix-git/doc/guix.texi:15523 guix-git/doc/guix.texi:15539
  22562. #, no-wrap
  22563. msgid "syslog"
  22564. msgstr ""
  22565. #. type: cindex
  22566. #: guix-git/doc/guix.texi:15524 guix-git/doc/guix.texi:16110
  22567. #, no-wrap
  22568. msgid "logging"
  22569. msgstr ""
  22570. #. type: deftp
  22571. #: guix-git/doc/guix.texi:15525
  22572. #, no-wrap
  22573. msgid "{Data Type} syslog-configuration"
  22574. msgstr ""
  22575. #. type: deftp
  22576. #: guix-git/doc/guix.texi:15527
  22577. msgid "This data type represents the configuration of the syslog daemon."
  22578. msgstr ""
  22579. #. type: item
  22580. #: guix-git/doc/guix.texi:15529
  22581. #, no-wrap
  22582. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  22583. msgstr ""
  22584. #. type: table
  22585. #: guix-git/doc/guix.texi:15531
  22586. msgid "The syslog daemon to use."
  22587. msgstr ""
  22588. #. type: item
  22589. #: guix-git/doc/guix.texi:15532
  22590. #, no-wrap
  22591. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  22592. msgstr ""
  22593. #. type: table
  22594. #: guix-git/doc/guix.texi:15534
  22595. msgid "The syslog configuration file to use."
  22596. msgstr ""
  22597. #. type: anchor{#1}
  22598. #: guix-git/doc/guix.texi:15539
  22599. msgid "syslog-service"
  22600. msgstr ""
  22601. #. type: deffn
  22602. #: guix-git/doc/guix.texi:15540
  22603. #, no-wrap
  22604. msgid "{Scheme Procedure} syslog-service @var{config}"
  22605. msgstr ""
  22606. #. type: deffn
  22607. #: guix-git/doc/guix.texi:15542
  22608. msgid "Return a service that runs a syslog daemon according to @var{config}."
  22609. msgstr ""
  22610. #. type: deffn
  22611. #: guix-git/doc/guix.texi:15545
  22612. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  22613. msgstr ""
  22614. #. type: defvr
  22615. #: guix-git/doc/guix.texi:15547
  22616. #, no-wrap
  22617. msgid "{Scheme Variable} guix-service-type"
  22618. msgstr ""
  22619. #. type: defvr
  22620. #: guix-git/doc/guix.texi:15551
  22621. 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."
  22622. msgstr ""
  22623. #. type: anchor{#1}
  22624. #: guix-git/doc/guix.texi:15554
  22625. msgid "guix-configuration-type"
  22626. msgstr ""
  22627. #. type: deftp
  22628. #: guix-git/doc/guix.texi:15554
  22629. #, no-wrap
  22630. msgid "{Data Type} guix-configuration"
  22631. msgstr ""
  22632. #. type: deftp
  22633. #: guix-git/doc/guix.texi:15557
  22634. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  22635. msgstr ""
  22636. #. type: item
  22637. #: guix-git/doc/guix.texi:15559
  22638. #, no-wrap
  22639. msgid "@code{guix} (default: @var{guix})"
  22640. msgstr ""
  22641. #. type: table
  22642. #: guix-git/doc/guix.texi:15561 guix-git/doc/guix.texi:15838
  22643. msgid "The Guix package to use."
  22644. msgstr ""
  22645. #. type: item
  22646. #: guix-git/doc/guix.texi:15562
  22647. #, no-wrap
  22648. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  22649. msgstr ""
  22650. #. type: table
  22651. #: guix-git/doc/guix.texi:15564
  22652. msgid "Name of the group for build user accounts."
  22653. msgstr ""
  22654. #. type: item
  22655. #: guix-git/doc/guix.texi:15565
  22656. #, no-wrap
  22657. msgid "@code{build-accounts} (default: @code{10})"
  22658. msgstr ""
  22659. #. type: table
  22660. #: guix-git/doc/guix.texi:15567
  22661. msgid "Number of build user accounts to create."
  22662. msgstr ""
  22663. #. type: item
  22664. #: guix-git/doc/guix.texi:15568
  22665. #, no-wrap
  22666. msgid "@code{authorize-key?} (default: @code{#t})"
  22667. msgstr ""
  22668. #. type: table
  22669. #: guix-git/doc/guix.texi:15575
  22670. 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})."
  22671. msgstr ""
  22672. #. type: table
  22673. #: guix-git/doc/guix.texi:15581
  22674. 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."
  22675. msgstr ""
  22676. #. type: quotation
  22677. #: guix-git/doc/guix.texi:15588
  22678. 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}."
  22679. msgstr ""
  22680. #. type: vindex
  22681. #: guix-git/doc/guix.texi:15590
  22682. #, no-wrap
  22683. msgid "%default-authorized-guix-keys"
  22684. msgstr ""
  22685. #. type: item
  22686. #: guix-git/doc/guix.texi:15591
  22687. #, no-wrap
  22688. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  22689. msgstr ""
  22690. #. type: table
  22691. #: guix-git/doc/guix.texi:15597
  22692. 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."
  22693. msgstr ""
  22694. #. type: item
  22695. #: guix-git/doc/guix.texi:15598
  22696. #, no-wrap
  22697. msgid "@code{use-substitutes?} (default: @code{#t})"
  22698. msgstr ""
  22699. #. type: table
  22700. #: guix-git/doc/guix.texi:15600
  22701. msgid "Whether to use substitutes."
  22702. msgstr ""
  22703. #. type: item
  22704. #: guix-git/doc/guix.texi:15601 guix-git/doc/guix.texi:28004
  22705. #, no-wrap
  22706. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  22707. msgstr ""
  22708. #. type: table
  22709. #: guix-git/doc/guix.texi:15603 guix-git/doc/guix.texi:28006
  22710. msgid "The list of URLs where to look for substitutes by default."
  22711. msgstr ""
  22712. #. type: table
  22713. #: guix-git/doc/guix.texi:15610
  22714. 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:"
  22715. msgstr ""
  22716. #. type: lisp
  22717. #: guix-git/doc/guix.texi:15619
  22718. #, no-wrap
  22719. msgid ""
  22720. "(guix-configuration\n"
  22721. " (substitute-urls\n"
  22722. " (append (list \"https://guix.example.org\")\n"
  22723. " %default-substitute-urls))\n"
  22724. " (authorized-keys\n"
  22725. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  22726. " %default-authorized-guix-keys)))\n"
  22727. msgstr ""
  22728. #. type: table
  22729. #: guix-git/doc/guix.texi:15624
  22730. 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."
  22731. msgstr ""
  22732. #. type: item
  22733. #: guix-git/doc/guix.texi:15625
  22734. #, no-wrap
  22735. msgid "@code{max-silent-time} (default: @code{0})"
  22736. msgstr ""
  22737. #. type: itemx
  22738. #: guix-git/doc/guix.texi:15626
  22739. #, no-wrap
  22740. msgid "@code{timeout} (default: @code{0})"
  22741. msgstr ""
  22742. #. type: table
  22743. #: guix-git/doc/guix.texi:15630
  22744. 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."
  22745. msgstr ""
  22746. #. type: item
  22747. #: guix-git/doc/guix.texi:15631
  22748. #, no-wrap
  22749. msgid "@code{log-compression} (default: @code{'bzip2})"
  22750. msgstr ""
  22751. #. type: table
  22752. #: guix-git/doc/guix.texi:15634
  22753. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  22754. msgstr ""
  22755. #. type: item
  22756. #: guix-git/doc/guix.texi:15635
  22757. #, no-wrap
  22758. msgid "@code{discover?} (default: @code{#f})"
  22759. msgstr ""
  22760. #. type: table
  22761. #: guix-git/doc/guix.texi:15641
  22762. msgid "List of extra command-line options for @command{guix-daemon}."
  22763. msgstr ""
  22764. #. type: item
  22765. #: guix-git/doc/guix.texi:15642
  22766. #, no-wrap
  22767. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  22768. msgstr ""
  22769. #. type: table
  22770. #: guix-git/doc/guix.texi:15645
  22771. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  22772. msgstr ""
  22773. #. type: cindex
  22774. #: guix-git/doc/guix.texi:15646
  22775. #, no-wrap
  22776. msgid "HTTP proxy, for @code{guix-daemon}"
  22777. msgstr ""
  22778. #. type: cindex
  22779. #: guix-git/doc/guix.texi:15647
  22780. #, no-wrap
  22781. msgid "proxy, for @code{guix-daemon} HTTP access"
  22782. msgstr ""
  22783. #. type: item
  22784. #: guix-git/doc/guix.texi:15648
  22785. #, no-wrap
  22786. msgid "@code{http-proxy} (default: @code{#f})"
  22787. msgstr ""
  22788. #. type: table
  22789. #: guix-git/doc/guix.texi:15651
  22790. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  22791. msgstr ""
  22792. #. type: table
  22793. #: guix-git/doc/guix.texi:15654
  22794. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  22795. msgstr ""
  22796. #. type: example
  22797. #: guix-git/doc/guix.texi:15657
  22798. #, no-wrap
  22799. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  22800. msgstr ""
  22801. #. type: table
  22802. #: guix-git/doc/guix.texi:15660
  22803. msgid "To clear the proxy settings, run:"
  22804. msgstr ""
  22805. #. type: example
  22806. #: guix-git/doc/guix.texi:15663
  22807. #, no-wrap
  22808. msgid "herd set-http-proxy guix-daemon\n"
  22809. msgstr ""
  22810. #. type: item
  22811. #: guix-git/doc/guix.texi:15665
  22812. #, no-wrap
  22813. msgid "@code{tmpdir} (default: @code{#f})"
  22814. msgstr ""
  22815. #. type: table
  22816. #: guix-git/doc/guix.texi:15667
  22817. msgid "A directory path where the @command{guix-daemon} will perform builds."
  22818. msgstr ""
  22819. #. type: deffn
  22820. #: guix-git/doc/guix.texi:15671
  22821. #, no-wrap
  22822. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  22823. msgstr ""
  22824. #. type: deffn
  22825. #: guix-git/doc/guix.texi:15677
  22826. 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."
  22827. msgstr ""
  22828. #. type: deffn
  22829. #: guix-git/doc/guix.texi:15680
  22830. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  22831. msgstr ""
  22832. #. type: deffn
  22833. #: guix-git/doc/guix.texi:15682
  22834. #, no-wrap
  22835. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  22836. msgstr ""
  22837. #. type: deffn
  22838. #: guix-git/doc/guix.texi:15685
  22839. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  22840. msgstr ""
  22841. #. type: deffn
  22842. #: guix-git/doc/guix.texi:15689
  22843. 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."
  22844. msgstr ""
  22845. #. type: lisp
  22846. #: guix-git/doc/guix.texi:15697
  22847. #, no-wrap
  22848. msgid ""
  22849. "(define %example-udev-rule\n"
  22850. " (udev-rule\n"
  22851. " \"90-usb-thing.rules\"\n"
  22852. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  22853. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  22854. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  22855. msgstr ""
  22856. #. type: deffn
  22857. #: guix-git/doc/guix.texi:15700
  22858. #, no-wrap
  22859. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  22860. msgstr ""
  22861. #. type: deffn
  22862. #: guix-git/doc/guix.texi:15707
  22863. 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."
  22864. msgstr ""
  22865. #. type: deffn
  22866. #: guix-git/doc/guix.texi:15710
  22867. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  22868. msgstr ""
  22869. #. type: lisp
  22870. #: guix-git/doc/guix.texi:15717
  22871. #, no-wrap
  22872. msgid ""
  22873. "(operating-system\n"
  22874. " ;; @dots{}\n"
  22875. " (services\n"
  22876. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  22877. " %desktop-services)))\n"
  22878. msgstr ""
  22879. #. type: deffn
  22880. #: guix-git/doc/guix.texi:15720
  22881. #, no-wrap
  22882. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  22883. msgstr ""
  22884. #. type: deffn
  22885. #: guix-git/doc/guix.texi:15723
  22886. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  22887. msgstr ""
  22888. #. type: deffn
  22889. #: guix-git/doc/guix.texi:15725
  22890. msgid "The following example showcases how we can use an existing rule file."
  22891. msgstr ""
  22892. #. type: lisp
  22893. #: guix-git/doc/guix.texi:15730
  22894. #, no-wrap
  22895. msgid ""
  22896. "(use-modules (guix download) ;for url-fetch\n"
  22897. " (guix packages) ;for origin\n"
  22898. " @dots{})\n"
  22899. "\n"
  22900. msgstr ""
  22901. #. type: lisp
  22902. #: guix-git/doc/guix.texi:15741
  22903. #, no-wrap
  22904. msgid ""
  22905. "(define %android-udev-rules\n"
  22906. " (file->udev-rule\n"
  22907. " \"51-android-udev.rules\"\n"
  22908. " (let ((version \"20170910\"))\n"
  22909. " (origin\n"
  22910. " (method url-fetch)\n"
  22911. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  22912. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  22913. " (sha256\n"
  22914. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  22915. msgstr ""
  22916. #. type: Plain text
  22917. #: guix-git/doc/guix.texi:15750
  22918. 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."
  22919. msgstr ""
  22920. #. type: Plain text
  22921. #: guix-git/doc/guix.texi:15759
  22922. 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."
  22923. msgstr ""
  22924. #. type: lisp
  22925. #: guix-git/doc/guix.texi:15764
  22926. #, no-wrap
  22927. msgid ""
  22928. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  22929. " (gnu system shadow) ;for user-group\n"
  22930. " @dots{})\n"
  22931. "\n"
  22932. msgstr ""
  22933. #. type: lisp
  22934. #: guix-git/doc/guix.texi:15777
  22935. #, no-wrap
  22936. msgid ""
  22937. "(operating-system\n"
  22938. " ;; @dots{}\n"
  22939. " (users (cons (user-account\n"
  22940. " ;; @dots{}\n"
  22941. " (supplementary-groups\n"
  22942. " '(\"adbusers\" ;for adb\n"
  22943. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  22944. " ;; @dots{}\n"
  22945. " (services\n"
  22946. " (cons (udev-rules-service 'android android-udev-rules\n"
  22947. " #:groups '(\"adbusers\"))\n"
  22948. " %desktop-services)))\n"
  22949. msgstr ""
  22950. #. type: defvr
  22951. #: guix-git/doc/guix.texi:15779
  22952. #, no-wrap
  22953. msgid "{Scheme Variable} urandom-seed-service-type"
  22954. msgstr ""
  22955. #. type: defvr
  22956. #: guix-git/doc/guix.texi:15784
  22957. 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."
  22958. msgstr ""
  22959. #. type: defvr
  22960. #: guix-git/doc/guix.texi:15786
  22961. #, no-wrap
  22962. msgid "{Scheme Variable} %random-seed-file"
  22963. msgstr ""
  22964. #. type: defvr
  22965. #: guix-git/doc/guix.texi:15790
  22966. 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}."
  22967. msgstr ""
  22968. #. type: cindex
  22969. #: guix-git/doc/guix.texi:15792
  22970. #, no-wrap
  22971. msgid "mouse"
  22972. msgstr ""
  22973. #. type: cindex
  22974. #: guix-git/doc/guix.texi:15793
  22975. #, no-wrap
  22976. msgid "gpm"
  22977. msgstr ""
  22978. #. type: defvr
  22979. #: guix-git/doc/guix.texi:15794
  22980. #, no-wrap
  22981. msgid "{Scheme Variable} gpm-service-type"
  22982. msgstr ""
  22983. #. type: defvr
  22984. #: guix-git/doc/guix.texi:15799
  22985. 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."
  22986. msgstr ""
  22987. #. type: defvr
  22988. #: guix-git/doc/guix.texi:15802
  22989. 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}."
  22990. msgstr ""
  22991. #. type: deftp
  22992. #: guix-git/doc/guix.texi:15804
  22993. #, no-wrap
  22994. msgid "{Data Type} gpm-configuration"
  22995. msgstr ""
  22996. #. type: deftp
  22997. #: guix-git/doc/guix.texi:15806
  22998. msgid "Data type representing the configuration of GPM."
  22999. msgstr ""
  23000. #. type: item
  23001. #: guix-git/doc/guix.texi:15808
  23002. #, no-wrap
  23003. msgid "@code{options} (default: @code{%default-gpm-options})"
  23004. msgstr ""
  23005. #. type: table
  23006. #: guix-git/doc/guix.texi:15813
  23007. 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."
  23008. msgstr ""
  23009. #. type: item
  23010. #: guix-git/doc/guix.texi:15814
  23011. #, no-wrap
  23012. msgid "@code{gpm} (default: @code{gpm})"
  23013. msgstr ""
  23014. #. type: table
  23015. #: guix-git/doc/guix.texi:15816
  23016. msgid "The GPM package to use."
  23017. msgstr ""
  23018. #. type: anchor{#1}
  23019. #: guix-git/doc/guix.texi:15821
  23020. msgid "guix-publish-service-type"
  23021. msgstr ""
  23022. #. type: deffn
  23023. #: guix-git/doc/guix.texi:15821
  23024. #, no-wrap
  23025. msgid "{Scheme Variable} guix-publish-service-type"
  23026. msgstr ""
  23027. #. type: deffn
  23028. #: guix-git/doc/guix.texi:15825
  23029. 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."
  23030. msgstr ""
  23031. #. type: deffn
  23032. #: guix-git/doc/guix.texi:15829
  23033. 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."
  23034. msgstr ""
  23035. #. type: deftp
  23036. #: guix-git/doc/guix.texi:15831
  23037. #, no-wrap
  23038. msgid "{Data Type} guix-publish-configuration"
  23039. msgstr ""
  23040. #. type: deftp
  23041. #: guix-git/doc/guix.texi:15834
  23042. msgid "Data type representing the configuration of the @code{guix publish} service."
  23043. msgstr ""
  23044. #. type: item
  23045. #: guix-git/doc/guix.texi:15836
  23046. #, no-wrap
  23047. msgid "@code{guix} (default: @code{guix})"
  23048. msgstr ""
  23049. #. type: item
  23050. #: guix-git/doc/guix.texi:15839 guix-git/doc/guix.texi:30257
  23051. #, no-wrap
  23052. msgid "@code{port} (default: @code{80})"
  23053. msgstr ""
  23054. #. type: table
  23055. #: guix-git/doc/guix.texi:15841
  23056. msgid "The TCP port to listen for connections."
  23057. msgstr ""
  23058. #. type: item
  23059. #: guix-git/doc/guix.texi:15842 guix-git/doc/guix.texi:27887
  23060. #, no-wrap
  23061. msgid "@code{host} (default: @code{\"localhost\"})"
  23062. msgstr ""
  23063. #. type: table
  23064. #: guix-git/doc/guix.texi:15845
  23065. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  23066. msgstr ""
  23067. #. type: item
  23068. #: guix-git/doc/guix.texi:15846
  23069. #, no-wrap
  23070. msgid "@code{advertise?} (default: @code{#f})"
  23071. msgstr ""
  23072. #. type: table
  23073. #: guix-git/doc/guix.texi:15849
  23074. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  23075. msgstr ""
  23076. #. type: table
  23077. #: guix-git/doc/guix.texi:15853
  23078. 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."
  23079. msgstr ""
  23080. #. type: item
  23081. #: guix-git/doc/guix.texi:15854
  23082. #, no-wrap
  23083. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  23084. msgstr ""
  23085. #. type: table
  23086. #: guix-git/doc/guix.texi:15858
  23087. 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:"
  23088. msgstr ""
  23089. #. type: lisp
  23090. #: guix-git/doc/guix.texi:15861
  23091. #, no-wrap
  23092. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  23093. msgstr ""
  23094. #. type: table
  23095. #: guix-git/doc/guix.texi:15867
  23096. 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."
  23097. msgstr ""
  23098. #. type: table
  23099. #: guix-git/doc/guix.texi:15869
  23100. msgid "An empty list disables compression altogether."
  23101. msgstr ""
  23102. #. type: item
  23103. #: guix-git/doc/guix.texi:15870
  23104. #, no-wrap
  23105. msgid "@code{nar-path} (default: @code{\"nar\"})"
  23106. msgstr ""
  23107. #. type: table
  23108. #: guix-git/doc/guix.texi:15873
  23109. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  23110. msgstr ""
  23111. #. type: item
  23112. #: guix-git/doc/guix.texi:15874
  23113. #, no-wrap
  23114. msgid "@code{cache} (default: @code{#f})"
  23115. msgstr ""
  23116. #. type: table
  23117. #: guix-git/doc/guix.texi:15880
  23118. 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."
  23119. msgstr ""
  23120. #. type: item
  23121. #: guix-git/doc/guix.texi:15881
  23122. #, no-wrap
  23123. msgid "@code{workers} (default: @code{#f})"
  23124. msgstr ""
  23125. #. type: table
  23126. #: guix-git/doc/guix.texi:15885
  23127. 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."
  23128. msgstr ""
  23129. #. type: item
  23130. #: guix-git/doc/guix.texi:15886
  23131. #, no-wrap
  23132. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  23133. msgstr ""
  23134. #. type: table
  23135. #: guix-git/doc/guix.texi:15891
  23136. 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."
  23137. msgstr ""
  23138. #. type: item
  23139. #: guix-git/doc/guix.texi:15892
  23140. #, no-wrap
  23141. msgid "@code{ttl} (default: @code{#f})"
  23142. msgstr ""
  23143. #. type: table
  23144. #: guix-git/doc/guix.texi:15896
  23145. 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."
  23146. msgstr ""
  23147. #. type: anchor{#1}
  23148. #: guix-git/doc/guix.texi:15900
  23149. msgid "rngd-service"
  23150. msgstr ""
  23151. #. type: deffn
  23152. #: guix-git/doc/guix.texi:15900
  23153. #, no-wrap
  23154. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  23155. msgstr ""
  23156. #. type: deffn
  23157. #: guix-git/doc/guix.texi:15905
  23158. 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."
  23159. msgstr ""
  23160. #. type: anchor{#1}
  23161. #: guix-git/doc/guix.texi:15908
  23162. msgid "pam-limits-service"
  23163. msgstr ""
  23164. #. type: cindex
  23165. #: guix-git/doc/guix.texi:15908
  23166. #, no-wrap
  23167. msgid "session limits"
  23168. msgstr ""
  23169. #. type: cindex
  23170. #: guix-git/doc/guix.texi:15909
  23171. #, no-wrap
  23172. msgid "ulimit"
  23173. msgstr ""
  23174. #. type: cindex
  23175. #: guix-git/doc/guix.texi:15910
  23176. #, no-wrap
  23177. msgid "priority"
  23178. msgstr ""
  23179. #. type: cindex
  23180. #: guix-git/doc/guix.texi:15911
  23181. #, no-wrap
  23182. msgid "realtime"
  23183. msgstr ""
  23184. #. type: cindex
  23185. #: guix-git/doc/guix.texi:15912
  23186. #, no-wrap
  23187. msgid "jackd"
  23188. msgstr ""
  23189. #. type: cindex
  23190. #: guix-git/doc/guix.texi:15913
  23191. #, no-wrap
  23192. msgid "nofile"
  23193. msgstr ""
  23194. #. type: cindex
  23195. #: guix-git/doc/guix.texi:15914
  23196. #, no-wrap
  23197. msgid "open file descriptors"
  23198. msgstr ""
  23199. #. type: deffn
  23200. #: guix-git/doc/guix.texi:15915
  23201. #, no-wrap
  23202. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  23203. msgstr ""
  23204. #. type: deffn
  23205. #: guix-git/doc/guix.texi:15922
  23206. 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."
  23207. msgstr ""
  23208. #. type: deffn
  23209. #: guix-git/doc/guix.texi:15925
  23210. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  23211. msgstr ""
  23212. #. type: lisp
  23213. #: guix-git/doc/guix.texi:15931
  23214. #, no-wrap
  23215. msgid ""
  23216. "(pam-limits-service\n"
  23217. " (list\n"
  23218. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  23219. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  23220. msgstr ""
  23221. #. type: deffn
  23222. #: guix-git/doc/guix.texi:15937
  23223. 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."
  23224. msgstr ""
  23225. #. type: deffn
  23226. #: guix-git/doc/guix.texi:15940
  23227. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  23228. msgstr ""
  23229. #. type: lisp
  23230. #: guix-git/doc/guix.texi:15945
  23231. #, no-wrap
  23232. msgid ""
  23233. "(pam-limits-service\n"
  23234. " (list\n"
  23235. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  23236. msgstr ""
  23237. #. type: deffn
  23238. #: guix-git/doc/guix.texi:15953
  23239. 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."
  23240. msgstr ""
  23241. #. type: cindex
  23242. #: guix-git/doc/guix.texi:15958
  23243. #, no-wrap
  23244. msgid "cron"
  23245. msgstr ""
  23246. #. type: cindex
  23247. #: guix-git/doc/guix.texi:15959
  23248. #, no-wrap
  23249. msgid "mcron"
  23250. msgstr ""
  23251. #. type: cindex
  23252. #: guix-git/doc/guix.texi:15960
  23253. #, no-wrap
  23254. msgid "scheduling jobs"
  23255. msgstr ""
  23256. #. type: Plain text
  23257. #: guix-git/doc/guix.texi:15967
  23258. 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."
  23259. msgstr ""
  23260. #. type: Plain text
  23261. #: guix-git/doc/guix.texi:15975
  23262. 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})."
  23263. msgstr ""
  23264. #. type: lisp
  23265. #: guix-git/doc/guix.texi:15979
  23266. #, no-wrap
  23267. msgid ""
  23268. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  23269. "(use-package-modules base idutils)\n"
  23270. "\n"
  23271. msgstr ""
  23272. #. type: lisp
  23273. #: guix-git/doc/guix.texi:15989
  23274. #, no-wrap
  23275. msgid ""
  23276. "(define updatedb-job\n"
  23277. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  23278. " ;; job's action as a Scheme procedure.\n"
  23279. " #~(job '(next-hour '(3))\n"
  23280. " (lambda ()\n"
  23281. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  23282. " \"updatedb\"\n"
  23283. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  23284. " \"updatedb\"))\n"
  23285. "\n"
  23286. msgstr ""
  23287. #. type: lisp
  23288. #: guix-git/doc/guix.texi:15995
  23289. #, no-wrap
  23290. msgid ""
  23291. "(define garbage-collector-job\n"
  23292. " ;; Collect garbage 5 minutes after midnight every day.\n"
  23293. " ;; The job's action is a shell command.\n"
  23294. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  23295. " \"guix gc -F 1G\"))\n"
  23296. "\n"
  23297. msgstr ""
  23298. #. type: lisp
  23299. #: guix-git/doc/guix.texi:16002
  23300. #, no-wrap
  23301. msgid ""
  23302. "(define idutils-job\n"
  23303. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  23304. " ;; and 19:15PM. This runs from the user's home directory.\n"
  23305. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  23306. " (string-append #$idutils \"/bin/mkid src\")\n"
  23307. " #:user \"charlie\"))\n"
  23308. "\n"
  23309. msgstr ""
  23310. #. type: lisp
  23311. #: guix-git/doc/guix.texi:16005
  23312. #, no-wrap
  23313. msgid ""
  23314. "(operating-system\n"
  23315. " ;; @dots{}\n"
  23316. "\n"
  23317. msgstr ""
  23318. #. type: lisp
  23319. #: guix-git/doc/guix.texi:16015
  23320. #, no-wrap
  23321. msgid ""
  23322. " ;; %BASE-SERVICES already includes an instance of\n"
  23323. " ;; 'mcron-service-type', which we extend with additional\n"
  23324. " ;; jobs using 'simple-service'.\n"
  23325. " (services (cons (simple-service 'my-cron-jobs\n"
  23326. " mcron-service-type\n"
  23327. " (list garbage-collector-job\n"
  23328. " updatedb-job\n"
  23329. " idutils-job))\n"
  23330. " %base-services)))\n"
  23331. msgstr ""
  23332. #. type: quotation
  23333. #: guix-git/doc/guix.texi:16017
  23334. #, no-wrap
  23335. msgid "Tip"
  23336. msgstr ""
  23337. #. type: quotation
  23338. #: guix-git/doc/guix.texi:16023
  23339. 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!"
  23340. msgstr ""
  23341. #. type: Plain text
  23342. #: guix-git/doc/guix.texi:16030
  23343. 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."
  23344. msgstr ""
  23345. #. type: lisp
  23346. #: guix-git/doc/guix.texi:16046
  23347. #, no-wrap
  23348. msgid ""
  23349. "(define %battery-alert-job\n"
  23350. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  23351. " #~(job\n"
  23352. " '(next-minute (range 0 60 1))\n"
  23353. " #$(program-file\n"
  23354. " \"battery-alert.scm\"\n"
  23355. " (with-imported-modules (source-module-closure\n"
  23356. " '((guix build utils)))\n"
  23357. " #~(begin\n"
  23358. " (use-modules (guix build utils)\n"
  23359. " (ice-9 popen)\n"
  23360. " (ice-9 regex)\n"
  23361. " (ice-9 textual-ports)\n"
  23362. " (srfi srfi-2))\n"
  23363. "\n"
  23364. msgstr ""
  23365. #. type: lisp
  23366. #: guix-git/doc/guix.texi:16048
  23367. #, no-wrap
  23368. msgid ""
  23369. " (define %min-level 20)\n"
  23370. "\n"
  23371. msgstr ""
  23372. #. type: lisp
  23373. #: guix-git/doc/guix.texi:16059
  23374. #, no-wrap
  23375. msgid ""
  23376. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  23377. " (and-let* ((input-pipe (open-pipe*\n"
  23378. " OPEN_READ\n"
  23379. " #$(file-append acpi \"/bin/acpi\")))\n"
  23380. " (output (get-string-all input-pipe))\n"
  23381. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  23382. " (level (string->number (match:substring m 1)))\n"
  23383. " ((< level %min-level)))\n"
  23384. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  23385. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  23386. msgstr ""
  23387. #. type: Plain text
  23388. #: guix-git/doc/guix.texi:16064
  23389. 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."
  23390. msgstr ""
  23391. #. type: Plain text
  23392. #: guix-git/doc/guix.texi:16067
  23393. 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:"
  23394. msgstr ""
  23395. #. type: example
  23396. #: guix-git/doc/guix.texi:16070
  23397. #, no-wrap
  23398. msgid "# herd schedule mcron\n"
  23399. msgstr ""
  23400. #. type: Plain text
  23401. #: guix-git/doc/guix.texi:16075
  23402. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  23403. msgstr ""
  23404. #. type: example
  23405. #: guix-git/doc/guix.texi:16078
  23406. #, no-wrap
  23407. msgid "# herd schedule mcron 10\n"
  23408. msgstr ""
  23409. #. type: defvr
  23410. #: guix-git/doc/guix.texi:16080
  23411. #, no-wrap
  23412. msgid "{Scheme Variable} mcron-service-type"
  23413. msgstr ""
  23414. #. type: defvr
  23415. #: guix-git/doc/guix.texi:16083
  23416. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  23417. msgstr ""
  23418. #. type: defvr
  23419. #: guix-git/doc/guix.texi:16088
  23420. msgid "This service type can be the target of a service extension that provides it additional job specifications (@pxref{Service Composition}). In other words, it is possible to define services that provide additional mcron jobs to run."
  23421. msgstr ""
  23422. #. type: deftp
  23423. #: guix-git/doc/guix.texi:16090
  23424. #, no-wrap
  23425. msgid "{Data Type} mcron-configuration"
  23426. msgstr ""
  23427. #. type: deftp
  23428. #: guix-git/doc/guix.texi:16092
  23429. msgid "Data type representing the configuration of mcron."
  23430. msgstr ""
  23431. #. type: item
  23432. #: guix-git/doc/guix.texi:16094
  23433. #, no-wrap
  23434. msgid "@code{mcron} (default: @var{mcron})"
  23435. msgstr ""
  23436. #. type: table
  23437. #: guix-git/doc/guix.texi:16096
  23438. msgid "The mcron package to use."
  23439. msgstr ""
  23440. #. type: code{#1}
  23441. #: guix-git/doc/guix.texi:16097 guix-git/doc/guix.texi:16166
  23442. #, no-wrap
  23443. msgid "jobs"
  23444. msgstr ""
  23445. #. type: table
  23446. #: guix-git/doc/guix.texi:16101
  23447. 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})."
  23448. msgstr ""
  23449. #. type: cindex
  23450. #: guix-git/doc/guix.texi:16108
  23451. #, no-wrap
  23452. msgid "rottlog"
  23453. msgstr ""
  23454. #. type: cindex
  23455. #: guix-git/doc/guix.texi:16109
  23456. #, no-wrap
  23457. msgid "log rotation"
  23458. msgstr ""
  23459. #. type: Plain text
  23460. #: guix-git/doc/guix.texi:16116
  23461. 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})."
  23462. msgstr ""
  23463. #. type: Plain text
  23464. #: guix-git/doc/guix.texi:16122
  23465. 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):"
  23466. msgstr ""
  23467. #. type: lisp
  23468. #: guix-git/doc/guix.texi:16126
  23469. #, no-wrap
  23470. msgid ""
  23471. "(use-modules (guix) (gnu))\n"
  23472. "(use-service-modules admin)\n"
  23473. "\n"
  23474. msgstr ""
  23475. #. type: lisp
  23476. #: guix-git/doc/guix.texi:16130
  23477. #, no-wrap
  23478. msgid ""
  23479. "(define my-log-files\n"
  23480. " ;; Log files that I want to rotate.\n"
  23481. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  23482. "\n"
  23483. msgstr ""
  23484. #. type: lisp
  23485. #: guix-git/doc/guix.texi:16139
  23486. #, no-wrap
  23487. msgid ""
  23488. "(operating-system\n"
  23489. " ;; @dots{}\n"
  23490. " (services (cons (simple-service 'rotate-my-stuff\n"
  23491. " rottlog-service-type\n"
  23492. " (list (log-rotation\n"
  23493. " (frequency 'daily)\n"
  23494. " (files my-log-files))))\n"
  23495. " %base-services)))\n"
  23496. msgstr ""
  23497. #. type: defvr
  23498. #: guix-git/doc/guix.texi:16141
  23499. #, no-wrap
  23500. msgid "{Scheme Variable} rottlog-service-type"
  23501. msgstr ""
  23502. #. type: defvr
  23503. #: guix-git/doc/guix.texi:16144
  23504. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  23505. msgstr ""
  23506. #. type: defvr
  23507. #: guix-git/doc/guix.texi:16147
  23508. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  23509. msgstr ""
  23510. #. type: defvr
  23511. #: guix-git/doc/guix.texi:16150
  23512. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  23513. msgstr ""
  23514. #. type: deftp
  23515. #: guix-git/doc/guix.texi:16152
  23516. #, no-wrap
  23517. msgid "{Data Type} rottlog-configuration"
  23518. msgstr ""
  23519. #. type: deftp
  23520. #: guix-git/doc/guix.texi:16154
  23521. msgid "Data type representing the configuration of rottlog."
  23522. msgstr ""
  23523. #. type: item
  23524. #: guix-git/doc/guix.texi:16156
  23525. #, no-wrap
  23526. msgid "@code{rottlog} (default: @code{rottlog})"
  23527. msgstr ""
  23528. #. type: table
  23529. #: guix-git/doc/guix.texi:16158
  23530. msgid "The Rottlog package to use."
  23531. msgstr ""
  23532. #. type: item
  23533. #: guix-git/doc/guix.texi:16159
  23534. #, no-wrap
  23535. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  23536. msgstr ""
  23537. #. type: table
  23538. #: guix-git/doc/guix.texi:16162
  23539. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  23540. msgstr ""
  23541. #. type: item
  23542. #: guix-git/doc/guix.texi:16163
  23543. #, no-wrap
  23544. msgid "@code{rotations} (default: @code{%default-rotations})"
  23545. msgstr ""
  23546. #. type: table
  23547. #: guix-git/doc/guix.texi:16165
  23548. msgid "A list of @code{log-rotation} objects as defined below."
  23549. msgstr ""
  23550. #. type: table
  23551. #: guix-git/doc/guix.texi:16169
  23552. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  23553. msgstr ""
  23554. #. type: deftp
  23555. #: guix-git/doc/guix.texi:16172
  23556. #, no-wrap
  23557. msgid "{Data Type} log-rotation"
  23558. msgstr ""
  23559. #. type: deftp
  23560. #: guix-git/doc/guix.texi:16174
  23561. msgid "Data type representing the rotation of a group of log files."
  23562. msgstr ""
  23563. #. type: deftp
  23564. #: guix-git/doc/guix.texi:16178
  23565. 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:"
  23566. msgstr ""
  23567. #. type: lisp
  23568. #: guix-git/doc/guix.texi:16187
  23569. #, no-wrap
  23570. msgid ""
  23571. "(log-rotation\n"
  23572. " (frequency 'daily)\n"
  23573. " (files '(\"/var/log/apache/*\"))\n"
  23574. " (options '(\"storedir apache-archives\"\n"
  23575. " \"rotate 6\"\n"
  23576. " \"notifempty\"\n"
  23577. " \"nocompress\")))\n"
  23578. msgstr ""
  23579. #. type: deftp
  23580. #: guix-git/doc/guix.texi:16190
  23581. msgid "The list of fields is as follows:"
  23582. msgstr ""
  23583. #. type: item
  23584. #: guix-git/doc/guix.texi:16192
  23585. #, no-wrap
  23586. msgid "@code{frequency} (default: @code{'weekly})"
  23587. msgstr ""
  23588. #. type: table
  23589. #: guix-git/doc/guix.texi:16194
  23590. msgid "The log rotation frequency, a symbol."
  23591. msgstr ""
  23592. #. type: code{#1}
  23593. #: guix-git/doc/guix.texi:16195
  23594. #, no-wrap
  23595. msgid "files"
  23596. msgstr ""
  23597. #. type: table
  23598. #: guix-git/doc/guix.texi:16197
  23599. msgid "The list of files or file glob patterns to rotate."
  23600. msgstr ""
  23601. #. type: item
  23602. #: guix-git/doc/guix.texi:16198
  23603. #, no-wrap
  23604. msgid "@code{options} (default: @code{'()})"
  23605. msgstr ""
  23606. #. type: table
  23607. #: guix-git/doc/guix.texi:16201
  23608. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  23609. msgstr ""
  23610. #. type: item
  23611. #: guix-git/doc/guix.texi:16202
  23612. #, no-wrap
  23613. msgid "@code{post-rotate} (default: @code{#f})"
  23614. msgstr ""
  23615. #. type: table
  23616. #: guix-git/doc/guix.texi:16204
  23617. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  23618. msgstr ""
  23619. #. type: defvr
  23620. #: guix-git/doc/guix.texi:16207
  23621. #, no-wrap
  23622. msgid "{Scheme Variable} %default-rotations"
  23623. msgstr ""
  23624. #. type: defvr
  23625. #: guix-git/doc/guix.texi:16210
  23626. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  23627. msgstr ""
  23628. #. type: defvr
  23629. #: guix-git/doc/guix.texi:16212
  23630. #, no-wrap
  23631. msgid "{Scheme Variable} %rotated-files"
  23632. msgstr ""
  23633. #. type: defvr
  23634. #: guix-git/doc/guix.texi:16216
  23635. 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\")}."
  23636. msgstr ""
  23637. #. type: Plain text
  23638. #: guix-git/doc/guix.texi:16223
  23639. msgid "The @code{(gnu services networking)} module provides services to configure the network interface."
  23640. msgstr ""
  23641. #. type: cindex
  23642. #: guix-git/doc/guix.texi:16224
  23643. #, no-wrap
  23644. msgid "DHCP, networking service"
  23645. msgstr ""
  23646. #. type: defvr
  23647. #: guix-git/doc/guix.texi:16225
  23648. #, no-wrap
  23649. msgid "{Scheme Variable} dhcp-client-service-type"
  23650. msgstr ""
  23651. #. type: defvr
  23652. #: guix-git/doc/guix.texi:16229
  23653. 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."
  23654. msgstr ""
  23655. #. type: deffn
  23656. #: guix-git/doc/guix.texi:16231
  23657. #, no-wrap
  23658. msgid "{Scheme Procedure} dhcpd-service-type"
  23659. msgstr ""
  23660. #. type: deffn
  23661. #: guix-git/doc/guix.texi:16235
  23662. 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:"
  23663. msgstr ""
  23664. #. type: lisp
  23665. #: guix-git/doc/guix.texi:16241
  23666. #, no-wrap
  23667. msgid ""
  23668. "(service dhcpd-service-type\n"
  23669. " (dhcpd-configuration\n"
  23670. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  23671. " (interfaces '(\"enp0s25\"))))\n"
  23672. msgstr ""
  23673. #. type: deftp
  23674. #: guix-git/doc/guix.texi:16244
  23675. #, no-wrap
  23676. msgid "{Data Type} dhcpd-configuration"
  23677. msgstr ""
  23678. #. type: item
  23679. #: guix-git/doc/guix.texi:16246
  23680. #, no-wrap
  23681. msgid "@code{package} (default: @code{isc-dhcp})"
  23682. msgstr ""
  23683. #. type: table
  23684. #: guix-git/doc/guix.texi:16251
  23685. 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}."
  23686. msgstr ""
  23687. #. type: item
  23688. #: guix-git/doc/guix.texi:16251 guix-git/doc/guix.texi:16507
  23689. #: guix-git/doc/guix.texi:21722
  23690. #, no-wrap
  23691. msgid "@code{config-file} (default: @code{#f})"
  23692. msgstr ""
  23693. #. type: table
  23694. #: guix-git/doc/guix.texi:16256
  23695. 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."
  23696. msgstr ""
  23697. #. type: item
  23698. #: guix-git/doc/guix.texi:16256
  23699. #, no-wrap
  23700. msgid "@code{version} (default: @code{\"4\"})"
  23701. msgstr ""
  23702. #. type: table
  23703. #: guix-git/doc/guix.texi:16261
  23704. 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."
  23705. msgstr ""
  23706. #. type: item
  23707. #: guix-git/doc/guix.texi:16261
  23708. #, no-wrap
  23709. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  23710. msgstr ""
  23711. #. type: table
  23712. #: guix-git/doc/guix.texi:16264
  23713. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  23714. msgstr ""
  23715. #. type: item
  23716. #: guix-git/doc/guix.texi:16264
  23717. #, no-wrap
  23718. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  23719. msgstr ""
  23720. #. type: table
  23721. #: guix-git/doc/guix.texi:16267
  23722. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  23723. msgstr ""
  23724. #. type: item
  23725. #: guix-git/doc/guix.texi:16267
  23726. #, no-wrap
  23727. msgid "@code{interfaces} (default: @code{'()})"
  23728. msgstr ""
  23729. #. type: table
  23730. #: guix-git/doc/guix.texi:16273
  23731. 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."
  23732. msgstr ""
  23733. #. type: defvr
  23734. #: guix-git/doc/guix.texi:16276
  23735. #, no-wrap
  23736. msgid "{Scheme Variable} static-networking-service-type"
  23737. msgstr ""
  23738. #. type: defvr
  23739. #: guix-git/doc/guix.texi:16279
  23740. msgid "This is the type for statically-configured network interfaces."
  23741. msgstr ""
  23742. #. type: deffn
  23743. #: guix-git/doc/guix.texi:16281
  23744. #, no-wrap
  23745. msgid "{Scheme Procedure} static-networking-service @var{interface} @var{ip} @"
  23746. msgstr ""
  23747. #. type: deffn
  23748. #: guix-git/doc/guix.texi:16289
  23749. msgid "[#:netmask #f] [#:gateway #f] [#:name-servers @code{'()}] @ [#:requirement @code{'(udev)}] Return a service that starts @var{interface} with address @var{ip}. If @var{netmask} is true, use it as the network mask. If @var{gateway} is true, it must be a string specifying the default network gateway. @var{requirement} can be used to declare a dependency on another service before configuring the interface."
  23750. msgstr ""
  23751. #. type: deffn
  23752. #: guix-git/doc/guix.texi:16294
  23753. msgid "This procedure can be called several times, one for each network interface of interest. Behind the scenes what it does is extend @code{static-networking-service-type} with additional network interfaces to handle."
  23754. msgstr ""
  23755. #. type: defvr
  23756. #: guix-git/doc/guix.texi:16296 guix-git/doc/guix.texi:29568
  23757. msgid "For example:"
  23758. msgstr ""
  23759. #. type: lisp
  23760. #: guix-git/doc/guix.texi:16301
  23761. #, no-wrap
  23762. msgid ""
  23763. "(static-networking-service \"eno1\" \"192.168.1.82\"\n"
  23764. " #:gateway \"192.168.1.2\"\n"
  23765. " #:name-servers '(\"192.168.1.2\"))\n"
  23766. msgstr ""
  23767. #. type: cindex
  23768. #: guix-git/doc/guix.texi:16304
  23769. #, no-wrap
  23770. msgid "wicd"
  23771. msgstr ""
  23772. #. type: cindex
  23773. #: guix-git/doc/guix.texi:16307
  23774. #, no-wrap
  23775. msgid "network management"
  23776. msgstr ""
  23777. #. type: deffn
  23778. #: guix-git/doc/guix.texi:16308
  23779. #, no-wrap
  23780. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  23781. msgstr ""
  23782. #. type: deffn
  23783. #: guix-git/doc/guix.texi:16311
  23784. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  23785. msgstr ""
  23786. #. type: deffn
  23787. #: guix-git/doc/guix.texi:16316
  23788. 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."
  23789. msgstr ""
  23790. #. type: cindex
  23791. #: guix-git/doc/guix.texi:16318
  23792. #, no-wrap
  23793. msgid "ModemManager"
  23794. msgstr ""
  23795. #. type: defvr
  23796. #: guix-git/doc/guix.texi:16320
  23797. #, no-wrap
  23798. msgid "{Scheme Variable} modem-manager-service-type"
  23799. msgstr ""
  23800. #. type: defvr
  23801. #: guix-git/doc/guix.texi:16325
  23802. 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."
  23803. msgstr ""
  23804. #. type: defvr
  23805. #: guix-git/doc/guix.texi:16328 guix-git/doc/guix.texi:16357
  23806. #: guix-git/doc/guix.texi:16389
  23807. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  23808. msgstr ""
  23809. #. type: deftp
  23810. #: guix-git/doc/guix.texi:16330
  23811. #, no-wrap
  23812. msgid "{Data Type} modem-manager-configuration"
  23813. msgstr ""
  23814. #. type: deftp
  23815. #: guix-git/doc/guix.texi:16332
  23816. msgid "Data type representing the configuration of ModemManager."
  23817. msgstr ""
  23818. #. type: item
  23819. #: guix-git/doc/guix.texi:16334
  23820. #, no-wrap
  23821. msgid "@code{modem-manager} (default: @code{modem-manager})"
  23822. msgstr ""
  23823. #. type: table
  23824. #: guix-git/doc/guix.texi:16336
  23825. msgid "The ModemManager package to use."
  23826. msgstr ""
  23827. #. type: cindex
  23828. #: guix-git/doc/guix.texi:16340
  23829. #, no-wrap
  23830. msgid "USB_ModeSwitch"
  23831. msgstr ""
  23832. #. type: cindex
  23833. #: guix-git/doc/guix.texi:16341
  23834. #, no-wrap
  23835. msgid "Modeswitching"
  23836. msgstr ""
  23837. #. type: defvr
  23838. #: guix-git/doc/guix.texi:16343
  23839. #, no-wrap
  23840. msgid "{Scheme Variable} usb-modeswitch-service-type"
  23841. msgstr ""
  23842. #. type: defvr
  23843. #: guix-git/doc/guix.texi:16348
  23844. 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."
  23845. msgstr ""
  23846. #. type: defvr
  23847. #: guix-git/doc/guix.texi:16354
  23848. 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."
  23849. msgstr ""
  23850. #. type: deftp
  23851. #: guix-git/doc/guix.texi:16359
  23852. #, no-wrap
  23853. msgid "{Data Type} usb-modeswitch-configuration"
  23854. msgstr ""
  23855. #. type: deftp
  23856. #: guix-git/doc/guix.texi:16361
  23857. msgid "Data type representing the configuration of USB_ModeSwitch."
  23858. msgstr ""
  23859. #. type: item
  23860. #: guix-git/doc/guix.texi:16363
  23861. #, no-wrap
  23862. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  23863. msgstr ""
  23864. #. type: table
  23865. #: guix-git/doc/guix.texi:16365
  23866. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  23867. msgstr ""
  23868. #. type: item
  23869. #: guix-git/doc/guix.texi:16366
  23870. #, no-wrap
  23871. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  23872. msgstr ""
  23873. #. type: table
  23874. #: guix-git/doc/guix.texi:16369
  23875. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  23876. msgstr ""
  23877. #. type: item
  23878. #: guix-git/doc/guix.texi:16370
  23879. #, no-wrap
  23880. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  23881. msgstr ""
  23882. #. type: table
  23883. #: guix-git/doc/guix.texi:16375
  23884. 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."
  23885. msgstr ""
  23886. #. type: cindex
  23887. #: guix-git/doc/guix.texi:16379
  23888. #, no-wrap
  23889. msgid "NetworkManager"
  23890. msgstr ""
  23891. #. type: defvr
  23892. #: guix-git/doc/guix.texi:16381
  23893. #, no-wrap
  23894. msgid "{Scheme Variable} network-manager-service-type"
  23895. msgstr ""
  23896. #. type: defvr
  23897. #: guix-git/doc/guix.texi:16386
  23898. 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."
  23899. msgstr ""
  23900. #. type: deftp
  23901. #: guix-git/doc/guix.texi:16391
  23902. #, no-wrap
  23903. msgid "{Data Type} network-manager-configuration"
  23904. msgstr ""
  23905. #. type: deftp
  23906. #: guix-git/doc/guix.texi:16393
  23907. msgid "Data type representing the configuration of NetworkManager."
  23908. msgstr ""
  23909. #. type: item
  23910. #: guix-git/doc/guix.texi:16395
  23911. #, no-wrap
  23912. msgid "@code{network-manager} (default: @code{network-manager})"
  23913. msgstr ""
  23914. #. type: table
  23915. #: guix-git/doc/guix.texi:16397
  23916. msgid "The NetworkManager package to use."
  23917. msgstr ""
  23918. #. type: item
  23919. #: guix-git/doc/guix.texi:16398
  23920. #, no-wrap
  23921. msgid "@code{dns} (default: @code{\"default\"})"
  23922. msgstr ""
  23923. #. type: table
  23924. #: guix-git/doc/guix.texi:16401
  23925. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  23926. msgstr ""
  23927. #. type: table
  23928. #: guix-git/doc/guix.texi:16406
  23929. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  23930. msgstr ""
  23931. #. type: item
  23932. #: guix-git/doc/guix.texi:16407
  23933. #, no-wrap
  23934. msgid "dnsmasq"
  23935. msgstr ""
  23936. #. type: table
  23937. #: guix-git/doc/guix.texi:16411
  23938. 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."
  23939. msgstr ""
  23940. #. type: table
  23941. #: guix-git/doc/guix.texi:16417
  23942. 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)."
  23943. msgstr ""
  23944. #. type: table
  23945. #: guix-git/doc/guix.texi:16424
  23946. 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:"
  23947. msgstr ""
  23948. #. type: example
  23949. #: guix-git/doc/guix.texi:16431
  23950. #, no-wrap
  23951. msgid ""
  23952. "nmcli connection add type tun \\\n"
  23953. " connection.interface-name tap0 \\\n"
  23954. " tun.mode tap tun.owner $(id -u) \\\n"
  23955. " ipv4.method shared \\\n"
  23956. " ipv4.addresses 172.28.112.1/24\n"
  23957. msgstr ""
  23958. #. type: table
  23959. #: guix-git/doc/guix.texi:16436
  23960. 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-...}."
  23961. msgstr ""
  23962. #. type: table
  23963. #: guix-git/doc/guix.texi:16439
  23964. msgid "NetworkManager will not modify @code{resolv.conf}."
  23965. msgstr ""
  23966. #. type: item
  23967. #: guix-git/doc/guix.texi:16441
  23968. #, no-wrap
  23969. msgid "@code{vpn-plugins} (default: @code{'()})"
  23970. msgstr ""
  23971. #. type: table
  23972. #: guix-git/doc/guix.texi:16445
  23973. 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."
  23974. msgstr ""
  23975. #. type: cindex
  23976. #: guix-git/doc/guix.texi:16449
  23977. #, no-wrap
  23978. msgid "Connman"
  23979. msgstr ""
  23980. #. type: deffn
  23981. #: guix-git/doc/guix.texi:16450
  23982. #, no-wrap
  23983. msgid "{Scheme Variable} connman-service-type"
  23984. msgstr ""
  23985. #. type: deffn
  23986. #: guix-git/doc/guix.texi:16453
  23987. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  23988. msgstr ""
  23989. #. type: deffn
  23990. #: guix-git/doc/guix.texi:16456
  23991. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  23992. msgstr ""
  23993. #. type: lisp
  23994. #: guix-git/doc/guix.texi:16461
  23995. #, no-wrap
  23996. msgid ""
  23997. "(service connman-service-type\n"
  23998. " (connman-configuration\n"
  23999. " (disable-vpn? #t)))\n"
  24000. msgstr ""
  24001. #. type: deffn
  24002. #: guix-git/doc/guix.texi:16464
  24003. msgid "See below for details about @code{connman-configuration}."
  24004. msgstr ""
  24005. #. type: deftp
  24006. #: guix-git/doc/guix.texi:16466
  24007. #, no-wrap
  24008. msgid "{Data Type} connman-configuration"
  24009. msgstr ""
  24010. #. type: deftp
  24011. #: guix-git/doc/guix.texi:16468
  24012. msgid "Data Type representing the configuration of connman."
  24013. msgstr ""
  24014. #. type: item
  24015. #: guix-git/doc/guix.texi:16470
  24016. #, no-wrap
  24017. msgid "@code{connman} (default: @var{connman})"
  24018. msgstr ""
  24019. #. type: table
  24020. #: guix-git/doc/guix.texi:16472
  24021. msgid "The connman package to use."
  24022. msgstr ""
  24023. #. type: item
  24024. #: guix-git/doc/guix.texi:16473
  24025. #, no-wrap
  24026. msgid "@code{disable-vpn?} (default: @code{#f})"
  24027. msgstr ""
  24028. #. type: table
  24029. #: guix-git/doc/guix.texi:16475
  24030. msgid "When true, disable connman's vpn plugin."
  24031. msgstr ""
  24032. #. type: cindex
  24033. #: guix-git/doc/guix.texi:16478
  24034. #, no-wrap
  24035. msgid "WPA Supplicant"
  24036. msgstr ""
  24037. #. type: defvr
  24038. #: guix-git/doc/guix.texi:16479
  24039. #, no-wrap
  24040. msgid "{Scheme Variable} wpa-supplicant-service-type"
  24041. msgstr ""
  24042. #. type: defvr
  24043. #: guix-git/doc/guix.texi:16483
  24044. 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."
  24045. msgstr ""
  24046. #. type: deftp
  24047. #: guix-git/doc/guix.texi:16485
  24048. #, no-wrap
  24049. msgid "{Data Type} wpa-supplicant-configuration"
  24050. msgstr ""
  24051. #. type: deftp
  24052. #: guix-git/doc/guix.texi:16487
  24053. msgid "Data type representing the configuration of WPA Supplicant."
  24054. msgstr ""
  24055. #. type: deftp
  24056. #: guix-git/doc/guix.texi:16489 guix-git/doc/guix.texi:31581
  24057. msgid "It takes the following parameters:"
  24058. msgstr ""
  24059. #. type: item
  24060. #: guix-git/doc/guix.texi:16491
  24061. #, no-wrap
  24062. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  24063. msgstr ""
  24064. #. type: table
  24065. #: guix-git/doc/guix.texi:16493
  24066. msgid "The WPA Supplicant package to use."
  24067. msgstr ""
  24068. #. type: item
  24069. #: guix-git/doc/guix.texi:16494
  24070. #, no-wrap
  24071. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  24072. msgstr ""
  24073. #. type: table
  24074. #: guix-git/doc/guix.texi:16496
  24075. msgid "List of services that should be started before WPA Supplicant starts."
  24076. msgstr ""
  24077. #. type: item
  24078. #: guix-git/doc/guix.texi:16497
  24079. #, no-wrap
  24080. msgid "@code{dbus?} (default: @code{#t})"
  24081. msgstr ""
  24082. #. type: table
  24083. #: guix-git/doc/guix.texi:16499
  24084. msgid "Whether to listen for requests on D-Bus."
  24085. msgstr ""
  24086. #. type: item
  24087. #: guix-git/doc/guix.texi:16500
  24088. #, no-wrap
  24089. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  24090. msgstr ""
  24091. #. type: table
  24092. #: guix-git/doc/guix.texi:16502
  24093. msgid "Where to store the PID file."
  24094. msgstr ""
  24095. #. type: item
  24096. #: guix-git/doc/guix.texi:16503 guix-git/doc/guix.texi:30026
  24097. #: guix-git/doc/guix.texi:30168
  24098. #, no-wrap
  24099. msgid "@code{interface} (default: @code{#f})"
  24100. msgstr ""
  24101. #. type: table
  24102. #: guix-git/doc/guix.texi:16506
  24103. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  24104. msgstr ""
  24105. #. type: table
  24106. #: guix-git/doc/guix.texi:16509
  24107. msgid "Optional configuration file to use."
  24108. msgstr ""
  24109. #. type: table
  24110. #: guix-git/doc/guix.texi:16512
  24111. msgid "List of additional command-line arguments to pass to the daemon."
  24112. msgstr ""
  24113. #. type: cindex
  24114. #: guix-git/doc/guix.texi:16515
  24115. #, no-wrap
  24116. msgid "hostapd service, for Wi-Fi access points"
  24117. msgstr ""
  24118. #. type: cindex
  24119. #: guix-git/doc/guix.texi:16516
  24120. #, no-wrap
  24121. msgid "Wi-Fi access points, hostapd service"
  24122. msgstr ""
  24123. #. type: defvr
  24124. #: guix-git/doc/guix.texi:16517
  24125. #, no-wrap
  24126. msgid "{Scheme Variable} hostapd-service-type"
  24127. msgstr ""
  24128. #. type: defvr
  24129. #: guix-git/doc/guix.texi:16522
  24130. 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:"
  24131. msgstr ""
  24132. #. type: lisp
  24133. #: guix-git/doc/guix.texi:16530
  24134. #, no-wrap
  24135. msgid ""
  24136. ";; Use wlan1 to run the access point for \"My Network\".\n"
  24137. "(service hostapd-service-type\n"
  24138. " (hostapd-configuration\n"
  24139. " (interface \"wlan1\")\n"
  24140. " (ssid \"My Network\")\n"
  24141. " (channel 12)))\n"
  24142. msgstr ""
  24143. #. type: deftp
  24144. #: guix-git/doc/guix.texi:16533
  24145. #, no-wrap
  24146. msgid "{Data Type} hostapd-configuration"
  24147. msgstr ""
  24148. #. type: deftp
  24149. #: guix-git/doc/guix.texi:16536
  24150. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  24151. msgstr ""
  24152. #. type: item
  24153. #: guix-git/doc/guix.texi:16538
  24154. #, no-wrap
  24155. msgid "@code{package} (default: @code{hostapd})"
  24156. msgstr ""
  24157. #. type: table
  24158. #: guix-git/doc/guix.texi:16540
  24159. msgid "The hostapd package to use."
  24160. msgstr ""
  24161. #. type: item
  24162. #: guix-git/doc/guix.texi:16541
  24163. #, no-wrap
  24164. msgid "@code{interface} (default: @code{\"wlan0\"})"
  24165. msgstr ""
  24166. #. type: table
  24167. #: guix-git/doc/guix.texi:16543
  24168. msgid "The network interface to run the WiFi access point."
  24169. msgstr ""
  24170. #. type: code{#1}
  24171. #: guix-git/doc/guix.texi:16544
  24172. #, no-wrap
  24173. msgid "ssid"
  24174. msgstr ""
  24175. #. type: table
  24176. #: guix-git/doc/guix.texi:16547
  24177. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  24178. msgstr ""
  24179. #. type: item
  24180. #: guix-git/doc/guix.texi:16548
  24181. #, no-wrap
  24182. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  24183. msgstr ""
  24184. #. type: table
  24185. #: guix-git/doc/guix.texi:16550
  24186. msgid "Whether to broadcast this SSID."
  24187. msgstr ""
  24188. #. type: item
  24189. #: guix-git/doc/guix.texi:16551
  24190. #, no-wrap
  24191. msgid "@code{channel} (default: @code{1})"
  24192. msgstr ""
  24193. #. type: table
  24194. #: guix-git/doc/guix.texi:16553
  24195. msgid "The WiFi channel to use."
  24196. msgstr ""
  24197. #. type: item
  24198. #: guix-git/doc/guix.texi:16554
  24199. #, no-wrap
  24200. msgid "@code{driver} (default: @code{\"nl80211\"})"
  24201. msgstr ""
  24202. #. type: table
  24203. #: guix-git/doc/guix.texi:16558
  24204. 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."
  24205. msgstr ""
  24206. #. type: item
  24207. #: guix-git/doc/guix.texi:16559 guix-git/doc/guix.texi:22571
  24208. #: guix-git/doc/guix.texi:25649
  24209. #, no-wrap
  24210. msgid "@code{extra-settings} (default: @code{\"\"})"
  24211. msgstr ""
  24212. #. type: table
  24213. #: guix-git/doc/guix.texi:16563
  24214. 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."
  24215. msgstr ""
  24216. #. type: defvr
  24217. #: guix-git/doc/guix.texi:16566
  24218. #, no-wrap
  24219. msgid "{Scheme Variable} simulated-wifi-service-type"
  24220. msgstr ""
  24221. #. type: defvr
  24222. #: guix-git/doc/guix.texi:16573
  24223. 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."
  24224. msgstr ""
  24225. #. type: defvr
  24226. #: guix-git/doc/guix.texi:16575
  24227. msgid "The service's value is a @code{hostapd-configuration} record."
  24228. msgstr ""
  24229. #. type: cindex
  24230. #: guix-git/doc/guix.texi:16577
  24231. #, no-wrap
  24232. msgid "iptables"
  24233. msgstr ""
  24234. #. type: defvr
  24235. #: guix-git/doc/guix.texi:16578
  24236. #, no-wrap
  24237. msgid "{Scheme Variable} iptables-service-type"
  24238. msgstr ""
  24239. #. type: defvr
  24240. #: guix-git/doc/guix.texi:16584
  24241. 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."
  24242. msgstr ""
  24243. #. type: lisp
  24244. #: guix-git/doc/guix.texi:16606
  24245. #, no-wrap
  24246. msgid ""
  24247. "(service iptables-service-type\n"
  24248. " (iptables-configuration\n"
  24249. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  24250. ":INPUT ACCEPT\n"
  24251. ":FORWARD ACCEPT\n"
  24252. ":OUTPUT ACCEPT\n"
  24253. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  24254. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  24255. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  24256. "COMMIT\n"
  24257. "\"))\n"
  24258. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  24259. ":INPUT ACCEPT\n"
  24260. ":FORWARD ACCEPT\n"
  24261. ":OUTPUT ACCEPT\n"
  24262. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  24263. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  24264. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  24265. "COMMIT\n"
  24266. "\"))))\n"
  24267. msgstr ""
  24268. #. type: deftp
  24269. #: guix-git/doc/guix.texi:16609
  24270. #, no-wrap
  24271. msgid "{Data Type} iptables-configuration"
  24272. msgstr ""
  24273. #. type: deftp
  24274. #: guix-git/doc/guix.texi:16611
  24275. msgid "The data type representing the configuration of iptables."
  24276. msgstr ""
  24277. #. type: item
  24278. #: guix-git/doc/guix.texi:16613
  24279. #, no-wrap
  24280. msgid "@code{iptables} (default: @code{iptables})"
  24281. msgstr ""
  24282. #. type: table
  24283. #: guix-git/doc/guix.texi:16616
  24284. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  24285. msgstr ""
  24286. #. type: item
  24287. #: guix-git/doc/guix.texi:16616
  24288. #, no-wrap
  24289. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  24290. msgstr ""
  24291. #. type: table
  24292. #: guix-git/doc/guix.texi:16620
  24293. 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})."
  24294. msgstr ""
  24295. #. type: item
  24296. #: guix-git/doc/guix.texi:16620
  24297. #, no-wrap
  24298. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  24299. msgstr ""
  24300. #. type: table
  24301. #: guix-git/doc/guix.texi:16624
  24302. 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})."
  24303. msgstr ""
  24304. #. type: cindex
  24305. #: guix-git/doc/guix.texi:16627
  24306. #, no-wrap
  24307. msgid "nftables"
  24308. msgstr ""
  24309. #. type: defvr
  24310. #: guix-git/doc/guix.texi:16628
  24311. #, no-wrap
  24312. msgid "{Scheme Variable} nftables-service-type"
  24313. msgstr ""
  24314. #. type: defvr
  24315. #: guix-git/doc/guix.texi:16636
  24316. 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:"
  24317. msgstr ""
  24318. #. type: lisp
  24319. #: guix-git/doc/guix.texi:16639
  24320. #, no-wrap
  24321. msgid "(service nftables-service-type)\n"
  24322. msgstr ""
  24323. #. type: deftp
  24324. #: guix-git/doc/guix.texi:16642
  24325. #, no-wrap
  24326. msgid "{Data Type} nftables-configuration"
  24327. msgstr ""
  24328. #. type: deftp
  24329. #: guix-git/doc/guix.texi:16644
  24330. msgid "The data type representing the configuration of nftables."
  24331. msgstr ""
  24332. #. type: item
  24333. #: guix-git/doc/guix.texi:16646
  24334. #, no-wrap
  24335. msgid "@code{package} (default: @code{nftables})"
  24336. msgstr ""
  24337. #. type: table
  24338. #: guix-git/doc/guix.texi:16648
  24339. msgid "The nftables package that provides @command{nft}."
  24340. msgstr ""
  24341. #. type: item
  24342. #: guix-git/doc/guix.texi:16648
  24343. #, no-wrap
  24344. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  24345. msgstr ""
  24346. #. type: table
  24347. #: guix-git/doc/guix.texi:16651
  24348. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  24349. msgstr ""
  24350. #. type: cindex
  24351. #: guix-git/doc/guix.texi:16654
  24352. #, no-wrap
  24353. msgid "NTP (Network Time Protocol), service"
  24354. msgstr ""
  24355. #. type: cindex
  24356. #: guix-git/doc/guix.texi:16655
  24357. #, no-wrap
  24358. msgid "ntpd, service for the Network Time Protocol daemon"
  24359. msgstr ""
  24360. #. type: cindex
  24361. #: guix-git/doc/guix.texi:16656
  24362. #, no-wrap
  24363. msgid "real time clock"
  24364. msgstr ""
  24365. #. type: defvr
  24366. #: guix-git/doc/guix.texi:16657
  24367. #, no-wrap
  24368. msgid "{Scheme Variable} ntp-service-type"
  24369. msgstr ""
  24370. #. type: defvr
  24371. #: guix-git/doc/guix.texi:16661
  24372. 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."
  24373. msgstr ""
  24374. #. type: defvr
  24375. #: guix-git/doc/guix.texi:16664
  24376. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  24377. msgstr ""
  24378. #. type: deftp
  24379. #: guix-git/doc/guix.texi:16666
  24380. #, no-wrap
  24381. msgid "{Data Type} ntp-configuration"
  24382. msgstr ""
  24383. #. type: deftp
  24384. #: guix-git/doc/guix.texi:16668
  24385. msgid "This is the data type for the NTP service configuration."
  24386. msgstr ""
  24387. #. type: item
  24388. #: guix-git/doc/guix.texi:16670
  24389. #, no-wrap
  24390. msgid "@code{servers} (default: @code{%ntp-servers})"
  24391. msgstr ""
  24392. #. type: table
  24393. #: guix-git/doc/guix.texi:16674
  24394. 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."
  24395. msgstr ""
  24396. #. type: item
  24397. #: guix-git/doc/guix.texi:16675
  24398. #, no-wrap
  24399. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  24400. msgstr ""
  24401. #. type: table
  24402. #: guix-git/doc/guix.texi:16678
  24403. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  24404. msgstr ""
  24405. #. type: item
  24406. #: guix-git/doc/guix.texi:16679
  24407. #, no-wrap
  24408. msgid "@code{ntp} (default: @code{ntp})"
  24409. msgstr ""
  24410. #. type: table
  24411. #: guix-git/doc/guix.texi:16681
  24412. msgid "The NTP package to use."
  24413. msgstr ""
  24414. #. type: defvr
  24415. #: guix-git/doc/guix.texi:16684
  24416. #, no-wrap
  24417. msgid "{Scheme Variable} %ntp-servers"
  24418. msgstr ""
  24419. #. type: defvr
  24420. #: guix-git/doc/guix.texi:16687
  24421. 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}."
  24422. msgstr ""
  24423. #. type: deftp
  24424. #: guix-git/doc/guix.texi:16689
  24425. #, no-wrap
  24426. msgid "{Data Type} ntp-server"
  24427. msgstr ""
  24428. #. type: deftp
  24429. #: guix-git/doc/guix.texi:16691
  24430. msgid "The data type representing the configuration of a NTP server."
  24431. msgstr ""
  24432. #. type: item
  24433. #: guix-git/doc/guix.texi:16693
  24434. #, no-wrap
  24435. msgid "@code{type} (default: @code{'server})"
  24436. msgstr ""
  24437. #. type: table
  24438. #: guix-git/doc/guix.texi:16696
  24439. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  24440. msgstr ""
  24441. #. type: code{#1}
  24442. #: guix-git/doc/guix.texi:16697
  24443. #, no-wrap
  24444. msgid "address"
  24445. msgstr ""
  24446. #. type: table
  24447. #: guix-git/doc/guix.texi:16699
  24448. msgid "The address of the server, as a string."
  24449. msgstr ""
  24450. #. type: code{#1}
  24451. #: guix-git/doc/guix.texi:16700 guix-git/doc/guix.texi:32416
  24452. #: guix-git/doc/guix.texi:32436
  24453. #, no-wrap
  24454. msgid "options"
  24455. msgstr ""
  24456. #. type: table
  24457. #: guix-git/doc/guix.texi:16705
  24458. 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."
  24459. msgstr ""
  24460. #. type: example
  24461. #: guix-git/doc/guix.texi:16711
  24462. #, no-wrap
  24463. msgid ""
  24464. "(ntp-server\n"
  24465. " (type 'server)\n"
  24466. " (address \"some.ntp.server.org\")\n"
  24467. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  24468. msgstr ""
  24469. #. type: cindex
  24470. #: guix-git/doc/guix.texi:16715
  24471. #, no-wrap
  24472. msgid "OpenNTPD"
  24473. msgstr ""
  24474. #. type: deffn
  24475. #: guix-git/doc/guix.texi:16716
  24476. #, no-wrap
  24477. msgid "{Scheme Procedure} openntpd-service-type"
  24478. msgstr ""
  24479. #. type: deffn
  24480. #: guix-git/doc/guix.texi:16720
  24481. 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."
  24482. msgstr ""
  24483. #. type: lisp
  24484. #: guix-git/doc/guix.texi:16729
  24485. #, no-wrap
  24486. msgid ""
  24487. "(service\n"
  24488. " openntpd-service-type\n"
  24489. " (openntpd-configuration\n"
  24490. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  24491. " (sensor '(\"udcf0 correction 70000\"))\n"
  24492. " (constraint-from '(\"www.gnu.org\"))\n"
  24493. " (constraints-from '(\"https://www.google.com/\"))))\n"
  24494. "\n"
  24495. msgstr ""
  24496. #. type: defvr
  24497. #: guix-git/doc/guix.texi:16733
  24498. #, no-wrap
  24499. msgid "{Scheme Variable} %openntpd-servers"
  24500. msgstr ""
  24501. #. type: defvr
  24502. #: guix-git/doc/guix.texi:16736
  24503. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  24504. msgstr ""
  24505. #. type: deftp
  24506. #: guix-git/doc/guix.texi:16738
  24507. #, no-wrap
  24508. msgid "{Data Type} openntpd-configuration"
  24509. msgstr ""
  24510. #. type: item
  24511. #: guix-git/doc/guix.texi:16740
  24512. #, no-wrap
  24513. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  24514. msgstr ""
  24515. #. type: table
  24516. #: guix-git/doc/guix.texi:16742
  24517. msgid "The openntpd executable to use."
  24518. msgstr ""
  24519. #. type: item
  24520. #: guix-git/doc/guix.texi:16742
  24521. #, no-wrap
  24522. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  24523. msgstr ""
  24524. #. type: table
  24525. #: guix-git/doc/guix.texi:16744
  24526. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  24527. msgstr ""
  24528. #. type: item
  24529. #: guix-git/doc/guix.texi:16744
  24530. #, no-wrap
  24531. msgid "@code{query-from} (default: @code{'()})"
  24532. msgstr ""
  24533. #. type: table
  24534. #: guix-git/doc/guix.texi:16746
  24535. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  24536. msgstr ""
  24537. #. type: item
  24538. #: guix-git/doc/guix.texi:16746
  24539. #, no-wrap
  24540. msgid "@code{sensor} (default: @code{'()})"
  24541. msgstr ""
  24542. #. type: table
  24543. #: guix-git/doc/guix.texi:16751
  24544. 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."
  24545. msgstr ""
  24546. #. type: item
  24547. #: guix-git/doc/guix.texi:16751
  24548. #, no-wrap
  24549. msgid "@code{server} (default: @code{'()})"
  24550. msgstr ""
  24551. #. type: table
  24552. #: guix-git/doc/guix.texi:16753
  24553. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  24554. msgstr ""
  24555. #. type: item
  24556. #: guix-git/doc/guix.texi:16753
  24557. #, no-wrap
  24558. msgid "@code{servers} (default: @code{%openntp-servers})"
  24559. msgstr ""
  24560. #. type: table
  24561. #: guix-git/doc/guix.texi:16755
  24562. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  24563. msgstr ""
  24564. #. type: item
  24565. #: guix-git/doc/guix.texi:16755
  24566. #, no-wrap
  24567. msgid "@code{constraint-from} (default: @code{'()})"
  24568. msgstr ""
  24569. #. type: table
  24570. #: guix-git/doc/guix.texi:16762
  24571. 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."
  24572. msgstr ""
  24573. #. type: item
  24574. #: guix-git/doc/guix.texi:16762
  24575. #, no-wrap
  24576. msgid "@code{constraints-from} (default: @code{'()})"
  24577. msgstr ""
  24578. #. type: table
  24579. #: guix-git/doc/guix.texi:16766
  24580. 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."
  24581. msgstr ""
  24582. #. type: cindex
  24583. #: guix-git/doc/guix.texi:16769
  24584. #, no-wrap
  24585. msgid "inetd"
  24586. msgstr ""
  24587. #. type: deffn
  24588. #: guix-git/doc/guix.texi:16770
  24589. #, no-wrap
  24590. msgid "{Scheme variable} inetd-service-type"
  24591. msgstr ""
  24592. #. type: deffn
  24593. #: guix-git/doc/guix.texi:16775
  24594. 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."
  24595. msgstr ""
  24596. #. type: deffn
  24597. #: guix-git/doc/guix.texi:16781
  24598. 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}:"
  24599. msgstr ""
  24600. #. type: lisp
  24601. #: guix-git/doc/guix.texi:16804
  24602. #, no-wrap
  24603. msgid ""
  24604. "(service\n"
  24605. " inetd-service-type\n"
  24606. " (inetd-configuration\n"
  24607. " (entries (list\n"
  24608. " (inetd-entry\n"
  24609. " (name \"echo\")\n"
  24610. " (socket-type 'stream)\n"
  24611. " (protocol \"tcp\")\n"
  24612. " (wait? #f)\n"
  24613. " (user \"root\"))\n"
  24614. " (inetd-entry\n"
  24615. " (node \"127.0.0.1\")\n"
  24616. " (name \"smtp\")\n"
  24617. " (socket-type 'stream)\n"
  24618. " (protocol \"tcp\")\n"
  24619. " (wait? #f)\n"
  24620. " (user \"root\")\n"
  24621. " (program (file-append openssh \"/bin/ssh\"))\n"
  24622. " (arguments\n"
  24623. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  24624. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  24625. msgstr ""
  24626. #. type: deffn
  24627. #: guix-git/doc/guix.texi:16807
  24628. msgid "See below for more details about @code{inetd-configuration}."
  24629. msgstr ""
  24630. #. type: deftp
  24631. #: guix-git/doc/guix.texi:16809
  24632. #, no-wrap
  24633. msgid "{Data Type} inetd-configuration"
  24634. msgstr ""
  24635. #. type: deftp
  24636. #: guix-git/doc/guix.texi:16811
  24637. msgid "Data type representing the configuration of @command{inetd}."
  24638. msgstr ""
  24639. #. type: item
  24640. #: guix-git/doc/guix.texi:16813
  24641. #, no-wrap
  24642. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  24643. msgstr ""
  24644. #. type: table
  24645. #: guix-git/doc/guix.texi:16815
  24646. msgid "The @command{inetd} executable to use."
  24647. msgstr ""
  24648. #. type: item
  24649. #: guix-git/doc/guix.texi:16816 guix-git/doc/guix.texi:26491
  24650. #, no-wrap
  24651. msgid "@code{entries} (default: @code{'()})"
  24652. msgstr ""
  24653. #. type: table
  24654. #: guix-git/doc/guix.texi:16819
  24655. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  24656. msgstr ""
  24657. #. type: deftp
  24658. #: guix-git/doc/guix.texi:16822
  24659. #, no-wrap
  24660. msgid "{Data Type} inetd-entry"
  24661. msgstr ""
  24662. #. type: deftp
  24663. #: guix-git/doc/guix.texi:16826
  24664. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  24665. msgstr ""
  24666. #. type: item
  24667. #: guix-git/doc/guix.texi:16828
  24668. #, no-wrap
  24669. msgid "@code{node} (default: @code{#f})"
  24670. msgstr ""
  24671. #. type: table
  24672. #: guix-git/doc/guix.texi:16833
  24673. 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."
  24674. msgstr ""
  24675. #. type: table
  24676. #: guix-git/doc/guix.texi:16835
  24677. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  24678. msgstr ""
  24679. #. type: code{#1}
  24680. #: guix-git/doc/guix.texi:16835
  24681. #, no-wrap
  24682. msgid "socket-type"
  24683. msgstr ""
  24684. #. type: table
  24685. #: guix-git/doc/guix.texi:16838
  24686. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  24687. msgstr ""
  24688. #. type: code{#1}
  24689. #: guix-git/doc/guix.texi:16838
  24690. #, no-wrap
  24691. msgid "protocol"
  24692. msgstr ""
  24693. #. type: table
  24694. #: guix-git/doc/guix.texi:16840
  24695. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  24696. msgstr ""
  24697. #. type: item
  24698. #: guix-git/doc/guix.texi:16840
  24699. #, no-wrap
  24700. msgid "@code{wait?} (default: @code{#t})"
  24701. msgstr ""
  24702. #. type: table
  24703. #: guix-git/doc/guix.texi:16843
  24704. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  24705. msgstr ""
  24706. #. type: table
  24707. #: guix-git/doc/guix.texi:16848
  24708. 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\"}."
  24709. msgstr ""
  24710. #. type: item
  24711. #: guix-git/doc/guix.texi:16848
  24712. #, no-wrap
  24713. msgid "@code{program} (default: @code{\"internal\"})"
  24714. msgstr ""
  24715. #. type: table
  24716. #: guix-git/doc/guix.texi:16851
  24717. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  24718. msgstr ""
  24719. #. type: table
  24720. #: guix-git/doc/guix.texi:16856
  24721. 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\")}."
  24722. msgstr ""
  24723. #. type: deftp
  24724. #: guix-git/doc/guix.texi:16860
  24725. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  24726. msgstr ""
  24727. #. type: cindex
  24728. #: guix-git/doc/guix.texi:16862
  24729. #, no-wrap
  24730. msgid "opendht, distributed hash table network service"
  24731. msgstr ""
  24732. #. type: cindex
  24733. #: guix-git/doc/guix.texi:16863
  24734. #, no-wrap
  24735. msgid "dhtproxy, for use with jami"
  24736. msgstr ""
  24737. #. type: defvr
  24738. #: guix-git/doc/guix.texi:16864
  24739. #, no-wrap
  24740. msgid "{Scheme Variable} opendht-service-type"
  24741. msgstr ""
  24742. #. type: defvr
  24743. #: guix-git/doc/guix.texi:16869
  24744. 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."
  24745. msgstr ""
  24746. #. type: quotation
  24747. #: guix-git/doc/guix.texi:16879
  24748. 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."
  24749. msgstr ""
  24750. #. type: defvr
  24751. #: guix-git/doc/guix.texi:16883
  24752. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  24753. msgstr ""
  24754. #. type: deftp
  24755. #: guix-git/doc/guix.texi:16885
  24756. #, no-wrap
  24757. msgid "{Data Type} opendht-configuration"
  24758. msgstr ""
  24759. #. type: deftp
  24760. #: guix-git/doc/guix.texi:16887
  24761. msgid "This is the data type for the OpenDHT service configuration."
  24762. msgstr ""
  24763. #. type: deftp
  24764. #: guix-git/doc/guix.texi:16892
  24765. msgid "Available @code{opendht-configuration} fields are:"
  24766. msgstr ""
  24767. #. type: deftypevr
  24768. #: guix-git/doc/guix.texi:16893
  24769. #, no-wrap
  24770. msgid "{@code{opendht-configuration} parameter} package opendht"
  24771. msgstr ""
  24772. #. type: deftypevr
  24773. #: guix-git/doc/guix.texi:16895
  24774. msgid "The @code{opendht} package to use."
  24775. msgstr ""
  24776. #. type: deftypevr
  24777. #: guix-git/doc/guix.texi:16898
  24778. #, no-wrap
  24779. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  24780. msgstr ""
  24781. #. type: deftypevr
  24782. #: guix-git/doc/guix.texi:16900
  24783. msgid "Whether to enable the multicast local peer discovery mechanism."
  24784. msgstr ""
  24785. #. type: deftypevr
  24786. #: guix-git/doc/guix.texi:16902 guix-git/doc/guix.texi:16910
  24787. #: guix-git/doc/guix.texi:16918 guix-git/doc/guix.texi:18562
  24788. #: guix-git/doc/guix.texi:18632 guix-git/doc/guix.texi:18674
  24789. #: guix-git/doc/guix.texi:18694 guix-git/doc/guix.texi:18700
  24790. #: guix-git/doc/guix.texi:18716 guix-git/doc/guix.texi:18804
  24791. #: guix-git/doc/guix.texi:18892 guix-git/doc/guix.texi:19205
  24792. #: guix-git/doc/guix.texi:19218 guix-git/doc/guix.texi:20335
  24793. #: guix-git/doc/guix.texi:21813 guix-git/doc/guix.texi:21919
  24794. #: guix-git/doc/guix.texi:21984 guix-git/doc/guix.texi:21993
  24795. #: guix-git/doc/guix.texi:23226 guix-git/doc/guix.texi:23270
  24796. #: guix-git/doc/guix.texi:23287 guix-git/doc/guix.texi:23295
  24797. #: guix-git/doc/guix.texi:23310 guix-git/doc/guix.texi:23328
  24798. #: guix-git/doc/guix.texi:23352 guix-git/doc/guix.texi:23405
  24799. #: guix-git/doc/guix.texi:23538 guix-git/doc/guix.texi:23572
  24800. #: guix-git/doc/guix.texi:23608 guix-git/doc/guix.texi:23624
  24801. #: guix-git/doc/guix.texi:23652 guix-git/doc/guix.texi:23713
  24802. #: guix-git/doc/guix.texi:23796 guix-git/doc/guix.texi:27206
  24803. #: guix-git/doc/guix.texi:27220 guix-git/doc/guix.texi:27242
  24804. #: guix-git/doc/guix.texi:27361 guix-git/doc/guix.texi:27375
  24805. #: guix-git/doc/guix.texi:27396 guix-git/doc/guix.texi:27417
  24806. #: guix-git/doc/guix.texi:27424 guix-git/doc/guix.texi:27469
  24807. #: guix-git/doc/guix.texi:27476 guix-git/doc/guix.texi:28259
  24808. #: guix-git/doc/guix.texi:28273 guix-git/doc/guix.texi:28445
  24809. #: guix-git/doc/guix.texi:28490 guix-git/doc/guix.texi:28577
  24810. #: guix-git/doc/guix.texi:28779 guix-git/doc/guix.texi:28812
  24811. #: guix-git/doc/guix.texi:28952 guix-git/doc/guix.texi:28963
  24812. #: guix-git/doc/guix.texi:29214 guix-git/doc/guix.texi:30680
  24813. #: guix-git/doc/guix.texi:30689 guix-git/doc/guix.texi:30697
  24814. #: guix-git/doc/guix.texi:30705 guix-git/doc/guix.texi:30721
  24815. #: guix-git/doc/guix.texi:30737 guix-git/doc/guix.texi:30745
  24816. #: guix-git/doc/guix.texi:30753 guix-git/doc/guix.texi:30762
  24817. #: guix-git/doc/guix.texi:30771 guix-git/doc/guix.texi:30787
  24818. #: guix-git/doc/guix.texi:30851 guix-git/doc/guix.texi:30957
  24819. #: guix-git/doc/guix.texi:30965 guix-git/doc/guix.texi:30973
  24820. #: guix-git/doc/guix.texi:30998 guix-git/doc/guix.texi:31052
  24821. #: guix-git/doc/guix.texi:31100 guix-git/doc/guix.texi:31301
  24822. #: guix-git/doc/guix.texi:31308
  24823. msgid "Defaults to @samp{#f}."
  24824. msgstr ""
  24825. #. type: deftypevr
  24826. #: guix-git/doc/guix.texi:16905
  24827. #, no-wrap
  24828. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  24829. msgstr ""
  24830. #. type: deftypevr
  24831. #: guix-git/doc/guix.texi:16908
  24832. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  24833. msgstr ""
  24834. #. type: deftypevr
  24835. #: guix-git/doc/guix.texi:16913
  24836. #, no-wrap
  24837. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  24838. msgstr ""
  24839. #. type: deftypevr
  24840. #: guix-git/doc/guix.texi:16916
  24841. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  24842. msgstr ""
  24843. #. type: deftypevr
  24844. #: guix-git/doc/guix.texi:16921
  24845. #, no-wrap
  24846. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  24847. msgstr ""
  24848. #. type: deftypevr
  24849. #: guix-git/doc/guix.texi:16927
  24850. 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."
  24851. msgstr ""
  24852. #. type: deftypevr
  24853. #: guix-git/doc/guix.texi:16929
  24854. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  24855. msgstr ""
  24856. #. type: deftypevr
  24857. #: guix-git/doc/guix.texi:16932
  24858. #, no-wrap
  24859. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  24860. msgstr ""
  24861. #. type: deftypevr
  24862. #: guix-git/doc/guix.texi:16935
  24863. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  24864. msgstr ""
  24865. #. type: deftypevr
  24866. #: guix-git/doc/guix.texi:16937
  24867. msgid "Defaults to @samp{4222}."
  24868. msgstr ""
  24869. #. type: deftypevr
  24870. #: guix-git/doc/guix.texi:16940
  24871. #, no-wrap
  24872. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  24873. msgstr ""
  24874. #. type: deftypevr
  24875. #: guix-git/doc/guix.texi:16942
  24876. msgid "Spawn a proxy server listening on the specified port."
  24877. msgstr ""
  24878. #. type: deftypevr
  24879. #: guix-git/doc/guix.texi:16944 guix-git/doc/guix.texi:16951
  24880. #: guix-git/doc/guix.texi:23234 guix-git/doc/guix.texi:23278
  24881. #: guix-git/doc/guix.texi:23491 guix-git/doc/guix.texi:23547
  24882. #: guix-git/doc/guix.texi:23721 guix-git/doc/guix.texi:23732
  24883. #: guix-git/doc/guix.texi:23805 guix-git/doc/guix.texi:24530
  24884. #: guix-git/doc/guix.texi:24573 guix-git/doc/guix.texi:24581
  24885. #: guix-git/doc/guix.texi:24589 guix-git/doc/guix.texi:24597
  24886. #: guix-git/doc/guix.texi:24606 guix-git/doc/guix.texi:24614
  24887. #: guix-git/doc/guix.texi:24621 guix-git/doc/guix.texi:24629
  24888. #: guix-git/doc/guix.texi:24637 guix-git/doc/guix.texi:24647
  24889. #: guix-git/doc/guix.texi:24654 guix-git/doc/guix.texi:24678
  24890. #: guix-git/doc/guix.texi:24686 guix-git/doc/guix.texi:24712
  24891. #: guix-git/doc/guix.texi:24721 guix-git/doc/guix.texi:24730
  24892. #: guix-git/doc/guix.texi:24739 guix-git/doc/guix.texi:24748
  24893. #: guix-git/doc/guix.texi:24757 guix-git/doc/guix.texi:24765
  24894. #: guix-git/doc/guix.texi:24773 guix-git/doc/guix.texi:24780
  24895. #: guix-git/doc/guix.texi:24788 guix-git/doc/guix.texi:24795
  24896. #: guix-git/doc/guix.texi:24803 guix-git/doc/guix.texi:24811
  24897. #: guix-git/doc/guix.texi:24820 guix-git/doc/guix.texi:24829
  24898. #: guix-git/doc/guix.texi:24837 guix-git/doc/guix.texi:24845
  24899. #: guix-git/doc/guix.texi:24853 guix-git/doc/guix.texi:24864
  24900. #: guix-git/doc/guix.texi:24874 guix-git/doc/guix.texi:24885
  24901. #: guix-git/doc/guix.texi:24894 guix-git/doc/guix.texi:24904
  24902. #: guix-git/doc/guix.texi:24912 guix-git/doc/guix.texi:24923
  24903. #: guix-git/doc/guix.texi:24932 guix-git/doc/guix.texi:24942
  24904. #: guix-git/doc/guix.texi:28172 guix-git/doc/guix.texi:28179
  24905. #: guix-git/doc/guix.texi:28186 guix-git/doc/guix.texi:28193
  24906. #: guix-git/doc/guix.texi:28200 guix-git/doc/guix.texi:28207
  24907. #: guix-git/doc/guix.texi:28215 guix-git/doc/guix.texi:28223
  24908. #: guix-git/doc/guix.texi:28230 guix-git/doc/guix.texi:28237
  24909. #: guix-git/doc/guix.texi:28244 guix-git/doc/guix.texi:28251
  24910. #: guix-git/doc/guix.texi:28281 guix-git/doc/guix.texi:28319
  24911. #: guix-git/doc/guix.texi:28326 guix-git/doc/guix.texi:28335
  24912. #: guix-git/doc/guix.texi:28357 guix-git/doc/guix.texi:28365
  24913. #: guix-git/doc/guix.texi:28372 guix-git/doc/guix.texi:28527
  24914. #: guix-git/doc/guix.texi:28547 guix-git/doc/guix.texi:28562
  24915. #: guix-git/doc/guix.texi:28569 guix-git/doc/guix.texi:31253
  24916. #: guix-git/doc/guix.texi:31261 guix-git/doc/guix.texi:31269
  24917. #: guix-git/doc/guix.texi:31277 guix-git/doc/guix.texi:31285
  24918. #: guix-git/doc/guix.texi:31293
  24919. msgid "Defaults to @samp{disabled}."
  24920. msgstr ""
  24921. #. type: deftypevr
  24922. #: guix-git/doc/guix.texi:16947
  24923. #, no-wrap
  24924. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  24925. msgstr ""
  24926. #. type: deftypevr
  24927. #: guix-git/doc/guix.texi:16949
  24928. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  24929. msgstr ""
  24930. #. type: cindex
  24931. #: guix-git/doc/guix.texi:16955
  24932. #, no-wrap
  24933. msgid "Tor"
  24934. msgstr ""
  24935. #. type: defvr
  24936. #: guix-git/doc/guix.texi:16956
  24937. #, no-wrap
  24938. msgid "{Scheme Variable} tor-service-type"
  24939. msgstr ""
  24940. #. type: defvr
  24941. #: guix-git/doc/guix.texi:16961
  24942. 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."
  24943. msgstr ""
  24944. #. type: deftp
  24945. #: guix-git/doc/guix.texi:16964
  24946. #, no-wrap
  24947. msgid "{Data Type} tor-configuration"
  24948. msgstr ""
  24949. #. type: item
  24950. #: guix-git/doc/guix.texi:16966
  24951. #, no-wrap
  24952. msgid "@code{tor} (default: @code{tor})"
  24953. msgstr ""
  24954. #. type: table
  24955. #: guix-git/doc/guix.texi:16971
  24956. 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."
  24957. msgstr ""
  24958. #. type: item
  24959. #: guix-git/doc/guix.texi:16972
  24960. #, no-wrap
  24961. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  24962. msgstr ""
  24963. #. type: table
  24964. #: guix-git/doc/guix.texi:16978
  24965. 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."
  24966. msgstr ""
  24967. #. type: item
  24968. #: guix-git/doc/guix.texi:16979
  24969. #, no-wrap
  24970. msgid "@code{hidden-services} (default: @code{'()})"
  24971. msgstr ""
  24972. #. type: table
  24973. #: guix-git/doc/guix.texi:16985
  24974. 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."
  24975. msgstr ""
  24976. #. type: item
  24977. #: guix-git/doc/guix.texi:16986
  24978. #, no-wrap
  24979. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  24980. msgstr ""
  24981. #. type: table
  24982. #: guix-git/doc/guix.texi:16993
  24983. 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."
  24984. msgstr ""
  24985. #. type: table
  24986. #: guix-git/doc/guix.texi:16998
  24987. 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."
  24988. msgstr ""
  24989. #. type: item
  24990. #: guix-git/doc/guix.texi:16999
  24991. #, no-wrap
  24992. msgid "@code{control-socket?} (default: @code{#f})"
  24993. msgstr ""
  24994. #. type: table
  24995. #: guix-git/doc/guix.texi:17005
  24996. 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."
  24997. msgstr ""
  24998. #. type: cindex
  24999. #: guix-git/doc/guix.texi:17009
  25000. #, no-wrap
  25001. msgid "hidden service"
  25002. msgstr ""
  25003. #. type: deffn
  25004. #: guix-git/doc/guix.texi:17010
  25005. #, no-wrap
  25006. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  25007. msgstr ""
  25008. #. type: deffn
  25009. #: guix-git/doc/guix.texi:17013
  25010. 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:"
  25011. msgstr ""
  25012. #. type: example
  25013. #: guix-git/doc/guix.texi:17017
  25014. #, no-wrap
  25015. msgid ""
  25016. " '((22 \"127.0.0.1:22\")\n"
  25017. " (80 \"127.0.0.1:8080\"))\n"
  25018. msgstr ""
  25019. #. type: deffn
  25020. #: guix-git/doc/guix.texi:17021
  25021. 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."
  25022. msgstr ""
  25023. #. type: deffn
  25024. #: guix-git/doc/guix.texi:17025
  25025. 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."
  25026. msgstr ""
  25027. #. type: deffn
  25028. #: guix-git/doc/guix.texi:17028
  25029. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  25030. msgstr ""
  25031. #. type: Plain text
  25032. #: guix-git/doc/guix.texi:17031
  25033. msgid "The @code{(gnu services rsync)} module provides the following services:"
  25034. msgstr ""
  25035. #. type: Plain text
  25036. #: guix-git/doc/guix.texi:17035
  25037. 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."
  25038. msgstr ""
  25039. #. type: deffn
  25040. #: guix-git/doc/guix.texi:17036
  25041. #, no-wrap
  25042. msgid "{Scheme Variable} rsync-service-type"
  25043. msgstr ""
  25044. #. type: deffn
  25045. #: guix-git/doc/guix.texi:17040
  25046. 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:"
  25047. msgstr ""
  25048. #. type: lisp
  25049. #: guix-git/doc/guix.texi:17043
  25050. #, no-wrap
  25051. msgid "(service rsync-service-type)\n"
  25052. msgstr ""
  25053. #. type: deffn
  25054. #: guix-git/doc/guix.texi:17046
  25055. msgid "See below for details about @code{rsync-configuration}."
  25056. msgstr ""
  25057. #. type: deftp
  25058. #: guix-git/doc/guix.texi:17048
  25059. #, no-wrap
  25060. msgid "{Data Type} rsync-configuration"
  25061. msgstr ""
  25062. #. type: deftp
  25063. #: guix-git/doc/guix.texi:17050
  25064. msgid "Data type representing the configuration for @code{rsync-service}."
  25065. msgstr ""
  25066. #. type: item
  25067. #: guix-git/doc/guix.texi:17052
  25068. #, no-wrap
  25069. msgid "@code{package} (default: @var{rsync})"
  25070. msgstr ""
  25071. #. type: table
  25072. #: guix-git/doc/guix.texi:17054
  25073. msgid "@code{rsync} package to use."
  25074. msgstr ""
  25075. #. type: item
  25076. #: guix-git/doc/guix.texi:17055
  25077. #, no-wrap
  25078. msgid "@code{port-number} (default: @code{873})"
  25079. msgstr ""
  25080. #. type: table
  25081. #: guix-git/doc/guix.texi:17059
  25082. 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."
  25083. msgstr ""
  25084. #. type: item
  25085. #: guix-git/doc/guix.texi:17060
  25086. #, no-wrap
  25087. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  25088. msgstr ""
  25089. #. type: table
  25090. #: guix-git/doc/guix.texi:17062
  25091. msgid "Name of the file where @command{rsync} writes its PID."
  25092. msgstr ""
  25093. #. type: item
  25094. #: guix-git/doc/guix.texi:17063
  25095. #, no-wrap
  25096. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  25097. msgstr ""
  25098. #. type: table
  25099. #: guix-git/doc/guix.texi:17065
  25100. msgid "Name of the file where @command{rsync} writes its lock file."
  25101. msgstr ""
  25102. #. type: item
  25103. #: guix-git/doc/guix.texi:17066
  25104. #, no-wrap
  25105. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  25106. msgstr ""
  25107. #. type: table
  25108. #: guix-git/doc/guix.texi:17068
  25109. msgid "Name of the file where @command{rsync} writes its log file."
  25110. msgstr ""
  25111. #. type: item
  25112. #: guix-git/doc/guix.texi:17069
  25113. #, no-wrap
  25114. msgid "@code{use-chroot?} (default: @var{#t})"
  25115. msgstr ""
  25116. #. type: table
  25117. #: guix-git/doc/guix.texi:17071
  25118. msgid "Whether to use chroot for @command{rsync} shared directory."
  25119. msgstr ""
  25120. #. type: item
  25121. #: guix-git/doc/guix.texi:17072
  25122. #, no-wrap
  25123. msgid "@code{share-path} (default: @file{/srv/rsync})"
  25124. msgstr ""
  25125. #. type: table
  25126. #: guix-git/doc/guix.texi:17074
  25127. msgid "Location of the @command{rsync} shared directory."
  25128. msgstr ""
  25129. #. type: item
  25130. #: guix-git/doc/guix.texi:17075
  25131. #, no-wrap
  25132. msgid "@code{share-comment} (default: @code{\"Rsync share\"})"
  25133. msgstr ""
  25134. #. type: table
  25135. #: guix-git/doc/guix.texi:17077
  25136. msgid "Comment of the @command{rsync} shared directory."
  25137. msgstr ""
  25138. #. type: item
  25139. #: guix-git/doc/guix.texi:17078
  25140. #, no-wrap
  25141. msgid "@code{read-only?} (default: @var{#f})"
  25142. msgstr ""
  25143. #. type: table
  25144. #: guix-git/doc/guix.texi:17080
  25145. msgid "Read-write permissions to shared directory."
  25146. msgstr ""
  25147. #. type: item
  25148. #: guix-git/doc/guix.texi:17081
  25149. #, no-wrap
  25150. msgid "@code{timeout} (default: @code{300})"
  25151. msgstr ""
  25152. #. type: table
  25153. #: guix-git/doc/guix.texi:17083
  25154. msgid "I/O timeout in seconds."
  25155. msgstr ""
  25156. #. type: item
  25157. #: guix-git/doc/guix.texi:17084
  25158. #, no-wrap
  25159. msgid "@code{user} (default: @var{\"root\"})"
  25160. msgstr ""
  25161. #. type: table
  25162. #: guix-git/doc/guix.texi:17086
  25163. msgid "Owner of the @code{rsync} process."
  25164. msgstr ""
  25165. #. type: item
  25166. #: guix-git/doc/guix.texi:17087
  25167. #, no-wrap
  25168. msgid "@code{group} (default: @var{\"root\"})"
  25169. msgstr ""
  25170. #. type: table
  25171. #: guix-git/doc/guix.texi:17089
  25172. msgid "Group of the @code{rsync} process."
  25173. msgstr ""
  25174. #. type: item
  25175. #: guix-git/doc/guix.texi:17090
  25176. #, no-wrap
  25177. msgid "@code{uid} (default: @var{\"rsyncd\"})"
  25178. msgstr ""
  25179. #. type: table
  25180. #: guix-git/doc/guix.texi:17093
  25181. 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}."
  25182. msgstr ""
  25183. #. type: item
  25184. #: guix-git/doc/guix.texi:17094
  25185. #, no-wrap
  25186. msgid "@code{gid} (default: @var{\"rsyncd\"})"
  25187. msgstr ""
  25188. #. type: table
  25189. #: guix-git/doc/guix.texi:17096 guix-git/doc/guix.texi:17539
  25190. msgid "Group name or group ID that will be used when accessing the module."
  25191. msgstr ""
  25192. #. type: Plain text
  25193. #: guix-git/doc/guix.texi:17101
  25194. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  25195. msgstr ""
  25196. #. type: cindex
  25197. #: guix-git/doc/guix.texi:17101
  25198. #, no-wrap
  25199. msgid "syncthing"
  25200. msgstr ""
  25201. #. type: Plain text
  25202. #: guix-git/doc/guix.texi:17106
  25203. 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."
  25204. msgstr ""
  25205. #. type: deffn
  25206. #: guix-git/doc/guix.texi:17107
  25207. #, no-wrap
  25208. msgid "{Scheme Variable} syncthing-service-type"
  25209. msgstr ""
  25210. #. type: deffn
  25211. #: guix-git/doc/guix.texi:17111
  25212. 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:"
  25213. msgstr ""
  25214. #. type: lisp
  25215. #: guix-git/doc/guix.texi:17115
  25216. #, no-wrap
  25217. msgid ""
  25218. "(service syncthing-service-type\n"
  25219. " (syncthing-configuration (user \"alice\")))\n"
  25220. msgstr ""
  25221. #. type: deffn
  25222. #: guix-git/doc/guix.texi:17118
  25223. msgid "See below for details about @code{syncthing-configuration}."
  25224. msgstr ""
  25225. #. type: deftp
  25226. #: guix-git/doc/guix.texi:17119
  25227. #, no-wrap
  25228. msgid "{Data Type} syncthing-configuration"
  25229. msgstr ""
  25230. #. type: deftp
  25231. #: guix-git/doc/guix.texi:17121
  25232. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  25233. msgstr ""
  25234. #. type: item
  25235. #: guix-git/doc/guix.texi:17123
  25236. #, no-wrap
  25237. msgid "@code{syncthing} (default: @var{syncthing})"
  25238. msgstr ""
  25239. #. type: table
  25240. #: guix-git/doc/guix.texi:17125
  25241. msgid "@code{syncthing} package to use."
  25242. msgstr ""
  25243. #. type: item
  25244. #: guix-git/doc/guix.texi:17126
  25245. #, no-wrap
  25246. msgid "@code{arguments} (default: @var{'()})"
  25247. msgstr ""
  25248. #. type: table
  25249. #: guix-git/doc/guix.texi:17128
  25250. msgid "List of command-line arguments passing to @code{syncthing} binary."
  25251. msgstr ""
  25252. #. type: item
  25253. #: guix-git/doc/guix.texi:17129
  25254. #, no-wrap
  25255. msgid "@code{logflags} (default: @var{0})"
  25256. msgstr ""
  25257. #. type: table
  25258. #: guix-git/doc/guix.texi:17132
  25259. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  25260. msgstr ""
  25261. #. type: item
  25262. #: guix-git/doc/guix.texi:17133
  25263. #, no-wrap
  25264. msgid "@code{user} (default: @var{#f})"
  25265. msgstr ""
  25266. #. type: table
  25267. #: guix-git/doc/guix.texi:17136
  25268. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  25269. msgstr ""
  25270. #. type: item
  25271. #: guix-git/doc/guix.texi:17137
  25272. #, no-wrap
  25273. msgid "@code{group} (default: @var{\"users\"})"
  25274. msgstr ""
  25275. #. type: table
  25276. #: guix-git/doc/guix.texi:17140
  25277. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  25278. msgstr ""
  25279. #. type: item
  25280. #: guix-git/doc/guix.texi:17141
  25281. #, no-wrap
  25282. msgid "@code{home} (default: @var{#f})"
  25283. msgstr ""
  25284. #. type: table
  25285. #: guix-git/doc/guix.texi:17144
  25286. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  25287. msgstr ""
  25288. #. type: Plain text
  25289. #: guix-git/doc/guix.texi:17150
  25290. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  25291. msgstr ""
  25292. #. type: cindex
  25293. #: guix-git/doc/guix.texi:17150 guix-git/doc/guix.texi:17189
  25294. #: guix-git/doc/guix.texi:34307
  25295. #, no-wrap
  25296. msgid "SSH"
  25297. msgstr ""
  25298. #. type: cindex
  25299. #: guix-git/doc/guix.texi:17151 guix-git/doc/guix.texi:17190
  25300. #: guix-git/doc/guix.texi:34308
  25301. #, no-wrap
  25302. msgid "SSH server"
  25303. msgstr ""
  25304. #. type: deffn
  25305. #: guix-git/doc/guix.texi:17153
  25306. #, no-wrap
  25307. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  25308. msgstr ""
  25309. #. type: deffn
  25310. #: guix-git/doc/guix.texi:17162
  25311. 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."
  25312. msgstr ""
  25313. #. type: deffn
  25314. #: guix-git/doc/guix.texi:17168
  25315. 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}."
  25316. msgstr ""
  25317. #. type: deffn
  25318. #: guix-git/doc/guix.texi:17172
  25319. 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."
  25320. msgstr ""
  25321. #. type: deffn
  25322. #: guix-git/doc/guix.texi:17177
  25323. 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})."
  25324. msgstr ""
  25325. #. type: deffn
  25326. #: guix-git/doc/guix.texi:17181
  25327. 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."
  25328. msgstr ""
  25329. #. type: deffn
  25330. #: guix-git/doc/guix.texi:17185
  25331. 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."
  25332. msgstr ""
  25333. #. type: deffn
  25334. #: guix-git/doc/guix.texi:17187
  25335. msgid "The other options should be self-descriptive."
  25336. msgstr ""
  25337. #. type: deffn
  25338. #: guix-git/doc/guix.texi:17191
  25339. #, no-wrap
  25340. msgid "{Scheme Variable} openssh-service-type"
  25341. msgstr ""
  25342. #. type: deffn
  25343. #: guix-git/doc/guix.texi:17195
  25344. 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:"
  25345. msgstr ""
  25346. #. type: lisp
  25347. #: guix-git/doc/guix.texi:17204
  25348. #, no-wrap
  25349. msgid ""
  25350. "(service openssh-service-type\n"
  25351. " (openssh-configuration\n"
  25352. " (x11-forwarding? #t)\n"
  25353. " (permit-root-login 'prohibit-password)\n"
  25354. " (authorized-keys\n"
  25355. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  25356. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  25357. msgstr ""
  25358. #. type: deffn
  25359. #: guix-git/doc/guix.texi:17207
  25360. msgid "See below for details about @code{openssh-configuration}."
  25361. msgstr ""
  25362. #. type: deffn
  25363. #: guix-git/doc/guix.texi:17210
  25364. msgid "This service can be extended with extra authorized keys, as in this example:"
  25365. msgstr ""
  25366. #. type: lisp
  25367. #: guix-git/doc/guix.texi:17215
  25368. #, no-wrap
  25369. msgid ""
  25370. "(service-extension openssh-service-type\n"
  25371. " (const `((\"charlie\"\n"
  25372. " ,(local-file \"charlie.pub\")))))\n"
  25373. msgstr ""
  25374. #. type: deftp
  25375. #: guix-git/doc/guix.texi:17218
  25376. #, no-wrap
  25377. msgid "{Data Type} openssh-configuration"
  25378. msgstr ""
  25379. #. type: deftp
  25380. #: guix-git/doc/guix.texi:17220
  25381. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  25382. msgstr ""
  25383. #. type: item
  25384. #: guix-git/doc/guix.texi:17222
  25385. #, no-wrap
  25386. msgid "@code{openssh} (default @var{openssh})"
  25387. msgstr ""
  25388. #. type: table
  25389. #: guix-git/doc/guix.texi:17224
  25390. msgid "The Openssh package to use."
  25391. msgstr ""
  25392. #. type: item
  25393. #: guix-git/doc/guix.texi:17225
  25394. #, no-wrap
  25395. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  25396. msgstr ""
  25397. #. type: table
  25398. #: guix-git/doc/guix.texi:17227
  25399. msgid "Name of the file where @command{sshd} writes its PID."
  25400. msgstr ""
  25401. #. type: item
  25402. #: guix-git/doc/guix.texi:17228
  25403. #, no-wrap
  25404. msgid "@code{port-number} (default: @code{22})"
  25405. msgstr ""
  25406. #. type: table
  25407. #: guix-git/doc/guix.texi:17230
  25408. msgid "TCP port on which @command{sshd} listens for incoming connections."
  25409. msgstr ""
  25410. #. type: item
  25411. #: guix-git/doc/guix.texi:17231
  25412. #, no-wrap
  25413. msgid "@code{permit-root-login} (default: @code{#f})"
  25414. msgstr ""
  25415. #. type: table
  25416. #: guix-git/doc/guix.texi:17236
  25417. 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."
  25418. msgstr ""
  25419. #. type: item
  25420. #: guix-git/doc/guix.texi:17237 guix-git/doc/guix.texi:17398
  25421. #, no-wrap
  25422. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  25423. msgstr ""
  25424. #. type: table
  25425. #: guix-git/doc/guix.texi:17240
  25426. msgid "When true, users with empty passwords may log in. When false, they may not."
  25427. msgstr ""
  25428. #. type: item
  25429. #: guix-git/doc/guix.texi:17241 guix-git/doc/guix.texi:17401
  25430. #, no-wrap
  25431. msgid "@code{password-authentication?} (default: @code{#t})"
  25432. msgstr ""
  25433. #. type: table
  25434. #: guix-git/doc/guix.texi:17244
  25435. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  25436. msgstr ""
  25437. #. type: item
  25438. #: guix-git/doc/guix.texi:17245
  25439. #, no-wrap
  25440. msgid "@code{public-key-authentication?} (default: @code{#t})"
  25441. msgstr ""
  25442. #. type: table
  25443. #: guix-git/doc/guix.texi:17248
  25444. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  25445. msgstr ""
  25446. #. type: table
  25447. #: guix-git/doc/guix.texi:17251
  25448. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  25449. msgstr ""
  25450. #. type: item
  25451. #: guix-git/doc/guix.texi:17252
  25452. #, no-wrap
  25453. msgid "@code{x11-forwarding?} (default: @code{#f})"
  25454. msgstr ""
  25455. #. type: table
  25456. #: guix-git/doc/guix.texi:17256
  25457. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  25458. msgstr ""
  25459. #. type: item
  25460. #: guix-git/doc/guix.texi:17257
  25461. #, no-wrap
  25462. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  25463. msgstr ""
  25464. #. type: table
  25465. #: guix-git/doc/guix.texi:17259
  25466. msgid "Whether to allow agent forwarding."
  25467. msgstr ""
  25468. #. type: item
  25469. #: guix-git/doc/guix.texi:17260
  25470. #, no-wrap
  25471. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  25472. msgstr ""
  25473. #. type: table
  25474. #: guix-git/doc/guix.texi:17262
  25475. msgid "Whether to allow TCP forwarding."
  25476. msgstr ""
  25477. #. type: item
  25478. #: guix-git/doc/guix.texi:17263
  25479. #, no-wrap
  25480. msgid "@code{gateway-ports?} (default: @code{#f})"
  25481. msgstr ""
  25482. #. type: table
  25483. #: guix-git/doc/guix.texi:17265
  25484. msgid "Whether to allow gateway ports."
  25485. msgstr ""
  25486. #. type: item
  25487. #: guix-git/doc/guix.texi:17266
  25488. #, no-wrap
  25489. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  25490. msgstr ""
  25491. #. type: table
  25492. #: guix-git/doc/guix.texi:17269
  25493. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  25494. msgstr ""
  25495. #. type: item
  25496. #: guix-git/doc/guix.texi:17270
  25497. #, no-wrap
  25498. msgid "@code{use-pam?} (default: @code{#t})"
  25499. msgstr ""
  25500. #. type: table
  25501. #: guix-git/doc/guix.texi:17276
  25502. 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."
  25503. msgstr ""
  25504. #. type: table
  25505. #: guix-git/doc/guix.texi:17281
  25506. 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?}."
  25507. msgstr ""
  25508. #. type: item
  25509. #: guix-git/doc/guix.texi:17282
  25510. #, no-wrap
  25511. msgid "@code{print-last-log?} (default: @code{#t})"
  25512. msgstr ""
  25513. #. type: table
  25514. #: guix-git/doc/guix.texi:17285
  25515. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  25516. msgstr ""
  25517. #. type: item
  25518. #: guix-git/doc/guix.texi:17286
  25519. #, no-wrap
  25520. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  25521. msgstr ""
  25522. #. type: table
  25523. #: guix-git/doc/guix.texi:17288
  25524. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  25525. msgstr ""
  25526. #. type: table
  25527. #: guix-git/doc/guix.texi:17292
  25528. 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."
  25529. msgstr ""
  25530. #. type: table
  25531. #: guix-git/doc/guix.texi:17295
  25532. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  25533. msgstr ""
  25534. #. type: lisp
  25535. #: guix-git/doc/guix.texi:17300
  25536. #, no-wrap
  25537. msgid ""
  25538. "(service openssh-service-type\n"
  25539. " (openssh-configuration\n"
  25540. " (subsystems\n"
  25541. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  25542. msgstr ""
  25543. #. type: item
  25544. #: guix-git/doc/guix.texi:17302
  25545. #, no-wrap
  25546. msgid "@code{accepted-environment} (default: @code{'()})"
  25547. msgstr ""
  25548. #. type: table
  25549. #: guix-git/doc/guix.texi:17304
  25550. msgid "List of strings describing which environment variables may be exported."
  25551. msgstr ""
  25552. #. type: table
  25553. #: guix-git/doc/guix.texi:17307
  25554. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  25555. msgstr ""
  25556. #. type: table
  25557. #: guix-git/doc/guix.texi:17312
  25558. 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."
  25559. msgstr ""
  25560. #. type: lisp
  25561. #: guix-git/doc/guix.texi:17317
  25562. #, no-wrap
  25563. msgid ""
  25564. "(service openssh-service-type\n"
  25565. " (openssh-configuration\n"
  25566. " (accepted-environment '(\"COLORTERM\"))))\n"
  25567. msgstr ""
  25568. #. type: item
  25569. #: guix-git/doc/guix.texi:17319
  25570. #, no-wrap
  25571. msgid "@code{authorized-keys} (default: @code{'()})"
  25572. msgstr ""
  25573. #. type: cindex
  25574. #: guix-git/doc/guix.texi:17320
  25575. #, no-wrap
  25576. msgid "authorized keys, SSH"
  25577. msgstr ""
  25578. #. type: cindex
  25579. #: guix-git/doc/guix.texi:17321
  25580. #, no-wrap
  25581. msgid "SSH authorized keys"
  25582. msgstr ""
  25583. #. type: table
  25584. #: guix-git/doc/guix.texi:17325
  25585. 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:"
  25586. msgstr ""
  25587. #. type: lisp
  25588. #: guix-git/doc/guix.texi:17332
  25589. #, no-wrap
  25590. msgid ""
  25591. "(openssh-configuration\n"
  25592. " (authorized-keys\n"
  25593. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  25594. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  25595. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  25596. msgstr ""
  25597. #. type: table
  25598. #: guix-git/doc/guix.texi:17337
  25599. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  25600. msgstr ""
  25601. #. type: table
  25602. #: guix-git/doc/guix.texi:17340
  25603. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  25604. msgstr ""
  25605. #. type: table
  25606. #: guix-git/doc/guix.texi:17343
  25607. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  25608. msgstr ""
  25609. #. type: item
  25610. #: guix-git/doc/guix.texi:17344 guix-git/doc/guix.texi:17775
  25611. #, no-wrap
  25612. msgid "@code{log-level} (default: @code{'info})"
  25613. msgstr ""
  25614. #. type: table
  25615. #: guix-git/doc/guix.texi:17348
  25616. 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."
  25617. msgstr ""
  25618. #. type: item
  25619. #: guix-git/doc/guix.texi:17349 guix-git/doc/guix.texi:20171
  25620. #: guix-git/doc/guix.texi:25311
  25621. #, no-wrap
  25622. msgid "@code{extra-content} (default: @code{\"\"})"
  25623. msgstr ""
  25624. #. type: table
  25625. #: guix-git/doc/guix.texi:17354
  25626. 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:"
  25627. msgstr ""
  25628. #. type: lisp
  25629. #: guix-git/doc/guix.texi:17360
  25630. #, no-wrap
  25631. msgid ""
  25632. "(openssh-configuration\n"
  25633. " (extra-content \"\\\n"
  25634. "Match Address 192.168.0.1\n"
  25635. " PermitRootLogin yes\"))\n"
  25636. msgstr ""
  25637. #. type: deffn
  25638. #: guix-git/doc/guix.texi:17365
  25639. #, no-wrap
  25640. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  25641. msgstr ""
  25642. #. type: deffn
  25643. #: guix-git/doc/guix.texi:17369
  25644. 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."
  25645. msgstr ""
  25646. #. type: deffn
  25647. #: guix-git/doc/guix.texi:17372
  25648. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  25649. msgstr ""
  25650. #. type: lisp
  25651. #: guix-git/doc/guix.texi:17376
  25652. #, no-wrap
  25653. msgid ""
  25654. "(dropbear-service (dropbear-configuration\n"
  25655. " (port-number 1234)))\n"
  25656. msgstr ""
  25657. #. type: deftp
  25658. #: guix-git/doc/guix.texi:17379
  25659. #, no-wrap
  25660. msgid "{Data Type} dropbear-configuration"
  25661. msgstr ""
  25662. #. type: deftp
  25663. #: guix-git/doc/guix.texi:17381
  25664. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  25665. msgstr ""
  25666. #. type: item
  25667. #: guix-git/doc/guix.texi:17383
  25668. #, no-wrap
  25669. msgid "@code{dropbear} (default: @var{dropbear})"
  25670. msgstr ""
  25671. #. type: table
  25672. #: guix-git/doc/guix.texi:17385
  25673. msgid "The Dropbear package to use."
  25674. msgstr ""
  25675. #. type: item
  25676. #: guix-git/doc/guix.texi:17386
  25677. #, no-wrap
  25678. msgid "@code{port-number} (default: 22)"
  25679. msgstr ""
  25680. #. type: table
  25681. #: guix-git/doc/guix.texi:17388
  25682. msgid "The TCP port where the daemon waits for incoming connections."
  25683. msgstr ""
  25684. #. type: item
  25685. #: guix-git/doc/guix.texi:17389
  25686. #, no-wrap
  25687. msgid "@code{syslog-output?} (default: @code{#t})"
  25688. msgstr ""
  25689. #. type: table
  25690. #: guix-git/doc/guix.texi:17391
  25691. msgid "Whether to enable syslog output."
  25692. msgstr ""
  25693. #. type: item
  25694. #: guix-git/doc/guix.texi:17392
  25695. #, no-wrap
  25696. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  25697. msgstr ""
  25698. #. type: table
  25699. #: guix-git/doc/guix.texi:17394
  25700. msgid "File name of the daemon's PID file."
  25701. msgstr ""
  25702. #. type: item
  25703. #: guix-git/doc/guix.texi:17395
  25704. #, no-wrap
  25705. msgid "@code{root-login?} (default: @code{#f})"
  25706. msgstr ""
  25707. #. type: table
  25708. #: guix-git/doc/guix.texi:17397
  25709. msgid "Whether to allow @code{root} logins."
  25710. msgstr ""
  25711. #. type: table
  25712. #: guix-git/doc/guix.texi:17400
  25713. msgid "Whether to allow empty passwords."
  25714. msgstr ""
  25715. #. type: table
  25716. #: guix-git/doc/guix.texi:17403
  25717. msgid "Whether to enable password-based authentication."
  25718. msgstr ""
  25719. #. type: cindex
  25720. #: guix-git/doc/guix.texi:17406
  25721. #, no-wrap
  25722. msgid "AutoSSH"
  25723. msgstr ""
  25724. #. type: deffn
  25725. #: guix-git/doc/guix.texi:17407
  25726. #, no-wrap
  25727. msgid "{Scheme Variable} autossh-service-type"
  25728. msgstr ""
  25729. #. type: deffn
  25730. #: guix-git/doc/guix.texi:17415
  25731. 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."
  25732. msgstr ""
  25733. #. type: deffn
  25734. #: guix-git/doc/guix.texi:17419
  25735. 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."
  25736. msgstr ""
  25737. #. type: deffn
  25738. #: guix-git/doc/guix.texi:17424
  25739. 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:"
  25740. msgstr ""
  25741. #. type: lisp
  25742. #: guix-git/doc/guix.texi:17430
  25743. #, no-wrap
  25744. msgid ""
  25745. "(service autossh-service-type\n"
  25746. " (autossh-configuration\n"
  25747. " (user \"pino\")\n"
  25748. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  25749. msgstr ""
  25750. #. type: deftp
  25751. #: guix-git/doc/guix.texi:17433
  25752. #, no-wrap
  25753. msgid "{Data Type} autossh-configuration"
  25754. msgstr ""
  25755. #. type: deftp
  25756. #: guix-git/doc/guix.texi:17435
  25757. msgid "This data type represents the configuration of an AutoSSH service."
  25758. msgstr ""
  25759. #. type: item
  25760. #: guix-git/doc/guix.texi:17438
  25761. #, no-wrap
  25762. msgid "@code{user} (default @code{\"autossh\"})"
  25763. msgstr ""
  25764. #. type: table
  25765. #: guix-git/doc/guix.texi:17441
  25766. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  25767. msgstr ""
  25768. #. type: item
  25769. #: guix-git/doc/guix.texi:17442
  25770. #, no-wrap
  25771. msgid "@code{poll} (default @code{600})"
  25772. msgstr ""
  25773. #. type: table
  25774. #: guix-git/doc/guix.texi:17444
  25775. msgid "Specifies the connection poll time in seconds."
  25776. msgstr ""
  25777. #. type: item
  25778. #: guix-git/doc/guix.texi:17445
  25779. #, no-wrap
  25780. msgid "@code{first-poll} (default @code{#f})"
  25781. msgstr ""
  25782. #. type: table
  25783. #: guix-git/doc/guix.texi:17451
  25784. 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}."
  25785. msgstr ""
  25786. #. type: item
  25787. #: guix-git/doc/guix.texi:17452
  25788. #, no-wrap
  25789. msgid "@code{gate-time} (default @code{30})"
  25790. msgstr ""
  25791. #. type: table
  25792. #: guix-git/doc/guix.texi:17455
  25793. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  25794. msgstr ""
  25795. #. type: item
  25796. #: guix-git/doc/guix.texi:17456
  25797. #, no-wrap
  25798. msgid "@code{log-level} (default @code{1})"
  25799. msgstr ""
  25800. #. type: table
  25801. #: guix-git/doc/guix.texi:17459
  25802. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  25803. msgstr ""
  25804. #. type: item
  25805. #: guix-git/doc/guix.texi:17460
  25806. #, no-wrap
  25807. msgid "@code{max-start} (default @code{#f})"
  25808. msgstr ""
  25809. #. type: table
  25810. #: guix-git/doc/guix.texi:17463
  25811. 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."
  25812. msgstr ""
  25813. #. type: item
  25814. #: guix-git/doc/guix.texi:17464
  25815. #, no-wrap
  25816. msgid "@code{message} (default @code{\"\"})"
  25817. msgstr ""
  25818. #. type: table
  25819. #: guix-git/doc/guix.texi:17466
  25820. msgid "The message to append to the echo message sent when testing connections."
  25821. msgstr ""
  25822. #. type: item
  25823. #: guix-git/doc/guix.texi:17467
  25824. #, no-wrap
  25825. msgid "@code{port} (default @code{\"0\"})"
  25826. msgstr ""
  25827. #. type: table
  25828. #: guix-git/doc/guix.texi:17477
  25829. 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."
  25830. msgstr ""
  25831. #. type: item
  25832. #: guix-git/doc/guix.texi:17478
  25833. #, no-wrap
  25834. msgid "@code{ssh-options} (default @code{'()})"
  25835. msgstr ""
  25836. #. type: table
  25837. #: guix-git/doc/guix.texi:17482
  25838. 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."
  25839. msgstr ""
  25840. #. type: cindex
  25841. #: guix-git/doc/guix.texi:17486
  25842. #, no-wrap
  25843. msgid "WebSSH"
  25844. msgstr ""
  25845. #. type: deffn
  25846. #: guix-git/doc/guix.texi:17487
  25847. #, no-wrap
  25848. msgid "{Scheme Variable} webssh-service-type"
  25849. msgstr ""
  25850. #. type: deffn
  25851. #: guix-git/doc/guix.texi:17493
  25852. 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."
  25853. msgstr ""
  25854. #. type: deffn
  25855. #: guix-git/doc/guix.texi:17499
  25856. 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:"
  25857. msgstr ""
  25858. #. type: lisp
  25859. #: guix-git/doc/guix.texi:17507
  25860. #, no-wrap
  25861. msgid ""
  25862. "(service webssh-service-type\n"
  25863. " (webssh-configuration (address \"127.0.0.1\")\n"
  25864. " (port 8888)\n"
  25865. " (policy 'reject)\n"
  25866. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  25867. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  25868. "\n"
  25869. msgstr ""
  25870. #. type: lisp
  25871. #: guix-git/doc/guix.texi:17523
  25872. #, no-wrap
  25873. msgid ""
  25874. "(service nginx-service-type\n"
  25875. " (nginx-configuration\n"
  25876. " (server-blocks\n"
  25877. " (list\n"
  25878. " (nginx-server-configuration\n"
  25879. " (inherit %webssh-configuration-nginx)\n"
  25880. " (server-name '(\"webssh.example.com\"))\n"
  25881. " (listen '(\"443 ssl\"))\n"
  25882. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  25883. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  25884. " (locations\n"
  25885. " (cons (nginx-location-configuration\n"
  25886. " (uri \"/.well-known\")\n"
  25887. " (body '(\"root /var/www;\")))\n"
  25888. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  25889. msgstr ""
  25890. #. type: deftp
  25891. #: guix-git/doc/guix.texi:17526
  25892. #, no-wrap
  25893. msgid "{Data Type} webssh-configuration"
  25894. msgstr ""
  25895. #. type: deftp
  25896. #: guix-git/doc/guix.texi:17528
  25897. msgid "Data type representing the configuration for @code{webssh-service}."
  25898. msgstr ""
  25899. #. type: item
  25900. #: guix-git/doc/guix.texi:17530
  25901. #, no-wrap
  25902. msgid "@code{package} (default: @var{webssh})"
  25903. msgstr ""
  25904. #. type: table
  25905. #: guix-git/doc/guix.texi:17532
  25906. msgid "@code{webssh} package to use."
  25907. msgstr ""
  25908. #. type: item
  25909. #: guix-git/doc/guix.texi:17533
  25910. #, no-wrap
  25911. msgid "@code{user-name} (default: @var{\"webssh\"})"
  25912. msgstr ""
  25913. #. type: table
  25914. #: guix-git/doc/guix.texi:17536
  25915. msgid "User name or user ID that file transfers to and from that module should take place."
  25916. msgstr ""
  25917. #. type: item
  25918. #: guix-git/doc/guix.texi:17537
  25919. #, no-wrap
  25920. msgid "@code{group-name} (default: @var{\"webssh\"})"
  25921. msgstr ""
  25922. #. type: item
  25923. #: guix-git/doc/guix.texi:17540
  25924. #, no-wrap
  25925. msgid "@code{address} (default: @var{#f})"
  25926. msgstr ""
  25927. #. type: table
  25928. #: guix-git/doc/guix.texi:17542
  25929. msgid "IP address on which @command{webssh} listens for incoming connections."
  25930. msgstr ""
  25931. #. type: item
  25932. #: guix-git/doc/guix.texi:17543
  25933. #, no-wrap
  25934. msgid "@code{port} (default: @var{8888})"
  25935. msgstr ""
  25936. #. type: table
  25937. #: guix-git/doc/guix.texi:17545
  25938. msgid "TCP port on which @command{webssh} listens for incoming connections."
  25939. msgstr ""
  25940. #. type: item
  25941. #: guix-git/doc/guix.texi:17546
  25942. #, no-wrap
  25943. msgid "@code{policy} (default: @var{#f})"
  25944. msgstr ""
  25945. #. type: table
  25946. #: guix-git/doc/guix.texi:17548
  25947. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  25948. msgstr ""
  25949. #. type: item
  25950. #: guix-git/doc/guix.texi:17549
  25951. #, no-wrap
  25952. msgid "@code{known-hosts} (default: @var{'()})"
  25953. msgstr ""
  25954. #. type: table
  25955. #: guix-git/doc/guix.texi:17551
  25956. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  25957. msgstr ""
  25958. #. type: item
  25959. #: guix-git/doc/guix.texi:17552
  25960. #, no-wrap
  25961. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  25962. msgstr ""
  25963. #. type: table
  25964. #: guix-git/doc/guix.texi:17554
  25965. msgid "Name of the file where @command{webssh} writes its log file."
  25966. msgstr ""
  25967. #. type: item
  25968. #: guix-git/doc/guix.texi:17555
  25969. #, no-wrap
  25970. msgid "@code{log-level} (default: @var{#f})"
  25971. msgstr ""
  25972. #. type: table
  25973. #: guix-git/doc/guix.texi:17557
  25974. msgid "Logging level."
  25975. msgstr ""
  25976. #. type: defvr
  25977. #: guix-git/doc/guix.texi:17561
  25978. #, no-wrap
  25979. msgid "{Scheme Variable} %facebook-host-aliases"
  25980. msgstr ""
  25981. #. type: defvr
  25982. #: guix-git/doc/guix.texi:17567
  25983. 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}."
  25984. msgstr ""
  25985. #. type: defvr
  25986. #: guix-git/doc/guix.texi:17571
  25987. 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}}):"
  25988. msgstr ""
  25989. #. type: lisp
  25990. #: guix-git/doc/guix.texi:17584
  25991. #, no-wrap
  25992. msgid ""
  25993. "(operating-system\n"
  25994. " (host-name \"mymachine\")\n"
  25995. " ;; ...\n"
  25996. " (hosts-file\n"
  25997. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  25998. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  25999. " (plain-file \"hosts\"\n"
  26000. " (string-append (local-host-aliases host-name)\n"
  26001. " %facebook-host-aliases))))\n"
  26002. msgstr ""
  26003. #. type: defvr
  26004. #: guix-git/doc/guix.texi:17588
  26005. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  26006. msgstr ""
  26007. #. type: Plain text
  26008. #: guix-git/doc/guix.texi:17591
  26009. msgid "The @code{(gnu services avahi)} provides the following definition."
  26010. msgstr ""
  26011. #. type: defvr
  26012. #: guix-git/doc/guix.texi:17592
  26013. #, no-wrap
  26014. msgid "{Scheme Variable} avahi-service-type"
  26015. msgstr ""
  26016. #. type: defvr
  26017. #: guix-git/doc/guix.texi:17597
  26018. 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."
  26019. msgstr ""
  26020. #. type: defvr
  26021. #: guix-git/doc/guix.texi:17602
  26022. 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."
  26023. msgstr ""
  26024. #. type: defvr
  26025. #: guix-git/doc/guix.texi:17605
  26026. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  26027. msgstr ""
  26028. #. type: deftp
  26029. #: guix-git/doc/guix.texi:17607
  26030. #, no-wrap
  26031. msgid "{Data Type} avahi-configuration"
  26032. msgstr ""
  26033. #. type: deftp
  26034. #: guix-git/doc/guix.texi:17609
  26035. msgid "Data type representation the configuration for Avahi."
  26036. msgstr ""
  26037. #. type: item
  26038. #: guix-git/doc/guix.texi:17612
  26039. #, no-wrap
  26040. msgid "@code{host-name} (default: @code{#f})"
  26041. msgstr ""
  26042. #. type: table
  26043. #: guix-git/doc/guix.texi:17615
  26044. 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."
  26045. msgstr ""
  26046. #. type: item
  26047. #: guix-git/doc/guix.texi:17616 guix-git/doc/guix.texi:27965
  26048. #, no-wrap
  26049. msgid "@code{publish?} (default: @code{#t})"
  26050. msgstr ""
  26051. #. type: table
  26052. #: guix-git/doc/guix.texi:17619
  26053. msgid "When true, allow host names and services to be published (broadcast) over the network."
  26054. msgstr ""
  26055. #. type: item
  26056. #: guix-git/doc/guix.texi:17620
  26057. #, no-wrap
  26058. msgid "@code{publish-workstation?} (default: @code{#t})"
  26059. msgstr ""
  26060. #. type: table
  26061. #: guix-git/doc/guix.texi:17624
  26062. 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:"
  26063. msgstr ""
  26064. #. type: example
  26065. #: guix-git/doc/guix.texi:17627
  26066. #, no-wrap
  26067. msgid "avahi-browse _workstation._tcp\n"
  26068. msgstr ""
  26069. #. type: item
  26070. #: guix-git/doc/guix.texi:17629
  26071. #, no-wrap
  26072. msgid "@code{wide-area?} (default: @code{#f})"
  26073. msgstr ""
  26074. #. type: table
  26075. #: guix-git/doc/guix.texi:17631
  26076. msgid "When true, DNS-SD over unicast DNS is enabled."
  26077. msgstr ""
  26078. #. type: item
  26079. #: guix-git/doc/guix.texi:17632
  26080. #, no-wrap
  26081. msgid "@code{ipv4?} (default: @code{#t})"
  26082. msgstr ""
  26083. #. type: itemx
  26084. #: guix-git/doc/guix.texi:17633
  26085. #, no-wrap
  26086. msgid "@code{ipv6?} (default: @code{#t})"
  26087. msgstr ""
  26088. #. type: table
  26089. #: guix-git/doc/guix.texi:17635
  26090. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  26091. msgstr ""
  26092. #. type: item
  26093. #: guix-git/doc/guix.texi:17636
  26094. #, no-wrap
  26095. msgid "@code{domains-to-browse} (default: @code{'()})"
  26096. msgstr ""
  26097. #. type: table
  26098. #: guix-git/doc/guix.texi:17638
  26099. msgid "This is a list of domains to browse."
  26100. msgstr ""
  26101. #. type: deffn
  26102. #: guix-git/doc/guix.texi:17641
  26103. #, no-wrap
  26104. msgid "{Scheme Variable} openvswitch-service-type"
  26105. msgstr ""
  26106. #. type: deffn
  26107. #: guix-git/doc/guix.texi:17645
  26108. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  26109. msgstr ""
  26110. #. type: deftp
  26111. #: guix-git/doc/guix.texi:17647
  26112. #, no-wrap
  26113. msgid "{Data Type} openvswitch-configuration"
  26114. msgstr ""
  26115. #. type: deftp
  26116. #: guix-git/doc/guix.texi:17651
  26117. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  26118. msgstr ""
  26119. #. type: item
  26120. #: guix-git/doc/guix.texi:17653
  26121. #, no-wrap
  26122. msgid "@code{package} (default: @var{openvswitch})"
  26123. msgstr ""
  26124. #. type: table
  26125. #: guix-git/doc/guix.texi:17655
  26126. msgid "Package object of the Open vSwitch."
  26127. msgstr ""
  26128. #. type: defvr
  26129. #: guix-git/doc/guix.texi:17659
  26130. #, no-wrap
  26131. msgid "{Scheme Variable} pagekite-service-type"
  26132. msgstr ""
  26133. #. type: defvr
  26134. #: guix-git/doc/guix.texi:17664
  26135. 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."
  26136. msgstr ""
  26137. #. type: defvr
  26138. #: guix-git/doc/guix.texi:17666
  26139. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  26140. msgstr ""
  26141. #. type: lisp
  26142. #: guix-git/doc/guix.texi:17673
  26143. #, no-wrap
  26144. msgid ""
  26145. "(service pagekite-service-type\n"
  26146. " (pagekite-configuration\n"
  26147. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  26148. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  26149. " (extra-file \"/etc/pagekite.rc\")))\n"
  26150. msgstr ""
  26151. #. type: deftp
  26152. #: guix-git/doc/guix.texi:17676
  26153. #, no-wrap
  26154. msgid "{Data Type} pagekite-configuration"
  26155. msgstr ""
  26156. #. type: deftp
  26157. #: guix-git/doc/guix.texi:17678
  26158. msgid "Data type representing the configuration of PageKite."
  26159. msgstr ""
  26160. #. type: item
  26161. #: guix-git/doc/guix.texi:17680
  26162. #, no-wrap
  26163. msgid "@code{package} (default: @var{pagekite})"
  26164. msgstr ""
  26165. #. type: table
  26166. #: guix-git/doc/guix.texi:17682
  26167. msgid "Package object of PageKite."
  26168. msgstr ""
  26169. #. type: item
  26170. #: guix-git/doc/guix.texi:17683
  26171. #, no-wrap
  26172. msgid "@code{kitename} (default: @code{#f})"
  26173. msgstr ""
  26174. #. type: table
  26175. #: guix-git/doc/guix.texi:17685
  26176. msgid "PageKite name for authenticating to the frontend server."
  26177. msgstr ""
  26178. #. type: item
  26179. #: guix-git/doc/guix.texi:17686
  26180. #, no-wrap
  26181. msgid "@code{kitesecret} (default: @code{#f})"
  26182. msgstr ""
  26183. #. type: table
  26184. #: guix-git/doc/guix.texi:17689
  26185. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  26186. msgstr ""
  26187. #. type: item
  26188. #: guix-git/doc/guix.texi:17690
  26189. #, no-wrap
  26190. msgid "@code{frontend} (default: @code{#f})"
  26191. msgstr ""
  26192. #. type: table
  26193. #: guix-git/doc/guix.texi:17693
  26194. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  26195. msgstr ""
  26196. #. type: item
  26197. #: guix-git/doc/guix.texi:17694
  26198. #, no-wrap
  26199. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  26200. msgstr ""
  26201. #. type: table
  26202. #: guix-git/doc/guix.texi:17697
  26203. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  26204. msgstr ""
  26205. #. type: item
  26206. #: guix-git/doc/guix.texi:17698
  26207. #, no-wrap
  26208. msgid "@code{extra-file} (default: @code{#f})"
  26209. msgstr ""
  26210. #. type: table
  26211. #: guix-git/doc/guix.texi:17701
  26212. 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."
  26213. msgstr ""
  26214. #. type: defvr
  26215. #: guix-git/doc/guix.texi:17705
  26216. #, no-wrap
  26217. msgid "{Scheme Variable} yggdrasil-service-type"
  26218. msgstr ""
  26219. #. type: defvr
  26220. #: guix-git/doc/guix.texi:17709
  26221. 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."
  26222. msgstr ""
  26223. #. type: quotation
  26224. #: guix-git/doc/guix.texi:17716
  26225. 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}"
  26226. msgstr ""
  26227. #. type: defvr
  26228. #: guix-git/doc/guix.texi:17720
  26229. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  26230. msgstr ""
  26231. #. type: defvr
  26232. #: guix-git/doc/guix.texi:17724
  26233. 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})."
  26234. msgstr ""
  26235. #. type: lisp
  26236. #: guix-git/doc/guix.texi:17736
  26237. #, no-wrap
  26238. msgid ""
  26239. ";; part of the operating-system declaration\n"
  26240. "(service yggdrasil-service-type\n"
  26241. " (yggdrasil-configuration\n"
  26242. " (autoconf? #f) ;; use only the public peers\n"
  26243. " (json-config\n"
  26244. " ;; choose one from\n"
  26245. " ;; https://github.com/yggdrasil-network/public-peers\n"
  26246. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  26247. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  26248. " ))\n"
  26249. msgstr ""
  26250. #. type: example
  26251. #: guix-git/doc/guix.texi:17743
  26252. #, no-wrap
  26253. msgid ""
  26254. "# sample content for /etc/yggdrasil-private.conf\n"
  26255. "@{\n"
  26256. " # Your public encryption key. Your peers may ask you for this to put\n"
  26257. " # into their AllowedEncryptionPublicKeys configuration.\n"
  26258. " EncryptionPublicKey: 378dc5...\n"
  26259. "\n"
  26260. msgstr ""
  26261. #. type: example
  26262. #: guix-git/doc/guix.texi:17746
  26263. #, no-wrap
  26264. msgid ""
  26265. " # Your private encryption key. DO NOT share this with anyone!\n"
  26266. " EncryptionPrivateKey: 0777...\n"
  26267. "\n"
  26268. msgstr ""
  26269. #. type: example
  26270. #: guix-git/doc/guix.texi:17750
  26271. #, no-wrap
  26272. msgid ""
  26273. " # Your public signing key. You should not ordinarily need to share\n"
  26274. " # this with anyone.\n"
  26275. " SigningPublicKey: e1664...\n"
  26276. "\n"
  26277. msgstr ""
  26278. #. type: example
  26279. #: guix-git/doc/guix.texi:17754
  26280. #, no-wrap
  26281. msgid ""
  26282. " # Your private signing key. DO NOT share this with anyone!\n"
  26283. " SigningPrivateKey: 0589d...\n"
  26284. "@}\n"
  26285. msgstr ""
  26286. #. type: deftp
  26287. #: guix-git/doc/guix.texi:17757
  26288. #, no-wrap
  26289. msgid "{Data Type} yggdrasil-configuration"
  26290. msgstr ""
  26291. #. type: deftp
  26292. #: guix-git/doc/guix.texi:17759
  26293. msgid "Data type representing the configuration of Yggdrasil."
  26294. msgstr ""
  26295. #. type: item
  26296. #: guix-git/doc/guix.texi:17761
  26297. #, no-wrap
  26298. msgid "@code{package} (default: @code{yggdrasil})"
  26299. msgstr ""
  26300. #. type: table
  26301. #: guix-git/doc/guix.texi:17763
  26302. msgid "Package object of Yggdrasil."
  26303. msgstr ""
  26304. #. type: item
  26305. #: guix-git/doc/guix.texi:17764
  26306. #, no-wrap
  26307. msgid "@code{json-config} (default: @code{'()})"
  26308. msgstr ""
  26309. #. type: table
  26310. #: guix-git/doc/guix.texi:17770
  26311. 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."
  26312. msgstr ""
  26313. #. type: item
  26314. #: guix-git/doc/guix.texi:17771
  26315. #, no-wrap
  26316. msgid "@code{autoconf?} (default: @code{#f})"
  26317. msgstr ""
  26318. #. type: table
  26319. #: guix-git/doc/guix.texi:17774
  26320. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  26321. msgstr ""
  26322. #. type: table
  26323. #: guix-git/doc/guix.texi:17777
  26324. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  26325. msgstr ""
  26326. #. type: item
  26327. #: guix-git/doc/guix.texi:17778
  26328. #, no-wrap
  26329. msgid "@code{log-to} (default: @code{'stdout})"
  26330. msgstr ""
  26331. #. type: table
  26332. #: guix-git/doc/guix.texi:17782
  26333. 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."
  26334. msgstr ""
  26335. #. type: item
  26336. #: guix-git/doc/guix.texi:17783
  26337. #, no-wrap
  26338. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  26339. msgstr ""
  26340. #. type: table
  26341. #: guix-git/doc/guix.texi:17790
  26342. 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:"
  26343. msgstr ""
  26344. #. type: code{#1}
  26345. #: guix-git/doc/guix.texi:17792
  26346. #, no-wrap
  26347. msgid "EncryptionPublicKey"
  26348. msgstr ""
  26349. #. type: code{#1}
  26350. #: guix-git/doc/guix.texi:17793
  26351. #, no-wrap
  26352. msgid "EncryptionPrivateKey"
  26353. msgstr ""
  26354. #. type: code{#1}
  26355. #: guix-git/doc/guix.texi:17794
  26356. #, no-wrap
  26357. msgid "SigningPublicKey"
  26358. msgstr ""
  26359. #. type: code{#1}
  26360. #: guix-git/doc/guix.texi:17795
  26361. #, no-wrap
  26362. msgid "SigningPrivateKey"
  26363. msgstr ""
  26364. #. type: cindex
  26365. #: guix-git/doc/guix.texi:17800
  26366. #, no-wrap
  26367. msgid "IPFS"
  26368. msgstr ""
  26369. #. type: defvr
  26370. #: guix-git/doc/guix.texi:17801
  26371. #, no-wrap
  26372. msgid "{Scheme Variable} ipfs-service-type"
  26373. msgstr ""
  26374. #. type: defvr
  26375. #: guix-git/doc/guix.texi:17805
  26376. 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."
  26377. msgstr ""
  26378. #. type: defvr
  26379. #: guix-git/doc/guix.texi:17807
  26380. msgid "Here's an example configuration, using some non-standard ports:"
  26381. msgstr ""
  26382. #. type: lisp
  26383. #: guix-git/doc/guix.texi:17813
  26384. #, no-wrap
  26385. msgid ""
  26386. "(service ipfs-service-type\n"
  26387. " (ipfs-configuration\n"
  26388. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  26389. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  26390. msgstr ""
  26391. #. type: deftp
  26392. #: guix-git/doc/guix.texi:17816
  26393. #, no-wrap
  26394. msgid "{Data Type} ipfs-configuration"
  26395. msgstr ""
  26396. #. type: deftp
  26397. #: guix-git/doc/guix.texi:17818
  26398. msgid "Data type representing the configuration of IPFS."
  26399. msgstr ""
  26400. #. type: item
  26401. #: guix-git/doc/guix.texi:17820
  26402. #, no-wrap
  26403. msgid "@code{package} (default: @code{go-ipfs})"
  26404. msgstr ""
  26405. #. type: table
  26406. #: guix-git/doc/guix.texi:17822
  26407. msgid "Package object of IPFS."
  26408. msgstr ""
  26409. #. type: item
  26410. #: guix-git/doc/guix.texi:17823
  26411. #, no-wrap
  26412. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  26413. msgstr ""
  26414. #. type: table
  26415. #: guix-git/doc/guix.texi:17825
  26416. msgid "Address of the gateway, in ‘multiaddress’ format."
  26417. msgstr ""
  26418. #. type: item
  26419. #: guix-git/doc/guix.texi:17826
  26420. #, no-wrap
  26421. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  26422. msgstr ""
  26423. #. type: table
  26424. #: guix-git/doc/guix.texi:17828
  26425. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  26426. msgstr ""
  26427. #. type: cindex
  26428. #: guix-git/doc/guix.texi:17831
  26429. #, no-wrap
  26430. msgid "keepalived"
  26431. msgstr ""
  26432. #. type: deffn
  26433. #: guix-git/doc/guix.texi:17832
  26434. #, no-wrap
  26435. msgid "{Scheme Variable} keepalived-service-type"
  26436. msgstr ""
  26437. #. type: deffn
  26438. #: guix-git/doc/guix.texi:17837
  26439. 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:"
  26440. msgstr ""
  26441. #. type: lisp
  26442. #: guix-git/doc/guix.texi:17842
  26443. #, no-wrap
  26444. msgid ""
  26445. "(service keepalived-service-type\n"
  26446. " (keepalived-configuration\n"
  26447. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  26448. msgstr ""
  26449. #. type: deffn
  26450. #: guix-git/doc/guix.texi:17845
  26451. msgid "where @file{keepalived-master.conf}:"
  26452. msgstr ""
  26453. #. type: example
  26454. #: guix-git/doc/guix.texi:17857
  26455. #, no-wrap
  26456. msgid ""
  26457. "vrrp_instance my-group @{\n"
  26458. " state MASTER\n"
  26459. " interface enp9s0\n"
  26460. " virtual_router_id 100\n"
  26461. " priority 100\n"
  26462. " unicast_peer @{ 10.0.0.2 @}\n"
  26463. " virtual_ipaddress @{\n"
  26464. " 10.0.0.4/24\n"
  26465. " @}\n"
  26466. "@}\n"
  26467. msgstr ""
  26468. #. type: deffn
  26469. #: guix-git/doc/guix.texi:17860
  26470. msgid "and for backup machine:"
  26471. msgstr ""
  26472. #. type: lisp
  26473. #: guix-git/doc/guix.texi:17865
  26474. #, no-wrap
  26475. msgid ""
  26476. "(service keepalived-service-type\n"
  26477. " (keepalived-configuration\n"
  26478. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  26479. msgstr ""
  26480. #. type: deffn
  26481. #: guix-git/doc/guix.texi:17868
  26482. msgid "where @file{keepalived-backup.conf}:"
  26483. msgstr ""
  26484. #. type: example
  26485. #: guix-git/doc/guix.texi:17880
  26486. #, no-wrap
  26487. msgid ""
  26488. "vrrp_instance my-group @{\n"
  26489. " state BACKUP\n"
  26490. " interface enp9s0\n"
  26491. " virtual_router_id 100\n"
  26492. " priority 99\n"
  26493. " unicast_peer @{ 10.0.0.3 @}\n"
  26494. " virtual_ipaddress @{\n"
  26495. " 10.0.0.4/24\n"
  26496. " @}\n"
  26497. "@}\n"
  26498. msgstr ""
  26499. #. type: cindex
  26500. #: guix-git/doc/guix.texi:17886
  26501. #, no-wrap
  26502. msgid "unattended upgrades"
  26503. msgstr ""
  26504. #. type: cindex
  26505. #: guix-git/doc/guix.texi:17887
  26506. #, no-wrap
  26507. msgid "upgrades, unattended"
  26508. msgstr ""
  26509. #. type: Plain text
  26510. #: guix-git/doc/guix.texi:17892
  26511. 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:"
  26512. msgstr ""
  26513. #. type: itemize
  26514. #: guix-git/doc/guix.texi:17897
  26515. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  26516. msgstr ""
  26517. #. type: itemize
  26518. #: guix-git/doc/guix.texi:17901
  26519. 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;"
  26520. msgstr ""
  26521. #. type: itemize
  26522. #: guix-git/doc/guix.texi:17904
  26523. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  26524. msgstr ""
  26525. #. type: itemize
  26526. #: guix-git/doc/guix.texi:17907
  26527. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  26528. msgstr ""
  26529. #. type: Plain text
  26530. #: guix-git/doc/guix.texi:17912
  26531. 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:"
  26532. msgstr ""
  26533. #. type: lisp
  26534. #: guix-git/doc/guix.texi:17915
  26535. #, no-wrap
  26536. msgid "(service unattended-upgrade-service-type)\n"
  26537. msgstr ""
  26538. #. type: Plain text
  26539. #: guix-git/doc/guix.texi:17922
  26540. 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."
  26541. msgstr ""
  26542. #. type: Plain text
  26543. #: guix-git/doc/guix.texi:17928
  26544. 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."
  26545. msgstr ""
  26546. #. type: Plain text
  26547. #: guix-git/doc/guix.texi:17932
  26548. 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)."
  26549. msgstr ""
  26550. #. type: defvr
  26551. #: guix-git/doc/guix.texi:17933
  26552. #, no-wrap
  26553. msgid "{Scheme Variable} unattended-upgrade-service-type"
  26554. msgstr ""
  26555. #. type: defvr
  26556. #: guix-git/doc/guix.texi:17937
  26557. 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."
  26558. msgstr ""
  26559. #. type: defvr
  26560. #: guix-git/doc/guix.texi:17940
  26561. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  26562. msgstr ""
  26563. #. type: deftp
  26564. #: guix-git/doc/guix.texi:17942
  26565. #, no-wrap
  26566. msgid "{Data Type} unattended-upgrade-configuration"
  26567. msgstr ""
  26568. #. type: deftp
  26569. #: guix-git/doc/guix.texi:17945
  26570. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  26571. msgstr ""
  26572. #. type: item
  26573. #: guix-git/doc/guix.texi:17947
  26574. #, no-wrap
  26575. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  26576. msgstr ""
  26577. #. type: table
  26578. #: guix-git/doc/guix.texi:17951
  26579. 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})."
  26580. msgstr ""
  26581. #. type: item
  26582. #: guix-git/doc/guix.texi:17952
  26583. #, no-wrap
  26584. msgid "@code{channels} (default: @code{#~%default-channels})"
  26585. msgstr ""
  26586. #. type: table
  26587. #: guix-git/doc/guix.texi:17956
  26588. 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."
  26589. msgstr ""
  26590. #. type: item
  26591. #: guix-git/doc/guix.texi:17957
  26592. #, no-wrap
  26593. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  26594. msgstr ""
  26595. #. type: table
  26596. #: guix-git/doc/guix.texi:17960
  26597. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  26598. msgstr ""
  26599. #. type: table
  26600. #: guix-git/doc/guix.texi:17966
  26601. 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:"
  26602. msgstr ""
  26603. #. type: lisp
  26604. #: guix-git/doc/guix.texi:17972
  26605. #, no-wrap
  26606. msgid ""
  26607. "(unattended-upgrade-configuration\n"
  26608. " (operating-system-file\n"
  26609. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  26610. " \"/config.scm\")))\n"
  26611. msgstr ""
  26612. #. type: table
  26613. #: guix-git/doc/guix.texi:17979
  26614. 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}."
  26615. msgstr ""
  26616. #. type: item
  26617. #: guix-git/doc/guix.texi:17980
  26618. #, no-wrap
  26619. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  26620. msgstr ""
  26621. #. type: table
  26622. #: guix-git/doc/guix.texi:17983
  26623. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  26624. msgstr ""
  26625. #. type: table
  26626. #: guix-git/doc/guix.texi:17990
  26627. 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."
  26628. msgstr ""
  26629. #. type: table
  26630. #: guix-git/doc/guix.texi:17994
  26631. 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}."
  26632. msgstr ""
  26633. #. type: table
  26634. #: guix-git/doc/guix.texi:17997
  26635. 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."
  26636. msgstr ""
  26637. #. type: item
  26638. #: guix-git/doc/guix.texi:17998
  26639. #, no-wrap
  26640. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  26641. msgstr ""
  26642. #. type: table
  26643. #: guix-git/doc/guix.texi:18002
  26644. 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."
  26645. msgstr ""
  26646. #. type: quotation
  26647. #: guix-git/doc/guix.texi:18007
  26648. 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."
  26649. msgstr ""
  26650. #. type: item
  26651. #: guix-git/doc/guix.texi:18009
  26652. #, no-wrap
  26653. msgid "@code{maximum-duration} (default: @code{3600})"
  26654. msgstr ""
  26655. #. type: table
  26656. #: guix-git/doc/guix.texi:18012
  26657. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  26658. msgstr ""
  26659. #. type: table
  26660. #: guix-git/doc/guix.texi:18015
  26661. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  26662. msgstr ""
  26663. #. type: item
  26664. #: guix-git/doc/guix.texi:18016
  26665. #, no-wrap
  26666. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  26667. msgstr ""
  26668. #. type: table
  26669. #: guix-git/doc/guix.texi:18018
  26670. msgid "File where unattended upgrades are logged."
  26671. msgstr ""
  26672. #. type: cindex
  26673. #: guix-git/doc/guix.texi:18024
  26674. #, no-wrap
  26675. msgid "X11"
  26676. msgstr ""
  26677. #. type: cindex
  26678. #: guix-git/doc/guix.texi:18025
  26679. #, no-wrap
  26680. msgid "X Window System"
  26681. msgstr ""
  26682. #. type: cindex
  26683. #: guix-git/doc/guix.texi:18026 guix-git/doc/guix.texi:18286
  26684. #, no-wrap
  26685. msgid "login manager"
  26686. msgstr ""
  26687. #. type: Plain text
  26688. #: guix-git/doc/guix.texi:18031
  26689. 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)."
  26690. msgstr ""
  26691. #. type: cindex
  26692. #: guix-git/doc/guix.texi:18032
  26693. #, no-wrap
  26694. msgid "GDM"
  26695. msgstr ""
  26696. #. type: cindex
  26697. #: guix-git/doc/guix.texi:18033
  26698. #, no-wrap
  26699. msgid "GNOME, login manager"
  26700. msgstr ""
  26701. #. type: Plain text
  26702. #: guix-git/doc/guix.texi:18037
  26703. 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."
  26704. msgstr ""
  26705. #. type: cindex
  26706. #: guix-git/doc/guix.texi:18038
  26707. #, no-wrap
  26708. msgid "window manager"
  26709. msgstr ""
  26710. #. type: Plain text
  26711. #: guix-git/doc/guix.texi:18043
  26712. 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})."
  26713. msgstr ""
  26714. #. type: defvr
  26715. #: guix-git/doc/guix.texi:18044
  26716. #, no-wrap
  26717. msgid "{Scheme Variable} gdm-service-type"
  26718. msgstr ""
  26719. #. type: defvr
  26720. #: guix-git/doc/guix.texi:18049
  26721. 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)."
  26722. msgstr ""
  26723. #. type: cindex
  26724. #: guix-git/doc/guix.texi:18050
  26725. #, no-wrap
  26726. msgid "session types (X11)"
  26727. msgstr ""
  26728. #. type: cindex
  26729. #: guix-git/doc/guix.texi:18051
  26730. #, no-wrap
  26731. msgid "X11 session types"
  26732. msgstr ""
  26733. #. type: defvr
  26734. #: guix-git/doc/guix.texi:18057
  26735. msgid "GDM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} and allows users to choose a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, and @code{i3} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen."
  26736. msgstr ""
  26737. #. type: defvr
  26738. #: guix-git/doc/guix.texi:18061
  26739. 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."
  26740. msgstr ""
  26741. #. type: deftp
  26742. #: guix-git/doc/guix.texi:18063
  26743. #, no-wrap
  26744. msgid "{Data Type} gdm-configuration"
  26745. msgstr ""
  26746. #. type: item
  26747. #: guix-git/doc/guix.texi:18065 guix-git/doc/guix.texi:18141
  26748. #, no-wrap
  26749. msgid "@code{auto-login?} (default: @code{#f})"
  26750. msgstr ""
  26751. #. type: itemx
  26752. #: guix-git/doc/guix.texi:18066
  26753. #, no-wrap
  26754. msgid "@code{default-user} (default: @code{#f})"
  26755. msgstr ""
  26756. #. type: table
  26757. #: guix-git/doc/guix.texi:18068
  26758. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  26759. msgstr ""
  26760. #. type: table
  26761. #: guix-git/doc/guix.texi:18071
  26762. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  26763. msgstr ""
  26764. #. type: item
  26765. #: guix-git/doc/guix.texi:18072 guix-git/doc/guix.texi:23920
  26766. #: guix-git/doc/guix.texi:25628 guix-git/doc/guix.texi:30046
  26767. #: guix-git/doc/guix.texi:30075 guix-git/doc/guix.texi:30104
  26768. #: guix-git/doc/guix.texi:30131 guix-git/doc/guix.texi:30186
  26769. #: guix-git/doc/guix.texi:30211 guix-git/doc/guix.texi:30238
  26770. #: guix-git/doc/guix.texi:30264 guix-git/doc/guix.texi:30306
  26771. #, no-wrap
  26772. msgid "@code{debug?} (default: @code{#f})"
  26773. msgstr ""
  26774. #. type: table
  26775. #: guix-git/doc/guix.texi:18074
  26776. msgid "When true, GDM writes debug messages to its log."
  26777. msgstr ""
  26778. #. type: item
  26779. #: guix-git/doc/guix.texi:18075
  26780. #, no-wrap
  26781. msgid "@code{gnome-shell-assets} (default: ...)"
  26782. msgstr ""
  26783. #. type: table
  26784. #: guix-git/doc/guix.texi:18077
  26785. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  26786. msgstr ""
  26787. #. type: item
  26788. #: guix-git/doc/guix.texi:18078
  26789. #, no-wrap
  26790. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  26791. msgstr ""
  26792. #. type: table
  26793. #: guix-git/doc/guix.texi:18080 guix-git/doc/guix.texi:18168
  26794. #: guix-git/doc/guix.texi:18252
  26795. msgid "Configuration of the Xorg graphical server."
  26796. msgstr ""
  26797. #. type: item
  26798. #: guix-git/doc/guix.texi:18081
  26799. #, no-wrap
  26800. msgid "@code{xsession} (default: @code{(xinitrc)})"
  26801. msgstr ""
  26802. #. type: table
  26803. #: guix-git/doc/guix.texi:18083 guix-git/doc/guix.texi:18267
  26804. msgid "Script to run before starting a X session."
  26805. msgstr ""
  26806. #. type: item
  26807. #: guix-git/doc/guix.texi:18084
  26808. #, no-wrap
  26809. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  26810. msgstr ""
  26811. #. type: table
  26812. #: guix-git/doc/guix.texi:18086
  26813. msgid "File name of the @code{dbus-daemon} executable."
  26814. msgstr ""
  26815. #. type: item
  26816. #: guix-git/doc/guix.texi:18087
  26817. #, no-wrap
  26818. msgid "@code{gdm} (default: @code{gdm})"
  26819. msgstr ""
  26820. #. type: table
  26821. #: guix-git/doc/guix.texi:18089
  26822. msgid "The GDM package to use."
  26823. msgstr ""
  26824. #. type: defvr
  26825. #: guix-git/doc/guix.texi:18092
  26826. #, no-wrap
  26827. msgid "{Scheme Variable} slim-service-type"
  26828. msgstr ""
  26829. #. type: defvr
  26830. #: guix-git/doc/guix.texi:18094
  26831. msgid "This is the type for the SLiM graphical login manager for X11."
  26832. msgstr ""
  26833. #. type: defvr
  26834. #: guix-git/doc/guix.texi:18098
  26835. 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."
  26836. msgstr ""
  26837. #. type: defvr
  26838. #: guix-git/doc/guix.texi:18105
  26839. 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."
  26840. msgstr ""
  26841. #. type: lisp
  26842. #: guix-git/doc/guix.texi:18111
  26843. #, no-wrap
  26844. msgid ""
  26845. "(use-modules (gnu services)\n"
  26846. " (gnu services desktop)\n"
  26847. " (gnu services xorg)\n"
  26848. " (srfi srfi-1)) ;for 'remove'\n"
  26849. "\n"
  26850. msgstr ""
  26851. #. type: lisp
  26852. #: guix-git/doc/guix.texi:18122
  26853. #, no-wrap
  26854. msgid ""
  26855. "(operating-system\n"
  26856. " ;; ...\n"
  26857. " (services (cons* (service slim-service-type (slim-configuration\n"
  26858. " (display \":0\")\n"
  26859. " (vt \"vt7\")))\n"
  26860. " (service slim-service-type (slim-configuration\n"
  26861. " (display \":1\")\n"
  26862. " (vt \"vt8\")))\n"
  26863. " (modify-services %desktop-services\n"
  26864. " (delete gdm-service-type)))))\n"
  26865. msgstr ""
  26866. #. type: deftp
  26867. #: guix-git/doc/guix.texi:18126
  26868. #, no-wrap
  26869. msgid "{Data Type} slim-configuration"
  26870. msgstr ""
  26871. #. type: deftp
  26872. #: guix-git/doc/guix.texi:18128
  26873. msgid "Data type representing the configuration of @code{slim-service-type}."
  26874. msgstr ""
  26875. #. type: table
  26876. #: guix-git/doc/guix.texi:18132
  26877. msgid "Whether to allow logins with empty passwords."
  26878. msgstr ""
  26879. #. type: item
  26880. #: guix-git/doc/guix.texi:18133
  26881. #, no-wrap
  26882. msgid "@code{gnupg?} (default: @code{#f})"
  26883. msgstr ""
  26884. #. type: table
  26885. #: guix-git/doc/guix.texi:18140
  26886. 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}."
  26887. msgstr ""
  26888. #. type: itemx
  26889. #: guix-git/doc/guix.texi:18142
  26890. #, no-wrap
  26891. msgid "@code{default-user} (default: @code{\"\"})"
  26892. msgstr ""
  26893. #. type: table
  26894. #: guix-git/doc/guix.texi:18144
  26895. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  26896. msgstr ""
  26897. #. type: table
  26898. #: guix-git/doc/guix.texi:18147
  26899. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  26900. msgstr ""
  26901. #. type: item
  26902. #: guix-git/doc/guix.texi:18148
  26903. #, no-wrap
  26904. msgid "@code{theme} (default: @code{%default-slim-theme})"
  26905. msgstr ""
  26906. #. type: itemx
  26907. #: guix-git/doc/guix.texi:18149
  26908. #, no-wrap
  26909. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  26910. msgstr ""
  26911. #. type: table
  26912. #: guix-git/doc/guix.texi:18151
  26913. msgid "The graphical theme to use and its name."
  26914. msgstr ""
  26915. #. type: item
  26916. #: guix-git/doc/guix.texi:18152
  26917. #, no-wrap
  26918. msgid "@code{auto-login-session} (default: @code{#f})"
  26919. msgstr ""
  26920. #. type: table
  26921. #: guix-git/doc/guix.texi:18155
  26922. 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\")}."
  26923. msgstr ""
  26924. #. type: table
  26925. #: guix-git/doc/guix.texi:18159
  26926. 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."
  26927. msgstr ""
  26928. #. type: quotation
  26929. #: guix-git/doc/guix.texi:18164
  26930. 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."
  26931. msgstr ""
  26932. #. type: item
  26933. #: guix-git/doc/guix.texi:18166 guix-git/doc/guix.texi:18250
  26934. #, no-wrap
  26935. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  26936. msgstr ""
  26937. #. type: item
  26938. #: guix-git/doc/guix.texi:18169
  26939. #, no-wrap
  26940. msgid "@code{display} (default @code{\":0\"})"
  26941. msgstr ""
  26942. #. type: table
  26943. #: guix-git/doc/guix.texi:18171
  26944. msgid "The display on which to start the Xorg graphical server."
  26945. msgstr ""
  26946. #. type: item
  26947. #: guix-git/doc/guix.texi:18172
  26948. #, no-wrap
  26949. msgid "@code{vt} (default @code{\"vt7\"})"
  26950. msgstr ""
  26951. #. type: table
  26952. #: guix-git/doc/guix.texi:18174
  26953. msgid "The VT on which to start the Xorg graphical server."
  26954. msgstr ""
  26955. #. type: item
  26956. #: guix-git/doc/guix.texi:18175
  26957. #, no-wrap
  26958. msgid "@code{xauth} (default: @code{xauth})"
  26959. msgstr ""
  26960. #. type: table
  26961. #: guix-git/doc/guix.texi:18177
  26962. msgid "The XAuth package to use."
  26963. msgstr ""
  26964. #. type: item
  26965. #: guix-git/doc/guix.texi:18178
  26966. #, no-wrap
  26967. msgid "@code{shepherd} (default: @code{shepherd})"
  26968. msgstr ""
  26969. #. type: table
  26970. #: guix-git/doc/guix.texi:18181
  26971. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  26972. msgstr ""
  26973. #. type: item
  26974. #: guix-git/doc/guix.texi:18182
  26975. #, no-wrap
  26976. msgid "@code{sessreg} (default: @code{sessreg})"
  26977. msgstr ""
  26978. #. type: table
  26979. #: guix-git/doc/guix.texi:18184
  26980. msgid "The sessreg package used in order to register the session."
  26981. msgstr ""
  26982. #. type: item
  26983. #: guix-git/doc/guix.texi:18185
  26984. #, no-wrap
  26985. msgid "@code{slim} (default: @code{slim})"
  26986. msgstr ""
  26987. #. type: table
  26988. #: guix-git/doc/guix.texi:18187
  26989. msgid "The SLiM package to use."
  26990. msgstr ""
  26991. #. type: defvr
  26992. #: guix-git/doc/guix.texi:18190
  26993. #, no-wrap
  26994. msgid "{Scheme Variable} %default-theme"
  26995. msgstr ""
  26996. #. type: defvrx
  26997. #: guix-git/doc/guix.texi:18191
  26998. #, no-wrap
  26999. msgid "{Scheme Variable} %default-theme-name"
  27000. msgstr ""
  27001. #. type: defvr
  27002. #: guix-git/doc/guix.texi:18193
  27003. msgid "The default SLiM theme and its name."
  27004. msgstr ""
  27005. #. type: deftp
  27006. #: guix-git/doc/guix.texi:18196 guix-git/doc/guix.texi:18303
  27007. #, no-wrap
  27008. msgid "{Data Type} sddm-configuration"
  27009. msgstr ""
  27010. #. type: deftp
  27011. #: guix-git/doc/guix.texi:18198
  27012. msgid "This is the data type representing the SDDM service configuration."
  27013. msgstr ""
  27014. #. type: item
  27015. #: guix-git/doc/guix.texi:18200
  27016. #, no-wrap
  27017. msgid "@code{display-server} (default: \"x11\")"
  27018. msgstr ""
  27019. #. type: table
  27020. #: guix-git/doc/guix.texi:18203
  27021. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  27022. msgstr ""
  27023. #. type: item
  27024. #: guix-git/doc/guix.texi:18204
  27025. #, no-wrap
  27026. msgid "@code{numlock} (default: \"on\")"
  27027. msgstr ""
  27028. #. type: table
  27029. #: guix-git/doc/guix.texi:18206
  27030. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  27031. msgstr ""
  27032. #. type: item
  27033. #: guix-git/doc/guix.texi:18207
  27034. #, no-wrap
  27035. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  27036. msgstr ""
  27037. #. type: table
  27038. #: guix-git/doc/guix.texi:18209
  27039. msgid "Command to run when halting."
  27040. msgstr ""
  27041. #. type: item
  27042. #: guix-git/doc/guix.texi:18210
  27043. #, no-wrap
  27044. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  27045. msgstr ""
  27046. #. type: table
  27047. #: guix-git/doc/guix.texi:18212
  27048. msgid "Command to run when rebooting."
  27049. msgstr ""
  27050. #. type: item
  27051. #: guix-git/doc/guix.texi:18213
  27052. #, no-wrap
  27053. msgid "@code{theme} (default \"maldives\")"
  27054. msgstr ""
  27055. #. type: table
  27056. #: guix-git/doc/guix.texi:18216
  27057. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  27058. msgstr ""
  27059. #. type: item
  27060. #: guix-git/doc/guix.texi:18217
  27061. #, no-wrap
  27062. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  27063. msgstr ""
  27064. #. type: table
  27065. #: guix-git/doc/guix.texi:18219
  27066. msgid "Directory to look for themes."
  27067. msgstr ""
  27068. #. type: item
  27069. #: guix-git/doc/guix.texi:18220
  27070. #, no-wrap
  27071. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  27072. msgstr ""
  27073. #. type: table
  27074. #: guix-git/doc/guix.texi:18222
  27075. msgid "Directory to look for faces."
  27076. msgstr ""
  27077. #. type: item
  27078. #: guix-git/doc/guix.texi:18223
  27079. #, no-wrap
  27080. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  27081. msgstr ""
  27082. #. type: table
  27083. #: guix-git/doc/guix.texi:18225
  27084. msgid "Default PATH to use."
  27085. msgstr ""
  27086. #. type: item
  27087. #: guix-git/doc/guix.texi:18226
  27088. #, no-wrap
  27089. msgid "@code{minimum-uid} (default: 1000)"
  27090. msgstr ""
  27091. #. type: table
  27092. #: guix-git/doc/guix.texi:18228
  27093. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  27094. msgstr ""
  27095. #. type: item
  27096. #: guix-git/doc/guix.texi:18229
  27097. #, no-wrap
  27098. msgid "@code{maximum-uid} (default: 2000)"
  27099. msgstr ""
  27100. #. type: table
  27101. #: guix-git/doc/guix.texi:18231
  27102. msgid "Maximum UID to display in SDDM."
  27103. msgstr ""
  27104. #. type: item
  27105. #: guix-git/doc/guix.texi:18232
  27106. #, no-wrap
  27107. msgid "@code{remember-last-user?} (default #t)"
  27108. msgstr ""
  27109. #. type: table
  27110. #: guix-git/doc/guix.texi:18234
  27111. msgid "Remember last user."
  27112. msgstr ""
  27113. #. type: item
  27114. #: guix-git/doc/guix.texi:18235
  27115. #, no-wrap
  27116. msgid "@code{remember-last-session?} (default #t)"
  27117. msgstr ""
  27118. #. type: table
  27119. #: guix-git/doc/guix.texi:18237
  27120. msgid "Remember last session."
  27121. msgstr ""
  27122. #. type: item
  27123. #: guix-git/doc/guix.texi:18238
  27124. #, no-wrap
  27125. msgid "@code{hide-users} (default \"\")"
  27126. msgstr ""
  27127. #. type: table
  27128. #: guix-git/doc/guix.texi:18240
  27129. msgid "Usernames to hide from SDDM greeter."
  27130. msgstr ""
  27131. #. type: item
  27132. #: guix-git/doc/guix.texi:18241
  27133. #, no-wrap
  27134. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  27135. msgstr ""
  27136. #. type: table
  27137. #: guix-git/doc/guix.texi:18243
  27138. msgid "Users with shells listed will be hidden from the SDDM greeter."
  27139. msgstr ""
  27140. #. type: item
  27141. #: guix-git/doc/guix.texi:18244
  27142. #, no-wrap
  27143. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  27144. msgstr ""
  27145. #. type: table
  27146. #: guix-git/doc/guix.texi:18246
  27147. msgid "Script to run before starting a wayland session."
  27148. msgstr ""
  27149. #. type: item
  27150. #: guix-git/doc/guix.texi:18247
  27151. #, no-wrap
  27152. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  27153. msgstr ""
  27154. #. type: table
  27155. #: guix-git/doc/guix.texi:18249
  27156. msgid "Directory to look for desktop files starting wayland sessions."
  27157. msgstr ""
  27158. #. type: item
  27159. #: guix-git/doc/guix.texi:18253
  27160. #, no-wrap
  27161. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  27162. msgstr ""
  27163. #. type: table
  27164. #: guix-git/doc/guix.texi:18255
  27165. msgid "Path to xauth."
  27166. msgstr ""
  27167. #. type: item
  27168. #: guix-git/doc/guix.texi:18256
  27169. #, no-wrap
  27170. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  27171. msgstr ""
  27172. #. type: table
  27173. #: guix-git/doc/guix.texi:18258
  27174. msgid "Path to Xephyr."
  27175. msgstr ""
  27176. #. type: item
  27177. #: guix-git/doc/guix.texi:18259
  27178. #, no-wrap
  27179. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  27180. msgstr ""
  27181. #. type: table
  27182. #: guix-git/doc/guix.texi:18261
  27183. msgid "Script to run after starting xorg-server."
  27184. msgstr ""
  27185. #. type: item
  27186. #: guix-git/doc/guix.texi:18262
  27187. #, no-wrap
  27188. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  27189. msgstr ""
  27190. #. type: table
  27191. #: guix-git/doc/guix.texi:18264
  27192. msgid "Script to run before stopping xorg-server."
  27193. msgstr ""
  27194. #. type: item
  27195. #: guix-git/doc/guix.texi:18265
  27196. #, no-wrap
  27197. msgid "@code{xsession-command} (default: @code{xinitrc})"
  27198. msgstr ""
  27199. #. type: item
  27200. #: guix-git/doc/guix.texi:18268
  27201. #, no-wrap
  27202. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  27203. msgstr ""
  27204. #. type: table
  27205. #: guix-git/doc/guix.texi:18270
  27206. msgid "Directory to look for desktop files starting X sessions."
  27207. msgstr ""
  27208. #. type: item
  27209. #: guix-git/doc/guix.texi:18271
  27210. #, no-wrap
  27211. msgid "@code{minimum-vt} (default: 7)"
  27212. msgstr ""
  27213. #. type: table
  27214. #: guix-git/doc/guix.texi:18273
  27215. msgid "Minimum VT to use."
  27216. msgstr ""
  27217. #. type: item
  27218. #: guix-git/doc/guix.texi:18274
  27219. #, no-wrap
  27220. msgid "@code{auto-login-user} (default \"\")"
  27221. msgstr ""
  27222. #. type: table
  27223. #: guix-git/doc/guix.texi:18276
  27224. msgid "User to use for auto-login."
  27225. msgstr ""
  27226. #. type: item
  27227. #: guix-git/doc/guix.texi:18277
  27228. #, no-wrap
  27229. msgid "@code{auto-login-session} (default \"\")"
  27230. msgstr ""
  27231. #. type: table
  27232. #: guix-git/doc/guix.texi:18279
  27233. msgid "Desktop file to use for auto-login."
  27234. msgstr ""
  27235. #. type: item
  27236. #: guix-git/doc/guix.texi:18280
  27237. #, no-wrap
  27238. msgid "@code{relogin?} (default #f)"
  27239. msgstr ""
  27240. #. type: table
  27241. #: guix-git/doc/guix.texi:18282
  27242. msgid "Relogin after logout."
  27243. msgstr ""
  27244. #. type: cindex
  27245. #: guix-git/doc/guix.texi:18287
  27246. #, no-wrap
  27247. msgid "X11 login"
  27248. msgstr ""
  27249. #. type: defvr
  27250. #: guix-git/doc/guix.texi:18288
  27251. #, no-wrap
  27252. msgid "{Scheme Variable} sddm-service-type"
  27253. msgstr ""
  27254. #. type: defvr
  27255. #: guix-git/doc/guix.texi:18292
  27256. 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)."
  27257. msgstr ""
  27258. #. type: defvr
  27259. #: guix-git/doc/guix.texi:18294
  27260. msgid "Here's an example use:"
  27261. msgstr ""
  27262. #. type: lisp
  27263. #: guix-git/doc/guix.texi:18300
  27264. #, no-wrap
  27265. msgid ""
  27266. "(service sddm-service-type\n"
  27267. " (sddm-configuration\n"
  27268. " (auto-login-user \"alice\")\n"
  27269. " (auto-login-session \"xfce.desktop\")))\n"
  27270. msgstr ""
  27271. #. type: deftp
  27272. #: guix-git/doc/guix.texi:18306
  27273. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  27274. msgstr ""
  27275. #. type: item
  27276. #: guix-git/doc/guix.texi:18308
  27277. #, no-wrap
  27278. msgid "@code{sddm} (default: @code{sddm})"
  27279. msgstr ""
  27280. #. type: table
  27281. #: guix-git/doc/guix.texi:18310
  27282. msgid "The SDDM package to use."
  27283. msgstr ""
  27284. #. type: item
  27285. #: guix-git/doc/guix.texi:18311
  27286. #, no-wrap
  27287. msgid "@code{display-server} (default: @code{\"x11\"})"
  27288. msgstr ""
  27289. #. type: table
  27290. #: guix-git/doc/guix.texi:18313
  27291. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  27292. msgstr ""
  27293. #. type: item
  27294. #: guix-git/doc/guix.texi:18316
  27295. #, no-wrap
  27296. msgid "@code{auto-login-user} (default: @code{\"\"})"
  27297. msgstr ""
  27298. #. type: table
  27299. #: guix-git/doc/guix.texi:18319
  27300. msgid "If non-empty, this is the user account under which to log in automatically."
  27301. msgstr ""
  27302. #. type: item
  27303. #: guix-git/doc/guix.texi:18320
  27304. #, no-wrap
  27305. msgid "@code{auto-login-session} (default: @code{\"\"})"
  27306. msgstr ""
  27307. #. type: table
  27308. #: guix-git/doc/guix.texi:18323
  27309. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  27310. msgstr ""
  27311. #. type: cindex
  27312. #: guix-git/doc/guix.texi:18326
  27313. #, no-wrap
  27314. msgid "Xorg, configuration"
  27315. msgstr ""
  27316. #. type: deftp
  27317. #: guix-git/doc/guix.texi:18327
  27318. #, no-wrap
  27319. msgid "{Data Type} xorg-configuration"
  27320. msgstr ""
  27321. #. type: deftp
  27322. #: guix-git/doc/guix.texi:18332
  27323. 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."
  27324. msgstr ""
  27325. #. type: item
  27326. #: guix-git/doc/guix.texi:18334
  27327. #, no-wrap
  27328. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  27329. msgstr ""
  27330. #. type: table
  27331. #: guix-git/doc/guix.texi:18337
  27332. 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."
  27333. msgstr ""
  27334. #. type: item
  27335. #: guix-git/doc/guix.texi:18338
  27336. #, no-wrap
  27337. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  27338. msgstr ""
  27339. #. type: table
  27340. #: guix-git/doc/guix.texi:18340
  27341. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  27342. msgstr ""
  27343. #. type: item
  27344. #: guix-git/doc/guix.texi:18341
  27345. #, no-wrap
  27346. msgid "@code{drivers} (default: @code{'()})"
  27347. msgstr ""
  27348. #. type: table
  27349. #: guix-git/doc/guix.texi:18345
  27350. 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\")}."
  27351. msgstr ""
  27352. #. type: item
  27353. #: guix-git/doc/guix.texi:18346
  27354. #, no-wrap
  27355. msgid "@code{resolutions} (default: @code{'()})"
  27356. msgstr ""
  27357. #. type: table
  27358. #: guix-git/doc/guix.texi:18350
  27359. 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))}."
  27360. msgstr ""
  27361. #. type: cindex
  27362. #: guix-git/doc/guix.texi:18351
  27363. #, no-wrap
  27364. msgid "keyboard layout, for Xorg"
  27365. msgstr ""
  27366. #. type: cindex
  27367. #: guix-git/doc/guix.texi:18352
  27368. #, no-wrap
  27369. msgid "keymap, for Xorg"
  27370. msgstr ""
  27371. #. type: table
  27372. #: guix-git/doc/guix.texi:18356
  27373. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  27374. msgstr ""
  27375. #. type: table
  27376. #: guix-git/doc/guix.texi:18360
  27377. 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."
  27378. msgstr ""
  27379. #. type: item
  27380. #: guix-git/doc/guix.texi:18361 guix-git/doc/guix.texi:20066
  27381. #: guix-git/doc/guix.texi:32678
  27382. #, no-wrap
  27383. msgid "@code{extra-config} (default: @code{'()})"
  27384. msgstr ""
  27385. #. type: table
  27386. #: guix-git/doc/guix.texi:18364 guix-git/doc/guix.texi:32682
  27387. 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."
  27388. msgstr ""
  27389. #. type: item
  27390. #: guix-git/doc/guix.texi:18365
  27391. #, no-wrap
  27392. msgid "@code{server} (default: @code{xorg-server})"
  27393. msgstr ""
  27394. #. type: table
  27395. #: guix-git/doc/guix.texi:18367
  27396. msgid "This is the package providing the Xorg server."
  27397. msgstr ""
  27398. #. type: item
  27399. #: guix-git/doc/guix.texi:18368
  27400. #, no-wrap
  27401. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  27402. msgstr ""
  27403. #. type: table
  27404. #: guix-git/doc/guix.texi:18371
  27405. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  27406. msgstr ""
  27407. #. type: deffn
  27408. #: guix-git/doc/guix.texi:18374
  27409. #, no-wrap
  27410. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  27411. msgstr ""
  27412. #. type: deffn
  27413. #: guix-git/doc/guix.texi:18378
  27414. 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."
  27415. msgstr ""
  27416. #. type: deffn
  27417. #: guix-git/doc/guix.texi:18382
  27418. 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."
  27419. msgstr ""
  27420. #. type: deffn
  27421. #: guix-git/doc/guix.texi:18384
  27422. #, no-wrap
  27423. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  27424. msgstr ""
  27425. #. type: deffn
  27426. #: guix-git/doc/guix.texi:18388
  27427. 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}."
  27428. msgstr ""
  27429. #. type: deffn
  27430. #: guix-git/doc/guix.texi:18390
  27431. msgid "Usually the X server is started by a login manager."
  27432. msgstr ""
  27433. #. type: deffn
  27434. #: guix-git/doc/guix.texi:18393
  27435. #, no-wrap
  27436. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  27437. msgstr ""
  27438. #. type: deffn
  27439. #: guix-git/doc/guix.texi:18397
  27440. 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:"
  27441. msgstr ""
  27442. #. type: lisp
  27443. #: guix-git/doc/guix.texi:18400
  27444. #, no-wrap
  27445. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  27446. msgstr ""
  27447. #. type: deffn
  27448. #: guix-git/doc/guix.texi:18403
  27449. msgid "makes the good ol' XlockMore usable."
  27450. msgstr ""
  27451. #. type: cindex
  27452. #: guix-git/doc/guix.texi:18409
  27453. #, no-wrap
  27454. msgid "printer support with CUPS"
  27455. msgstr ""
  27456. #. type: Plain text
  27457. #: guix-git/doc/guix.texi:18413
  27458. 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:"
  27459. msgstr ""
  27460. #. type: deffn
  27461. #: guix-git/doc/guix.texi:18414
  27462. #, no-wrap
  27463. msgid "{Scheme Variable} cups-service-type"
  27464. msgstr ""
  27465. #. type: deffn
  27466. #: guix-git/doc/guix.texi:18418
  27467. 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:"
  27468. msgstr ""
  27469. #. type: lisp
  27470. #: guix-git/doc/guix.texi:18420
  27471. #, no-wrap
  27472. msgid "(service cups-service-type)\n"
  27473. msgstr ""
  27474. #. type: Plain text
  27475. #: guix-git/doc/guix.texi:18430
  27476. 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."
  27477. msgstr ""
  27478. #. type: Plain text
  27479. #: guix-git/doc/guix.texi:18436
  27480. 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):"
  27481. msgstr ""
  27482. #. type: lisp
  27483. #: guix-git/doc/guix.texi:18443
  27484. #, no-wrap
  27485. msgid ""
  27486. "(service cups-service-type\n"
  27487. " (cups-configuration\n"
  27488. " (web-interface? #t)\n"
  27489. " (extensions\n"
  27490. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  27491. msgstr ""
  27492. #. type: Plain text
  27493. #: guix-git/doc/guix.texi:18448
  27494. 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."
  27495. msgstr ""
  27496. #. type: Plain text
  27497. #: guix-git/doc/guix.texi:18455
  27498. 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."
  27499. msgstr ""
  27500. #. type: Plain text
  27501. #: guix-git/doc/guix.texi:18466
  27502. msgid "Available @code{cups-configuration} fields are:"
  27503. msgstr ""
  27504. #. type: deftypevr
  27505. #: guix-git/doc/guix.texi:18467
  27506. #, no-wrap
  27507. msgid "{@code{cups-configuration} parameter} package cups"
  27508. msgstr ""
  27509. #. type: deftypevr
  27510. #: guix-git/doc/guix.texi:18469 guix-git/doc/guix.texi:19231
  27511. msgid "The CUPS package."
  27512. msgstr ""
  27513. #. type: deftypevr
  27514. #: guix-git/doc/guix.texi:18471
  27515. #, no-wrap
  27516. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  27517. msgstr ""
  27518. #. type: deftypevr
  27519. #: guix-git/doc/guix.texi:18473
  27520. msgid "Drivers and other extensions to the CUPS package."
  27521. msgstr ""
  27522. #. type: deftypevr
  27523. #: guix-git/doc/guix.texi:18475
  27524. #, no-wrap
  27525. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  27526. msgstr ""
  27527. #. type: deftypevr
  27528. #: guix-git/doc/guix.texi:18478
  27529. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  27530. msgstr ""
  27531. #. type: deftypevr
  27532. #: guix-git/doc/guix.texi:18480
  27533. msgid "Available @code{files-configuration} fields are:"
  27534. msgstr ""
  27535. #. type: deftypevr
  27536. #: guix-git/doc/guix.texi:18481
  27537. #, no-wrap
  27538. msgid "{@code{files-configuration} parameter} log-location access-log"
  27539. msgstr ""
  27540. #. type: deftypevr
  27541. #: guix-git/doc/guix.texi:18489
  27542. 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}."
  27543. msgstr ""
  27544. #. type: deftypevr
  27545. #: guix-git/doc/guix.texi:18491
  27546. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  27547. msgstr ""
  27548. #. type: deftypevr
  27549. #: guix-git/doc/guix.texi:18493
  27550. #, no-wrap
  27551. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  27552. msgstr ""
  27553. #. type: deftypevr
  27554. #: guix-git/doc/guix.texi:18495
  27555. msgid "Where CUPS should cache data."
  27556. msgstr ""
  27557. #. type: deftypevr
  27558. #: guix-git/doc/guix.texi:18497
  27559. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  27560. msgstr ""
  27561. #. type: deftypevr
  27562. #: guix-git/doc/guix.texi:18499
  27563. #, no-wrap
  27564. msgid "{@code{files-configuration} parameter} string config-file-perm"
  27565. msgstr ""
  27566. #. type: deftypevr
  27567. #: guix-git/doc/guix.texi:18502
  27568. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  27569. msgstr ""
  27570. #. type: deftypevr
  27571. #: guix-git/doc/guix.texi:18508
  27572. 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."
  27573. msgstr ""
  27574. #. type: deftypevr
  27575. #: guix-git/doc/guix.texi:18510
  27576. msgid "Defaults to @samp{\"0640\"}."
  27577. msgstr ""
  27578. #. type: deftypevr
  27579. #: guix-git/doc/guix.texi:18512
  27580. #, no-wrap
  27581. msgid "{@code{files-configuration} parameter} log-location error-log"
  27582. msgstr ""
  27583. #. type: deftypevr
  27584. #: guix-git/doc/guix.texi:18520
  27585. 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}."
  27586. msgstr ""
  27587. #. type: deftypevr
  27588. #: guix-git/doc/guix.texi:18522
  27589. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  27590. msgstr ""
  27591. #. type: deftypevr
  27592. #: guix-git/doc/guix.texi:18524
  27593. #, no-wrap
  27594. msgid "{@code{files-configuration} parameter} string fatal-errors"
  27595. msgstr ""
  27596. #. type: deftypevr
  27597. #: guix-git/doc/guix.texi:18527
  27598. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  27599. msgstr ""
  27600. #. type: table
  27601. #: guix-git/doc/guix.texi:18531
  27602. msgid "No errors are fatal."
  27603. msgstr ""
  27604. #. type: table
  27605. #: guix-git/doc/guix.texi:18534
  27606. msgid "All of the errors below are fatal."
  27607. msgstr ""
  27608. #. type: item
  27609. #: guix-git/doc/guix.texi:18535
  27610. #, no-wrap
  27611. msgid "browse"
  27612. msgstr ""
  27613. #. type: table
  27614. #: guix-git/doc/guix.texi:18538
  27615. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  27616. msgstr ""
  27617. #. type: item
  27618. #: guix-git/doc/guix.texi:18539
  27619. #, no-wrap
  27620. msgid "config"
  27621. msgstr ""
  27622. #. type: table
  27623. #: guix-git/doc/guix.texi:18541
  27624. msgid "Configuration file syntax errors are fatal."
  27625. msgstr ""
  27626. #. type: item
  27627. #: guix-git/doc/guix.texi:18542
  27628. #, no-wrap
  27629. msgid "listen"
  27630. msgstr ""
  27631. #. type: table
  27632. #: guix-git/doc/guix.texi:18545
  27633. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  27634. msgstr ""
  27635. #. type: item
  27636. #: guix-git/doc/guix.texi:18546
  27637. #, no-wrap
  27638. msgid "log"
  27639. msgstr ""
  27640. #. type: table
  27641. #: guix-git/doc/guix.texi:18548
  27642. msgid "Log file creation or write errors are fatal."
  27643. msgstr ""
  27644. #. type: item
  27645. #: guix-git/doc/guix.texi:18549
  27646. #, no-wrap
  27647. msgid "permissions"
  27648. msgstr ""
  27649. #. type: table
  27650. #: guix-git/doc/guix.texi:18552
  27651. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  27652. msgstr ""
  27653. #. type: deftypevr
  27654. #: guix-git/doc/guix.texi:18555
  27655. msgid "Defaults to @samp{\"all -browse\"}."
  27656. msgstr ""
  27657. #. type: deftypevr
  27658. #: guix-git/doc/guix.texi:18557
  27659. #, no-wrap
  27660. msgid "{@code{files-configuration} parameter} boolean file-device?"
  27661. msgstr ""
  27662. #. type: deftypevr
  27663. #: guix-git/doc/guix.texi:18560
  27664. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  27665. msgstr ""
  27666. #. type: deftypevr
  27667. #: guix-git/doc/guix.texi:18564
  27668. #, no-wrap
  27669. msgid "{@code{files-configuration} parameter} string group"
  27670. msgstr ""
  27671. #. type: deftypevr
  27672. #: guix-git/doc/guix.texi:18567
  27673. msgid "Specifies the group name or ID that will be used when executing external programs."
  27674. msgstr ""
  27675. #. type: deftypevr
  27676. #: guix-git/doc/guix.texi:18569 guix-git/doc/guix.texi:18649
  27677. msgid "Defaults to @samp{\"lp\"}."
  27678. msgstr ""
  27679. #. type: deftypevr
  27680. #: guix-git/doc/guix.texi:18571
  27681. #, no-wrap
  27682. msgid "{@code{files-configuration} parameter} string log-file-perm"
  27683. msgstr ""
  27684. #. type: deftypevr
  27685. #: guix-git/doc/guix.texi:18573
  27686. msgid "Specifies the permissions for all log files that the scheduler writes."
  27687. msgstr ""
  27688. #. type: deftypevr
  27689. #: guix-git/doc/guix.texi:18575
  27690. msgid "Defaults to @samp{\"0644\"}."
  27691. msgstr ""
  27692. #. type: deftypevr
  27693. #: guix-git/doc/guix.texi:18577
  27694. #, no-wrap
  27695. msgid "{@code{files-configuration} parameter} log-location page-log"
  27696. msgstr ""
  27697. #. type: deftypevr
  27698. #: guix-git/doc/guix.texi:18585
  27699. 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}."
  27700. msgstr ""
  27701. #. type: deftypevr
  27702. #: guix-git/doc/guix.texi:18587
  27703. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  27704. msgstr ""
  27705. #. type: deftypevr
  27706. #: guix-git/doc/guix.texi:18589
  27707. #, no-wrap
  27708. msgid "{@code{files-configuration} parameter} string remote-root"
  27709. msgstr ""
  27710. #. type: deftypevr
  27711. #: guix-git/doc/guix.texi:18592
  27712. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  27713. msgstr ""
  27714. #. type: deftypevr
  27715. #: guix-git/doc/guix.texi:18594
  27716. msgid "Defaults to @samp{\"remroot\"}."
  27717. msgstr ""
  27718. #. type: deftypevr
  27719. #: guix-git/doc/guix.texi:18596
  27720. #, no-wrap
  27721. msgid "{@code{files-configuration} parameter} file-name request-root"
  27722. msgstr ""
  27723. #. type: deftypevr
  27724. #: guix-git/doc/guix.texi:18599
  27725. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  27726. msgstr ""
  27727. #. type: deftypevr
  27728. #: guix-git/doc/guix.texi:18601
  27729. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  27730. msgstr ""
  27731. #. type: deftypevr
  27732. #: guix-git/doc/guix.texi:18603
  27733. #, no-wrap
  27734. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  27735. msgstr ""
  27736. #. type: deftypevr
  27737. #: guix-git/doc/guix.texi:18608
  27738. 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."
  27739. msgstr ""
  27740. #. type: deftypevr
  27741. #: guix-git/doc/guix.texi:18610
  27742. msgid "Defaults to @samp{strict}."
  27743. msgstr ""
  27744. #. type: deftypevr
  27745. #: guix-git/doc/guix.texi:18612
  27746. #, no-wrap
  27747. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  27748. msgstr ""
  27749. #. type: deftypevr
  27750. #: guix-git/doc/guix.texi:18617
  27751. 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."
  27752. msgstr ""
  27753. #. type: deftypevr
  27754. #: guix-git/doc/guix.texi:18619
  27755. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  27756. msgstr ""
  27757. #. type: deftypevr
  27758. #: guix-git/doc/guix.texi:18621
  27759. #, no-wrap
  27760. msgid "{@code{files-configuration} parameter} file-name server-root"
  27761. msgstr ""
  27762. #. type: deftypevr
  27763. #: guix-git/doc/guix.texi:18623
  27764. msgid "Specifies the directory containing the server configuration files."
  27765. msgstr ""
  27766. #. type: deftypevr
  27767. #: guix-git/doc/guix.texi:18625
  27768. msgid "Defaults to @samp{\"/etc/cups\"}."
  27769. msgstr ""
  27770. #. type: deftypevr
  27771. #: guix-git/doc/guix.texi:18627
  27772. #, no-wrap
  27773. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  27774. msgstr ""
  27775. #. type: deftypevr
  27776. #: guix-git/doc/guix.texi:18630
  27777. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  27778. msgstr ""
  27779. #. type: deftypevr
  27780. #: guix-git/doc/guix.texi:18634
  27781. #, no-wrap
  27782. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  27783. msgstr ""
  27784. #. type: deftypevr
  27785. #: guix-git/doc/guix.texi:18636
  27786. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  27787. msgstr ""
  27788. #. type: deftypevr
  27789. #: guix-git/doc/guix.texi:18638
  27790. #, no-wrap
  27791. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  27792. msgstr ""
  27793. #. type: deftypevr
  27794. #: guix-git/doc/guix.texi:18640
  27795. msgid "Specifies the directory where temporary files are stored."
  27796. msgstr ""
  27797. #. type: deftypevr
  27798. #: guix-git/doc/guix.texi:18642
  27799. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  27800. msgstr ""
  27801. #. type: deftypevr
  27802. #: guix-git/doc/guix.texi:18644
  27803. #, no-wrap
  27804. msgid "{@code{files-configuration} parameter} string user"
  27805. msgstr ""
  27806. #. type: deftypevr
  27807. #: guix-git/doc/guix.texi:18647
  27808. msgid "Specifies the user name or ID that is used when running external programs."
  27809. msgstr ""
  27810. #. type: deftypevr
  27811. #: guix-git/doc/guix.texi:18651
  27812. #, no-wrap
  27813. msgid "{@code{files-configuration} parameter} string set-env"
  27814. msgstr ""
  27815. #. type: deftypevr
  27816. #: guix-git/doc/guix.texi:18653
  27817. msgid "Set the specified environment variable to be passed to child processes."
  27818. msgstr ""
  27819. #. type: deftypevr
  27820. #: guix-git/doc/guix.texi:18655
  27821. msgid "Defaults to @samp{\"variable value\"}."
  27822. msgstr ""
  27823. #. type: deftypevr
  27824. #: guix-git/doc/guix.texi:18658
  27825. #, no-wrap
  27826. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  27827. msgstr ""
  27828. #. type: deftypevr
  27829. #: guix-git/doc/guix.texi:18665
  27830. 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."
  27831. msgstr ""
  27832. #. type: deftypevr
  27833. #: guix-git/doc/guix.texi:18667
  27834. msgid "Defaults to @samp{actions}."
  27835. msgstr ""
  27836. #. type: deftypevr
  27837. #: guix-git/doc/guix.texi:18669
  27838. #, no-wrap
  27839. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  27840. msgstr ""
  27841. #. type: deftypevr
  27842. #: guix-git/doc/guix.texi:18672
  27843. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  27844. msgstr ""
  27845. #. type: deftypevr
  27846. #: guix-git/doc/guix.texi:18676
  27847. #, no-wrap
  27848. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  27849. msgstr ""
  27850. #. type: deftypevr
  27851. #: guix-git/doc/guix.texi:18680
  27852. 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."
  27853. msgstr ""
  27854. #. type: deftypevr
  27855. #: guix-git/doc/guix.texi:18682
  27856. msgid "Defaults to @samp{\"_cups\"}."
  27857. msgstr ""
  27858. #. type: deftypevr
  27859. #: guix-git/doc/guix.texi:18684
  27860. #, no-wrap
  27861. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  27862. msgstr ""
  27863. #. type: deftypevr
  27864. #: guix-git/doc/guix.texi:18686
  27865. msgid "Specifies which protocols to use for local printer sharing."
  27866. msgstr ""
  27867. #. type: deftypevr
  27868. #: guix-git/doc/guix.texi:18688
  27869. msgid "Defaults to @samp{dnssd}."
  27870. msgstr ""
  27871. #. type: deftypevr
  27872. #: guix-git/doc/guix.texi:18690
  27873. #, no-wrap
  27874. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  27875. msgstr ""
  27876. #. type: deftypevr
  27877. #: guix-git/doc/guix.texi:18692
  27878. msgid "Specifies whether the CUPS web interface is advertised."
  27879. msgstr ""
  27880. #. type: deftypevr
  27881. #: guix-git/doc/guix.texi:18696
  27882. #, no-wrap
  27883. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  27884. msgstr ""
  27885. #. type: deftypevr
  27886. #: guix-git/doc/guix.texi:18698
  27887. msgid "Specifies whether shared printers are advertised."
  27888. msgstr ""
  27889. #. type: deftypevr
  27890. #: guix-git/doc/guix.texi:18702
  27891. #, no-wrap
  27892. msgid "{@code{cups-configuration} parameter} string classification"
  27893. msgstr ""
  27894. #. type: deftypevr
  27895. #: guix-git/doc/guix.texi:18707
  27896. 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."
  27897. msgstr ""
  27898. #. type: deftypevr
  27899. #: guix-git/doc/guix.texi:18709 guix-git/doc/guix.texi:19040
  27900. #: guix-git/doc/guix.texi:21023 guix-git/doc/guix.texi:21035
  27901. #: guix-git/doc/guix.texi:21063 guix-git/doc/guix.texi:21820
  27902. #: guix-git/doc/guix.texi:21834 guix-git/doc/guix.texi:21841
  27903. #: guix-git/doc/guix.texi:21848 guix-git/doc/guix.texi:21878
  27904. #: guix-git/doc/guix.texi:21976 guix-git/doc/guix.texi:24095
  27905. #: guix-git/doc/guix.texi:24121 guix-git/doc/guix.texi:24157
  27906. #: guix-git/doc/guix.texi:24203 guix-git/doc/guix.texi:24222
  27907. #: guix-git/doc/guix.texi:24261 guix-git/doc/guix.texi:24320
  27908. #: guix-git/doc/guix.texi:24330 guix-git/doc/guix.texi:28918
  27909. #: guix-git/doc/guix.texi:28926 guix-git/doc/guix.texi:28934
  27910. #: guix-git/doc/guix.texi:28942 guix-git/doc/guix.texi:29221
  27911. #: guix-git/doc/guix.texi:30523 guix-git/doc/guix.texi:30531
  27912. #: guix-git/doc/guix.texi:30539 guix-git/doc/guix.texi:30647
  27913. #: guix-git/doc/guix.texi:30672 guix-git/doc/guix.texi:30803
  27914. #: guix-git/doc/guix.texi:30811 guix-git/doc/guix.texi:30819
  27915. #: guix-git/doc/guix.texi:30827 guix-git/doc/guix.texi:30835
  27916. #: guix-git/doc/guix.texi:30843 guix-git/doc/guix.texi:30866
  27917. #: guix-git/doc/guix.texi:30874 guix-git/doc/guix.texi:30926
  27918. #: guix-git/doc/guix.texi:30942 guix-git/doc/guix.texi:30950
  27919. #: guix-git/doc/guix.texi:30989 guix-git/doc/guix.texi:31012
  27920. #: guix-git/doc/guix.texi:31034 guix-git/doc/guix.texi:31041
  27921. #: guix-git/doc/guix.texi:31076 guix-git/doc/guix.texi:31084
  27922. #: guix-git/doc/guix.texi:31108 guix-git/doc/guix.texi:31140
  27923. #: guix-git/doc/guix.texi:31169 guix-git/doc/guix.texi:31176
  27924. #: guix-git/doc/guix.texi:31183 guix-git/doc/guix.texi:31191
  27925. #: guix-git/doc/guix.texi:31205 guix-git/doc/guix.texi:31214
  27926. #: guix-git/doc/guix.texi:31224 guix-git/doc/guix.texi:31231
  27927. #: guix-git/doc/guix.texi:31238 guix-git/doc/guix.texi:31245
  27928. #: guix-git/doc/guix.texi:31316 guix-git/doc/guix.texi:31323
  27929. #: guix-git/doc/guix.texi:31330 guix-git/doc/guix.texi:31339
  27930. #: guix-git/doc/guix.texi:31355 guix-git/doc/guix.texi:31362
  27931. #: guix-git/doc/guix.texi:31369 guix-git/doc/guix.texi:31376
  27932. #: guix-git/doc/guix.texi:31384 guix-git/doc/guix.texi:31392
  27933. msgid "Defaults to @samp{\"\"}."
  27934. msgstr ""
  27935. #. type: deftypevr
  27936. #: guix-git/doc/guix.texi:18711
  27937. #, no-wrap
  27938. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  27939. msgstr ""
  27940. #. type: deftypevr
  27941. #: guix-git/doc/guix.texi:18714
  27942. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  27943. msgstr ""
  27944. #. type: deftypevr
  27945. #: guix-git/doc/guix.texi:18718
  27946. #, no-wrap
  27947. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  27948. msgstr ""
  27949. #. type: deftypevr
  27950. #: guix-git/doc/guix.texi:18720
  27951. msgid "Specifies the default type of authentication to use."
  27952. msgstr ""
  27953. #. type: deftypevr
  27954. #: guix-git/doc/guix.texi:18722
  27955. msgid "Defaults to @samp{Basic}."
  27956. msgstr ""
  27957. #. type: deftypevr
  27958. #: guix-git/doc/guix.texi:18724
  27959. #, no-wrap
  27960. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  27961. msgstr ""
  27962. #. type: deftypevr
  27963. #: guix-git/doc/guix.texi:18726
  27964. msgid "Specifies whether encryption will be used for authenticated requests."
  27965. msgstr ""
  27966. #. type: deftypevr
  27967. #: guix-git/doc/guix.texi:18728
  27968. msgid "Defaults to @samp{Required}."
  27969. msgstr ""
  27970. #. type: deftypevr
  27971. #: guix-git/doc/guix.texi:18730
  27972. #, no-wrap
  27973. msgid "{@code{cups-configuration} parameter} string default-language"
  27974. msgstr ""
  27975. #. type: deftypevr
  27976. #: guix-git/doc/guix.texi:18732
  27977. msgid "Specifies the default language to use for text and web content."
  27978. msgstr ""
  27979. #. type: deftypevr
  27980. #: guix-git/doc/guix.texi:18734
  27981. msgid "Defaults to @samp{\"en\"}."
  27982. msgstr ""
  27983. #. type: deftypevr
  27984. #: guix-git/doc/guix.texi:18736
  27985. #, no-wrap
  27986. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  27987. msgstr ""
  27988. #. type: deftypevr
  27989. #: guix-git/doc/guix.texi:18741
  27990. 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\"}."
  27991. msgstr ""
  27992. #. type: deftypevr
  27993. #: guix-git/doc/guix.texi:18743
  27994. msgid "Defaults to @samp{\"Auto\"}."
  27995. msgstr ""
  27996. #. type: deftypevr
  27997. #: guix-git/doc/guix.texi:18745
  27998. #, no-wrap
  27999. msgid "{@code{cups-configuration} parameter} string default-policy"
  28000. msgstr ""
  28001. #. type: deftypevr
  28002. #: guix-git/doc/guix.texi:18747
  28003. msgid "Specifies the default access policy to use."
  28004. msgstr ""
  28005. #. type: deftypevr
  28006. #: guix-git/doc/guix.texi:18749
  28007. msgid "Defaults to @samp{\"default\"}."
  28008. msgstr ""
  28009. #. type: deftypevr
  28010. #: guix-git/doc/guix.texi:18751
  28011. #, no-wrap
  28012. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  28013. msgstr ""
  28014. #. type: deftypevr
  28015. #: guix-git/doc/guix.texi:18753
  28016. msgid "Specifies whether local printers are shared by default."
  28017. msgstr ""
  28018. #. type: deftypevr
  28019. #: guix-git/doc/guix.texi:18755 guix-git/doc/guix.texi:18835
  28020. #: guix-git/doc/guix.texi:19125 guix-git/doc/guix.texi:21910
  28021. #: guix-git/doc/guix.texi:21961 guix-git/doc/guix.texi:21968
  28022. #: guix-git/doc/guix.texi:23250 guix-git/doc/guix.texi:23438
  28023. #: guix-git/doc/guix.texi:23555 guix-git/doc/guix.texi:23591
  28024. #: guix-git/doc/guix.texi:23642 guix-git/doc/guix.texi:23661
  28025. #: guix-git/doc/guix.texi:23671 guix-git/doc/guix.texi:23681
  28026. #: guix-git/doc/guix.texi:23740 guix-git/doc/guix.texi:23762
  28027. #: guix-git/doc/guix.texi:23787 guix-git/doc/guix.texi:23813
  28028. #: guix-git/doc/guix.texi:23831 guix-git/doc/guix.texi:27019
  28029. #: guix-git/doc/guix.texi:27047 guix-git/doc/guix.texi:27183
  28030. #: guix-git/doc/guix.texi:27190 guix-git/doc/guix.texi:27198
  28031. #: guix-git/doc/guix.texi:27235 guix-git/doc/guix.texi:27249
  28032. #: guix-git/doc/guix.texi:27338 guix-git/doc/guix.texi:27345
  28033. #: guix-git/doc/guix.texi:27353 guix-git/doc/guix.texi:28126
  28034. #: guix-git/doc/guix.texi:28266 guix-git/doc/guix.texi:28452
  28035. #: guix-git/doc/guix.texi:28459 guix-git/doc/guix.texi:28481
  28036. #: guix-git/doc/guix.texi:28520 guix-git/doc/guix.texi:28540
  28037. #: guix-git/doc/guix.texi:28554 guix-git/doc/guix.texi:28767
  28038. #: guix-git/doc/guix.texi:30625 guix-git/doc/guix.texi:30713
  28039. #: guix-git/doc/guix.texi:30729 guix-git/doc/guix.texi:30779
  28040. msgid "Defaults to @samp{#t}."
  28041. msgstr ""
  28042. #. type: deftypevr
  28043. #: guix-git/doc/guix.texi:18757
  28044. #, no-wrap
  28045. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  28046. msgstr ""
  28047. #. type: deftypevr
  28048. #: guix-git/doc/guix.texi:18761
  28049. 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."
  28050. msgstr ""
  28051. #. type: deftypevr
  28052. #: guix-git/doc/guix.texi:18763 guix-git/doc/guix.texi:18811
  28053. #: guix-git/doc/guix.texi:18820 guix-git/doc/guix.texi:19132
  28054. #: guix-git/doc/guix.texi:23600 guix-git/doc/guix.texi:23633
  28055. msgid "Defaults to @samp{30}."
  28056. msgstr ""
  28057. #. type: deftypevr
  28058. #: guix-git/doc/guix.texi:18765
  28059. #, no-wrap
  28060. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  28061. msgstr ""
  28062. #. type: deftypevr
  28063. #: guix-git/doc/guix.texi:18771
  28064. 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."
  28065. msgstr ""
  28066. #. type: deftypevr
  28067. #: guix-git/doc/guix.texi:18773
  28068. msgid "Defaults to @samp{stop-printer}."
  28069. msgstr ""
  28070. #. type: deftypevr
  28071. #: guix-git/doc/guix.texi:18775
  28072. #, no-wrap
  28073. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  28074. msgstr ""
  28075. #. type: deftypevr
  28076. #: guix-git/doc/guix.texi:18783
  28077. 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."
  28078. msgstr ""
  28079. #. type: deftypevr
  28080. #: guix-git/doc/guix.texi:18785 guix-git/doc/guix.texi:18793
  28081. #: guix-git/doc/guix.texi:18842 guix-git/doc/guix.texi:18958
  28082. #: guix-git/doc/guix.texi:18972 guix-git/doc/guix.texi:18979
  28083. #: guix-git/doc/guix.texi:20465 guix-git/doc/guix.texi:20481
  28084. #: guix-git/doc/guix.texi:21138 guix-git/doc/guix.texi:21150
  28085. #: guix-git/doc/guix.texi:21929 guix-git/doc/guix.texi:21938
  28086. #: guix-git/doc/guix.texi:21946 guix-git/doc/guix.texi:21954
  28087. #: guix-git/doc/guix.texi:28142 guix-git/doc/guix.texi:28467
  28088. #: guix-git/doc/guix.texi:30618 guix-git/doc/guix.texi:30918
  28089. #: guix-git/doc/guix.texi:31092
  28090. msgid "Defaults to @samp{0}."
  28091. msgstr ""
  28092. #. type: deftypevr
  28093. #: guix-git/doc/guix.texi:18787
  28094. #, no-wrap
  28095. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  28096. msgstr ""
  28097. #. type: deftypevr
  28098. #: guix-git/doc/guix.texi:18791
  28099. 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."
  28100. msgstr ""
  28101. #. type: deftypevr
  28102. #: guix-git/doc/guix.texi:18795
  28103. #, no-wrap
  28104. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  28105. msgstr ""
  28106. #. type: deftypevr
  28107. #: guix-git/doc/guix.texi:18802
  28108. 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."
  28109. msgstr ""
  28110. #. type: deftypevr
  28111. #: guix-git/doc/guix.texi:18806
  28112. #, no-wrap
  28113. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  28114. msgstr ""
  28115. #. type: deftypevr
  28116. #: guix-git/doc/guix.texi:18809
  28117. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  28118. msgstr ""
  28119. #. type: deftypevr
  28120. #: guix-git/doc/guix.texi:18813
  28121. #, no-wrap
  28122. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  28123. msgstr ""
  28124. #. type: deftypevr
  28125. #: guix-git/doc/guix.texi:18818
  28126. 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}."
  28127. msgstr ""
  28128. #. type: deftypevr
  28129. #: guix-git/doc/guix.texi:18822
  28130. #, no-wrap
  28131. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  28132. msgstr ""
  28133. #. type: deftypevr
  28134. #: guix-git/doc/guix.texi:18827
  28135. 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}."
  28136. msgstr ""
  28137. #. type: deftypevr
  28138. #: guix-git/doc/guix.texi:18829 guix-git/doc/guix.texi:23564
  28139. #: guix-git/doc/guix.texi:29019 guix-git/doc/guix.texi:29039
  28140. #: guix-git/doc/guix.texi:29055 guix-git/doc/guix.texi:29069
  28141. #: guix-git/doc/guix.texi:29076 guix-git/doc/guix.texi:29083
  28142. #: guix-git/doc/guix.texi:29090 guix-git/doc/guix.texi:29250
  28143. #: guix-git/doc/guix.texi:29266 guix-git/doc/guix.texi:29273
  28144. #: guix-git/doc/guix.texi:29280 guix-git/doc/guix.texi:29291
  28145. #: guix-git/doc/guix.texi:30570 guix-git/doc/guix.texi:30578
  28146. #: guix-git/doc/guix.texi:30586 guix-git/doc/guix.texi:30610
  28147. msgid "Defaults to @samp{5}."
  28148. msgstr ""
  28149. #. type: deftypevr
  28150. #: guix-git/doc/guix.texi:18831
  28151. #, no-wrap
  28152. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  28153. msgstr ""
  28154. #. type: deftypevr
  28155. #: guix-git/doc/guix.texi:18833
  28156. msgid "Specifies whether to support HTTP keep-alive connections."
  28157. msgstr ""
  28158. #. type: deftypevr
  28159. #: guix-git/doc/guix.texi:18837
  28160. #, no-wrap
  28161. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  28162. msgstr ""
  28163. #. type: deftypevr
  28164. #: guix-git/doc/guix.texi:18840
  28165. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  28166. msgstr ""
  28167. #. type: deftypevr
  28168. #: guix-git/doc/guix.texi:18844
  28169. #, no-wrap
  28170. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  28171. msgstr ""
  28172. #. type: deftypevr
  28173. #: guix-git/doc/guix.texi:18851
  28174. 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."
  28175. msgstr ""
  28176. #. type: deftypevr
  28177. #: guix-git/doc/guix.texi:18853
  28178. #, no-wrap
  28179. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  28180. msgstr ""
  28181. #. type: deftypevr
  28182. #: guix-git/doc/guix.texi:18860
  28183. 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."
  28184. msgstr ""
  28185. #. type: deftypevr
  28186. #: guix-git/doc/guix.texi:18862
  28187. msgid "Defaults to @samp{128}."
  28188. msgstr ""
  28189. #. type: deftypevr
  28190. #: guix-git/doc/guix.texi:18864
  28191. #, no-wrap
  28192. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  28193. msgstr ""
  28194. #. type: deftypevr
  28195. #: guix-git/doc/guix.texi:18866
  28196. msgid "Specifies a set of additional access controls."
  28197. msgstr ""
  28198. #. type: deftypevr
  28199. #: guix-git/doc/guix.texi:18868
  28200. msgid "Available @code{location-access-controls} fields are:"
  28201. msgstr ""
  28202. #. type: deftypevr
  28203. #: guix-git/doc/guix.texi:18869
  28204. #, no-wrap
  28205. msgid "{@code{location-access-controls} parameter} file-name path"
  28206. msgstr ""
  28207. #. type: deftypevr
  28208. #: guix-git/doc/guix.texi:18871
  28209. msgid "Specifies the URI path to which the access control applies."
  28210. msgstr ""
  28211. #. type: deftypevr
  28212. #: guix-git/doc/guix.texi:18873
  28213. #, no-wrap
  28214. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  28215. msgstr ""
  28216. #. type: deftypevr
  28217. #: guix-git/doc/guix.texi:18876
  28218. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  28219. msgstr ""
  28220. #. type: deftypevr
  28221. #: guix-git/doc/guix.texi:18878 guix-git/doc/guix.texi:18884
  28222. #: guix-git/doc/guix.texi:18898 guix-git/doc/guix.texi:18905
  28223. #: guix-git/doc/guix.texi:19047 guix-git/doc/guix.texi:19106
  28224. #: guix-git/doc/guix.texi:19184 guix-git/doc/guix.texi:19198
  28225. #: guix-git/doc/guix.texi:20345 guix-git/doc/guix.texi:20354
  28226. #: guix-git/doc/guix.texi:21624 guix-git/doc/guix.texi:21827
  28227. #: guix-git/doc/guix.texi:21855 guix-git/doc/guix.texi:21885
  28228. #: guix-git/doc/guix.texi:22000 guix-git/doc/guix.texi:22013
  28229. #: guix-git/doc/guix.texi:22020 guix-git/doc/guix.texi:23770
  28230. #: guix-git/doc/guix.texi:24165 guix-git/doc/guix.texi:24269
  28231. #: guix-git/doc/guix.texi:24696 guix-git/doc/guix.texi:24704
  28232. #: guix-git/doc/guix.texi:24949 guix-git/doc/guix.texi:27078
  28233. #: guix-git/doc/guix.texi:27256 guix-git/doc/guix.texi:27455
  28234. #: guix-git/doc/guix.texi:28910 guix-git/doc/guix.texi:28970
  28235. #: guix-git/doc/guix.texi:28978 guix-git/doc/guix.texi:30633
  28236. #: guix-git/doc/guix.texi:30640 guix-git/doc/guix.texi:30982
  28237. #: guix-git/doc/guix.texi:31060 guix-git/doc/guix.texi:31154
  28238. #: guix-git/doc/guix.texi:31162 guix-git/doc/guix.texi:31198
  28239. #: guix-git/doc/guix.texi:31348 guix-git/doc/guix.texi:31399
  28240. #: guix-git/doc/guix.texi:31408
  28241. msgid "Defaults to @samp{()}."
  28242. msgstr ""
  28243. #. type: deftypevr
  28244. #: guix-git/doc/guix.texi:18880
  28245. #, no-wrap
  28246. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  28247. msgstr ""
  28248. #. type: deftypevr
  28249. #: guix-git/doc/guix.texi:18882
  28250. msgid "Access controls for method-specific access to this path."
  28251. msgstr ""
  28252. #. type: deftypevr
  28253. #: guix-git/doc/guix.texi:18886
  28254. msgid "Available @code{method-access-controls} fields are:"
  28255. msgstr ""
  28256. #. type: deftypevr
  28257. #: guix-git/doc/guix.texi:18887
  28258. #, no-wrap
  28259. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  28260. msgstr ""
  28261. #. type: deftypevr
  28262. #: guix-git/doc/guix.texi:18890
  28263. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  28264. msgstr ""
  28265. #. type: deftypevr
  28266. #: guix-git/doc/guix.texi:18894
  28267. #, no-wrap
  28268. msgid "{@code{method-access-controls} parameter} method-list methods"
  28269. msgstr ""
  28270. #. type: deftypevr
  28271. #: guix-git/doc/guix.texi:18896
  28272. msgid "Methods to which this access control applies."
  28273. msgstr ""
  28274. #. type: deftypevr
  28275. #: guix-git/doc/guix.texi:18900
  28276. #, no-wrap
  28277. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  28278. msgstr ""
  28279. #. type: deftypevr
  28280. #: guix-git/doc/guix.texi:18903
  28281. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  28282. msgstr ""
  28283. #. type: deftypevr
  28284. #: guix-git/doc/guix.texi:18909
  28285. #, no-wrap
  28286. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  28287. msgstr ""
  28288. #. type: deftypevr
  28289. #: guix-git/doc/guix.texi:18913
  28290. 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."
  28291. msgstr ""
  28292. #. type: deftypevr
  28293. #: guix-git/doc/guix.texi:18915 guix-git/doc/guix.texi:18936
  28294. #: guix-git/doc/guix.texi:18943 guix-git/doc/guix.texi:21384
  28295. #: guix-git/doc/guix.texi:23302 guix-git/doc/guix.texi:23317
  28296. #: guix-git/doc/guix.texi:27440
  28297. msgid "Defaults to @samp{100}."
  28298. msgstr ""
  28299. #. type: deftypevr
  28300. #: guix-git/doc/guix.texi:18917
  28301. #, no-wrap
  28302. msgid "{@code{cups-configuration} parameter} log-level log-level"
  28303. msgstr ""
  28304. #. type: deftypevr
  28305. #: guix-git/doc/guix.texi:18920
  28306. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  28307. msgstr ""
  28308. #. type: deftypevr
  28309. #: guix-git/doc/guix.texi:18922 guix-git/doc/guix.texi:23779
  28310. msgid "Defaults to @samp{info}."
  28311. msgstr ""
  28312. #. type: deftypevr
  28313. #: guix-git/doc/guix.texi:18924
  28314. #, no-wrap
  28315. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  28316. msgstr ""
  28317. #. type: deftypevr
  28318. #: guix-git/doc/guix.texi:18927
  28319. 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."
  28320. msgstr ""
  28321. #. type: deftypevr
  28322. #: guix-git/doc/guix.texi:18929
  28323. msgid "Defaults to @samp{standard}."
  28324. msgstr ""
  28325. #. type: deftypevr
  28326. #: guix-git/doc/guix.texi:18931
  28327. #, no-wrap
  28328. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  28329. msgstr ""
  28330. #. type: deftypevr
  28331. #: guix-git/doc/guix.texi:18934
  28332. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  28333. msgstr ""
  28334. #. type: deftypevr
  28335. #: guix-git/doc/guix.texi:18938
  28336. #, no-wrap
  28337. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  28338. msgstr ""
  28339. #. type: deftypevr
  28340. #: guix-git/doc/guix.texi:18941
  28341. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  28342. msgstr ""
  28343. #. type: deftypevr
  28344. #: guix-git/doc/guix.texi:18945
  28345. #, no-wrap
  28346. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  28347. msgstr ""
  28348. #. type: deftypevr
  28349. #: guix-git/doc/guix.texi:18948
  28350. msgid "Specifies the maximum number of copies that a user can print of each job."
  28351. msgstr ""
  28352. #. type: deftypevr
  28353. #: guix-git/doc/guix.texi:18950
  28354. msgid "Defaults to @samp{9999}."
  28355. msgstr ""
  28356. #. type: deftypevr
  28357. #: guix-git/doc/guix.texi:18952
  28358. #, no-wrap
  28359. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  28360. msgstr ""
  28361. #. type: deftypevr
  28362. #: guix-git/doc/guix.texi:18956
  28363. 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."
  28364. msgstr ""
  28365. #. type: deftypevr
  28366. #: guix-git/doc/guix.texi:18960
  28367. #, no-wrap
  28368. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  28369. msgstr ""
  28370. #. type: deftypevr
  28371. #: guix-git/doc/guix.texi:18963
  28372. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  28373. msgstr ""
  28374. #. type: deftypevr
  28375. #: guix-git/doc/guix.texi:18965
  28376. msgid "Defaults to @samp{500}."
  28377. msgstr ""
  28378. #. type: deftypevr
  28379. #: guix-git/doc/guix.texi:18967
  28380. #, no-wrap
  28381. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  28382. msgstr ""
  28383. #. type: deftypevr
  28384. #: guix-git/doc/guix.texi:18970
  28385. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  28386. msgstr ""
  28387. #. type: deftypevr
  28388. #: guix-git/doc/guix.texi:18974
  28389. #, no-wrap
  28390. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  28391. msgstr ""
  28392. #. type: deftypevr
  28393. #: guix-git/doc/guix.texi:18977
  28394. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  28395. msgstr ""
  28396. #. type: deftypevr
  28397. #: guix-git/doc/guix.texi:18981
  28398. #, no-wrap
  28399. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  28400. msgstr ""
  28401. #. type: deftypevr
  28402. #: guix-git/doc/guix.texi:18984
  28403. 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."
  28404. msgstr ""
  28405. #. type: deftypevr
  28406. #: guix-git/doc/guix.texi:18986
  28407. msgid "Defaults to @samp{10800}."
  28408. msgstr ""
  28409. #. type: deftypevr
  28410. #: guix-git/doc/guix.texi:18988
  28411. #, no-wrap
  28412. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  28413. msgstr ""
  28414. #. type: deftypevr
  28415. #: guix-git/doc/guix.texi:18991
  28416. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  28417. msgstr ""
  28418. #. type: deftypevr
  28419. #: guix-git/doc/guix.texi:18993
  28420. msgid "Defaults to @samp{1048576}."
  28421. msgstr ""
  28422. #. type: deftypevr
  28423. #: guix-git/doc/guix.texi:18995
  28424. #, no-wrap
  28425. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  28426. msgstr ""
  28427. #. type: deftypevr
  28428. #: guix-git/doc/guix.texi:18998
  28429. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  28430. msgstr ""
  28431. #. type: deftypevr
  28432. #: guix-git/doc/guix.texi:19000 guix-git/doc/guix.texi:19211
  28433. #: guix-git/doc/guix.texi:27012
  28434. msgid "Defaults to @samp{300}."
  28435. msgstr ""
  28436. #. type: deftypevr
  28437. #: guix-git/doc/guix.texi:19002
  28438. #, no-wrap
  28439. msgid "{@code{cups-configuration} parameter} string page-log-format"
  28440. msgstr ""
  28441. #. type: deftypevr
  28442. #: guix-git/doc/guix.texi:19007
  28443. 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:"
  28444. msgstr ""
  28445. #. type: item
  28446. #: guix-git/doc/guix.texi:19009
  28447. #, no-wrap
  28448. msgid "%%"
  28449. msgstr ""
  28450. #. type: table
  28451. #: guix-git/doc/guix.texi:19011
  28452. msgid "insert a single percent character"
  28453. msgstr ""
  28454. #. type: item
  28455. #: guix-git/doc/guix.texi:19012
  28456. #, no-wrap
  28457. msgid "%@{name@}"
  28458. msgstr ""
  28459. #. type: table
  28460. #: guix-git/doc/guix.texi:19014
  28461. msgid "insert the value of the specified IPP attribute"
  28462. msgstr ""
  28463. #. type: item
  28464. #: guix-git/doc/guix.texi:19015
  28465. #, no-wrap
  28466. msgid "%C"
  28467. msgstr ""
  28468. #. type: table
  28469. #: guix-git/doc/guix.texi:19017
  28470. msgid "insert the number of copies for the current page"
  28471. msgstr ""
  28472. #. type: item
  28473. #: guix-git/doc/guix.texi:19018
  28474. #, no-wrap
  28475. msgid "%P"
  28476. msgstr ""
  28477. #. type: table
  28478. #: guix-git/doc/guix.texi:19020
  28479. msgid "insert the current page number"
  28480. msgstr ""
  28481. #. type: item
  28482. #: guix-git/doc/guix.texi:19021
  28483. #, no-wrap
  28484. msgid "%T"
  28485. msgstr ""
  28486. #. type: table
  28487. #: guix-git/doc/guix.texi:19023
  28488. msgid "insert the current date and time in common log format"
  28489. msgstr ""
  28490. #. type: item
  28491. #: guix-git/doc/guix.texi:19024
  28492. #, no-wrap
  28493. msgid "%j"
  28494. msgstr ""
  28495. #. type: table
  28496. #: guix-git/doc/guix.texi:19026
  28497. msgid "insert the job ID"
  28498. msgstr ""
  28499. #. type: item
  28500. #: guix-git/doc/guix.texi:19027 guix-git/doc/guix.texi:20983
  28501. #, no-wrap
  28502. msgid "%p"
  28503. msgstr ""
  28504. #. type: table
  28505. #: guix-git/doc/guix.texi:19029
  28506. msgid "insert the printer name"
  28507. msgstr ""
  28508. #. type: item
  28509. #: guix-git/doc/guix.texi:19030 guix-git/doc/guix.texi:21006
  28510. #, no-wrap
  28511. msgid "%u"
  28512. msgstr ""
  28513. #. type: table
  28514. #: guix-git/doc/guix.texi:19032
  28515. msgid "insert the username"
  28516. msgstr ""
  28517. #. type: deftypevr
  28518. #: guix-git/doc/guix.texi:19038
  28519. 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."
  28520. msgstr ""
  28521. #. type: deftypevr
  28522. #: guix-git/doc/guix.texi:19042
  28523. #, no-wrap
  28524. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  28525. msgstr ""
  28526. #. type: deftypevr
  28527. #: guix-git/doc/guix.texi:19045
  28528. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  28529. msgstr ""
  28530. #. type: deftypevr
  28531. #: guix-git/doc/guix.texi:19049
  28532. #, no-wrap
  28533. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  28534. msgstr ""
  28535. #. type: deftypevr
  28536. #: guix-git/doc/guix.texi:19051
  28537. msgid "Specifies named access control policies."
  28538. msgstr ""
  28539. #. type: deftypevr
  28540. #: guix-git/doc/guix.texi:19053
  28541. msgid "Available @code{policy-configuration} fields are:"
  28542. msgstr ""
  28543. #. type: deftypevr
  28544. #: guix-git/doc/guix.texi:19054
  28545. #, no-wrap
  28546. msgid "{@code{policy-configuration} parameter} string name"
  28547. msgstr ""
  28548. #. type: deftypevr
  28549. #: guix-git/doc/guix.texi:19056
  28550. msgid "Name of the policy."
  28551. msgstr ""
  28552. #. type: deftypevr
  28553. #: guix-git/doc/guix.texi:19058
  28554. #, no-wrap
  28555. msgid "{@code{policy-configuration} parameter} string job-private-access"
  28556. msgstr ""
  28557. #. type: deftypevr
  28558. #: guix-git/doc/guix.texi:19068
  28559. 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}."
  28560. msgstr ""
  28561. #. type: deftypevr
  28562. #: guix-git/doc/guix.texi:19070 guix-git/doc/guix.texi:19092
  28563. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  28564. msgstr ""
  28565. #. type: deftypevr
  28566. #: guix-git/doc/guix.texi:19072
  28567. #, no-wrap
  28568. msgid "{@code{policy-configuration} parameter} string job-private-values"
  28569. msgstr ""
  28570. #. type: deftypevr
  28571. #: guix-git/doc/guix.texi:19075 guix-git/doc/guix.texi:19097
  28572. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  28573. msgstr ""
  28574. #. type: deftypevr
  28575. #: guix-git/doc/guix.texi:19078
  28576. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  28577. msgstr ""
  28578. #. type: deftypevr
  28579. #: guix-git/doc/guix.texi:19080
  28580. #, no-wrap
  28581. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  28582. msgstr ""
  28583. #. type: deftypevr
  28584. #: guix-git/doc/guix.texi:19090
  28585. 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}."
  28586. msgstr ""
  28587. #. type: deftypevr
  28588. #: guix-git/doc/guix.texi:19094
  28589. #, no-wrap
  28590. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  28591. msgstr ""
  28592. #. type: deftypevr
  28593. #: guix-git/doc/guix.texi:19100
  28594. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  28595. msgstr ""
  28596. #. type: deftypevr
  28597. #: guix-git/doc/guix.texi:19102
  28598. #, no-wrap
  28599. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  28600. msgstr ""
  28601. #. type: deftypevr
  28602. #: guix-git/doc/guix.texi:19104
  28603. msgid "Access control by IPP operation."
  28604. msgstr ""
  28605. #. type: deftypevr
  28606. #: guix-git/doc/guix.texi:19109
  28607. #, no-wrap
  28608. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  28609. msgstr ""
  28610. #. type: deftypevr
  28611. #: guix-git/doc/guix.texi:19114
  28612. 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."
  28613. msgstr ""
  28614. #. type: deftypevr
  28615. #: guix-git/doc/guix.texi:19116
  28616. msgid "Defaults to @samp{86400}."
  28617. msgstr ""
  28618. #. type: deftypevr
  28619. #: guix-git/doc/guix.texi:19118
  28620. #, no-wrap
  28621. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  28622. msgstr ""
  28623. #. type: deftypevr
  28624. #: guix-git/doc/guix.texi:19123
  28625. 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."
  28626. msgstr ""
  28627. #. type: deftypevr
  28628. #: guix-git/doc/guix.texi:19127
  28629. #, no-wrap
  28630. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  28631. msgstr ""
  28632. #. type: deftypevr
  28633. #: guix-git/doc/guix.texi:19130
  28634. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  28635. msgstr ""
  28636. #. type: deftypevr
  28637. #: guix-git/doc/guix.texi:19134
  28638. #, no-wrap
  28639. msgid "{@code{cups-configuration} parameter} string rip-cache"
  28640. msgstr ""
  28641. #. type: deftypevr
  28642. #: guix-git/doc/guix.texi:19137
  28643. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  28644. msgstr ""
  28645. #. type: deftypevr
  28646. #: guix-git/doc/guix.texi:19139
  28647. msgid "Defaults to @samp{\"128m\"}."
  28648. msgstr ""
  28649. #. type: deftypevr
  28650. #: guix-git/doc/guix.texi:19141
  28651. #, no-wrap
  28652. msgid "{@code{cups-configuration} parameter} string server-admin"
  28653. msgstr ""
  28654. #. type: deftypevr
  28655. #: guix-git/doc/guix.texi:19143
  28656. msgid "Specifies the email address of the server administrator."
  28657. msgstr ""
  28658. #. type: deftypevr
  28659. #: guix-git/doc/guix.texi:19145
  28660. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  28661. msgstr ""
  28662. #. type: deftypevr
  28663. #: guix-git/doc/guix.texi:19147
  28664. #, no-wrap
  28665. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  28666. msgstr ""
  28667. #. type: deftypevr
  28668. #: guix-git/doc/guix.texi:19155
  28669. 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{*}."
  28670. msgstr ""
  28671. #. type: deftypevr
  28672. #: guix-git/doc/guix.texi:19157
  28673. msgid "Defaults to @samp{*}."
  28674. msgstr ""
  28675. #. type: deftypevr
  28676. #: guix-git/doc/guix.texi:19159
  28677. #, no-wrap
  28678. msgid "{@code{cups-configuration} parameter} string server-name"
  28679. msgstr ""
  28680. #. type: deftypevr
  28681. #: guix-git/doc/guix.texi:19161
  28682. msgid "Specifies the fully-qualified host name of the server."
  28683. msgstr ""
  28684. #. type: deftypevr
  28685. #: guix-git/doc/guix.texi:19163 guix-git/doc/guix.texi:24292
  28686. #: guix-git/doc/guix.texi:24337
  28687. msgid "Defaults to @samp{\"localhost\"}."
  28688. msgstr ""
  28689. #. type: deftypevr
  28690. #: guix-git/doc/guix.texi:19165
  28691. #, no-wrap
  28692. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  28693. msgstr ""
  28694. #. type: deftypevr
  28695. #: guix-git/doc/guix.texi:19173
  28696. 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}."
  28697. msgstr ""
  28698. #. type: deftypevr
  28699. #: guix-git/doc/guix.texi:19175
  28700. msgid "Defaults to @samp{Minimal}."
  28701. msgstr ""
  28702. #. type: deftypevr
  28703. #: guix-git/doc/guix.texi:19177
  28704. #, no-wrap
  28705. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  28706. msgstr ""
  28707. #. type: deftypevr
  28708. #: guix-git/doc/guix.texi:19182
  28709. 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."
  28710. msgstr ""
  28711. #. type: deftypevr
  28712. #: guix-git/doc/guix.texi:19186
  28713. #, no-wrap
  28714. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  28715. msgstr ""
  28716. #. type: deftypevr
  28717. #: guix-git/doc/guix.texi:19196
  28718. 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."
  28719. msgstr ""
  28720. #. type: deftypevr
  28721. #: guix-git/doc/guix.texi:19200
  28722. #, no-wrap
  28723. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  28724. msgstr ""
  28725. #. type: deftypevr
  28726. #: guix-git/doc/guix.texi:19203
  28727. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  28728. msgstr ""
  28729. #. type: deftypevr
  28730. #: guix-git/doc/guix.texi:19207
  28731. #, no-wrap
  28732. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  28733. msgstr ""
  28734. #. type: deftypevr
  28735. #: guix-git/doc/guix.texi:19209
  28736. msgid "Specifies the HTTP request timeout, in seconds."
  28737. msgstr ""
  28738. #. type: deftypevr
  28739. #: guix-git/doc/guix.texi:19214
  28740. #, no-wrap
  28741. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  28742. msgstr ""
  28743. #. type: deftypevr
  28744. #: guix-git/doc/guix.texi:19216
  28745. msgid "Specifies whether the web interface is enabled."
  28746. msgstr ""
  28747. #. type: Plain text
  28748. #: guix-git/doc/guix.texi:19226
  28749. 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}."
  28750. msgstr ""
  28751. #. type: Plain text
  28752. #: guix-git/doc/guix.texi:19228
  28753. msgid "Available @code{opaque-cups-configuration} fields are:"
  28754. msgstr ""
  28755. #. type: deftypevr
  28756. #: guix-git/doc/guix.texi:19229
  28757. #, no-wrap
  28758. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  28759. msgstr ""
  28760. #. type: deftypevr
  28761. #: guix-git/doc/guix.texi:19233
  28762. #, no-wrap
  28763. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  28764. msgstr ""
  28765. #. type: deftypevr
  28766. #: guix-git/doc/guix.texi:19235
  28767. msgid "The contents of the @code{cupsd.conf}, as a string."
  28768. msgstr ""
  28769. #. type: deftypevr
  28770. #: guix-git/doc/guix.texi:19237
  28771. #, no-wrap
  28772. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  28773. msgstr ""
  28774. #. type: deftypevr
  28775. #: guix-git/doc/guix.texi:19239
  28776. msgid "The contents of the @code{cups-files.conf} file, as a string."
  28777. msgstr ""
  28778. #. type: Plain text
  28779. #: guix-git/doc/guix.texi:19244
  28780. 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:"
  28781. msgstr ""
  28782. #. type: lisp
  28783. #: guix-git/doc/guix.texi:19250
  28784. #, no-wrap
  28785. msgid ""
  28786. "(service cups-service-type\n"
  28787. " (opaque-cups-configuration\n"
  28788. " (cupsd.conf cupsd.conf)\n"
  28789. " (cups-files.conf cups-files.conf)))\n"
  28790. msgstr ""
  28791. #. type: Plain text
  28792. #: guix-git/doc/guix.texi:19261
  28793. 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."
  28794. msgstr ""
  28795. #. type: Plain text
  28796. #: guix-git/doc/guix.texi:19265
  28797. 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:"
  28798. msgstr ""
  28799. #. type: defvr
  28800. #: guix-git/doc/guix.texi:19266
  28801. #, no-wrap
  28802. msgid "{Scheme Variable} %desktop-services"
  28803. msgstr ""
  28804. #. type: defvr
  28805. #: guix-git/doc/guix.texi:19269
  28806. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  28807. msgstr ""
  28808. #. type: defvr
  28809. #: guix-git/doc/guix.texi:19280
  28810. 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})."
  28811. msgstr ""
  28812. #. type: Plain text
  28813. #: guix-git/doc/guix.texi:19285
  28814. 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}})."
  28815. msgstr ""
  28816. #. type: Plain text
  28817. #: guix-git/doc/guix.texi:19308
  28818. 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."
  28819. msgstr ""
  28820. #. type: Plain text
  28821. #: guix-git/doc/guix.texi:19317
  28822. msgid "The desktop environments in Guix use the Xorg display server by default. If you'd like to use the newer display server protocol called Wayland, you need to use the @code{sddm-service} instead of GDM as the graphical login manager. You should then select the ``GNOME (Wayland)'' session in SDDM@. Alternatively you can also try starting GNOME on Wayland manually from a TTY with the command ``XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session``. Currently only GNOME has support for Wayland."
  28823. msgstr ""
  28824. #. type: defvr
  28825. #: guix-git/doc/guix.texi:19318
  28826. #, no-wrap
  28827. msgid "{Scheme Variable} gnome-desktop-service-type"
  28828. msgstr ""
  28829. #. type: defvr
  28830. #: guix-git/doc/guix.texi:19322
  28831. 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)."
  28832. msgstr ""
  28833. #. type: defvr
  28834. #: guix-git/doc/guix.texi:19325
  28835. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  28836. msgstr ""
  28837. #. type: deftp
  28838. #: guix-git/doc/guix.texi:19327
  28839. #, no-wrap
  28840. msgid "{Data Type} gnome-desktop-configuration"
  28841. msgstr ""
  28842. #. type: deftp
  28843. #: guix-git/doc/guix.texi:19329
  28844. msgid "Configuration record for the GNOME desktop environment."
  28845. msgstr ""
  28846. #. type: item
  28847. #: guix-git/doc/guix.texi:19331
  28848. #, no-wrap
  28849. msgid "@code{gnome} (default: @code{gnome})"
  28850. msgstr ""
  28851. #. type: table
  28852. #: guix-git/doc/guix.texi:19333
  28853. msgid "The GNOME package to use."
  28854. msgstr ""
  28855. #. type: defvr
  28856. #: guix-git/doc/guix.texi:19336
  28857. #, no-wrap
  28858. msgid "{Scheme Variable} xfce-desktop-service-type"
  28859. msgstr ""
  28860. #. type: defvr
  28861. #: guix-git/doc/guix.texi:19340
  28862. 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)."
  28863. msgstr ""
  28864. #. type: defvr
  28865. #: guix-git/doc/guix.texi:19345
  28866. 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."
  28867. msgstr ""
  28868. #. type: defvr
  28869. #: guix-git/doc/guix.texi:19351
  28870. 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}."
  28871. msgstr ""
  28872. #. type: deftp
  28873. #: guix-git/doc/guix.texi:19353
  28874. #, no-wrap
  28875. msgid "{Data Type} xfce-desktop-configuration"
  28876. msgstr ""
  28877. #. type: deftp
  28878. #: guix-git/doc/guix.texi:19355
  28879. msgid "Configuration record for the Xfce desktop environment."
  28880. msgstr ""
  28881. #. type: item
  28882. #: guix-git/doc/guix.texi:19357
  28883. #, no-wrap
  28884. msgid "@code{xfce} (default: @code{xfce})"
  28885. msgstr ""
  28886. #. type: table
  28887. #: guix-git/doc/guix.texi:19359
  28888. msgid "The Xfce package to use."
  28889. msgstr ""
  28890. #. type: deffn
  28891. #: guix-git/doc/guix.texi:19362
  28892. #, no-wrap
  28893. msgid "{Scheme Variable} mate-desktop-service-type"
  28894. msgstr ""
  28895. #. type: deffn
  28896. #: guix-git/doc/guix.texi:19366
  28897. 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)."
  28898. msgstr ""
  28899. #. type: deffn
  28900. #: guix-git/doc/guix.texi:19370
  28901. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  28902. msgstr ""
  28903. #. type: deftp
  28904. #: guix-git/doc/guix.texi:19372
  28905. #, no-wrap
  28906. msgid "{Data Type} mate-desktop-configuration"
  28907. msgstr ""
  28908. #. type: deftp
  28909. #: guix-git/doc/guix.texi:19374
  28910. msgid "Configuration record for the MATE desktop environment."
  28911. msgstr ""
  28912. #. type: item
  28913. #: guix-git/doc/guix.texi:19376
  28914. #, no-wrap
  28915. msgid "@code{mate} (default: @code{mate})"
  28916. msgstr ""
  28917. #. type: table
  28918. #: guix-git/doc/guix.texi:19378
  28919. msgid "The MATE package to use."
  28920. msgstr ""
  28921. #. type: deffn
  28922. #: guix-git/doc/guix.texi:19381
  28923. #, no-wrap
  28924. msgid "{Scheme Variable} lxqt-desktop-service-type"
  28925. msgstr ""
  28926. #. type: deffn
  28927. #: guix-git/doc/guix.texi:19385
  28928. 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)."
  28929. msgstr ""
  28930. #. type: deffn
  28931. #: guix-git/doc/guix.texi:19388
  28932. msgid "This service adds the @code{lxqt} package to the system profile."
  28933. msgstr ""
  28934. #. type: deftp
  28935. #: guix-git/doc/guix.texi:19390
  28936. #, no-wrap
  28937. msgid "{Data Type} lxqt-desktop-configuration"
  28938. msgstr ""
  28939. #. type: deftp
  28940. #: guix-git/doc/guix.texi:19392
  28941. msgid "Configuration record for the LXQt desktop environment."
  28942. msgstr ""
  28943. #. type: item
  28944. #: guix-git/doc/guix.texi:19394
  28945. #, no-wrap
  28946. msgid "@code{lxqt} (default: @code{lxqt})"
  28947. msgstr ""
  28948. #. type: table
  28949. #: guix-git/doc/guix.texi:19396
  28950. msgid "The LXQT package to use."
  28951. msgstr ""
  28952. #. type: deffn
  28953. #: guix-git/doc/guix.texi:19399
  28954. #, no-wrap
  28955. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  28956. msgstr ""
  28957. #. type: deffn
  28958. #: guix-git/doc/guix.texi:19402
  28959. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  28960. msgstr ""
  28961. #. type: deftp
  28962. #: guix-git/doc/guix.texi:19404
  28963. #, no-wrap
  28964. msgid "{Data Type} enlightenment-desktop-service-configuration"
  28965. msgstr ""
  28966. #. type: item
  28967. #: guix-git/doc/guix.texi:19406
  28968. #, no-wrap
  28969. msgid "@code{enlightenment} (default: @code{enlightenment})"
  28970. msgstr ""
  28971. #. type: table
  28972. #: guix-git/doc/guix.texi:19408
  28973. msgid "The enlightenment package to use."
  28974. msgstr ""
  28975. #. type: Plain text
  28976. #: guix-git/doc/guix.texi:19416
  28977. 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}:"
  28978. msgstr ""
  28979. #. type: lisp
  28980. #: guix-git/doc/guix.texi:19427
  28981. #, no-wrap
  28982. msgid ""
  28983. "(use-modules (gnu))\n"
  28984. "(use-service-modules desktop)\n"
  28985. "(operating-system\n"
  28986. " ...\n"
  28987. " ;; cons* adds items to the list given as its last argument.\n"
  28988. " (services (cons* (service gnome-desktop-service-type)\n"
  28989. " (service xfce-desktop-service)\n"
  28990. " %desktop-services))\n"
  28991. " ...)\n"
  28992. msgstr ""
  28993. #. type: Plain text
  28994. #: guix-git/doc/guix.texi:19431
  28995. msgid "These desktop environments will then be available as options in the graphical login window."
  28996. msgstr ""
  28997. #. type: Plain text
  28998. #: guix-git/doc/guix.texi:19435
  28999. 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."
  29000. msgstr ""
  29001. #. type: deffn
  29002. #: guix-git/doc/guix.texi:19436
  29003. #, no-wrap
  29004. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  29005. msgstr ""
  29006. #. type: deffn
  29007. #: guix-git/doc/guix.texi:19439
  29008. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  29009. msgstr ""
  29010. #. type: deffn
  29011. #: guix-git/doc/guix.texi:19443
  29012. 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."
  29013. msgstr ""
  29014. #. type: deffn
  29015. #: guix-git/doc/guix.texi:19448
  29016. 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)}."
  29017. msgstr ""
  29018. #. type: deffn
  29019. #: guix-git/doc/guix.texi:19450
  29020. #, no-wrap
  29021. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  29022. msgstr ""
  29023. #. type: deffn
  29024. #: guix-git/doc/guix.texi:19456
  29025. 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."
  29026. msgstr ""
  29027. #. type: deffn
  29028. #: guix-git/doc/guix.texi:19460
  29029. 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."
  29030. msgstr ""
  29031. #. type: deffn
  29032. #: guix-git/doc/guix.texi:19465
  29033. 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:"
  29034. msgstr ""
  29035. #. type: item
  29036. #: guix-git/doc/guix.texi:19467
  29037. #, no-wrap
  29038. msgid "kill-user-processes?"
  29039. msgstr ""
  29040. #. type: code{#1}
  29041. #: guix-git/doc/guix.texi:19469 guix-git/doc/guix.texi:19489
  29042. #: guix-git/doc/guix.texi:19491 guix-git/doc/guix.texi:19493
  29043. #: guix-git/doc/guix.texi:19505
  29044. msgid "#f"
  29045. msgstr ""
  29046. #. type: item
  29047. #: guix-git/doc/guix.texi:19469
  29048. #, no-wrap
  29049. msgid "kill-only-users"
  29050. msgstr ""
  29051. #. type: code{#1}
  29052. #: guix-git/doc/guix.texi:19471 guix-git/doc/guix.texi:19511
  29053. msgid "()"
  29054. msgstr ""
  29055. #. type: item
  29056. #: guix-git/doc/guix.texi:19471
  29057. #, no-wrap
  29058. msgid "kill-exclude-users"
  29059. msgstr ""
  29060. #. type: code{#1}
  29061. #: guix-git/doc/guix.texi:19473
  29062. msgid "(\"root\")"
  29063. msgstr ""
  29064. #. type: item
  29065. #: guix-git/doc/guix.texi:19473
  29066. #, no-wrap
  29067. msgid "inhibit-delay-max-seconds"
  29068. msgstr ""
  29069. #. type: code{#1}
  29070. #: guix-git/doc/guix.texi:19475
  29071. msgid "5"
  29072. msgstr ""
  29073. #. type: item
  29074. #: guix-git/doc/guix.texi:19475
  29075. #, no-wrap
  29076. msgid "handle-power-key"
  29077. msgstr ""
  29078. #. type: code{#1}
  29079. #: guix-git/doc/guix.texi:19477
  29080. msgid "poweroff"
  29081. msgstr ""
  29082. #. type: item
  29083. #: guix-git/doc/guix.texi:19477
  29084. #, no-wrap
  29085. msgid "handle-suspend-key"
  29086. msgstr ""
  29087. #. type: code{#1}
  29088. #: guix-git/doc/guix.texi:19479 guix-git/doc/guix.texi:19483
  29089. msgid "suspend"
  29090. msgstr ""
  29091. #. type: item
  29092. #: guix-git/doc/guix.texi:19479
  29093. #, no-wrap
  29094. msgid "handle-hibernate-key"
  29095. msgstr ""
  29096. #. type: code{#1}
  29097. #: guix-git/doc/guix.texi:19481
  29098. msgid "hibernate"
  29099. msgstr ""
  29100. #. type: item
  29101. #: guix-git/doc/guix.texi:19481
  29102. #, no-wrap
  29103. msgid "handle-lid-switch"
  29104. msgstr ""
  29105. #. type: item
  29106. #: guix-git/doc/guix.texi:19483
  29107. #, no-wrap
  29108. msgid "handle-lid-switch-docked"
  29109. msgstr ""
  29110. #. type: code{#1}
  29111. #: guix-git/doc/guix.texi:19485 guix-git/doc/guix.texi:19487
  29112. #: guix-git/doc/guix.texi:19499
  29113. msgid "ignore"
  29114. msgstr ""
  29115. #. type: item
  29116. #: guix-git/doc/guix.texi:19485
  29117. #, no-wrap
  29118. msgid "handle-lid-switch-external-power"
  29119. msgstr ""
  29120. #. type: item
  29121. #: guix-git/doc/guix.texi:19487
  29122. #, no-wrap
  29123. msgid "power-key-ignore-inhibited?"
  29124. msgstr ""
  29125. #. type: item
  29126. #: guix-git/doc/guix.texi:19489
  29127. #, no-wrap
  29128. msgid "suspend-key-ignore-inhibited?"
  29129. msgstr ""
  29130. #. type: item
  29131. #: guix-git/doc/guix.texi:19491
  29132. #, no-wrap
  29133. msgid "hibernate-key-ignore-inhibited?"
  29134. msgstr ""
  29135. #. type: item
  29136. #: guix-git/doc/guix.texi:19493
  29137. #, no-wrap
  29138. msgid "lid-switch-ignore-inhibited?"
  29139. msgstr ""
  29140. #. type: code{#1}
  29141. #: guix-git/doc/guix.texi:19495 guix-git/doc/guix.texi:19507
  29142. msgid "#t"
  29143. msgstr ""
  29144. #. type: item
  29145. #: guix-git/doc/guix.texi:19495
  29146. #, no-wrap
  29147. msgid "holdoff-timeout-seconds"
  29148. msgstr ""
  29149. #. type: code{#1}
  29150. #: guix-git/doc/guix.texi:19497
  29151. msgid "30"
  29152. msgstr ""
  29153. #. type: item
  29154. #: guix-git/doc/guix.texi:19497
  29155. #, no-wrap
  29156. msgid "idle-action"
  29157. msgstr ""
  29158. #. type: item
  29159. #: guix-git/doc/guix.texi:19499
  29160. #, no-wrap
  29161. msgid "idle-action-seconds"
  29162. msgstr ""
  29163. #. type: code{#1}
  29164. #: guix-git/doc/guix.texi:19501
  29165. msgid "(* 30 60)"
  29166. msgstr ""
  29167. #. type: item
  29168. #: guix-git/doc/guix.texi:19501
  29169. #, no-wrap
  29170. msgid "runtime-directory-size-percent"
  29171. msgstr ""
  29172. #. type: code{#1}
  29173. #: guix-git/doc/guix.texi:19503
  29174. msgid "10"
  29175. msgstr ""
  29176. #. type: item
  29177. #: guix-git/doc/guix.texi:19503
  29178. #, no-wrap
  29179. msgid "runtime-directory-size"
  29180. msgstr ""
  29181. #. type: item
  29182. #: guix-git/doc/guix.texi:19505
  29183. #, no-wrap
  29184. msgid "remove-ipc?"
  29185. msgstr ""
  29186. #. type: item
  29187. #: guix-git/doc/guix.texi:19507
  29188. #, no-wrap
  29189. msgid "suspend-state"
  29190. msgstr ""
  29191. #. type: code{#1}
  29192. #: guix-git/doc/guix.texi:19509
  29193. msgid "(\"mem\" \"standby\" \"freeze\")"
  29194. msgstr ""
  29195. #. type: item
  29196. #: guix-git/doc/guix.texi:19509
  29197. #, no-wrap
  29198. msgid "suspend-mode"
  29199. msgstr ""
  29200. #. type: item
  29201. #: guix-git/doc/guix.texi:19511
  29202. #, no-wrap
  29203. msgid "hibernate-state"
  29204. msgstr ""
  29205. #. type: code{#1}
  29206. #: guix-git/doc/guix.texi:19513 guix-git/doc/guix.texi:19517
  29207. msgid "(\"disk\")"
  29208. msgstr ""
  29209. #. type: item
  29210. #: guix-git/doc/guix.texi:19513
  29211. #, no-wrap
  29212. msgid "hibernate-mode"
  29213. msgstr ""
  29214. #. type: code{#1}
  29215. #: guix-git/doc/guix.texi:19515
  29216. msgid "(\"platform\" \"shutdown\")"
  29217. msgstr ""
  29218. #. type: item
  29219. #: guix-git/doc/guix.texi:19515
  29220. #, no-wrap
  29221. msgid "hybrid-sleep-state"
  29222. msgstr ""
  29223. #. type: item
  29224. #: guix-git/doc/guix.texi:19517
  29225. #, no-wrap
  29226. msgid "hybrid-sleep-mode"
  29227. msgstr ""
  29228. #. type: code{#1}
  29229. #: guix-git/doc/guix.texi:19519
  29230. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  29231. msgstr ""
  29232. #. type: deffn
  29233. #: guix-git/doc/guix.texi:19522
  29234. #, no-wrap
  29235. msgid "{Scheme Procedure} accountsservice-service @"
  29236. msgstr ""
  29237. #. type: deffn
  29238. #: guix-git/doc/guix.texi:19530
  29239. 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."
  29240. msgstr ""
  29241. #. type: deffn
  29242. #: guix-git/doc/guix.texi:19533
  29243. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  29244. msgstr ""
  29245. #. type: deffn
  29246. #: guix-git/doc/guix.texi:19535
  29247. #, no-wrap
  29248. msgid "{Scheme Procedure} polkit-service @"
  29249. msgstr ""
  29250. #. type: deffn
  29251. #: guix-git/doc/guix.texi:19544
  29252. 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."
  29253. msgstr ""
  29254. #. type: defvr
  29255. #: guix-git/doc/guix.texi:19546
  29256. #, no-wrap
  29257. msgid "{Scheme Variable} polkit-wheel-service"
  29258. msgstr ""
  29259. #. type: defvr
  29260. #: guix-git/doc/guix.texi:19551
  29261. 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}."
  29262. msgstr ""
  29263. #. type: defvr
  29264. #: guix-git/doc/guix.texi:19553
  29265. #, no-wrap
  29266. msgid "{Scheme Variable} upower-service-type"
  29267. msgstr ""
  29268. #. type: defvr
  29269. #: guix-git/doc/guix.texi:19557
  29270. 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."
  29271. msgstr ""
  29272. #. type: defvr
  29273. #: guix-git/doc/guix.texi:19560
  29274. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  29275. msgstr ""
  29276. #. type: deftp
  29277. #: guix-git/doc/guix.texi:19562
  29278. #, no-wrap
  29279. msgid "{Data Type} upower-configuration"
  29280. msgstr ""
  29281. #. type: deftp
  29282. #: guix-git/doc/guix.texi:19564
  29283. msgid "Data type representation the configuration for UPower."
  29284. msgstr ""
  29285. #. type: item
  29286. #: guix-git/doc/guix.texi:19567
  29287. #, no-wrap
  29288. msgid "@code{upower} (default: @var{upower})"
  29289. msgstr ""
  29290. #. type: table
  29291. #: guix-git/doc/guix.texi:19569
  29292. msgid "Package to use for @code{upower}."
  29293. msgstr ""
  29294. #. type: item
  29295. #: guix-git/doc/guix.texi:19570
  29296. #, no-wrap
  29297. msgid "@code{watts-up-pro?} (default: @code{#f})"
  29298. msgstr ""
  29299. #. type: table
  29300. #: guix-git/doc/guix.texi:19572
  29301. msgid "Enable the Watts Up Pro device."
  29302. msgstr ""
  29303. #. type: item
  29304. #: guix-git/doc/guix.texi:19573
  29305. #, no-wrap
  29306. msgid "@code{poll-batteries?} (default: @code{#t})"
  29307. msgstr ""
  29308. #. type: table
  29309. #: guix-git/doc/guix.texi:19575
  29310. msgid "Enable polling the kernel for battery level changes."
  29311. msgstr ""
  29312. #. type: item
  29313. #: guix-git/doc/guix.texi:19576
  29314. #, no-wrap
  29315. msgid "@code{ignore-lid?} (default: @code{#f})"
  29316. msgstr ""
  29317. #. type: table
  29318. #: guix-git/doc/guix.texi:19578
  29319. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  29320. msgstr ""
  29321. #. type: item
  29322. #: guix-git/doc/guix.texi:19579
  29323. #, no-wrap
  29324. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  29325. msgstr ""
  29326. #. type: table
  29327. #: guix-git/doc/guix.texi:19582
  29328. 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."
  29329. msgstr ""
  29330. #. type: item
  29331. #: guix-git/doc/guix.texi:19583
  29332. #, no-wrap
  29333. msgid "@code{percentage-low} (default: @code{10})"
  29334. msgstr ""
  29335. #. type: table
  29336. #: guix-git/doc/guix.texi:19586
  29337. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  29338. msgstr ""
  29339. #. type: item
  29340. #: guix-git/doc/guix.texi:19587
  29341. #, no-wrap
  29342. msgid "@code{percentage-critical} (default: @code{3})"
  29343. msgstr ""
  29344. #. type: table
  29345. #: guix-git/doc/guix.texi:19590
  29346. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  29347. msgstr ""
  29348. #. type: item
  29349. #: guix-git/doc/guix.texi:19591
  29350. #, no-wrap
  29351. msgid "@code{percentage-action} (default: @code{2})"
  29352. msgstr ""
  29353. #. type: table
  29354. #: guix-git/doc/guix.texi:19594
  29355. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  29356. msgstr ""
  29357. #. type: item
  29358. #: guix-git/doc/guix.texi:19595
  29359. #, no-wrap
  29360. msgid "@code{time-low} (default: @code{1200})"
  29361. msgstr ""
  29362. #. type: table
  29363. #: guix-git/doc/guix.texi:19598
  29364. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  29365. msgstr ""
  29366. #. type: item
  29367. #: guix-git/doc/guix.texi:19599
  29368. #, no-wrap
  29369. msgid "@code{time-critical} (default: @code{300})"
  29370. msgstr ""
  29371. #. type: table
  29372. #: guix-git/doc/guix.texi:19602
  29373. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  29374. msgstr ""
  29375. #. type: item
  29376. #: guix-git/doc/guix.texi:19603
  29377. #, no-wrap
  29378. msgid "@code{time-action} (default: @code{120})"
  29379. msgstr ""
  29380. #. type: table
  29381. #: guix-git/doc/guix.texi:19606
  29382. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  29383. msgstr ""
  29384. #. type: item
  29385. #: guix-git/doc/guix.texi:19607
  29386. #, no-wrap
  29387. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  29388. msgstr ""
  29389. #. type: table
  29390. #: guix-git/doc/guix.texi:19610
  29391. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  29392. msgstr ""
  29393. #. type: table
  29394. #: guix-git/doc/guix.texi:19612
  29395. msgid "Possible values are:"
  29396. msgstr ""
  29397. #. type: code{#1}
  29398. #: guix-git/doc/guix.texi:19616
  29399. msgid "'power-off"
  29400. msgstr ""
  29401. #. type: code{#1}
  29402. #: guix-git/doc/guix.texi:19619
  29403. msgid "'hibernate"
  29404. msgstr ""
  29405. #. type: itemize
  29406. #: guix-git/doc/guix.texi:19622
  29407. msgid "@code{'hybrid-sleep}."
  29408. msgstr ""
  29409. #. type: deffn
  29410. #: guix-git/doc/guix.texi:19627
  29411. #, no-wrap
  29412. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  29413. msgstr ""
  29414. #. type: deffn
  29415. #: guix-git/doc/guix.texi:19637
  29416. 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."
  29417. msgstr ""
  29418. #. type: deffn
  29419. #: guix-git/doc/guix.texi:19639
  29420. #, no-wrap
  29421. msgid "{Scheme Variable} colord-service-type"
  29422. msgstr ""
  29423. #. type: deffn
  29424. #: guix-git/doc/guix.texi:19646
  29425. 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."
  29426. msgstr ""
  29427. #. type: cindex
  29428. #: guix-git/doc/guix.texi:19648
  29429. #, no-wrap
  29430. msgid "scanner access"
  29431. msgstr ""
  29432. #. type: defvr
  29433. #: guix-git/doc/guix.texi:19649
  29434. #, no-wrap
  29435. msgid "{Scheme Variable} sane-service-type"
  29436. msgstr ""
  29437. #. type: defvr
  29438. #: guix-git/doc/guix.texi:19655
  29439. 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."
  29440. msgstr ""
  29441. #. type: defvr
  29442. #: guix-git/doc/guix.texi:19657
  29443. #, no-wrap
  29444. msgid "{Scheme Variable} sane-backends-minimal"
  29445. msgstr ""
  29446. #. type: defvr
  29447. #: guix-git/doc/guix.texi:19660
  29448. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  29449. msgstr ""
  29450. #. type: defvr
  29451. #: guix-git/doc/guix.texi:19662
  29452. #, no-wrap
  29453. msgid "{Scheme Variable} sane-backends"
  29454. msgstr ""
  29455. #. type: defvr
  29456. #: guix-git/doc/guix.texi:19669
  29457. 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:"
  29458. msgstr ""
  29459. #. type: lisp
  29460. #: guix-git/doc/guix.texi:19678
  29461. #, no-wrap
  29462. msgid ""
  29463. "(use-modules (gnu))\n"
  29464. "(use-service-modules\n"
  29465. " @dots{}\n"
  29466. " desktop)\n"
  29467. "(use-package-modules\n"
  29468. " @dots{}\n"
  29469. " scanner)\n"
  29470. "\n"
  29471. msgstr ""
  29472. #. type: lisp
  29473. #: guix-git/doc/guix.texi:19683
  29474. #, no-wrap
  29475. msgid ""
  29476. "(define %my-desktop-services\n"
  29477. " ;; List of desktop services that supports a broader range of scanners.\n"
  29478. " (modify-services %desktop-services\n"
  29479. " (sane-service-type _ => sane-backends)))\n"
  29480. "\n"
  29481. msgstr ""
  29482. #. type: lisp
  29483. #: guix-git/doc/guix.texi:19687
  29484. #, no-wrap
  29485. msgid ""
  29486. "(operating-system\n"
  29487. " @dots{}\n"
  29488. " (services %my-desktop-services)\n"
  29489. msgstr ""
  29490. #. type: deffn
  29491. #: guix-git/doc/guix.texi:19690
  29492. #, no-wrap
  29493. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  29494. msgstr ""
  29495. #. type: deffn
  29496. #: guix-git/doc/guix.texi:19699
  29497. 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."
  29498. msgstr ""
  29499. #. type: defvr
  29500. #: guix-git/doc/guix.texi:19701
  29501. #, no-wrap
  29502. msgid "{Scheme Variable} %standard-geoclue-applications"
  29503. msgstr ""
  29504. #. type: defvr
  29505. #: guix-git/doc/guix.texi:19708
  29506. 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."
  29507. msgstr ""
  29508. #. type: deffn
  29509. #: guix-git/doc/guix.texi:19710
  29510. #, no-wrap
  29511. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  29512. msgstr ""
  29513. #. type: deffn
  29514. #: guix-git/doc/guix.texi:19723
  29515. 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."
  29516. msgstr ""
  29517. #. type: deffn
  29518. #: guix-git/doc/guix.texi:19725
  29519. #, no-wrap
  29520. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  29521. msgstr ""
  29522. #. type: deffn
  29523. #: guix-git/doc/guix.texi:19732
  29524. 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."
  29525. msgstr ""
  29526. #. type: deffn
  29527. #: guix-git/doc/guix.texi:19734
  29528. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  29529. msgstr ""
  29530. #. type: defvr
  29531. #: guix-git/doc/guix.texi:19736
  29532. #, no-wrap
  29533. msgid "{Scheme Variable} gnome-keyring-service-type"
  29534. msgstr ""
  29535. #. type: defvr
  29536. #: guix-git/doc/guix.texi:19740
  29537. 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)."
  29538. msgstr ""
  29539. #. type: defvr
  29540. #: guix-git/doc/guix.texi:19744
  29541. 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."
  29542. msgstr ""
  29543. #. type: deftp
  29544. #: guix-git/doc/guix.texi:19746
  29545. #, no-wrap
  29546. msgid "{Data Type} gnome-keyring-configuration"
  29547. msgstr ""
  29548. #. type: deftp
  29549. #: guix-git/doc/guix.texi:19748
  29550. msgid "Configuration record for the GNOME Keyring service."
  29551. msgstr ""
  29552. #. type: item
  29553. #: guix-git/doc/guix.texi:19750
  29554. #, no-wrap
  29555. msgid "@code{keyring} (default: @code{gnome-keyring})"
  29556. msgstr ""
  29557. #. type: table
  29558. #: guix-git/doc/guix.texi:19752
  29559. msgid "The GNOME keyring package to use."
  29560. msgstr ""
  29561. #. type: code{#1}
  29562. #: guix-git/doc/guix.texi:19753
  29563. #, no-wrap
  29564. msgid "pam-services"
  29565. msgstr ""
  29566. #. type: table
  29567. #: guix-git/doc/guix.texi:19758
  29568. 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}."
  29569. msgstr ""
  29570. #. type: table
  29571. #: guix-git/doc/guix.texi:19764
  29572. 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."
  29573. msgstr ""
  29574. #. type: table
  29575. #: guix-git/doc/guix.texi:19767
  29576. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  29577. msgstr ""
  29578. #. type: cindex
  29579. #: guix-git/doc/guix.texi:19774
  29580. #, no-wrap
  29581. msgid "sound support"
  29582. msgstr ""
  29583. #. type: cindex
  29584. #: guix-git/doc/guix.texi:19775
  29585. #, no-wrap
  29586. msgid "ALSA"
  29587. msgstr ""
  29588. #. type: cindex
  29589. #: guix-git/doc/guix.texi:19776
  29590. #, no-wrap
  29591. msgid "PulseAudio, sound support"
  29592. msgstr ""
  29593. #. type: Plain text
  29594. #: guix-git/doc/guix.texi:19781
  29595. 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."
  29596. msgstr ""
  29597. #. type: deffn
  29598. #: guix-git/doc/guix.texi:19782
  29599. #, no-wrap
  29600. msgid "{Scheme Variable} alsa-service-type"
  29601. msgstr ""
  29602. #. type: deffn
  29603. #: guix-git/doc/guix.texi:19787
  29604. 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:"
  29605. msgstr ""
  29606. #. type: lisp
  29607. #: guix-git/doc/guix.texi:19790
  29608. #, no-wrap
  29609. msgid "(service alsa-service-type)\n"
  29610. msgstr ""
  29611. #. type: deffn
  29612. #: guix-git/doc/guix.texi:19793
  29613. msgid "See below for details about @code{alsa-configuration}."
  29614. msgstr ""
  29615. #. type: deftp
  29616. #: guix-git/doc/guix.texi:19795
  29617. #, no-wrap
  29618. msgid "{Data Type} alsa-configuration"
  29619. msgstr ""
  29620. #. type: deftp
  29621. #: guix-git/doc/guix.texi:19797
  29622. msgid "Data type representing the configuration for @code{alsa-service}."
  29623. msgstr ""
  29624. #. type: item
  29625. #: guix-git/doc/guix.texi:19799
  29626. #, no-wrap
  29627. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  29628. msgstr ""
  29629. #. type: table
  29630. #: guix-git/doc/guix.texi:19801
  29631. msgid "@code{alsa-plugins} package to use."
  29632. msgstr ""
  29633. #. type: item
  29634. #: guix-git/doc/guix.texi:19802
  29635. #, no-wrap
  29636. msgid "@code{pulseaudio?} (default: @var{#t})"
  29637. msgstr ""
  29638. #. type: table
  29639. #: guix-git/doc/guix.texi:19805
  29640. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  29641. msgstr ""
  29642. #. type: table
  29643. #: guix-git/doc/guix.texi:19809
  29644. 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."
  29645. msgstr ""
  29646. #. type: item
  29647. #: guix-git/doc/guix.texi:19810
  29648. #, no-wrap
  29649. msgid "@code{extra-options} (default: @var{\"\"})"
  29650. msgstr ""
  29651. #. type: table
  29652. #: guix-git/doc/guix.texi:19812
  29653. msgid "String to append to the @file{/etc/asound.conf} file."
  29654. msgstr ""
  29655. #. type: Plain text
  29656. #: guix-git/doc/guix.texi:19818
  29657. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  29658. msgstr ""
  29659. #. type: example
  29660. #: guix-git/doc/guix.texi:19824
  29661. #, no-wrap
  29662. msgid ""
  29663. "# In guix, we have to specify the absolute path for plugins.\n"
  29664. "pcm_type.jack @{\n"
  29665. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  29666. "@}\n"
  29667. "\n"
  29668. msgstr ""
  29669. #. type: example
  29670. #: guix-git/doc/guix.texi:19833
  29671. #, no-wrap
  29672. msgid ""
  29673. "# Routing ALSA to jack:\n"
  29674. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  29675. "pcm.rawjack @{\n"
  29676. " type jack\n"
  29677. " playback_ports @{\n"
  29678. " 0 system:playback_1\n"
  29679. " 1 system:playback_2\n"
  29680. " @}\n"
  29681. "\n"
  29682. msgstr ""
  29683. #. type: example
  29684. #: guix-git/doc/guix.texi:19839
  29685. #, no-wrap
  29686. msgid ""
  29687. " capture_ports @{\n"
  29688. " 0 system:capture_1\n"
  29689. " 1 system:capture_2\n"
  29690. " @}\n"
  29691. "@}\n"
  29692. "\n"
  29693. msgstr ""
  29694. #. type: example
  29695. #: guix-git/doc/guix.texi:19846
  29696. #, no-wrap
  29697. msgid ""
  29698. "pcm.!default @{\n"
  29699. " type plug\n"
  29700. " slave @{\n"
  29701. " pcm \"rawjack\"\n"
  29702. " @}\n"
  29703. "@}\n"
  29704. msgstr ""
  29705. #. type: Plain text
  29706. #: guix-git/doc/guix.texi:19850
  29707. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  29708. msgstr ""
  29709. #. type: deffn
  29710. #: guix-git/doc/guix.texi:19851
  29711. #, no-wrap
  29712. msgid "{Scheme Variable} pulseaudio-service-type"
  29713. msgstr ""
  29714. #. type: deffn
  29715. #: guix-git/doc/guix.texi:19855
  29716. 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."
  29717. msgstr ""
  29718. #. type: quotation
  29719. #: guix-git/doc/guix.texi:19861
  29720. 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}."
  29721. msgstr ""
  29722. #. type: quotation
  29723. #: guix-git/doc/guix.texi:19869
  29724. 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."
  29725. msgstr ""
  29726. #. type: deftp
  29727. #: guix-git/doc/guix.texi:19872
  29728. #, no-wrap
  29729. msgid "{Data Type} pulseaudio-configuration"
  29730. msgstr ""
  29731. #. type: deftp
  29732. #: guix-git/doc/guix.texi:19874
  29733. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  29734. msgstr ""
  29735. #. type: item
  29736. #: guix-git/doc/guix.texi:19876
  29737. #, no-wrap
  29738. msgid "@code{client-conf} (default: @code{'()})"
  29739. msgstr ""
  29740. #. type: table
  29741. #: guix-git/doc/guix.texi:19881
  29742. 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."
  29743. msgstr ""
  29744. #. type: item
  29745. #: guix-git/doc/guix.texi:19882
  29746. #, no-wrap
  29747. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  29748. msgstr ""
  29749. #. type: table
  29750. #: guix-git/doc/guix.texi:19885
  29751. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  29752. msgstr ""
  29753. #. type: item
  29754. #: guix-git/doc/guix.texi:19886
  29755. #, no-wrap
  29756. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  29757. msgstr ""
  29758. #. type: table
  29759. #: guix-git/doc/guix.texi:19888
  29760. msgid "Script file to use as @file{default.pa}."
  29761. msgstr ""
  29762. #. type: item
  29763. #: guix-git/doc/guix.texi:19889
  29764. #, no-wrap
  29765. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  29766. msgstr ""
  29767. #. type: table
  29768. #: guix-git/doc/guix.texi:19891
  29769. msgid "Script file to use as @file{system.pa}."
  29770. msgstr ""
  29771. #. type: deffn
  29772. #: guix-git/doc/guix.texi:19894
  29773. #, no-wrap
  29774. msgid "{Scheme Variable} ladspa-service-type"
  29775. msgstr ""
  29776. #. type: deffn
  29777. #: guix-git/doc/guix.texi:19897
  29778. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  29779. msgstr ""
  29780. #. type: deffn
  29781. #: guix-git/doc/guix.texi:19900
  29782. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  29783. msgstr ""
  29784. #. type: lisp
  29785. #: guix-git/doc/guix.texi:19904
  29786. #, no-wrap
  29787. msgid ""
  29788. "(service ladspa-service-type\n"
  29789. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  29790. msgstr ""
  29791. #. type: deffn
  29792. #: guix-git/doc/guix.texi:19908
  29793. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  29794. msgstr ""
  29795. #. type: cindex
  29796. #: guix-git/doc/guix.texi:19915
  29797. #, no-wrap
  29798. msgid "SQL"
  29799. msgstr ""
  29800. #. type: Plain text
  29801. #: guix-git/doc/guix.texi:19917
  29802. msgid "The @code{(gnu services databases)} module provides the following services."
  29803. msgstr ""
  29804. #. type: subsubheading
  29805. #: guix-git/doc/guix.texi:19918
  29806. #, no-wrap
  29807. msgid "PostgreSQL"
  29808. msgstr ""
  29809. #. type: Plain text
  29810. #: guix-git/doc/guix.texi:19922
  29811. msgid "The following example describes a PostgreSQL service with the default configuration."
  29812. msgstr ""
  29813. #. type: lisp
  29814. #: guix-git/doc/guix.texi:19927
  29815. #, no-wrap
  29816. msgid ""
  29817. "(service postgresql-service-type\n"
  29818. " (postgresql-configuration\n"
  29819. " (postgresql postgresql-10)))\n"
  29820. msgstr ""
  29821. #. type: Plain text
  29822. #: guix-git/doc/guix.texi:19933
  29823. 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."
  29824. msgstr ""
  29825. #. type: Plain text
  29826. #: guix-git/doc/guix.texi:19940
  29827. 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."
  29828. msgstr ""
  29829. #. type: example
  29830. #: guix-git/doc/guix.texi:19945
  29831. #, no-wrap
  29832. msgid ""
  29833. "sudo -u postgres -s /bin/sh\n"
  29834. "createuser --interactive\n"
  29835. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  29836. msgstr ""
  29837. #. type: deftp
  29838. #: guix-git/doc/guix.texi:19947
  29839. #, no-wrap
  29840. msgid "{Data Type} postgresql-configuration"
  29841. msgstr ""
  29842. #. type: deftp
  29843. #: guix-git/doc/guix.texi:19950
  29844. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  29845. msgstr ""
  29846. #. type: code{#1}
  29847. #: guix-git/doc/guix.texi:19952
  29848. #, no-wrap
  29849. msgid "postgresql"
  29850. msgstr ""
  29851. #. type: table
  29852. #: guix-git/doc/guix.texi:19954
  29853. msgid "PostgreSQL package to use for the service."
  29854. msgstr ""
  29855. #. type: item
  29856. #: guix-git/doc/guix.texi:19955
  29857. #, no-wrap
  29858. msgid "@code{port} (default: @code{5432})"
  29859. msgstr ""
  29860. #. type: table
  29861. #: guix-git/doc/guix.texi:19957
  29862. msgid "Port on which PostgreSQL should listen."
  29863. msgstr ""
  29864. #. type: table
  29865. #: guix-git/doc/guix.texi:19960
  29866. msgid "Locale to use as the default when creating the database cluster."
  29867. msgstr ""
  29868. #. type: item
  29869. #: guix-git/doc/guix.texi:19961
  29870. #, no-wrap
  29871. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  29872. msgstr ""
  29873. #. type: table
  29874. #: guix-git/doc/guix.texi:19965
  29875. 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."
  29876. msgstr ""
  29877. #. type: item
  29878. #: guix-git/doc/guix.texi:19966
  29879. #, no-wrap
  29880. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  29881. msgstr ""
  29882. #. type: table
  29883. #: guix-git/doc/guix.texi:19970
  29884. 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."
  29885. msgstr ""
  29886. #. type: item
  29887. #: guix-git/doc/guix.texi:19971
  29888. #, no-wrap
  29889. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  29890. msgstr ""
  29891. #. type: table
  29892. #: guix-git/doc/guix.texi:19973
  29893. msgid "Directory in which to store the data."
  29894. msgstr ""
  29895. #. type: item
  29896. #: guix-git/doc/guix.texi:19974
  29897. #, no-wrap
  29898. msgid "@code{extension-packages} (default: @code{'()})"
  29899. msgstr ""
  29900. #. type: cindex
  29901. #: guix-git/doc/guix.texi:19975
  29902. #, no-wrap
  29903. msgid "postgresql extension-packages"
  29904. msgstr ""
  29905. #. type: table
  29906. #: guix-git/doc/guix.texi:19980
  29907. 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:"
  29908. msgstr ""
  29909. #. type: cindex
  29910. #: guix-git/doc/guix.texi:19981
  29911. #, no-wrap
  29912. msgid "postgis"
  29913. msgstr ""
  29914. #. type: lisp
  29915. #: guix-git/doc/guix.texi:19984
  29916. #, no-wrap
  29917. msgid ""
  29918. "(use-package-modules databases geo)\n"
  29919. "\n"
  29920. msgstr ""
  29921. #. type: lisp
  29922. #: guix-git/doc/guix.texi:19997
  29923. #, no-wrap
  29924. msgid ""
  29925. "(operating-system\n"
  29926. " ...\n"
  29927. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  29928. " ;; proper operation.\n"
  29929. " (packages (cons* postgresql %base-packages))\n"
  29930. " (services\n"
  29931. " (cons*\n"
  29932. " (service postgresql-service-type\n"
  29933. " (postgresql-configuration\n"
  29934. " (postgresql postgresql-10)\n"
  29935. " (extension-packages (list postgis))))\n"
  29936. " %base-services)))\n"
  29937. msgstr ""
  29938. #. type: table
  29939. #: guix-git/doc/guix.texi:20001
  29940. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  29941. msgstr ""
  29942. #. type: example
  29943. #: guix-git/doc/guix.texi:20008
  29944. #, no-wrap
  29945. msgid ""
  29946. "psql -U postgres\n"
  29947. "> create database postgistest;\n"
  29948. "> \\connect postgistest;\n"
  29949. "> create extension postgis;\n"
  29950. "> create extension postgis_topology;\n"
  29951. msgstr ""
  29952. #. type: table
  29953. #: guix-git/doc/guix.texi:20013
  29954. 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."
  29955. msgstr ""
  29956. #. type: deftp
  29957. #: guix-git/doc/guix.texi:20017
  29958. #, no-wrap
  29959. msgid "{Data Type} postgresql-config-file"
  29960. msgstr ""
  29961. #. type: deftp
  29962. #: guix-git/doc/guix.texi:20023
  29963. 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."
  29964. msgstr ""
  29965. #. type: lisp
  29966. #: guix-git/doc/guix.texi:20043
  29967. #, no-wrap
  29968. msgid ""
  29969. "(service postgresql-service-type\n"
  29970. " (postgresql-configuration\n"
  29971. " (config-file\n"
  29972. " (postgresql-config-file\n"
  29973. " (log-destination \"stderr\")\n"
  29974. " (hba-file\n"
  29975. " (plain-file \"pg_hba.conf\"\n"
  29976. " \"\n"
  29977. "local\tall\tall\t\t\ttrust\n"
  29978. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  29979. "host\tall\tall\t::1/128 \tmd5\"))\n"
  29980. " (extra-config\n"
  29981. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  29982. " (\"random_page_cost\" 2)\n"
  29983. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  29984. " (\"work_mem\" \"500 MB\")\n"
  29985. " (\"logging_collector\" #t)\n"
  29986. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  29987. msgstr ""
  29988. #. type: item
  29989. #: guix-git/doc/guix.texi:20046
  29990. #, no-wrap
  29991. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  29992. msgstr ""
  29993. #. type: table
  29994. #: guix-git/doc/guix.texi:20049
  29995. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  29996. msgstr ""
  29997. #. type: item
  29998. #: guix-git/doc/guix.texi:20050
  29999. #, no-wrap
  30000. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  30001. msgstr ""
  30002. #. type: table
  30003. #: guix-git/doc/guix.texi:20053
  30004. msgid "Filename or G-expression for the host-based authentication configuration."
  30005. msgstr ""
  30006. #. type: item
  30007. #: guix-git/doc/guix.texi:20054
  30008. #, no-wrap
  30009. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  30010. msgstr ""
  30011. #. type: table
  30012. #: guix-git/doc/guix.texi:20056
  30013. msgid "Filename or G-expression for the user name mapping configuration."
  30014. msgstr ""
  30015. #. type: item
  30016. #: guix-git/doc/guix.texi:20057
  30017. #, no-wrap
  30018. msgid "@code{socket-directory} (default: @code{#false})"
  30019. msgstr ""
  30020. #. type: table
  30021. #: guix-git/doc/guix.texi:20062
  30022. 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."
  30023. msgstr ""
  30024. #. type: table
  30025. #: guix-git/doc/guix.texi:20065
  30026. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  30027. msgstr ""
  30028. #. type: table
  30029. #: guix-git/doc/guix.texi:20070
  30030. 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."
  30031. msgstr ""
  30032. #. type: table
  30033. #: guix-git/doc/guix.texi:20076
  30034. 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}."
  30035. msgstr ""
  30036. #. type: deffn
  30037. #: guix-git/doc/guix.texi:20080
  30038. #, no-wrap
  30039. msgid "{Scheme Variable} postgresql-role-service-type"
  30040. msgstr ""
  30041. #. type: deffn
  30042. #: guix-git/doc/guix.texi:20083
  30043. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  30044. msgstr ""
  30045. #. type: lisp
  30046. #: guix-git/doc/guix.texi:20091
  30047. #, no-wrap
  30048. msgid ""
  30049. "(service postgresql-role-service-type\n"
  30050. " (postgresql-role-configuration\n"
  30051. " (roles\n"
  30052. " (list (postgresql-role\n"
  30053. " (name \"test\")\n"
  30054. " (create-database? #t))))))\n"
  30055. msgstr ""
  30056. #. type: deffn
  30057. #: guix-git/doc/guix.texi:20095
  30058. msgid "This service can be extended with extra roles, as in this example:"
  30059. msgstr ""
  30060. #. type: lisp
  30061. #: guix-git/doc/guix.texi:20101
  30062. #, no-wrap
  30063. msgid ""
  30064. "(service-extension postgresql-role-service-type\n"
  30065. " (const (postgresql-role\n"
  30066. " (name \"alice\")\n"
  30067. " (create-database? #t))))\n"
  30068. msgstr ""
  30069. #. type: deftp
  30070. #: guix-git/doc/guix.texi:20104
  30071. #, no-wrap
  30072. msgid "{Data Type} postgresql-role"
  30073. msgstr ""
  30074. #. type: deftp
  30075. #: guix-git/doc/guix.texi:20110
  30076. 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."
  30077. msgstr ""
  30078. #. type: table
  30079. #: guix-git/doc/guix.texi:20114
  30080. msgid "The role name."
  30081. msgstr ""
  30082. #. type: item
  30083. #: guix-git/doc/guix.texi:20115
  30084. #, no-wrap
  30085. msgid "@code{permissions} (default: @code{'(createdb login)})"
  30086. msgstr ""
  30087. #. type: table
  30088. #: guix-git/doc/guix.texi:20119
  30089. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  30090. msgstr ""
  30091. #. type: item
  30092. #: guix-git/doc/guix.texi:20120
  30093. #, no-wrap
  30094. msgid "@code{create-database?} (default: @code{#f})"
  30095. msgstr ""
  30096. #. type: table
  30097. #: guix-git/doc/guix.texi:20122
  30098. msgid "Whether to create a database with the same name as the role."
  30099. msgstr ""
  30100. #. type: deftp
  30101. #: guix-git/doc/guix.texi:20126
  30102. #, no-wrap
  30103. msgid "{Data Type} postgresql-role-configuration"
  30104. msgstr ""
  30105. #. type: deftp
  30106. #: guix-git/doc/guix.texi:20129
  30107. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  30108. msgstr ""
  30109. #. type: item
  30110. #: guix-git/doc/guix.texi:20131
  30111. #, no-wrap
  30112. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  30113. msgstr ""
  30114. #. type: table
  30115. #: guix-git/doc/guix.texi:20133
  30116. msgid "The PostgreSQL host to connect to."
  30117. msgstr ""
  30118. #. type: item
  30119. #: guix-git/doc/guix.texi:20134
  30120. #, no-wrap
  30121. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  30122. msgstr ""
  30123. #. type: table
  30124. #: guix-git/doc/guix.texi:20136
  30125. msgid "File name of the log file."
  30126. msgstr ""
  30127. #. type: item
  30128. #: guix-git/doc/guix.texi:20137
  30129. #, no-wrap
  30130. msgid "@code{roles} (default: @code{'()})"
  30131. msgstr ""
  30132. #. type: table
  30133. #: guix-git/doc/guix.texi:20139
  30134. msgid "The initial PostgreSQL roles to create."
  30135. msgstr ""
  30136. #. type: subsubheading
  30137. #: guix-git/doc/guix.texi:20142
  30138. #, no-wrap
  30139. msgid "MariaDB/MySQL"
  30140. msgstr ""
  30141. #. type: defvr
  30142. #: guix-git/doc/guix.texi:20144
  30143. #, no-wrap
  30144. msgid "{Scheme Variable} mysql-service-type"
  30145. msgstr ""
  30146. #. type: defvr
  30147. #: guix-git/doc/guix.texi:20148
  30148. 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."
  30149. msgstr ""
  30150. #. type: deftp
  30151. #: guix-git/doc/guix.texi:20150
  30152. #, no-wrap
  30153. msgid "{Data Type} mysql-configuration"
  30154. msgstr ""
  30155. #. type: deftp
  30156. #: guix-git/doc/guix.texi:20152
  30157. msgid "Data type representing the configuration of @var{mysql-service-type}."
  30158. msgstr ""
  30159. #. type: item
  30160. #: guix-git/doc/guix.texi:20154
  30161. #, no-wrap
  30162. msgid "@code{mysql} (default: @var{mariadb})"
  30163. msgstr ""
  30164. #. type: table
  30165. #: guix-git/doc/guix.texi:20157
  30166. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  30167. msgstr ""
  30168. #. type: table
  30169. #: guix-git/doc/guix.texi:20160
  30170. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  30171. msgstr ""
  30172. #. type: item
  30173. #: guix-git/doc/guix.texi:20161 guix-git/doc/guix.texi:23981
  30174. #, no-wrap
  30175. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  30176. msgstr ""
  30177. #. type: table
  30178. #: guix-git/doc/guix.texi:20164
  30179. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  30180. msgstr ""
  30181. #. type: item
  30182. #: guix-git/doc/guix.texi:20165
  30183. #, no-wrap
  30184. msgid "@code{port} (default: @code{3306})"
  30185. msgstr ""
  30186. #. type: table
  30187. #: guix-git/doc/guix.texi:20167
  30188. msgid "TCP port on which the database server listens for incoming connections."
  30189. msgstr ""
  30190. #. type: item
  30191. #: guix-git/doc/guix.texi:20168
  30192. #, no-wrap
  30193. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  30194. msgstr ""
  30195. #. type: table
  30196. #: guix-git/doc/guix.texi:20170
  30197. msgid "Socket file to use for local (non-network) connections."
  30198. msgstr ""
  30199. #. type: table
  30200. #: guix-git/doc/guix.texi:20173
  30201. msgid "Additional settings for the @file{my.cnf} configuration file."
  30202. msgstr ""
  30203. #. type: item
  30204. #: guix-git/doc/guix.texi:20174
  30205. #, no-wrap
  30206. msgid "@code{extra-environment} (default: @code{#~'()})"
  30207. msgstr ""
  30208. #. type: table
  30209. #: guix-git/doc/guix.texi:20176
  30210. msgid "List of environment variables passed to the @command{mysqld} process."
  30211. msgstr ""
  30212. #. type: item
  30213. #: guix-git/doc/guix.texi:20177
  30214. #, no-wrap
  30215. msgid "@code{auto-upgrade?} (default: @code{#t})"
  30216. msgstr ""
  30217. #. type: table
  30218. #: guix-git/doc/guix.texi:20182
  30219. 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."
  30220. msgstr ""
  30221. #. type: subsubheading
  30222. #: guix-git/doc/guix.texi:20186
  30223. #, no-wrap
  30224. msgid "Memcached"
  30225. msgstr ""
  30226. #. type: defvr
  30227. #: guix-git/doc/guix.texi:20188
  30228. #, no-wrap
  30229. msgid "{Scheme Variable} memcached-service-type"
  30230. msgstr ""
  30231. #. type: defvr
  30232. #: guix-git/doc/guix.texi:20192
  30233. 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."
  30234. msgstr ""
  30235. #. type: lisp
  30236. #: guix-git/doc/guix.texi:20196
  30237. #, no-wrap
  30238. msgid "(service memcached-service-type)\n"
  30239. msgstr ""
  30240. #. type: deftp
  30241. #: guix-git/doc/guix.texi:20198
  30242. #, no-wrap
  30243. msgid "{Data Type} memcached-configuration"
  30244. msgstr ""
  30245. #. type: deftp
  30246. #: guix-git/doc/guix.texi:20200
  30247. msgid "Data type representing the configuration of memcached."
  30248. msgstr ""
  30249. #. type: item
  30250. #: guix-git/doc/guix.texi:20202
  30251. #, no-wrap
  30252. msgid "@code{memcached} (default: @code{memcached})"
  30253. msgstr ""
  30254. #. type: table
  30255. #: guix-git/doc/guix.texi:20204
  30256. msgid "The Memcached package to use."
  30257. msgstr ""
  30258. #. type: item
  30259. #: guix-git/doc/guix.texi:20205
  30260. #, no-wrap
  30261. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  30262. msgstr ""
  30263. #. type: table
  30264. #: guix-git/doc/guix.texi:20207
  30265. msgid "Network interfaces on which to listen."
  30266. msgstr ""
  30267. #. type: item
  30268. #: guix-git/doc/guix.texi:20208
  30269. #, no-wrap
  30270. msgid "@code{tcp-port} (default: @code{11211})"
  30271. msgstr ""
  30272. #. type: table
  30273. #: guix-git/doc/guix.texi:20210
  30274. msgid "Port on which to accept connections."
  30275. msgstr ""
  30276. #. type: item
  30277. #: guix-git/doc/guix.texi:20211
  30278. #, no-wrap
  30279. msgid "@code{udp-port} (default: @code{11211})"
  30280. msgstr ""
  30281. #. type: table
  30282. #: guix-git/doc/guix.texi:20214
  30283. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  30284. msgstr ""
  30285. #. type: item
  30286. #: guix-git/doc/guix.texi:20215
  30287. #, no-wrap
  30288. msgid "@code{additional-options} (default: @code{'()})"
  30289. msgstr ""
  30290. #. type: table
  30291. #: guix-git/doc/guix.texi:20217
  30292. msgid "Additional command line options to pass to @code{memcached}."
  30293. msgstr ""
  30294. #. type: subsubheading
  30295. #: guix-git/doc/guix.texi:20220
  30296. #, no-wrap
  30297. msgid "Redis"
  30298. msgstr ""
  30299. #. type: defvr
  30300. #: guix-git/doc/guix.texi:20222
  30301. #, no-wrap
  30302. msgid "{Scheme Variable} redis-service-type"
  30303. msgstr ""
  30304. #. type: defvr
  30305. #: guix-git/doc/guix.texi:20225
  30306. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  30307. msgstr ""
  30308. #. type: deftp
  30309. #: guix-git/doc/guix.texi:20227
  30310. #, no-wrap
  30311. msgid "{Data Type} redis-configuration"
  30312. msgstr ""
  30313. #. type: deftp
  30314. #: guix-git/doc/guix.texi:20229
  30315. msgid "Data type representing the configuration of redis."
  30316. msgstr ""
  30317. #. type: item
  30318. #: guix-git/doc/guix.texi:20231
  30319. #, no-wrap
  30320. msgid "@code{redis} (default: @code{redis})"
  30321. msgstr ""
  30322. #. type: table
  30323. #: guix-git/doc/guix.texi:20233
  30324. msgid "The Redis package to use."
  30325. msgstr ""
  30326. #. type: item
  30327. #: guix-git/doc/guix.texi:20234
  30328. #, no-wrap
  30329. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  30330. msgstr ""
  30331. #. type: table
  30332. #: guix-git/doc/guix.texi:20236
  30333. msgid "Network interface on which to listen."
  30334. msgstr ""
  30335. #. type: item
  30336. #: guix-git/doc/guix.texi:20237
  30337. #, no-wrap
  30338. msgid "@code{port} (default: @code{6379})"
  30339. msgstr ""
  30340. #. type: table
  30341. #: guix-git/doc/guix.texi:20240
  30342. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  30343. msgstr ""
  30344. #. type: item
  30345. #: guix-git/doc/guix.texi:20241
  30346. #, no-wrap
  30347. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  30348. msgstr ""
  30349. #. type: table
  30350. #: guix-git/doc/guix.texi:20243
  30351. msgid "Directory in which to store the database and related files."
  30352. msgstr ""
  30353. #. type: cindex
  30354. #: guix-git/doc/guix.texi:20249
  30355. #, no-wrap
  30356. msgid "mail"
  30357. msgstr ""
  30358. #. type: cindex
  30359. #: guix-git/doc/guix.texi:20250
  30360. #, no-wrap
  30361. msgid "email"
  30362. msgstr ""
  30363. #. type: Plain text
  30364. #: guix-git/doc/guix.texi:20255
  30365. 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."
  30366. msgstr ""
  30367. #. type: subsubheading
  30368. #: guix-git/doc/guix.texi:20256
  30369. #, no-wrap
  30370. msgid "Dovecot Service"
  30371. msgstr ""
  30372. #. type: deffn
  30373. #: guix-git/doc/guix.texi:20258
  30374. #, no-wrap
  30375. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  30376. msgstr ""
  30377. #. type: deffn
  30378. #: guix-git/doc/guix.texi:20260
  30379. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  30380. msgstr ""
  30381. #. type: Plain text
  30382. #: guix-git/doc/guix.texi:20270
  30383. 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."
  30384. msgstr ""
  30385. #. type: Plain text
  30386. #: guix-git/doc/guix.texi:20273
  30387. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  30388. msgstr ""
  30389. #. type: lisp
  30390. #: guix-git/doc/guix.texi:20278
  30391. #, no-wrap
  30392. msgid ""
  30393. "(dovecot-service #:config\n"
  30394. " (dovecot-configuration\n"
  30395. " (mail-location \"maildir:~/.mail\")))\n"
  30396. msgstr ""
  30397. #. type: Plain text
  30398. #: guix-git/doc/guix.texi:20286
  30399. 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."
  30400. msgstr ""
  30401. #. type: Plain text
  30402. #: guix-git/doc/guix.texi:20296
  30403. msgid "Available @code{dovecot-configuration} fields are:"
  30404. msgstr ""
  30405. #. type: deftypevr
  30406. #: guix-git/doc/guix.texi:20297
  30407. #, no-wrap
  30408. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  30409. msgstr ""
  30410. #. type: deftypevr
  30411. #: guix-git/doc/guix.texi:20299 guix-git/doc/guix.texi:21648
  30412. msgid "The dovecot package."
  30413. msgstr ""
  30414. #. type: deftypevr
  30415. #: guix-git/doc/guix.texi:20301
  30416. #, no-wrap
  30417. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  30418. msgstr ""
  30419. #. type: deftypevr
  30420. #: guix-git/doc/guix.texi:20307
  30421. 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."
  30422. msgstr ""
  30423. #. type: deftypevr
  30424. #: guix-git/doc/guix.texi:20309
  30425. #, no-wrap
  30426. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  30427. msgstr ""
  30428. #. type: deftypevr
  30429. #: guix-git/doc/guix.texi:20312
  30430. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  30431. msgstr ""
  30432. #. type: deftypevr
  30433. #: guix-git/doc/guix.texi:20314
  30434. msgid "Available @code{protocol-configuration} fields are:"
  30435. msgstr ""
  30436. #. type: deftypevr
  30437. #: guix-git/doc/guix.texi:20315
  30438. #, no-wrap
  30439. msgid "{@code{protocol-configuration} parameter} string name"
  30440. msgstr ""
  30441. #. type: deftypevr
  30442. #: guix-git/doc/guix.texi:20317
  30443. msgid "The name of the protocol."
  30444. msgstr ""
  30445. #. type: deftypevr
  30446. #: guix-git/doc/guix.texi:20319
  30447. #, no-wrap
  30448. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  30449. msgstr ""
  30450. #. type: deftypevr
  30451. #: guix-git/doc/guix.texi:20323
  30452. 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\"}."
  30453. msgstr ""
  30454. #. type: deftypevr
  30455. #: guix-git/doc/guix.texi:20325
  30456. #, no-wrap
  30457. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  30458. msgstr ""
  30459. #. type: deftypevr
  30460. #: guix-git/doc/guix.texi:20330
  30461. 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."
  30462. msgstr ""
  30463. #. type: deftypevr
  30464. #: guix-git/doc/guix.texi:20333
  30465. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  30466. msgstr ""
  30467. #. type: deftypevr
  30468. #: guix-git/doc/guix.texi:20338
  30469. #, no-wrap
  30470. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  30471. msgstr ""
  30472. #. type: deftypevr
  30473. #: guix-git/doc/guix.texi:20343
  30474. 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."
  30475. msgstr ""
  30476. #. type: deftypevr
  30477. #: guix-git/doc/guix.texi:20347
  30478. #, no-wrap
  30479. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  30480. msgstr ""
  30481. #. type: deftypevr
  30482. #: guix-git/doc/guix.texi:20352
  30483. 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."
  30484. msgstr ""
  30485. #. type: deftypevr
  30486. #: guix-git/doc/guix.texi:20357
  30487. #, no-wrap
  30488. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  30489. msgstr ""
  30490. #. type: deftypevr
  30491. #: guix-git/doc/guix.texi:20359
  30492. msgid "Space separated list of plugins to load."
  30493. msgstr ""
  30494. #. type: deftypevr
  30495. #: guix-git/doc/guix.texi:20361
  30496. #, no-wrap
  30497. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  30498. msgstr ""
  30499. #. type: deftypevr
  30500. #: guix-git/doc/guix.texi:20365
  30501. 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}."
  30502. msgstr ""
  30503. #. type: deftypevr
  30504. #: guix-git/doc/guix.texi:20369
  30505. #, no-wrap
  30506. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  30507. msgstr ""
  30508. #. type: deftypevr
  30509. #: guix-git/doc/guix.texi:20373
  30510. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  30511. msgstr ""
  30512. #. type: deftypevr
  30513. #: guix-git/doc/guix.texi:20375
  30514. msgid "Available @code{service-configuration} fields are:"
  30515. msgstr ""
  30516. #. type: deftypevr
  30517. #: guix-git/doc/guix.texi:20376
  30518. #, no-wrap
  30519. msgid "{@code{service-configuration} parameter} string kind"
  30520. msgstr ""
  30521. #. type: deftypevr
  30522. #: guix-git/doc/guix.texi:20381
  30523. 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."
  30524. msgstr ""
  30525. #. type: deftypevr
  30526. #: guix-git/doc/guix.texi:20383
  30527. #, no-wrap
  30528. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  30529. msgstr ""
  30530. #. type: deftypevr
  30531. #: guix-git/doc/guix.texi:20388
  30532. 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{()}."
  30533. msgstr ""
  30534. #. type: deftypevr
  30535. #: guix-git/doc/guix.texi:20390
  30536. msgid "Available @code{unix-listener-configuration} fields are:"
  30537. msgstr ""
  30538. #. type: deftypevr
  30539. #: guix-git/doc/guix.texi:20391
  30540. #, no-wrap
  30541. msgid "{@code{unix-listener-configuration} parameter} string path"
  30542. msgstr ""
  30543. #. type: deftypevr
  30544. #: guix-git/doc/guix.texi:20394 guix-git/doc/guix.texi:20417
  30545. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  30546. msgstr ""
  30547. #. type: deftypevr
  30548. #: guix-git/doc/guix.texi:20396
  30549. #, no-wrap
  30550. msgid "{@code{unix-listener-configuration} parameter} string mode"
  30551. msgstr ""
  30552. #. type: deftypevr
  30553. #: guix-git/doc/guix.texi:20399 guix-git/doc/guix.texi:20422
  30554. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  30555. msgstr ""
  30556. #. type: deftypevr
  30557. #: guix-git/doc/guix.texi:20401
  30558. #, no-wrap
  30559. msgid "{@code{unix-listener-configuration} parameter} string user"
  30560. msgstr ""
  30561. #. type: deftypevr
  30562. #: guix-git/doc/guix.texi:20404 guix-git/doc/guix.texi:20427
  30563. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  30564. msgstr ""
  30565. #. type: deftypevr
  30566. #: guix-git/doc/guix.texi:20406
  30567. #, no-wrap
  30568. msgid "{@code{unix-listener-configuration} parameter} string group"
  30569. msgstr ""
  30570. #. type: deftypevr
  30571. #: guix-git/doc/guix.texi:20409 guix-git/doc/guix.texi:20432
  30572. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  30573. msgstr ""
  30574. #. type: deftypevr
  30575. #: guix-git/doc/guix.texi:20413
  30576. msgid "Available @code{fifo-listener-configuration} fields are:"
  30577. msgstr ""
  30578. #. type: deftypevr
  30579. #: guix-git/doc/guix.texi:20414
  30580. #, no-wrap
  30581. msgid "{@code{fifo-listener-configuration} parameter} string path"
  30582. msgstr ""
  30583. #. type: deftypevr
  30584. #: guix-git/doc/guix.texi:20419
  30585. #, no-wrap
  30586. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  30587. msgstr ""
  30588. #. type: deftypevr
  30589. #: guix-git/doc/guix.texi:20424
  30590. #, no-wrap
  30591. msgid "{@code{fifo-listener-configuration} parameter} string user"
  30592. msgstr ""
  30593. #. type: deftypevr
  30594. #: guix-git/doc/guix.texi:20429
  30595. #, no-wrap
  30596. msgid "{@code{fifo-listener-configuration} parameter} string group"
  30597. msgstr ""
  30598. #. type: deftypevr
  30599. #: guix-git/doc/guix.texi:20436
  30600. msgid "Available @code{inet-listener-configuration} fields are:"
  30601. msgstr ""
  30602. #. type: deftypevr
  30603. #: guix-git/doc/guix.texi:20437
  30604. #, no-wrap
  30605. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  30606. msgstr ""
  30607. #. type: deftypevr
  30608. #: guix-git/doc/guix.texi:20439
  30609. msgid "The protocol to listen for."
  30610. msgstr ""
  30611. #. type: deftypevr
  30612. #: guix-git/doc/guix.texi:20441
  30613. #, no-wrap
  30614. msgid "{@code{inet-listener-configuration} parameter} string address"
  30615. msgstr ""
  30616. #. type: deftypevr
  30617. #: guix-git/doc/guix.texi:20444
  30618. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  30619. msgstr ""
  30620. #. type: deftypevr
  30621. #: guix-git/doc/guix.texi:20446
  30622. #, no-wrap
  30623. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  30624. msgstr ""
  30625. #. type: deftypevr
  30626. #: guix-git/doc/guix.texi:20448
  30627. msgid "The port on which to listen."
  30628. msgstr ""
  30629. #. type: deftypevr
  30630. #: guix-git/doc/guix.texi:20450
  30631. #, no-wrap
  30632. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  30633. msgstr ""
  30634. #. type: deftypevr
  30635. #: guix-git/doc/guix.texi:20454
  30636. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  30637. msgstr ""
  30638. #. type: deftypevr
  30639. #: guix-git/doc/guix.texi:20458
  30640. #, no-wrap
  30641. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  30642. msgstr ""
  30643. #. type: deftypevr
  30644. #: guix-git/doc/guix.texi:20463
  30645. 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."
  30646. msgstr ""
  30647. #. type: deftypevr
  30648. #: guix-git/doc/guix.texi:20468
  30649. #, no-wrap
  30650. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  30651. msgstr ""
  30652. #. type: deftypevr
  30653. #: guix-git/doc/guix.texi:20473
  30654. 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}."
  30655. msgstr ""
  30656. #. type: deftypevr
  30657. #: guix-git/doc/guix.texi:20476
  30658. #, no-wrap
  30659. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  30660. msgstr ""
  30661. #. type: deftypevr
  30662. #: guix-git/doc/guix.texi:20479
  30663. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  30664. msgstr ""
  30665. #. type: deftypevr
  30666. #: guix-git/doc/guix.texi:20484
  30667. #, no-wrap
  30668. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  30669. msgstr ""
  30670. #. type: deftypevr
  30671. #: guix-git/doc/guix.texi:20487
  30672. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  30673. msgstr ""
  30674. #. type: deftypevr
  30675. #: guix-git/doc/guix.texi:20489
  30676. #, no-wrap
  30677. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  30678. msgstr ""
  30679. #. type: deftypevr
  30680. #: guix-git/doc/guix.texi:20493
  30681. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  30682. msgstr ""
  30683. #. type: deftypevr
  30684. #: guix-git/doc/guix.texi:20497
  30685. #, no-wrap
  30686. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  30687. msgstr ""
  30688. #. type: deftypevr
  30689. #: guix-git/doc/guix.texi:20500
  30690. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  30691. msgstr ""
  30692. #. type: deftypevr
  30693. #: guix-git/doc/guix.texi:20502
  30694. msgid "Available @code{dict-configuration} fields are:"
  30695. msgstr ""
  30696. #. type: deftypevr
  30697. #: guix-git/doc/guix.texi:20503
  30698. #, no-wrap
  30699. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  30700. msgstr ""
  30701. #. type: deftypevr
  30702. #: guix-git/doc/guix.texi:20506
  30703. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  30704. msgstr ""
  30705. #. type: deftypevr
  30706. #: guix-git/doc/guix.texi:20510
  30707. #, no-wrap
  30708. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  30709. msgstr ""
  30710. #. type: deftypevr
  30711. #: guix-git/doc/guix.texi:20513
  30712. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  30713. msgstr ""
  30714. #. type: deftypevr
  30715. #: guix-git/doc/guix.texi:20515
  30716. msgid "Available @code{passdb-configuration} fields are:"
  30717. msgstr ""
  30718. #. type: deftypevr
  30719. #: guix-git/doc/guix.texi:20516
  30720. #, no-wrap
  30721. msgid "{@code{passdb-configuration} parameter} string driver"
  30722. msgstr ""
  30723. #. type: deftypevr
  30724. #: guix-git/doc/guix.texi:20521
  30725. 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\"}."
  30726. msgstr ""
  30727. #. type: deftypevr
  30728. #: guix-git/doc/guix.texi:20523
  30729. #, no-wrap
  30730. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  30731. msgstr ""
  30732. #. type: deftypevr
  30733. #: guix-git/doc/guix.texi:20526
  30734. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  30735. msgstr ""
  30736. #. type: deftypevr
  30737. #: guix-git/doc/guix.texi:20530
  30738. #, no-wrap
  30739. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  30740. msgstr ""
  30741. #. type: deftypevr
  30742. #: guix-git/doc/guix.texi:20533
  30743. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  30744. msgstr ""
  30745. #. type: deftypevr
  30746. #: guix-git/doc/guix.texi:20535
  30747. msgid "Available @code{userdb-configuration} fields are:"
  30748. msgstr ""
  30749. #. type: deftypevr
  30750. #: guix-git/doc/guix.texi:20536
  30751. #, no-wrap
  30752. msgid "{@code{userdb-configuration} parameter} string driver"
  30753. msgstr ""
  30754. #. type: deftypevr
  30755. #: guix-git/doc/guix.texi:20540
  30756. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  30757. msgstr ""
  30758. #. type: deftypevr
  30759. #: guix-git/doc/guix.texi:20542
  30760. #, no-wrap
  30761. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  30762. msgstr ""
  30763. #. type: deftypevr
  30764. #: guix-git/doc/guix.texi:20545
  30765. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  30766. msgstr ""
  30767. #. type: deftypevr
  30768. #: guix-git/doc/guix.texi:20547
  30769. #, no-wrap
  30770. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  30771. msgstr ""
  30772. #. type: deftypevr
  30773. #: guix-git/doc/guix.texi:20550
  30774. msgid "Override fields from passwd. Defaults to @samp{()}."
  30775. msgstr ""
  30776. #. type: deftypevr
  30777. #: guix-git/doc/guix.texi:20554
  30778. #, no-wrap
  30779. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  30780. msgstr ""
  30781. #. type: deftypevr
  30782. #: guix-git/doc/guix.texi:20557
  30783. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  30784. msgstr ""
  30785. #. type: deftypevr
  30786. #: guix-git/doc/guix.texi:20559
  30787. #, no-wrap
  30788. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  30789. msgstr ""
  30790. #. type: deftypevr
  30791. #: guix-git/doc/guix.texi:20562
  30792. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  30793. msgstr ""
  30794. #. type: deftypevr
  30795. #: guix-git/doc/guix.texi:20564
  30796. msgid "Available @code{namespace-configuration} fields are:"
  30797. msgstr ""
  30798. #. type: deftypevr
  30799. #: guix-git/doc/guix.texi:20565
  30800. #, no-wrap
  30801. msgid "{@code{namespace-configuration} parameter} string name"
  30802. msgstr ""
  30803. #. type: deftypevr
  30804. #: guix-git/doc/guix.texi:20567
  30805. msgid "Name for this namespace."
  30806. msgstr ""
  30807. #. type: deftypevr
  30808. #: guix-git/doc/guix.texi:20569
  30809. #, no-wrap
  30810. msgid "{@code{namespace-configuration} parameter} string type"
  30811. msgstr ""
  30812. #. type: deftypevr
  30813. #: guix-git/doc/guix.texi:20572
  30814. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  30815. msgstr ""
  30816. #. type: deftypevr
  30817. #: guix-git/doc/guix.texi:20574
  30818. #, no-wrap
  30819. msgid "{@code{namespace-configuration} parameter} string separator"
  30820. msgstr ""
  30821. #. type: deftypevr
  30822. #: guix-git/doc/guix.texi:20580
  30823. 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{\"\"}."
  30824. msgstr ""
  30825. #. type: deftypevr
  30826. #: guix-git/doc/guix.texi:20582
  30827. #, no-wrap
  30828. msgid "{@code{namespace-configuration} parameter} string prefix"
  30829. msgstr ""
  30830. #. type: deftypevr
  30831. #: guix-git/doc/guix.texi:20586
  30832. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  30833. msgstr ""
  30834. #. type: deftypevr
  30835. #: guix-git/doc/guix.texi:20588
  30836. #, no-wrap
  30837. msgid "{@code{namespace-configuration} parameter} string location"
  30838. msgstr ""
  30839. #. type: deftypevr
  30840. #: guix-git/doc/guix.texi:20592
  30841. 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{\"\"}."
  30842. msgstr ""
  30843. #. type: deftypevr
  30844. #: guix-git/doc/guix.texi:20594
  30845. #, no-wrap
  30846. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  30847. msgstr ""
  30848. #. type: deftypevr
  30849. #: guix-git/doc/guix.texi:20598
  30850. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  30851. msgstr ""
  30852. #. type: deftypevr
  30853. #: guix-git/doc/guix.texi:20600
  30854. #, no-wrap
  30855. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  30856. msgstr ""
  30857. #. type: deftypevr
  30858. #: guix-git/doc/guix.texi:20608
  30859. 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}."
  30860. msgstr ""
  30861. #. type: deftypevr
  30862. #: guix-git/doc/guix.texi:20610
  30863. #, no-wrap
  30864. msgid "{@code{namespace-configuration} parameter} boolean list?"
  30865. msgstr ""
  30866. #. type: deftypevr
  30867. #: guix-git/doc/guix.texi:20616
  30868. 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}."
  30869. msgstr ""
  30870. #. type: deftypevr
  30871. #: guix-git/doc/guix.texi:20618
  30872. #, no-wrap
  30873. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  30874. msgstr ""
  30875. #. type: deftypevr
  30876. #: guix-git/doc/guix.texi:20623
  30877. 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}."
  30878. msgstr ""
  30879. #. type: deftypevr
  30880. #: guix-git/doc/guix.texi:20625
  30881. #, no-wrap
  30882. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  30883. msgstr ""
  30884. #. type: deftypevr
  30885. #: guix-git/doc/guix.texi:20628
  30886. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  30887. msgstr ""
  30888. #. type: deftypevr
  30889. #: guix-git/doc/guix.texi:20630
  30890. msgid "Available @code{mailbox-configuration} fields are:"
  30891. msgstr ""
  30892. #. type: deftypevr
  30893. #: guix-git/doc/guix.texi:20631
  30894. #, no-wrap
  30895. msgid "{@code{mailbox-configuration} parameter} string name"
  30896. msgstr ""
  30897. #. type: deftypevr
  30898. #: guix-git/doc/guix.texi:20633
  30899. msgid "Name for this mailbox."
  30900. msgstr ""
  30901. #. type: deftypevr
  30902. #: guix-git/doc/guix.texi:20635
  30903. #, no-wrap
  30904. msgid "{@code{mailbox-configuration} parameter} string auto"
  30905. msgstr ""
  30906. #. type: deftypevr
  30907. #: guix-git/doc/guix.texi:20639
  30908. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  30909. msgstr ""
  30910. #. type: deftypevr
  30911. #: guix-git/doc/guix.texi:20641
  30912. #, no-wrap
  30913. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  30914. msgstr ""
  30915. #. type: deftypevr
  30916. #: guix-git/doc/guix.texi:20646
  30917. 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{()}."
  30918. msgstr ""
  30919. #. type: deftypevr
  30920. #: guix-git/doc/guix.texi:20652
  30921. #, no-wrap
  30922. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  30923. msgstr ""
  30924. #. type: deftypevr
  30925. #: guix-git/doc/guix.texi:20655
  30926. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  30927. msgstr ""
  30928. #. type: deftypevr
  30929. #: guix-git/doc/guix.texi:20657
  30930. #, no-wrap
  30931. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  30932. msgstr ""
  30933. #. type: deftypevr
  30934. #: guix-git/doc/guix.texi:20660
  30935. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  30936. msgstr ""
  30937. #. type: deftypevr
  30938. #: guix-git/doc/guix.texi:20662
  30939. #, no-wrap
  30940. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  30941. msgstr ""
  30942. #. type: deftypevr
  30943. #: guix-git/doc/guix.texi:20669
  30944. 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{()}."
  30945. msgstr ""
  30946. #. type: deftypevr
  30947. #: guix-git/doc/guix.texi:20671
  30948. #, no-wrap
  30949. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  30950. msgstr ""
  30951. #. type: deftypevr
  30952. #: guix-git/doc/guix.texi:20674
  30953. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  30954. msgstr ""
  30955. #. type: deftypevr
  30956. #: guix-git/doc/guix.texi:20676
  30957. #, no-wrap
  30958. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  30959. msgstr ""
  30960. #. type: deftypevr
  30961. #: guix-git/doc/guix.texi:20682
  30962. 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}."
  30963. msgstr ""
  30964. #. type: deftypevr
  30965. #: guix-git/doc/guix.texi:20684
  30966. #, no-wrap
  30967. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  30968. msgstr ""
  30969. #. type: deftypevr
  30970. #: guix-git/doc/guix.texi:20690
  30971. 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}."
  30972. msgstr ""
  30973. #. type: deftypevr
  30974. #: guix-git/doc/guix.texi:20692
  30975. #, no-wrap
  30976. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  30977. msgstr ""
  30978. #. type: deftypevr
  30979. #: guix-git/doc/guix.texi:20696
  30980. 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}."
  30981. msgstr ""
  30982. #. type: deftypevr
  30983. #: guix-git/doc/guix.texi:20698
  30984. #, no-wrap
  30985. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  30986. msgstr ""
  30987. #. type: deftypevr
  30988. #: guix-git/doc/guix.texi:20701
  30989. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  30990. msgstr ""
  30991. #. type: deftypevr
  30992. #: guix-git/doc/guix.texi:20703
  30993. #, no-wrap
  30994. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  30995. msgstr ""
  30996. #. type: deftypevr
  30997. #: guix-git/doc/guix.texi:20707
  30998. 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."
  30999. msgstr ""
  31000. #. type: deftypevr
  31001. #: guix-git/doc/guix.texi:20709
  31002. #, no-wrap
  31003. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  31004. msgstr ""
  31005. #. type: deftypevr
  31006. #: guix-git/doc/guix.texi:20716
  31007. 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}."
  31008. msgstr ""
  31009. #. type: deftypevr
  31010. #: guix-git/doc/guix.texi:20718
  31011. #, no-wrap
  31012. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  31013. msgstr ""
  31014. #. type: deftypevr
  31015. #: guix-git/doc/guix.texi:20723
  31016. 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}."
  31017. msgstr ""
  31018. #. type: deftypevr
  31019. #: guix-git/doc/guix.texi:20725
  31020. #, no-wrap
  31021. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  31022. msgstr ""
  31023. #. type: deftypevr
  31024. #: guix-git/doc/guix.texi:20733
  31025. 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\"}."
  31026. msgstr ""
  31027. #. type: deftypevr
  31028. #: guix-git/doc/guix.texi:20735
  31029. #, no-wrap
  31030. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  31031. msgstr ""
  31032. #. type: deftypevr
  31033. #: guix-git/doc/guix.texi:20739
  31034. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  31035. msgstr ""
  31036. #. type: deftypevr
  31037. #: guix-git/doc/guix.texi:20741
  31038. #, no-wrap
  31039. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  31040. msgstr ""
  31041. #. type: deftypevr
  31042. #: guix-git/doc/guix.texi:20747
  31043. 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{()}."
  31044. msgstr ""
  31045. #. type: deftypevr
  31046. #: guix-git/doc/guix.texi:20749
  31047. #, no-wrap
  31048. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  31049. msgstr ""
  31050. #. type: deftypevr
  31051. #: guix-git/doc/guix.texi:20754
  31052. 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{\"\"}."
  31053. msgstr ""
  31054. #. type: deftypevr
  31055. #: guix-git/doc/guix.texi:20756
  31056. #, no-wrap
  31057. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  31058. msgstr ""
  31059. #. type: deftypevr
  31060. #: guix-git/doc/guix.texi:20763
  31061. 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.-_@@\"}."
  31062. msgstr ""
  31063. #. type: deftypevr
  31064. #: guix-git/doc/guix.texi:20765
  31065. #, no-wrap
  31066. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  31067. msgstr ""
  31068. #. type: deftypevr
  31069. #: guix-git/doc/guix.texi:20771
  31070. 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{\"\"}."
  31071. msgstr ""
  31072. #. type: deftypevr
  31073. #: guix-git/doc/guix.texi:20773
  31074. #, no-wrap
  31075. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  31076. msgstr ""
  31077. #. type: deftypevr
  31078. #: guix-git/doc/guix.texi:20780
  31079. 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\"}."
  31080. msgstr ""
  31081. #. type: deftypevr
  31082. #: guix-git/doc/guix.texi:20782
  31083. #, no-wrap
  31084. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  31085. msgstr ""
  31086. #. type: deftypevr
  31087. #: guix-git/doc/guix.texi:20790
  31088. 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{\"\"}."
  31089. msgstr ""
  31090. #. type: deftypevr
  31091. #: guix-git/doc/guix.texi:20792
  31092. #, no-wrap
  31093. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  31094. msgstr ""
  31095. #. type: deftypevr
  31096. #: guix-git/doc/guix.texi:20796
  31097. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  31098. msgstr ""
  31099. #. type: deftypevr
  31100. #: guix-git/doc/guix.texi:20798
  31101. #, no-wrap
  31102. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  31103. msgstr ""
  31104. #. type: deftypevr
  31105. #: guix-git/doc/guix.texi:20803
  31106. 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}."
  31107. msgstr ""
  31108. #. type: deftypevr
  31109. #: guix-git/doc/guix.texi:20805
  31110. #, no-wrap
  31111. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  31112. msgstr ""
  31113. #. type: deftypevr
  31114. #: guix-git/doc/guix.texi:20810
  31115. 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{\"\"}."
  31116. msgstr ""
  31117. #. type: deftypevr
  31118. #: guix-git/doc/guix.texi:20812
  31119. #, no-wrap
  31120. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  31121. msgstr ""
  31122. #. type: deftypevr
  31123. #: guix-git/doc/guix.texi:20818
  31124. 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{\"\"}."
  31125. msgstr ""
  31126. #. type: deftypevr
  31127. #: guix-git/doc/guix.texi:20820
  31128. #, no-wrap
  31129. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  31130. msgstr ""
  31131. #. type: deftypevr
  31132. #: guix-git/doc/guix.texi:20825
  31133. 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}."
  31134. msgstr ""
  31135. #. type: deftypevr
  31136. #: guix-git/doc/guix.texi:20827
  31137. #, no-wrap
  31138. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  31139. msgstr ""
  31140. #. type: deftypevr
  31141. #: guix-git/doc/guix.texi:20830
  31142. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  31143. msgstr ""
  31144. #. type: deftypevr
  31145. #: guix-git/doc/guix.texi:20832
  31146. #, no-wrap
  31147. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  31148. msgstr ""
  31149. #. type: deftypevr
  31150. #: guix-git/doc/guix.texi:20835
  31151. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  31152. msgstr ""
  31153. #. type: deftypevr
  31154. #: guix-git/doc/guix.texi:20837
  31155. #, no-wrap
  31156. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  31157. msgstr ""
  31158. #. type: deftypevr
  31159. #: guix-git/doc/guix.texi:20841
  31160. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  31161. msgstr ""
  31162. #. type: deftypevr
  31163. #: guix-git/doc/guix.texi:20843
  31164. #, no-wrap
  31165. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  31166. msgstr ""
  31167. #. type: deftypevr
  31168. #: guix-git/doc/guix.texi:20848
  31169. 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}."
  31170. msgstr ""
  31171. #. type: deftypevr
  31172. #: guix-git/doc/guix.texi:20850
  31173. #, no-wrap
  31174. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  31175. msgstr ""
  31176. #. type: deftypevr
  31177. #: guix-git/doc/guix.texi:20856
  31178. 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."
  31179. msgstr ""
  31180. #. type: deftypevr
  31181. #: guix-git/doc/guix.texi:20858
  31182. #, no-wrap
  31183. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  31184. msgstr ""
  31185. #. type: deftypevr
  31186. #: guix-git/doc/guix.texi:20863
  31187. 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{()}."
  31188. msgstr ""
  31189. #. type: deftypevr
  31190. #: guix-git/doc/guix.texi:20865
  31191. #, no-wrap
  31192. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  31193. msgstr ""
  31194. #. type: deftypevr
  31195. #: guix-git/doc/guix.texi:20869
  31196. 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{()}."
  31197. msgstr ""
  31198. #. type: deftypevr
  31199. #: guix-git/doc/guix.texi:20871
  31200. #, no-wrap
  31201. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  31202. msgstr ""
  31203. #. type: deftypevr
  31204. #: guix-git/doc/guix.texi:20875
  31205. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  31206. msgstr ""
  31207. #. type: deftypevr
  31208. #: guix-git/doc/guix.texi:20877
  31209. #, no-wrap
  31210. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  31211. msgstr ""
  31212. #. type: deftypevr
  31213. #: guix-git/doc/guix.texi:20882
  31214. 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\"}."
  31215. msgstr ""
  31216. #. type: deftypevr
  31217. #: guix-git/doc/guix.texi:20884
  31218. #, no-wrap
  31219. msgid "{@code{dovecot-configuration} parameter} string log-path"
  31220. msgstr ""
  31221. #. type: deftypevr
  31222. #: guix-git/doc/guix.texi:20888
  31223. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  31224. msgstr ""
  31225. #. type: deftypevr
  31226. #: guix-git/doc/guix.texi:20890
  31227. #, no-wrap
  31228. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  31229. msgstr ""
  31230. #. type: deftypevr
  31231. #: guix-git/doc/guix.texi:20894
  31232. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  31233. msgstr ""
  31234. #. type: deftypevr
  31235. #: guix-git/doc/guix.texi:20896
  31236. #, no-wrap
  31237. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  31238. msgstr ""
  31239. #. type: deftypevr
  31240. #: guix-git/doc/guix.texi:20900
  31241. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  31242. msgstr ""
  31243. #. type: deftypevr
  31244. #: guix-git/doc/guix.texi:20902
  31245. #, no-wrap
  31246. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  31247. msgstr ""
  31248. #. type: deftypevr
  31249. #: guix-git/doc/guix.texi:20907
  31250. 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\"}."
  31251. msgstr ""
  31252. #. type: deftypevr
  31253. #: guix-git/doc/guix.texi:20909
  31254. #, no-wrap
  31255. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  31256. msgstr ""
  31257. #. type: deftypevr
  31258. #: guix-git/doc/guix.texi:20913
  31259. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  31260. msgstr ""
  31261. #. type: deftypevr
  31262. #: guix-git/doc/guix.texi:20915
  31263. #, no-wrap
  31264. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  31265. msgstr ""
  31266. #. type: deftypevr
  31267. #: guix-git/doc/guix.texi:20922
  31268. 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\"}."
  31269. msgstr ""
  31270. #. type: deftypevr
  31271. #: guix-git/doc/guix.texi:20924
  31272. #, no-wrap
  31273. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  31274. msgstr ""
  31275. #. type: deftypevr
  31276. #: guix-git/doc/guix.texi:20928
  31277. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  31278. msgstr ""
  31279. #. type: deftypevr
  31280. #: guix-git/doc/guix.texi:20930
  31281. #, no-wrap
  31282. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  31283. msgstr ""
  31284. #. type: deftypevr
  31285. #: guix-git/doc/guix.texi:20935
  31286. 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}."
  31287. msgstr ""
  31288. #. type: deftypevr
  31289. #: guix-git/doc/guix.texi:20937
  31290. #, no-wrap
  31291. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  31292. msgstr ""
  31293. #. type: deftypevr
  31294. #: guix-git/doc/guix.texi:20941
  31295. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  31296. msgstr ""
  31297. #. type: deftypevr
  31298. #: guix-git/doc/guix.texi:20943
  31299. #, no-wrap
  31300. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  31301. msgstr ""
  31302. #. type: deftypevr
  31303. #: guix-git/doc/guix.texi:20946
  31304. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  31305. msgstr ""
  31306. #. type: deftypevr
  31307. #: guix-git/doc/guix.texi:20948
  31308. #, no-wrap
  31309. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  31310. msgstr ""
  31311. #. type: deftypevr
  31312. #: guix-git/doc/guix.texi:20952
  31313. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  31314. msgstr ""
  31315. #. type: deftypevr
  31316. #: guix-git/doc/guix.texi:20954
  31317. #, no-wrap
  31318. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  31319. msgstr ""
  31320. #. type: deftypevr
  31321. #: guix-git/doc/guix.texi:20958
  31322. 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."
  31323. msgstr ""
  31324. #. type: deftypevr
  31325. #: guix-git/doc/guix.texi:20960
  31326. #, no-wrap
  31327. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  31328. msgstr ""
  31329. #. type: deftypevr
  31330. #: guix-git/doc/guix.texi:20964
  31331. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  31332. msgstr ""
  31333. #. type: deftypevr
  31334. #: guix-git/doc/guix.texi:20966
  31335. #, no-wrap
  31336. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  31337. msgstr ""
  31338. #. type: deftypevr
  31339. #: guix-git/doc/guix.texi:20970
  31340. 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@}>: \\\"\"}."
  31341. msgstr ""
  31342. #. type: deftypevr
  31343. #: guix-git/doc/guix.texi:20972
  31344. #, no-wrap
  31345. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  31346. msgstr ""
  31347. #. type: deftypevr
  31348. #: guix-git/doc/guix.texi:20974
  31349. msgid "Format to use for logging mail deliveries. You can use variables:"
  31350. msgstr ""
  31351. #. type: item
  31352. #: guix-git/doc/guix.texi:20975
  31353. #, no-wrap
  31354. msgid "%$"
  31355. msgstr ""
  31356. #. type: table
  31357. #: guix-git/doc/guix.texi:20977
  31358. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  31359. msgstr ""
  31360. #. type: item
  31361. #: guix-git/doc/guix.texi:20977
  31362. #, no-wrap
  31363. msgid "%m"
  31364. msgstr ""
  31365. #. type: table
  31366. #: guix-git/doc/guix.texi:20979
  31367. msgid "Message-ID"
  31368. msgstr ""
  31369. #. type: item
  31370. #: guix-git/doc/guix.texi:20979 guix-git/doc/guix.texi:21522
  31371. #, no-wrap
  31372. msgid "%s"
  31373. msgstr ""
  31374. #. type: table
  31375. #: guix-git/doc/guix.texi:20981
  31376. msgid "Subject"
  31377. msgstr ""
  31378. #. type: item
  31379. #: guix-git/doc/guix.texi:20981
  31380. #, no-wrap
  31381. msgid "%f"
  31382. msgstr ""
  31383. #. type: table
  31384. #: guix-git/doc/guix.texi:20983
  31385. msgid "From address"
  31386. msgstr ""
  31387. #. type: table
  31388. #: guix-git/doc/guix.texi:20985
  31389. msgid "Physical size"
  31390. msgstr ""
  31391. #. type: item
  31392. #: guix-git/doc/guix.texi:20985
  31393. #, no-wrap
  31394. msgid "%w"
  31395. msgstr ""
  31396. #. type: table
  31397. #: guix-git/doc/guix.texi:20987
  31398. msgid "Virtual size."
  31399. msgstr ""
  31400. #. type: deftypevr
  31401. #: guix-git/doc/guix.texi:20989
  31402. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  31403. msgstr ""
  31404. #. type: deftypevr
  31405. #: guix-git/doc/guix.texi:20991
  31406. #, no-wrap
  31407. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  31408. msgstr ""
  31409. #. type: deftypevr
  31410. #: guix-git/doc/guix.texi:20996
  31411. 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."
  31412. msgstr ""
  31413. #. type: deftypevr
  31414. #: guix-git/doc/guix.texi:21002
  31415. 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."
  31416. msgstr ""
  31417. #. type: deftypevr
  31418. #: guix-git/doc/guix.texi:21004
  31419. msgid "There are a few special variables you can use, e.g.:"
  31420. msgstr ""
  31421. #. type: table
  31422. #: guix-git/doc/guix.texi:21008
  31423. msgid "username"
  31424. msgstr ""
  31425. #. type: item
  31426. #: guix-git/doc/guix.texi:21008 guix-git/doc/guix.texi:21518
  31427. #, no-wrap
  31428. msgid "%n"
  31429. msgstr ""
  31430. #. type: table
  31431. #: guix-git/doc/guix.texi:21010
  31432. msgid "user part in user@@domain, same as %u if there's no domain"
  31433. msgstr ""
  31434. #. type: item
  31435. #: guix-git/doc/guix.texi:21010
  31436. #, no-wrap
  31437. msgid "%d"
  31438. msgstr ""
  31439. #. type: table
  31440. #: guix-git/doc/guix.texi:21012
  31441. msgid "domain part in user@@domain, empty if there's no domain"
  31442. msgstr ""
  31443. #. type: item
  31444. #: guix-git/doc/guix.texi:21012
  31445. #, no-wrap
  31446. msgid "%h"
  31447. msgstr ""
  31448. #. type: table
  31449. #: guix-git/doc/guix.texi:21014
  31450. msgid "home director"
  31451. msgstr ""
  31452. #. type: deftypevr
  31453. #: guix-git/doc/guix.texi:21017
  31454. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  31455. msgstr ""
  31456. #. type: item
  31457. #: guix-git/doc/guix.texi:21018
  31458. #, no-wrap
  31459. msgid "maildir:~/Maildir"
  31460. msgstr ""
  31461. #. type: item
  31462. #: guix-git/doc/guix.texi:21019
  31463. #, no-wrap
  31464. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  31465. msgstr ""
  31466. #. type: item
  31467. #: guix-git/doc/guix.texi:21020
  31468. #, no-wrap
  31469. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  31470. msgstr ""
  31471. #. type: deftypevr
  31472. #: guix-git/doc/guix.texi:21025
  31473. #, no-wrap
  31474. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  31475. msgstr ""
  31476. #. type: deftypevr
  31477. #: guix-git/doc/guix.texi:21030
  31478. 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{\"\"}."
  31479. msgstr ""
  31480. #. type: deftypevr
  31481. #: guix-git/doc/guix.texi:21032
  31482. #, no-wrap
  31483. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  31484. msgstr ""
  31485. #. type: deftypevr
  31486. #: guix-git/doc/guix.texi:21037
  31487. #, no-wrap
  31488. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  31489. msgstr ""
  31490. #. type: deftypevr
  31491. #: guix-git/doc/guix.texi:21043
  31492. 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{\"\"}."
  31493. msgstr ""
  31494. #. type: deftypevr
  31495. #: guix-git/doc/guix.texi:21045
  31496. #, no-wrap
  31497. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  31498. msgstr ""
  31499. #. type: deftypevr
  31500. #: guix-git/doc/guix.texi:21053
  31501. 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{\"\"}."
  31502. msgstr ""
  31503. #. type: deftypevr
  31504. #: guix-git/doc/guix.texi:21055
  31505. #, no-wrap
  31506. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  31507. msgstr ""
  31508. #. type: deftypevr
  31509. #: guix-git/doc/guix.texi:21058
  31510. 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}."
  31511. msgstr ""
  31512. #. type: deftypevr
  31513. #: guix-git/doc/guix.texi:21061
  31514. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  31515. msgstr ""
  31516. #. type: deftypevr
  31517. #: guix-git/doc/guix.texi:21066
  31518. #, no-wrap
  31519. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  31520. msgstr ""
  31521. #. type: deftypevr
  31522. #: guix-git/doc/guix.texi:21072
  31523. 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}."
  31524. msgstr ""
  31525. #. type: deftypevr
  31526. #: guix-git/doc/guix.texi:21074
  31527. #, no-wrap
  31528. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  31529. msgstr ""
  31530. #. type: deftypevr
  31531. #: guix-git/doc/guix.texi:21078
  31532. 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}."
  31533. msgstr ""
  31534. #. type: deftypevr
  31535. #: guix-git/doc/guix.texi:21080
  31536. #, no-wrap
  31537. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  31538. msgstr ""
  31539. #. type: deftypevr
  31540. #: guix-git/doc/guix.texi:21085
  31541. 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}."
  31542. msgstr ""
  31543. #. type: deftypevr
  31544. #: guix-git/doc/guix.texi:21087
  31545. #, no-wrap
  31546. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  31547. msgstr ""
  31548. #. type: deftypevr
  31549. #: guix-git/doc/guix.texi:21089
  31550. msgid "When to use fsync() or fdatasync() calls:"
  31551. msgstr ""
  31552. #. type: item
  31553. #: guix-git/doc/guix.texi:21090
  31554. #, no-wrap
  31555. msgid "optimized"
  31556. msgstr ""
  31557. #. type: table
  31558. #: guix-git/doc/guix.texi:21092
  31559. msgid "Whenever necessary to avoid losing important data"
  31560. msgstr ""
  31561. #. type: table
  31562. #: guix-git/doc/guix.texi:21094
  31563. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  31564. msgstr ""
  31565. #. type: table
  31566. #: guix-git/doc/guix.texi:21096
  31567. msgid "Never use it (best performance, but crashes can lose data)."
  31568. msgstr ""
  31569. #. type: deftypevr
  31570. #: guix-git/doc/guix.texi:21098
  31571. msgid "Defaults to @samp{\"optimized\"}."
  31572. msgstr ""
  31573. #. type: deftypevr
  31574. #: guix-git/doc/guix.texi:21100
  31575. #, no-wrap
  31576. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  31577. msgstr ""
  31578. #. type: deftypevr
  31579. #: guix-git/doc/guix.texi:21105
  31580. 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}."
  31581. msgstr ""
  31582. #. type: deftypevr
  31583. #: guix-git/doc/guix.texi:21107
  31584. #, no-wrap
  31585. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  31586. msgstr ""
  31587. #. type: deftypevr
  31588. #: guix-git/doc/guix.texi:21111
  31589. 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}."
  31590. msgstr ""
  31591. #. type: deftypevr
  31592. #: guix-git/doc/guix.texi:21113
  31593. #, no-wrap
  31594. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  31595. msgstr ""
  31596. #. type: deftypevr
  31597. #: guix-git/doc/guix.texi:21119
  31598. 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\"}."
  31599. msgstr ""
  31600. #. type: deftypevr
  31601. #: guix-git/doc/guix.texi:21121
  31602. #, no-wrap
  31603. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  31604. msgstr ""
  31605. #. type: deftypevr
  31606. #: guix-git/doc/guix.texi:21125
  31607. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  31608. msgstr ""
  31609. #. type: deftypevr
  31610. #: guix-git/doc/guix.texi:21127
  31611. #, no-wrap
  31612. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  31613. msgstr ""
  31614. #. type: deftypevr
  31615. #: guix-git/doc/guix.texi:21133
  31616. 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}."
  31617. msgstr ""
  31618. #. type: deftypevr
  31619. #: guix-git/doc/guix.texi:21135
  31620. #, no-wrap
  31621. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  31622. msgstr ""
  31623. #. type: deftypevr
  31624. #: guix-git/doc/guix.texi:21140
  31625. #, no-wrap
  31626. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  31627. msgstr ""
  31628. #. type: deftypevr
  31629. #: guix-git/doc/guix.texi:21145
  31630. 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}."
  31631. msgstr ""
  31632. #. type: deftypevr
  31633. #: guix-git/doc/guix.texi:21147
  31634. #, no-wrap
  31635. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  31636. msgstr ""
  31637. #. type: deftypevr
  31638. #: guix-git/doc/guix.texi:21152
  31639. #, no-wrap
  31640. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  31641. msgstr ""
  31642. #. type: deftypevr
  31643. #: guix-git/doc/guix.texi:21156
  31644. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  31645. msgstr ""
  31646. #. type: deftypevr
  31647. #: guix-git/doc/guix.texi:21158
  31648. #, no-wrap
  31649. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  31650. msgstr ""
  31651. #. type: deftypevr
  31652. #: guix-git/doc/guix.texi:21168
  31653. 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{()}."
  31654. msgstr ""
  31655. #. type: deftypevr
  31656. #: guix-git/doc/guix.texi:21170
  31657. #, no-wrap
  31658. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  31659. msgstr ""
  31660. #. type: deftypevr
  31661. #: guix-git/doc/guix.texi:21179
  31662. 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{\"\"}."
  31663. msgstr ""
  31664. #. type: deftypevr
  31665. #: guix-git/doc/guix.texi:21181
  31666. #, no-wrap
  31667. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  31668. msgstr ""
  31669. #. type: deftypevr
  31670. #: guix-git/doc/guix.texi:21185
  31671. 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\"}."
  31672. msgstr ""
  31673. #. type: deftypevr
  31674. #: guix-git/doc/guix.texi:21187
  31675. #, no-wrap
  31676. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  31677. msgstr ""
  31678. #. type: deftypevr
  31679. #: guix-git/doc/guix.texi:21190
  31680. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  31681. msgstr ""
  31682. #. type: deftypevr
  31683. #: guix-git/doc/guix.texi:21192
  31684. #, no-wrap
  31685. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  31686. msgstr ""
  31687. #. type: deftypevr
  31688. #: guix-git/doc/guix.texi:21196
  31689. 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{()}."
  31690. msgstr ""
  31691. #. type: deftypevr
  31692. #: guix-git/doc/guix.texi:21198
  31693. #, no-wrap
  31694. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  31695. msgstr ""
  31696. #. type: deftypevr
  31697. #: guix-git/doc/guix.texi:21203
  31698. 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}."
  31699. msgstr ""
  31700. #. type: deftypevr
  31701. #: guix-git/doc/guix.texi:21205
  31702. #, no-wrap
  31703. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  31704. msgstr ""
  31705. #. type: deftypevr
  31706. #: guix-git/doc/guix.texi:21212
  31707. 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\"}."
  31708. msgstr ""
  31709. #. type: deftypevr
  31710. #: guix-git/doc/guix.texi:21214
  31711. #, no-wrap
  31712. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  31713. msgstr ""
  31714. #. type: deftypevr
  31715. #: guix-git/doc/guix.texi:21221
  31716. 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}."
  31717. msgstr ""
  31718. #. type: deftypevr
  31719. #: guix-git/doc/guix.texi:21223
  31720. #, no-wrap
  31721. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  31722. msgstr ""
  31723. #. type: deftypevr
  31724. #: guix-git/doc/guix.texi:21231
  31725. 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}."
  31726. msgstr ""
  31727. #. type: deftypevr
  31728. #: guix-git/doc/guix.texi:21233
  31729. #, no-wrap
  31730. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  31731. msgstr ""
  31732. #. type: deftypevr
  31733. #: guix-git/doc/guix.texi:21238
  31734. 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}."
  31735. msgstr ""
  31736. #. type: deftypevr
  31737. #: guix-git/doc/guix.texi:21240
  31738. #, no-wrap
  31739. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  31740. msgstr ""
  31741. #. type: deftypevr
  31742. #: guix-git/doc/guix.texi:21245
  31743. 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}."
  31744. msgstr ""
  31745. #. type: deftypevr
  31746. #: guix-git/doc/guix.texi:21247
  31747. #, no-wrap
  31748. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  31749. msgstr ""
  31750. #. type: deftypevr
  31751. #: guix-git/doc/guix.texi:21250
  31752. msgid "Which locking methods to use for locking mbox. There are four available:"
  31753. msgstr ""
  31754. #. type: item
  31755. #: guix-git/doc/guix.texi:21252
  31756. #, no-wrap
  31757. msgid "dotlock"
  31758. msgstr ""
  31759. #. type: table
  31760. #: guix-git/doc/guix.texi:21256
  31761. 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."
  31762. msgstr ""
  31763. #. type: item
  31764. #: guix-git/doc/guix.texi:21256
  31765. #, no-wrap
  31766. msgid "dotlock-try"
  31767. msgstr ""
  31768. #. type: table
  31769. #: guix-git/doc/guix.texi:21259
  31770. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  31771. msgstr ""
  31772. #. type: item
  31773. #: guix-git/doc/guix.texi:21259
  31774. #, no-wrap
  31775. msgid "fcntl"
  31776. msgstr ""
  31777. #. type: table
  31778. #: guix-git/doc/guix.texi:21261
  31779. msgid "Use this if possible. Works with NFS too if lockd is used."
  31780. msgstr ""
  31781. #. type: item
  31782. #: guix-git/doc/guix.texi:21261
  31783. #, no-wrap
  31784. msgid "flock"
  31785. msgstr ""
  31786. #. type: table
  31787. #: guix-git/doc/guix.texi:21263 guix-git/doc/guix.texi:21265
  31788. msgid "May not exist in all systems. Doesn't work with NFS."
  31789. msgstr ""
  31790. #. type: item
  31791. #: guix-git/doc/guix.texi:21263
  31792. #, no-wrap
  31793. msgid "lockf"
  31794. msgstr ""
  31795. #. type: deftypevr
  31796. #: guix-git/doc/guix.texi:21271
  31797. 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."
  31798. msgstr ""
  31799. #. type: deftypevr
  31800. #: guix-git/doc/guix.texi:21273
  31801. #, no-wrap
  31802. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  31803. msgstr ""
  31804. #. type: deftypevr
  31805. #: guix-git/doc/guix.texi:21277
  31806. #, no-wrap
  31807. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  31808. msgstr ""
  31809. #. type: deftypevr
  31810. #: guix-git/doc/guix.texi:21280
  31811. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  31812. msgstr ""
  31813. #. type: deftypevr
  31814. #: guix-git/doc/guix.texi:21282
  31815. #, no-wrap
  31816. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  31817. msgstr ""
  31818. #. type: deftypevr
  31819. #: guix-git/doc/guix.texi:21286
  31820. 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\"}."
  31821. msgstr ""
  31822. #. type: deftypevr
  31823. #: guix-git/doc/guix.texi:21288
  31824. #, no-wrap
  31825. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  31826. msgstr ""
  31827. #. type: deftypevr
  31828. #: guix-git/doc/guix.texi:21299
  31829. 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}."
  31830. msgstr ""
  31831. #. type: deftypevr
  31832. #: guix-git/doc/guix.texi:21301
  31833. #, no-wrap
  31834. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  31835. msgstr ""
  31836. #. type: deftypevr
  31837. #: guix-git/doc/guix.texi:21306
  31838. 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}."
  31839. msgstr ""
  31840. #. type: deftypevr
  31841. #: guix-git/doc/guix.texi:21308
  31842. #, no-wrap
  31843. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  31844. msgstr ""
  31845. #. type: deftypevr
  31846. #: guix-git/doc/guix.texi:21314
  31847. 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}."
  31848. msgstr ""
  31849. #. type: deftypevr
  31850. #: guix-git/doc/guix.texi:21316
  31851. #, no-wrap
  31852. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  31853. msgstr ""
  31854. #. type: deftypevr
  31855. #: guix-git/doc/guix.texi:21321
  31856. 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}."
  31857. msgstr ""
  31858. #. type: deftypevr
  31859. #: guix-git/doc/guix.texi:21323
  31860. #, no-wrap
  31861. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  31862. msgstr ""
  31863. #. type: deftypevr
  31864. #: guix-git/doc/guix.texi:21326
  31865. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  31866. msgstr ""
  31867. #. type: deftypevr
  31868. #: guix-git/doc/guix.texi:21328
  31869. #, no-wrap
  31870. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  31871. msgstr ""
  31872. #. type: deftypevr
  31873. #: guix-git/doc/guix.texi:21333
  31874. 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\"}."
  31875. msgstr ""
  31876. #. type: deftypevr
  31877. #: guix-git/doc/guix.texi:21335
  31878. #, no-wrap
  31879. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  31880. msgstr ""
  31881. #. type: deftypevr
  31882. #: guix-git/doc/guix.texi:21340
  31883. 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}."
  31884. msgstr ""
  31885. #. type: deftypevr
  31886. #: guix-git/doc/guix.texi:21342
  31887. #, no-wrap
  31888. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  31889. msgstr ""
  31890. #. type: deftypevr
  31891. #: guix-git/doc/guix.texi:21346
  31892. 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."
  31893. msgstr ""
  31894. #. type: deftypevr
  31895. #: guix-git/doc/guix.texi:21348
  31896. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  31897. msgstr ""
  31898. #. type: deftypevr
  31899. #: guix-git/doc/guix.texi:21351
  31900. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  31901. msgstr ""
  31902. #. type: deftypevr
  31903. #: guix-git/doc/guix.texi:21353
  31904. #, no-wrap
  31905. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  31906. msgstr ""
  31907. #. type: deftypevr
  31908. #: guix-git/doc/guix.texi:21358
  31909. 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}."
  31910. msgstr ""
  31911. #. type: deftypevr
  31912. #: guix-git/doc/guix.texi:21360
  31913. #, no-wrap
  31914. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  31915. msgstr ""
  31916. #. type: deftypevr
  31917. #: guix-git/doc/guix.texi:21362
  31918. msgid "File system backend to use for saving attachments:"
  31919. msgstr ""
  31920. #. type: item
  31921. #: guix-git/doc/guix.texi:21363
  31922. #, no-wrap
  31923. msgid "posix"
  31924. msgstr ""
  31925. #. type: table
  31926. #: guix-git/doc/guix.texi:21365
  31927. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  31928. msgstr ""
  31929. #. type: item
  31930. #: guix-git/doc/guix.texi:21365
  31931. #, no-wrap
  31932. msgid "sis posix"
  31933. msgstr ""
  31934. #. type: table
  31935. #: guix-git/doc/guix.texi:21367
  31936. msgid "SiS with immediate byte-by-byte comparison during saving"
  31937. msgstr ""
  31938. #. type: item
  31939. #: guix-git/doc/guix.texi:21367
  31940. #, no-wrap
  31941. msgid "sis-queue posix"
  31942. msgstr ""
  31943. #. type: table
  31944. #: guix-git/doc/guix.texi:21369
  31945. msgid "SiS with delayed comparison and deduplication."
  31946. msgstr ""
  31947. #. type: deftypevr
  31948. #: guix-git/doc/guix.texi:21371
  31949. msgid "Defaults to @samp{\"sis posix\"}."
  31950. msgstr ""
  31951. #. type: deftypevr
  31952. #: guix-git/doc/guix.texi:21373
  31953. #, no-wrap
  31954. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  31955. msgstr ""
  31956. #. type: deftypevr
  31957. #: guix-git/doc/guix.texi:21379
  31958. 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@}\"}."
  31959. msgstr ""
  31960. #. type: deftypevr
  31961. #: guix-git/doc/guix.texi:21381
  31962. #, no-wrap
  31963. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  31964. msgstr ""
  31965. #. type: deftypevr
  31966. #: guix-git/doc/guix.texi:21386
  31967. #, no-wrap
  31968. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  31969. msgstr ""
  31970. #. type: deftypevr
  31971. #: guix-git/doc/guix.texi:21389 guix-git/doc/guix.texi:29004
  31972. msgid "Defaults to @samp{1000}."
  31973. msgstr ""
  31974. #. type: deftypevr
  31975. #: guix-git/doc/guix.texi:21391
  31976. #, no-wrap
  31977. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  31978. msgstr ""
  31979. #. type: deftypevr
  31980. #: guix-git/doc/guix.texi:21396
  31981. 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}."
  31982. msgstr ""
  31983. #. type: deftypevr
  31984. #: guix-git/doc/guix.texi:21398
  31985. #, no-wrap
  31986. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  31987. msgstr ""
  31988. #. type: deftypevr
  31989. #: guix-git/doc/guix.texi:21403
  31990. 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\"}."
  31991. msgstr ""
  31992. #. type: deftypevr
  31993. #: guix-git/doc/guix.texi:21405
  31994. #, no-wrap
  31995. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  31996. msgstr ""
  31997. #. type: deftypevr
  31998. #: guix-git/doc/guix.texi:21410
  31999. 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\"}."
  32000. msgstr ""
  32001. #. type: deftypevr
  32002. #: guix-git/doc/guix.texi:21412
  32003. #, no-wrap
  32004. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  32005. msgstr ""
  32006. #. type: deftypevr
  32007. #: guix-git/doc/guix.texi:21415
  32008. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  32009. msgstr ""
  32010. #. type: deftypevr
  32011. #: guix-git/doc/guix.texi:21417
  32012. #, no-wrap
  32013. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  32014. msgstr ""
  32015. #. type: deftypevr
  32016. #: guix-git/doc/guix.texi:21420
  32017. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  32018. msgstr ""
  32019. #. type: deftypevr
  32020. #: guix-git/doc/guix.texi:21422
  32021. #, no-wrap
  32022. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  32023. msgstr ""
  32024. #. type: deftypevr
  32025. #: guix-git/doc/guix.texi:21427
  32026. 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\"}."
  32027. msgstr ""
  32028. #. type: deftypevr
  32029. #: guix-git/doc/guix.texi:21429
  32030. #, no-wrap
  32031. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  32032. msgstr ""
  32033. #. type: deftypevr
  32034. #: guix-git/doc/guix.texi:21435
  32035. 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{\"\"}."
  32036. msgstr ""
  32037. #. type: deftypevr
  32038. #: guix-git/doc/guix.texi:21437
  32039. #, no-wrap
  32040. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  32041. msgstr ""
  32042. #. type: deftypevr
  32043. #: guix-git/doc/guix.texi:21443
  32044. 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{\"\"}."
  32045. msgstr ""
  32046. #. type: deftypevr
  32047. #: guix-git/doc/guix.texi:21445
  32048. #, no-wrap
  32049. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  32050. msgstr ""
  32051. #. type: deftypevr
  32052. #: guix-git/doc/guix.texi:21448
  32053. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  32054. msgstr ""
  32055. #. type: deftypevr
  32056. #: guix-git/doc/guix.texi:21450
  32057. #, no-wrap
  32058. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  32059. msgstr ""
  32060. #. type: deftypevr
  32061. #: guix-git/doc/guix.texi:21454
  32062. 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}."
  32063. msgstr ""
  32064. #. type: deftypevr
  32065. #: guix-git/doc/guix.texi:21456
  32066. #, no-wrap
  32067. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  32068. msgstr ""
  32069. #. type: deftypevr
  32070. #: guix-git/doc/guix.texi:21461
  32071. 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\"}."
  32072. msgstr ""
  32073. #. type: deftypevr
  32074. #: guix-git/doc/guix.texi:21463
  32075. #, no-wrap
  32076. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  32077. msgstr ""
  32078. #. type: deftypevr
  32079. #: guix-git/doc/guix.texi:21466
  32080. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  32081. msgstr ""
  32082. #. type: deftypevr
  32083. #: guix-git/doc/guix.texi:21468
  32084. #, no-wrap
  32085. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  32086. msgstr ""
  32087. #. type: deftypevr
  32088. #: guix-git/doc/guix.texi:21471
  32089. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  32090. msgstr ""
  32091. #. type: deftypevr
  32092. #: guix-git/doc/guix.texi:21473
  32093. #, no-wrap
  32094. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  32095. msgstr ""
  32096. #. type: deftypevr
  32097. #: guix-git/doc/guix.texi:21476
  32098. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  32099. msgstr ""
  32100. #. type: deftypevr
  32101. #: guix-git/doc/guix.texi:21478
  32102. #, no-wrap
  32103. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  32104. msgstr ""
  32105. #. type: deftypevr
  32106. #: guix-git/doc/guix.texi:21482
  32107. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  32108. msgstr ""
  32109. #. type: deftypevr
  32110. #: guix-git/doc/guix.texi:21484
  32111. #, no-wrap
  32112. msgid "{@code{dovecot-configuration} parameter} string hostname"
  32113. msgstr ""
  32114. #. type: deftypevr
  32115. #: guix-git/doc/guix.texi:21488
  32116. 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{\"\"}."
  32117. msgstr ""
  32118. #. type: deftypevr
  32119. #: guix-git/doc/guix.texi:21490
  32120. #, no-wrap
  32121. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  32122. msgstr ""
  32123. #. type: deftypevr
  32124. #: guix-git/doc/guix.texi:21494
  32125. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  32126. msgstr ""
  32127. #. type: deftypevr
  32128. #: guix-git/doc/guix.texi:21496
  32129. #, no-wrap
  32130. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  32131. msgstr ""
  32132. #. type: deftypevr
  32133. #: guix-git/doc/guix.texi:21499
  32134. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  32135. msgstr ""
  32136. #. type: deftypevr
  32137. #: guix-git/doc/guix.texi:21501
  32138. #, no-wrap
  32139. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  32140. msgstr ""
  32141. #. type: deftypevr
  32142. #: guix-git/doc/guix.texi:21505
  32143. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  32144. msgstr ""
  32145. #. type: deftypevr
  32146. #: guix-git/doc/guix.texi:21507
  32147. #, no-wrap
  32148. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  32149. msgstr ""
  32150. #. type: deftypevr
  32151. #: guix-git/doc/guix.texi:21511
  32152. 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\"}."
  32153. msgstr ""
  32154. #. type: deftypevr
  32155. #: guix-git/doc/guix.texi:21513
  32156. #, no-wrap
  32157. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  32158. msgstr ""
  32159. #. type: deftypevr
  32160. #: guix-git/doc/guix.texi:21516
  32161. msgid "Human readable error message for rejection mails. You can use variables:"
  32162. msgstr ""
  32163. #. type: table
  32164. #: guix-git/doc/guix.texi:21520
  32165. msgid "CRLF"
  32166. msgstr ""
  32167. #. type: item
  32168. #: guix-git/doc/guix.texi:21520
  32169. #, no-wrap
  32170. msgid "%r"
  32171. msgstr ""
  32172. #. type: table
  32173. #: guix-git/doc/guix.texi:21522
  32174. msgid "reason"
  32175. msgstr ""
  32176. #. type: table
  32177. #: guix-git/doc/guix.texi:21524
  32178. msgid "original subject"
  32179. msgstr ""
  32180. #. type: item
  32181. #: guix-git/doc/guix.texi:21524
  32182. #, no-wrap
  32183. msgid "%t"
  32184. msgstr ""
  32185. #. type: table
  32186. #: guix-git/doc/guix.texi:21526
  32187. msgid "recipient"
  32188. msgstr ""
  32189. #. type: deftypevr
  32190. #: guix-git/doc/guix.texi:21528
  32191. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  32192. msgstr ""
  32193. #. type: deftypevr
  32194. #: guix-git/doc/guix.texi:21530
  32195. #, no-wrap
  32196. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  32197. msgstr ""
  32198. #. type: deftypevr
  32199. #: guix-git/doc/guix.texi:21534
  32200. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  32201. msgstr ""
  32202. #. type: deftypevr
  32203. #: guix-git/doc/guix.texi:21536
  32204. #, no-wrap
  32205. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  32206. msgstr ""
  32207. #. type: deftypevr
  32208. #: guix-git/doc/guix.texi:21542
  32209. 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{\"\"}."
  32210. msgstr ""
  32211. #. type: deftypevr
  32212. #: guix-git/doc/guix.texi:21544
  32213. #, no-wrap
  32214. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  32215. msgstr ""
  32216. #. type: deftypevr
  32217. #: guix-git/doc/guix.texi:21548
  32218. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  32219. msgstr ""
  32220. #. type: deftypevr
  32221. #: guix-git/doc/guix.texi:21550
  32222. #, no-wrap
  32223. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  32224. msgstr ""
  32225. #. type: deftypevr
  32226. #: guix-git/doc/guix.texi:21554
  32227. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  32228. msgstr ""
  32229. #. type: deftypevr
  32230. #: guix-git/doc/guix.texi:21556
  32231. #, no-wrap
  32232. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  32233. msgstr ""
  32234. #. type: deftypevr
  32235. #: guix-git/doc/guix.texi:21562
  32236. 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}."
  32237. msgstr ""
  32238. #. type: deftypevr
  32239. #: guix-git/doc/guix.texi:21564
  32240. #, no-wrap
  32241. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  32242. msgstr ""
  32243. #. type: deftypevr
  32244. #: guix-git/doc/guix.texi:21566
  32245. msgid "IMAP logout format string:"
  32246. msgstr ""
  32247. #. type: item
  32248. #: guix-git/doc/guix.texi:21567
  32249. #, no-wrap
  32250. msgid "%i"
  32251. msgstr ""
  32252. #. type: table
  32253. #: guix-git/doc/guix.texi:21569
  32254. msgid "total number of bytes read from client"
  32255. msgstr ""
  32256. #. type: item
  32257. #: guix-git/doc/guix.texi:21569
  32258. #, no-wrap
  32259. msgid "%o"
  32260. msgstr ""
  32261. #. type: table
  32262. #: guix-git/doc/guix.texi:21571
  32263. msgid "total number of bytes sent to client."
  32264. msgstr ""
  32265. #. type: deftypevr
  32266. #: guix-git/doc/guix.texi:21574
  32267. 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@}\"}."
  32268. msgstr ""
  32269. #. type: deftypevr
  32270. #: guix-git/doc/guix.texi:21576
  32271. #, no-wrap
  32272. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  32273. msgstr ""
  32274. #. type: deftypevr
  32275. #: guix-git/doc/guix.texi:21580
  32276. 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{\"\"}."
  32277. msgstr ""
  32278. #. type: deftypevr
  32279. #: guix-git/doc/guix.texi:21582
  32280. #, no-wrap
  32281. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  32282. msgstr ""
  32283. #. type: deftypevr
  32284. #: guix-git/doc/guix.texi:21586
  32285. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  32286. msgstr ""
  32287. #. type: deftypevr
  32288. #: guix-git/doc/guix.texi:21588
  32289. #, no-wrap
  32290. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  32291. msgstr ""
  32292. #. type: deftypevr
  32293. #: guix-git/doc/guix.texi:21594
  32294. 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{\"\"}."
  32295. msgstr ""
  32296. #. type: deftypevr
  32297. #: guix-git/doc/guix.texi:21596
  32298. #, no-wrap
  32299. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  32300. msgstr ""
  32301. #. type: deftypevr
  32302. #: guix-git/doc/guix.texi:21599
  32303. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  32304. msgstr ""
  32305. #. type: deftypevr
  32306. #: guix-git/doc/guix.texi:21601
  32307. #, no-wrap
  32308. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  32309. msgstr ""
  32310. #. type: deftypevr
  32311. #: guix-git/doc/guix.texi:21603
  32312. msgid "Workarounds for various client bugs:"
  32313. msgstr ""
  32314. #. type: item
  32315. #: guix-git/doc/guix.texi:21605
  32316. #, no-wrap
  32317. msgid "delay-newmail"
  32318. msgstr ""
  32319. #. type: table
  32320. #: guix-git/doc/guix.texi:21612
  32321. 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\"."
  32322. msgstr ""
  32323. #. type: item
  32324. #: guix-git/doc/guix.texi:21613
  32325. #, no-wrap
  32326. msgid "tb-extra-mailbox-sep"
  32327. msgstr ""
  32328. #. type: table
  32329. #: guix-git/doc/guix.texi:21617
  32330. 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."
  32331. msgstr ""
  32332. #. type: item
  32333. #: guix-git/doc/guix.texi:21618
  32334. #, no-wrap
  32335. msgid "tb-lsub-flags"
  32336. msgstr ""
  32337. #. type: table
  32338. #: guix-git/doc/guix.texi:21622
  32339. 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."
  32340. msgstr ""
  32341. #. type: deftypevr
  32342. #: guix-git/doc/guix.texi:21626
  32343. #, no-wrap
  32344. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  32345. msgstr ""
  32346. #. type: deftypevr
  32347. #: guix-git/doc/guix.texi:21629
  32348. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  32349. msgstr ""
  32350. #. type: Plain text
  32351. #: guix-git/doc/guix.texi:21637
  32352. 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."
  32353. msgstr ""
  32354. #. type: Plain text
  32355. #: guix-git/doc/guix.texi:21643
  32356. 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."
  32357. msgstr ""
  32358. #. type: Plain text
  32359. #: guix-git/doc/guix.texi:21645
  32360. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  32361. msgstr ""
  32362. #. type: deftypevr
  32363. #: guix-git/doc/guix.texi:21646
  32364. #, no-wrap
  32365. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  32366. msgstr ""
  32367. #. type: deftypevr
  32368. #: guix-git/doc/guix.texi:21650
  32369. #, no-wrap
  32370. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  32371. msgstr ""
  32372. #. type: deftypevr
  32373. #: guix-git/doc/guix.texi:21652
  32374. msgid "The contents of the @code{dovecot.conf}, as a string."
  32375. msgstr ""
  32376. #. type: Plain text
  32377. #: guix-git/doc/guix.texi:21656
  32378. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  32379. msgstr ""
  32380. #. type: lisp
  32381. #: guix-git/doc/guix.texi:21661
  32382. #, no-wrap
  32383. msgid ""
  32384. "(dovecot-service #:config\n"
  32385. " (opaque-dovecot-configuration\n"
  32386. " (string \"\")))\n"
  32387. msgstr ""
  32388. #. type: subsubheading
  32389. #: guix-git/doc/guix.texi:21663
  32390. #, no-wrap
  32391. msgid "OpenSMTPD Service"
  32392. msgstr ""
  32393. #. type: deffn
  32394. #: guix-git/doc/guix.texi:21665
  32395. #, no-wrap
  32396. msgid "{Scheme Variable} opensmtpd-service-type"
  32397. msgstr ""
  32398. #. type: deffn
  32399. #: guix-git/doc/guix.texi:21669
  32400. 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:"
  32401. msgstr ""
  32402. #. type: lisp
  32403. #: guix-git/doc/guix.texi:21674
  32404. #, no-wrap
  32405. msgid ""
  32406. "(service opensmtpd-service-type\n"
  32407. " (opensmtpd-configuration\n"
  32408. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  32409. msgstr ""
  32410. #. type: deftp
  32411. #: guix-git/doc/guix.texi:21677
  32412. #, no-wrap
  32413. msgid "{Data Type} opensmtpd-configuration"
  32414. msgstr ""
  32415. #. type: deftp
  32416. #: guix-git/doc/guix.texi:21679
  32417. msgid "Data type representing the configuration of opensmtpd."
  32418. msgstr ""
  32419. #. type: item
  32420. #: guix-git/doc/guix.texi:21681
  32421. #, no-wrap
  32422. msgid "@code{package} (default: @var{opensmtpd})"
  32423. msgstr ""
  32424. #. type: table
  32425. #: guix-git/doc/guix.texi:21683
  32426. msgid "Package object of the OpenSMTPD SMTP server."
  32427. msgstr ""
  32428. #. type: item
  32429. #: guix-git/doc/guix.texi:21684
  32430. #, no-wrap
  32431. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  32432. msgstr ""
  32433. #. type: table
  32434. #: guix-git/doc/guix.texi:21689
  32435. 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."
  32436. msgstr ""
  32437. #. type: subsubheading
  32438. #: guix-git/doc/guix.texi:21693
  32439. #, no-wrap
  32440. msgid "Exim Service"
  32441. msgstr ""
  32442. #. type: cindex
  32443. #: guix-git/doc/guix.texi:21695
  32444. #, no-wrap
  32445. msgid "mail transfer agent (MTA)"
  32446. msgstr ""
  32447. #. type: cindex
  32448. #: guix-git/doc/guix.texi:21696
  32449. #, no-wrap
  32450. msgid "MTA (mail transfer agent)"
  32451. msgstr ""
  32452. #. type: cindex
  32453. #: guix-git/doc/guix.texi:21697
  32454. #, no-wrap
  32455. msgid "SMTP"
  32456. msgstr ""
  32457. #. type: deffn
  32458. #: guix-git/doc/guix.texi:21699
  32459. #, no-wrap
  32460. msgid "{Scheme Variable} exim-service-type"
  32461. msgstr ""
  32462. #. type: deffn
  32463. #: guix-git/doc/guix.texi:21703
  32464. 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:"
  32465. msgstr ""
  32466. #. type: lisp
  32467. #: guix-git/doc/guix.texi:21708
  32468. #, no-wrap
  32469. msgid ""
  32470. "(service exim-service-type\n"
  32471. " (exim-configuration\n"
  32472. " (config-file (local-file \"./my-exim.conf\"))))\n"
  32473. msgstr ""
  32474. #. type: Plain text
  32475. #: guix-git/doc/guix.texi:21714
  32476. 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)."
  32477. msgstr ""
  32478. #. type: deftp
  32479. #: guix-git/doc/guix.texi:21715
  32480. #, no-wrap
  32481. msgid "{Data Type} exim-configuration"
  32482. msgstr ""
  32483. #. type: deftp
  32484. #: guix-git/doc/guix.texi:21717
  32485. msgid "Data type representing the configuration of exim."
  32486. msgstr ""
  32487. #. type: item
  32488. #: guix-git/doc/guix.texi:21719
  32489. #, no-wrap
  32490. msgid "@code{package} (default: @var{exim})"
  32491. msgstr ""
  32492. #. type: table
  32493. #: guix-git/doc/guix.texi:21721
  32494. msgid "Package object of the Exim server."
  32495. msgstr ""
  32496. #. type: table
  32497. #: guix-git/doc/guix.texi:21728
  32498. 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."
  32499. msgstr ""
  32500. #. type: subsubheading
  32501. #: guix-git/doc/guix.texi:21732
  32502. #, no-wrap
  32503. msgid "Getmail service"
  32504. msgstr ""
  32505. #. type: cindex
  32506. #: guix-git/doc/guix.texi:21734
  32507. #, no-wrap
  32508. msgid "IMAP"
  32509. msgstr ""
  32510. #. type: cindex
  32511. #: guix-git/doc/guix.texi:21735
  32512. #, no-wrap
  32513. msgid "POP"
  32514. msgstr ""
  32515. #. type: deffn
  32516. #: guix-git/doc/guix.texi:21737
  32517. #, no-wrap
  32518. msgid "{Scheme Variable} getmail-service-type"
  32519. msgstr ""
  32520. #. type: deffn
  32521. #: guix-git/doc/guix.texi:21740
  32522. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  32523. msgstr ""
  32524. #. type: Plain text
  32525. #: guix-git/doc/guix.texi:21743
  32526. msgid "Available @code{getmail-configuration} fields are:"
  32527. msgstr ""
  32528. #. type: deftypevr
  32529. #: guix-git/doc/guix.texi:21744
  32530. #, no-wrap
  32531. msgid "{@code{getmail-configuration} parameter} symbol name"
  32532. msgstr ""
  32533. #. type: deftypevr
  32534. #: guix-git/doc/guix.texi:21746
  32535. msgid "A symbol to identify the getmail service."
  32536. msgstr ""
  32537. #. type: deftypevr
  32538. #: guix-git/doc/guix.texi:21748
  32539. msgid "Defaults to @samp{\"unset\"}."
  32540. msgstr ""
  32541. #. type: deftypevr
  32542. #: guix-git/doc/guix.texi:21751
  32543. #, no-wrap
  32544. msgid "{@code{getmail-configuration} parameter} package package"
  32545. msgstr ""
  32546. #. type: deftypevr
  32547. #: guix-git/doc/guix.texi:21753
  32548. msgid "The getmail package to use."
  32549. msgstr ""
  32550. #. type: deftypevr
  32551. #: guix-git/doc/guix.texi:21756
  32552. #, no-wrap
  32553. msgid "{@code{getmail-configuration} parameter} string user"
  32554. msgstr ""
  32555. #. type: deftypevr
  32556. #: guix-git/doc/guix.texi:21758
  32557. msgid "The user to run getmail as."
  32558. msgstr ""
  32559. #. type: deftypevr
  32560. #: guix-git/doc/guix.texi:21760 guix-git/doc/guix.texi:21767
  32561. msgid "Defaults to @samp{\"getmail\"}."
  32562. msgstr ""
  32563. #. type: deftypevr
  32564. #: guix-git/doc/guix.texi:21763
  32565. #, no-wrap
  32566. msgid "{@code{getmail-configuration} parameter} string group"
  32567. msgstr ""
  32568. #. type: deftypevr
  32569. #: guix-git/doc/guix.texi:21765
  32570. msgid "The group to run getmail as."
  32571. msgstr ""
  32572. #. type: deftypevr
  32573. #: guix-git/doc/guix.texi:21770
  32574. #, no-wrap
  32575. msgid "{@code{getmail-configuration} parameter} string directory"
  32576. msgstr ""
  32577. #. type: deftypevr
  32578. #: guix-git/doc/guix.texi:21772
  32579. msgid "The getmail directory to use."
  32580. msgstr ""
  32581. #. type: deftypevr
  32582. #: guix-git/doc/guix.texi:21774
  32583. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  32584. msgstr ""
  32585. #. type: deftypevr
  32586. #: guix-git/doc/guix.texi:21777
  32587. #, no-wrap
  32588. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  32589. msgstr ""
  32590. #. type: deftypevr
  32591. #: guix-git/doc/guix.texi:21779
  32592. msgid "The getmail configuration file to use."
  32593. msgstr ""
  32594. #. type: deftypevr
  32595. #: guix-git/doc/guix.texi:21781
  32596. msgid "Available @code{getmail-configuration-file} fields are:"
  32597. msgstr ""
  32598. #. type: deftypevr
  32599. #: guix-git/doc/guix.texi:21782
  32600. #, no-wrap
  32601. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  32602. msgstr ""
  32603. #. type: deftypevr
  32604. #: guix-git/doc/guix.texi:21784
  32605. msgid "What mail account to retrieve mail from, and how to access that account."
  32606. msgstr ""
  32607. #. type: deftypevr
  32608. #: guix-git/doc/guix.texi:21786
  32609. msgid "Available @code{getmail-retriever-configuration} fields are:"
  32610. msgstr ""
  32611. #. type: deftypevr
  32612. #: guix-git/doc/guix.texi:21787
  32613. #, no-wrap
  32614. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  32615. msgstr ""
  32616. #. type: deftypevr
  32617. #: guix-git/doc/guix.texi:21790
  32618. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  32619. msgstr ""
  32620. #. type: deftypevr
  32621. #: guix-git/doc/guix.texi:21792
  32622. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  32623. msgstr ""
  32624. #. type: deftypevr
  32625. #: guix-git/doc/guix.texi:21795
  32626. #, no-wrap
  32627. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  32628. msgstr ""
  32629. #. type: deftypevr
  32630. #: guix-git/doc/guix.texi:21797 guix-git/doc/guix.texi:21804
  32631. msgid "Username to login to the mail server with."
  32632. msgstr ""
  32633. #. type: deftypevr
  32634. #: guix-git/doc/guix.texi:21799 guix-git/doc/guix.texi:21806
  32635. #: guix-git/doc/guix.texi:21870
  32636. msgid "Defaults to @samp{unset}."
  32637. msgstr ""
  32638. #. type: deftypevr
  32639. #: guix-git/doc/guix.texi:21802
  32640. #, no-wrap
  32641. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  32642. msgstr ""
  32643. #. type: deftypevr
  32644. #: guix-git/doc/guix.texi:21809
  32645. #, no-wrap
  32646. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  32647. msgstr ""
  32648. #. type: deftypevr
  32649. #: guix-git/doc/guix.texi:21811
  32650. msgid "Port number to connect to."
  32651. msgstr ""
  32652. #. type: deftypevr
  32653. #: guix-git/doc/guix.texi:21816
  32654. #, no-wrap
  32655. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  32656. msgstr ""
  32657. #. type: deftypevr
  32658. #: guix-git/doc/guix.texi:21818 guix-git/doc/guix.texi:21825
  32659. msgid "Override fields from passwd."
  32660. msgstr ""
  32661. #. type: deftypevr
  32662. #: guix-git/doc/guix.texi:21823
  32663. #, no-wrap
  32664. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  32665. msgstr ""
  32666. #. type: deftypevr
  32667. #: guix-git/doc/guix.texi:21830
  32668. #, no-wrap
  32669. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  32670. msgstr ""
  32671. #. type: deftypevr
  32672. #: guix-git/doc/guix.texi:21832
  32673. msgid "PEM-formatted key file to use for the TLS negotiation."
  32674. msgstr ""
  32675. #. type: deftypevr
  32676. #: guix-git/doc/guix.texi:21837
  32677. #, no-wrap
  32678. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  32679. msgstr ""
  32680. #. type: deftypevr
  32681. #: guix-git/doc/guix.texi:21839
  32682. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  32683. msgstr ""
  32684. #. type: deftypevr
  32685. #: guix-git/doc/guix.texi:21844
  32686. #, no-wrap
  32687. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  32688. msgstr ""
  32689. #. type: deftypevr
  32690. #: guix-git/doc/guix.texi:21846
  32691. msgid "CA certificates to use."
  32692. msgstr ""
  32693. #. type: deftypevr
  32694. #: guix-git/doc/guix.texi:21851
  32695. #, no-wrap
  32696. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  32697. msgstr ""
  32698. #. type: deftypevr
  32699. #: guix-git/doc/guix.texi:21853
  32700. msgid "Extra retriever parameters."
  32701. msgstr ""
  32702. #. type: deftypevr
  32703. #: guix-git/doc/guix.texi:21860
  32704. #, no-wrap
  32705. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  32706. msgstr ""
  32707. #. type: deftypevr
  32708. #: guix-git/doc/guix.texi:21862
  32709. msgid "What to do with retrieved messages."
  32710. msgstr ""
  32711. #. type: deftypevr
  32712. #: guix-git/doc/guix.texi:21864
  32713. msgid "Available @code{getmail-destination-configuration} fields are:"
  32714. msgstr ""
  32715. #. type: deftypevr
  32716. #: guix-git/doc/guix.texi:21865
  32717. #, no-wrap
  32718. msgid "{@code{getmail-destination-configuration} parameter} string type"
  32719. msgstr ""
  32720. #. type: deftypevr
  32721. #: guix-git/doc/guix.texi:21868
  32722. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  32723. msgstr ""
  32724. #. type: deftypevr
  32725. #: guix-git/doc/guix.texi:21873
  32726. #, no-wrap
  32727. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  32728. msgstr ""
  32729. #. type: deftypevr
  32730. #: guix-git/doc/guix.texi:21876
  32731. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  32732. msgstr ""
  32733. #. type: deftypevr
  32734. #: guix-git/doc/guix.texi:21881
  32735. #, no-wrap
  32736. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  32737. msgstr ""
  32738. #. type: deftypevr
  32739. #: guix-git/doc/guix.texi:21883
  32740. msgid "Extra destination parameters"
  32741. msgstr ""
  32742. #. type: deftypevr
  32743. #: guix-git/doc/guix.texi:21890
  32744. #, no-wrap
  32745. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  32746. msgstr ""
  32747. #. type: deftypevr
  32748. #: guix-git/doc/guix.texi:21892
  32749. msgid "Configure getmail."
  32750. msgstr ""
  32751. #. type: deftypevr
  32752. #: guix-git/doc/guix.texi:21894
  32753. msgid "Available @code{getmail-options-configuration} fields are:"
  32754. msgstr ""
  32755. #. type: deftypevr
  32756. #: guix-git/doc/guix.texi:21895
  32757. #, no-wrap
  32758. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  32759. msgstr ""
  32760. #. type: deftypevr
  32761. #: guix-git/doc/guix.texi:21900
  32762. 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."
  32763. msgstr ""
  32764. #. type: deftypevr
  32765. #: guix-git/doc/guix.texi:21902 guix-git/doc/guix.texi:28474
  32766. #: guix-git/doc/guix.texi:29062 guix-git/doc/guix.texi:29207
  32767. msgid "Defaults to @samp{1}."
  32768. msgstr ""
  32769. #. type: deftypevr
  32770. #: guix-git/doc/guix.texi:21905
  32771. #, no-wrap
  32772. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  32773. msgstr ""
  32774. #. type: deftypevr
  32775. #: guix-git/doc/guix.texi:21908
  32776. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  32777. msgstr ""
  32778. #. type: deftypevr
  32779. #: guix-git/doc/guix.texi:21913
  32780. #, no-wrap
  32781. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  32782. msgstr ""
  32783. #. type: deftypevr
  32784. #: guix-git/doc/guix.texi:21917
  32785. 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."
  32786. msgstr ""
  32787. #. type: deftypevr
  32788. #: guix-git/doc/guix.texi:21922
  32789. #, no-wrap
  32790. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  32791. msgstr ""
  32792. #. type: deftypevr
  32793. #: guix-git/doc/guix.texi:21927
  32794. 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."
  32795. msgstr ""
  32796. #. type: deftypevr
  32797. #: guix-git/doc/guix.texi:21932
  32798. #, no-wrap
  32799. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  32800. msgstr ""
  32801. #. type: deftypevr
  32802. #: guix-git/doc/guix.texi:21936
  32803. 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."
  32804. msgstr ""
  32805. #. type: deftypevr
  32806. #: guix-git/doc/guix.texi:21941
  32807. #, no-wrap
  32808. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  32809. msgstr ""
  32810. #. type: deftypevr
  32811. #: guix-git/doc/guix.texi:21944
  32812. 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."
  32813. msgstr ""
  32814. #. type: deftypevr
  32815. #: guix-git/doc/guix.texi:21949
  32816. #, no-wrap
  32817. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  32818. msgstr ""
  32819. #. type: deftypevr
  32820. #: guix-git/doc/guix.texi:21952
  32821. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  32822. msgstr ""
  32823. #. type: deftypevr
  32824. #: guix-git/doc/guix.texi:21957
  32825. #, no-wrap
  32826. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  32827. msgstr ""
  32828. #. type: deftypevr
  32829. #: guix-git/doc/guix.texi:21959
  32830. msgid "If true, getmail will add a Delivered-To header to messages."
  32831. msgstr ""
  32832. #. type: deftypevr
  32833. #: guix-git/doc/guix.texi:21964
  32834. #, no-wrap
  32835. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  32836. msgstr ""
  32837. #. type: deftypevr
  32838. #: guix-git/doc/guix.texi:21966
  32839. msgid "If set, getmail adds a Received header to the messages."
  32840. msgstr ""
  32841. #. type: deftypevr
  32842. #: guix-git/doc/guix.texi:21971
  32843. #, no-wrap
  32844. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  32845. msgstr ""
  32846. #. type: deftypevr
  32847. #: guix-git/doc/guix.texi:21974
  32848. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  32849. msgstr ""
  32850. #. type: deftypevr
  32851. #: guix-git/doc/guix.texi:21979
  32852. #, no-wrap
  32853. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  32854. msgstr ""
  32855. #. type: deftypevr
  32856. #: guix-git/doc/guix.texi:21982
  32857. msgid "If true, getmail will record a log of its actions using the system logger."
  32858. msgstr ""
  32859. #. type: deftypevr
  32860. #: guix-git/doc/guix.texi:21987
  32861. #, no-wrap
  32862. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  32863. msgstr ""
  32864. #. type: deftypevr
  32865. #: guix-git/doc/guix.texi:21991
  32866. 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."
  32867. msgstr ""
  32868. #. type: deftypevr
  32869. #: guix-git/doc/guix.texi:21996
  32870. #, no-wrap
  32871. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  32872. msgstr ""
  32873. #. type: deftypevr
  32874. #: guix-git/doc/guix.texi:21998
  32875. msgid "Extra options to include."
  32876. msgstr ""
  32877. #. type: deftypevr
  32878. #: guix-git/doc/guix.texi:22007
  32879. #, no-wrap
  32880. msgid "{@code{getmail-configuration} parameter} list idle"
  32881. msgstr ""
  32882. #. type: deftypevr
  32883. #: guix-git/doc/guix.texi:22011
  32884. 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."
  32885. msgstr ""
  32886. #. type: deftypevr
  32887. #: guix-git/doc/guix.texi:22016
  32888. #, no-wrap
  32889. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  32890. msgstr ""
  32891. #. type: deftypevr
  32892. #: guix-git/doc/guix.texi:22018
  32893. msgid "Environment variables to set for getmail."
  32894. msgstr ""
  32895. #. type: subsubheading
  32896. #: guix-git/doc/guix.texi:22023
  32897. #, no-wrap
  32898. msgid "Mail Aliases Service"
  32899. msgstr ""
  32900. #. type: cindex
  32901. #: guix-git/doc/guix.texi:22025
  32902. #, no-wrap
  32903. msgid "email aliases"
  32904. msgstr ""
  32905. #. type: cindex
  32906. #: guix-git/doc/guix.texi:22026
  32907. #, no-wrap
  32908. msgid "aliases, for email addresses"
  32909. msgstr ""
  32910. #. type: deffn
  32911. #: guix-git/doc/guix.texi:22028
  32912. #, no-wrap
  32913. msgid "{Scheme Variable} mail-aliases-service-type"
  32914. msgstr ""
  32915. #. type: deffn
  32916. #: guix-git/doc/guix.texi:22031
  32917. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  32918. msgstr ""
  32919. #. type: lisp
  32920. #: guix-git/doc/guix.texi:22036
  32921. #, no-wrap
  32922. msgid ""
  32923. "(service mail-aliases-service-type\n"
  32924. " '((\"postmaster\" \"bob\")\n"
  32925. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  32926. msgstr ""
  32927. #. type: Plain text
  32928. #: guix-git/doc/guix.texi:22044
  32929. 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."
  32930. msgstr ""
  32931. #. type: Plain text
  32932. #: guix-git/doc/guix.texi:22050
  32933. 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})."
  32934. msgstr ""
  32935. #. type: cindex
  32936. #: guix-git/doc/guix.texi:22051 guix-git/doc/guix.texi:22052
  32937. #, no-wrap
  32938. msgid "GNU Mailutils IMAP4 Daemon"
  32939. msgstr ""
  32940. #. type: deffn
  32941. #: guix-git/doc/guix.texi:22054
  32942. #, no-wrap
  32943. msgid "{Scheme Variable} imap4d-service-type"
  32944. msgstr ""
  32945. #. type: deffn
  32946. #: guix-git/doc/guix.texi:22058
  32947. 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:"
  32948. msgstr ""
  32949. #. type: lisp
  32950. #: guix-git/doc/guix.texi:22063
  32951. #, no-wrap
  32952. msgid ""
  32953. "(service imap4d-service-type\n"
  32954. " (imap4d-configuration\n"
  32955. " (config-file (local-file \"imap4d.conf\"))))\n"
  32956. msgstr ""
  32957. #. type: deftp
  32958. #: guix-git/doc/guix.texi:22066
  32959. #, no-wrap
  32960. msgid "{Data Type} imap4d-configuration"
  32961. msgstr ""
  32962. #. type: deftp
  32963. #: guix-git/doc/guix.texi:22068
  32964. msgid "Data type representing the configuration of @command{imap4d}."
  32965. msgstr ""
  32966. #. type: item
  32967. #: guix-git/doc/guix.texi:22070
  32968. #, no-wrap
  32969. msgid "@code{package} (default: @code{mailutils})"
  32970. msgstr ""
  32971. #. type: table
  32972. #: guix-git/doc/guix.texi:22072
  32973. msgid "The package that provides @command{imap4d}."
  32974. msgstr ""
  32975. #. type: item
  32976. #: guix-git/doc/guix.texi:22073
  32977. #, no-wrap
  32978. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  32979. msgstr ""
  32980. #. type: table
  32981. #: guix-git/doc/guix.texi:22077
  32982. 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."
  32983. msgstr ""
  32984. #. type: subsubheading
  32985. #: guix-git/doc/guix.texi:22081
  32986. #, no-wrap
  32987. msgid "Radicale Service"
  32988. msgstr ""
  32989. #. type: cindex
  32990. #: guix-git/doc/guix.texi:22082
  32991. #, no-wrap
  32992. msgid "CalDAV"
  32993. msgstr ""
  32994. #. type: cindex
  32995. #: guix-git/doc/guix.texi:22083
  32996. #, no-wrap
  32997. msgid "CardDAV"
  32998. msgstr ""
  32999. #. type: deffn
  33000. #: guix-git/doc/guix.texi:22085
  33001. #, no-wrap
  33002. msgid "{Scheme Variable} radicale-service-type"
  33003. msgstr ""
  33004. #. type: deffn
  33005. #: guix-git/doc/guix.texi:22088
  33006. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  33007. msgstr ""
  33008. #. type: deftp
  33009. #: guix-git/doc/guix.texi:22090
  33010. #, no-wrap
  33011. msgid "{Data Type} radicale-configuration"
  33012. msgstr ""
  33013. #. type: deftp
  33014. #: guix-git/doc/guix.texi:22092
  33015. msgid "Data type representing the configuration of @command{radicale}."
  33016. msgstr ""
  33017. #. type: item
  33018. #: guix-git/doc/guix.texi:22094
  33019. #, no-wrap
  33020. msgid "@code{package} (default: @code{radicale})"
  33021. msgstr ""
  33022. #. type: table
  33023. #: guix-git/doc/guix.texi:22096
  33024. msgid "The package that provides @command{radicale}."
  33025. msgstr ""
  33026. #. type: item
  33027. #: guix-git/doc/guix.texi:22097
  33028. #, no-wrap
  33029. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  33030. msgstr ""
  33031. #. type: table
  33032. #: guix-git/doc/guix.texi:22101
  33033. 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."
  33034. msgstr ""
  33035. #. type: cindex
  33036. #: guix-git/doc/guix.texi:22108
  33037. #, no-wrap
  33038. msgid "messaging"
  33039. msgstr ""
  33040. #. type: cindex
  33041. #: guix-git/doc/guix.texi:22109
  33042. #, no-wrap
  33043. msgid "jabber"
  33044. msgstr ""
  33045. #. type: cindex
  33046. #: guix-git/doc/guix.texi:22110
  33047. #, no-wrap
  33048. msgid "XMPP"
  33049. msgstr ""
  33050. #. type: Plain text
  33051. #: guix-git/doc/guix.texi:22114
  33052. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  33053. msgstr ""
  33054. #. type: subsubheading
  33055. #: guix-git/doc/guix.texi:22115
  33056. #, no-wrap
  33057. msgid "Prosody Service"
  33058. msgstr ""
  33059. #. type: deffn
  33060. #: guix-git/doc/guix.texi:22117
  33061. #, no-wrap
  33062. msgid "{Scheme Variable} prosody-service-type"
  33063. msgstr ""
  33064. #. type: deffn
  33065. #: guix-git/doc/guix.texi:22121
  33066. 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:"
  33067. msgstr ""
  33068. #. type: lisp
  33069. #: guix-git/doc/guix.texi:22136
  33070. #, no-wrap
  33071. msgid ""
  33072. "(service prosody-service-type\n"
  33073. " (prosody-configuration\n"
  33074. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  33075. " (int-components\n"
  33076. " (list\n"
  33077. " (int-component-configuration\n"
  33078. " (hostname \"conference.example.net\")\n"
  33079. " (plugin \"muc\")\n"
  33080. " (mod-muc (mod-muc-configuration)))))\n"
  33081. " (virtualhosts\n"
  33082. " (list\n"
  33083. " (virtualhost-configuration\n"
  33084. " (domain \"example.net\"))))))\n"
  33085. msgstr ""
  33086. #. type: deffn
  33087. #: guix-git/doc/guix.texi:22139
  33088. msgid "See below for details about @code{prosody-configuration}."
  33089. msgstr ""
  33090. #. type: Plain text
  33091. #: guix-git/doc/guix.texi:22145
  33092. 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."
  33093. msgstr ""
  33094. #. type: Plain text
  33095. #: guix-git/doc/guix.texi:22148
  33096. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  33097. msgstr ""
  33098. #. type: Plain text
  33099. #: guix-git/doc/guix.texi:22152
  33100. 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}."
  33101. msgstr ""
  33102. #. type: example
  33103. #: guix-git/doc/guix.texi:22155
  33104. #, no-wrap
  33105. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  33106. msgstr ""
  33107. #. type: Plain text
  33108. #: guix-git/doc/guix.texi:22162
  33109. 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}."
  33110. msgstr ""
  33111. #. type: Plain text
  33112. #: guix-git/doc/guix.texi:22166
  33113. 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."
  33114. msgstr ""
  33115. #. type: Plain text
  33116. #: guix-git/doc/guix.texi:22169
  33117. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  33118. msgstr ""
  33119. #. type: Plain text
  33120. #: guix-git/doc/guix.texi:22179
  33121. msgid "Available @code{prosody-configuration} fields are:"
  33122. msgstr ""
  33123. #. type: deftypevr
  33124. #: guix-git/doc/guix.texi:22180
  33125. #, no-wrap
  33126. msgid "{@code{prosody-configuration} parameter} package prosody"
  33127. msgstr ""
  33128. #. type: deftypevr
  33129. #: guix-git/doc/guix.texi:22182
  33130. msgid "The Prosody package."
  33131. msgstr ""
  33132. #. type: deftypevr
  33133. #: guix-git/doc/guix.texi:22184
  33134. #, no-wrap
  33135. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  33136. msgstr ""
  33137. #. type: deftypevr
  33138. #: guix-git/doc/guix.texi:22188
  33139. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  33140. msgstr ""
  33141. #. type: deftypevr
  33142. #: guix-git/doc/guix.texi:22190
  33143. #, no-wrap
  33144. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  33145. msgstr ""
  33146. #. type: deftypevr
  33147. #: guix-git/doc/guix.texi:22194
  33148. 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{()}."
  33149. msgstr ""
  33150. #. type: deftypevr
  33151. #: guix-git/doc/guix.texi:22196
  33152. #, no-wrap
  33153. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  33154. msgstr ""
  33155. #. type: deftypevr
  33156. #: guix-git/doc/guix.texi:22201
  33157. 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\"}."
  33158. msgstr ""
  33159. #. type: deftypevr
  33160. #: guix-git/doc/guix.texi:22203
  33161. #, no-wrap
  33162. msgid "{@code{prosody-configuration} parameter} string-list admins"
  33163. msgstr ""
  33164. #. type: deftypevr
  33165. #: guix-git/doc/guix.texi:22209
  33166. 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{()}."
  33167. msgstr ""
  33168. #. type: deftypevr
  33169. #: guix-git/doc/guix.texi:22211
  33170. #, no-wrap
  33171. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  33172. msgstr ""
  33173. #. type: deftypevr
  33174. #: guix-git/doc/guix.texi:22215
  33175. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  33176. msgstr ""
  33177. #. type: deftypevr
  33178. #: guix-git/doc/guix.texi:22217
  33179. #, no-wrap
  33180. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  33181. msgstr ""
  33182. #. type: deftypevr
  33183. #: guix-git/doc/guix.texi:22223
  33184. 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\")}."
  33185. msgstr ""
  33186. #. type: deftypevr
  33187. #: guix-git/doc/guix.texi:22225
  33188. #, no-wrap
  33189. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  33190. msgstr ""
  33191. #. type: deftypevr
  33192. #: guix-git/doc/guix.texi:22229
  33193. 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{()}."
  33194. msgstr ""
  33195. #. type: deftypevr
  33196. #: guix-git/doc/guix.texi:22231
  33197. #, no-wrap
  33198. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  33199. msgstr ""
  33200. #. type: deftypevr
  33201. #: guix-git/doc/guix.texi:22236
  33202. 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\"}."
  33203. msgstr ""
  33204. #. type: deftypevr
  33205. #: guix-git/doc/guix.texi:22238
  33206. #, no-wrap
  33207. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  33208. msgstr ""
  33209. #. type: deftypevr
  33210. #: guix-git/doc/guix.texi:22242
  33211. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  33212. msgstr ""
  33213. #. type: deftypevr
  33214. #: guix-git/doc/guix.texi:22244
  33215. #, no-wrap
  33216. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  33217. msgstr ""
  33218. #. type: deftypevr
  33219. #: guix-git/doc/guix.texi:22249
  33220. 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}."
  33221. msgstr ""
  33222. #. type: deftypevr
  33223. #: guix-git/doc/guix.texi:22251
  33224. msgid "Available @code{ssl-configuration} fields are:"
  33225. msgstr ""
  33226. #. type: deftypevr
  33227. #: guix-git/doc/guix.texi:22252
  33228. #, no-wrap
  33229. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  33230. msgstr ""
  33231. #. type: deftypevr
  33232. #: guix-git/doc/guix.texi:22254
  33233. msgid "This determines what handshake to use."
  33234. msgstr ""
  33235. #. type: deftypevr
  33236. #: guix-git/doc/guix.texi:22256
  33237. #, no-wrap
  33238. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  33239. msgstr ""
  33240. #. type: deftypevr
  33241. #: guix-git/doc/guix.texi:22258
  33242. msgid "Path to your private key file."
  33243. msgstr ""
  33244. #. type: deftypevr
  33245. #: guix-git/doc/guix.texi:22260
  33246. #, no-wrap
  33247. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  33248. msgstr ""
  33249. #. type: deftypevr
  33250. #: guix-git/doc/guix.texi:22262
  33251. msgid "Path to your certificate file."
  33252. msgstr ""
  33253. #. type: deftypevr
  33254. #: guix-git/doc/guix.texi:22264
  33255. #, no-wrap
  33256. msgid "{@code{ssl-configuration} parameter} file-object capath"
  33257. msgstr ""
  33258. #. type: deftypevr
  33259. #: guix-git/doc/guix.texi:22268
  33260. 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\"}."
  33261. msgstr ""
  33262. #. type: deftypevr
  33263. #: guix-git/doc/guix.texi:22270
  33264. #, no-wrap
  33265. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  33266. msgstr ""
  33267. #. type: deftypevr
  33268. #: guix-git/doc/guix.texi:22273
  33269. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  33270. msgstr ""
  33271. #. type: deftypevr
  33272. #: guix-git/doc/guix.texi:22275
  33273. #, no-wrap
  33274. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  33275. msgstr ""
  33276. #. type: deftypevr
  33277. #: guix-git/doc/guix.texi:22278
  33278. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  33279. msgstr ""
  33280. #. type: deftypevr
  33281. #: guix-git/doc/guix.texi:22280
  33282. #, no-wrap
  33283. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  33284. msgstr ""
  33285. #. type: deftypevr
  33286. #: guix-git/doc/guix.texi:22284
  33287. 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."
  33288. msgstr ""
  33289. #. type: deftypevr
  33290. #: guix-git/doc/guix.texi:22286
  33291. #, no-wrap
  33292. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  33293. msgstr ""
  33294. #. type: deftypevr
  33295. #: guix-git/doc/guix.texi:22289
  33296. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  33297. msgstr ""
  33298. #. type: deftypevr
  33299. #: guix-git/doc/guix.texi:22291
  33300. #, no-wrap
  33301. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  33302. msgstr ""
  33303. #. type: deftypevr
  33304. #: guix-git/doc/guix.texi:22294
  33305. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  33306. msgstr ""
  33307. #. type: deftypevr
  33308. #: guix-git/doc/guix.texi:22296
  33309. #, no-wrap
  33310. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  33311. msgstr ""
  33312. #. type: deftypevr
  33313. #: guix-git/doc/guix.texi:22300
  33314. 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}"
  33315. msgstr ""
  33316. #. type: deftypevr
  33317. #: guix-git/doc/guix.texi:22302
  33318. #, no-wrap
  33319. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  33320. msgstr ""
  33321. #. type: deftypevr
  33322. #: guix-git/doc/guix.texi:22305
  33323. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  33324. msgstr ""
  33325. #. type: deftypevr
  33326. #: guix-git/doc/guix.texi:22307
  33327. #, no-wrap
  33328. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  33329. msgstr ""
  33330. #. type: deftypevr
  33331. #: guix-git/doc/guix.texi:22309
  33332. msgid "A list of ``extra'' verification options."
  33333. msgstr ""
  33334. #. type: deftypevr
  33335. #: guix-git/doc/guix.texi:22311
  33336. #, no-wrap
  33337. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  33338. msgstr ""
  33339. #. type: deftypevr
  33340. #: guix-git/doc/guix.texi:22313
  33341. msgid "Password for encrypted private keys."
  33342. msgstr ""
  33343. #. type: deftypevr
  33344. #: guix-git/doc/guix.texi:22317
  33345. #, no-wrap
  33346. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  33347. msgstr ""
  33348. #. type: deftypevr
  33349. #: guix-git/doc/guix.texi:22321
  33350. 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}."
  33351. msgstr ""
  33352. #. type: deftypevr
  33353. #: guix-git/doc/guix.texi:22323
  33354. #, no-wrap
  33355. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  33356. msgstr ""
  33357. #. type: deftypevr
  33358. #: guix-git/doc/guix.texi:22327
  33359. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  33360. msgstr ""
  33361. #. type: deftypevr
  33362. #: guix-git/doc/guix.texi:22329
  33363. #, no-wrap
  33364. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  33365. msgstr ""
  33366. #. type: deftypevr
  33367. #: guix-git/doc/guix.texi:22333
  33368. 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}."
  33369. msgstr ""
  33370. #. type: deftypevr
  33371. #: guix-git/doc/guix.texi:22335
  33372. #, no-wrap
  33373. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  33374. msgstr ""
  33375. #. type: deftypevr
  33376. #: guix-git/doc/guix.texi:22341
  33377. 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}."
  33378. msgstr ""
  33379. #. type: deftypevr
  33380. #: guix-git/doc/guix.texi:22343
  33381. #, no-wrap
  33382. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  33383. msgstr ""
  33384. #. type: deftypevr
  33385. #: guix-git/doc/guix.texi:22349
  33386. 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{()}."
  33387. msgstr ""
  33388. #. type: deftypevr
  33389. #: guix-git/doc/guix.texi:22351
  33390. #, no-wrap
  33391. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  33392. msgstr ""
  33393. #. type: deftypevr
  33394. #: guix-git/doc/guix.texi:22356
  33395. 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{()}."
  33396. msgstr ""
  33397. #. type: deftypevr
  33398. #: guix-git/doc/guix.texi:22358
  33399. #, no-wrap
  33400. msgid "{@code{prosody-configuration} parameter} string authentication"
  33401. msgstr ""
  33402. #. type: deftypevr
  33403. #: guix-git/doc/guix.texi:22366
  33404. 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\"}."
  33405. msgstr ""
  33406. #. type: deftypevr
  33407. #: guix-git/doc/guix.texi:22368
  33408. #, no-wrap
  33409. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  33410. msgstr ""
  33411. #. type: deftypevr
  33412. #: guix-git/doc/guix.texi:22372
  33413. 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\"}."
  33414. msgstr ""
  33415. #. type: deftypevr
  33416. #: guix-git/doc/guix.texi:22374
  33417. #, no-wrap
  33418. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  33419. msgstr ""
  33420. #. type: deftypevr
  33421. #: guix-git/doc/guix.texi:22377
  33422. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  33423. msgstr ""
  33424. #. type: deftypevr
  33425. #: guix-git/doc/guix.texi:22379
  33426. #, no-wrap
  33427. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  33428. msgstr ""
  33429. #. type: deftypevr
  33430. #: guix-git/doc/guix.texi:22381
  33431. msgid "Maximum allowed size of the HTTP body (in bytes)."
  33432. msgstr ""
  33433. #. type: deftypevr
  33434. #: guix-git/doc/guix.texi:22383
  33435. #, no-wrap
  33436. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  33437. msgstr ""
  33438. #. type: deftypevr
  33439. #: guix-git/doc/guix.texi:22388
  33440. 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}."
  33441. msgstr ""
  33442. #. type: deftypevr
  33443. #: guix-git/doc/guix.texi:22390
  33444. #, no-wrap
  33445. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  33446. msgstr ""
  33447. #. type: deftypevr
  33448. #: guix-git/doc/guix.texi:22395
  33449. 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."
  33450. msgstr ""
  33451. #. type: deftypevr
  33452. #: guix-git/doc/guix.texi:22401
  33453. 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."
  33454. msgstr ""
  33455. #. type: deftypevr
  33456. #: guix-git/doc/guix.texi:22403
  33457. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  33458. msgstr ""
  33459. #. type: deftypevr
  33460. #: guix-git/doc/guix.texi:22405
  33461. msgid "Available @code{virtualhost-configuration} fields are:"
  33462. msgstr ""
  33463. #. type: deftypevr
  33464. #: guix-git/doc/guix.texi:22407 guix-git/doc/guix.texi:22429
  33465. #: guix-git/doc/guix.texi:22482
  33466. 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:"
  33467. msgstr ""
  33468. #. type: deftypevr
  33469. #: guix-git/doc/guix.texi:22407
  33470. #, no-wrap
  33471. msgid "{@code{virtualhost-configuration} parameter} string domain"
  33472. msgstr ""
  33473. #. type: deftypevr
  33474. #: guix-git/doc/guix.texi:22409
  33475. msgid "Domain you wish Prosody to serve."
  33476. msgstr ""
  33477. #. type: deftypevr
  33478. #: guix-git/doc/guix.texi:22413
  33479. #, no-wrap
  33480. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  33481. msgstr ""
  33482. #. type: deftypevr
  33483. #: guix-git/doc/guix.texi:22418
  33484. 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."
  33485. msgstr ""
  33486. #. type: deftypevr
  33487. #: guix-git/doc/guix.texi:22422
  33488. 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."
  33489. msgstr ""
  33490. #. type: deftypevr
  33491. #: guix-git/doc/guix.texi:22425
  33492. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  33493. msgstr ""
  33494. #. type: deftypevr
  33495. #: guix-git/doc/guix.texi:22427
  33496. msgid "Available @code{int-component-configuration} fields are:"
  33497. msgstr ""
  33498. #. type: deftypevr
  33499. #: guix-git/doc/guix.texi:22429
  33500. #, no-wrap
  33501. msgid "{@code{int-component-configuration} parameter} string hostname"
  33502. msgstr ""
  33503. #. type: deftypevr
  33504. #: guix-git/doc/guix.texi:22431 guix-git/doc/guix.texi:22488
  33505. msgid "Hostname of the component."
  33506. msgstr ""
  33507. #. type: deftypevr
  33508. #: guix-git/doc/guix.texi:22433
  33509. #, no-wrap
  33510. msgid "{@code{int-component-configuration} parameter} string plugin"
  33511. msgstr ""
  33512. #. type: deftypevr
  33513. #: guix-git/doc/guix.texi:22435
  33514. msgid "Plugin you wish to use for the component."
  33515. msgstr ""
  33516. #. type: deftypevr
  33517. #: guix-git/doc/guix.texi:22437
  33518. #, no-wrap
  33519. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  33520. msgstr ""
  33521. #. type: deftypevr
  33522. #: guix-git/doc/guix.texi:22440
  33523. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  33524. msgstr ""
  33525. #. type: deftypevr
  33526. #: guix-git/doc/guix.texi:22444
  33527. 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."
  33528. msgstr ""
  33529. #. type: deftypevr
  33530. #: guix-git/doc/guix.texi:22446
  33531. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  33532. msgstr ""
  33533. #. type: deftypevr
  33534. #: guix-git/doc/guix.texi:22448
  33535. msgid "Available @code{mod-muc-configuration} fields are:"
  33536. msgstr ""
  33537. #. type: deftypevr
  33538. #: guix-git/doc/guix.texi:22449
  33539. #, no-wrap
  33540. msgid "{@code{mod-muc-configuration} parameter} string name"
  33541. msgstr ""
  33542. #. type: deftypevr
  33543. #: guix-git/doc/guix.texi:22452
  33544. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  33545. msgstr ""
  33546. #. type: deftypevr
  33547. #: guix-git/doc/guix.texi:22454
  33548. #, no-wrap
  33549. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  33550. msgstr ""
  33551. #. type: deftypevr
  33552. #: guix-git/doc/guix.texi:22461
  33553. 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}."
  33554. msgstr ""
  33555. #. type: deftypevr
  33556. #: guix-git/doc/guix.texi:22463
  33557. #, no-wrap
  33558. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  33559. msgstr ""
  33560. #. type: deftypevr
  33561. #: guix-git/doc/guix.texi:22467
  33562. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  33563. msgstr ""
  33564. #. type: deftypevr
  33565. #: guix-git/doc/guix.texi:22473
  33566. #, no-wrap
  33567. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  33568. msgstr ""
  33569. #. type: deftypevr
  33570. #: guix-git/doc/guix.texi:22478
  33571. 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{()}."
  33572. msgstr ""
  33573. #. type: deftypevr
  33574. #: guix-git/doc/guix.texi:22480
  33575. msgid "Available @code{ext-component-configuration} fields are:"
  33576. msgstr ""
  33577. #. type: deftypevr
  33578. #: guix-git/doc/guix.texi:22482
  33579. #, no-wrap
  33580. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  33581. msgstr ""
  33582. #. type: deftypevr
  33583. #: guix-git/doc/guix.texi:22484
  33584. msgid "Password which the component will use to log in."
  33585. msgstr ""
  33586. #. type: deftypevr
  33587. #: guix-git/doc/guix.texi:22486
  33588. #, no-wrap
  33589. msgid "{@code{ext-component-configuration} parameter} string hostname"
  33590. msgstr ""
  33591. #. type: deftypevr
  33592. #: guix-git/doc/guix.texi:22492
  33593. #, no-wrap
  33594. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  33595. msgstr ""
  33596. #. type: deftypevr
  33597. #: guix-git/doc/guix.texi:22495
  33598. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  33599. msgstr ""
  33600. #. type: deftypevr
  33601. #: guix-git/doc/guix.texi:22497
  33602. #, no-wrap
  33603. msgid "{@code{prosody-configuration} parameter} string component-interface"
  33604. msgstr ""
  33605. #. type: deftypevr
  33606. #: guix-git/doc/guix.texi:22500
  33607. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  33608. msgstr ""
  33609. #. type: deftypevr
  33610. #: guix-git/doc/guix.texi:22502
  33611. #, no-wrap
  33612. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  33613. msgstr ""
  33614. #. type: deftypevr
  33615. #: guix-git/doc/guix.texi:22504
  33616. msgid "Raw content that will be added to the configuration file."
  33617. msgstr ""
  33618. #. type: Plain text
  33619. #: guix-git/doc/guix.texi:22512
  33620. 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:"
  33621. msgstr ""
  33622. #. type: deftypevr
  33623. #: guix-git/doc/guix.texi:22513
  33624. #, no-wrap
  33625. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  33626. msgstr ""
  33627. #. type: deftypevr
  33628. #: guix-git/doc/guix.texi:22515
  33629. msgid "The prosody package."
  33630. msgstr ""
  33631. #. type: deftypevr
  33632. #: guix-git/doc/guix.texi:22517
  33633. #, no-wrap
  33634. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  33635. msgstr ""
  33636. #. type: deftypevr
  33637. #: guix-git/doc/guix.texi:22519
  33638. msgid "The contents of the @code{prosody.cfg.lua} to use."
  33639. msgstr ""
  33640. #. type: Plain text
  33641. #: guix-git/doc/guix.texi:22523
  33642. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  33643. msgstr ""
  33644. #. type: lisp
  33645. #: guix-git/doc/guix.texi:22528
  33646. #, no-wrap
  33647. msgid ""
  33648. "(service prosody-service-type\n"
  33649. " (opaque-prosody-configuration\n"
  33650. " (prosody.cfg.lua \"\")))\n"
  33651. msgstr ""
  33652. #. type: subsubheading
  33653. #: guix-git/doc/guix.texi:22532
  33654. #, no-wrap
  33655. msgid "BitlBee Service"
  33656. msgstr ""
  33657. #. type: cindex
  33658. #: guix-git/doc/guix.texi:22534 guix-git/doc/guix.texi:22578
  33659. #, no-wrap
  33660. msgid "IRC (Internet Relay Chat)"
  33661. msgstr ""
  33662. #. type: cindex
  33663. #: guix-git/doc/guix.texi:22535
  33664. #, no-wrap
  33665. msgid "IRC gateway"
  33666. msgstr ""
  33667. #. type: Plain text
  33668. #: guix-git/doc/guix.texi:22538
  33669. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  33670. msgstr ""
  33671. #. type: defvr
  33672. #: guix-git/doc/guix.texi:22539
  33673. #, no-wrap
  33674. msgid "{Scheme Variable} bitlbee-service-type"
  33675. msgstr ""
  33676. #. type: defvr
  33677. #: guix-git/doc/guix.texi:22543
  33678. 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)."
  33679. msgstr ""
  33680. #. type: defvr
  33681. #: guix-git/doc/guix.texi:22546
  33682. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  33683. msgstr ""
  33684. #. type: lisp
  33685. #: guix-git/doc/guix.texi:22549
  33686. #, no-wrap
  33687. msgid "(service bitlbee-service-type)\n"
  33688. msgstr ""
  33689. #. type: deftp
  33690. #: guix-git/doc/guix.texi:22552
  33691. #, no-wrap
  33692. msgid "{Data Type} bitlbee-configuration"
  33693. msgstr ""
  33694. #. type: deftp
  33695. #: guix-git/doc/guix.texi:22554
  33696. msgid "This is the configuration for BitlBee, with the following fields:"
  33697. msgstr ""
  33698. #. type: item
  33699. #: guix-git/doc/guix.texi:22556
  33700. #, no-wrap
  33701. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  33702. msgstr ""
  33703. #. type: itemx
  33704. #: guix-git/doc/guix.texi:22557
  33705. #, no-wrap
  33706. msgid "@code{port} (default: @code{6667})"
  33707. msgstr ""
  33708. #. type: table
  33709. #: guix-git/doc/guix.texi:22560
  33710. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  33711. msgstr ""
  33712. #. type: table
  33713. #: guix-git/doc/guix.texi:22564
  33714. 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."
  33715. msgstr ""
  33716. #. type: item
  33717. #: guix-git/doc/guix.texi:22565
  33718. #, no-wrap
  33719. msgid "@code{bitlbee} (default: @code{bitlbee})"
  33720. msgstr ""
  33721. #. type: table
  33722. #: guix-git/doc/guix.texi:22567
  33723. msgid "The BitlBee package to use."
  33724. msgstr ""
  33725. #. type: item
  33726. #: guix-git/doc/guix.texi:22568
  33727. #, no-wrap
  33728. msgid "@code{plugins} (default: @code{'()})"
  33729. msgstr ""
  33730. #. type: table
  33731. #: guix-git/doc/guix.texi:22570
  33732. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  33733. msgstr ""
  33734. #. type: table
  33735. #: guix-git/doc/guix.texi:22573
  33736. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  33737. msgstr ""
  33738. #. type: subsubheading
  33739. #: guix-git/doc/guix.texi:22576
  33740. #, no-wrap
  33741. msgid "Quassel Service"
  33742. msgstr ""
  33743. #. type: Plain text
  33744. #: guix-git/doc/guix.texi:22582
  33745. 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."
  33746. msgstr ""
  33747. #. type: defvr
  33748. #: guix-git/doc/guix.texi:22583
  33749. #, no-wrap
  33750. msgid "{Scheme Variable} quassel-service-type"
  33751. msgstr ""
  33752. #. type: defvr
  33753. #: guix-git/doc/guix.texi:22587
  33754. 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)."
  33755. msgstr ""
  33756. #. type: deftp
  33757. #: guix-git/doc/guix.texi:22589
  33758. #, no-wrap
  33759. msgid "{Data Type} quassel-configuration"
  33760. msgstr ""
  33761. #. type: deftp
  33762. #: guix-git/doc/guix.texi:22591
  33763. msgid "This is the configuration for Quassel, with the following fields:"
  33764. msgstr ""
  33765. #. type: item
  33766. #: guix-git/doc/guix.texi:22593
  33767. #, no-wrap
  33768. msgid "@code{quassel} (default: @code{quassel})"
  33769. msgstr ""
  33770. #. type: table
  33771. #: guix-git/doc/guix.texi:22595
  33772. msgid "The Quassel package to use."
  33773. msgstr ""
  33774. #. type: item
  33775. #: guix-git/doc/guix.texi:22596
  33776. #, no-wrap
  33777. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  33778. msgstr ""
  33779. #. type: item
  33780. #: guix-git/doc/guix.texi:22597
  33781. #, no-wrap
  33782. msgid "@code{port} (default: @code{4242})"
  33783. msgstr ""
  33784. #. type: table
  33785. #: guix-git/doc/guix.texi:22601
  33786. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  33787. msgstr ""
  33788. #. type: item
  33789. #: guix-git/doc/guix.texi:22602
  33790. #, no-wrap
  33791. msgid "@code{loglevel} (default: @code{\"Info\"})"
  33792. msgstr ""
  33793. #. type: table
  33794. #: guix-git/doc/guix.texi:22605
  33795. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  33796. msgstr ""
  33797. #. type: cindex
  33798. #: guix-git/doc/guix.texi:22611
  33799. #, no-wrap
  33800. msgid "telephony, services"
  33801. msgstr ""
  33802. #. type: Plain text
  33803. #: guix-git/doc/guix.texi:22615
  33804. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  33805. msgstr ""
  33806. #. type: subsubheading
  33807. #: guix-git/doc/guix.texi:22616
  33808. #, no-wrap
  33809. msgid "Jami"
  33810. msgstr ""
  33811. #. type: cindex
  33812. #: guix-git/doc/guix.texi:22618
  33813. #, no-wrap
  33814. msgid "jami, service"
  33815. msgstr ""
  33816. #. type: Plain text
  33817. #: guix-git/doc/guix.texi:22624
  33818. 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:"
  33819. msgstr ""
  33820. #. type: lisp
  33821. #: guix-git/doc/guix.texi:22633
  33822. #, no-wrap
  33823. msgid ""
  33824. "(service jami-service-type\n"
  33825. " (jami-configuration\n"
  33826. " (accounts\n"
  33827. " (list (jami-account\n"
  33828. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  33829. " (jami-account\n"
  33830. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  33831. msgstr ""
  33832. #. type: Plain text
  33833. #: guix-git/doc/guix.texi:22638
  33834. 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."
  33835. msgstr ""
  33836. #. type: Plain text
  33837. #: guix-git/doc/guix.texi:22643
  33838. 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}."
  33839. msgstr ""
  33840. #. type: Plain text
  33841. #: guix-git/doc/guix.texi:22646
  33842. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  33843. msgstr ""
  33844. #. type: lisp
  33845. #: guix-git/doc/guix.texi:22658
  33846. #, no-wrap
  33847. msgid ""
  33848. "(service jami-service-type\n"
  33849. " (jami-configuration\n"
  33850. " (accounts\n"
  33851. " (list (jami-account\n"
  33852. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  33853. " (peer-discovery? #t)\n"
  33854. " (rendezvous-point? #t)\n"
  33855. " (allowed-contacts\n"
  33856. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  33857. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  33858. msgstr ""
  33859. #. type: Plain text
  33860. #: guix-git/doc/guix.texi:22664
  33861. 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."
  33862. msgstr ""
  33863. #. type: Plain text
  33864. #: guix-git/doc/guix.texi:22667
  33865. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  33866. msgstr ""
  33867. #. type: example
  33868. #: guix-git/doc/guix.texi:22679
  33869. #, no-wrap
  33870. msgid ""
  33871. "# herd doc jami list-actions\n"
  33872. "(list-accounts\n"
  33873. " list-account-details\n"
  33874. " list-banned-contacts\n"
  33875. " list-contacts\n"
  33876. " list-moderators\n"
  33877. " add-moderator\n"
  33878. " ban-contact\n"
  33879. " enable-account\n"
  33880. " disable-account)\n"
  33881. msgstr ""
  33882. #. type: Plain text
  33883. #: guix-git/doc/guix.texi:22686
  33884. 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."
  33885. msgstr ""
  33886. #. type: Plain text
  33887. #: guix-git/doc/guix.texi:22692
  33888. 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:"
  33889. msgstr ""
  33890. #. type: example
  33891. #: guix-git/doc/guix.texi:22696
  33892. #, no-wrap
  33893. msgid ""
  33894. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  33895. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  33896. "\n"
  33897. msgstr ""
  33898. #. type: example
  33899. #: guix-git/doc/guix.texi:22700
  33900. #, no-wrap
  33901. msgid ""
  33902. "# herd list-moderators jami\n"
  33903. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  33904. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  33905. "\n"
  33906. msgstr ""
  33907. #. type: Plain text
  33908. #: guix-git/doc/guix.texi:22705
  33909. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  33910. msgstr ""
  33911. #. type: example
  33912. #: guix-git/doc/guix.texi:22708
  33913. #, no-wrap
  33914. msgid ""
  33915. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  33916. "\n"
  33917. msgstr ""
  33918. #. type: example
  33919. #: guix-git/doc/guix.texi:22712
  33920. #, no-wrap
  33921. msgid ""
  33922. "# herd list-banned-contacts jami\n"
  33923. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  33924. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  33925. "\n"
  33926. msgstr ""
  33927. #. type: Plain text
  33928. #: guix-git/doc/guix.texi:22716
  33929. msgid "Banned contacts are also stripped from their moderation privileges."
  33930. msgstr ""
  33931. #. type: Plain text
  33932. #: guix-git/doc/guix.texi:22721
  33933. 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:"
  33934. msgstr ""
  33935. #. type: example
  33936. #: guix-git/doc/guix.texi:22724
  33937. #, no-wrap
  33938. msgid ""
  33939. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  33940. "\n"
  33941. msgstr ""
  33942. #. type: example
  33943. #: guix-git/doc/guix.texi:22728
  33944. #, no-wrap
  33945. msgid ""
  33946. "# herd list-accounts jami\n"
  33947. "The following Jami accounts are available:\n"
  33948. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  33949. "\n"
  33950. msgstr ""
  33951. #. type: Plain text
  33952. #: guix-git/doc/guix.texi:22739
  33953. 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:"
  33954. msgstr ""
  33955. #. type: example
  33956. #: guix-git/doc/guix.texi:22744
  33957. #, no-wrap
  33958. msgid ""
  33959. "# herd list-account-details jami | \\\n"
  33960. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  33961. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  33962. msgstr ""
  33963. #. type: Plain text
  33964. #: guix-git/doc/guix.texi:22747
  33965. msgid "The remaining actions should be self-explanatory."
  33966. msgstr ""
  33967. #. type: Plain text
  33968. #: guix-git/doc/guix.texi:22749
  33969. msgid "The complete set of available configuration options is detailed below."
  33970. msgstr ""
  33971. #. type: deftp
  33972. #: guix-git/doc/guix.texi:22753
  33973. #, no-wrap
  33974. msgid "{Data Type} jami-configuration"
  33975. msgstr ""
  33976. #. type: deftp
  33977. #: guix-git/doc/guix.texi:22755
  33978. msgid "Available @code{jami-configuration} fields are:"
  33979. msgstr ""
  33980. #. type: item
  33981. #: guix-git/doc/guix.texi:22757
  33982. #, no-wrap
  33983. msgid "@code{jamid} (default: @code{libring}) (type: package)"
  33984. msgstr ""
  33985. #. type: table
  33986. #: guix-git/doc/guix.texi:22759
  33987. msgid "The Jami daemon package to use."
  33988. msgstr ""
  33989. #. type: item
  33990. #: guix-git/doc/guix.texi:22760
  33991. #, no-wrap
  33992. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  33993. msgstr ""
  33994. #. type: table
  33995. #: guix-git/doc/guix.texi:22762
  33996. msgid "The D-Bus package to use to start the required D-Bus session."
  33997. msgstr ""
  33998. #. type: item
  33999. #: guix-git/doc/guix.texi:22763
  34000. #, no-wrap
  34001. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  34002. msgstr ""
  34003. #. type: table
  34004. #: guix-git/doc/guix.texi:22765
  34005. msgid "The nss-certs package to use to provide TLS certificates."
  34006. msgstr ""
  34007. #. type: item
  34008. #: guix-git/doc/guix.texi:22766
  34009. #, no-wrap
  34010. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  34011. msgstr ""
  34012. #. type: table
  34013. #: guix-git/doc/guix.texi:22768
  34014. msgid "Whether to enable logging to syslog."
  34015. msgstr ""
  34016. #. type: item
  34017. #: guix-git/doc/guix.texi:22769
  34018. #, no-wrap
  34019. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  34020. msgstr ""
  34021. #. type: table
  34022. #: guix-git/doc/guix.texi:22771
  34023. msgid "Whether to enable debug level messages."
  34024. msgstr ""
  34025. #. type: item
  34026. #: guix-git/doc/guix.texi:22772
  34027. #, no-wrap
  34028. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  34029. msgstr ""
  34030. #. type: table
  34031. #: guix-git/doc/guix.texi:22774
  34032. msgid "Whether to force automatic answer to incoming calls."
  34033. msgstr ""
  34034. #. type: item
  34035. #: guix-git/doc/guix.texi:22775
  34036. #, no-wrap
  34037. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  34038. msgstr ""
  34039. #. type: table
  34040. #: guix-git/doc/guix.texi:22780
  34041. 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."
  34042. msgstr ""
  34043. #. type: deftp
  34044. #: guix-git/doc/guix.texi:22786
  34045. #, no-wrap
  34046. msgid "{Data Type} jami-account"
  34047. msgstr ""
  34048. #. type: deftp
  34049. #: guix-git/doc/guix.texi:22788
  34050. msgid "Available @code{jami-account} fields are:"
  34051. msgstr ""
  34052. #. type: item
  34053. #: guix-git/doc/guix.texi:22790
  34054. #, no-wrap
  34055. msgid "@code{archive} (type: string-or-computed-file)"
  34056. msgstr ""
  34057. #. type: table
  34058. #: guix-git/doc/guix.texi:22796
  34059. 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."
  34060. msgstr ""
  34061. #. type: item
  34062. #: guix-git/doc/guix.texi:22797
  34063. #, no-wrap
  34064. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  34065. msgstr ""
  34066. #. type: table
  34067. #: guix-git/doc/guix.texi:22804
  34068. 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."
  34069. msgstr ""
  34070. #. type: item
  34071. #: guix-git/doc/guix.texi:22805
  34072. #, no-wrap
  34073. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  34074. msgstr ""
  34075. #. type: table
  34076. #: guix-git/doc/guix.texi:22811
  34077. 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."
  34078. msgstr ""
  34079. #. type: item
  34080. #: guix-git/doc/guix.texi:22812
  34081. #, no-wrap
  34082. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  34083. msgstr ""
  34084. #. type: table
  34085. #: guix-git/doc/guix.texi:22816
  34086. 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."
  34087. msgstr ""
  34088. #. type: item
  34089. #: guix-git/doc/guix.texi:22817
  34090. #, no-wrap
  34091. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  34092. msgstr ""
  34093. #. type: table
  34094. #: guix-git/doc/guix.texi:22823
  34095. 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."
  34096. msgstr ""
  34097. #. type: item
  34098. #: guix-git/doc/guix.texi:22824
  34099. #, no-wrap
  34100. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  34101. msgstr ""
  34102. #. type: table
  34103. #: guix-git/doc/guix.texi:22828
  34104. 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."
  34105. msgstr ""
  34106. #. type: item
  34107. #: guix-git/doc/guix.texi:22829
  34108. #, no-wrap
  34109. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  34110. msgstr ""
  34111. #. type: table
  34112. #: guix-git/doc/guix.texi:22832
  34113. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  34114. msgstr ""
  34115. #. type: cindex
  34116. #: guix-git/doc/guix.texi:22837 guix-git/doc/guix.texi:22839
  34117. #, no-wrap
  34118. msgid "Murmur (VoIP server)"
  34119. msgstr ""
  34120. #. type: cindex
  34121. #: guix-git/doc/guix.texi:22840
  34122. #, no-wrap
  34123. msgid "VoIP server"
  34124. msgstr ""
  34125. #. type: Plain text
  34126. #: guix-git/doc/guix.texi:22844
  34127. 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."
  34128. msgstr ""
  34129. #. type: deftp
  34130. #: guix-git/doc/guix.texi:22845
  34131. #, no-wrap
  34132. msgid "{Data Type} murmur-configuration"
  34133. msgstr ""
  34134. #. type: deftp
  34135. #: guix-git/doc/guix.texi:22848
  34136. msgid "The service type for the Murmur server. An example configuration can look like this:"
  34137. msgstr ""
  34138. #. type: lisp
  34139. #: guix-git/doc/guix.texi:22857
  34140. #, no-wrap
  34141. msgid ""
  34142. "(service murmur-service-type\n"
  34143. " (murmur-configuration\n"
  34144. " (welcome-text\n"
  34145. " \"Welcome to this Mumble server running on Guix!\")\n"
  34146. " (cert-required? #t) ;disallow text password logins\n"
  34147. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  34148. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  34149. msgstr ""
  34150. #. type: deftp
  34151. #: guix-git/doc/guix.texi:22861
  34152. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  34153. msgstr ""
  34154. #. type: deftp
  34155. #: guix-git/doc/guix.texi:22870
  34156. 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."
  34157. msgstr ""
  34158. #. type: deftp
  34159. #: guix-git/doc/guix.texi:22872
  34160. msgid "Available @code{murmur-configuration} fields are:"
  34161. msgstr ""
  34162. #. type: item
  34163. #: guix-git/doc/guix.texi:22874
  34164. #, no-wrap
  34165. msgid "@code{package} (default: @code{mumble})"
  34166. msgstr ""
  34167. #. type: table
  34168. #: guix-git/doc/guix.texi:22876
  34169. msgid "Package that contains @code{bin/murmurd}."
  34170. msgstr ""
  34171. #. type: item
  34172. #: guix-git/doc/guix.texi:22877
  34173. #, no-wrap
  34174. msgid "@code{user} (default: @code{\"murmur\"})"
  34175. msgstr ""
  34176. #. type: table
  34177. #: guix-git/doc/guix.texi:22879
  34178. msgid "User who will run the Murmur server."
  34179. msgstr ""
  34180. #. type: item
  34181. #: guix-git/doc/guix.texi:22880
  34182. #, no-wrap
  34183. msgid "@code{group} (default: @code{\"murmur\"})"
  34184. msgstr ""
  34185. #. type: table
  34186. #: guix-git/doc/guix.texi:22882
  34187. msgid "Group of the user who will run the murmur server."
  34188. msgstr ""
  34189. #. type: item
  34190. #: guix-git/doc/guix.texi:22883
  34191. #, no-wrap
  34192. msgid "@code{port} (default: @code{64738})"
  34193. msgstr ""
  34194. #. type: table
  34195. #: guix-git/doc/guix.texi:22885
  34196. msgid "Port on which the server will listen."
  34197. msgstr ""
  34198. #. type: item
  34199. #: guix-git/doc/guix.texi:22886
  34200. #, no-wrap
  34201. msgid "@code{welcome-text} (default: @code{\"\"})"
  34202. msgstr ""
  34203. #. type: table
  34204. #: guix-git/doc/guix.texi:22888
  34205. msgid "Welcome text sent to clients when they connect."
  34206. msgstr ""
  34207. #. type: item
  34208. #: guix-git/doc/guix.texi:22889
  34209. #, no-wrap
  34210. msgid "@code{server-password} (default: @code{\"\"})"
  34211. msgstr ""
  34212. #. type: table
  34213. #: guix-git/doc/guix.texi:22891
  34214. msgid "Password the clients have to enter in order to connect."
  34215. msgstr ""
  34216. #. type: item
  34217. #: guix-git/doc/guix.texi:22892
  34218. #, no-wrap
  34219. msgid "@code{max-users} (default: @code{100})"
  34220. msgstr ""
  34221. #. type: table
  34222. #: guix-git/doc/guix.texi:22894
  34223. msgid "Maximum of users that can be connected to the server at once."
  34224. msgstr ""
  34225. #. type: item
  34226. #: guix-git/doc/guix.texi:22895
  34227. #, no-wrap
  34228. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  34229. msgstr ""
  34230. #. type: table
  34231. #: guix-git/doc/guix.texi:22897
  34232. msgid "Maximum voice traffic a user can send per second."
  34233. msgstr ""
  34234. #. type: item
  34235. #: guix-git/doc/guix.texi:22898
  34236. #, no-wrap
  34237. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  34238. msgstr ""
  34239. #. type: table
  34240. #: guix-git/doc/guix.texi:22901
  34241. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  34242. msgstr ""
  34243. #. type: item
  34244. #: guix-git/doc/guix.texi:22902
  34245. #, no-wrap
  34246. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  34247. msgstr ""
  34248. #. type: table
  34249. #: guix-git/doc/guix.texi:22905
  34250. msgid "File name of the log file. The service's user will become the owner of the directory."
  34251. msgstr ""
  34252. #. type: item
  34253. #: guix-git/doc/guix.texi:22906
  34254. #, no-wrap
  34255. msgid "@code{autoban-attempts} (default: @code{10})"
  34256. msgstr ""
  34257. #. type: table
  34258. #: guix-git/doc/guix.texi:22909
  34259. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  34260. msgstr ""
  34261. #. type: item
  34262. #: guix-git/doc/guix.texi:22910
  34263. #, no-wrap
  34264. msgid "@code{autoban-timeframe} (default: @code{120})"
  34265. msgstr ""
  34266. #. type: table
  34267. #: guix-git/doc/guix.texi:22912
  34268. msgid "Timeframe for autoban in seconds."
  34269. msgstr ""
  34270. #. type: item
  34271. #: guix-git/doc/guix.texi:22913
  34272. #, no-wrap
  34273. msgid "@code{autoban-time} (default: @code{300})"
  34274. msgstr ""
  34275. #. type: table
  34276. #: guix-git/doc/guix.texi:22916
  34277. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  34278. msgstr ""
  34279. #. type: item
  34280. #: guix-git/doc/guix.texi:22917
  34281. #, no-wrap
  34282. msgid "@code{opus-threshold} (default: @code{100})"
  34283. msgstr ""
  34284. #. type: table
  34285. #: guix-git/doc/guix.texi:22920
  34286. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  34287. msgstr ""
  34288. #. type: item
  34289. #: guix-git/doc/guix.texi:22921
  34290. #, no-wrap
  34291. msgid "@code{channel-nesting-limit} (default: @code{10})"
  34292. msgstr ""
  34293. #. type: table
  34294. #: guix-git/doc/guix.texi:22923
  34295. msgid "How deep channels can be nested at maximum."
  34296. msgstr ""
  34297. #. type: item
  34298. #: guix-git/doc/guix.texi:22924
  34299. #, no-wrap
  34300. msgid "@code{channelname-regex} (default: @code{#f})"
  34301. msgstr ""
  34302. #. type: table
  34303. #: guix-git/doc/guix.texi:22926
  34304. msgid "A string in form of a Qt regular expression that channel names must conform to."
  34305. msgstr ""
  34306. #. type: item
  34307. #: guix-git/doc/guix.texi:22927
  34308. #, no-wrap
  34309. msgid "@code{username-regex} (default: @code{#f})"
  34310. msgstr ""
  34311. #. type: table
  34312. #: guix-git/doc/guix.texi:22929
  34313. msgid "A string in form of a Qt regular expression that user names must conform to."
  34314. msgstr ""
  34315. #. type: item
  34316. #: guix-git/doc/guix.texi:22930
  34317. #, no-wrap
  34318. msgid "@code{text-message-length} (default: @code{5000})"
  34319. msgstr ""
  34320. #. type: table
  34321. #: guix-git/doc/guix.texi:22932
  34322. msgid "Maximum size in bytes that a user can send in one text chat message."
  34323. msgstr ""
  34324. #. type: item
  34325. #: guix-git/doc/guix.texi:22933
  34326. #, no-wrap
  34327. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  34328. msgstr ""
  34329. #. type: table
  34330. #: guix-git/doc/guix.texi:22935
  34331. msgid "Maximum size in bytes that a user can send in one image message."
  34332. msgstr ""
  34333. #. type: item
  34334. #: guix-git/doc/guix.texi:22936
  34335. #, no-wrap
  34336. msgid "@code{cert-required?} (default: @code{#f})"
  34337. msgstr ""
  34338. #. type: table
  34339. #: guix-git/doc/guix.texi:22939
  34340. 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."
  34341. msgstr ""
  34342. #. type: item
  34343. #: guix-git/doc/guix.texi:22940
  34344. #, no-wrap
  34345. msgid "@code{remember-channel?} (default: @code{#f})"
  34346. msgstr ""
  34347. #. type: table
  34348. #: guix-git/doc/guix.texi:22943
  34349. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  34350. msgstr ""
  34351. #. type: item
  34352. #: guix-git/doc/guix.texi:22944
  34353. #, no-wrap
  34354. msgid "@code{allow-html?} (default: @code{#f})"
  34355. msgstr ""
  34356. #. type: table
  34357. #: guix-git/doc/guix.texi:22946
  34358. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  34359. msgstr ""
  34360. #. type: item
  34361. #: guix-git/doc/guix.texi:22947
  34362. #, no-wrap
  34363. msgid "@code{allow-ping?} (default: @code{#f})"
  34364. msgstr ""
  34365. #. type: table
  34366. #: guix-git/doc/guix.texi:22951
  34367. 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."
  34368. msgstr ""
  34369. #. type: table
  34370. #: guix-git/doc/guix.texi:22953
  34371. msgid "Disabling this setting will prevent public listing of the server."
  34372. msgstr ""
  34373. #. type: item
  34374. #: guix-git/doc/guix.texi:22954
  34375. #, no-wrap
  34376. msgid "@code{bonjour?} (default: @code{#f})"
  34377. msgstr ""
  34378. #. type: table
  34379. #: guix-git/doc/guix.texi:22956
  34380. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  34381. msgstr ""
  34382. #. type: item
  34383. #: guix-git/doc/guix.texi:22957
  34384. #, no-wrap
  34385. msgid "@code{send-version?} (default: @code{#f})"
  34386. msgstr ""
  34387. #. type: table
  34388. #: guix-git/doc/guix.texi:22959
  34389. msgid "Should the murmur server version be exposed in ping requests."
  34390. msgstr ""
  34391. #. type: item
  34392. #: guix-git/doc/guix.texi:22960
  34393. #, no-wrap
  34394. msgid "@code{log-days} (default: @code{31})"
  34395. msgstr ""
  34396. #. type: table
  34397. #: guix-git/doc/guix.texi:22964
  34398. 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."
  34399. msgstr ""
  34400. #. type: item
  34401. #: guix-git/doc/guix.texi:22965
  34402. #, no-wrap
  34403. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  34404. msgstr ""
  34405. #. type: table
  34406. #: guix-git/doc/guix.texi:22967
  34407. msgid "Should logged ips be obfuscated to protect the privacy of users."
  34408. msgstr ""
  34409. #. type: item
  34410. #: guix-git/doc/guix.texi:22968
  34411. #, no-wrap
  34412. msgid "@code{ssl-cert} (default: @code{#f})"
  34413. msgstr ""
  34414. #. type: table
  34415. #: guix-git/doc/guix.texi:22970
  34416. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  34417. msgstr ""
  34418. #. type: lisp
  34419. #: guix-git/doc/guix.texi:22973
  34420. #, no-wrap
  34421. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  34422. msgstr ""
  34423. #. type: item
  34424. #: guix-git/doc/guix.texi:22974
  34425. #, no-wrap
  34426. msgid "@code{ssl-key} (default: @code{#f})"
  34427. msgstr ""
  34428. #. type: table
  34429. #: guix-git/doc/guix.texi:22976
  34430. msgid "Filepath to the ssl private key used for encrypted connections."
  34431. msgstr ""
  34432. #. type: lisp
  34433. #: guix-git/doc/guix.texi:22978
  34434. #, no-wrap
  34435. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  34436. msgstr ""
  34437. #. type: item
  34438. #: guix-git/doc/guix.texi:22980
  34439. #, no-wrap
  34440. msgid "@code{ssl-dh-params} (default: @code{#f})"
  34441. msgstr ""
  34442. #. type: table
  34443. #: guix-git/doc/guix.texi:22985
  34444. 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."
  34445. msgstr ""
  34446. #. type: item
  34447. #: guix-git/doc/guix.texi:22986
  34448. #, no-wrap
  34449. msgid "@code{ssl-ciphers} (default: @code{#f})"
  34450. msgstr ""
  34451. #. type: table
  34452. #: guix-git/doc/guix.texi:22989
  34453. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  34454. msgstr ""
  34455. #. type: table
  34456. #: guix-git/doc/guix.texi:22993
  34457. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  34458. msgstr ""
  34459. #. type: table
  34460. #: guix-git/doc/guix.texi:22998
  34461. 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."
  34462. msgstr ""
  34463. #. type: table
  34464. #: guix-git/doc/guix.texi:23002
  34465. 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."
  34466. msgstr ""
  34467. #. type: item
  34468. #: guix-git/doc/guix.texi:23003
  34469. #, no-wrap
  34470. msgid "@code{public-registration} (default: @code{#f})"
  34471. msgstr ""
  34472. #. type: table
  34473. #: guix-git/doc/guix.texi:23005
  34474. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  34475. msgstr ""
  34476. #. type: table
  34477. #: guix-git/doc/guix.texi:23010
  34478. 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}."
  34479. msgstr ""
  34480. #. type: table
  34481. #: guix-git/doc/guix.texi:23012
  34482. msgid "It might take a few hours until it shows up in the public list."
  34483. msgstr ""
  34484. #. type: item
  34485. #: guix-git/doc/guix.texi:23013 guix-git/doc/guix.texi:25249
  34486. #, no-wrap
  34487. msgid "@code{file} (default: @code{#f})"
  34488. msgstr ""
  34489. #. type: table
  34490. #: guix-git/doc/guix.texi:23015
  34491. msgid "Optional alternative override for this configuration."
  34492. msgstr ""
  34493. #. type: deftp
  34494. #: guix-git/doc/guix.texi:23018
  34495. #, no-wrap
  34496. msgid "{Data Type} murmur-public-registration-configuration"
  34497. msgstr ""
  34498. #. type: deftp
  34499. #: guix-git/doc/guix.texi:23020
  34500. msgid "Configuration for public registration of a murmur service."
  34501. msgstr ""
  34502. #. type: table
  34503. #: guix-git/doc/guix.texi:23024
  34504. msgid "This is a display name for your server. Not to be confused with the hostname."
  34505. msgstr ""
  34506. #. type: itemx
  34507. #: guix-git/doc/guix.texi:23025 guix-git/doc/guix.texi:31777
  34508. #: guix-git/doc/guix.texi:32925
  34509. #, no-wrap
  34510. msgid "password"
  34511. msgstr ""
  34512. #. type: table
  34513. #: guix-git/doc/guix.texi:23028
  34514. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  34515. msgstr ""
  34516. #. type: table
  34517. #: guix-git/doc/guix.texi:23032
  34518. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  34519. msgstr ""
  34520. #. type: item
  34521. #: guix-git/doc/guix.texi:23033 guix-git/doc/guix.texi:26128
  34522. #, no-wrap
  34523. msgid "@code{hostname} (default: @code{#f})"
  34524. msgstr ""
  34525. #. type: table
  34526. #: guix-git/doc/guix.texi:23036
  34527. 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."
  34528. msgstr ""
  34529. #. type: Plain text
  34530. #: guix-git/doc/guix.texi:23046
  34531. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  34532. msgstr ""
  34533. #. type: subsubheading
  34534. #: guix-git/doc/guix.texi:23047
  34535. #, no-wrap
  34536. msgid "Transmission Daemon Service"
  34537. msgstr ""
  34538. #. type: Plain text
  34539. #: guix-git/doc/guix.texi:23055
  34540. 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."
  34541. msgstr ""
  34542. #. type: deffn
  34543. #: guix-git/doc/guix.texi:23056
  34544. #, no-wrap
  34545. msgid "{Scheme Variable} transmission-daemon-service-type"
  34546. msgstr ""
  34547. #. type: deffn
  34548. #: guix-git/doc/guix.texi:23060
  34549. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  34550. msgstr ""
  34551. #. type: lisp
  34552. #: guix-git/doc/guix.texi:23071
  34553. #, no-wrap
  34554. msgid ""
  34555. "(service transmission-daemon-service-type\n"
  34556. " (transmission-daemon-configuration\n"
  34557. " ;; Restrict access to the RPC (\"control\") interface\n"
  34558. " (rpc-authentication-required? #t)\n"
  34559. " (rpc-username \"transmission\")\n"
  34560. " (rpc-password\n"
  34561. " (transmission-password-hash\n"
  34562. " \"transmission\" ; desired password\n"
  34563. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  34564. "\n"
  34565. msgstr ""
  34566. #. type: lisp
  34567. #: guix-git/doc/guix.texi:23076
  34568. #, no-wrap
  34569. msgid ""
  34570. " ;; Accept requests from this and other hosts on the\n"
  34571. " ;; local network\n"
  34572. " (rpc-whitelist-enabled? #t)\n"
  34573. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  34574. "\n"
  34575. msgstr ""
  34576. #. type: lisp
  34577. #: guix-git/doc/guix.texi:23080
  34578. #, no-wrap
  34579. msgid ""
  34580. " ;; Limit bandwidth use during work hours\n"
  34581. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  34582. " (alt-speed-up 512) ; 512 kB/s\n"
  34583. "\n"
  34584. msgstr ""
  34585. #. type: lisp
  34586. #: guix-git/doc/guix.texi:23087
  34587. #, no-wrap
  34588. msgid ""
  34589. " (alt-speed-time-enabled? #t)\n"
  34590. " (alt-speed-time-day 'weekdays)\n"
  34591. " (alt-speed-time-begin\n"
  34592. " (+ (* 60 8) 30)) ; 8:30 am\n"
  34593. " (alt-speed-time-end\n"
  34594. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  34595. msgstr ""
  34596. #. type: Plain text
  34597. #: guix-git/doc/guix.texi:23100
  34598. 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."
  34599. msgstr ""
  34600. #. type: Plain text
  34601. #: guix-git/doc/guix.texi:23108
  34602. 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."
  34603. msgstr ""
  34604. #. type: deffn
  34605. #: guix-git/doc/guix.texi:23109
  34606. #, no-wrap
  34607. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  34608. msgstr ""
  34609. #. type: deffn
  34610. #: guix-git/doc/guix.texi:23113
  34611. 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."
  34612. msgstr ""
  34613. #. type: deffn
  34614. #: guix-git/doc/guix.texi:23117
  34615. 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."
  34616. msgstr ""
  34617. #. type: deffn
  34618. #: guix-git/doc/guix.texi:23119
  34619. #, no-wrap
  34620. msgid "{Scheme Procedure} transmission-random-salt"
  34621. msgstr ""
  34622. #. type: deffn
  34623. #: guix-git/doc/guix.texi:23123
  34624. 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."
  34625. msgstr ""
  34626. #. type: Plain text
  34627. #: guix-git/doc/guix.texi:23129
  34628. 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:"
  34629. msgstr ""
  34630. #. type: example
  34631. #: guix-git/doc/guix.texi:23135
  34632. #, no-wrap
  34633. msgid ""
  34634. "$ guix repl\n"
  34635. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  34636. "scheme@@(guix-user)> (transmission-random-salt)\n"
  34637. "$1 = \"uKd1uMs9\"\n"
  34638. msgstr ""
  34639. #. type: Plain text
  34640. #: guix-git/doc/guix.texi:23138
  34641. msgid "Alternatively, a complete password hash can generated in a single step:"
  34642. msgstr ""
  34643. #. type: example
  34644. #: guix-git/doc/guix.texi:23143
  34645. #, no-wrap
  34646. msgid ""
  34647. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  34648. "(transmission-random-salt))\n"
  34649. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  34650. msgstr ""
  34651. #. type: Plain text
  34652. #: guix-git/doc/guix.texi:23148
  34653. 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."
  34654. msgstr ""
  34655. #. type: Plain text
  34656. #: guix-git/doc/guix.texi:23157
  34657. 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."
  34658. msgstr ""
  34659. #. type: Plain text
  34660. #: guix-git/doc/guix.texi:23164
  34661. 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.)"
  34662. msgstr ""
  34663. #. type: Plain text
  34664. #: guix-git/doc/guix.texi:23169
  34665. 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:"
  34666. msgstr ""
  34667. #. type: example
  34668. #: guix-git/doc/guix.texi:23172
  34669. #, no-wrap
  34670. msgid "# herd reload transmission-daemon\n"
  34671. msgstr ""
  34672. #. type: Plain text
  34673. #: guix-git/doc/guix.texi:23176
  34674. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  34675. msgstr ""
  34676. #. type: deftp
  34677. #: guix-git/doc/guix.texi:23177
  34678. #, no-wrap
  34679. msgid "{Data Type} transmission-daemon-configuration"
  34680. msgstr ""
  34681. #. type: deftp
  34682. #: guix-git/doc/guix.texi:23181
  34683. 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."
  34684. msgstr ""
  34685. #. type: Plain text
  34686. #: guix-git/doc/guix.texi:23195
  34687. msgid "Available @code{transmission-daemon-configuration} fields are:"
  34688. msgstr ""
  34689. #. type: deftypevr
  34690. #: guix-git/doc/guix.texi:23196
  34691. #, no-wrap
  34692. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  34693. msgstr ""
  34694. #. type: deftypevr
  34695. #: guix-git/doc/guix.texi:23198
  34696. msgid "The Transmission package to use."
  34697. msgstr ""
  34698. #. type: deftypevr
  34699. #: guix-git/doc/guix.texi:23201
  34700. #, no-wrap
  34701. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  34702. msgstr ""
  34703. #. type: deftypevr
  34704. #: guix-git/doc/guix.texi:23207
  34705. 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."
  34706. msgstr ""
  34707. #. type: deftypevr
  34708. #: guix-git/doc/guix.texi:23209 guix-git/doc/guix.texi:23581
  34709. #: guix-git/doc/guix.texi:30881 guix-git/doc/guix.texi:31116
  34710. #: guix-git/doc/guix.texi:31124 guix-git/doc/guix.texi:31132
  34711. msgid "Defaults to @samp{10}."
  34712. msgstr ""
  34713. #. type: deftypevr
  34714. #: guix-git/doc/guix.texi:23212
  34715. #, no-wrap
  34716. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  34717. msgstr ""
  34718. #. type: deftypevr
  34719. #: guix-git/doc/guix.texi:23214
  34720. msgid "The directory to which torrent files are downloaded."
  34721. msgstr ""
  34722. #. type: deftypevr
  34723. #: guix-git/doc/guix.texi:23216
  34724. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  34725. msgstr ""
  34726. #. type: deftypevr
  34727. #: guix-git/doc/guix.texi:23219
  34728. #, no-wrap
  34729. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  34730. msgstr ""
  34731. #. type: deftypevr
  34732. #: guix-git/doc/guix.texi:23224
  34733. 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}."
  34734. msgstr ""
  34735. #. type: deftypevr
  34736. #: guix-git/doc/guix.texi:23229
  34737. #, no-wrap
  34738. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  34739. msgstr ""
  34740. #. type: deftypevr
  34741. #: guix-git/doc/guix.texi:23232
  34742. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  34743. msgstr ""
  34744. #. type: deftypevr
  34745. #: guix-git/doc/guix.texi:23237
  34746. #, no-wrap
  34747. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  34748. msgstr ""
  34749. #. type: deftypevr
  34750. #: guix-git/doc/guix.texi:23240
  34751. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  34752. msgstr ""
  34753. #. type: deftypevr
  34754. #: guix-git/doc/guix.texi:23242
  34755. msgid "Defaults to @samp{18}."
  34756. msgstr ""
  34757. #. type: deftypevr
  34758. #: guix-git/doc/guix.texi:23245
  34759. #, no-wrap
  34760. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  34761. msgstr ""
  34762. #. type: deftypevr
  34763. #: guix-git/doc/guix.texi:23248
  34764. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  34765. msgstr ""
  34766. #. type: deftypevr
  34767. #: guix-git/doc/guix.texi:23253
  34768. #, no-wrap
  34769. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  34770. msgstr ""
  34771. #. type: deftypevr
  34772. #: guix-git/doc/guix.texi:23258
  34773. 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."
  34774. msgstr ""
  34775. #. type: deftypevr
  34776. #: guix-git/doc/guix.texi:23260
  34777. msgid "Defaults to @samp{fast}."
  34778. msgstr ""
  34779. #. type: deftypevr
  34780. #: guix-git/doc/guix.texi:23263
  34781. #, no-wrap
  34782. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  34783. msgstr ""
  34784. #. type: deftypevr
  34785. #: guix-git/doc/guix.texi:23268
  34786. 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})."
  34787. msgstr ""
  34788. #. type: deftypevr
  34789. #: guix-git/doc/guix.texi:23273
  34790. #, no-wrap
  34791. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  34792. msgstr ""
  34793. #. type: deftypevr
  34794. #: guix-git/doc/guix.texi:23276
  34795. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  34796. msgstr ""
  34797. #. type: deftypevr
  34798. #: guix-git/doc/guix.texi:23281
  34799. #, no-wrap
  34800. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  34801. msgstr ""
  34802. #. type: deftypevr
  34803. #: guix-git/doc/guix.texi:23285
  34804. 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?})."
  34805. msgstr ""
  34806. #. type: deftypevr
  34807. #: guix-git/doc/guix.texi:23290
  34808. #, no-wrap
  34809. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  34810. msgstr ""
  34811. #. type: deftypevr
  34812. #: guix-git/doc/guix.texi:23293
  34813. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  34814. msgstr ""
  34815. #. type: deftypevr
  34816. #: guix-git/doc/guix.texi:23298
  34817. #, no-wrap
  34818. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  34819. msgstr ""
  34820. #. type: deftypevr
  34821. #: guix-git/doc/guix.texi:23300
  34822. msgid "The default global-maximum download speed, in kilobytes per second."
  34823. msgstr ""
  34824. #. type: deftypevr
  34825. #: guix-git/doc/guix.texi:23305
  34826. #, no-wrap
  34827. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  34828. msgstr ""
  34829. #. type: deftypevr
  34830. #: guix-git/doc/guix.texi:23308
  34831. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  34832. msgstr ""
  34833. #. type: deftypevr
  34834. #: guix-git/doc/guix.texi:23313
  34835. #, no-wrap
  34836. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  34837. msgstr ""
  34838. #. type: deftypevr
  34839. #: guix-git/doc/guix.texi:23315
  34840. msgid "The default global-maximum upload speed, in kilobytes per second."
  34841. msgstr ""
  34842. #. type: deftypevr
  34843. #: guix-git/doc/guix.texi:23320
  34844. #, no-wrap
  34845. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  34846. msgstr ""
  34847. #. type: deftypevr
  34848. #: guix-git/doc/guix.texi:23326
  34849. 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?}."
  34850. msgstr ""
  34851. #. type: deftypevr
  34852. #: guix-git/doc/guix.texi:23331
  34853. #, no-wrap
  34854. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  34855. msgstr ""
  34856. #. type: deftypevr
  34857. #: guix-git/doc/guix.texi:23333
  34858. msgid "The alternate global-maximum download speed, in kilobytes per second."
  34859. msgstr ""
  34860. #. type: deftypevr
  34861. #: guix-git/doc/guix.texi:23335 guix-git/doc/guix.texi:23342
  34862. #: guix-git/doc/guix.texi:23514 guix-git/doc/guix.texi:30888
  34863. #: guix-git/doc/guix.texi:30903
  34864. msgid "Defaults to @samp{50}."
  34865. msgstr ""
  34866. #. type: deftypevr
  34867. #: guix-git/doc/guix.texi:23338
  34868. #, no-wrap
  34869. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  34870. msgstr ""
  34871. #. type: deftypevr
  34872. #: guix-git/doc/guix.texi:23340
  34873. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  34874. msgstr ""
  34875. #. type: deftypevr
  34876. #: guix-git/doc/guix.texi:23345
  34877. #, no-wrap
  34878. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  34879. msgstr ""
  34880. #. type: deftypevr
  34881. #: guix-git/doc/guix.texi:23350
  34882. 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}."
  34883. msgstr ""
  34884. #. type: deftypevr
  34885. #: guix-git/doc/guix.texi:23355
  34886. #, no-wrap
  34887. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  34888. msgstr ""
  34889. #. type: deftypevr
  34890. #: guix-git/doc/guix.texi:23360
  34891. 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}."
  34892. msgstr ""
  34893. #. type: deftypevr
  34894. #: guix-git/doc/guix.texi:23362
  34895. msgid "Defaults to @samp{all}."
  34896. msgstr ""
  34897. #. type: deftypevr
  34898. #: guix-git/doc/guix.texi:23365
  34899. #, no-wrap
  34900. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  34901. msgstr ""
  34902. #. type: deftypevr
  34903. #: guix-git/doc/guix.texi:23368
  34904. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  34905. msgstr ""
  34906. #. type: deftypevr
  34907. #: guix-git/doc/guix.texi:23370
  34908. msgid "Defaults to @samp{540}."
  34909. msgstr ""
  34910. #. type: deftypevr
  34911. #: guix-git/doc/guix.texi:23373
  34912. #, no-wrap
  34913. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  34914. msgstr ""
  34915. #. type: deftypevr
  34916. #: guix-git/doc/guix.texi:23376
  34917. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  34918. msgstr ""
  34919. #. type: deftypevr
  34920. #: guix-git/doc/guix.texi:23378
  34921. msgid "Defaults to @samp{1020}."
  34922. msgstr ""
  34923. #. type: deftypevr
  34924. #: guix-git/doc/guix.texi:23381
  34925. #, no-wrap
  34926. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  34927. msgstr ""
  34928. #. type: deftypevr
  34929. #: guix-git/doc/guix.texi:23384
  34930. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  34931. msgstr ""
  34932. #. type: deftypevr
  34933. #: guix-git/doc/guix.texi:23386 guix-git/doc/guix.texi:23689
  34934. #: guix-git/doc/guix.texi:28802
  34935. msgid "Defaults to @samp{\"0.0.0.0\"}."
  34936. msgstr ""
  34937. #. type: deftypevr
  34938. #: guix-git/doc/guix.texi:23389
  34939. #, no-wrap
  34940. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  34941. msgstr ""
  34942. #. type: deftypevr
  34943. #: guix-git/doc/guix.texi:23392
  34944. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  34945. msgstr ""
  34946. #. type: deftypevr
  34947. #: guix-git/doc/guix.texi:23394
  34948. msgid "Defaults to @samp{\"::\"}."
  34949. msgstr ""
  34950. #. type: deftypevr
  34951. #: guix-git/doc/guix.texi:23397
  34952. #, no-wrap
  34953. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  34954. msgstr ""
  34955. #. type: deftypevr
  34956. #: guix-git/doc/guix.texi:23403
  34957. 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}."
  34958. msgstr ""
  34959. #. type: deftypevr
  34960. #: guix-git/doc/guix.texi:23408
  34961. #, no-wrap
  34962. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  34963. msgstr ""
  34964. #. type: deftypevr
  34965. #: guix-git/doc/guix.texi:23411
  34966. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  34967. msgstr ""
  34968. #. type: deftypevr
  34969. #: guix-git/doc/guix.texi:23413
  34970. msgid "Defaults to @samp{49152}."
  34971. msgstr ""
  34972. #. type: deftypevr
  34973. #: guix-git/doc/guix.texi:23416
  34974. #, no-wrap
  34975. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  34976. msgstr ""
  34977. #. type: deftypevr
  34978. #: guix-git/doc/guix.texi:23419
  34979. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  34980. msgstr ""
  34981. #. type: deftypevr
  34982. #: guix-git/doc/guix.texi:23421
  34983. msgid "Defaults to @samp{65535}."
  34984. msgstr ""
  34985. #. type: deftypevr
  34986. #: guix-git/doc/guix.texi:23424
  34987. #, no-wrap
  34988. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  34989. msgstr ""
  34990. #. type: deftypevr
  34991. #: guix-git/doc/guix.texi:23427
  34992. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  34993. msgstr ""
  34994. #. type: deftypevr
  34995. #: guix-git/doc/guix.texi:23429
  34996. msgid "Defaults to @samp{51413}."
  34997. msgstr ""
  34998. #. type: deftypevr
  34999. #: guix-git/doc/guix.texi:23432
  35000. #, no-wrap
  35001. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  35002. msgstr ""
  35003. #. type: deftypevr
  35004. #: guix-git/doc/guix.texi:23436
  35005. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  35006. msgstr ""
  35007. #. type: deftypevr
  35008. #: guix-git/doc/guix.texi:23441
  35009. #, no-wrap
  35010. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  35011. msgstr ""
  35012. #. type: deftypevr
  35013. #: guix-git/doc/guix.texi:23446
  35014. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  35015. msgstr ""
  35016. #. type: deftypevr
  35017. #: guix-git/doc/guix.texi:23448
  35018. msgid "Defaults to @samp{prefer-encrypted-connections}."
  35019. msgstr ""
  35020. #. type: deftypevr
  35021. #: guix-git/doc/guix.texi:23451
  35022. #, no-wrap
  35023. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  35024. msgstr ""
  35025. #. type: deftypevr
  35026. #: guix-git/doc/guix.texi:23456
  35027. 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)."
  35028. msgstr ""
  35029. #. type: deftypevr
  35030. #: guix-git/doc/guix.texi:23465
  35031. 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."
  35032. msgstr ""
  35033. #. type: deftypevr
  35034. #: guix-git/doc/guix.texi:23473
  35035. 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:"
  35036. msgstr ""
  35037. #. type: lisp
  35038. #: guix-git/doc/guix.texi:23480
  35039. #, no-wrap
  35040. msgid ""
  35041. "(service sysctl-service-type\n"
  35042. " (sysctl-configuration\n"
  35043. " (settings\n"
  35044. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  35045. " \"reno cubic lp\"))))\n"
  35046. msgstr ""
  35047. #. type: deftypevr
  35048. #: guix-git/doc/guix.texi:23483
  35049. msgid "The Transmission Daemon configuration can then be updated with"
  35050. msgstr ""
  35051. #. type: lisp
  35052. #: guix-git/doc/guix.texi:23486
  35053. #, no-wrap
  35054. msgid "(peer-congestion-algorithm \"lp\")\n"
  35055. msgstr ""
  35056. #. type: deftypevr
  35057. #: guix-git/doc/guix.texi:23489
  35058. msgid "and the system reconfigured to have the changes take effect."
  35059. msgstr ""
  35060. #. type: deftypevr
  35061. #: guix-git/doc/guix.texi:23494
  35062. #, no-wrap
  35063. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  35064. msgstr ""
  35065. #. type: deftypevr
  35066. #: guix-git/doc/guix.texi:23498
  35067. 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}."
  35068. msgstr ""
  35069. #. type: deftypevr
  35070. #: guix-git/doc/guix.texi:23500
  35071. msgid "Defaults to @samp{default}."
  35072. msgstr ""
  35073. #. type: deftypevr
  35074. #: guix-git/doc/guix.texi:23503
  35075. #, no-wrap
  35076. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  35077. msgstr ""
  35078. #. type: deftypevr
  35079. #: guix-git/doc/guix.texi:23505
  35080. msgid "The global limit on the number of connected peers."
  35081. msgstr ""
  35082. #. type: deftypevr
  35083. #: guix-git/doc/guix.texi:23507
  35084. msgid "Defaults to @samp{200}."
  35085. msgstr ""
  35086. #. type: deftypevr
  35087. #: guix-git/doc/guix.texi:23510
  35088. #, no-wrap
  35089. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  35090. msgstr ""
  35091. #. type: deftypevr
  35092. #: guix-git/doc/guix.texi:23512
  35093. msgid "The per-torrent limit on the number of connected peers."
  35094. msgstr ""
  35095. #. type: deftypevr
  35096. #: guix-git/doc/guix.texi:23517
  35097. #, no-wrap
  35098. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  35099. msgstr ""
  35100. #. type: deftypevr
  35101. #: guix-git/doc/guix.texi:23520
  35102. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  35103. msgstr ""
  35104. #. type: deftypevr
  35105. #: guix-git/doc/guix.texi:23522
  35106. msgid "Defaults to @samp{14}."
  35107. msgstr ""
  35108. #. type: deftypevr
  35109. #: guix-git/doc/guix.texi:23525
  35110. #, no-wrap
  35111. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  35112. msgstr ""
  35113. #. type: deftypevr
  35114. #: guix-git/doc/guix.texi:23528
  35115. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  35116. msgstr ""
  35117. #. type: deftypevr
  35118. #: guix-git/doc/guix.texi:23530
  35119. msgid "Defaults to @samp{6}."
  35120. msgstr ""
  35121. #. type: deftypevr
  35122. #: guix-git/doc/guix.texi:23533
  35123. #, no-wrap
  35124. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  35125. msgstr ""
  35126. #. type: deftypevr
  35127. #: guix-git/doc/guix.texi:23536
  35128. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  35129. msgstr ""
  35130. #. type: deftypevr
  35131. #: guix-git/doc/guix.texi:23541
  35132. #, no-wrap
  35133. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  35134. msgstr ""
  35135. #. type: deftypevr
  35136. #: guix-git/doc/guix.texi:23545
  35137. 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}."
  35138. msgstr ""
  35139. #. type: deftypevr
  35140. #: guix-git/doc/guix.texi:23550
  35141. #, no-wrap
  35142. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  35143. msgstr ""
  35144. #. type: deftypevr
  35145. #: guix-git/doc/guix.texi:23553
  35146. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  35147. msgstr ""
  35148. #. type: deftypevr
  35149. #: guix-git/doc/guix.texi:23558
  35150. #, no-wrap
  35151. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  35152. msgstr ""
  35153. #. type: deftypevr
  35154. #: guix-git/doc/guix.texi:23562
  35155. 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}."
  35156. msgstr ""
  35157. #. type: deftypevr
  35158. #: guix-git/doc/guix.texi:23567
  35159. #, no-wrap
  35160. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  35161. msgstr ""
  35162. #. type: deftypevr
  35163. #: guix-git/doc/guix.texi:23570
  35164. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  35165. msgstr ""
  35166. #. type: deftypevr
  35167. #: guix-git/doc/guix.texi:23575
  35168. #, no-wrap
  35169. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  35170. msgstr ""
  35171. #. type: deftypevr
  35172. #: guix-git/doc/guix.texi:23579
  35173. 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}."
  35174. msgstr ""
  35175. #. type: deftypevr
  35176. #: guix-git/doc/guix.texi:23584
  35177. #, no-wrap
  35178. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  35179. msgstr ""
  35180. #. type: deftypevr
  35181. #: guix-git/doc/guix.texi:23589
  35182. 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."
  35183. msgstr ""
  35184. #. type: deftypevr
  35185. #: guix-git/doc/guix.texi:23594
  35186. #, no-wrap
  35187. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  35188. msgstr ""
  35189. #. type: deftypevr
  35190. #: guix-git/doc/guix.texi:23598
  35191. 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}."
  35192. msgstr ""
  35193. #. type: deftypevr
  35194. #: guix-git/doc/guix.texi:23603
  35195. #, no-wrap
  35196. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  35197. msgstr ""
  35198. #. type: deftypevr
  35199. #: guix-git/doc/guix.texi:23606
  35200. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  35201. msgstr ""
  35202. #. type: deftypevr
  35203. #: guix-git/doc/guix.texi:23611
  35204. #, no-wrap
  35205. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  35206. msgstr ""
  35207. #. type: deftypevr
  35208. #: guix-git/doc/guix.texi:23614
  35209. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  35210. msgstr ""
  35211. #. type: deftypevr
  35212. #: guix-git/doc/guix.texi:23616
  35213. msgid "Defaults to @samp{2.0}."
  35214. msgstr ""
  35215. #. type: deftypevr
  35216. #: guix-git/doc/guix.texi:23619
  35217. #, no-wrap
  35218. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  35219. msgstr ""
  35220. #. type: deftypevr
  35221. #: guix-git/doc/guix.texi:23622
  35222. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  35223. msgstr ""
  35224. #. type: deftypevr
  35225. #: guix-git/doc/guix.texi:23627
  35226. #, no-wrap
  35227. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  35228. msgstr ""
  35229. #. type: deftypevr
  35230. #: guix-git/doc/guix.texi:23631
  35231. 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}."
  35232. msgstr ""
  35233. #. type: deftypevr
  35234. #: guix-git/doc/guix.texi:23636
  35235. #, no-wrap
  35236. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  35237. msgstr ""
  35238. #. type: deftypevr
  35239. #: guix-git/doc/guix.texi:23640
  35240. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  35241. msgstr ""
  35242. #. type: deftypevr
  35243. #: guix-git/doc/guix.texi:23645
  35244. #, no-wrap
  35245. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  35246. msgstr ""
  35247. #. type: deftypevr
  35248. #: guix-git/doc/guix.texi:23650
  35249. 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."
  35250. msgstr ""
  35251. #. type: deftypevr
  35252. #: guix-git/doc/guix.texi:23655
  35253. #, no-wrap
  35254. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  35255. msgstr ""
  35256. #. type: deftypevr
  35257. #: guix-git/doc/guix.texi:23659
  35258. 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."
  35259. msgstr ""
  35260. #. type: deftypevr
  35261. #: guix-git/doc/guix.texi:23664
  35262. #, no-wrap
  35263. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  35264. msgstr ""
  35265. #. type: deftypevr
  35266. #: guix-git/doc/guix.texi:23669
  35267. 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."
  35268. msgstr ""
  35269. #. type: deftypevr
  35270. #: guix-git/doc/guix.texi:23674
  35271. #, no-wrap
  35272. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  35273. msgstr ""
  35274. #. type: deftypevr
  35275. #: guix-git/doc/guix.texi:23679
  35276. 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."
  35277. msgstr ""
  35278. #. type: deftypevr
  35279. #: guix-git/doc/guix.texi:23684
  35280. #, no-wrap
  35281. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  35282. msgstr ""
  35283. #. type: deftypevr
  35284. #: guix-git/doc/guix.texi:23687
  35285. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  35286. msgstr ""
  35287. #. type: deftypevr
  35288. #: guix-git/doc/guix.texi:23692
  35289. #, no-wrap
  35290. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  35291. msgstr ""
  35292. #. type: deftypevr
  35293. #: guix-git/doc/guix.texi:23694
  35294. msgid "The port on which to listen for @acronym{RPC} connections."
  35295. msgstr ""
  35296. #. type: deftypevr
  35297. #: guix-git/doc/guix.texi:23696
  35298. msgid "Defaults to @samp{9091}."
  35299. msgstr ""
  35300. #. type: deftypevr
  35301. #: guix-git/doc/guix.texi:23699
  35302. #, no-wrap
  35303. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  35304. msgstr ""
  35305. #. type: deftypevr
  35306. #: guix-git/doc/guix.texi:23701
  35307. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  35308. msgstr ""
  35309. #. type: deftypevr
  35310. #: guix-git/doc/guix.texi:23703
  35311. msgid "Defaults to @samp{\"/transmission/\"}."
  35312. msgstr ""
  35313. #. type: deftypevr
  35314. #: guix-git/doc/guix.texi:23706
  35315. #, no-wrap
  35316. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  35317. msgstr ""
  35318. #. type: deftypevr
  35319. #: guix-git/doc/guix.texi:23711
  35320. 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?}."
  35321. msgstr ""
  35322. #. type: deftypevr
  35323. #: guix-git/doc/guix.texi:23716
  35324. #, no-wrap
  35325. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  35326. msgstr ""
  35327. #. type: deftypevr
  35328. #: guix-git/doc/guix.texi:23719
  35329. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  35330. msgstr ""
  35331. #. type: deftypevr
  35332. #: guix-git/doc/guix.texi:23724
  35333. #, no-wrap
  35334. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  35335. msgstr ""
  35336. #. type: deftypevr
  35337. #: guix-git/doc/guix.texi:23730
  35338. 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."
  35339. msgstr ""
  35340. #. type: deftypevr
  35341. #: guix-git/doc/guix.texi:23735
  35342. #, no-wrap
  35343. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  35344. msgstr ""
  35345. #. type: deftypevr
  35346. #: guix-git/doc/guix.texi:23738
  35347. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  35348. msgstr ""
  35349. #. type: deftypevr
  35350. #: guix-git/doc/guix.texi:23743
  35351. #, no-wrap
  35352. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  35353. msgstr ""
  35354. #. type: deftypevr
  35355. #: guix-git/doc/guix.texi:23747
  35356. 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{*}."
  35357. msgstr ""
  35358. #. type: deftypevr
  35359. #: guix-git/doc/guix.texi:23749
  35360. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  35361. msgstr ""
  35362. #. type: deftypevr
  35363. #: guix-git/doc/guix.texi:23752
  35364. #, no-wrap
  35365. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  35366. msgstr ""
  35367. #. type: deftypevr
  35368. #: guix-git/doc/guix.texi:23757
  35369. 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."
  35370. msgstr ""
  35371. #. type: deftypevr
  35372. #: guix-git/doc/guix.texi:23760
  35373. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  35374. msgstr ""
  35375. #. type: deftypevr
  35376. #: guix-git/doc/guix.texi:23765
  35377. #, no-wrap
  35378. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  35379. msgstr ""
  35380. #. type: deftypevr
  35381. #: guix-git/doc/guix.texi:23768
  35382. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  35383. msgstr ""
  35384. #. type: deftypevr
  35385. #: guix-git/doc/guix.texi:23773
  35386. #, no-wrap
  35387. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  35388. msgstr ""
  35389. #. type: deftypevr
  35390. #: guix-git/doc/guix.texi:23777
  35391. 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}."
  35392. msgstr ""
  35393. #. type: deftypevr
  35394. #: guix-git/doc/guix.texi:23782
  35395. #, no-wrap
  35396. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  35397. msgstr ""
  35398. #. type: deftypevr
  35399. #: guix-git/doc/guix.texi:23785
  35400. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  35401. msgstr ""
  35402. #. type: deftypevr
  35403. #: guix-git/doc/guix.texi:23790
  35404. #, no-wrap
  35405. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  35406. msgstr ""
  35407. #. type: deftypevr
  35408. #: guix-git/doc/guix.texi:23794
  35409. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  35410. msgstr ""
  35411. #. type: deftypevr
  35412. #: guix-git/doc/guix.texi:23799
  35413. #, no-wrap
  35414. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  35415. msgstr ""
  35416. #. type: deftypevr
  35417. #: guix-git/doc/guix.texi:23803
  35418. 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}."
  35419. msgstr ""
  35420. #. type: deftypevr
  35421. #: guix-git/doc/guix.texi:23808
  35422. #, no-wrap
  35423. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  35424. msgstr ""
  35425. #. type: deftypevr
  35426. #: guix-git/doc/guix.texi:23811
  35427. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  35428. msgstr ""
  35429. #. type: deftypevr
  35430. #: guix-git/doc/guix.texi:23816
  35431. #, no-wrap
  35432. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  35433. msgstr ""
  35434. #. type: deftypevr
  35435. #: guix-git/doc/guix.texi:23820
  35436. 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."
  35437. msgstr ""
  35438. #. type: deftypevr
  35439. #: guix-git/doc/guix.texi:23822
  35440. msgid "Defaults to @samp{4}."
  35441. msgstr ""
  35442. #. type: deftypevr
  35443. #: guix-git/doc/guix.texi:23825
  35444. #, no-wrap
  35445. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  35446. msgstr ""
  35447. #. type: deftypevr
  35448. #: guix-git/doc/guix.texi:23829
  35449. 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."
  35450. msgstr ""
  35451. #. type: subsubheading
  35452. #: guix-git/doc/guix.texi:23842
  35453. #, no-wrap
  35454. msgid "Tailon Service"
  35455. msgstr ""
  35456. #. type: Plain text
  35457. #: guix-git/doc/guix.texi:23846
  35458. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  35459. msgstr ""
  35460. #. type: Plain text
  35461. #: guix-git/doc/guix.texi:23849
  35462. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  35463. msgstr ""
  35464. #. type: lisp
  35465. #: guix-git/doc/guix.texi:23852
  35466. #, no-wrap
  35467. msgid "(service tailon-service-type)\n"
  35468. msgstr ""
  35469. #. type: Plain text
  35470. #: guix-git/doc/guix.texi:23856
  35471. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  35472. msgstr ""
  35473. #. type: lisp
  35474. #: guix-git/doc/guix.texi:23863
  35475. #, no-wrap
  35476. msgid ""
  35477. "(service tailon-service-type\n"
  35478. " (tailon-configuration\n"
  35479. " (config-file\n"
  35480. " (tailon-configuration-file\n"
  35481. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  35482. msgstr ""
  35483. #. type: deftp
  35484. #: guix-git/doc/guix.texi:23866
  35485. #, no-wrap
  35486. msgid "{Data Type} tailon-configuration"
  35487. msgstr ""
  35488. #. type: deftp
  35489. #: guix-git/doc/guix.texi:23869
  35490. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  35491. msgstr ""
  35492. #. type: item
  35493. #: guix-git/doc/guix.texi:23871
  35494. #, no-wrap
  35495. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  35496. msgstr ""
  35497. #. type: table
  35498. #: guix-git/doc/guix.texi:23875
  35499. 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})."
  35500. msgstr ""
  35501. #. type: table
  35502. #: guix-git/doc/guix.texi:23878
  35503. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  35504. msgstr ""
  35505. #. type: lisp
  35506. #: guix-git/doc/guix.texi:23883
  35507. #, no-wrap
  35508. msgid ""
  35509. "(service tailon-service-type\n"
  35510. " (tailon-configuration\n"
  35511. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  35512. msgstr ""
  35513. #. type: item
  35514. #: guix-git/doc/guix.texi:23885
  35515. #, no-wrap
  35516. msgid "@code{package} (default: @code{tailon})"
  35517. msgstr ""
  35518. #. type: table
  35519. #: guix-git/doc/guix.texi:23887
  35520. msgid "The tailon package to use."
  35521. msgstr ""
  35522. #. type: deftp
  35523. #: guix-git/doc/guix.texi:23891
  35524. #, no-wrap
  35525. msgid "{Data Type} tailon-configuration-file"
  35526. msgstr ""
  35527. #. type: deftp
  35528. #: guix-git/doc/guix.texi:23894
  35529. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  35530. msgstr ""
  35531. #. type: item
  35532. #: guix-git/doc/guix.texi:23896
  35533. #, no-wrap
  35534. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  35535. msgstr ""
  35536. #. type: table
  35537. #: guix-git/doc/guix.texi:23901
  35538. 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."
  35539. msgstr ""
  35540. #. type: item
  35541. #: guix-git/doc/guix.texi:23902
  35542. #, no-wrap
  35543. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  35544. msgstr ""
  35545. #. type: table
  35546. #: guix-git/doc/guix.texi:23904
  35547. msgid "Address and port to which Tailon should bind on."
  35548. msgstr ""
  35549. #. type: item
  35550. #: guix-git/doc/guix.texi:23905
  35551. #, no-wrap
  35552. msgid "@code{relative-root} (default: @code{#f})"
  35553. msgstr ""
  35554. #. type: table
  35555. #: guix-git/doc/guix.texi:23907
  35556. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  35557. msgstr ""
  35558. #. type: item
  35559. #: guix-git/doc/guix.texi:23908
  35560. #, no-wrap
  35561. msgid "@code{allow-transfers?} (default: @code{#t})"
  35562. msgstr ""
  35563. #. type: table
  35564. #: guix-git/doc/guix.texi:23910
  35565. msgid "Allow downloading the log files in the web interface."
  35566. msgstr ""
  35567. #. type: item
  35568. #: guix-git/doc/guix.texi:23911
  35569. #, no-wrap
  35570. msgid "@code{follow-names?} (default: @code{#t})"
  35571. msgstr ""
  35572. #. type: table
  35573. #: guix-git/doc/guix.texi:23913
  35574. msgid "Allow tailing of not-yet existent files."
  35575. msgstr ""
  35576. #. type: item
  35577. #: guix-git/doc/guix.texi:23914
  35578. #, no-wrap
  35579. msgid "@code{tail-lines} (default: @code{200})"
  35580. msgstr ""
  35581. #. type: table
  35582. #: guix-git/doc/guix.texi:23916
  35583. msgid "Number of lines to read initially from each file."
  35584. msgstr ""
  35585. #. type: item
  35586. #: guix-git/doc/guix.texi:23917
  35587. #, no-wrap
  35588. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  35589. msgstr ""
  35590. #. type: table
  35591. #: guix-git/doc/guix.texi:23919
  35592. msgid "Commands to allow running. By default, @code{sed} is disabled."
  35593. msgstr ""
  35594. #. type: table
  35595. #: guix-git/doc/guix.texi:23922
  35596. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  35597. msgstr ""
  35598. #. type: item
  35599. #: guix-git/doc/guix.texi:23923
  35600. #, no-wrap
  35601. msgid "@code{wrap-lines} (default: @code{#t})"
  35602. msgstr ""
  35603. #. type: table
  35604. #: guix-git/doc/guix.texi:23927
  35605. 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."
  35606. msgstr ""
  35607. #. type: item
  35608. #: guix-git/doc/guix.texi:23928
  35609. #, no-wrap
  35610. msgid "@code{http-auth} (default: @code{#f})"
  35611. msgstr ""
  35612. #. type: table
  35613. #: guix-git/doc/guix.texi:23932
  35614. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  35615. msgstr ""
  35616. #. type: item
  35617. #: guix-git/doc/guix.texi:23933
  35618. #, no-wrap
  35619. msgid "@code{users} (default: @code{#f})"
  35620. msgstr ""
  35621. #. type: table
  35622. #: guix-git/doc/guix.texi:23938
  35623. 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."
  35624. msgstr ""
  35625. #. type: lisp
  35626. #: guix-git/doc/guix.texi:23944
  35627. #, no-wrap
  35628. msgid ""
  35629. "(tailon-configuration-file\n"
  35630. " (http-auth \"basic\")\n"
  35631. " (users '((\"user1\" . \"password1\")\n"
  35632. " (\"user2\" . \"password2\"))))\n"
  35633. msgstr ""
  35634. #. type: subsubheading
  35635. #: guix-git/doc/guix.texi:23950
  35636. #, no-wrap
  35637. msgid "Darkstat Service"
  35638. msgstr ""
  35639. #. type: cindex
  35640. #: guix-git/doc/guix.texi:23951
  35641. #, no-wrap
  35642. msgid "darkstat"
  35643. msgstr ""
  35644. #. type: Plain text
  35645. #: guix-git/doc/guix.texi:23954
  35646. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  35647. msgstr ""
  35648. #. type: defvar
  35649. #: guix-git/doc/guix.texi:23955
  35650. #, no-wrap
  35651. msgid "{Scheme Variable} darkstat-service-type"
  35652. msgstr ""
  35653. #. type: defvar
  35654. #: guix-git/doc/guix.texi:23960
  35655. 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:"
  35656. msgstr ""
  35657. #. type: lisp
  35658. #: guix-git/doc/guix.texi:23965
  35659. #, no-wrap
  35660. msgid ""
  35661. "(service darkstat-service-type\n"
  35662. " (darkstat-configuration\n"
  35663. " (interface \"eno1\")))\n"
  35664. msgstr ""
  35665. #. type: deftp
  35666. #: guix-git/doc/guix.texi:23968
  35667. #, no-wrap
  35668. msgid "{Data Type} darkstat-configuration"
  35669. msgstr ""
  35670. #. type: deftp
  35671. #: guix-git/doc/guix.texi:23970
  35672. msgid "Data type representing the configuration of @command{darkstat}."
  35673. msgstr ""
  35674. #. type: item
  35675. #: guix-git/doc/guix.texi:23972
  35676. #, no-wrap
  35677. msgid "@code{package} (default: @code{darkstat})"
  35678. msgstr ""
  35679. #. type: table
  35680. #: guix-git/doc/guix.texi:23974
  35681. msgid "The darkstat package to use."
  35682. msgstr ""
  35683. #. type: code{#1}
  35684. #: guix-git/doc/guix.texi:23975
  35685. #, no-wrap
  35686. msgid "interface"
  35687. msgstr ""
  35688. #. type: table
  35689. #: guix-git/doc/guix.texi:23977
  35690. msgid "Capture traffic on the specified network interface."
  35691. msgstr ""
  35692. #. type: item
  35693. #: guix-git/doc/guix.texi:23978
  35694. #, no-wrap
  35695. msgid "@code{port} (default: @code{\"667\"})"
  35696. msgstr ""
  35697. #. type: table
  35698. #: guix-git/doc/guix.texi:23980
  35699. msgid "Bind the web interface to the specified port."
  35700. msgstr ""
  35701. #. type: table
  35702. #: guix-git/doc/guix.texi:23983 guix-git/doc/guix.texi:24018
  35703. msgid "Bind the web interface to the specified address."
  35704. msgstr ""
  35705. #. type: item
  35706. #: guix-git/doc/guix.texi:23984
  35707. #, no-wrap
  35708. msgid "@code{base} (default: @code{\"/\"})"
  35709. msgstr ""
  35710. #. type: table
  35711. #: guix-git/doc/guix.texi:23987
  35712. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  35713. msgstr ""
  35714. #. type: subsubheading
  35715. #: guix-git/doc/guix.texi:23991
  35716. #, no-wrap
  35717. msgid "Prometheus Node Exporter Service"
  35718. msgstr ""
  35719. #. type: cindex
  35720. #: guix-git/doc/guix.texi:23993
  35721. #, no-wrap
  35722. msgid "prometheus-node-exporter"
  35723. msgstr ""
  35724. #. type: Plain text
  35725. #: guix-git/doc/guix.texi:23998
  35726. 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."
  35727. msgstr ""
  35728. #. type: defvar
  35729. #: guix-git/doc/guix.texi:23999
  35730. #, no-wrap
  35731. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  35732. msgstr ""
  35733. #. type: defvar
  35734. #: guix-git/doc/guix.texi:24003
  35735. 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}."
  35736. msgstr ""
  35737. #. type: lisp
  35738. #: guix-git/doc/guix.texi:24006
  35739. #, no-wrap
  35740. msgid "(service prometheus-node-exporter-service-type)\n"
  35741. msgstr ""
  35742. #. type: deftp
  35743. #: guix-git/doc/guix.texi:24009
  35744. #, no-wrap
  35745. msgid "{Data Type} prometheus-node-exporter-configuration"
  35746. msgstr ""
  35747. #. type: deftp
  35748. #: guix-git/doc/guix.texi:24011
  35749. msgid "Data type representing the configuration of @command{node_exporter}."
  35750. msgstr ""
  35751. #. type: item
  35752. #: guix-git/doc/guix.texi:24013
  35753. #, no-wrap
  35754. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  35755. msgstr ""
  35756. #. type: table
  35757. #: guix-git/doc/guix.texi:24015
  35758. msgid "The prometheus-node-exporter package to use."
  35759. msgstr ""
  35760. #. type: item
  35761. #: guix-git/doc/guix.texi:24016
  35762. #, no-wrap
  35763. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  35764. msgstr ""
  35765. #. type: item
  35766. #: guix-git/doc/guix.texi:24019
  35767. #, no-wrap
  35768. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  35769. msgstr ""
  35770. #. type: table
  35771. #: guix-git/doc/guix.texi:24023
  35772. 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."
  35773. msgstr ""
  35774. #. type: table
  35775. #: guix-git/doc/guix.texi:24026
  35776. msgid "Extra options to pass to the Prometheus node exporter."
  35777. msgstr ""
  35778. #. type: subsubheading
  35779. #: guix-git/doc/guix.texi:24030
  35780. #, no-wrap
  35781. msgid "Zabbix server"
  35782. msgstr ""
  35783. #. type: cindex
  35784. #: guix-git/doc/guix.texi:24031
  35785. #, no-wrap
  35786. msgid "zabbix zabbix-server"
  35787. msgstr ""
  35788. #. type: Plain text
  35789. #: guix-git/doc/guix.texi:24034
  35790. msgid "Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption:"
  35791. msgstr ""
  35792. #. type: item
  35793. #: guix-git/doc/guix.texi:24036
  35794. #, no-wrap
  35795. msgid "High performance, high capacity (able to monitor hundreds of thousands of devices)."
  35796. msgstr ""
  35797. #. type: item
  35798. #: guix-git/doc/guix.texi:24037
  35799. #, no-wrap
  35800. msgid "Auto-discovery of servers and network devices and interfaces."
  35801. msgstr ""
  35802. #. type: item
  35803. #: guix-git/doc/guix.texi:24038
  35804. #, no-wrap
  35805. msgid "Low-level discovery, allows to automatically start monitoring new items, file systems or network interfaces among others."
  35806. msgstr ""
  35807. #. type: item
  35808. #: guix-git/doc/guix.texi:24039
  35809. #, no-wrap
  35810. msgid "Distributed monitoring with centralized web administration."
  35811. msgstr ""
  35812. #. type: item
  35813. #: guix-git/doc/guix.texi:24040
  35814. #, no-wrap
  35815. msgid "Native high performance agents."
  35816. msgstr ""
  35817. #. type: item
  35818. #: guix-git/doc/guix.texi:24041
  35819. #, no-wrap
  35820. msgid "SLA, and ITIL KPI metrics on reporting."
  35821. msgstr ""
  35822. #. type: item
  35823. #: guix-git/doc/guix.texi:24042
  35824. #, no-wrap
  35825. msgid "High-level (business) view of monitored resources through user-defined visual console screens and dashboards."
  35826. msgstr ""
  35827. #. type: item
  35828. #: guix-git/doc/guix.texi:24043
  35829. #, no-wrap
  35830. msgid "Remote command execution through Zabbix proxies."
  35831. msgstr ""
  35832. #. type: Plain text
  35833. #: guix-git/doc/guix.texi:24049
  35834. msgid "Available @code{zabbix-server-configuration} fields are:"
  35835. msgstr ""
  35836. #. type: deftypevr
  35837. #: guix-git/doc/guix.texi:24050
  35838. #, no-wrap
  35839. msgid "{@code{zabbix-server-configuration} parameter} package zabbix-server"
  35840. msgstr ""
  35841. #. type: deftypevr
  35842. #: guix-git/doc/guix.texi:24052
  35843. msgid "The zabbix-server package."
  35844. msgstr ""
  35845. #. type: deftypevr
  35846. #: guix-git/doc/guix.texi:24055
  35847. #, no-wrap
  35848. msgid "{@code{zabbix-server-configuration} parameter} string user"
  35849. msgstr ""
  35850. #. type: deftypevr
  35851. #: guix-git/doc/guix.texi:24057
  35852. msgid "User who will run the Zabbix server."
  35853. msgstr ""
  35854. #. type: deftypevr
  35855. #: guix-git/doc/guix.texi:24059 guix-git/doc/guix.texi:24066
  35856. #: guix-git/doc/guix.texi:24080 guix-git/doc/guix.texi:24087
  35857. #: guix-git/doc/guix.texi:24188 guix-git/doc/guix.texi:24195
  35858. #: guix-git/doc/guix.texi:24306 guix-git/doc/guix.texi:24313
  35859. msgid "Defaults to @samp{\"zabbix\"}."
  35860. msgstr ""
  35861. #. type: deftypevr
  35862. #: guix-git/doc/guix.texi:24062
  35863. #, no-wrap
  35864. msgid "{@code{zabbix-server-configuration} parameter} group group"
  35865. msgstr ""
  35866. #. type: deftypevr
  35867. #: guix-git/doc/guix.texi:24064
  35868. msgid "Group who will run the Zabbix server."
  35869. msgstr ""
  35870. #. type: deftypevr
  35871. #: guix-git/doc/guix.texi:24069
  35872. #, no-wrap
  35873. msgid "{@code{zabbix-server-configuration} parameter} string db-host"
  35874. msgstr ""
  35875. #. type: deftypevr
  35876. #: guix-git/doc/guix.texi:24071 guix-git/doc/guix.texi:24290
  35877. msgid "Database host name."
  35878. msgstr ""
  35879. #. type: deftypevr
  35880. #: guix-git/doc/guix.texi:24073
  35881. msgid "Defaults to @samp{\"127.0.0.1\"}."
  35882. msgstr ""
  35883. #. type: deftypevr
  35884. #: guix-git/doc/guix.texi:24076
  35885. #, no-wrap
  35886. msgid "{@code{zabbix-server-configuration} parameter} string db-name"
  35887. msgstr ""
  35888. #. type: deftypevr
  35889. #: guix-git/doc/guix.texi:24078 guix-git/doc/guix.texi:24304
  35890. msgid "Database name."
  35891. msgstr ""
  35892. #. type: deftypevr
  35893. #: guix-git/doc/guix.texi:24083
  35894. #, no-wrap
  35895. msgid "{@code{zabbix-server-configuration} parameter} string db-user"
  35896. msgstr ""
  35897. #. type: deftypevr
  35898. #: guix-git/doc/guix.texi:24085 guix-git/doc/guix.texi:24311
  35899. msgid "Database user."
  35900. msgstr ""
  35901. #. type: deftypevr
  35902. #: guix-git/doc/guix.texi:24090
  35903. #, no-wrap
  35904. msgid "{@code{zabbix-server-configuration} parameter} string db-password"
  35905. msgstr ""
  35906. #. type: deftypevr
  35907. #: guix-git/doc/guix.texi:24093
  35908. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  35909. msgstr ""
  35910. #. type: deftypevr
  35911. #: guix-git/doc/guix.texi:24098
  35912. #, no-wrap
  35913. msgid "{@code{zabbix-server-configuration} parameter} number db-port"
  35914. msgstr ""
  35915. #. type: deftypevr
  35916. #: guix-git/doc/guix.texi:24100 guix-git/doc/guix.texi:24297
  35917. msgid "Database port."
  35918. msgstr ""
  35919. #. type: deftypevr
  35920. #: guix-git/doc/guix.texi:24102 guix-git/doc/guix.texi:24299
  35921. msgid "Defaults to @samp{5432}."
  35922. msgstr ""
  35923. #. type: deftypevr
  35924. #: guix-git/doc/guix.texi:24105
  35925. #, no-wrap
  35926. msgid "{@code{zabbix-server-configuration} parameter} string log-type"
  35927. msgstr ""
  35928. #. type: deftypevr
  35929. #: guix-git/doc/guix.texi:24107 guix-git/doc/guix.texi:24208
  35930. msgid "Specifies where log messages are written to:"
  35931. msgstr ""
  35932. #. type: itemize
  35933. #: guix-git/doc/guix.texi:24111 guix-git/doc/guix.texi:24212
  35934. msgid "@code{system} - syslog."
  35935. msgstr ""
  35936. #. type: itemize
  35937. #: guix-git/doc/guix.texi:24114 guix-git/doc/guix.texi:24215
  35938. msgid "@code{file} - file specified with @code{log-file} parameter."
  35939. msgstr ""
  35940. #. type: itemize
  35941. #: guix-git/doc/guix.texi:24117 guix-git/doc/guix.texi:24218
  35942. msgid "@code{console} - standard output."
  35943. msgstr ""
  35944. #. type: deftypevr
  35945. #: guix-git/doc/guix.texi:24124
  35946. #, no-wrap
  35947. msgid "{@code{zabbix-server-configuration} parameter} string log-file"
  35948. msgstr ""
  35949. #. type: deftypevr
  35950. #: guix-git/doc/guix.texi:24126 guix-git/doc/guix.texi:24227
  35951. msgid "Log file name for @code{log-type} @code{file} parameter."
  35952. msgstr ""
  35953. #. type: deftypevr
  35954. #: guix-git/doc/guix.texi:24128
  35955. msgid "Defaults to @samp{\"/var/log/zabbix/server.log\"}."
  35956. msgstr ""
  35957. #. type: deftypevr
  35958. #: guix-git/doc/guix.texi:24131
  35959. #, no-wrap
  35960. msgid "{@code{zabbix-server-configuration} parameter} string pid-file"
  35961. msgstr ""
  35962. #. type: deftypevr
  35963. #: guix-git/doc/guix.texi:24133 guix-git/doc/guix.texi:24234
  35964. msgid "Name of PID file."
  35965. msgstr ""
  35966. #. type: deftypevr
  35967. #: guix-git/doc/guix.texi:24135
  35968. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_server.pid\"}."
  35969. msgstr ""
  35970. #. type: deftypevr
  35971. #: guix-git/doc/guix.texi:24138
  35972. #, no-wrap
  35973. msgid "{@code{zabbix-server-configuration} parameter} string ssl-ca-location"
  35974. msgstr ""
  35975. #. type: deftypevr
  35976. #: guix-git/doc/guix.texi:24141
  35977. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  35978. msgstr ""
  35979. #. type: deftypevr
  35980. #: guix-git/doc/guix.texi:24143
  35981. msgid "Defaults to @samp{\"/etc/ssl/certs/ca-certificates.crt\"}."
  35982. msgstr ""
  35983. #. type: deftypevr
  35984. #: guix-git/doc/guix.texi:24146
  35985. #, no-wrap
  35986. msgid "{@code{zabbix-server-configuration} parameter} string ssl-cert-location"
  35987. msgstr ""
  35988. #. type: deftypevr
  35989. #: guix-git/doc/guix.texi:24148
  35990. msgid "Location of SSL client certificates."
  35991. msgstr ""
  35992. #. type: deftypevr
  35993. #: guix-git/doc/guix.texi:24150
  35994. msgid "Defaults to @samp{\"/etc/ssl/certs\"}."
  35995. msgstr ""
  35996. #. type: deftypevr
  35997. #: guix-git/doc/guix.texi:24153
  35998. #, no-wrap
  35999. msgid "{@code{zabbix-server-configuration} parameter} string extra-options"
  36000. msgstr ""
  36001. #. type: deftypevr
  36002. #: guix-git/doc/guix.texi:24155 guix-git/doc/guix.texi:24259
  36003. msgid "Extra options will be appended to Zabbix server configuration file."
  36004. msgstr ""
  36005. #. type: deftypevr
  36006. #: guix-git/doc/guix.texi:24160
  36007. #, no-wrap
  36008. msgid "{@code{zabbix-server-configuration} parameter} include-files include-files"
  36009. msgstr ""
  36010. #. type: deftypevr
  36011. #: guix-git/doc/guix.texi:24163 guix-git/doc/guix.texi:24267
  36012. msgid "You may include individual files or all files in a directory in the configuration file."
  36013. msgstr ""
  36014. #. type: subsubheading
  36015. #: guix-git/doc/guix.texi:24170
  36016. #, no-wrap
  36017. msgid "Zabbix agent"
  36018. msgstr ""
  36019. #. type: cindex
  36020. #: guix-git/doc/guix.texi:24171
  36021. #, no-wrap
  36022. msgid "zabbix zabbix-agent"
  36023. msgstr ""
  36024. #. type: Plain text
  36025. #: guix-git/doc/guix.texi:24174
  36026. msgid "Zabbix agent gathers information for Zabbix server."
  36027. msgstr ""
  36028. #. type: Plain text
  36029. #: guix-git/doc/guix.texi:24178
  36030. msgid "Available @code{zabbix-agent-configuration} fields are:"
  36031. msgstr ""
  36032. #. type: deftypevr
  36033. #: guix-git/doc/guix.texi:24179
  36034. #, no-wrap
  36035. msgid "{@code{zabbix-agent-configuration} parameter} package zabbix-agent"
  36036. msgstr ""
  36037. #. type: deftypevr
  36038. #: guix-git/doc/guix.texi:24181
  36039. msgid "The zabbix-agent package."
  36040. msgstr ""
  36041. #. type: deftypevr
  36042. #: guix-git/doc/guix.texi:24184
  36043. #, no-wrap
  36044. msgid "{@code{zabbix-agent-configuration} parameter} string user"
  36045. msgstr ""
  36046. #. type: deftypevr
  36047. #: guix-git/doc/guix.texi:24186
  36048. msgid "User who will run the Zabbix agent."
  36049. msgstr ""
  36050. #. type: deftypevr
  36051. #: guix-git/doc/guix.texi:24191
  36052. #, no-wrap
  36053. msgid "{@code{zabbix-agent-configuration} parameter} group group"
  36054. msgstr ""
  36055. #. type: deftypevr
  36056. #: guix-git/doc/guix.texi:24193
  36057. msgid "Group who will run the Zabbix agent."
  36058. msgstr ""
  36059. #. type: deftypevr
  36060. #: guix-git/doc/guix.texi:24198
  36061. #, no-wrap
  36062. msgid "{@code{zabbix-agent-configuration} parameter} string hostname"
  36063. msgstr ""
  36064. #. type: deftypevr
  36065. #: guix-git/doc/guix.texi:24201
  36066. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  36067. msgstr ""
  36068. #. type: deftypevr
  36069. #: guix-git/doc/guix.texi:24206
  36070. #, no-wrap
  36071. msgid "{@code{zabbix-agent-configuration} parameter} string log-type"
  36072. msgstr ""
  36073. #. type: deftypevr
  36074. #: guix-git/doc/guix.texi:24225
  36075. #, no-wrap
  36076. msgid "{@code{zabbix-agent-configuration} parameter} string log-file"
  36077. msgstr ""
  36078. #. type: deftypevr
  36079. #: guix-git/doc/guix.texi:24229
  36080. msgid "Defaults to @samp{\"/var/log/zabbix/agent.log\"}."
  36081. msgstr ""
  36082. #. type: deftypevr
  36083. #: guix-git/doc/guix.texi:24232
  36084. #, no-wrap
  36085. msgid "{@code{zabbix-agent-configuration} parameter} string pid-file"
  36086. msgstr ""
  36087. #. type: deftypevr
  36088. #: guix-git/doc/guix.texi:24236
  36089. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_agent.pid\"}."
  36090. msgstr ""
  36091. #. type: deftypevr
  36092. #: guix-git/doc/guix.texi:24239
  36093. #, no-wrap
  36094. msgid "{@code{zabbix-agent-configuration} parameter} list server"
  36095. msgstr ""
  36096. #. type: deftypevr
  36097. #: guix-git/doc/guix.texi:24243
  36098. 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."
  36099. msgstr ""
  36100. #. type: deftypevr
  36101. #: guix-git/doc/guix.texi:24245 guix-git/doc/guix.texi:24254
  36102. msgid "Defaults to @samp{(\"127.0.0.1\")}."
  36103. msgstr ""
  36104. #. type: deftypevr
  36105. #: guix-git/doc/guix.texi:24248
  36106. #, no-wrap
  36107. msgid "{@code{zabbix-agent-configuration} parameter} list server-active"
  36108. msgstr ""
  36109. #. type: deftypevr
  36110. #: guix-git/doc/guix.texi:24252
  36111. 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."
  36112. msgstr ""
  36113. #. type: deftypevr
  36114. #: guix-git/doc/guix.texi:24257
  36115. #, no-wrap
  36116. msgid "{@code{zabbix-agent-configuration} parameter} string extra-options"
  36117. msgstr ""
  36118. #. type: deftypevr
  36119. #: guix-git/doc/guix.texi:24264
  36120. #, no-wrap
  36121. msgid "{@code{zabbix-agent-configuration} parameter} include-files include-files"
  36122. msgstr ""
  36123. #. type: subsubheading
  36124. #: guix-git/doc/guix.texi:24274
  36125. #, no-wrap
  36126. msgid "Zabbix front-end"
  36127. msgstr ""
  36128. #. type: cindex
  36129. #: guix-git/doc/guix.texi:24275
  36130. #, no-wrap
  36131. msgid "zabbix zabbix-front-end"
  36132. msgstr ""
  36133. #. type: Plain text
  36134. #: guix-git/doc/guix.texi:24278
  36135. msgid "This service provides a WEB interface to Zabbix server."
  36136. msgstr ""
  36137. #. type: Plain text
  36138. #: guix-git/doc/guix.texi:24282
  36139. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  36140. msgstr ""
  36141. #. type: deftypevr
  36142. #: guix-git/doc/guix.texi:24283
  36143. #, no-wrap
  36144. msgid "{@code{zabbix-front-end-configuration} parameter} nginx-server-configuration-list nginx"
  36145. msgstr ""
  36146. #. type: deftypevr
  36147. #: guix-git/doc/guix.texi:24285 guix-git/doc/guix.texi:30515
  36148. msgid "NGINX configuration."
  36149. msgstr ""
  36150. #. type: deftypevr
  36151. #: guix-git/doc/guix.texi:24288
  36152. #, no-wrap
  36153. msgid "{@code{zabbix-front-end-configuration} parameter} string db-host"
  36154. msgstr ""
  36155. #. type: deftypevr
  36156. #: guix-git/doc/guix.texi:24295
  36157. #, no-wrap
  36158. msgid "{@code{zabbix-front-end-configuration} parameter} number db-port"
  36159. msgstr ""
  36160. #. type: deftypevr
  36161. #: guix-git/doc/guix.texi:24302
  36162. #, no-wrap
  36163. msgid "{@code{zabbix-front-end-configuration} parameter} string db-name"
  36164. msgstr ""
  36165. #. type: deftypevr
  36166. #: guix-git/doc/guix.texi:24309
  36167. #, no-wrap
  36168. msgid "{@code{zabbix-front-end-configuration} parameter} string db-user"
  36169. msgstr ""
  36170. #. type: deftypevr
  36171. #: guix-git/doc/guix.texi:24316
  36172. #, no-wrap
  36173. msgid "{@code{zabbix-front-end-configuration} parameter} string db-password"
  36174. msgstr ""
  36175. #. type: deftypevr
  36176. #: guix-git/doc/guix.texi:24318
  36177. msgid "Database password. Please, use @code{db-secret-file} instead."
  36178. msgstr ""
  36179. #. type: deftypevr
  36180. #: guix-git/doc/guix.texi:24323
  36181. #, no-wrap
  36182. msgid "{@code{zabbix-front-end-configuration} parameter} string db-secret-file"
  36183. msgstr ""
  36184. #. type: deftypevr
  36185. #: guix-git/doc/guix.texi:24328
  36186. 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']}."
  36187. msgstr ""
  36188. #. type: deftypevr
  36189. #: guix-git/doc/guix.texi:24333
  36190. #, no-wrap
  36191. msgid "{@code{zabbix-front-end-configuration} parameter} string zabbix-host"
  36192. msgstr ""
  36193. #. type: deftypevr
  36194. #: guix-git/doc/guix.texi:24335
  36195. msgid "Zabbix server hostname."
  36196. msgstr ""
  36197. #. type: deftypevr
  36198. #: guix-git/doc/guix.texi:24340
  36199. #, no-wrap
  36200. msgid "{@code{zabbix-front-end-configuration} parameter} number zabbix-port"
  36201. msgstr ""
  36202. #. type: deftypevr
  36203. #: guix-git/doc/guix.texi:24342
  36204. msgid "Zabbix server port."
  36205. msgstr ""
  36206. #. type: deftypevr
  36207. #: guix-git/doc/guix.texi:24344
  36208. msgid "Defaults to @samp{10051}."
  36209. msgstr ""
  36210. #. type: cindex
  36211. #: guix-git/doc/guix.texi:24352
  36212. #, no-wrap
  36213. msgid "Kerberos"
  36214. msgstr ""
  36215. #. type: Plain text
  36216. #: guix-git/doc/guix.texi:24356
  36217. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  36218. msgstr ""
  36219. #. type: subsubheading
  36220. #: guix-git/doc/guix.texi:24357
  36221. #, no-wrap
  36222. msgid "Krb5 Service"
  36223. msgstr ""
  36224. #. type: Plain text
  36225. #: guix-git/doc/guix.texi:24364
  36226. 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."
  36227. msgstr ""
  36228. #. type: Plain text
  36229. #: guix-git/doc/guix.texi:24368
  36230. 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."
  36231. msgstr ""
  36232. #. type: defvr
  36233. #: guix-git/doc/guix.texi:24369
  36234. #, no-wrap
  36235. msgid "{Scheme Variable} krb5-service-type"
  36236. msgstr ""
  36237. #. type: defvr
  36238. #: guix-git/doc/guix.texi:24371
  36239. msgid "A service type for Kerberos 5 clients."
  36240. msgstr ""
  36241. #. type: Plain text
  36242. #: guix-git/doc/guix.texi:24375
  36243. msgid "Here is an example of its use:"
  36244. msgstr ""
  36245. #. type: lisp
  36246. #: guix-git/doc/guix.texi:24389
  36247. #, no-wrap
  36248. msgid ""
  36249. "(service krb5-service-type\n"
  36250. " (krb5-configuration\n"
  36251. " (default-realm \"EXAMPLE.COM\")\n"
  36252. " (allow-weak-crypto? #t)\n"
  36253. " (realms (list\n"
  36254. " (krb5-realm\n"
  36255. " (name \"EXAMPLE.COM\")\n"
  36256. " (admin-server \"groucho.example.com\")\n"
  36257. " (kdc \"karl.example.com\"))\n"
  36258. " (krb5-realm\n"
  36259. " (name \"ARGRX.EDU\")\n"
  36260. " (admin-server \"kerb-admin.argrx.edu\")\n"
  36261. " (kdc \"keys.argrx.edu\"))))))\n"
  36262. msgstr ""
  36263. #. type: Plain text
  36264. #: guix-git/doc/guix.texi:24393
  36265. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  36266. msgstr ""
  36267. #. type: item
  36268. #: guix-git/doc/guix.texi:24394
  36269. #, no-wrap
  36270. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  36271. msgstr ""
  36272. #. type: itemize
  36273. #: guix-git/doc/guix.texi:24396
  36274. msgid "of which have distinct administration servers and key distribution centers;"
  36275. msgstr ""
  36276. #. type: item
  36277. #: guix-git/doc/guix.texi:24396
  36278. #, no-wrap
  36279. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  36280. msgstr ""
  36281. #. type: itemize
  36282. #: guix-git/doc/guix.texi:24398
  36283. msgid "specified by clients;"
  36284. msgstr ""
  36285. #. type: item
  36286. #: guix-git/doc/guix.texi:24398
  36287. #, no-wrap
  36288. msgid "Accepts services which only support encryption types known to be weak."
  36289. msgstr ""
  36290. #. type: Plain text
  36291. #: guix-git/doc/guix.texi:24406
  36292. 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."
  36293. msgstr ""
  36294. #. type: deftp
  36295. #: guix-git/doc/guix.texi:24408
  36296. #, no-wrap
  36297. msgid "{Data Type} krb5-realm"
  36298. msgstr ""
  36299. #. type: cindex
  36300. #: guix-git/doc/guix.texi:24409
  36301. #, no-wrap
  36302. msgid "realm, kerberos"
  36303. msgstr ""
  36304. #. type: table
  36305. #: guix-git/doc/guix.texi:24415
  36306. 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."
  36307. msgstr ""
  36308. #. type: code{#1}
  36309. #: guix-git/doc/guix.texi:24416
  36310. #, no-wrap
  36311. msgid "admin-server"
  36312. msgstr ""
  36313. #. type: table
  36314. #: guix-git/doc/guix.texi:24419
  36315. msgid "This field is a string identifying the host where the administration server is running."
  36316. msgstr ""
  36317. #. type: code{#1}
  36318. #: guix-git/doc/guix.texi:24420
  36319. #, no-wrap
  36320. msgid "kdc"
  36321. msgstr ""
  36322. #. type: table
  36323. #: guix-git/doc/guix.texi:24423
  36324. msgid "This field is a string identifying the key distribution center for the realm."
  36325. msgstr ""
  36326. #. type: deftp
  36327. #: guix-git/doc/guix.texi:24426
  36328. #, no-wrap
  36329. msgid "{Data Type} krb5-configuration"
  36330. msgstr ""
  36331. #. type: item
  36332. #: guix-git/doc/guix.texi:24429
  36333. #, no-wrap
  36334. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  36335. msgstr ""
  36336. #. type: table
  36337. #: guix-git/doc/guix.texi:24432
  36338. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  36339. msgstr ""
  36340. #. type: item
  36341. #: guix-git/doc/guix.texi:24433
  36342. #, no-wrap
  36343. msgid "@code{default-realm} (default: @code{#f})"
  36344. msgstr ""
  36345. #. type: table
  36346. #: guix-git/doc/guix.texi:24440
  36347. 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}."
  36348. msgstr ""
  36349. #. type: code{#1}
  36350. #: guix-git/doc/guix.texi:24441
  36351. #, no-wrap
  36352. msgid "realms"
  36353. msgstr ""
  36354. #. type: table
  36355. #: guix-git/doc/guix.texi:24446
  36356. 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."
  36357. msgstr ""
  36358. #. type: subsubheading
  36359. #: guix-git/doc/guix.texi:24450
  36360. #, no-wrap
  36361. msgid "PAM krb5 Service"
  36362. msgstr ""
  36363. #. type: cindex
  36364. #: guix-git/doc/guix.texi:24451
  36365. #, no-wrap
  36366. msgid "pam-krb5"
  36367. msgstr ""
  36368. #. type: Plain text
  36369. #: guix-git/doc/guix.texi:24457
  36370. 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."
  36371. msgstr ""
  36372. #. type: defvr
  36373. #: guix-git/doc/guix.texi:24458
  36374. #, no-wrap
  36375. msgid "{Scheme Variable} pam-krb5-service-type"
  36376. msgstr ""
  36377. #. type: defvr
  36378. #: guix-git/doc/guix.texi:24460
  36379. msgid "A service type for the Kerberos 5 PAM module."
  36380. msgstr ""
  36381. #. type: deftp
  36382. #: guix-git/doc/guix.texi:24462
  36383. #, no-wrap
  36384. msgid "{Data Type} pam-krb5-configuration"
  36385. msgstr ""
  36386. #. type: deftp
  36387. #: guix-git/doc/guix.texi:24465
  36388. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  36389. msgstr ""
  36390. #. type: item
  36391. #: guix-git/doc/guix.texi:24466
  36392. #, no-wrap
  36393. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  36394. msgstr ""
  36395. #. type: table
  36396. #: guix-git/doc/guix.texi:24468
  36397. msgid "The pam-krb5 package to use."
  36398. msgstr ""
  36399. #. type: item
  36400. #: guix-git/doc/guix.texi:24469
  36401. #, no-wrap
  36402. msgid "@code{minimum-uid} (default: @code{1000})"
  36403. msgstr ""
  36404. #. type: table
  36405. #: guix-git/doc/guix.texi:24472
  36406. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  36407. msgstr ""
  36408. #. type: cindex
  36409. #: guix-git/doc/guix.texi:24478
  36410. #, no-wrap
  36411. msgid "LDAP"
  36412. msgstr ""
  36413. #. type: cindex
  36414. #: guix-git/doc/guix.texi:24479
  36415. #, no-wrap
  36416. msgid "nslcd, LDAP service"
  36417. msgstr ""
  36418. #. type: Plain text
  36419. #: guix-git/doc/guix.texi:24486
  36420. 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."
  36421. msgstr ""
  36422. #. type: Plain text
  36423. #: guix-git/doc/guix.texi:24490
  36424. 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:"
  36425. msgstr ""
  36426. #. type: lisp
  36427. #: guix-git/doc/guix.texi:24513
  36428. #, no-wrap
  36429. msgid ""
  36430. "(use-service-modules authentication)\n"
  36431. "(use-modules (gnu system nss))\n"
  36432. "...\n"
  36433. "(operating-system\n"
  36434. " ...\n"
  36435. " (services\n"
  36436. " (cons*\n"
  36437. " (service nslcd-service-type)\n"
  36438. " (service dhcp-client-service-type)\n"
  36439. " %base-services))\n"
  36440. " (name-service-switch\n"
  36441. " (let ((services (list (name-service (name \"db\"))\n"
  36442. " (name-service (name \"files\"))\n"
  36443. " (name-service (name \"ldap\")))))\n"
  36444. " (name-service-switch\n"
  36445. " (inherit %mdns-host-lookup-nss)\n"
  36446. " (password services)\n"
  36447. " (shadow services)\n"
  36448. " (group services)\n"
  36449. " (netgroup services)\n"
  36450. " (gshadow services)))))\n"
  36451. msgstr ""
  36452. #. type: Plain text
  36453. #: guix-git/doc/guix.texi:24518
  36454. msgid "Available @code{nslcd-configuration} fields are:"
  36455. msgstr ""
  36456. #. type: deftypevr
  36457. #: guix-git/doc/guix.texi:24519
  36458. #, no-wrap
  36459. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  36460. msgstr ""
  36461. #. type: deftypevr
  36462. #: guix-git/doc/guix.texi:24521
  36463. msgid "The @code{nss-pam-ldapd} package to use."
  36464. msgstr ""
  36465. #. type: deftypevr
  36466. #: guix-git/doc/guix.texi:24524
  36467. #, no-wrap
  36468. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  36469. msgstr ""
  36470. #. type: deftypevr
  36471. #: guix-git/doc/guix.texi:24528
  36472. 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."
  36473. msgstr ""
  36474. #. type: deftypevr
  36475. #: guix-git/doc/guix.texi:24533
  36476. #, no-wrap
  36477. msgid "{@code{nslcd-configuration} parameter} string uid"
  36478. msgstr ""
  36479. #. type: deftypevr
  36480. #: guix-git/doc/guix.texi:24535
  36481. msgid "This specifies the user id with which the daemon should be run."
  36482. msgstr ""
  36483. #. type: deftypevr
  36484. #: guix-git/doc/guix.texi:24537 guix-git/doc/guix.texi:24544
  36485. msgid "Defaults to @samp{\"nslcd\"}."
  36486. msgstr ""
  36487. #. type: deftypevr
  36488. #: guix-git/doc/guix.texi:24540
  36489. #, no-wrap
  36490. msgid "{@code{nslcd-configuration} parameter} string gid"
  36491. msgstr ""
  36492. #. type: deftypevr
  36493. #: guix-git/doc/guix.texi:24542
  36494. msgid "This specifies the group id with which the daemon should be run."
  36495. msgstr ""
  36496. #. type: deftypevr
  36497. #: guix-git/doc/guix.texi:24547
  36498. #, no-wrap
  36499. msgid "{@code{nslcd-configuration} parameter} log-option log"
  36500. msgstr ""
  36501. #. type: deftypevr
  36502. #: guix-git/doc/guix.texi:24555
  36503. 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."
  36504. msgstr ""
  36505. #. type: deftypevr
  36506. #: guix-git/doc/guix.texi:24557
  36507. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  36508. msgstr ""
  36509. #. type: deftypevr
  36510. #: guix-git/doc/guix.texi:24560
  36511. #, no-wrap
  36512. msgid "{@code{nslcd-configuration} parameter} list uri"
  36513. msgstr ""
  36514. #. type: deftypevr
  36515. #: guix-git/doc/guix.texi:24563
  36516. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  36517. msgstr ""
  36518. #. type: deftypevr
  36519. #: guix-git/doc/guix.texi:24565
  36520. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  36521. msgstr ""
  36522. #. type: deftypevr
  36523. #: guix-git/doc/guix.texi:24568
  36524. #, no-wrap
  36525. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  36526. msgstr ""
  36527. #. type: deftypevr
  36528. #: guix-git/doc/guix.texi:24571
  36529. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  36530. msgstr ""
  36531. #. type: deftypevr
  36532. #: guix-git/doc/guix.texi:24576
  36533. #, no-wrap
  36534. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  36535. msgstr ""
  36536. #. type: deftypevr
  36537. #: guix-git/doc/guix.texi:24579
  36538. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  36539. msgstr ""
  36540. #. type: deftypevr
  36541. #: guix-git/doc/guix.texi:24584
  36542. #, no-wrap
  36543. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  36544. msgstr ""
  36545. #. type: deftypevr
  36546. #: guix-git/doc/guix.texi:24587
  36547. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  36548. msgstr ""
  36549. #. type: deftypevr
  36550. #: guix-git/doc/guix.texi:24592
  36551. #, no-wrap
  36552. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  36553. msgstr ""
  36554. #. type: deftypevr
  36555. #: guix-git/doc/guix.texi:24595
  36556. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  36557. msgstr ""
  36558. #. type: deftypevr
  36559. #: guix-git/doc/guix.texi:24600
  36560. #, no-wrap
  36561. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  36562. msgstr ""
  36563. #. type: deftypevr
  36564. #: guix-git/doc/guix.texi:24604
  36565. 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"
  36566. msgstr ""
  36567. #. type: deftypevr
  36568. #: guix-git/doc/guix.texi:24609
  36569. #, no-wrap
  36570. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  36571. msgstr ""
  36572. #. type: deftypevr
  36573. #: guix-git/doc/guix.texi:24612
  36574. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  36575. msgstr ""
  36576. #. type: deftypevr
  36577. #: guix-git/doc/guix.texi:24617
  36578. #, no-wrap
  36579. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  36580. msgstr ""
  36581. #. type: deftypevr
  36582. #: guix-git/doc/guix.texi:24619
  36583. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  36584. msgstr ""
  36585. #. type: deftypevr
  36586. #: guix-git/doc/guix.texi:24624
  36587. #, no-wrap
  36588. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  36589. msgstr ""
  36590. #. type: deftypevr
  36591. #: guix-git/doc/guix.texi:24627
  36592. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  36593. msgstr ""
  36594. #. type: deftypevr
  36595. #: guix-git/doc/guix.texi:24632
  36596. #, no-wrap
  36597. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  36598. msgstr ""
  36599. #. type: deftypevr
  36600. #: guix-git/doc/guix.texi:24635
  36601. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  36602. msgstr ""
  36603. #. type: deftypevr
  36604. #: guix-git/doc/guix.texi:24640
  36605. #, no-wrap
  36606. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  36607. msgstr ""
  36608. #. type: deftypevr
  36609. #: guix-git/doc/guix.texi:24645
  36610. 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."
  36611. msgstr ""
  36612. #. type: deftypevr
  36613. #: guix-git/doc/guix.texi:24650
  36614. #, no-wrap
  36615. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  36616. msgstr ""
  36617. #. type: deftypevr
  36618. #: guix-git/doc/guix.texi:24652
  36619. msgid "Set the name for the GSS-API Kerberos credentials cache."
  36620. msgstr ""
  36621. #. type: deftypevr
  36622. #: guix-git/doc/guix.texi:24657
  36623. #, no-wrap
  36624. msgid "{@code{nslcd-configuration} parameter} string base"
  36625. msgstr ""
  36626. #. type: deftypevr
  36627. #: guix-git/doc/guix.texi:24659
  36628. msgid "The directory search base."
  36629. msgstr ""
  36630. #. type: deftypevr
  36631. #: guix-git/doc/guix.texi:24661
  36632. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  36633. msgstr ""
  36634. #. type: deftypevr
  36635. #: guix-git/doc/guix.texi:24664
  36636. #, no-wrap
  36637. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  36638. msgstr ""
  36639. #. type: deftypevr
  36640. #: guix-git/doc/guix.texi:24668
  36641. 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."
  36642. msgstr ""
  36643. #. type: deftypevr
  36644. #: guix-git/doc/guix.texi:24670
  36645. msgid "Defaults to @samp{(subtree)}."
  36646. msgstr ""
  36647. #. type: deftypevr
  36648. #: guix-git/doc/guix.texi:24673
  36649. #, no-wrap
  36650. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  36651. msgstr ""
  36652. #. type: deftypevr
  36653. #: guix-git/doc/guix.texi:24676
  36654. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  36655. msgstr ""
  36656. #. type: deftypevr
  36657. #: guix-git/doc/guix.texi:24681
  36658. #, no-wrap
  36659. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  36660. msgstr ""
  36661. #. type: deftypevr
  36662. #: guix-git/doc/guix.texi:24684
  36663. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  36664. msgstr ""
  36665. #. type: deftypevr
  36666. #: guix-git/doc/guix.texi:24689
  36667. #, no-wrap
  36668. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  36669. msgstr ""
  36670. #. type: deftypevr
  36671. #: guix-git/doc/guix.texi:24694
  36672. 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."
  36673. msgstr ""
  36674. #. type: deftypevr
  36675. #: guix-git/doc/guix.texi:24699
  36676. #, no-wrap
  36677. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  36678. msgstr ""
  36679. #. type: deftypevr
  36680. #: guix-git/doc/guix.texi:24702
  36681. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  36682. msgstr ""
  36683. #. type: deftypevr
  36684. #: guix-git/doc/guix.texi:24707
  36685. #, no-wrap
  36686. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  36687. msgstr ""
  36688. #. type: deftypevr
  36689. #: guix-git/doc/guix.texi:24710
  36690. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  36691. msgstr ""
  36692. #. type: deftypevr
  36693. #: guix-git/doc/guix.texi:24715
  36694. #, no-wrap
  36695. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  36696. msgstr ""
  36697. #. type: deftypevr
  36698. #: guix-git/doc/guix.texi:24719
  36699. 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."
  36700. msgstr ""
  36701. #. type: deftypevr
  36702. #: guix-git/doc/guix.texi:24724
  36703. #, no-wrap
  36704. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  36705. msgstr ""
  36706. #. type: deftypevr
  36707. #: guix-git/doc/guix.texi:24728
  36708. 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."
  36709. msgstr ""
  36710. #. type: deftypevr
  36711. #: guix-git/doc/guix.texi:24733
  36712. #, no-wrap
  36713. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  36714. msgstr ""
  36715. #. type: deftypevr
  36716. #: guix-git/doc/guix.texi:24737
  36717. 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."
  36718. msgstr ""
  36719. #. type: deftypevr
  36720. #: guix-git/doc/guix.texi:24742
  36721. #, no-wrap
  36722. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  36723. msgstr ""
  36724. #. type: deftypevr
  36725. #: guix-git/doc/guix.texi:24746
  36726. 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."
  36727. msgstr ""
  36728. #. type: deftypevr
  36729. #: guix-git/doc/guix.texi:24751
  36730. #, no-wrap
  36731. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  36732. msgstr ""
  36733. #. type: deftypevr
  36734. #: guix-git/doc/guix.texi:24755
  36735. 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."
  36736. msgstr ""
  36737. #. type: deftypevr
  36738. #: guix-git/doc/guix.texi:24760
  36739. #, no-wrap
  36740. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  36741. msgstr ""
  36742. #. type: deftypevr
  36743. #: guix-git/doc/guix.texi:24763
  36744. 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."
  36745. msgstr ""
  36746. #. type: deftypevr
  36747. #: guix-git/doc/guix.texi:24768
  36748. #, no-wrap
  36749. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  36750. msgstr ""
  36751. #. type: deftypevr
  36752. #: guix-git/doc/guix.texi:24771
  36753. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  36754. msgstr ""
  36755. #. type: deftypevr
  36756. #: guix-git/doc/guix.texi:24776
  36757. #, no-wrap
  36758. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  36759. msgstr ""
  36760. #. type: deftypevr
  36761. #: guix-git/doc/guix.texi:24778
  36762. msgid "Specifies the path to the X.509 certificate for peer authentication."
  36763. msgstr ""
  36764. #. type: deftypevr
  36765. #: guix-git/doc/guix.texi:24783
  36766. #, no-wrap
  36767. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  36768. msgstr ""
  36769. #. type: deftypevr
  36770. #: guix-git/doc/guix.texi:24786
  36771. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  36772. msgstr ""
  36773. #. type: deftypevr
  36774. #: guix-git/doc/guix.texi:24791
  36775. #, no-wrap
  36776. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  36777. msgstr ""
  36778. #. type: deftypevr
  36779. #: guix-git/doc/guix.texi:24793
  36780. msgid "Specifies the ciphers to use for TLS as a string."
  36781. msgstr ""
  36782. #. type: deftypevr
  36783. #: guix-git/doc/guix.texi:24798
  36784. #, no-wrap
  36785. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  36786. msgstr ""
  36787. #. type: deftypevr
  36788. #: guix-git/doc/guix.texi:24801
  36789. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  36790. msgstr ""
  36791. #. type: deftypevr
  36792. #: guix-git/doc/guix.texi:24806
  36793. #, no-wrap
  36794. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  36795. msgstr ""
  36796. #. type: deftypevr
  36797. #: guix-git/doc/guix.texi:24809
  36798. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  36799. msgstr ""
  36800. #. type: deftypevr
  36801. #: guix-git/doc/guix.texi:24814
  36802. #, no-wrap
  36803. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  36804. msgstr ""
  36805. #. type: deftypevr
  36806. #: guix-git/doc/guix.texi:24818
  36807. 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."
  36808. msgstr ""
  36809. #. type: deftypevr
  36810. #: guix-git/doc/guix.texi:24823
  36811. #, no-wrap
  36812. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  36813. msgstr ""
  36814. #. type: deftypevr
  36815. #: guix-git/doc/guix.texi:24827
  36816. 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."
  36817. msgstr ""
  36818. #. type: deftypevr
  36819. #: guix-git/doc/guix.texi:24832
  36820. #, no-wrap
  36821. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  36822. msgstr ""
  36823. #. type: deftypevr
  36824. #: guix-git/doc/guix.texi:24835
  36825. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  36826. msgstr ""
  36827. #. type: deftypevr
  36828. #: guix-git/doc/guix.texi:24840
  36829. #, no-wrap
  36830. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  36831. msgstr ""
  36832. #. type: deftypevr
  36833. #: guix-git/doc/guix.texi:24843
  36834. 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."
  36835. msgstr ""
  36836. #. type: deftypevr
  36837. #: guix-git/doc/guix.texi:24848
  36838. #, no-wrap
  36839. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  36840. msgstr ""
  36841. #. type: deftypevr
  36842. #: guix-git/doc/guix.texi:24851
  36843. 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."
  36844. msgstr ""
  36845. #. type: deftypevr
  36846. #: guix-git/doc/guix.texi:24856
  36847. #, no-wrap
  36848. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  36849. msgstr ""
  36850. #. type: deftypevr
  36851. #: guix-git/doc/guix.texi:24862
  36852. 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."
  36853. msgstr ""
  36854. #. type: deftypevr
  36855. #: guix-git/doc/guix.texi:24867
  36856. #, no-wrap
  36857. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  36858. msgstr ""
  36859. #. type: deftypevr
  36860. #: guix-git/doc/guix.texi:24872
  36861. 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."
  36862. msgstr ""
  36863. #. type: deftypevr
  36864. #: guix-git/doc/guix.texi:24877
  36865. #, no-wrap
  36866. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  36867. msgstr ""
  36868. #. type: deftypevr
  36869. #: guix-git/doc/guix.texi:24883
  36870. 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."
  36871. msgstr ""
  36872. #. type: deftypevr
  36873. #: guix-git/doc/guix.texi:24888
  36874. #, no-wrap
  36875. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  36876. msgstr ""
  36877. #. type: deftypevr
  36878. #: guix-git/doc/guix.texi:24892
  36879. 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."
  36880. msgstr ""
  36881. #. type: deftypevr
  36882. #: guix-git/doc/guix.texi:24897
  36883. #, no-wrap
  36884. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  36885. msgstr ""
  36886. #. type: deftypevr
  36887. #: guix-git/doc/guix.texi:24902
  36888. 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."
  36889. msgstr ""
  36890. #. type: deftypevr
  36891. #: guix-git/doc/guix.texi:24907
  36892. #, no-wrap
  36893. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  36894. msgstr ""
  36895. #. type: deftypevr
  36896. #: guix-git/doc/guix.texi:24910
  36897. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  36898. msgstr ""
  36899. #. type: deftypevr
  36900. #: guix-git/doc/guix.texi:24915
  36901. #, no-wrap
  36902. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  36903. msgstr ""
  36904. #. type: deftypevr
  36905. #: guix-git/doc/guix.texi:24921
  36906. 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."
  36907. msgstr ""
  36908. #. type: deftypevr
  36909. #: guix-git/doc/guix.texi:24926
  36910. #, no-wrap
  36911. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  36912. msgstr ""
  36913. #. type: deftypevr
  36914. #: guix-git/doc/guix.texi:24930
  36915. 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."
  36916. msgstr ""
  36917. #. type: deftypevr
  36918. #: guix-git/doc/guix.texi:24935
  36919. #, no-wrap
  36920. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  36921. msgstr ""
  36922. #. type: deftypevr
  36923. #: guix-git/doc/guix.texi:24940
  36924. 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."
  36925. msgstr ""
  36926. #. type: deftypevr
  36927. #: guix-git/doc/guix.texi:24945
  36928. #, no-wrap
  36929. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  36930. msgstr ""
  36931. #. type: deftypevr
  36932. #: guix-git/doc/guix.texi:24947
  36933. msgid "List of pam service names for which LDAP authentication should suffice."
  36934. msgstr ""
  36935. #. type: cindex
  36936. #: guix-git/doc/guix.texi:24958
  36937. #, no-wrap
  36938. msgid "web"
  36939. msgstr ""
  36940. #. type: cindex
  36941. #: guix-git/doc/guix.texi:24959
  36942. #, no-wrap
  36943. msgid "www"
  36944. msgstr ""
  36945. #. type: cindex
  36946. #: guix-git/doc/guix.texi:24960
  36947. #, no-wrap
  36948. msgid "HTTP"
  36949. msgstr ""
  36950. #. type: Plain text
  36951. #: guix-git/doc/guix.texi:24963
  36952. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  36953. msgstr ""
  36954. #. type: subsubheading
  36955. #: guix-git/doc/guix.texi:24964
  36956. #, no-wrap
  36957. msgid "Apache HTTP Server"
  36958. msgstr ""
  36959. #. type: deffn
  36960. #: guix-git/doc/guix.texi:24966
  36961. #, no-wrap
  36962. msgid "{Scheme Variable} httpd-service-type"
  36963. msgstr ""
  36964. #. type: deffn
  36965. #: guix-git/doc/guix.texi:24970
  36966. 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."
  36967. msgstr ""
  36968. #. type: deffn
  36969. #: guix-git/doc/guix.texi:24972 guix-git/doc/guix.texi:25153
  36970. msgid "A simple example configuration is given below."
  36971. msgstr ""
  36972. #. type: lisp
  36973. #: guix-git/doc/guix.texi:24980
  36974. #, no-wrap
  36975. msgid ""
  36976. "(service httpd-service-type\n"
  36977. " (httpd-configuration\n"
  36978. " (config\n"
  36979. " (httpd-config-file\n"
  36980. " (server-name \"www.example.com\")\n"
  36981. " (document-root \"/srv/http/www.example.com\")))))\n"
  36982. msgstr ""
  36983. #. type: deffn
  36984. #: guix-git/doc/guix.texi:24984
  36985. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  36986. msgstr ""
  36987. #. type: lisp
  36988. #: guix-git/doc/guix.texi:24993 guix-git/doc/guix.texi:25133
  36989. #, no-wrap
  36990. msgid ""
  36991. "(simple-service 'www.example.com-server httpd-service-type\n"
  36992. " (list\n"
  36993. " (httpd-virtualhost\n"
  36994. " \"*:80\"\n"
  36995. " (list (string-join '(\"ServerName www.example.com\"\n"
  36996. " \"DocumentRoot /srv/http/www.example.com\")\n"
  36997. " \"\\n\")))))\n"
  36998. msgstr ""
  36999. #. type: Plain text
  37000. #: guix-git/doc/guix.texi:24999
  37001. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  37002. msgstr ""
  37003. #. type: deffn
  37004. #: guix-git/doc/guix.texi:25000
  37005. #, no-wrap
  37006. msgid "{Data Type} httpd-configuration"
  37007. msgstr ""
  37008. #. type: deffn
  37009. #: guix-git/doc/guix.texi:25002
  37010. msgid "This data type represents the configuration for the httpd service."
  37011. msgstr ""
  37012. #. type: item
  37013. #: guix-git/doc/guix.texi:25004
  37014. #, no-wrap
  37015. msgid "@code{package} (default: @code{httpd})"
  37016. msgstr ""
  37017. #. type: table
  37018. #: guix-git/doc/guix.texi:25006
  37019. msgid "The httpd package to use."
  37020. msgstr ""
  37021. #. type: item
  37022. #: guix-git/doc/guix.texi:25007 guix-git/doc/guix.texi:25096
  37023. #, no-wrap
  37024. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  37025. msgstr ""
  37026. #. type: table
  37027. #: guix-git/doc/guix.texi:25009
  37028. msgid "The pid file used by the shepherd-service."
  37029. msgstr ""
  37030. #. type: item
  37031. #: guix-git/doc/guix.texi:25010
  37032. #, no-wrap
  37033. msgid "@code{config} (default: @code{(httpd-config-file)})"
  37034. msgstr ""
  37035. #. type: table
  37036. #: guix-git/doc/guix.texi:25015
  37037. 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."
  37038. msgstr ""
  37039. #. type: deffn
  37040. #: guix-git/doc/guix.texi:25019
  37041. #, no-wrap
  37042. msgid "{Data Type} httpd-module"
  37043. msgstr ""
  37044. #. type: deffn
  37045. #: guix-git/doc/guix.texi:25021
  37046. msgid "This data type represents a module for the httpd service."
  37047. msgstr ""
  37048. #. type: table
  37049. #: guix-git/doc/guix.texi:25025
  37050. msgid "The name of the module."
  37051. msgstr ""
  37052. #. type: table
  37053. #: guix-git/doc/guix.texi:25031
  37054. 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\")}."
  37055. msgstr ""
  37056. #. type: defvr
  37057. #: guix-git/doc/guix.texi:25035
  37058. #, no-wrap
  37059. msgid "{Scheme Variable} %default-httpd-modules"
  37060. msgstr ""
  37061. #. type: defvr
  37062. #: guix-git/doc/guix.texi:25037
  37063. msgid "A default list of @code{httpd-module} objects."
  37064. msgstr ""
  37065. #. type: deffn
  37066. #: guix-git/doc/guix.texi:25039
  37067. #, no-wrap
  37068. msgid "{Data Type} httpd-config-file"
  37069. msgstr ""
  37070. #. type: deffn
  37071. #: guix-git/doc/guix.texi:25041
  37072. msgid "This data type represents a configuration file for the httpd service."
  37073. msgstr ""
  37074. #. type: item
  37075. #: guix-git/doc/guix.texi:25043
  37076. #, no-wrap
  37077. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  37078. msgstr ""
  37079. #. type: table
  37080. #: guix-git/doc/guix.texi:25046
  37081. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  37082. msgstr ""
  37083. #. type: table
  37084. #: guix-git/doc/guix.texi:25049
  37085. 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}:"
  37086. msgstr ""
  37087. #. type: lisp
  37088. #: guix-git/doc/guix.texi:25071
  37089. #, no-wrap
  37090. msgid ""
  37091. "(service httpd-service-type\n"
  37092. " (httpd-configuration\n"
  37093. " (config\n"
  37094. " (httpd-config-file\n"
  37095. " (modules (cons*\n"
  37096. " (httpd-module\n"
  37097. " (name \"proxy_module\")\n"
  37098. " (file \"modules/mod_proxy.so\"))\n"
  37099. " (httpd-module\n"
  37100. " (name \"proxy_fcgi_module\")\n"
  37101. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  37102. " %default-httpd-modules))\n"
  37103. " (extra-config (list \"\\\n"
  37104. "<FilesMatch \\\\.php$>\n"
  37105. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  37106. "</FilesMatch>\"))))))\n"
  37107. "(service php-fpm-service-type\n"
  37108. " (php-fpm-configuration\n"
  37109. " (socket \"/var/run/php-fpm.sock\")\n"
  37110. " (socket-group \"httpd\")))\n"
  37111. msgstr ""
  37112. #. type: item
  37113. #: guix-git/doc/guix.texi:25073
  37114. #, no-wrap
  37115. msgid "@code{server-root} (default: @code{httpd})"
  37116. msgstr ""
  37117. #. type: table
  37118. #: guix-git/doc/guix.texi:25077
  37119. 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."
  37120. msgstr ""
  37121. #. type: item
  37122. #: guix-git/doc/guix.texi:25078
  37123. #, no-wrap
  37124. msgid "@code{server-name} (default: @code{#f})"
  37125. msgstr ""
  37126. #. type: table
  37127. #: guix-git/doc/guix.texi:25082
  37128. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  37129. msgstr ""
  37130. #. type: table
  37131. #: guix-git/doc/guix.texi:25086
  37132. 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}."
  37133. msgstr ""
  37134. #. type: item
  37135. #: guix-git/doc/guix.texi:25087
  37136. #, no-wrap
  37137. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  37138. msgstr ""
  37139. #. type: table
  37140. #: guix-git/doc/guix.texi:25089
  37141. msgid "The @code{DocumentRoot} from which files will be served."
  37142. msgstr ""
  37143. #. type: item
  37144. #: guix-git/doc/guix.texi:25090
  37145. #, no-wrap
  37146. msgid "@code{listen} (default: @code{'(\"80\")})"
  37147. msgstr ""
  37148. #. type: table
  37149. #: guix-git/doc/guix.texi:25095
  37150. 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."
  37151. msgstr ""
  37152. #. type: table
  37153. #: guix-git/doc/guix.texi:25100
  37154. 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."
  37155. msgstr ""
  37156. #. type: item
  37157. #: guix-git/doc/guix.texi:25101
  37158. #, no-wrap
  37159. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  37160. msgstr ""
  37161. #. type: table
  37162. #: guix-git/doc/guix.texi:25103
  37163. msgid "The @code{ErrorLog} to which the server will log errors."
  37164. msgstr ""
  37165. #. type: item
  37166. #: guix-git/doc/guix.texi:25104 guix-git/doc/guix.texi:25665
  37167. #, no-wrap
  37168. msgid "@code{user} (default: @code{\"httpd\"})"
  37169. msgstr ""
  37170. #. type: table
  37171. #: guix-git/doc/guix.texi:25106
  37172. msgid "The @code{User} which the server will answer requests as."
  37173. msgstr ""
  37174. #. type: item
  37175. #: guix-git/doc/guix.texi:25107
  37176. #, no-wrap
  37177. msgid "@code{group} (default: @code{\"httpd\"})"
  37178. msgstr ""
  37179. #. type: table
  37180. #: guix-git/doc/guix.texi:25109
  37181. msgid "The @code{Group} which the server will answer requests as."
  37182. msgstr ""
  37183. #. type: item
  37184. #: guix-git/doc/guix.texi:25110
  37185. #, no-wrap
  37186. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  37187. msgstr ""
  37188. #. type: table
  37189. #: guix-git/doc/guix.texi:25113
  37190. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  37191. msgstr ""
  37192. #. type: table
  37193. #: guix-git/doc/guix.texi:25116
  37194. msgid "Any values which the service is extended with will be appended to this list."
  37195. msgstr ""
  37196. #. type: deffn
  37197. #: guix-git/doc/guix.texi:25120
  37198. #, no-wrap
  37199. msgid "{Data Type} httpd-virtualhost"
  37200. msgstr ""
  37201. #. type: deffn
  37202. #: guix-git/doc/guix.texi:25122
  37203. msgid "This data type represents a virtualhost configuration block for the httpd service."
  37204. msgstr ""
  37205. #. type: deffn
  37206. #: guix-git/doc/guix.texi:25124
  37207. msgid "These should be added to the extra-config for the httpd-service."
  37208. msgstr ""
  37209. #. type: code{#1}
  37210. #: guix-git/doc/guix.texi:25136
  37211. #, no-wrap
  37212. msgid "addresses-and-ports"
  37213. msgstr ""
  37214. #. type: table
  37215. #: guix-git/doc/guix.texi:25138
  37216. msgid "The addresses and ports for the @code{VirtualHost} directive."
  37217. msgstr ""
  37218. #. type: code{#1}
  37219. #: guix-git/doc/guix.texi:25139
  37220. #, no-wrap
  37221. msgid "contents"
  37222. msgstr ""
  37223. #. type: table
  37224. #: guix-git/doc/guix.texi:25142
  37225. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  37226. msgstr ""
  37227. #. type: subsubheading
  37228. #: guix-git/doc/guix.texi:25146
  37229. #, no-wrap
  37230. msgid "NGINX"
  37231. msgstr ""
  37232. #. type: deffn
  37233. #: guix-git/doc/guix.texi:25148
  37234. #, no-wrap
  37235. msgid "{Scheme Variable} nginx-service-type"
  37236. msgstr ""
  37237. #. type: deffn
  37238. #: guix-git/doc/guix.texi:25151
  37239. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  37240. msgstr ""
  37241. #. type: lisp
  37242. #: guix-git/doc/guix.texi:25161 guix-git/doc/guix.texi:25215
  37243. #, no-wrap
  37244. msgid ""
  37245. "(service nginx-service-type\n"
  37246. " (nginx-configuration\n"
  37247. " (server-blocks\n"
  37248. " (list (nginx-server-configuration\n"
  37249. " (server-name '(\"www.example.com\"))\n"
  37250. " (root \"/srv/http/www.example.com\"))))))\n"
  37251. msgstr ""
  37252. #. type: deffn
  37253. #: guix-git/doc/guix.texi:25166
  37254. 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:"
  37255. msgstr ""
  37256. #. type: lisp
  37257. #: guix-git/doc/guix.texi:25172
  37258. #, no-wrap
  37259. msgid ""
  37260. "(simple-service 'my-extra-server nginx-service-type\n"
  37261. " (list (nginx-server-configuration\n"
  37262. " (root \"/srv/http/extra-website\")\n"
  37263. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  37264. msgstr ""
  37265. #. type: Plain text
  37266. #: guix-git/doc/guix.texi:25183
  37267. 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."
  37268. msgstr ""
  37269. #. type: deffn
  37270. #: guix-git/doc/guix.texi:25184
  37271. #, no-wrap
  37272. msgid "{Data Type} nginx-configuration"
  37273. msgstr ""
  37274. #. type: deffn
  37275. #: guix-git/doc/guix.texi:25188
  37276. 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."
  37277. msgstr ""
  37278. #. type: item
  37279. #: guix-git/doc/guix.texi:25190
  37280. #, no-wrap
  37281. msgid "@code{nginx} (default: @code{nginx})"
  37282. msgstr ""
  37283. #. type: table
  37284. #: guix-git/doc/guix.texi:25192
  37285. msgid "The nginx package to use."
  37286. msgstr ""
  37287. #. type: item
  37288. #: guix-git/doc/guix.texi:25193
  37289. #, no-wrap
  37290. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  37291. msgstr ""
  37292. #. type: table
  37293. #: guix-git/doc/guix.texi:25195
  37294. msgid "The directory to which NGinx will write log files."
  37295. msgstr ""
  37296. #. type: item
  37297. #: guix-git/doc/guix.texi:25196
  37298. #, no-wrap
  37299. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  37300. msgstr ""
  37301. #. type: table
  37302. #: guix-git/doc/guix.texi:25199
  37303. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  37304. msgstr ""
  37305. #. type: item
  37306. #: guix-git/doc/guix.texi:25200
  37307. #, no-wrap
  37308. msgid "@code{server-blocks} (default: @code{'()})"
  37309. msgstr ""
  37310. #. type: table
  37311. #: guix-git/doc/guix.texi:25204
  37312. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  37313. msgstr ""
  37314. #. type: table
  37315. #: guix-git/doc/guix.texi:25208
  37316. 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."
  37317. msgstr ""
  37318. #. type: item
  37319. #: guix-git/doc/guix.texi:25217
  37320. #, no-wrap
  37321. msgid "@code{upstream-blocks} (default: @code{'()})"
  37322. msgstr ""
  37323. #. type: table
  37324. #: guix-git/doc/guix.texi:25221
  37325. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  37326. msgstr ""
  37327. #. type: table
  37328. #: guix-git/doc/guix.texi:25228
  37329. 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."
  37330. msgstr ""
  37331. #. type: lisp
  37332. #: guix-git/doc/guix.texi:25247
  37333. #, no-wrap
  37334. msgid ""
  37335. "(service\n"
  37336. " nginx-service-type\n"
  37337. " (nginx-configuration\n"
  37338. " (server-blocks\n"
  37339. " (list (nginx-server-configuration\n"
  37340. " (server-name '(\"www.example.com\"))\n"
  37341. " (root \"/srv/http/www.example.com\")\n"
  37342. " (locations\n"
  37343. " (list\n"
  37344. " (nginx-location-configuration\n"
  37345. " (uri \"/path1\")\n"
  37346. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  37347. " (upstream-blocks\n"
  37348. " (list (nginx-upstream-configuration\n"
  37349. " (name \"server-proxy\")\n"
  37350. " (servers (list \"server1.example.com\"\n"
  37351. " \"server2.example.com\")))))))\n"
  37352. msgstr ""
  37353. #. type: table
  37354. #: guix-git/doc/guix.texi:25255
  37355. 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."
  37356. msgstr ""
  37357. #. type: table
  37358. #: guix-git/doc/guix.texi:25259
  37359. 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."
  37360. msgstr ""
  37361. #. type: item
  37362. #: guix-git/doc/guix.texi:25260
  37363. #, no-wrap
  37364. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  37365. msgstr ""
  37366. #. type: table
  37367. #: guix-git/doc/guix.texi:25263
  37368. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  37369. msgstr ""
  37370. #. type: item
  37371. #: guix-git/doc/guix.texi:25264
  37372. #, no-wrap
  37373. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  37374. msgstr ""
  37375. #. type: table
  37376. #: guix-git/doc/guix.texi:25266
  37377. msgid "Maximum bucket size for the server names hash tables."
  37378. msgstr ""
  37379. #. type: table
  37380. #: guix-git/doc/guix.texi:25270
  37381. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  37382. msgstr ""
  37383. #. type: lisp
  37384. #: guix-git/doc/guix.texi:25278
  37385. #, no-wrap
  37386. msgid ""
  37387. "(modules\n"
  37388. " (list\n"
  37389. " (file-append nginx-accept-language-module \"\\\n"
  37390. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  37391. " (file-append nginx-lua-module \"\\\n"
  37392. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  37393. msgstr ""
  37394. #. type: item
  37395. #: guix-git/doc/guix.texi:25280
  37396. #, no-wrap
  37397. msgid "@code{lua-package-path} (default: @code{'()})"
  37398. msgstr ""
  37399. #. type: table
  37400. #: guix-git/doc/guix.texi:25283
  37401. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  37402. msgstr ""
  37403. #. type: lisp
  37404. #: guix-git/doc/guix.texi:25290
  37405. #, no-wrap
  37406. msgid ""
  37407. "(lua-package-path (list lua-resty-core\n"
  37408. " lua-resty-lrucache\n"
  37409. " lua-resty-signal\n"
  37410. " lua-tablepool\n"
  37411. " lua-resty-shell))\n"
  37412. msgstr ""
  37413. #. type: item
  37414. #: guix-git/doc/guix.texi:25292
  37415. #, no-wrap
  37416. msgid "@code{lua-package-cpath} (default: @code{'()})"
  37417. msgstr ""
  37418. #. type: table
  37419. #: guix-git/doc/guix.texi:25295
  37420. 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:"
  37421. msgstr ""
  37422. #. type: lisp
  37423. #: guix-git/doc/guix.texi:25298
  37424. #, no-wrap
  37425. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  37426. msgstr ""
  37427. #. type: item
  37428. #: guix-git/doc/guix.texi:25300
  37429. #, no-wrap
  37430. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  37431. msgstr ""
  37432. #. type: table
  37433. #: guix-git/doc/guix.texi:25303
  37434. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  37435. msgstr ""
  37436. #. type: lisp
  37437. #: guix-git/doc/guix.texi:25309
  37438. #, no-wrap
  37439. msgid ""
  37440. "(global-directives\n"
  37441. " `((worker_processes . 16)\n"
  37442. " (pcre_jit . on)\n"
  37443. " (events . ((worker_connections . 1024)))))\n"
  37444. msgstr ""
  37445. #. type: table
  37446. #: guix-git/doc/guix.texi:25314
  37447. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  37448. msgstr ""
  37449. #. type: deftp
  37450. #: guix-git/doc/guix.texi:25318
  37451. #, no-wrap
  37452. msgid "{Data Type} nginx-server-configuration"
  37453. msgstr ""
  37454. #. type: deftp
  37455. #: guix-git/doc/guix.texi:25321
  37456. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  37457. msgstr ""
  37458. #. type: item
  37459. #: guix-git/doc/guix.texi:25323
  37460. #, no-wrap
  37461. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  37462. msgstr ""
  37463. #. type: table
  37464. #: guix-git/doc/guix.texi:25328
  37465. 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:"
  37466. msgstr ""
  37467. #. type: lisp
  37468. #: guix-git/doc/guix.texi:25331
  37469. #, no-wrap
  37470. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  37471. msgstr ""
  37472. #. type: item
  37473. #: guix-git/doc/guix.texi:25333
  37474. #, no-wrap
  37475. msgid "@code{server-name} (default: @code{(list 'default)})"
  37476. msgstr ""
  37477. #. type: table
  37478. #: guix-git/doc/guix.texi:25336
  37479. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  37480. msgstr ""
  37481. #. type: item
  37482. #: guix-git/doc/guix.texi:25337
  37483. #, no-wrap
  37484. msgid "@code{root} (default: @code{\"/srv/http\"})"
  37485. msgstr ""
  37486. #. type: table
  37487. #: guix-git/doc/guix.texi:25339
  37488. msgid "Root of the website nginx will serve."
  37489. msgstr ""
  37490. #. type: item
  37491. #: guix-git/doc/guix.texi:25340
  37492. #, no-wrap
  37493. msgid "@code{locations} (default: @code{'()})"
  37494. msgstr ""
  37495. #. type: table
  37496. #: guix-git/doc/guix.texi:25344
  37497. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  37498. msgstr ""
  37499. #. type: item
  37500. #: guix-git/doc/guix.texi:25345
  37501. #, no-wrap
  37502. msgid "@code{index} (default: @code{(list \"index.html\")})"
  37503. msgstr ""
  37504. #. type: table
  37505. #: guix-git/doc/guix.texi:25348
  37506. 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."
  37507. msgstr ""
  37508. #. type: item
  37509. #: guix-git/doc/guix.texi:25349
  37510. #, no-wrap
  37511. msgid "@code{try-files} (default: @code{'()})"
  37512. msgstr ""
  37513. #. type: table
  37514. #: guix-git/doc/guix.texi:25352
  37515. 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."
  37516. msgstr ""
  37517. #. type: item
  37518. #: guix-git/doc/guix.texi:25353
  37519. #, no-wrap
  37520. msgid "@code{ssl-certificate} (default: @code{#f})"
  37521. msgstr ""
  37522. #. type: table
  37523. #: guix-git/doc/guix.texi:25356
  37524. 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."
  37525. msgstr ""
  37526. #. type: item
  37527. #: guix-git/doc/guix.texi:25357
  37528. #, no-wrap
  37529. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  37530. msgstr ""
  37531. #. type: table
  37532. #: guix-git/doc/guix.texi:25360
  37533. 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."
  37534. msgstr ""
  37535. #. type: item
  37536. #: guix-git/doc/guix.texi:25361
  37537. #, no-wrap
  37538. msgid "@code{server-tokens?} (default: @code{#f})"
  37539. msgstr ""
  37540. #. type: table
  37541. #: guix-git/doc/guix.texi:25363
  37542. msgid "Whether the server should add its configuration to response."
  37543. msgstr ""
  37544. #. type: item
  37545. #: guix-git/doc/guix.texi:25364
  37546. #, no-wrap
  37547. msgid "@code{raw-content} (default: @code{'()})"
  37548. msgstr ""
  37549. #. type: table
  37550. #: guix-git/doc/guix.texi:25366
  37551. msgid "A list of raw lines added to the server block."
  37552. msgstr ""
  37553. #. type: deftp
  37554. #: guix-git/doc/guix.texi:25370
  37555. #, no-wrap
  37556. msgid "{Data Type} nginx-upstream-configuration"
  37557. msgstr ""
  37558. #. type: deftp
  37559. #: guix-git/doc/guix.texi:25373
  37560. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  37561. msgstr ""
  37562. #. type: table
  37563. #: guix-git/doc/guix.texi:25377
  37564. msgid "Name for this group of servers."
  37565. msgstr ""
  37566. #. type: code{#1}
  37567. #: guix-git/doc/guix.texi:25378
  37568. #, no-wrap
  37569. msgid "servers"
  37570. msgstr ""
  37571. #. type: table
  37572. #: guix-git/doc/guix.texi:25385
  37573. 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."
  37574. msgstr ""
  37575. #. type: deftp
  37576. #: guix-git/doc/guix.texi:25389
  37577. #, no-wrap
  37578. msgid "{Data Type} nginx-location-configuration"
  37579. msgstr ""
  37580. #. type: deftp
  37581. #: guix-git/doc/guix.texi:25392
  37582. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  37583. msgstr ""
  37584. #. type: table
  37585. #: guix-git/doc/guix.texi:25396
  37586. msgid "URI which this location block matches."
  37587. msgstr ""
  37588. #. type: anchor{#1}
  37589. #: guix-git/doc/guix.texi:25398
  37590. msgid "nginx-location-configuration body"
  37591. msgstr ""
  37592. #. type: code{#1}
  37593. #: guix-git/doc/guix.texi:25398 guix-git/doc/guix.texi:25419
  37594. #, no-wrap
  37595. msgid "body"
  37596. msgstr ""
  37597. #. type: table
  37598. #: guix-git/doc/guix.texi:25405
  37599. 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;\")}."
  37600. msgstr ""
  37601. #. type: deftp
  37602. #: guix-git/doc/guix.texi:25409
  37603. #, no-wrap
  37604. msgid "{Data Type} nginx-named-location-configuration"
  37605. msgstr ""
  37606. #. type: deftp
  37607. #: guix-git/doc/guix.texi:25414
  37608. 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:"
  37609. msgstr ""
  37610. #. type: table
  37611. #: guix-git/doc/guix.texi:25418
  37612. msgid "Name to identify this location block."
  37613. msgstr ""
  37614. #. type: table
  37615. #: guix-git/doc/guix.texi:25424
  37616. 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."
  37617. msgstr ""
  37618. #. type: subsubheading
  37619. #: guix-git/doc/guix.texi:25428
  37620. #, no-wrap
  37621. msgid "Varnish Cache"
  37622. msgstr ""
  37623. #. type: cindex
  37624. #: guix-git/doc/guix.texi:25429
  37625. #, no-wrap
  37626. msgid "Varnish"
  37627. msgstr ""
  37628. #. type: Plain text
  37629. #: guix-git/doc/guix.texi:25434
  37630. 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."
  37631. msgstr ""
  37632. #. type: defvr
  37633. #: guix-git/doc/guix.texi:25435
  37634. #, no-wrap
  37635. msgid "{Scheme Variable} varnish-service-type"
  37636. msgstr ""
  37637. #. type: defvr
  37638. #: guix-git/doc/guix.texi:25437
  37639. msgid "Service type for the Varnish daemon."
  37640. msgstr ""
  37641. #. type: deftp
  37642. #: guix-git/doc/guix.texi:25439
  37643. #, no-wrap
  37644. msgid "{Data Type} varnish-configuration"
  37645. msgstr ""
  37646. #. type: deftp
  37647. #: guix-git/doc/guix.texi:25442
  37648. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  37649. msgstr ""
  37650. #. type: item
  37651. #: guix-git/doc/guix.texi:25444
  37652. #, no-wrap
  37653. msgid "@code{package} (default: @code{varnish})"
  37654. msgstr ""
  37655. #. type: table
  37656. #: guix-git/doc/guix.texi:25446
  37657. msgid "The Varnish package to use."
  37658. msgstr ""
  37659. #. type: item
  37660. #: guix-git/doc/guix.texi:25447
  37661. #, no-wrap
  37662. msgid "@code{name} (default: @code{\"default\"})"
  37663. msgstr ""
  37664. #. type: table
  37665. #: guix-git/doc/guix.texi:25452
  37666. 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."
  37667. msgstr ""
  37668. #. type: table
  37669. #: guix-git/doc/guix.texi:25455
  37670. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  37671. msgstr ""
  37672. #. type: item
  37673. #: guix-git/doc/guix.texi:25456
  37674. #, no-wrap
  37675. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  37676. msgstr ""
  37677. #. type: table
  37678. #: guix-git/doc/guix.texi:25458
  37679. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  37680. msgstr ""
  37681. #. type: item
  37682. #: guix-git/doc/guix.texi:25459
  37683. #, no-wrap
  37684. msgid "@code{vcl} (default: #f)"
  37685. msgstr ""
  37686. #. type: table
  37687. #: guix-git/doc/guix.texi:25464
  37688. 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."
  37689. msgstr ""
  37690. #. type: table
  37691. #: guix-git/doc/guix.texi:25468
  37692. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  37693. msgstr ""
  37694. #. type: lisp
  37695. #: guix-git/doc/guix.texi:25474
  37696. #, no-wrap
  37697. msgid ""
  37698. "(define %gnu-mirror\n"
  37699. " (plain-file \"gnu.vcl\"\n"
  37700. " \"vcl 4.1;\n"
  37701. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  37702. "\n"
  37703. msgstr ""
  37704. #. type: lisp
  37705. #: guix-git/doc/guix.texi:25482
  37706. #, no-wrap
  37707. msgid ""
  37708. "(operating-system\n"
  37709. " ;; @dots{}\n"
  37710. " (services (cons (service varnish-service-type\n"
  37711. " (varnish-configuration\n"
  37712. " (listen '(\":80\"))\n"
  37713. " (vcl %gnu-mirror)))\n"
  37714. " %base-services)))\n"
  37715. msgstr ""
  37716. #. type: table
  37717. #: guix-git/doc/guix.texi:25486
  37718. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  37719. msgstr ""
  37720. #. type: table
  37721. #: guix-git/doc/guix.texi:25490
  37722. 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."
  37723. msgstr ""
  37724. #. type: item
  37725. #: guix-git/doc/guix.texi:25491
  37726. #, no-wrap
  37727. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  37728. msgstr ""
  37729. #. type: table
  37730. #: guix-git/doc/guix.texi:25493
  37731. msgid "List of addresses Varnish will listen on."
  37732. msgstr ""
  37733. #. type: item
  37734. #: guix-git/doc/guix.texi:25494
  37735. #, no-wrap
  37736. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  37737. msgstr ""
  37738. #. type: table
  37739. #: guix-git/doc/guix.texi:25496
  37740. msgid "List of storage backends that will be available in VCL."
  37741. msgstr ""
  37742. #. type: item
  37743. #: guix-git/doc/guix.texi:25497
  37744. #, no-wrap
  37745. msgid "@code{parameters} (default: @code{'()})"
  37746. msgstr ""
  37747. #. type: table
  37748. #: guix-git/doc/guix.texi:25499
  37749. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  37750. msgstr ""
  37751. #. type: table
  37752. #: guix-git/doc/guix.texi:25502
  37753. msgid "Additional arguments to pass to the @command{varnishd} process."
  37754. msgstr ""
  37755. #. type: cindex
  37756. #: guix-git/doc/guix.texi:25506 guix-git/doc/guix.texi:25507
  37757. #, no-wrap
  37758. msgid "Patchwork"
  37759. msgstr ""
  37760. #. type: Plain text
  37761. #: guix-git/doc/guix.texi:25510
  37762. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  37763. msgstr ""
  37764. #. type: defvr
  37765. #: guix-git/doc/guix.texi:25511
  37766. #, no-wrap
  37767. msgid "{Scheme Variable} patchwork-service-type"
  37768. msgstr ""
  37769. #. type: defvr
  37770. #: guix-git/doc/guix.texi:25513
  37771. msgid "Service type for Patchwork."
  37772. msgstr ""
  37773. #. type: Plain text
  37774. #: guix-git/doc/guix.texi:25517
  37775. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  37776. msgstr ""
  37777. #. type: lisp
  37778. #: guix-git/doc/guix.texi:25537
  37779. #, no-wrap
  37780. msgid ""
  37781. "(service patchwork-service-type\n"
  37782. " (patchwork-configuration\n"
  37783. " (domain \"patchwork.example.com\")\n"
  37784. " (settings-module\n"
  37785. " (patchwork-settings-module\n"
  37786. " (allowed-hosts (list domain))\n"
  37787. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  37788. " (getmail-retriever-config\n"
  37789. " (getmail-retriever-configuration\n"
  37790. " (type \"SimpleIMAPSSLRetriever\")\n"
  37791. " (server \"imap.example.com\")\n"
  37792. " (port 993)\n"
  37793. " (username \"patchwork\")\n"
  37794. " (password-command\n"
  37795. " (list (file-append coreutils \"/bin/cat\")\n"
  37796. " \"/etc/getmail-patchwork-imap-password\"))\n"
  37797. " (extra-parameters\n"
  37798. " '((mailboxes . (\"Patches\"))))))))\n"
  37799. "\n"
  37800. msgstr ""
  37801. #. type: Plain text
  37802. #: guix-git/doc/guix.texi:25543
  37803. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  37804. msgstr ""
  37805. #. type: Plain text
  37806. #: guix-git/doc/guix.texi:25547
  37807. 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."
  37808. msgstr ""
  37809. #. type: Plain text
  37810. #: guix-git/doc/guix.texi:25551
  37811. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  37812. msgstr ""
  37813. #. type: deftp
  37814. #: guix-git/doc/guix.texi:25552
  37815. #, no-wrap
  37816. msgid "{Data Type} patchwork-configuration"
  37817. msgstr ""
  37818. #. type: deftp
  37819. #: guix-git/doc/guix.texi:25555
  37820. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  37821. msgstr ""
  37822. #. type: item
  37823. #: guix-git/doc/guix.texi:25557
  37824. #, no-wrap
  37825. msgid "@code{patchwork} (default: @code{patchwork})"
  37826. msgstr ""
  37827. #. type: table
  37828. #: guix-git/doc/guix.texi:25559
  37829. msgid "The Patchwork package to use."
  37830. msgstr ""
  37831. #. type: code{#1}
  37832. #: guix-git/doc/guix.texi:25560
  37833. #, no-wrap
  37834. msgid "domain"
  37835. msgstr ""
  37836. #. type: table
  37837. #: guix-git/doc/guix.texi:25563
  37838. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  37839. msgstr ""
  37840. #. type: code{#1}
  37841. #: guix-git/doc/guix.texi:25564
  37842. #, no-wrap
  37843. msgid "settings-module"
  37844. msgstr ""
  37845. #. type: table
  37846. #: guix-git/doc/guix.texi:25570
  37847. 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."
  37848. msgstr ""
  37849. #. type: item
  37850. #: guix-git/doc/guix.texi:25571
  37851. #, no-wrap
  37852. msgid "@code{static-path} (default: @code{\"/static/\"})"
  37853. msgstr ""
  37854. #. type: table
  37855. #: guix-git/doc/guix.texi:25573
  37856. msgid "The path under which the HTTPD service should serve the static files."
  37857. msgstr ""
  37858. #. type: code{#1}
  37859. #: guix-git/doc/guix.texi:25574
  37860. #, no-wrap
  37861. msgid "getmail-retriever-config"
  37862. msgstr ""
  37863. #. type: table
  37864. #: guix-git/doc/guix.texi:25578
  37865. 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."
  37866. msgstr ""
  37867. #. type: deftp
  37868. #: guix-git/doc/guix.texi:25582
  37869. #, no-wrap
  37870. msgid "{Data Type} patchwork-settings-module"
  37871. msgstr ""
  37872. #. type: deftp
  37873. #: guix-git/doc/guix.texi:25587
  37874. 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:"
  37875. msgstr ""
  37876. #. type: item
  37877. #: guix-git/doc/guix.texi:25589
  37878. #, no-wrap
  37879. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  37880. msgstr ""
  37881. #. type: table
  37882. #: guix-git/doc/guix.texi:25592
  37883. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  37884. msgstr ""
  37885. #. type: item
  37886. #: guix-git/doc/guix.texi:25593
  37887. #, no-wrap
  37888. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  37889. msgstr ""
  37890. #. type: table
  37891. #: guix-git/doc/guix.texi:25596
  37892. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  37893. msgstr ""
  37894. #. type: table
  37895. #: guix-git/doc/guix.texi:25599
  37896. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  37897. msgstr ""
  37898. #. type: table
  37899. #: guix-git/doc/guix.texi:25601
  37900. msgid "This setting relates to Django."
  37901. msgstr ""
  37902. #. type: code{#1}
  37903. #: guix-git/doc/guix.texi:25602
  37904. #, no-wrap
  37905. msgid "allowed-hosts"
  37906. msgstr ""
  37907. #. type: table
  37908. #: guix-git/doc/guix.texi:25605
  37909. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  37910. msgstr ""
  37911. #. type: table
  37912. #: guix-git/doc/guix.texi:25607 guix-git/doc/guix.texi:25621
  37913. #: guix-git/doc/guix.texi:25627 guix-git/doc/guix.texi:25633
  37914. msgid "This is a Django setting."
  37915. msgstr ""
  37916. #. type: code{#1}
  37917. #: guix-git/doc/guix.texi:25608
  37918. #, no-wrap
  37919. msgid "default-from-email"
  37920. msgstr ""
  37921. #. type: table
  37922. #: guix-git/doc/guix.texi:25610
  37923. msgid "The email address from which Patchwork should send email by default."
  37924. msgstr ""
  37925. #. type: table
  37926. #: guix-git/doc/guix.texi:25612 guix-git/doc/guix.texi:25638
  37927. #: guix-git/doc/guix.texi:25643 guix-git/doc/guix.texi:25648
  37928. msgid "This is a Patchwork setting."
  37929. msgstr ""
  37930. #. type: item
  37931. #: guix-git/doc/guix.texi:25613
  37932. #, no-wrap
  37933. msgid "@code{static-url} (default: @code{#f})"
  37934. msgstr ""
  37935. #. type: table
  37936. #: guix-git/doc/guix.texi:25616
  37937. 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{/}."
  37938. msgstr ""
  37939. #. type: table
  37940. #: guix-git/doc/guix.texi:25619
  37941. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  37942. msgstr ""
  37943. #. type: item
  37944. #: guix-git/doc/guix.texi:25622
  37945. #, no-wrap
  37946. msgid "@code{admins} (default: @code{'()})"
  37947. msgstr ""
  37948. #. type: table
  37949. #: guix-git/doc/guix.texi:25625
  37950. 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."
  37951. msgstr ""
  37952. #. type: table
  37953. #: guix-git/doc/guix.texi:25631
  37954. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  37955. msgstr ""
  37956. #. type: item
  37957. #: guix-git/doc/guix.texi:25634
  37958. #, no-wrap
  37959. msgid "@code{enable-rest-api?} (default: @code{#t})"
  37960. msgstr ""
  37961. #. type: table
  37962. #: guix-git/doc/guix.texi:25636
  37963. msgid "Whether to enable the Patchwork REST API."
  37964. msgstr ""
  37965. #. type: item
  37966. #: guix-git/doc/guix.texi:25639
  37967. #, no-wrap
  37968. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  37969. msgstr ""
  37970. #. type: table
  37971. #: guix-git/doc/guix.texi:25641
  37972. msgid "Whether to enable the XML RPC API."
  37973. msgstr ""
  37974. #. type: item
  37975. #: guix-git/doc/guix.texi:25644
  37976. #, no-wrap
  37977. msgid "@code{force-https-links?} (default: @code{#t})"
  37978. msgstr ""
  37979. #. type: table
  37980. #: guix-git/doc/guix.texi:25646
  37981. msgid "Whether to use HTTPS links on Patchwork pages."
  37982. msgstr ""
  37983. #. type: table
  37984. #: guix-git/doc/guix.texi:25651
  37985. msgid "Extra code to place at the end of the Patchwork settings module."
  37986. msgstr ""
  37987. #. type: deftp
  37988. #: guix-git/doc/guix.texi:25655
  37989. #, no-wrap
  37990. msgid "{Data Type} patchwork-database-configuration"
  37991. msgstr ""
  37992. #. type: deftp
  37993. #: guix-git/doc/guix.texi:25657
  37994. msgid "Data type representing the database configuration for Patchwork."
  37995. msgstr ""
  37996. #. type: item
  37997. #: guix-git/doc/guix.texi:25659
  37998. #, no-wrap
  37999. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  38000. msgstr ""
  38001. #. type: table
  38002. #: guix-git/doc/guix.texi:25661
  38003. msgid "The database engine to use."
  38004. msgstr ""
  38005. #. type: item
  38006. #: guix-git/doc/guix.texi:25662
  38007. #, no-wrap
  38008. msgid "@code{name} (default: @code{\"patchwork\"})"
  38009. msgstr ""
  38010. #. type: table
  38011. #: guix-git/doc/guix.texi:25664
  38012. msgid "The name of the database to use."
  38013. msgstr ""
  38014. #. type: table
  38015. #: guix-git/doc/guix.texi:25667
  38016. msgid "The user to connect to the database as."
  38017. msgstr ""
  38018. #. type: item
  38019. #: guix-git/doc/guix.texi:25668
  38020. #, no-wrap
  38021. msgid "@code{password} (default: @code{\"\"})"
  38022. msgstr ""
  38023. #. type: table
  38024. #: guix-git/doc/guix.texi:25670
  38025. msgid "The password to use when connecting to the database."
  38026. msgstr ""
  38027. #. type: item
  38028. #: guix-git/doc/guix.texi:25671
  38029. #, no-wrap
  38030. msgid "@code{host} (default: @code{\"\"})"
  38031. msgstr ""
  38032. #. type: table
  38033. #: guix-git/doc/guix.texi:25673
  38034. msgid "The host to make the database connection to."
  38035. msgstr ""
  38036. #. type: item
  38037. #: guix-git/doc/guix.texi:25674
  38038. #, no-wrap
  38039. msgid "@code{port} (default: @code{\"\"})"
  38040. msgstr ""
  38041. #. type: table
  38042. #: guix-git/doc/guix.texi:25676
  38043. msgid "The port on which to connect to the database."
  38044. msgstr ""
  38045. #. type: subsubheading
  38046. #: guix-git/doc/guix.texi:25680
  38047. #, no-wrap
  38048. msgid "Mumi"
  38049. msgstr ""
  38050. #. type: cindex
  38051. #: guix-git/doc/guix.texi:25682
  38052. #, no-wrap
  38053. msgid "Mumi, Debbugs Web interface"
  38054. msgstr ""
  38055. #. type: cindex
  38056. #: guix-git/doc/guix.texi:25683
  38057. #, no-wrap
  38058. msgid "Debbugs, Mumi Web interface"
  38059. msgstr ""
  38060. #. type: Plain text
  38061. #: guix-git/doc/guix.texi:25688
  38062. 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."
  38063. msgstr ""
  38064. #. type: defvr
  38065. #: guix-git/doc/guix.texi:25689
  38066. #, no-wrap
  38067. msgid "{Scheme Variable} mumi-service-type"
  38068. msgstr ""
  38069. #. type: defvr
  38070. #: guix-git/doc/guix.texi:25691
  38071. msgid "This is the service type for Mumi."
  38072. msgstr ""
  38073. #. type: deftp
  38074. #: guix-git/doc/guix.texi:25693
  38075. #, no-wrap
  38076. msgid "{Data Type} mumi-configuration"
  38077. msgstr ""
  38078. #. type: deftp
  38079. #: guix-git/doc/guix.texi:25696
  38080. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  38081. msgstr ""
  38082. #. type: item
  38083. #: guix-git/doc/guix.texi:25698
  38084. #, no-wrap
  38085. msgid "@code{mumi} (default: @code{mumi})"
  38086. msgstr ""
  38087. #. type: table
  38088. #: guix-git/doc/guix.texi:25700
  38089. msgid "The Mumi package to use."
  38090. msgstr ""
  38091. #. type: item
  38092. #: guix-git/doc/guix.texi:25701
  38093. #, no-wrap
  38094. msgid "@code{mailer?} (default: @code{#true})"
  38095. msgstr ""
  38096. #. type: table
  38097. #: guix-git/doc/guix.texi:25703
  38098. msgid "Whether to enable or disable the mailer component."
  38099. msgstr ""
  38100. #. type: code{#1}
  38101. #: guix-git/doc/guix.texi:25704
  38102. #, no-wrap
  38103. msgid "mumi-configuration-sender"
  38104. msgstr ""
  38105. #. type: table
  38106. #: guix-git/doc/guix.texi:25706
  38107. msgid "The email address used as the sender for comments."
  38108. msgstr ""
  38109. #. type: code{#1}
  38110. #: guix-git/doc/guix.texi:25707
  38111. #, no-wrap
  38112. msgid "mumi-configuration-smtp"
  38113. msgstr ""
  38114. #. type: table
  38115. #: guix-git/doc/guix.texi:25712
  38116. 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}."
  38117. msgstr ""
  38118. #. type: subsubheading
  38119. #: guix-git/doc/guix.texi:25717
  38120. #, no-wrap
  38121. msgid "FastCGI"
  38122. msgstr ""
  38123. #. type: cindex
  38124. #: guix-git/doc/guix.texi:25718
  38125. #, no-wrap
  38126. msgid "fastcgi"
  38127. msgstr ""
  38128. #. type: cindex
  38129. #: guix-git/doc/guix.texi:25719
  38130. #, no-wrap
  38131. msgid "fcgiwrap"
  38132. msgstr ""
  38133. #. type: Plain text
  38134. #: guix-git/doc/guix.texi:25726
  38135. 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."
  38136. msgstr ""
  38137. #. type: Plain text
  38138. #: guix-git/doc/guix.texi:25733
  38139. 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."
  38140. msgstr ""
  38141. #. type: defvr
  38142. #: guix-git/doc/guix.texi:25734
  38143. #, no-wrap
  38144. msgid "{Scheme Variable} fcgiwrap-service-type"
  38145. msgstr ""
  38146. #. type: defvr
  38147. #: guix-git/doc/guix.texi:25736
  38148. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  38149. msgstr ""
  38150. #. type: deftp
  38151. #: guix-git/doc/guix.texi:25738
  38152. #, no-wrap
  38153. msgid "{Data Type} fcgiwrap-configuration"
  38154. msgstr ""
  38155. #. type: deftp
  38156. #: guix-git/doc/guix.texi:25741
  38157. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  38158. msgstr ""
  38159. #. type: item
  38160. #: guix-git/doc/guix.texi:25742
  38161. #, no-wrap
  38162. msgid "@code{package} (default: @code{fcgiwrap})"
  38163. msgstr ""
  38164. #. type: table
  38165. #: guix-git/doc/guix.texi:25744
  38166. msgid "The fcgiwrap package to use."
  38167. msgstr ""
  38168. #. type: item
  38169. #: guix-git/doc/guix.texi:25745
  38170. #, no-wrap
  38171. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  38172. msgstr ""
  38173. #. type: table
  38174. #: guix-git/doc/guix.texi:25751
  38175. 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}."
  38176. msgstr ""
  38177. #. type: item
  38178. #: guix-git/doc/guix.texi:25752
  38179. #, no-wrap
  38180. msgid "@code{user} (default: @code{fcgiwrap})"
  38181. msgstr ""
  38182. #. type: itemx
  38183. #: guix-git/doc/guix.texi:25753
  38184. #, no-wrap
  38185. msgid "@code{group} (default: @code{fcgiwrap})"
  38186. msgstr ""
  38187. #. type: table
  38188. #: guix-git/doc/guix.texi:25758
  38189. 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."
  38190. msgstr ""
  38191. #. type: table
  38192. #: guix-git/doc/guix.texi:25765
  38193. 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."
  38194. msgstr ""
  38195. #. type: cindex
  38196. #: guix-git/doc/guix.texi:25768
  38197. #, no-wrap
  38198. msgid "php-fpm"
  38199. msgstr ""
  38200. #. type: Plain text
  38201. #: guix-git/doc/guix.texi:25771
  38202. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  38203. msgstr ""
  38204. #. type: Plain text
  38205. #: guix-git/doc/guix.texi:25773
  38206. msgid "These features include:"
  38207. msgstr ""
  38208. #. type: item
  38209. #: guix-git/doc/guix.texi:25774
  38210. #, no-wrap
  38211. msgid "Adaptive process spawning"
  38212. msgstr ""
  38213. #. type: item
  38214. #: guix-git/doc/guix.texi:25775
  38215. #, no-wrap
  38216. msgid "Basic statistics (similar to Apache's mod_status)"
  38217. msgstr ""
  38218. #. type: item
  38219. #: guix-git/doc/guix.texi:25776
  38220. #, no-wrap
  38221. msgid "Advanced process management with graceful stop/start"
  38222. msgstr ""
  38223. #. type: item
  38224. #: guix-git/doc/guix.texi:25777
  38225. #, no-wrap
  38226. msgid "Ability to start workers with different uid/gid/chroot/environment"
  38227. msgstr ""
  38228. #. type: itemize
  38229. #: guix-git/doc/guix.texi:25779
  38230. msgid "and different php.ini (replaces safe_mode)"
  38231. msgstr ""
  38232. #. type: item
  38233. #: guix-git/doc/guix.texi:25779
  38234. #, no-wrap
  38235. msgid "Stdout & stderr logging"
  38236. msgstr ""
  38237. #. type: item
  38238. #: guix-git/doc/guix.texi:25780
  38239. #, no-wrap
  38240. msgid "Emergency restart in case of accidental opcode cache destruction"
  38241. msgstr ""
  38242. #. type: item
  38243. #: guix-git/doc/guix.texi:25781
  38244. #, no-wrap
  38245. msgid "Accelerated upload support"
  38246. msgstr ""
  38247. #. type: item
  38248. #: guix-git/doc/guix.texi:25782
  38249. #, no-wrap
  38250. msgid "Support for a \"slowlog\""
  38251. msgstr ""
  38252. #. type: item
  38253. #: guix-git/doc/guix.texi:25783
  38254. #, no-wrap
  38255. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  38256. msgstr ""
  38257. #. type: itemize
  38258. #: guix-git/doc/guix.texi:25786
  38259. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  38260. msgstr ""
  38261. #. type: Plain text
  38262. #: guix-git/doc/guix.texi:25788
  38263. msgid "...@: and much more."
  38264. msgstr ""
  38265. #. type: defvr
  38266. #: guix-git/doc/guix.texi:25789
  38267. #, no-wrap
  38268. msgid "{Scheme Variable} php-fpm-service-type"
  38269. msgstr ""
  38270. #. type: defvr
  38271. #: guix-git/doc/guix.texi:25791
  38272. msgid "A Service type for @code{php-fpm}."
  38273. msgstr ""
  38274. #. type: deftp
  38275. #: guix-git/doc/guix.texi:25793
  38276. #, no-wrap
  38277. msgid "{Data Type} php-fpm-configuration"
  38278. msgstr ""
  38279. #. type: deftp
  38280. #: guix-git/doc/guix.texi:25795
  38281. msgid "Data Type for php-fpm service configuration."
  38282. msgstr ""
  38283. #. type: item
  38284. #: guix-git/doc/guix.texi:25796
  38285. #, no-wrap
  38286. msgid "@code{php} (default: @code{php})"
  38287. msgstr ""
  38288. #. type: table
  38289. #: guix-git/doc/guix.texi:25798
  38290. msgid "The php package to use."
  38291. msgstr ""
  38292. #. type: item
  38293. #: guix-git/doc/guix.texi:25798
  38294. #, no-wrap
  38295. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  38296. msgstr ""
  38297. #. type: table
  38298. #: guix-git/doc/guix.texi:25800
  38299. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  38300. msgstr ""
  38301. #. type: code{#1}
  38302. #: guix-git/doc/guix.texi:25801
  38303. #, no-wrap
  38304. msgid "\"ip.add.re.ss:port\""
  38305. msgstr ""
  38306. #. type: table
  38307. #: guix-git/doc/guix.texi:25803
  38308. msgid "Listen on a TCP socket to a specific address on a specific port."
  38309. msgstr ""
  38310. #. type: code{#1}
  38311. #: guix-git/doc/guix.texi:25803
  38312. #, no-wrap
  38313. msgid "\"port\""
  38314. msgstr ""
  38315. #. type: table
  38316. #: guix-git/doc/guix.texi:25805
  38317. msgid "Listen on a TCP socket to all addresses on a specific port."
  38318. msgstr ""
  38319. #. type: code{#1}
  38320. #: guix-git/doc/guix.texi:25805
  38321. #, no-wrap
  38322. msgid "\"/path/to/unix/socket\""
  38323. msgstr ""
  38324. #. type: table
  38325. #: guix-git/doc/guix.texi:25807
  38326. msgid "Listen on a unix socket."
  38327. msgstr ""
  38328. #. type: item
  38329. #: guix-git/doc/guix.texi:25809
  38330. #, no-wrap
  38331. msgid "@code{user} (default: @code{php-fpm})"
  38332. msgstr ""
  38333. #. type: table
  38334. #: guix-git/doc/guix.texi:25811
  38335. msgid "User who will own the php worker processes."
  38336. msgstr ""
  38337. #. type: item
  38338. #: guix-git/doc/guix.texi:25811
  38339. #, no-wrap
  38340. msgid "@code{group} (default: @code{php-fpm})"
  38341. msgstr ""
  38342. #. type: table
  38343. #: guix-git/doc/guix.texi:25813
  38344. msgid "Group of the worker processes."
  38345. msgstr ""
  38346. #. type: item
  38347. #: guix-git/doc/guix.texi:25813
  38348. #, no-wrap
  38349. msgid "@code{socket-user} (default: @code{php-fpm})"
  38350. msgstr ""
  38351. #. type: table
  38352. #: guix-git/doc/guix.texi:25815
  38353. msgid "User who can speak to the php-fpm socket."
  38354. msgstr ""
  38355. #. type: item
  38356. #: guix-git/doc/guix.texi:25815
  38357. #, no-wrap
  38358. msgid "@code{socket-group} (default: @code{nginx})"
  38359. msgstr ""
  38360. #. type: table
  38361. #: guix-git/doc/guix.texi:25817
  38362. msgid "Group that can speak to the php-fpm socket."
  38363. msgstr ""
  38364. #. type: item
  38365. #: guix-git/doc/guix.texi:25817
  38366. #, no-wrap
  38367. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  38368. msgstr ""
  38369. #. type: table
  38370. #: guix-git/doc/guix.texi:25820
  38371. msgid "The process id of the php-fpm process is written to this file once the service has started."
  38372. msgstr ""
  38373. #. type: item
  38374. #: guix-git/doc/guix.texi:25820
  38375. #, no-wrap
  38376. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  38377. msgstr ""
  38378. #. type: table
  38379. #: guix-git/doc/guix.texi:25822
  38380. msgid "Log for the php-fpm master process."
  38381. msgstr ""
  38382. #. type: item
  38383. #: guix-git/doc/guix.texi:25822
  38384. #, no-wrap
  38385. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  38386. msgstr ""
  38387. #. type: table
  38388. #: guix-git/doc/guix.texi:25825
  38389. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  38390. msgstr ""
  38391. #. type: code{#1}
  38392. #: guix-git/doc/guix.texi:25826
  38393. #, no-wrap
  38394. msgid "<php-fpm-dynamic-process-manager-configuration>"
  38395. msgstr ""
  38396. #. type: code{#1}
  38397. #: guix-git/doc/guix.texi:25827
  38398. #, no-wrap
  38399. msgid "<php-fpm-static-process-manager-configuration>"
  38400. msgstr ""
  38401. #. type: code{#1}
  38402. #: guix-git/doc/guix.texi:25828
  38403. #, no-wrap
  38404. msgid "<php-fpm-on-demand-process-manager-configuration>"
  38405. msgstr ""
  38406. #. type: item
  38407. #: guix-git/doc/guix.texi:25830
  38408. #, no-wrap
  38409. msgid "@code{display-errors} (default @code{#f})"
  38410. msgstr ""
  38411. #. type: table
  38412. #: guix-git/doc/guix.texi:25835
  38413. 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."
  38414. msgstr ""
  38415. #. type: item
  38416. #: guix-git/doc/guix.texi:25835
  38417. #, no-wrap
  38418. msgid "@code{timezone} (default @code{#f})"
  38419. msgstr ""
  38420. #. type: table
  38421. #: guix-git/doc/guix.texi:25837
  38422. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  38423. msgstr ""
  38424. #. type: item
  38425. #: guix-git/doc/guix.texi:25837
  38426. #, no-wrap
  38427. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  38428. msgstr ""
  38429. #. type: table
  38430. #: guix-git/doc/guix.texi:25840
  38431. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  38432. msgstr ""
  38433. #. type: item
  38434. #: guix-git/doc/guix.texi:25840
  38435. #, no-wrap
  38436. msgid "@code{file} (default @code{#f})"
  38437. msgstr ""
  38438. #. type: table
  38439. #: guix-git/doc/guix.texi:25843
  38440. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  38441. msgstr ""
  38442. #. type: item
  38443. #: guix-git/doc/guix.texi:25843
  38444. #, no-wrap
  38445. msgid "@code{php-ini-file} (default @code{#f})"
  38446. msgstr ""
  38447. #. type: table
  38448. #: guix-git/doc/guix.texi:25847
  38449. 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."
  38450. msgstr ""
  38451. #. type: table
  38452. #: guix-git/doc/guix.texi:25851
  38453. 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:"
  38454. msgstr ""
  38455. #. type: lisp
  38456. #: guix-git/doc/guix.texi:25856
  38457. #, no-wrap
  38458. msgid ""
  38459. "(define %local-php-ini\n"
  38460. " (plain-file \"php.ini\"\n"
  38461. " \"memory_limit = 2G\n"
  38462. "max_execution_time = 1800\"))\n"
  38463. "\n"
  38464. msgstr ""
  38465. #. type: lisp
  38466. #: guix-git/doc/guix.texi:25863
  38467. #, no-wrap
  38468. msgid ""
  38469. "(operating-system\n"
  38470. " ;; @dots{}\n"
  38471. " (services (cons (service php-fpm-service-type\n"
  38472. " (php-fpm-configuration\n"
  38473. " (php-ini-file %local-php-ini)))\n"
  38474. " %base-services)))\n"
  38475. msgstr ""
  38476. #. type: table
  38477. #: guix-git/doc/guix.texi:25868
  38478. 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."
  38479. msgstr ""
  38480. #. type: deftp
  38481. #: guix-git/doc/guix.texi:25871
  38482. #, no-wrap
  38483. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  38484. msgstr ""
  38485. #. type: deftp
  38486. #: guix-git/doc/guix.texi:25875
  38487. 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."
  38488. msgstr ""
  38489. #. type: item
  38490. #: guix-git/doc/guix.texi:25876 guix-git/doc/guix.texi:25892
  38491. #: guix-git/doc/guix.texi:25902
  38492. #, no-wrap
  38493. msgid "@code{max-children} (default: @code{5})"
  38494. msgstr ""
  38495. #. type: table
  38496. #: guix-git/doc/guix.texi:25878 guix-git/doc/guix.texi:25894
  38497. #: guix-git/doc/guix.texi:25904
  38498. msgid "Maximum of worker processes."
  38499. msgstr ""
  38500. #. type: item
  38501. #: guix-git/doc/guix.texi:25878
  38502. #, no-wrap
  38503. msgid "@code{start-servers} (default: @code{2})"
  38504. msgstr ""
  38505. #. type: table
  38506. #: guix-git/doc/guix.texi:25880
  38507. msgid "How many worker processes should be started on start-up."
  38508. msgstr ""
  38509. #. type: item
  38510. #: guix-git/doc/guix.texi:25880
  38511. #, no-wrap
  38512. msgid "@code{min-spare-servers} (default: @code{1})"
  38513. msgstr ""
  38514. #. type: table
  38515. #: guix-git/doc/guix.texi:25882
  38516. msgid "How many spare worker processes should be kept around at minimum."
  38517. msgstr ""
  38518. #. type: item
  38519. #: guix-git/doc/guix.texi:25882
  38520. #, no-wrap
  38521. msgid "@code{max-spare-servers} (default: @code{3})"
  38522. msgstr ""
  38523. #. type: table
  38524. #: guix-git/doc/guix.texi:25884
  38525. msgid "How many spare worker processes should be kept around at maximum."
  38526. msgstr ""
  38527. #. type: deftp
  38528. #: guix-git/doc/guix.texi:25887
  38529. #, no-wrap
  38530. msgid "{Data type} php-fpm-static-process-manager-configuration"
  38531. msgstr ""
  38532. #. type: deftp
  38533. #: guix-git/doc/guix.texi:25891
  38534. 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."
  38535. msgstr ""
  38536. #. type: deftp
  38537. #: guix-git/doc/guix.texi:25897
  38538. #, no-wrap
  38539. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  38540. msgstr ""
  38541. #. type: deftp
  38542. #: guix-git/doc/guix.texi:25901
  38543. 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."
  38544. msgstr ""
  38545. #. type: item
  38546. #: guix-git/doc/guix.texi:25904
  38547. #, no-wrap
  38548. msgid "@code{process-idle-timeout} (default: @code{10})"
  38549. msgstr ""
  38550. #. type: table
  38551. #: guix-git/doc/guix.texi:25906
  38552. msgid "The time in seconds after which a process with no requests is killed."
  38553. msgstr ""
  38554. #. type: deffn
  38555. #: guix-git/doc/guix.texi:25910
  38556. #, no-wrap
  38557. msgid "{Scheme Procedure} nginx-php-location @"
  38558. msgstr ""
  38559. #. type: deffn
  38560. #: guix-git/doc/guix.texi:25916
  38561. 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}."
  38562. msgstr ""
  38563. #. type: Plain text
  38564. #: guix-git/doc/guix.texi:25919
  38565. msgid "A simple services setup for nginx with php can look like this:"
  38566. msgstr ""
  38567. #. type: lisp
  38568. #: guix-git/doc/guix.texi:25932
  38569. #, no-wrap
  38570. msgid ""
  38571. "(services (cons* (service dhcp-client-service-type)\n"
  38572. " (service php-fpm-service-type)\n"
  38573. " (service nginx-service-type\n"
  38574. " (nginx-server-configuration\n"
  38575. " (server-name '(\"example.com\"))\n"
  38576. " (root \"/srv/http/\")\n"
  38577. " (locations\n"
  38578. " (list (nginx-php-location)))\n"
  38579. " (listen '(\"80\"))\n"
  38580. " (ssl-certificate #f)\n"
  38581. " (ssl-certificate-key #f)))\n"
  38582. " %base-services))\n"
  38583. msgstr ""
  38584. #. type: cindex
  38585. #: guix-git/doc/guix.texi:25934
  38586. #, no-wrap
  38587. msgid "cat-avatar-generator"
  38588. msgstr ""
  38589. #. type: Plain text
  38590. #: guix-git/doc/guix.texi:25938
  38591. 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."
  38592. msgstr ""
  38593. #. type: deffn
  38594. #: guix-git/doc/guix.texi:25939
  38595. #, no-wrap
  38596. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  38597. msgstr ""
  38598. #. type: deffn
  38599. #: guix-git/doc/guix.texi:25947
  38600. 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."
  38601. msgstr ""
  38602. #. type: Plain text
  38603. #: guix-git/doc/guix.texi:25950
  38604. msgid "A simple setup for cat-avatar-generator can look like this:"
  38605. msgstr ""
  38606. #. type: lisp
  38607. #: guix-git/doc/guix.texi:25957
  38608. #, no-wrap
  38609. msgid ""
  38610. "(services (cons* (cat-avatar-generator-service\n"
  38611. " #:configuration\n"
  38612. " (nginx-server-configuration\n"
  38613. " (server-name '(\"example.com\"))))\n"
  38614. " ...\n"
  38615. " %base-services))\n"
  38616. msgstr ""
  38617. #. type: subsubheading
  38618. #: guix-git/doc/guix.texi:25959
  38619. #, no-wrap
  38620. msgid "Hpcguix-web"
  38621. msgstr ""
  38622. #. type: cindex
  38623. #: guix-git/doc/guix.texi:25961
  38624. #, no-wrap
  38625. msgid "hpcguix-web"
  38626. msgstr ""
  38627. #. type: Plain text
  38628. #: guix-git/doc/guix.texi:25966
  38629. 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."
  38630. msgstr ""
  38631. #. type: defvr
  38632. #: guix-git/doc/guix.texi:25967
  38633. #, no-wrap
  38634. msgid "{Scheme Variable} hpcguix-web-service-type"
  38635. msgstr ""
  38636. #. type: defvr
  38637. #: guix-git/doc/guix.texi:25969
  38638. msgid "The service type for @code{hpcguix-web}."
  38639. msgstr ""
  38640. #. type: deftp
  38641. #: guix-git/doc/guix.texi:25971
  38642. #, no-wrap
  38643. msgid "{Data Type} hpcguix-web-configuration"
  38644. msgstr ""
  38645. #. type: deftp
  38646. #: guix-git/doc/guix.texi:25973
  38647. msgid "Data type for the hpcguix-web service configuration."
  38648. msgstr ""
  38649. #. type: code{#1}
  38650. #: guix-git/doc/guix.texi:25975
  38651. #, no-wrap
  38652. msgid "specs"
  38653. msgstr ""
  38654. #. type: table
  38655. #: guix-git/doc/guix.texi:25978
  38656. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  38657. msgstr ""
  38658. #. type: item
  38659. #: guix-git/doc/guix.texi:25980
  38660. #, no-wrap
  38661. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  38662. msgstr ""
  38663. #. type: table
  38664. #: guix-git/doc/guix.texi:25982
  38665. msgid "The page title prefix."
  38666. msgstr ""
  38667. #. type: item
  38668. #: guix-git/doc/guix.texi:25983
  38669. #, no-wrap
  38670. msgid "@code{guix-command} (default: @code{\"guix\"})"
  38671. msgstr ""
  38672. #. type: table
  38673. #: guix-git/doc/guix.texi:25985
  38674. msgid "The @command{guix} command."
  38675. msgstr ""
  38676. #. type: item
  38677. #: guix-git/doc/guix.texi:25986
  38678. #, no-wrap
  38679. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  38680. msgstr ""
  38681. #. type: table
  38682. #: guix-git/doc/guix.texi:25988
  38683. msgid "A procedure specifying how to filter packages that are displayed."
  38684. msgstr ""
  38685. #. type: item
  38686. #: guix-git/doc/guix.texi:25989
  38687. #, no-wrap
  38688. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  38689. msgstr ""
  38690. #. type: table
  38691. #: guix-git/doc/guix.texi:25991
  38692. msgid "Extension package for @code{hpcguix-web}."
  38693. msgstr ""
  38694. #. type: item
  38695. #: guix-git/doc/guix.texi:25992
  38696. #, no-wrap
  38697. msgid "@code{menu} (default: @code{'()})"
  38698. msgstr ""
  38699. #. type: table
  38700. #: guix-git/doc/guix.texi:25994
  38701. msgid "Additional entry in page @code{menu}."
  38702. msgstr ""
  38703. #. type: item
  38704. #: guix-git/doc/guix.texi:25995
  38705. #, no-wrap
  38706. msgid "@code{channels} (default: @code{%default-channels})"
  38707. msgstr ""
  38708. #. type: table
  38709. #: guix-git/doc/guix.texi:25997
  38710. msgid "List of channels from which the package list is built (@pxref{Channels})."
  38711. msgstr ""
  38712. #. type: item
  38713. #: guix-git/doc/guix.texi:25998
  38714. #, no-wrap
  38715. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  38716. msgstr ""
  38717. #. type: table
  38718. #: guix-git/doc/guix.texi:26001
  38719. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  38720. msgstr ""
  38721. #. type: table
  38722. #: guix-git/doc/guix.texi:26006
  38723. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  38724. msgstr ""
  38725. #. type: item
  38726. #: guix-git/doc/guix.texi:26007
  38727. #, no-wrap
  38728. msgid "@code{package} (default: @code{hpcguix-web})"
  38729. msgstr ""
  38730. #. type: table
  38731. #: guix-git/doc/guix.texi:26009
  38732. msgid "The hpcguix-web package to use."
  38733. msgstr ""
  38734. #. type: Plain text
  38735. #: guix-git/doc/guix.texi:26013
  38736. msgid "A typical hpcguix-web service declaration looks like this:"
  38737. msgstr ""
  38738. #. type: lisp
  38739. #: guix-git/doc/guix.texi:26022
  38740. #, no-wrap
  38741. msgid ""
  38742. "(service hpcguix-web-service-type\n"
  38743. " (hpcguix-web-configuration\n"
  38744. " (specs\n"
  38745. " #~(define site-config\n"
  38746. " (hpcweb-configuration\n"
  38747. " (title-prefix \"Guix-HPC - \")\n"
  38748. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  38749. msgstr ""
  38750. #. type: quotation
  38751. #: guix-git/doc/guix.texi:26029
  38752. 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."
  38753. msgstr ""
  38754. #. type: quotation
  38755. #: guix-git/doc/guix.texi:26033
  38756. 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."
  38757. msgstr ""
  38758. #. type: cindex
  38759. #: guix-git/doc/guix.texi:26035 guix-git/doc/guix.texi:26037
  38760. #, no-wrap
  38761. msgid "gmnisrv"
  38762. msgstr ""
  38763. #. type: Plain text
  38764. #: guix-git/doc/guix.texi:26040
  38765. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  38766. msgstr ""
  38767. #. type: deffn
  38768. #: guix-git/doc/guix.texi:26041
  38769. #, no-wrap
  38770. msgid "{Scheme Variable} gmnisrv-service-type"
  38771. msgstr ""
  38772. #. type: deffn
  38773. #: guix-git/doc/guix.texi:26044
  38774. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  38775. msgstr ""
  38776. #. type: lisp
  38777. #: guix-git/doc/guix.texi:26049
  38778. #, no-wrap
  38779. msgid ""
  38780. "(service gmnisrv-service-type\n"
  38781. " (gmnisrv-configuration\n"
  38782. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  38783. msgstr ""
  38784. #. type: deftp
  38785. #: guix-git/doc/guix.texi:26052
  38786. #, no-wrap
  38787. msgid "{Data Type} gmnisrv-configuration"
  38788. msgstr ""
  38789. #. type: deftp
  38790. #: guix-git/doc/guix.texi:26054
  38791. msgid "Data type representing the configuration of gmnisrv."
  38792. msgstr ""
  38793. #. type: item
  38794. #: guix-git/doc/guix.texi:26056
  38795. #, no-wrap
  38796. msgid "@code{package} (default: @var{gmnisrv})"
  38797. msgstr ""
  38798. #. type: table
  38799. #: guix-git/doc/guix.texi:26058
  38800. msgid "Package object of the gmnisrv server."
  38801. msgstr ""
  38802. #. type: item
  38803. #: guix-git/doc/guix.texi:26059
  38804. #, no-wrap
  38805. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  38806. msgstr ""
  38807. #. type: table
  38808. #: guix-git/doc/guix.texi:26065
  38809. 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}."
  38810. msgstr ""
  38811. #. type: subsubheading
  38812. #: guix-git/doc/guix.texi:26069
  38813. #, no-wrap
  38814. msgid "Agate"
  38815. msgstr ""
  38816. #. type: cindex
  38817. #: guix-git/doc/guix.texi:26071
  38818. #, no-wrap
  38819. msgid "agate"
  38820. msgstr ""
  38821. #. type: Plain text
  38822. #: guix-git/doc/guix.texi:26076
  38823. 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."
  38824. msgstr ""
  38825. #. type: deffn
  38826. #: guix-git/doc/guix.texi:26077
  38827. #, no-wrap
  38828. msgid "{Scheme Variable} agate-service-type"
  38829. msgstr ""
  38830. #. type: deffn
  38831. #: guix-git/doc/guix.texi:26080
  38832. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  38833. msgstr ""
  38834. #. type: lisp
  38835. #: guix-git/doc/guix.texi:26087
  38836. #, no-wrap
  38837. msgid ""
  38838. "(service agate-service-type\n"
  38839. "\t (agate-configuration\n"
  38840. "\t (content \"/srv/gemini\")\n"
  38841. "\t (cert \"/srv/cert.pem\")\n"
  38842. "\t (key \"/srv/key.rsa\")))\n"
  38843. msgstr ""
  38844. #. type: deffn
  38845. #: guix-git/doc/guix.texi:26092
  38846. 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."
  38847. msgstr ""
  38848. #. type: deffn
  38849. #: guix-git/doc/guix.texi:26095
  38850. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  38851. msgstr ""
  38852. #. type: example
  38853. #: guix-git/doc/guix.texi:26099
  38854. #, no-wrap
  38855. msgid ""
  38856. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  38857. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  38858. msgstr ""
  38859. #. type: deffn
  38860. #: guix-git/doc/guix.texi:26104
  38861. 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."
  38862. msgstr ""
  38863. #. type: deftp
  38864. #: guix-git/doc/guix.texi:26107
  38865. #, no-wrap
  38866. msgid "{Data Type} agate-configuration"
  38867. msgstr ""
  38868. #. type: deftp
  38869. #: guix-git/doc/guix.texi:26109
  38870. msgid "Data type representing the configuration of Agate."
  38871. msgstr ""
  38872. #. type: item
  38873. #: guix-git/doc/guix.texi:26111
  38874. #, no-wrap
  38875. msgid "@code{package} (default: @code{agate})"
  38876. msgstr ""
  38877. #. type: table
  38878. #: guix-git/doc/guix.texi:26113
  38879. msgid "The package object of the Agate server."
  38880. msgstr ""
  38881. #. type: item
  38882. #: guix-git/doc/guix.texi:26114
  38883. #, no-wrap
  38884. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  38885. msgstr ""
  38886. #. type: table
  38887. #: guix-git/doc/guix.texi:26116
  38888. msgid "The directory from which Agate will serve files."
  38889. msgstr ""
  38890. #. type: item
  38891. #: guix-git/doc/guix.texi:26117
  38892. #, no-wrap
  38893. msgid "@code{cert} (default: @code{#f})"
  38894. msgstr ""
  38895. #. type: table
  38896. #: guix-git/doc/guix.texi:26120
  38897. 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."
  38898. msgstr ""
  38899. #. type: item
  38900. #: guix-git/doc/guix.texi:26121 guix-git/doc/guix.texi:26557
  38901. #, no-wrap
  38902. msgid "@code{key} (default: @code{#f})"
  38903. msgstr ""
  38904. #. type: table
  38905. #: guix-git/doc/guix.texi:26124
  38906. 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."
  38907. msgstr ""
  38908. #. type: item
  38909. #: guix-git/doc/guix.texi:26125
  38910. #, no-wrap
  38911. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  38912. msgstr ""
  38913. #. type: table
  38914. #: guix-git/doc/guix.texi:26127
  38915. msgid "A list of the addresses to listen on."
  38916. msgstr ""
  38917. #. type: table
  38918. #: guix-git/doc/guix.texi:26130
  38919. msgid "The domain name of this Gemini server. Optional."
  38920. msgstr ""
  38921. #. type: item
  38922. #: guix-git/doc/guix.texi:26131
  38923. #, no-wrap
  38924. msgid "@code{lang} (default: @code{#f})"
  38925. msgstr ""
  38926. #. type: table
  38927. #: guix-git/doc/guix.texi:26133
  38928. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  38929. msgstr ""
  38930. #. type: item
  38931. #: guix-git/doc/guix.texi:26134
  38932. #, no-wrap
  38933. msgid "@code{silent?} (default: @code{#f})"
  38934. msgstr ""
  38935. #. type: table
  38936. #: guix-git/doc/guix.texi:26136
  38937. msgid "Set to @code{#t} to disable logging output."
  38938. msgstr ""
  38939. #. type: item
  38940. #: guix-git/doc/guix.texi:26137
  38941. #, no-wrap
  38942. msgid "@code{serve-secret?} (default: @code{#f})"
  38943. msgstr ""
  38944. #. type: table
  38945. #: guix-git/doc/guix.texi:26140
  38946. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  38947. msgstr ""
  38948. #. type: item
  38949. #: guix-git/doc/guix.texi:26141
  38950. #, no-wrap
  38951. msgid "@code{log-ip?} (default: @code{#t})"
  38952. msgstr ""
  38953. #. type: table
  38954. #: guix-git/doc/guix.texi:26143
  38955. msgid "Whether or not to output IP addresses when logging."
  38956. msgstr ""
  38957. #. type: item
  38958. #: guix-git/doc/guix.texi:26144
  38959. #, no-wrap
  38960. msgid "@code{user} (default: @code{\"agate\"})"
  38961. msgstr ""
  38962. #. type: table
  38963. #: guix-git/doc/guix.texi:26146
  38964. msgid "Owner of the @code{agate} process."
  38965. msgstr ""
  38966. #. type: item
  38967. #: guix-git/doc/guix.texi:26147
  38968. #, no-wrap
  38969. msgid "@code{group} (default: @code{\"agate\"})"
  38970. msgstr ""
  38971. #. type: table
  38972. #: guix-git/doc/guix.texi:26149
  38973. msgid "Owner's group of the @code{agate} process."
  38974. msgstr ""
  38975. #. type: item
  38976. #: guix-git/doc/guix.texi:26150
  38977. #, no-wrap
  38978. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  38979. msgstr ""
  38980. #. type: table
  38981. #: guix-git/doc/guix.texi:26152
  38982. msgid "The file which should store the logging output of Agate."
  38983. msgstr ""
  38984. #. type: cindex
  38985. #: guix-git/doc/guix.texi:26159
  38986. #, no-wrap
  38987. msgid "Web"
  38988. msgstr ""
  38989. #. type: cindex
  38990. #: guix-git/doc/guix.texi:26160
  38991. #, no-wrap
  38992. msgid "HTTP, HTTPS"
  38993. msgstr ""
  38994. #. type: cindex
  38995. #: guix-git/doc/guix.texi:26161
  38996. #, no-wrap
  38997. msgid "Let's Encrypt"
  38998. msgstr ""
  38999. #. type: cindex
  39000. #: guix-git/doc/guix.texi:26162
  39001. #, no-wrap
  39002. msgid "TLS certificates"
  39003. msgstr ""
  39004. #. type: Plain text
  39005. #: guix-git/doc/guix.texi:26169
  39006. 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."
  39007. msgstr ""
  39008. #. type: Plain text
  39009. #: guix-git/doc/guix.texi:26181
  39010. 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."
  39011. msgstr ""
  39012. #. type: Plain text
  39013. #: guix-git/doc/guix.texi:26188
  39014. 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)."
  39015. msgstr ""
  39016. #. type: Plain text
  39017. #: guix-git/doc/guix.texi:26194
  39018. 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."
  39019. msgstr ""
  39020. #. type: Plain text
  39021. #: guix-git/doc/guix.texi:26198
  39022. 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}."
  39023. msgstr ""
  39024. #. type: defvr
  39025. #: guix-git/doc/guix.texi:26199
  39026. #, no-wrap
  39027. msgid "{Scheme Variable} certbot-service-type"
  39028. msgstr ""
  39029. #. type: defvr
  39030. #: guix-git/doc/guix.texi:26202
  39031. 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:"
  39032. msgstr ""
  39033. #. type: lisp
  39034. #: guix-git/doc/guix.texi:26209
  39035. #, no-wrap
  39036. msgid ""
  39037. "(define %nginx-deploy-hook\n"
  39038. " (program-file\n"
  39039. " \"nginx-deploy-hook\"\n"
  39040. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  39041. " (kill pid SIGHUP))))\n"
  39042. "\n"
  39043. msgstr ""
  39044. #. type: lisp
  39045. #: guix-git/doc/guix.texi:26220
  39046. #, no-wrap
  39047. msgid ""
  39048. "(service certbot-service-type\n"
  39049. " (certbot-configuration\n"
  39050. " (email \"foo@@example.net\")\n"
  39051. " (certificates\n"
  39052. " (list\n"
  39053. " (certificate-configuration\n"
  39054. " (domains '(\"example.net\" \"www.example.net\"))\n"
  39055. " (deploy-hook %nginx-deploy-hook))\n"
  39056. " (certificate-configuration\n"
  39057. " (domains '(\"bar.example.net\")))))))\n"
  39058. msgstr ""
  39059. #. type: defvr
  39060. #: guix-git/doc/guix.texi:26223
  39061. msgid "See below for details about @code{certbot-configuration}."
  39062. msgstr ""
  39063. #. type: deftp
  39064. #: guix-git/doc/guix.texi:26225
  39065. #, no-wrap
  39066. msgid "{Data Type} certbot-configuration"
  39067. msgstr ""
  39068. #. type: deftp
  39069. #: guix-git/doc/guix.texi:26228
  39070. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  39071. msgstr ""
  39072. #. type: item
  39073. #: guix-git/doc/guix.texi:26230
  39074. #, no-wrap
  39075. msgid "@code{package} (default: @code{certbot})"
  39076. msgstr ""
  39077. #. type: table
  39078. #: guix-git/doc/guix.texi:26232
  39079. msgid "The certbot package to use."
  39080. msgstr ""
  39081. #. type: item
  39082. #: guix-git/doc/guix.texi:26233
  39083. #, no-wrap
  39084. msgid "@code{webroot} (default: @code{/var/www})"
  39085. msgstr ""
  39086. #. type: table
  39087. #: guix-git/doc/guix.texi:26236
  39088. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  39089. msgstr ""
  39090. #. type: item
  39091. #: guix-git/doc/guix.texi:26237
  39092. #, no-wrap
  39093. msgid "@code{certificates} (default: @code{()})"
  39094. msgstr ""
  39095. #. type: table
  39096. #: guix-git/doc/guix.texi:26241
  39097. 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}."
  39098. msgstr ""
  39099. #. type: item
  39100. #: guix-git/doc/guix.texi:26242
  39101. #, no-wrap
  39102. msgid "@code{email} (default: @code{#f})"
  39103. msgstr ""
  39104. #. type: table
  39105. #: guix-git/doc/guix.texi:26246
  39106. 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."
  39107. msgstr ""
  39108. #. type: item
  39109. #: guix-git/doc/guix.texi:26247 guix-git/doc/guix.texi:27991
  39110. #, no-wrap
  39111. msgid "@code{server} (default: @code{#f})"
  39112. msgstr ""
  39113. #. type: table
  39114. #: guix-git/doc/guix.texi:26250
  39115. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  39116. msgstr ""
  39117. #. type: item
  39118. #: guix-git/doc/guix.texi:26251
  39119. #, no-wrap
  39120. msgid "@code{rsa-key-size} (default: @code{2048})"
  39121. msgstr ""
  39122. #. type: table
  39123. #: guix-git/doc/guix.texi:26253
  39124. msgid "Size of the RSA key."
  39125. msgstr ""
  39126. #. type: item
  39127. #: guix-git/doc/guix.texi:26254
  39128. #, no-wrap
  39129. msgid "@code{default-location} (default: @i{see below})"
  39130. msgstr ""
  39131. #. type: table
  39132. #: guix-git/doc/guix.texi:26263
  39133. 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."
  39134. msgstr ""
  39135. #. type: table
  39136. #: guix-git/doc/guix.texi:26267
  39137. 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."
  39138. msgstr ""
  39139. #. type: table
  39140. #: guix-git/doc/guix.texi:26271
  39141. 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}."
  39142. msgstr ""
  39143. #. type: table
  39144. #: guix-git/doc/guix.texi:26273
  39145. msgid "Pass @code{#f} to not issue a default location."
  39146. msgstr ""
  39147. #. type: deftp
  39148. #: guix-git/doc/guix.texi:26276
  39149. #, no-wrap
  39150. msgid "{Data Type} certificate-configuration"
  39151. msgstr ""
  39152. #. type: deftp
  39153. #: guix-git/doc/guix.texi:26279
  39154. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  39155. msgstr ""
  39156. #. type: item
  39157. #: guix-git/doc/guix.texi:26281
  39158. #, no-wrap
  39159. msgid "@code{name} (default: @i{see below})"
  39160. msgstr ""
  39161. #. type: table
  39162. #: guix-git/doc/guix.texi:26285
  39163. 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}."
  39164. msgstr ""
  39165. #. type: table
  39166. #: guix-git/doc/guix.texi:26287
  39167. msgid "Its default is the first provided domain."
  39168. msgstr ""
  39169. #. type: item
  39170. #: guix-git/doc/guix.texi:26288
  39171. #, no-wrap
  39172. msgid "@code{domains} (default: @code{()})"
  39173. msgstr ""
  39174. #. type: table
  39175. #: guix-git/doc/guix.texi:26291
  39176. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  39177. msgstr ""
  39178. #. type: item
  39179. #: guix-git/doc/guix.texi:26292
  39180. #, no-wrap
  39181. msgid "@code{challenge} (default: @code{#f})"
  39182. msgstr ""
  39183. #. type: table
  39184. #: guix-git/doc/guix.texi:26299
  39185. 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."
  39186. msgstr ""
  39187. #. type: item
  39188. #: guix-git/doc/guix.texi:26300
  39189. #, no-wrap
  39190. msgid "@code{csr} (default: @code{#f})"
  39191. msgstr ""
  39192. #. type: table
  39193. #: guix-git/doc/guix.texi:26307
  39194. 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."
  39195. msgstr ""
  39196. #. type: item
  39197. #: guix-git/doc/guix.texi:26308
  39198. #, no-wrap
  39199. msgid "@code{authentication-hook} (default: @code{#f})"
  39200. msgstr ""
  39201. #. type: table
  39202. #: guix-git/doc/guix.texi:26314
  39203. 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."
  39204. msgstr ""
  39205. #. type: item
  39206. #: guix-git/doc/guix.texi:26315
  39207. #, no-wrap
  39208. msgid "@code{cleanup-hook} (default: @code{#f})"
  39209. msgstr ""
  39210. #. type: table
  39211. #: guix-git/doc/guix.texi:26321
  39212. 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."
  39213. msgstr ""
  39214. #. type: item
  39215. #: guix-git/doc/guix.texi:26322
  39216. #, no-wrap
  39217. msgid "@code{deploy-hook} (default: @code{#f})"
  39218. msgstr ""
  39219. #. type: table
  39220. #: guix-git/doc/guix.texi:26330
  39221. 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\"}."
  39222. msgstr ""
  39223. #. type: Plain text
  39224. #: guix-git/doc/guix.texi:26337
  39225. 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}."
  39226. msgstr ""
  39227. #. type: cindex
  39228. #: guix-git/doc/guix.texi:26339
  39229. #, no-wrap
  39230. msgid "DNS (domain name system)"
  39231. msgstr ""
  39232. #. type: cindex
  39233. #: guix-git/doc/guix.texi:26340
  39234. #, no-wrap
  39235. msgid "domain name system (DNS)"
  39236. msgstr ""
  39237. #. type: Plain text
  39238. #: guix-git/doc/guix.texi:26348
  39239. 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}."
  39240. msgstr ""
  39241. #. type: subsubheading
  39242. #: guix-git/doc/guix.texi:26349
  39243. #, no-wrap
  39244. msgid "Knot Service"
  39245. msgstr ""
  39246. #. type: Plain text
  39247. #: guix-git/doc/guix.texi:26353
  39248. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  39249. msgstr ""
  39250. #. type: lisp
  39251. #: guix-git/doc/guix.texi:26360
  39252. #, no-wrap
  39253. msgid ""
  39254. "(define-zone-entries example.org.zone\n"
  39255. ";; Name TTL Class Type Data\n"
  39256. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  39257. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  39258. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  39259. "\n"
  39260. msgstr ""
  39261. #. type: lisp
  39262. #: guix-git/doc/guix.texi:26367
  39263. #, no-wrap
  39264. msgid ""
  39265. "(define master-zone\n"
  39266. " (knot-zone-configuration\n"
  39267. " (domain \"example.org\")\n"
  39268. " (zone (zone-file\n"
  39269. " (origin \"example.org\")\n"
  39270. " (entries example.org.zone)))))\n"
  39271. "\n"
  39272. msgstr ""
  39273. #. type: lisp
  39274. #: guix-git/doc/guix.texi:26373
  39275. #, no-wrap
  39276. msgid ""
  39277. "(define slave-zone\n"
  39278. " (knot-zone-configuration\n"
  39279. " (domain \"plop.org\")\n"
  39280. " (dnssec-policy \"default\")\n"
  39281. " (master (list \"plop-master\"))))\n"
  39282. "\n"
  39283. msgstr ""
  39284. #. type: lisp
  39285. #: guix-git/doc/guix.texi:26378
  39286. #, no-wrap
  39287. msgid ""
  39288. "(define plop-master\n"
  39289. " (knot-remote-configuration\n"
  39290. " (id \"plop-master\")\n"
  39291. " (address (list \"208.76.58.171\"))))\n"
  39292. "\n"
  39293. msgstr ""
  39294. #. type: lisp
  39295. #: guix-git/doc/guix.texi:26387
  39296. #, no-wrap
  39297. msgid ""
  39298. "(operating-system\n"
  39299. " ;; ...\n"
  39300. " (services (cons* (service knot-service-type\n"
  39301. " (knot-configuration\n"
  39302. " (remotes (list plop-master))\n"
  39303. " (zones (list master-zone slave-zone))))\n"
  39304. " ;; ...\n"
  39305. " %base-services)))\n"
  39306. msgstr ""
  39307. #. type: deffn
  39308. #: guix-git/doc/guix.texi:26389
  39309. #, no-wrap
  39310. msgid "{Scheme Variable} knot-service-type"
  39311. msgstr ""
  39312. #. type: deffn
  39313. #: guix-git/doc/guix.texi:26391
  39314. msgid "This is the type for the Knot DNS server."
  39315. msgstr ""
  39316. #. type: deffn
  39317. #: guix-git/doc/guix.texi:26399
  39318. 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."
  39319. msgstr ""
  39320. #. type: deffn
  39321. #: guix-git/doc/guix.texi:26401
  39322. msgid "The following data types are used to configure the Knot DNS server:"
  39323. msgstr ""
  39324. #. type: deftp
  39325. #: guix-git/doc/guix.texi:26403
  39326. #, no-wrap
  39327. msgid "{Data Type} knot-key-configuration"
  39328. msgstr ""
  39329. #. type: deftp
  39330. #: guix-git/doc/guix.texi:26406
  39331. msgid "Data type representing a key. This type has the following parameters:"
  39332. msgstr ""
  39333. #. type: item
  39334. #: guix-git/doc/guix.texi:26408 guix-git/doc/guix.texi:26428
  39335. #: guix-git/doc/guix.texi:26543 guix-git/doc/guix.texi:26569
  39336. #: guix-git/doc/guix.texi:26604
  39337. #, no-wrap
  39338. msgid "@code{id} (default: @code{\"\"})"
  39339. msgstr ""
  39340. #. type: table
  39341. #: guix-git/doc/guix.texi:26411 guix-git/doc/guix.texi:26431
  39342. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  39343. msgstr ""
  39344. #. type: item
  39345. #: guix-git/doc/guix.texi:26412
  39346. #, no-wrap
  39347. msgid "@code{algorithm} (default: @code{#f})"
  39348. msgstr ""
  39349. #. type: table
  39350. #: guix-git/doc/guix.texi:26416
  39351. 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}."
  39352. msgstr ""
  39353. #. type: item
  39354. #: guix-git/doc/guix.texi:26417
  39355. #, no-wrap
  39356. msgid "@code{secret} (default: @code{\"\"})"
  39357. msgstr ""
  39358. #. type: table
  39359. #: guix-git/doc/guix.texi:26419
  39360. msgid "The secret key itself."
  39361. msgstr ""
  39362. #. type: deftp
  39363. #: guix-git/doc/guix.texi:26423
  39364. #, no-wrap
  39365. msgid "{Data Type} knot-acl-configuration"
  39366. msgstr ""
  39367. #. type: deftp
  39368. #: guix-git/doc/guix.texi:26426
  39369. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  39370. msgstr ""
  39371. #. type: item
  39372. #: guix-git/doc/guix.texi:26432 guix-git/doc/guix.texi:26547
  39373. #, no-wrap
  39374. msgid "@code{address} (default: @code{'()})"
  39375. msgstr ""
  39376. #. type: table
  39377. #: guix-git/doc/guix.texi:26436
  39378. 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."
  39379. msgstr ""
  39380. #. type: item
  39381. #: guix-git/doc/guix.texi:26437
  39382. #, no-wrap
  39383. msgid "@code{key} (default: @code{'()})"
  39384. msgstr ""
  39385. #. type: table
  39386. #: guix-git/doc/guix.texi:26441
  39387. 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."
  39388. msgstr ""
  39389. #. type: item
  39390. #: guix-git/doc/guix.texi:26442
  39391. #, no-wrap
  39392. msgid "@code{action} (default: @code{'()})"
  39393. msgstr ""
  39394. #. type: table
  39395. #: guix-git/doc/guix.texi:26446
  39396. 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}."
  39397. msgstr ""
  39398. #. type: item
  39399. #: guix-git/doc/guix.texi:26447
  39400. #, no-wrap
  39401. msgid "@code{deny?} (default: @code{#f})"
  39402. msgstr ""
  39403. #. type: table
  39404. #: guix-git/doc/guix.texi:26450
  39405. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  39406. msgstr ""
  39407. #. type: deftp
  39408. #: guix-git/doc/guix.texi:26454
  39409. #, no-wrap
  39410. msgid "{Data Type} zone-entry"
  39411. msgstr ""
  39412. #. type: deftp
  39413. #: guix-git/doc/guix.texi:26457
  39414. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  39415. msgstr ""
  39416. #. type: item
  39417. #: guix-git/doc/guix.texi:26459
  39418. #, no-wrap
  39419. msgid "@code{name} (default: @code{\"@@\"})"
  39420. msgstr ""
  39421. #. type: table
  39422. #: guix-git/doc/guix.texi:26465
  39423. 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}."
  39424. msgstr ""
  39425. #. type: item
  39426. #: guix-git/doc/guix.texi:26466
  39427. #, no-wrap
  39428. msgid "@code{ttl} (default: @code{\"\"})"
  39429. msgstr ""
  39430. #. type: table
  39431. #: guix-git/doc/guix.texi:26468
  39432. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  39433. msgstr ""
  39434. #. type: item
  39435. #: guix-git/doc/guix.texi:26469
  39436. #, no-wrap
  39437. msgid "@code{class} (default: @code{\"IN\"})"
  39438. msgstr ""
  39439. #. type: table
  39440. #: guix-git/doc/guix.texi:26472
  39441. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  39442. msgstr ""
  39443. #. type: item
  39444. #: guix-git/doc/guix.texi:26473
  39445. #, no-wrap
  39446. msgid "@code{type} (default: @code{\"A\"})"
  39447. msgstr ""
  39448. #. type: table
  39449. #: guix-git/doc/guix.texi:26477
  39450. 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."
  39451. msgstr ""
  39452. #. type: item
  39453. #: guix-git/doc/guix.texi:26478
  39454. #, no-wrap
  39455. msgid "@code{data} (default: @code{\"\"})"
  39456. msgstr ""
  39457. #. type: table
  39458. #: guix-git/doc/guix.texi:26482
  39459. 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."
  39460. msgstr ""
  39461. #. type: deftp
  39462. #: guix-git/doc/guix.texi:26486
  39463. #, no-wrap
  39464. msgid "{Data Type} zone-file"
  39465. msgstr ""
  39466. #. type: deftp
  39467. #: guix-git/doc/guix.texi:26489
  39468. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  39469. msgstr ""
  39470. #. type: table
  39471. #: guix-git/doc/guix.texi:26498
  39472. 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}."
  39473. msgstr ""
  39474. #. type: item
  39475. #: guix-git/doc/guix.texi:26499
  39476. #, no-wrap
  39477. msgid "@code{origin} (default: @code{\"\"})"
  39478. msgstr ""
  39479. #. type: table
  39480. #: guix-git/doc/guix.texi:26501
  39481. msgid "The name of your zone. This parameter cannot be empty."
  39482. msgstr ""
  39483. #. type: item
  39484. #: guix-git/doc/guix.texi:26502
  39485. #, no-wrap
  39486. msgid "@code{ns} (default: @code{\"ns\"})"
  39487. msgstr ""
  39488. #. type: table
  39489. #: guix-git/doc/guix.texi:26507
  39490. 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."
  39491. msgstr ""
  39492. #. type: item
  39493. #: guix-git/doc/guix.texi:26508
  39494. #, no-wrap
  39495. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  39496. msgstr ""
  39497. #. type: table
  39498. #: guix-git/doc/guix.texi:26511
  39499. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  39500. msgstr ""
  39501. #. type: item
  39502. #: guix-git/doc/guix.texi:26512
  39503. #, no-wrap
  39504. msgid "@code{serial} (default: @code{1})"
  39505. msgstr ""
  39506. #. type: table
  39507. #: guix-git/doc/guix.texi:26516
  39508. 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."
  39509. msgstr ""
  39510. #. type: item
  39511. #: guix-git/doc/guix.texi:26517
  39512. #, no-wrap
  39513. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  39514. msgstr ""
  39515. #. type: table
  39516. #: guix-git/doc/guix.texi:26521
  39517. 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)}."
  39518. msgstr ""
  39519. #. type: item
  39520. #: guix-git/doc/guix.texi:26522
  39521. #, no-wrap
  39522. msgid "@code{retry} (default: @code{(* 15 60)})"
  39523. msgstr ""
  39524. #. type: table
  39525. #: guix-git/doc/guix.texi:26525
  39526. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  39527. msgstr ""
  39528. #. type: item
  39529. #: guix-git/doc/guix.texi:26526
  39530. #, no-wrap
  39531. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  39532. msgstr ""
  39533. #. type: table
  39534. #: guix-git/doc/guix.texi:26530
  39535. 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."
  39536. msgstr ""
  39537. #. type: item
  39538. #: guix-git/doc/guix.texi:26531
  39539. #, no-wrap
  39540. msgid "@code{nx} (default: @code{3600})"
  39541. msgstr ""
  39542. #. type: table
  39543. #: guix-git/doc/guix.texi:26534
  39544. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  39545. msgstr ""
  39546. #. type: deftp
  39547. #: guix-git/doc/guix.texi:26538
  39548. #, no-wrap
  39549. msgid "{Data Type} knot-remote-configuration"
  39550. msgstr ""
  39551. #. type: deftp
  39552. #: guix-git/doc/guix.texi:26541
  39553. msgid "Data type representing a remote configuration. This type has the following parameters:"
  39554. msgstr ""
  39555. #. type: table
  39556. #: guix-git/doc/guix.texi:26546
  39557. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  39558. msgstr ""
  39559. #. type: table
  39560. #: guix-git/doc/guix.texi:26551
  39561. 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."
  39562. msgstr ""
  39563. #. type: item
  39564. #: guix-git/doc/guix.texi:26552
  39565. #, no-wrap
  39566. msgid "@code{via} (default: @code{'()})"
  39567. msgstr ""
  39568. #. type: table
  39569. #: guix-git/doc/guix.texi:26556
  39570. 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."
  39571. msgstr ""
  39572. #. type: table
  39573. #: guix-git/doc/guix.texi:26560
  39574. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  39575. msgstr ""
  39576. #. type: deftp
  39577. #: guix-git/doc/guix.texi:26564
  39578. #, no-wrap
  39579. msgid "{Data Type} knot-keystore-configuration"
  39580. msgstr ""
  39581. #. type: deftp
  39582. #: guix-git/doc/guix.texi:26567
  39583. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  39584. msgstr ""
  39585. #. type: table
  39586. #: guix-git/doc/guix.texi:26571
  39587. msgid "The id of the keystore. It must not be empty."
  39588. msgstr ""
  39589. #. type: item
  39590. #: guix-git/doc/guix.texi:26572
  39591. #, no-wrap
  39592. msgid "@code{backend} (default: @code{'pem})"
  39593. msgstr ""
  39594. #. type: table
  39595. #: guix-git/doc/guix.texi:26574
  39596. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  39597. msgstr ""
  39598. #. type: item
  39599. #: guix-git/doc/guix.texi:26575
  39600. #, no-wrap
  39601. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  39602. msgstr ""
  39603. #. type: table
  39604. #: guix-git/doc/guix.texi:26579
  39605. 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."
  39606. msgstr ""
  39607. #. type: deftp
  39608. #: guix-git/doc/guix.texi:26583
  39609. #, no-wrap
  39610. msgid "{Data Type} knot-policy-configuration"
  39611. msgstr ""
  39612. #. type: deftp
  39613. #: guix-git/doc/guix.texi:26587
  39614. 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."
  39615. msgstr ""
  39616. #. type: deftp
  39617. #: guix-git/doc/guix.texi:26594
  39618. 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."
  39619. msgstr ""
  39620. #. type: deftp
  39621. #: guix-git/doc/guix.texi:26600
  39622. 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."
  39623. msgstr ""
  39624. #. type: deftp
  39625. #: guix-git/doc/guix.texi:26602
  39626. msgid "This type has the following parameters:"
  39627. msgstr ""
  39628. #. type: table
  39629. #: guix-git/doc/guix.texi:26606
  39630. msgid "The id of the policy. It must not be empty."
  39631. msgstr ""
  39632. #. type: item
  39633. #: guix-git/doc/guix.texi:26607
  39634. #, no-wrap
  39635. msgid "@code{keystore} (default: @code{\"default\"})"
  39636. msgstr ""
  39637. #. type: table
  39638. #: guix-git/doc/guix.texi:26612
  39639. 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)."
  39640. msgstr ""
  39641. #. type: item
  39642. #: guix-git/doc/guix.texi:26613
  39643. #, no-wrap
  39644. msgid "@code{manual?} (default: @code{#f})"
  39645. msgstr ""
  39646. #. type: table
  39647. #: guix-git/doc/guix.texi:26615
  39648. msgid "Whether the key management is manual or automatic."
  39649. msgstr ""
  39650. #. type: item
  39651. #: guix-git/doc/guix.texi:26616
  39652. #, no-wrap
  39653. msgid "@code{single-type-signing?} (default: @code{#f})"
  39654. msgstr ""
  39655. #. type: table
  39656. #: guix-git/doc/guix.texi:26618
  39657. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  39658. msgstr ""
  39659. #. type: item
  39660. #: guix-git/doc/guix.texi:26619
  39661. #, no-wrap
  39662. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  39663. msgstr ""
  39664. #. type: table
  39665. #: guix-git/doc/guix.texi:26621
  39666. msgid "An algorithm of signing keys and issued signatures."
  39667. msgstr ""
  39668. #. type: item
  39669. #: guix-git/doc/guix.texi:26622
  39670. #, no-wrap
  39671. msgid "@code{ksk-size} (default: @code{256})"
  39672. msgstr ""
  39673. #. type: table
  39674. #: guix-git/doc/guix.texi:26625
  39675. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  39676. msgstr ""
  39677. #. type: item
  39678. #: guix-git/doc/guix.texi:26626
  39679. #, no-wrap
  39680. msgid "@code{zsk-size} (default: @code{256})"
  39681. msgstr ""
  39682. #. type: table
  39683. #: guix-git/doc/guix.texi:26629
  39684. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  39685. msgstr ""
  39686. #. type: item
  39687. #: guix-git/doc/guix.texi:26630
  39688. #, no-wrap
  39689. msgid "@code{dnskey-ttl} (default: @code{'default})"
  39690. msgstr ""
  39691. #. type: table
  39692. #: guix-git/doc/guix.texi:26633
  39693. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  39694. msgstr ""
  39695. #. type: item
  39696. #: guix-git/doc/guix.texi:26634
  39697. #, no-wrap
  39698. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  39699. msgstr ""
  39700. #. type: table
  39701. #: guix-git/doc/guix.texi:26636
  39702. msgid "The period between ZSK publication and the next rollover initiation."
  39703. msgstr ""
  39704. #. type: item
  39705. #: guix-git/doc/guix.texi:26637
  39706. #, no-wrap
  39707. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  39708. msgstr ""
  39709. #. type: table
  39710. #: guix-git/doc/guix.texi:26640
  39711. 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."
  39712. msgstr ""
  39713. #. type: item
  39714. #: guix-git/doc/guix.texi:26641
  39715. #, no-wrap
  39716. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  39717. msgstr ""
  39718. #. type: table
  39719. #: guix-git/doc/guix.texi:26643
  39720. msgid "A validity period of newly issued signatures."
  39721. msgstr ""
  39722. #. type: item
  39723. #: guix-git/doc/guix.texi:26644
  39724. #, no-wrap
  39725. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  39726. msgstr ""
  39727. #. type: table
  39728. #: guix-git/doc/guix.texi:26646
  39729. msgid "A period how long before a signature expiration the signature will be refreshed."
  39730. msgstr ""
  39731. #. type: item
  39732. #: guix-git/doc/guix.texi:26647
  39733. #, no-wrap
  39734. msgid "@code{nsec3?} (default: @code{#f})"
  39735. msgstr ""
  39736. #. type: table
  39737. #: guix-git/doc/guix.texi:26649
  39738. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  39739. msgstr ""
  39740. #. type: item
  39741. #: guix-git/doc/guix.texi:26650
  39742. #, no-wrap
  39743. msgid "@code{nsec3-iterations} (default: @code{5})"
  39744. msgstr ""
  39745. #. type: table
  39746. #: guix-git/doc/guix.texi:26652
  39747. msgid "The number of additional times the hashing is performed."
  39748. msgstr ""
  39749. #. type: item
  39750. #: guix-git/doc/guix.texi:26653
  39751. #, no-wrap
  39752. msgid "@code{nsec3-salt-length} (default: @code{8})"
  39753. msgstr ""
  39754. #. type: table
  39755. #: guix-git/doc/guix.texi:26656
  39756. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  39757. msgstr ""
  39758. #. type: item
  39759. #: guix-git/doc/guix.texi:26657
  39760. #, no-wrap
  39761. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  39762. msgstr ""
  39763. #. type: table
  39764. #: guix-git/doc/guix.texi:26659
  39765. msgid "The validity period of newly issued salt field."
  39766. msgstr ""
  39767. #. type: deftp
  39768. #: guix-git/doc/guix.texi:26663
  39769. #, no-wrap
  39770. msgid "{Data Type} knot-zone-configuration"
  39771. msgstr ""
  39772. #. type: deftp
  39773. #: guix-git/doc/guix.texi:26666
  39774. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  39775. msgstr ""
  39776. #. type: item
  39777. #: guix-git/doc/guix.texi:26668
  39778. #, no-wrap
  39779. msgid "@code{domain} (default: @code{\"\"})"
  39780. msgstr ""
  39781. #. type: table
  39782. #: guix-git/doc/guix.texi:26670
  39783. msgid "The domain served by this configuration. It must not be empty."
  39784. msgstr ""
  39785. #. type: item
  39786. #: guix-git/doc/guix.texi:26671
  39787. #, no-wrap
  39788. msgid "@code{file} (default: @code{\"\"})"
  39789. msgstr ""
  39790. #. type: table
  39791. #: guix-git/doc/guix.texi:26674
  39792. 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."
  39793. msgstr ""
  39794. #. type: item
  39795. #: guix-git/doc/guix.texi:26675
  39796. #, no-wrap
  39797. msgid "@code{zone} (default: @code{(zone-file)})"
  39798. msgstr ""
  39799. #. type: table
  39800. #: guix-git/doc/guix.texi:26678
  39801. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  39802. msgstr ""
  39803. #. type: item
  39804. #: guix-git/doc/guix.texi:26679
  39805. #, no-wrap
  39806. msgid "@code{master} (default: @code{'()})"
  39807. msgstr ""
  39808. #. type: table
  39809. #: guix-git/doc/guix.texi:26682
  39810. 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."
  39811. msgstr ""
  39812. #. type: item
  39813. #: guix-git/doc/guix.texi:26683
  39814. #, no-wrap
  39815. msgid "@code{ddns-master} (default: @code{#f})"
  39816. msgstr ""
  39817. #. type: table
  39818. #: guix-git/doc/guix.texi:26686
  39819. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  39820. msgstr ""
  39821. #. type: item
  39822. #: guix-git/doc/guix.texi:26687
  39823. #, no-wrap
  39824. msgid "@code{notify} (default: @code{'()})"
  39825. msgstr ""
  39826. #. type: table
  39827. #: guix-git/doc/guix.texi:26689
  39828. msgid "A list of slave remote identifiers."
  39829. msgstr ""
  39830. #. type: item
  39831. #: guix-git/doc/guix.texi:26690
  39832. #, no-wrap
  39833. msgid "@code{acl} (default: @code{'()})"
  39834. msgstr ""
  39835. #. type: table
  39836. #: guix-git/doc/guix.texi:26692
  39837. msgid "A list of acl identifiers."
  39838. msgstr ""
  39839. #. type: item
  39840. #: guix-git/doc/guix.texi:26693
  39841. #, no-wrap
  39842. msgid "@code{semantic-checks?} (default: @code{#f})"
  39843. msgstr ""
  39844. #. type: table
  39845. #: guix-git/doc/guix.texi:26695
  39846. msgid "When set, this adds more semantic checks to the zone."
  39847. msgstr ""
  39848. #. type: item
  39849. #: guix-git/doc/guix.texi:26696
  39850. #, no-wrap
  39851. msgid "@code{disable-any?} (default: @code{#f})"
  39852. msgstr ""
  39853. #. type: table
  39854. #: guix-git/doc/guix.texi:26698
  39855. msgid "When set, this forbids queries of the ANY type."
  39856. msgstr ""
  39857. #. type: item
  39858. #: guix-git/doc/guix.texi:26699
  39859. #, no-wrap
  39860. msgid "@code{zonefile-sync} (default: @code{0})"
  39861. msgstr ""
  39862. #. type: table
  39863. #: guix-git/doc/guix.texi:26702
  39864. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  39865. msgstr ""
  39866. #. type: item
  39867. #: guix-git/doc/guix.texi:26703
  39868. #, no-wrap
  39869. msgid "@code{zonefile-load} (default: @code{#f})"
  39870. msgstr ""
  39871. #. type: table
  39872. #: guix-git/doc/guix.texi:26706
  39873. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  39874. msgstr ""
  39875. #. type: item
  39876. #: guix-git/doc/guix.texi:26708
  39877. #, no-wrap
  39878. msgid "@code{#f} for using the default value from Knot,"
  39879. msgstr ""
  39880. #. type: item
  39881. #: guix-git/doc/guix.texi:26709
  39882. #, no-wrap
  39883. msgid "@code{'none} for not using the zone file at all,"
  39884. msgstr ""
  39885. #. type: item
  39886. #: guix-git/doc/guix.texi:26710
  39887. #, no-wrap
  39888. msgid "@code{'difference} for computing the difference between already available"
  39889. msgstr ""
  39890. #. type: itemize
  39891. #: guix-git/doc/guix.texi:26712
  39892. msgid "contents and zone contents and applying it to the current zone contents,"
  39893. msgstr ""
  39894. #. type: item
  39895. #: guix-git/doc/guix.texi:26712
  39896. #, no-wrap
  39897. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  39898. msgstr ""
  39899. #. type: itemize
  39900. #: guix-git/doc/guix.texi:26715
  39901. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  39902. msgstr ""
  39903. #. type: item
  39904. #: guix-git/doc/guix.texi:26715
  39905. #, no-wrap
  39906. msgid "@code{'whole} for loading zone contents from the zone file."
  39907. msgstr ""
  39908. #. type: item
  39909. #: guix-git/doc/guix.texi:26718
  39910. #, no-wrap
  39911. msgid "@code{journal-content} (default: @code{#f})"
  39912. msgstr ""
  39913. #. type: table
  39914. #: guix-git/doc/guix.texi:26723
  39915. 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."
  39916. msgstr ""
  39917. #. type: item
  39918. #: guix-git/doc/guix.texi:26724
  39919. #, no-wrap
  39920. msgid "@code{max-journal-usage} (default: @code{#f})"
  39921. msgstr ""
  39922. #. type: table
  39923. #: guix-git/doc/guix.texi:26727
  39924. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  39925. msgstr ""
  39926. #. type: item
  39927. #: guix-git/doc/guix.texi:26728
  39928. #, no-wrap
  39929. msgid "@code{max-journal-depth} (default: @code{#f})"
  39930. msgstr ""
  39931. #. type: table
  39932. #: guix-git/doc/guix.texi:26731
  39933. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  39934. msgstr ""
  39935. #. type: item
  39936. #: guix-git/doc/guix.texi:26732
  39937. #, no-wrap
  39938. msgid "@code{max-zone-size} (default: @code{#f})"
  39939. msgstr ""
  39940. #. type: table
  39941. #: guix-git/doc/guix.texi:26736
  39942. 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."
  39943. msgstr ""
  39944. #. type: item
  39945. #: guix-git/doc/guix.texi:26737
  39946. #, no-wrap
  39947. msgid "@code{dnssec-policy} (default: @code{#f})"
  39948. msgstr ""
  39949. #. type: table
  39950. #: guix-git/doc/guix.texi:26741
  39951. 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."
  39952. msgstr ""
  39953. #. type: item
  39954. #: guix-git/doc/guix.texi:26742
  39955. #, no-wrap
  39956. msgid "@code{serial-policy} (default: @code{'increment})"
  39957. msgstr ""
  39958. #. type: table
  39959. #: guix-git/doc/guix.texi:26744
  39960. msgid "A policy between @code{'increment} and @code{'unixtime}."
  39961. msgstr ""
  39962. #. type: deftp
  39963. #: guix-git/doc/guix.texi:26748
  39964. #, no-wrap
  39965. msgid "{Data Type} knot-configuration"
  39966. msgstr ""
  39967. #. type: deftp
  39968. #: guix-git/doc/guix.texi:26751
  39969. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  39970. msgstr ""
  39971. #. type: item
  39972. #: guix-git/doc/guix.texi:26753
  39973. #, no-wrap
  39974. msgid "@code{knot} (default: @code{knot})"
  39975. msgstr ""
  39976. #. type: table
  39977. #: guix-git/doc/guix.texi:26755
  39978. msgid "The Knot package."
  39979. msgstr ""
  39980. #. type: item
  39981. #: guix-git/doc/guix.texi:26756
  39982. #, no-wrap
  39983. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  39984. msgstr ""
  39985. #. type: table
  39986. #: guix-git/doc/guix.texi:26758
  39987. msgid "The run directory. This directory will be used for pid file and sockets."
  39988. msgstr ""
  39989. #. type: item
  39990. #: guix-git/doc/guix.texi:26759
  39991. #, no-wrap
  39992. msgid "@code{includes} (default: @code{'()})"
  39993. msgstr ""
  39994. #. type: table
  39995. #: guix-git/doc/guix.texi:26762
  39996. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  39997. msgstr ""
  39998. #. type: cindex
  39999. #: guix-git/doc/guix.texi:26763
  40000. #, no-wrap
  40001. msgid "secrets, Knot service"
  40002. msgstr ""
  40003. #. type: table
  40004. #: guix-git/doc/guix.texi:26769
  40005. 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."
  40006. msgstr ""
  40007. #. type: table
  40008. #: guix-git/doc/guix.texi:26774
  40009. 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:"
  40010. msgstr ""
  40011. #. type: example
  40012. #: guix-git/doc/guix.texi:26778
  40013. #, no-wrap
  40014. msgid ""
  40015. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  40016. "chmod 600 /etc/knot/secrets.conf\n"
  40017. msgstr ""
  40018. #. type: table
  40019. #: guix-git/doc/guix.texi:26784
  40020. 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."
  40021. msgstr ""
  40022. #. type: table
  40023. #: guix-git/doc/guix.texi:26786
  40024. msgid "It can also be used to add configuration not supported by this interface."
  40025. msgstr ""
  40026. #. type: item
  40027. #: guix-git/doc/guix.texi:26787
  40028. #, no-wrap
  40029. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  40030. msgstr ""
  40031. #. type: table
  40032. #: guix-git/doc/guix.texi:26789 guix-git/doc/guix.texi:26792
  40033. msgid "An ip address on which to listen."
  40034. msgstr ""
  40035. #. type: item
  40036. #: guix-git/doc/guix.texi:26790
  40037. #, no-wrap
  40038. msgid "@code{listen-v6} (default: @code{\"::\"})"
  40039. msgstr ""
  40040. #. type: item
  40041. #: guix-git/doc/guix.texi:26793
  40042. #, no-wrap
  40043. msgid "@code{listen-port} (default: @code{53})"
  40044. msgstr ""
  40045. #. type: table
  40046. #: guix-git/doc/guix.texi:26795
  40047. msgid "A port on which to listen."
  40048. msgstr ""
  40049. #. type: item
  40050. #: guix-git/doc/guix.texi:26796
  40051. #, no-wrap
  40052. msgid "@code{keys} (default: @code{'()})"
  40053. msgstr ""
  40054. #. type: table
  40055. #: guix-git/doc/guix.texi:26798
  40056. msgid "The list of knot-key-configuration used by this configuration."
  40057. msgstr ""
  40058. #. type: item
  40059. #: guix-git/doc/guix.texi:26799
  40060. #, no-wrap
  40061. msgid "@code{acls} (default: @code{'()})"
  40062. msgstr ""
  40063. #. type: table
  40064. #: guix-git/doc/guix.texi:26801
  40065. msgid "The list of knot-acl-configuration used by this configuration."
  40066. msgstr ""
  40067. #. type: item
  40068. #: guix-git/doc/guix.texi:26802
  40069. #, no-wrap
  40070. msgid "@code{remotes} (default: @code{'()})"
  40071. msgstr ""
  40072. #. type: table
  40073. #: guix-git/doc/guix.texi:26804
  40074. msgid "The list of knot-remote-configuration used by this configuration."
  40075. msgstr ""
  40076. #. type: item
  40077. #: guix-git/doc/guix.texi:26805
  40078. #, no-wrap
  40079. msgid "@code{zones} (default: @code{'()})"
  40080. msgstr ""
  40081. #. type: table
  40082. #: guix-git/doc/guix.texi:26807
  40083. msgid "The list of knot-zone-configuration used by this configuration."
  40084. msgstr ""
  40085. #. type: subsubheading
  40086. #: guix-git/doc/guix.texi:26811
  40087. #, no-wrap
  40088. msgid "Knot Resolver Service"
  40089. msgstr ""
  40090. #. type: deffn
  40091. #: guix-git/doc/guix.texi:26813
  40092. #, no-wrap
  40093. msgid "{Scheme Variable} knot-resolver-service-type"
  40094. msgstr ""
  40095. #. type: deffn
  40096. #: guix-git/doc/guix.texi:26816
  40097. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  40098. msgstr ""
  40099. #. type: lisp
  40100. #: guix-git/doc/guix.texi:26826
  40101. #, no-wrap
  40102. msgid ""
  40103. "(service knot-resolver-service-type\n"
  40104. " (knot-resolver-configuration\n"
  40105. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  40106. "net.listen('192.168.0.1', 5353)\n"
  40107. "user('knot-resolver', 'knot-resolver')\n"
  40108. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  40109. "cache.size = 100 * MB\n"
  40110. "\"))))\n"
  40111. msgstr ""
  40112. #. type: deffn
  40113. #: guix-git/doc/guix.texi:26829
  40114. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  40115. msgstr ""
  40116. #. type: deftp
  40117. #: guix-git/doc/guix.texi:26831
  40118. #, no-wrap
  40119. msgid "{Data Type} knot-resolver-configuration"
  40120. msgstr ""
  40121. #. type: deftp
  40122. #: guix-git/doc/guix.texi:26833
  40123. msgid "Data type representing the configuration of knot-resolver."
  40124. msgstr ""
  40125. #. type: item
  40126. #: guix-git/doc/guix.texi:26835
  40127. #, no-wrap
  40128. msgid "@code{package} (default: @var{knot-resolver})"
  40129. msgstr ""
  40130. #. type: table
  40131. #: guix-git/doc/guix.texi:26837
  40132. msgid "Package object of the knot DNS resolver."
  40133. msgstr ""
  40134. #. type: item
  40135. #: guix-git/doc/guix.texi:26838
  40136. #, no-wrap
  40137. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  40138. msgstr ""
  40139. #. type: table
  40140. #: guix-git/doc/guix.texi:26841
  40141. 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}."
  40142. msgstr ""
  40143. #. type: item
  40144. #: guix-git/doc/guix.texi:26842
  40145. #, no-wrap
  40146. msgid "@code{garbage-collection-interval} (default: 1000)"
  40147. msgstr ""
  40148. #. type: table
  40149. #: guix-git/doc/guix.texi:26844
  40150. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  40151. msgstr ""
  40152. #. type: subsubheading
  40153. #: guix-git/doc/guix.texi:26849
  40154. #, no-wrap
  40155. msgid "Dnsmasq Service"
  40156. msgstr ""
  40157. #. type: deffn
  40158. #: guix-git/doc/guix.texi:26851
  40159. #, no-wrap
  40160. msgid "{Scheme Variable} dnsmasq-service-type"
  40161. msgstr ""
  40162. #. type: deffn
  40163. #: guix-git/doc/guix.texi:26854
  40164. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  40165. msgstr ""
  40166. #. type: lisp
  40167. #: guix-git/doc/guix.texi:26860
  40168. #, no-wrap
  40169. msgid ""
  40170. "(service dnsmasq-service-type\n"
  40171. " (dnsmasq-configuration\n"
  40172. " (no-resolv? #t)\n"
  40173. " (servers '(\"192.168.1.1\"))))\n"
  40174. msgstr ""
  40175. #. type: deftp
  40176. #: guix-git/doc/guix.texi:26863
  40177. #, no-wrap
  40178. msgid "{Data Type} dnsmasq-configuration"
  40179. msgstr ""
  40180. #. type: deftp
  40181. #: guix-git/doc/guix.texi:26865
  40182. msgid "Data type representing the configuration of dnsmasq."
  40183. msgstr ""
  40184. #. type: item
  40185. #: guix-git/doc/guix.texi:26867
  40186. #, no-wrap
  40187. msgid "@code{package} (default: @var{dnsmasq})"
  40188. msgstr ""
  40189. #. type: table
  40190. #: guix-git/doc/guix.texi:26869
  40191. msgid "Package object of the dnsmasq server."
  40192. msgstr ""
  40193. #. type: item
  40194. #: guix-git/doc/guix.texi:26870
  40195. #, no-wrap
  40196. msgid "@code{no-hosts?} (default: @code{#f})"
  40197. msgstr ""
  40198. #. type: table
  40199. #: guix-git/doc/guix.texi:26872
  40200. msgid "When true, don't read the hostnames in /etc/hosts."
  40201. msgstr ""
  40202. #. type: item
  40203. #: guix-git/doc/guix.texi:26873
  40204. #, no-wrap
  40205. msgid "@code{port} (default: @code{53})"
  40206. msgstr ""
  40207. #. type: table
  40208. #: guix-git/doc/guix.texi:26876
  40209. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  40210. msgstr ""
  40211. #. type: item
  40212. #: guix-git/doc/guix.texi:26877
  40213. #, no-wrap
  40214. msgid "@code{local-service?} (default: @code{#t})"
  40215. msgstr ""
  40216. #. type: table
  40217. #: guix-git/doc/guix.texi:26880
  40218. 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."
  40219. msgstr ""
  40220. #. type: item
  40221. #: guix-git/doc/guix.texi:26881
  40222. #, no-wrap
  40223. msgid "@code{listen-addresses} (default: @code{'()})"
  40224. msgstr ""
  40225. #. type: table
  40226. #: guix-git/doc/guix.texi:26883
  40227. msgid "Listen on the given IP addresses."
  40228. msgstr ""
  40229. #. type: item
  40230. #: guix-git/doc/guix.texi:26884
  40231. #, no-wrap
  40232. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  40233. msgstr ""
  40234. #. type: table
  40235. #: guix-git/doc/guix.texi:26886
  40236. msgid "The file to read the IP address of the upstream nameservers from."
  40237. msgstr ""
  40238. #. type: item
  40239. #: guix-git/doc/guix.texi:26887
  40240. #, no-wrap
  40241. msgid "@code{no-resolv?} (default: @code{#f})"
  40242. msgstr ""
  40243. #. type: table
  40244. #: guix-git/doc/guix.texi:26889
  40245. msgid "When true, don't read @var{resolv-file}."
  40246. msgstr ""
  40247. #. type: item
  40248. #: guix-git/doc/guix.texi:26890
  40249. #, no-wrap
  40250. msgid "@code{servers} (default: @code{'()})"
  40251. msgstr ""
  40252. #. type: table
  40253. #: guix-git/doc/guix.texi:26892
  40254. msgid "Specify IP address of upstream servers directly."
  40255. msgstr ""
  40256. #. type: item
  40257. #: guix-git/doc/guix.texi:26893
  40258. #, no-wrap
  40259. msgid "@code{addresses} (default: @code{'()})"
  40260. msgstr ""
  40261. #. type: table
  40262. #: guix-git/doc/guix.texi:26897
  40263. 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."
  40264. msgstr ""
  40265. #. type: table
  40266. #: guix-git/doc/guix.texi:26899
  40267. msgid "This is useful for redirecting hosts locally, for example:"
  40268. msgstr ""
  40269. #. type: lisp
  40270. #: guix-git/doc/guix.texi:26908
  40271. #, no-wrap
  40272. msgid ""
  40273. "(service dnsmasq-service-type\n"
  40274. " (dnsmasq-configuration\n"
  40275. " (addresses\n"
  40276. " '(; Redirect to a local web-server.\n"
  40277. " \"/example.org/127.0.0.1\"\n"
  40278. " ; Redirect subdomain to a specific IP.\n"
  40279. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  40280. msgstr ""
  40281. #. type: table
  40282. #: guix-git/doc/guix.texi:26911
  40283. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  40284. msgstr ""
  40285. #. type: item
  40286. #: guix-git/doc/guix.texi:26912
  40287. #, no-wrap
  40288. msgid "@code{cache-size} (default: @code{150})"
  40289. msgstr ""
  40290. #. type: table
  40291. #: guix-git/doc/guix.texi:26915
  40292. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  40293. msgstr ""
  40294. #. type: item
  40295. #: guix-git/doc/guix.texi:26916
  40296. #, no-wrap
  40297. msgid "@code{negative-cache?} (default: @code{#t})"
  40298. msgstr ""
  40299. #. type: table
  40300. #: guix-git/doc/guix.texi:26918
  40301. msgid "When false, disable negative caching."
  40302. msgstr ""
  40303. #. type: item
  40304. #: guix-git/doc/guix.texi:26919
  40305. #, no-wrap
  40306. msgid "@code{tftp-enable?} (default: @code{#f})"
  40307. msgstr ""
  40308. #. type: table
  40309. #: guix-git/doc/guix.texi:26921
  40310. msgid "Whether to enable the built-in TFTP server."
  40311. msgstr ""
  40312. #. type: item
  40313. #: guix-git/doc/guix.texi:26922
  40314. #, no-wrap
  40315. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  40316. msgstr ""
  40317. #. type: table
  40318. #: guix-git/doc/guix.texi:26924
  40319. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  40320. msgstr ""
  40321. #. type: item
  40322. #: guix-git/doc/guix.texi:26925
  40323. #, no-wrap
  40324. msgid "@code{tftp-single-port?} (default: @code{#f})"
  40325. msgstr ""
  40326. #. type: table
  40327. #: guix-git/doc/guix.texi:26927
  40328. msgid "Whether to use only one single port for TFTP."
  40329. msgstr ""
  40330. #. type: item
  40331. #: guix-git/doc/guix.texi:26928
  40332. #, no-wrap
  40333. msgid "@code{tftp-secure?} (default: @code{#f})"
  40334. msgstr ""
  40335. #. type: table
  40336. #: guix-git/doc/guix.texi:26930
  40337. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  40338. msgstr ""
  40339. #. type: table
  40340. #: guix-git/doc/guix.texi:26934
  40341. 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."
  40342. msgstr ""
  40343. #. type: item
  40344. #: guix-git/doc/guix.texi:26935
  40345. #, no-wrap
  40346. msgid "@code{tftp-max} (default: @code{#f})"
  40347. msgstr ""
  40348. #. type: table
  40349. #: guix-git/doc/guix.texi:26937
  40350. msgid "If set, sets the maximal number of concurrent connections allowed."
  40351. msgstr ""
  40352. #. type: item
  40353. #: guix-git/doc/guix.texi:26938
  40354. #, no-wrap
  40355. msgid "@code{tftp-mtu} (default: @code{#f})"
  40356. msgstr ""
  40357. #. type: table
  40358. #: guix-git/doc/guix.texi:26940
  40359. msgid "If set, sets the MTU for TFTP packets to that value."
  40360. msgstr ""
  40361. #. type: item
  40362. #: guix-git/doc/guix.texi:26941
  40363. #, no-wrap
  40364. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  40365. msgstr ""
  40366. #. type: table
  40367. #: guix-git/doc/guix.texi:26943
  40368. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  40369. msgstr ""
  40370. #. type: item
  40371. #: guix-git/doc/guix.texi:26944
  40372. #, no-wrap
  40373. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  40374. msgstr ""
  40375. #. type: table
  40376. #: guix-git/doc/guix.texi:26946
  40377. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  40378. msgstr ""
  40379. #. type: item
  40380. #: guix-git/doc/guix.texi:26947
  40381. #, no-wrap
  40382. msgid "@code{tftp-port-range} (default: @code{#f})"
  40383. msgstr ""
  40384. #. type: table
  40385. #: guix-git/doc/guix.texi:26950
  40386. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  40387. msgstr ""
  40388. #. type: item
  40389. #: guix-git/doc/guix.texi:26951
  40390. #, no-wrap
  40391. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  40392. msgstr ""
  40393. #. type: table
  40394. #: guix-git/doc/guix.texi:26958
  40395. 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."
  40396. msgstr ""
  40397. #. type: item
  40398. #: guix-git/doc/guix.texi:26959
  40399. #, no-wrap
  40400. msgid "@code{tftp-unique-root} (default: @code{#f})"
  40401. msgstr ""
  40402. #. type: table
  40403. #: guix-git/doc/guix.texi:26964
  40404. 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)."
  40405. msgstr ""
  40406. #. type: table
  40407. #: guix-git/doc/guix.texi:26973
  40408. 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."
  40409. msgstr ""
  40410. #. type: subsubheading
  40411. #: guix-git/doc/guix.texi:26977
  40412. #, no-wrap
  40413. msgid "ddclient Service"
  40414. msgstr ""
  40415. #. type: cindex
  40416. #: guix-git/doc/guix.texi:26979
  40417. #, no-wrap
  40418. msgid "ddclient"
  40419. msgstr ""
  40420. #. type: Plain text
  40421. #: guix-git/doc/guix.texi:26983
  40422. 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}."
  40423. msgstr ""
  40424. #. type: Plain text
  40425. #: guix-git/doc/guix.texi:26986
  40426. msgid "The following example show instantiates the service with its default configuration:"
  40427. msgstr ""
  40428. #. type: lisp
  40429. #: guix-git/doc/guix.texi:26989
  40430. #, no-wrap
  40431. msgid "(service ddclient-service-type)\n"
  40432. msgstr ""
  40433. #. type: Plain text
  40434. #: guix-git/doc/guix.texi:26998
  40435. 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."
  40436. msgstr ""
  40437. #. type: Plain text
  40438. #: guix-git/doc/guix.texi:27002
  40439. msgid "Available @code{ddclient-configuration} fields are:"
  40440. msgstr ""
  40441. #. type: deftypevr
  40442. #: guix-git/doc/guix.texi:27003
  40443. #, no-wrap
  40444. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  40445. msgstr ""
  40446. #. type: deftypevr
  40447. #: guix-git/doc/guix.texi:27005
  40448. msgid "The ddclient package."
  40449. msgstr ""
  40450. #. type: deftypevr
  40451. #: guix-git/doc/guix.texi:27008
  40452. #, no-wrap
  40453. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  40454. msgstr ""
  40455. #. type: deftypevr
  40456. #: guix-git/doc/guix.texi:27010
  40457. msgid "The period after which ddclient will retry to check IP and domain name."
  40458. msgstr ""
  40459. #. type: deftypevr
  40460. #: guix-git/doc/guix.texi:27015
  40461. #, no-wrap
  40462. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  40463. msgstr ""
  40464. #. type: deftypevr
  40465. #: guix-git/doc/guix.texi:27017
  40466. msgid "Use syslog for the output."
  40467. msgstr ""
  40468. #. type: deftypevr
  40469. #: guix-git/doc/guix.texi:27022
  40470. #, no-wrap
  40471. msgid "{@code{ddclient-configuration} parameter} string mail"
  40472. msgstr ""
  40473. #. type: deftypevr
  40474. #: guix-git/doc/guix.texi:27024
  40475. msgid "Mail to user."
  40476. msgstr ""
  40477. #. type: deftypevr
  40478. #: guix-git/doc/guix.texi:27026 guix-git/doc/guix.texi:27033
  40479. #: guix-git/doc/guix.texi:28829
  40480. msgid "Defaults to @samp{\"root\"}."
  40481. msgstr ""
  40482. #. type: deftypevr
  40483. #: guix-git/doc/guix.texi:27029
  40484. #, no-wrap
  40485. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  40486. msgstr ""
  40487. #. type: deftypevr
  40488. #: guix-git/doc/guix.texi:27031
  40489. msgid "Mail failed update to user."
  40490. msgstr ""
  40491. #. type: deftypevr
  40492. #: guix-git/doc/guix.texi:27036
  40493. #, no-wrap
  40494. msgid "{@code{ddclient-configuration} parameter} string pid"
  40495. msgstr ""
  40496. #. type: deftypevr
  40497. #: guix-git/doc/guix.texi:27038
  40498. msgid "The ddclient PID file."
  40499. msgstr ""
  40500. #. type: deftypevr
  40501. #: guix-git/doc/guix.texi:27040
  40502. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  40503. msgstr ""
  40504. #. type: deftypevr
  40505. #: guix-git/doc/guix.texi:27043
  40506. #, no-wrap
  40507. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  40508. msgstr ""
  40509. #. type: deftypevr
  40510. #: guix-git/doc/guix.texi:27045
  40511. msgid "Enable SSL support."
  40512. msgstr ""
  40513. #. type: deftypevr
  40514. #: guix-git/doc/guix.texi:27050
  40515. #, no-wrap
  40516. msgid "{@code{ddclient-configuration} parameter} string user"
  40517. msgstr ""
  40518. #. type: deftypevr
  40519. #: guix-git/doc/guix.texi:27053
  40520. msgid "Specifies the user name or ID that is used when running ddclient program."
  40521. msgstr ""
  40522. #. type: deftypevr
  40523. #: guix-git/doc/guix.texi:27055 guix-git/doc/guix.texi:27062
  40524. msgid "Defaults to @samp{\"ddclient\"}."
  40525. msgstr ""
  40526. #. type: deftypevr
  40527. #: guix-git/doc/guix.texi:27058
  40528. #, no-wrap
  40529. msgid "{@code{ddclient-configuration} parameter} string group"
  40530. msgstr ""
  40531. #. type: deftypevr
  40532. #: guix-git/doc/guix.texi:27060
  40533. msgid "Group of the user who will run the ddclient program."
  40534. msgstr ""
  40535. #. type: deftypevr
  40536. #: guix-git/doc/guix.texi:27065
  40537. #, no-wrap
  40538. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  40539. msgstr ""
  40540. #. type: deftypevr
  40541. #: guix-git/doc/guix.texi:27069
  40542. 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."
  40543. msgstr ""
  40544. #. type: deftypevr
  40545. #: guix-git/doc/guix.texi:27071
  40546. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  40547. msgstr ""
  40548. #. type: deftypevr
  40549. #: guix-git/doc/guix.texi:27074
  40550. #, no-wrap
  40551. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  40552. msgstr ""
  40553. #. type: deftypevr
  40554. #: guix-git/doc/guix.texi:27076
  40555. msgid "Extra options will be appended to @file{ddclient.conf} file."
  40556. msgstr ""
  40557. #. type: cindex
  40558. #: guix-git/doc/guix.texi:27087
  40559. #, no-wrap
  40560. msgid "VPN (virtual private network)"
  40561. msgstr ""
  40562. #. type: cindex
  40563. #: guix-git/doc/guix.texi:27088
  40564. #, no-wrap
  40565. msgid "virtual private network (VPN)"
  40566. msgstr ""
  40567. #. type: Plain text
  40568. #: guix-git/doc/guix.texi:27092
  40569. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  40570. msgstr ""
  40571. #. type: subsubheading
  40572. #: guix-git/doc/guix.texi:27093
  40573. #, no-wrap
  40574. msgid "Bitmask"
  40575. msgstr ""
  40576. #. type: defvr
  40577. #: guix-git/doc/guix.texi:27095
  40578. #, no-wrap
  40579. msgid "{Scheme Variable} bitmask-service-type"
  40580. msgstr ""
  40581. #. type: defvr
  40582. #: guix-git/doc/guix.texi:27100
  40583. 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."
  40584. msgstr ""
  40585. #. type: subsubheading
  40586. #: guix-git/doc/guix.texi:27102
  40587. #, no-wrap
  40588. msgid "OpenVPN"
  40589. msgstr ""
  40590. #. type: Plain text
  40591. #: guix-git/doc/guix.texi:27106
  40592. 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@."
  40593. msgstr ""
  40594. #. type: deffn
  40595. #: guix-git/doc/guix.texi:27107
  40596. #, no-wrap
  40597. msgid "{Scheme Procedure} openvpn-client-service @"
  40598. msgstr ""
  40599. #. type: deffn
  40600. #: guix-git/doc/guix.texi:27109
  40601. msgid "[#:config (openvpn-client-configuration)]"
  40602. msgstr ""
  40603. #. type: deffn
  40604. #: guix-git/doc/guix.texi:27111
  40605. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  40606. msgstr ""
  40607. #. type: deffn
  40608. #: guix-git/doc/guix.texi:27113
  40609. #, no-wrap
  40610. msgid "{Scheme Procedure} openvpn-server-service @"
  40611. msgstr ""
  40612. #. type: deffn
  40613. #: guix-git/doc/guix.texi:27115
  40614. msgid "[#:config (openvpn-server-configuration)]"
  40615. msgstr ""
  40616. #. type: deffn
  40617. #: guix-git/doc/guix.texi:27117
  40618. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  40619. msgstr ""
  40620. #. type: deffn
  40621. #: guix-git/doc/guix.texi:27119
  40622. msgid "Both can be run simultaneously."
  40623. msgstr ""
  40624. #. type: Plain text
  40625. #: guix-git/doc/guix.texi:27124
  40626. msgid "Available @code{openvpn-client-configuration} fields are:"
  40627. msgstr ""
  40628. #. type: deftypevr
  40629. #: guix-git/doc/guix.texi:27125
  40630. #, no-wrap
  40631. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  40632. msgstr ""
  40633. #. type: deftypevr
  40634. #: guix-git/doc/guix.texi:27127 guix-git/doc/guix.texi:27282
  40635. msgid "The OpenVPN package."
  40636. msgstr ""
  40637. #. type: deftypevr
  40638. #: guix-git/doc/guix.texi:27130
  40639. #, no-wrap
  40640. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  40641. msgstr ""
  40642. #. type: deftypevr
  40643. #: guix-git/doc/guix.texi:27132 guix-git/doc/guix.texi:27287
  40644. msgid "The OpenVPN pid file."
  40645. msgstr ""
  40646. #. type: deftypevr
  40647. #: guix-git/doc/guix.texi:27134 guix-git/doc/guix.texi:27289
  40648. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  40649. msgstr ""
  40650. #. type: deftypevr
  40651. #: guix-git/doc/guix.texi:27137
  40652. #, no-wrap
  40653. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  40654. msgstr ""
  40655. #. type: deftypevr
  40656. #: guix-git/doc/guix.texi:27140 guix-git/doc/guix.texi:27295
  40657. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  40658. msgstr ""
  40659. #. type: deftypevr
  40660. #: guix-git/doc/guix.texi:27142 guix-git/doc/guix.texi:27297
  40661. msgid "Defaults to @samp{udp}."
  40662. msgstr ""
  40663. #. type: deftypevr
  40664. #: guix-git/doc/guix.texi:27145
  40665. #, no-wrap
  40666. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  40667. msgstr ""
  40668. #. type: deftypevr
  40669. #: guix-git/doc/guix.texi:27147 guix-git/doc/guix.texi:27302
  40670. msgid "The device type used to represent the VPN connection."
  40671. msgstr ""
  40672. #. type: deftypevr
  40673. #: guix-git/doc/guix.texi:27149 guix-git/doc/guix.texi:27304
  40674. msgid "Defaults to @samp{tun}."
  40675. msgstr ""
  40676. #. type: Plain text
  40677. #: guix-git/doc/guix.texi:27155 guix-git/doc/guix.texi:27310
  40678. 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}."
  40679. msgstr ""
  40680. #. type: deftypevr
  40681. #: guix-git/doc/guix.texi:27156
  40682. #, no-wrap
  40683. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  40684. msgstr ""
  40685. #. type: deftypevr
  40686. #: guix-git/doc/guix.texi:27158 guix-git/doc/guix.texi:27313
  40687. msgid "The certificate authority to check connections against."
  40688. msgstr ""
  40689. #. type: deftypevr
  40690. #: guix-git/doc/guix.texi:27160 guix-git/doc/guix.texi:27315
  40691. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  40692. msgstr ""
  40693. #. type: deftypevr
  40694. #: guix-git/doc/guix.texi:27163
  40695. #, no-wrap
  40696. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  40697. msgstr ""
  40698. #. type: deftypevr
  40699. #: guix-git/doc/guix.texi:27166 guix-git/doc/guix.texi:27321
  40700. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  40701. msgstr ""
  40702. #. type: deftypevr
  40703. #: guix-git/doc/guix.texi:27168 guix-git/doc/guix.texi:27323
  40704. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  40705. msgstr ""
  40706. #. type: deftypevr
  40707. #: guix-git/doc/guix.texi:27171
  40708. #, no-wrap
  40709. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  40710. msgstr ""
  40711. #. type: deftypevr
  40712. #: guix-git/doc/guix.texi:27174 guix-git/doc/guix.texi:27329
  40713. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  40714. msgstr ""
  40715. #. type: deftypevr
  40716. #: guix-git/doc/guix.texi:27176 guix-git/doc/guix.texi:27331
  40717. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  40718. msgstr ""
  40719. #. type: deftypevr
  40720. #: guix-git/doc/guix.texi:27179
  40721. #, no-wrap
  40722. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  40723. msgstr ""
  40724. #. type: deftypevr
  40725. #: guix-git/doc/guix.texi:27181 guix-git/doc/guix.texi:27336
  40726. msgid "Whether to use the lzo compression algorithm."
  40727. msgstr ""
  40728. #. type: deftypevr
  40729. #: guix-git/doc/guix.texi:27186
  40730. #, no-wrap
  40731. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  40732. msgstr ""
  40733. #. type: deftypevr
  40734. #: guix-git/doc/guix.texi:27188 guix-git/doc/guix.texi:27343
  40735. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  40736. msgstr ""
  40737. #. type: deftypevr
  40738. #: guix-git/doc/guix.texi:27193
  40739. #, no-wrap
  40740. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  40741. msgstr ""
  40742. #. type: deftypevr
  40743. #: guix-git/doc/guix.texi:27196 guix-git/doc/guix.texi:27351
  40744. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  40745. msgstr ""
  40746. #. type: deftypevr
  40747. #: guix-git/doc/guix.texi:27201
  40748. #, no-wrap
  40749. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  40750. msgstr ""
  40751. #. type: deftypevr
  40752. #: guix-git/doc/guix.texi:27204 guix-git/doc/guix.texi:27359
  40753. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  40754. msgstr ""
  40755. #. type: deftypevr
  40756. #: guix-git/doc/guix.texi:27208
  40757. #, no-wrap
  40758. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  40759. msgstr ""
  40760. #. type: deftypevr
  40761. #: guix-git/doc/guix.texi:27210 guix-git/doc/guix.texi:27365
  40762. msgid "Verbosity level."
  40763. msgstr ""
  40764. #. type: deftypevr
  40765. #: guix-git/doc/guix.texi:27212 guix-git/doc/guix.texi:27367
  40766. #: guix-git/doc/guix.texi:29097 guix-git/doc/guix.texi:29321
  40767. msgid "Defaults to @samp{3}."
  40768. msgstr ""
  40769. #. type: deftypevr
  40770. #: guix-git/doc/guix.texi:27215
  40771. #, no-wrap
  40772. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  40773. msgstr ""
  40774. #. type: deftypevr
  40775. #: guix-git/doc/guix.texi:27218 guix-git/doc/guix.texi:27373
  40776. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  40777. msgstr ""
  40778. #. type: deftypevr
  40779. #: guix-git/doc/guix.texi:27223
  40780. #, no-wrap
  40781. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  40782. msgstr ""
  40783. #. type: deftypevr
  40784. #: guix-git/doc/guix.texi:27227
  40785. 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."
  40786. msgstr ""
  40787. #. type: deftypevr
  40788. #: guix-git/doc/guix.texi:27229
  40789. msgid "Defaults to @samp{'disabled}."
  40790. msgstr ""
  40791. #. type: deftypevr
  40792. #: guix-git/doc/guix.texi:27231
  40793. #, no-wrap
  40794. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  40795. msgstr ""
  40796. #. type: deftypevr
  40797. #: guix-git/doc/guix.texi:27233
  40798. msgid "Whether to check the server certificate has server usage extension."
  40799. msgstr ""
  40800. #. type: deftypevr
  40801. #: guix-git/doc/guix.texi:27238
  40802. #, no-wrap
  40803. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  40804. msgstr ""
  40805. #. type: deftypevr
  40806. #: guix-git/doc/guix.texi:27240
  40807. msgid "Bind to a specific local port number."
  40808. msgstr ""
  40809. #. type: deftypevr
  40810. #: guix-git/doc/guix.texi:27245
  40811. #, no-wrap
  40812. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  40813. msgstr ""
  40814. #. type: deftypevr
  40815. #: guix-git/doc/guix.texi:27247
  40816. msgid "Retry resolving server address."
  40817. msgstr ""
  40818. #. type: deftypevr
  40819. #: guix-git/doc/guix.texi:27252
  40820. #, no-wrap
  40821. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  40822. msgstr ""
  40823. #. type: deftypevr
  40824. #: guix-git/doc/guix.texi:27254
  40825. msgid "A list of remote servers to connect to."
  40826. msgstr ""
  40827. #. type: deftypevr
  40828. #: guix-git/doc/guix.texi:27258
  40829. msgid "Available @code{openvpn-remote-configuration} fields are:"
  40830. msgstr ""
  40831. #. type: deftypevr
  40832. #: guix-git/doc/guix.texi:27259
  40833. #, no-wrap
  40834. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  40835. msgstr ""
  40836. #. type: deftypevr
  40837. #: guix-git/doc/guix.texi:27261
  40838. msgid "Server name."
  40839. msgstr ""
  40840. #. type: deftypevr
  40841. #: guix-git/doc/guix.texi:27263
  40842. msgid "Defaults to @samp{\"my-server\"}."
  40843. msgstr ""
  40844. #. type: deftypevr
  40845. #: guix-git/doc/guix.texi:27266
  40846. #, no-wrap
  40847. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  40848. msgstr ""
  40849. #. type: deftypevr
  40850. #: guix-git/doc/guix.texi:27268
  40851. msgid "Port number the server listens to."
  40852. msgstr ""
  40853. #. type: deftypevr
  40854. #: guix-git/doc/guix.texi:27270 guix-git/doc/guix.texi:27382
  40855. msgid "Defaults to @samp{1194}."
  40856. msgstr ""
  40857. #. type: Plain text
  40858. #: guix-git/doc/guix.texi:27279
  40859. msgid "Available @code{openvpn-server-configuration} fields are:"
  40860. msgstr ""
  40861. #. type: deftypevr
  40862. #: guix-git/doc/guix.texi:27280
  40863. #, no-wrap
  40864. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  40865. msgstr ""
  40866. #. type: deftypevr
  40867. #: guix-git/doc/guix.texi:27285
  40868. #, no-wrap
  40869. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  40870. msgstr ""
  40871. #. type: deftypevr
  40872. #: guix-git/doc/guix.texi:27292
  40873. #, no-wrap
  40874. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  40875. msgstr ""
  40876. #. type: deftypevr
  40877. #: guix-git/doc/guix.texi:27300
  40878. #, no-wrap
  40879. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  40880. msgstr ""
  40881. #. type: deftypevr
  40882. #: guix-git/doc/guix.texi:27311
  40883. #, no-wrap
  40884. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  40885. msgstr ""
  40886. #. type: deftypevr
  40887. #: guix-git/doc/guix.texi:27318
  40888. #, no-wrap
  40889. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  40890. msgstr ""
  40891. #. type: deftypevr
  40892. #: guix-git/doc/guix.texi:27326
  40893. #, no-wrap
  40894. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  40895. msgstr ""
  40896. #. type: deftypevr
  40897. #: guix-git/doc/guix.texi:27334
  40898. #, no-wrap
  40899. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  40900. msgstr ""
  40901. #. type: deftypevr
  40902. #: guix-git/doc/guix.texi:27341
  40903. #, no-wrap
  40904. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  40905. msgstr ""
  40906. #. type: deftypevr
  40907. #: guix-git/doc/guix.texi:27348
  40908. #, no-wrap
  40909. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  40910. msgstr ""
  40911. #. type: deftypevr
  40912. #: guix-git/doc/guix.texi:27356
  40913. #, no-wrap
  40914. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  40915. msgstr ""
  40916. #. type: deftypevr
  40917. #: guix-git/doc/guix.texi:27363
  40918. #, no-wrap
  40919. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  40920. msgstr ""
  40921. #. type: deftypevr
  40922. #: guix-git/doc/guix.texi:27370
  40923. #, no-wrap
  40924. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  40925. msgstr ""
  40926. #. type: deftypevr
  40927. #: guix-git/doc/guix.texi:27378
  40928. #, no-wrap
  40929. msgid "{@code{openvpn-server-configuration} parameter} number port"
  40930. msgstr ""
  40931. #. type: deftypevr
  40932. #: guix-git/doc/guix.texi:27380
  40933. msgid "Specifies the port number on which the server listens."
  40934. msgstr ""
  40935. #. type: deftypevr
  40936. #: guix-git/doc/guix.texi:27385
  40937. #, no-wrap
  40938. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  40939. msgstr ""
  40940. #. type: deftypevr
  40941. #: guix-git/doc/guix.texi:27387
  40942. msgid "An ip and mask specifying the subnet inside the virtual network."
  40943. msgstr ""
  40944. #. type: deftypevr
  40945. #: guix-git/doc/guix.texi:27389
  40946. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  40947. msgstr ""
  40948. #. type: deftypevr
  40949. #: guix-git/doc/guix.texi:27392
  40950. #, no-wrap
  40951. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  40952. msgstr ""
  40953. #. type: deftypevr
  40954. #: guix-git/doc/guix.texi:27394
  40955. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  40956. msgstr ""
  40957. #. type: deftypevr
  40958. #: guix-git/doc/guix.texi:27399
  40959. #, no-wrap
  40960. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  40961. msgstr ""
  40962. #. type: deftypevr
  40963. #: guix-git/doc/guix.texi:27401
  40964. msgid "The Diffie-Hellman parameters file."
  40965. msgstr ""
  40966. #. type: deftypevr
  40967. #: guix-git/doc/guix.texi:27403
  40968. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  40969. msgstr ""
  40970. #. type: deftypevr
  40971. #: guix-git/doc/guix.texi:27406
  40972. #, no-wrap
  40973. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  40974. msgstr ""
  40975. #. type: deftypevr
  40976. #: guix-git/doc/guix.texi:27408
  40977. msgid "The file that records client IPs."
  40978. msgstr ""
  40979. #. type: deftypevr
  40980. #: guix-git/doc/guix.texi:27410
  40981. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  40982. msgstr ""
  40983. #. type: deftypevr
  40984. #: guix-git/doc/guix.texi:27413
  40985. #, no-wrap
  40986. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  40987. msgstr ""
  40988. #. type: deftypevr
  40989. #: guix-git/doc/guix.texi:27415
  40990. msgid "When true, the server will act as a gateway for its clients."
  40991. msgstr ""
  40992. #. type: deftypevr
  40993. #: guix-git/doc/guix.texi:27420
  40994. #, no-wrap
  40995. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  40996. msgstr ""
  40997. #. type: deftypevr
  40998. #: guix-git/doc/guix.texi:27422
  40999. msgid "When true, clients are allowed to talk to each other inside the VPN."
  41000. msgstr ""
  41001. #. type: deftypevr
  41002. #: guix-git/doc/guix.texi:27427
  41003. #, no-wrap
  41004. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  41005. msgstr ""
  41006. #. type: deftypevr
  41007. #: guix-git/doc/guix.texi:27433
  41008. 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."
  41009. msgstr ""
  41010. #. type: deftypevr
  41011. #: guix-git/doc/guix.texi:27436
  41012. #, no-wrap
  41013. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  41014. msgstr ""
  41015. #. type: deftypevr
  41016. #: guix-git/doc/guix.texi:27438
  41017. msgid "The maximum number of clients."
  41018. msgstr ""
  41019. #. type: deftypevr
  41020. #: guix-git/doc/guix.texi:27443
  41021. #, no-wrap
  41022. msgid "{@code{openvpn-server-configuration} parameter} string status"
  41023. msgstr ""
  41024. #. type: deftypevr
  41025. #: guix-git/doc/guix.texi:27446
  41026. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  41027. msgstr ""
  41028. #. type: deftypevr
  41029. #: guix-git/doc/guix.texi:27448
  41030. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  41031. msgstr ""
  41032. #. type: deftypevr
  41033. #: guix-git/doc/guix.texi:27451
  41034. #, no-wrap
  41035. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  41036. msgstr ""
  41037. #. type: deftypevr
  41038. #: guix-git/doc/guix.texi:27453
  41039. msgid "The list of configuration for some clients."
  41040. msgstr ""
  41041. #. type: deftypevr
  41042. #: guix-git/doc/guix.texi:27457
  41043. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  41044. msgstr ""
  41045. #. type: deftypevr
  41046. #: guix-git/doc/guix.texi:27458
  41047. #, no-wrap
  41048. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  41049. msgstr ""
  41050. #. type: deftypevr
  41051. #: guix-git/doc/guix.texi:27460
  41052. msgid "Client name."
  41053. msgstr ""
  41054. #. type: deftypevr
  41055. #: guix-git/doc/guix.texi:27462
  41056. msgid "Defaults to @samp{\"client\"}."
  41057. msgstr ""
  41058. #. type: deftypevr
  41059. #: guix-git/doc/guix.texi:27465
  41060. #, no-wrap
  41061. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  41062. msgstr ""
  41063. #. type: deftypevr
  41064. #: guix-git/doc/guix.texi:27467
  41065. msgid "Client own network"
  41066. msgstr ""
  41067. #. type: deftypevr
  41068. #: guix-git/doc/guix.texi:27472
  41069. #, no-wrap
  41070. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  41071. msgstr ""
  41072. #. type: deftypevr
  41073. #: guix-git/doc/guix.texi:27474
  41074. msgid "Client VPN IP."
  41075. msgstr ""
  41076. #. type: subheading
  41077. #: guix-git/doc/guix.texi:27483
  41078. #, no-wrap
  41079. msgid "strongSwan"
  41080. msgstr ""
  41081. #. type: Plain text
  41082. #: guix-git/doc/guix.texi:27487
  41083. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  41084. msgstr ""
  41085. #. type: defvr
  41086. #: guix-git/doc/guix.texi:27488
  41087. #, no-wrap
  41088. msgid "{Scheme Variable} strongswan-service-type"
  41089. msgstr ""
  41090. #. type: defvr
  41091. #: guix-git/doc/guix.texi:27492
  41092. 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:"
  41093. msgstr ""
  41094. #. type: lisp
  41095. #: guix-git/doc/guix.texi:27498
  41096. #, no-wrap
  41097. msgid ""
  41098. "(service strongswan-service-type\n"
  41099. " (strongswan-configuration\n"
  41100. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  41101. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  41102. msgstr ""
  41103. #. type: deftp
  41104. #: guix-git/doc/guix.texi:27502
  41105. #, no-wrap
  41106. msgid "{Data Type} strongswan-configuration"
  41107. msgstr ""
  41108. #. type: deftp
  41109. #: guix-git/doc/guix.texi:27504
  41110. msgid "Data type representing the configuration of the StrongSwan service."
  41111. msgstr ""
  41112. #. type: code{#1}
  41113. #: guix-git/doc/guix.texi:27506
  41114. #, no-wrap
  41115. msgid "strongswan"
  41116. msgstr ""
  41117. #. type: table
  41118. #: guix-git/doc/guix.texi:27508
  41119. msgid "The strongSwan package to use for this service."
  41120. msgstr ""
  41121. #. type: item
  41122. #: guix-git/doc/guix.texi:27509
  41123. #, no-wrap
  41124. msgid "@code{ipsec-conf} (default: @code{#f})"
  41125. msgstr ""
  41126. #. type: table
  41127. #: guix-git/doc/guix.texi:27512
  41128. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  41129. msgstr ""
  41130. #. type: item
  41131. #: guix-git/doc/guix.texi:27513
  41132. #, no-wrap
  41133. msgid "@code{ipsec-secrets} (default @code{#f})"
  41134. msgstr ""
  41135. #. type: table
  41136. #: guix-git/doc/guix.texi:27516
  41137. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  41138. msgstr ""
  41139. #. type: subsubheading
  41140. #: guix-git/doc/guix.texi:27520
  41141. #, no-wrap
  41142. msgid "Wireguard"
  41143. msgstr ""
  41144. #. type: defvr
  41145. #: guix-git/doc/guix.texi:27522
  41146. #, no-wrap
  41147. msgid "{Scheme Variable} wireguard-service-type"
  41148. msgstr ""
  41149. #. type: defvr
  41150. #: guix-git/doc/guix.texi:27525
  41151. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  41152. msgstr ""
  41153. #. type: lisp
  41154. #: guix-git/doc/guix.texi:27536
  41155. #, no-wrap
  41156. msgid ""
  41157. "(service wireguard-service-type\n"
  41158. " (wireguard-configuration\n"
  41159. " (peers\n"
  41160. " (list\n"
  41161. " (wireguard-peer\n"
  41162. " (name \"my-peer\")\n"
  41163. " (endpoint \"my.wireguard.com:51820\")\n"
  41164. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  41165. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  41166. msgstr ""
  41167. #. type: deftp
  41168. #: guix-git/doc/guix.texi:27540
  41169. #, no-wrap
  41170. msgid "{Data Type} wireguard-configuration"
  41171. msgstr ""
  41172. #. type: deftp
  41173. #: guix-git/doc/guix.texi:27542
  41174. msgid "Data type representing the configuration of the Wireguard service."
  41175. msgstr ""
  41176. #. type: code{#1}
  41177. #: guix-git/doc/guix.texi:27544
  41178. #, no-wrap
  41179. msgid "wireguard"
  41180. msgstr ""
  41181. #. type: table
  41182. #: guix-git/doc/guix.texi:27546
  41183. msgid "The wireguard package to use for this service."
  41184. msgstr ""
  41185. #. type: item
  41186. #: guix-git/doc/guix.texi:27547
  41187. #, no-wrap
  41188. msgid "@code{interface} (default: @code{\"wg0\"})"
  41189. msgstr ""
  41190. #. type: table
  41191. #: guix-git/doc/guix.texi:27549
  41192. msgid "The interface name for the VPN."
  41193. msgstr ""
  41194. #. type: item
  41195. #: guix-git/doc/guix.texi:27550
  41196. #, no-wrap
  41197. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  41198. msgstr ""
  41199. #. type: table
  41200. #: guix-git/doc/guix.texi:27552
  41201. msgid "The IP addresses to be assigned to the above interface."
  41202. msgstr ""
  41203. #. type: item
  41204. #: guix-git/doc/guix.texi:27553
  41205. #, no-wrap
  41206. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  41207. msgstr ""
  41208. #. type: table
  41209. #: guix-git/doc/guix.texi:27556
  41210. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  41211. msgstr ""
  41212. #. type: item
  41213. #: guix-git/doc/guix.texi:27557
  41214. #, no-wrap
  41215. msgid "@code{peers} (default: @code{'()})"
  41216. msgstr ""
  41217. #. type: table
  41218. #: guix-git/doc/guix.texi:27560
  41219. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  41220. msgstr ""
  41221. #. type: deftp
  41222. #: guix-git/doc/guix.texi:27564
  41223. #, no-wrap
  41224. msgid "{Data Type} wireguard-peer"
  41225. msgstr ""
  41226. #. type: deftp
  41227. #: guix-git/doc/guix.texi:27566
  41228. msgid "Data type representing a Wireguard peer attached to a given interface."
  41229. msgstr ""
  41230. #. type: table
  41231. #: guix-git/doc/guix.texi:27570
  41232. msgid "The peer name."
  41233. msgstr ""
  41234. #. type: item
  41235. #: guix-git/doc/guix.texi:27571
  41236. #, no-wrap
  41237. msgid "@code{endpoint} (default: @code{#f})"
  41238. msgstr ""
  41239. #. type: table
  41240. #: guix-git/doc/guix.texi:27574
  41241. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  41242. msgstr ""
  41243. #. type: itemx
  41244. #: guix-git/doc/guix.texi:27575 guix-git/doc/guix.texi:27970
  41245. #: guix-git/doc/guix.texi:28007 guix-git/doc/guix.texi:32926
  41246. #, no-wrap
  41247. msgid "public-key"
  41248. msgstr ""
  41249. #. type: table
  41250. #: guix-git/doc/guix.texi:27577
  41251. msgid "The peer public-key represented as a base64 string."
  41252. msgstr ""
  41253. #. type: code{#1}
  41254. #: guix-git/doc/guix.texi:27578
  41255. #, no-wrap
  41256. msgid "allowed-ips"
  41257. msgstr ""
  41258. #. type: table
  41259. #: guix-git/doc/guix.texi:27581
  41260. 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."
  41261. msgstr ""
  41262. #. type: item
  41263. #: guix-git/doc/guix.texi:27582
  41264. #, no-wrap
  41265. msgid "@code{keep-alive} (default: @code{#f})"
  41266. msgstr ""
  41267. #. type: table
  41268. #: guix-git/doc/guix.texi:27587
  41269. 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."
  41270. msgstr ""
  41271. #. type: cindex
  41272. #: guix-git/doc/guix.texi:27593
  41273. #, no-wrap
  41274. msgid "NFS"
  41275. msgstr ""
  41276. #. type: Plain text
  41277. #: guix-git/doc/guix.texi:27598
  41278. 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)."
  41279. msgstr ""
  41280. #. type: Plain text
  41281. #: guix-git/doc/guix.texi:27602
  41282. 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}."
  41283. msgstr ""
  41284. #. type: subsubheading
  41285. #: guix-git/doc/guix.texi:27603
  41286. #, no-wrap
  41287. msgid "NFS Service"
  41288. msgstr ""
  41289. #. type: cindex
  41290. #: guix-git/doc/guix.texi:27604
  41291. #, no-wrap
  41292. msgid "NFS, server"
  41293. msgstr ""
  41294. #. type: Plain text
  41295. #: guix-git/doc/guix.texi:27609
  41296. 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."
  41297. msgstr ""
  41298. #. type: defvr
  41299. #: guix-git/doc/guix.texi:27610
  41300. #, no-wrap
  41301. msgid "{Scheme Variable} nfs-service-type"
  41302. msgstr ""
  41303. #. type: defvr
  41304. #: guix-git/doc/guix.texi:27612
  41305. msgid "A service type for a complete NFS server."
  41306. msgstr ""
  41307. #. type: deftp
  41308. #: guix-git/doc/guix.texi:27614
  41309. #, no-wrap
  41310. msgid "{Data Type} nfs-configuration"
  41311. msgstr ""
  41312. #. type: deftp
  41313. #: guix-git/doc/guix.texi:27617
  41314. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  41315. msgstr ""
  41316. #. type: deftp
  41317. #: guix-git/doc/guix.texi:27619
  41318. msgid "It has the following parameters:"
  41319. msgstr ""
  41320. #. type: item
  41321. #: guix-git/doc/guix.texi:27620 guix-git/doc/guix.texi:27745
  41322. #: guix-git/doc/guix.texi:27770
  41323. #, no-wrap
  41324. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  41325. msgstr ""
  41326. #. type: table
  41327. #: guix-git/doc/guix.texi:27622
  41328. msgid "The nfs-utils package to use."
  41329. msgstr ""
  41330. #. type: item
  41331. #: guix-git/doc/guix.texi:27623
  41332. #, no-wrap
  41333. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  41334. msgstr ""
  41335. #. type: table
  41336. #: guix-git/doc/guix.texi:27626
  41337. 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."
  41338. msgstr ""
  41339. #. type: item
  41340. #: guix-git/doc/guix.texi:27627
  41341. #, no-wrap
  41342. msgid "@code{exports} (default: @code{'()})"
  41343. msgstr ""
  41344. #. type: table
  41345. #: guix-git/doc/guix.texi:27632
  41346. 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:"
  41347. msgstr ""
  41348. #. type: lisp
  41349. #: guix-git/doc/guix.texi:27638
  41350. #, no-wrap
  41351. msgid ""
  41352. "(nfs-configuration\n"
  41353. " (exports\n"
  41354. " '((\"/export\"\n"
  41355. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  41356. msgstr ""
  41357. #. type: item
  41358. #: guix-git/doc/guix.texi:27640
  41359. #, no-wrap
  41360. msgid "@code{rpcmountd-port} (default: @code{#f})"
  41361. msgstr ""
  41362. #. type: table
  41363. #: guix-git/doc/guix.texi:27642
  41364. msgid "The network port that the @command{rpc.mountd} daemon should use."
  41365. msgstr ""
  41366. #. type: item
  41367. #: guix-git/doc/guix.texi:27643
  41368. #, no-wrap
  41369. msgid "@code{rpcstatd-port} (default: @code{#f})"
  41370. msgstr ""
  41371. #. type: table
  41372. #: guix-git/doc/guix.texi:27645
  41373. msgid "The network port that the @command{rpc.statd} daemon should use."
  41374. msgstr ""
  41375. #. type: item
  41376. #: guix-git/doc/guix.texi:27646 guix-git/doc/guix.texi:27694
  41377. #, no-wrap
  41378. msgid "@code{rpcbind} (default: @code{rpcbind})"
  41379. msgstr ""
  41380. #. type: table
  41381. #: guix-git/doc/guix.texi:27648 guix-git/doc/guix.texi:27696
  41382. msgid "The rpcbind package to use."
  41383. msgstr ""
  41384. #. type: item
  41385. #: guix-git/doc/guix.texi:27649
  41386. #, no-wrap
  41387. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  41388. msgstr ""
  41389. #. type: table
  41390. #: guix-git/doc/guix.texi:27651
  41391. msgid "The local NFSv4 domain name."
  41392. msgstr ""
  41393. #. type: item
  41394. #: guix-git/doc/guix.texi:27652
  41395. #, no-wrap
  41396. msgid "@code{nfsd-port} (default: @code{2049})"
  41397. msgstr ""
  41398. #. type: table
  41399. #: guix-git/doc/guix.texi:27654
  41400. msgid "The network port that the @command{nfsd} daemon should use."
  41401. msgstr ""
  41402. #. type: item
  41403. #: guix-git/doc/guix.texi:27655
  41404. #, no-wrap
  41405. msgid "@code{nfsd-threads} (default: @code{8})"
  41406. msgstr ""
  41407. #. type: table
  41408. #: guix-git/doc/guix.texi:27657
  41409. msgid "The number of threads used by the @command{nfsd} daemon."
  41410. msgstr ""
  41411. #. type: item
  41412. #: guix-git/doc/guix.texi:27658
  41413. #, no-wrap
  41414. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  41415. msgstr ""
  41416. #. type: table
  41417. #: guix-git/doc/guix.texi:27660
  41418. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  41419. msgstr ""
  41420. #. type: item
  41421. #: guix-git/doc/guix.texi:27661
  41422. #, no-wrap
  41423. msgid "@code{nfsd-udp?} (default: @code{#f})"
  41424. msgstr ""
  41425. #. type: table
  41426. #: guix-git/doc/guix.texi:27663
  41427. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  41428. msgstr ""
  41429. #. type: item
  41430. #: guix-git/doc/guix.texi:27664 guix-git/doc/guix.texi:27748
  41431. #: guix-git/doc/guix.texi:27773
  41432. #, no-wrap
  41433. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  41434. msgstr ""
  41435. #. type: table
  41436. #: guix-git/doc/guix.texi:27666 guix-git/doc/guix.texi:27750
  41437. #: guix-git/doc/guix.texi:27775
  41438. msgid "The directory where the pipefs file system is mounted."
  41439. msgstr ""
  41440. #. type: item
  41441. #: guix-git/doc/guix.texi:27667
  41442. #, no-wrap
  41443. msgid "@code{debug} (default: @code{'()\"})"
  41444. msgstr ""
  41445. #. type: table
  41446. #: guix-git/doc/guix.texi:27671
  41447. 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}."
  41448. msgstr ""
  41449. #. type: Plain text
  41450. #: guix-git/doc/guix.texi:27676
  41451. 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."
  41452. msgstr ""
  41453. #. type: subsubheading
  41454. #: guix-git/doc/guix.texi:27677
  41455. #, no-wrap
  41456. msgid "RPC Bind Service"
  41457. msgstr ""
  41458. #. type: cindex
  41459. #: guix-git/doc/guix.texi:27678
  41460. #, no-wrap
  41461. msgid "rpcbind"
  41462. msgstr ""
  41463. #. type: Plain text
  41464. #: guix-git/doc/guix.texi:27684
  41465. 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."
  41466. msgstr ""
  41467. #. type: defvr
  41468. #: guix-git/doc/guix.texi:27685
  41469. #, no-wrap
  41470. msgid "{Scheme Variable} rpcbind-service-type"
  41471. msgstr ""
  41472. #. type: defvr
  41473. #: guix-git/doc/guix.texi:27687
  41474. msgid "A service type for the RPC portmapper daemon."
  41475. msgstr ""
  41476. #. type: deftp
  41477. #: guix-git/doc/guix.texi:27690
  41478. #, no-wrap
  41479. msgid "{Data Type} rpcbind-configuration"
  41480. msgstr ""
  41481. #. type: deftp
  41482. #: guix-git/doc/guix.texi:27693
  41483. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  41484. msgstr ""
  41485. #. type: item
  41486. #: guix-git/doc/guix.texi:27697
  41487. #, no-wrap
  41488. msgid "@code{warm-start?} (default: @code{#t})"
  41489. msgstr ""
  41490. #. type: table
  41491. #: guix-git/doc/guix.texi:27701
  41492. 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."
  41493. msgstr ""
  41494. #. type: subsubheading
  41495. #: guix-git/doc/guix.texi:27705
  41496. #, no-wrap
  41497. msgid "Pipefs Pseudo File System"
  41498. msgstr ""
  41499. #. type: cindex
  41500. #: guix-git/doc/guix.texi:27706
  41501. #, no-wrap
  41502. msgid "pipefs"
  41503. msgstr ""
  41504. #. type: cindex
  41505. #: guix-git/doc/guix.texi:27707
  41506. #, no-wrap
  41507. msgid "rpc_pipefs"
  41508. msgstr ""
  41509. #. type: Plain text
  41510. #: guix-git/doc/guix.texi:27711
  41511. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  41512. msgstr ""
  41513. #. type: defvr
  41514. #: guix-git/doc/guix.texi:27712
  41515. #, no-wrap
  41516. msgid "{Scheme Variable} pipefs-service-type"
  41517. msgstr ""
  41518. #. type: defvr
  41519. #: guix-git/doc/guix.texi:27714
  41520. msgid "A service type for the pipefs pseudo file system."
  41521. msgstr ""
  41522. #. type: deftp
  41523. #: guix-git/doc/guix.texi:27716
  41524. #, no-wrap
  41525. msgid "{Data Type} pipefs-configuration"
  41526. msgstr ""
  41527. #. type: deftp
  41528. #: guix-git/doc/guix.texi:27719
  41529. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  41530. msgstr ""
  41531. #. type: item
  41532. #: guix-git/doc/guix.texi:27720
  41533. #, no-wrap
  41534. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  41535. msgstr ""
  41536. #. type: table
  41537. #: guix-git/doc/guix.texi:27722
  41538. msgid "The directory to which the file system is to be attached."
  41539. msgstr ""
  41540. #. type: subsubheading
  41541. #: guix-git/doc/guix.texi:27726
  41542. #, no-wrap
  41543. msgid "GSS Daemon Service"
  41544. msgstr ""
  41545. #. type: cindex
  41546. #: guix-git/doc/guix.texi:27727
  41547. #, no-wrap
  41548. msgid "GSSD"
  41549. msgstr ""
  41550. #. type: cindex
  41551. #: guix-git/doc/guix.texi:27728
  41552. #, no-wrap
  41553. msgid "GSS"
  41554. msgstr ""
  41555. #. type: cindex
  41556. #: guix-git/doc/guix.texi:27729
  41557. #, no-wrap
  41558. msgid "global security system"
  41559. msgstr ""
  41560. #. type: Plain text
  41561. #: guix-git/doc/guix.texi:27736
  41562. 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})."
  41563. msgstr ""
  41564. #. type: defvr
  41565. #: guix-git/doc/guix.texi:27737
  41566. #, no-wrap
  41567. msgid "{Scheme Variable} gss-service-type"
  41568. msgstr ""
  41569. #. type: defvr
  41570. #: guix-git/doc/guix.texi:27739
  41571. msgid "A service type for the Global Security System (GSS) daemon."
  41572. msgstr ""
  41573. #. type: deftp
  41574. #: guix-git/doc/guix.texi:27741
  41575. #, no-wrap
  41576. msgid "{Data Type} gss-configuration"
  41577. msgstr ""
  41578. #. type: deftp
  41579. #: guix-git/doc/guix.texi:27744
  41580. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  41581. msgstr ""
  41582. #. type: table
  41583. #: guix-git/doc/guix.texi:27747
  41584. msgid "The package in which the @command{rpc.gssd} command is to be found."
  41585. msgstr ""
  41586. #. type: subsubheading
  41587. #: guix-git/doc/guix.texi:27755
  41588. #, no-wrap
  41589. msgid "IDMAP Daemon Service"
  41590. msgstr ""
  41591. #. type: cindex
  41592. #: guix-git/doc/guix.texi:27756
  41593. #, no-wrap
  41594. msgid "idmapd"
  41595. msgstr ""
  41596. #. type: cindex
  41597. #: guix-git/doc/guix.texi:27757
  41598. #, no-wrap
  41599. msgid "name mapper"
  41600. msgstr ""
  41601. #. type: Plain text
  41602. #: guix-git/doc/guix.texi:27761
  41603. 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."
  41604. msgstr ""
  41605. #. type: defvr
  41606. #: guix-git/doc/guix.texi:27762
  41607. #, no-wrap
  41608. msgid "{Scheme Variable} idmap-service-type"
  41609. msgstr ""
  41610. #. type: defvr
  41611. #: guix-git/doc/guix.texi:27764
  41612. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  41613. msgstr ""
  41614. #. type: deftp
  41615. #: guix-git/doc/guix.texi:27766
  41616. #, no-wrap
  41617. msgid "{Data Type} idmap-configuration"
  41618. msgstr ""
  41619. #. type: deftp
  41620. #: guix-git/doc/guix.texi:27769
  41621. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  41622. msgstr ""
  41623. #. type: table
  41624. #: guix-git/doc/guix.texi:27772
  41625. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  41626. msgstr ""
  41627. #. type: item
  41628. #: guix-git/doc/guix.texi:27776
  41629. #, no-wrap
  41630. msgid "@code{domain} (default: @code{#f})"
  41631. msgstr ""
  41632. #. type: table
  41633. #: guix-git/doc/guix.texi:27780
  41634. 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."
  41635. msgstr ""
  41636. #. type: item
  41637. #: guix-git/doc/guix.texi:27781
  41638. #, no-wrap
  41639. msgid "@code{verbosity} (default: @code{0})"
  41640. msgstr ""
  41641. #. type: table
  41642. #: guix-git/doc/guix.texi:27783
  41643. msgid "The verbosity level of the daemon."
  41644. msgstr ""
  41645. #. type: Plain text
  41646. #: guix-git/doc/guix.texi:27794
  41647. 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})."
  41648. msgstr ""
  41649. #. type: Plain text
  41650. #: guix-git/doc/guix.texi:27796
  41651. msgid "The @code{(gnu services cuirass)} module provides the following service."
  41652. msgstr ""
  41653. #. type: defvr
  41654. #: guix-git/doc/guix.texi:27797
  41655. #, no-wrap
  41656. msgid "{Scheme Procedure} cuirass-service-type"
  41657. msgstr ""
  41658. #. type: defvr
  41659. #: guix-git/doc/guix.texi:27800
  41660. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  41661. msgstr ""
  41662. #. type: Plain text
  41663. #: guix-git/doc/guix.texi:27805
  41664. 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."
  41665. msgstr ""
  41666. #. type: lisp
  41667. #: guix-git/doc/guix.texi:27816
  41668. #, no-wrap
  41669. msgid ""
  41670. "(define %cuirass-specs\n"
  41671. " #~(list (specification\n"
  41672. " (name \"my-channel\")\n"
  41673. " (build '(channels my-channel))\n"
  41674. " (channels\n"
  41675. " (cons (channel\n"
  41676. " (name 'my-channel)\n"
  41677. " (url \"https://my-channel.git\"))\n"
  41678. " %default-channels)))))\n"
  41679. "\n"
  41680. msgstr ""
  41681. #. type: lisp
  41682. #: guix-git/doc/guix.texi:27820 guix-git/doc/guix.texi:27834
  41683. #, no-wrap
  41684. msgid ""
  41685. "(service cuirass-service-type\n"
  41686. " (cuirass-configuration\n"
  41687. " (specifications %cuirass-specs)))\n"
  41688. msgstr ""
  41689. #. type: Plain text
  41690. #: guix-git/doc/guix.texi:27824
  41691. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  41692. msgstr ""
  41693. #. type: lisp
  41694. #: guix-git/doc/guix.texi:27830
  41695. #, no-wrap
  41696. msgid ""
  41697. "(define %cuirass-specs\n"
  41698. " #~(list (specification\n"
  41699. " (name \"my-linux\")\n"
  41700. " (build '(packages \"linux-libre\")))))\n"
  41701. "\n"
  41702. msgstr ""
  41703. #. type: Plain text
  41704. #: guix-git/doc/guix.texi:27839
  41705. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  41706. msgstr ""
  41707. #. type: Plain text
  41708. #: guix-git/doc/guix.texi:27843
  41709. 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."
  41710. msgstr ""
  41711. #. type: deftp
  41712. #: guix-git/doc/guix.texi:27844
  41713. #, no-wrap
  41714. msgid "{Data Type} cuirass-configuration"
  41715. msgstr ""
  41716. #. type: deftp
  41717. #: guix-git/doc/guix.texi:27846
  41718. msgid "Data type representing the configuration of Cuirass."
  41719. msgstr ""
  41720. #. type: item
  41721. #: guix-git/doc/guix.texi:27848 guix-git/doc/guix.texi:27985
  41722. #, no-wrap
  41723. msgid "@code{cuirass} (default: @code{cuirass})"
  41724. msgstr ""
  41725. #. type: table
  41726. #: guix-git/doc/guix.texi:27850 guix-git/doc/guix.texi:27987
  41727. msgid "The Cuirass package to use."
  41728. msgstr ""
  41729. #. type: item
  41730. #: guix-git/doc/guix.texi:27851
  41731. #, no-wrap
  41732. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  41733. msgstr ""
  41734. #. type: table
  41735. #: guix-git/doc/guix.texi:27853 guix-git/doc/guix.texi:27957
  41736. #: guix-git/doc/guix.texi:28000
  41737. msgid "Location of the log file."
  41738. msgstr ""
  41739. #. type: item
  41740. #: guix-git/doc/guix.texi:27854
  41741. #, no-wrap
  41742. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  41743. msgstr ""
  41744. #. type: table
  41745. #: guix-git/doc/guix.texi:27856
  41746. msgid "Location of the log file used by the web interface."
  41747. msgstr ""
  41748. #. type: item
  41749. #: guix-git/doc/guix.texi:27857
  41750. #, no-wrap
  41751. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  41752. msgstr ""
  41753. #. type: table
  41754. #: guix-git/doc/guix.texi:27859
  41755. msgid "Location of the repository cache."
  41756. msgstr ""
  41757. #. type: item
  41758. #: guix-git/doc/guix.texi:27860
  41759. #, no-wrap
  41760. msgid "@code{user} (default: @code{\"cuirass\"})"
  41761. msgstr ""
  41762. #. type: table
  41763. #: guix-git/doc/guix.texi:27862
  41764. msgid "Owner of the @code{cuirass} process."
  41765. msgstr ""
  41766. #. type: item
  41767. #: guix-git/doc/guix.texi:27863
  41768. #, no-wrap
  41769. msgid "@code{group} (default: @code{\"cuirass\"})"
  41770. msgstr ""
  41771. #. type: table
  41772. #: guix-git/doc/guix.texi:27865
  41773. msgid "Owner's group of the @code{cuirass} process."
  41774. msgstr ""
  41775. #. type: item
  41776. #: guix-git/doc/guix.texi:27866
  41777. #, no-wrap
  41778. msgid "@code{interval} (default: @code{60})"
  41779. msgstr ""
  41780. #. type: table
  41781. #: guix-git/doc/guix.texi:27869
  41782. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  41783. msgstr ""
  41784. #. type: item
  41785. #: guix-git/doc/guix.texi:27870
  41786. #, no-wrap
  41787. msgid "@code{parameters} (default: @code{#f})"
  41788. msgstr ""
  41789. #. type: table
  41790. #: guix-git/doc/guix.texi:27873
  41791. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  41792. msgstr ""
  41793. #. type: item
  41794. #: guix-git/doc/guix.texi:27874
  41795. #, no-wrap
  41796. msgid "@code{remote-server} (default: @code{#f})"
  41797. msgstr ""
  41798. #. type: table
  41799. #: guix-git/doc/guix.texi:27877
  41800. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  41801. msgstr ""
  41802. #. type: item
  41803. #: guix-git/doc/guix.texi:27878
  41804. #, no-wrap
  41805. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  41806. msgstr ""
  41807. #. type: table
  41808. #: guix-git/doc/guix.texi:27883
  41809. 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\"}."
  41810. msgstr ""
  41811. #. type: item
  41812. #: guix-git/doc/guix.texi:27884
  41813. #, no-wrap
  41814. msgid "@code{port} (default: @code{8081})"
  41815. msgstr ""
  41816. #. type: table
  41817. #: guix-git/doc/guix.texi:27886
  41818. msgid "Port number used by the HTTP server."
  41819. msgstr ""
  41820. #. type: table
  41821. #: guix-git/doc/guix.texi:27890
  41822. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  41823. msgstr ""
  41824. #. type: item
  41825. #: guix-git/doc/guix.texi:27891
  41826. #, no-wrap
  41827. msgid "@code{specifications} (default: @code{#~'()})"
  41828. msgstr ""
  41829. #. type: table
  41830. #: guix-git/doc/guix.texi:27895
  41831. 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})."
  41832. msgstr ""
  41833. #. type: item
  41834. #: guix-git/doc/guix.texi:27896
  41835. #, no-wrap
  41836. msgid "@code{use-substitutes?} (default: @code{#f})"
  41837. msgstr ""
  41838. #. type: table
  41839. #: guix-git/doc/guix.texi:27899
  41840. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  41841. msgstr ""
  41842. #. type: item
  41843. #: guix-git/doc/guix.texi:27900 guix-git/doc/guix.texi:34918
  41844. #, no-wrap
  41845. msgid "@code{one-shot?} (default: @code{#f})"
  41846. msgstr ""
  41847. #. type: table
  41848. #: guix-git/doc/guix.texi:27902
  41849. msgid "Only evaluate specifications and build derivations once."
  41850. msgstr ""
  41851. #. type: item
  41852. #: guix-git/doc/guix.texi:27903
  41853. #, no-wrap
  41854. msgid "@code{fallback?} (default: @code{#f})"
  41855. msgstr ""
  41856. #. type: table
  41857. #: guix-git/doc/guix.texi:27906
  41858. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  41859. msgstr ""
  41860. #. type: table
  41861. #: guix-git/doc/guix.texi:27909
  41862. msgid "Extra options to pass when running the Cuirass processes."
  41863. msgstr ""
  41864. #. type: cindex
  41865. #: guix-git/doc/guix.texi:27913
  41866. #, no-wrap
  41867. msgid "remote build"
  41868. msgstr ""
  41869. #. type: subsubheading
  41870. #: guix-git/doc/guix.texi:27914
  41871. #, no-wrap
  41872. msgid "Cuirass remote building"
  41873. msgstr ""
  41874. #. type: Plain text
  41875. #: guix-git/doc/guix.texi:27917
  41876. msgid "Cuirass supports two mechanisms to build derivations."
  41877. msgstr ""
  41878. #. type: item
  41879. #: guix-git/doc/guix.texi:27919
  41880. #, no-wrap
  41881. msgid "Using the local Guix daemon."
  41882. msgstr ""
  41883. #. type: itemize
  41884. #: guix-git/doc/guix.texi:27923
  41885. 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."
  41886. msgstr ""
  41887. #. type: item
  41888. #: guix-git/doc/guix.texi:27924
  41889. #, no-wrap
  41890. msgid "Using the remote build mechanism."
  41891. msgstr ""
  41892. #. type: itemize
  41893. #: guix-git/doc/guix.texi:27928
  41894. 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."
  41895. msgstr ""
  41896. #. type: Plain text
  41897. #: guix-git/doc/guix.texi:27935
  41898. 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."
  41899. msgstr ""
  41900. #. type: Plain text
  41901. #: guix-git/doc/guix.texi:27940
  41902. 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."
  41903. msgstr ""
  41904. #. type: deftp
  41905. #: guix-git/doc/guix.texi:27941
  41906. #, no-wrap
  41907. msgid "{Data Type} cuirass-remote-server-configuration"
  41908. msgstr ""
  41909. #. type: deftp
  41910. #: guix-git/doc/guix.texi:27943
  41911. msgid "Data type representing the configuration of the Cuirass remote-server."
  41912. msgstr ""
  41913. #. type: item
  41914. #: guix-git/doc/guix.texi:27945
  41915. #, no-wrap
  41916. msgid "@code{backend-port} (default: @code{5555})"
  41917. msgstr ""
  41918. #. type: table
  41919. #: guix-git/doc/guix.texi:27948
  41920. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  41921. msgstr ""
  41922. #. type: item
  41923. #: guix-git/doc/guix.texi:27949
  41924. #, no-wrap
  41925. msgid "@code{log-port} (default: @code{5556})"
  41926. msgstr ""
  41927. #. type: table
  41928. #: guix-git/doc/guix.texi:27951
  41929. msgid "The TCP port of the log server. It defaults to @code{5556}."
  41930. msgstr ""
  41931. #. type: item
  41932. #: guix-git/doc/guix.texi:27952
  41933. #, no-wrap
  41934. msgid "@code{publish-port} (default: @code{5557})"
  41935. msgstr ""
  41936. #. type: table
  41937. #: guix-git/doc/guix.texi:27954
  41938. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  41939. msgstr ""
  41940. #. type: item
  41941. #: guix-git/doc/guix.texi:27955
  41942. #, no-wrap
  41943. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  41944. msgstr ""
  41945. #. type: item
  41946. #: guix-git/doc/guix.texi:27958
  41947. #, no-wrap
  41948. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  41949. msgstr ""
  41950. #. type: table
  41951. #: guix-git/doc/guix.texi:27960
  41952. msgid "Use @var{cache} directory to cache build log files."
  41953. msgstr ""
  41954. #. type: item
  41955. #: guix-git/doc/guix.texi:27961
  41956. #, no-wrap
  41957. msgid "@code{trigger-url} (default: @code{#f})"
  41958. msgstr ""
  41959. #. type: table
  41960. #: guix-git/doc/guix.texi:27964
  41961. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  41962. msgstr ""
  41963. #. type: table
  41964. #: guix-git/doc/guix.texi:27969
  41965. 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."
  41966. msgstr ""
  41967. #. type: code{#1}
  41968. #: guix-git/doc/guix.texi:27971 guix-git/doc/guix.texi:28008
  41969. #, no-wrap
  41970. msgid "private-key"
  41971. msgstr ""
  41972. #. type: Plain text
  41973. #: guix-git/doc/guix.texi:27980
  41974. 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."
  41975. msgstr ""
  41976. #. type: deftp
  41977. #: guix-git/doc/guix.texi:27981
  41978. #, no-wrap
  41979. msgid "{Data Type} cuirass-remote-worker-configuration"
  41980. msgstr ""
  41981. #. type: deftp
  41982. #: guix-git/doc/guix.texi:27983
  41983. msgid "Data type representing the configuration of the Cuirass remote-worker."
  41984. msgstr ""
  41985. #. type: item
  41986. #: guix-git/doc/guix.texi:27988
  41987. #, no-wrap
  41988. msgid "@code{workers} (default: @code{1})"
  41989. msgstr ""
  41990. #. type: table
  41991. #: guix-git/doc/guix.texi:27990
  41992. msgid "Start @var{workers} parallel workers."
  41993. msgstr ""
  41994. #. type: table
  41995. #: guix-git/doc/guix.texi:27994
  41996. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  41997. msgstr ""
  41998. #. type: item
  41999. #: guix-git/doc/guix.texi:27995
  42000. #, no-wrap
  42001. msgid "@code{systems} (default: @code{(list (%current-system))})"
  42002. msgstr ""
  42003. #. type: table
  42004. #: guix-git/doc/guix.texi:27997
  42005. msgid "Only request builds for the given @var{systems}."
  42006. msgstr ""
  42007. #. type: item
  42008. #: guix-git/doc/guix.texi:27998
  42009. #, no-wrap
  42010. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  42011. msgstr ""
  42012. #. type: item
  42013. #: guix-git/doc/guix.texi:28001
  42014. #, no-wrap
  42015. msgid "@code{publish-port} (default: @code{5558})"
  42016. msgstr ""
  42017. #. type: table
  42018. #: guix-git/doc/guix.texi:28003
  42019. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  42020. msgstr ""
  42021. #. type: subsubheading
  42022. #: guix-git/doc/guix.texi:28015
  42023. #, no-wrap
  42024. msgid "Laminar"
  42025. msgstr ""
  42026. #. type: Plain text
  42027. #: guix-git/doc/guix.texi:28020
  42028. 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."
  42029. msgstr ""
  42030. #. type: Plain text
  42031. #: guix-git/doc/guix.texi:28023
  42032. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  42033. msgstr ""
  42034. #. type: defvr
  42035. #: guix-git/doc/guix.texi:28024
  42036. #, no-wrap
  42037. msgid "{Scheme Procedure} laminar-service-type"
  42038. msgstr ""
  42039. #. type: defvr
  42040. #: guix-git/doc/guix.texi:28027
  42041. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  42042. msgstr ""
  42043. #. type: defvr
  42044. #: guix-git/doc/guix.texi:28031
  42045. 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."
  42046. msgstr ""
  42047. #. type: lisp
  42048. #: guix-git/doc/guix.texi:28034
  42049. #, no-wrap
  42050. msgid "(service laminar-service-type)\n"
  42051. msgstr ""
  42052. #. type: deftp
  42053. #: guix-git/doc/guix.texi:28037
  42054. #, no-wrap
  42055. msgid "{Data Type} laminar-configuration"
  42056. msgstr ""
  42057. #. type: deftp
  42058. #: guix-git/doc/guix.texi:28039
  42059. msgid "Data type representing the configuration of Laminar."
  42060. msgstr ""
  42061. #. type: item
  42062. #: guix-git/doc/guix.texi:28041
  42063. #, no-wrap
  42064. msgid "@code{laminar} (default: @code{laminar})"
  42065. msgstr ""
  42066. #. type: table
  42067. #: guix-git/doc/guix.texi:28043
  42068. msgid "The Laminar package to use."
  42069. msgstr ""
  42070. #. type: item
  42071. #: guix-git/doc/guix.texi:28044
  42072. #, no-wrap
  42073. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  42074. msgstr ""
  42075. #. type: table
  42076. #: guix-git/doc/guix.texi:28046
  42077. msgid "The directory for job configurations and run directories."
  42078. msgstr ""
  42079. #. type: item
  42080. #: guix-git/doc/guix.texi:28047
  42081. #, no-wrap
  42082. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  42083. msgstr ""
  42084. #. type: table
  42085. #: guix-git/doc/guix.texi:28050
  42086. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  42087. msgstr ""
  42088. #. type: item
  42089. #: guix-git/doc/guix.texi:28051
  42090. #, no-wrap
  42091. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  42092. msgstr ""
  42093. #. type: table
  42094. #: guix-git/doc/guix.texi:28054
  42095. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  42096. msgstr ""
  42097. #. type: item
  42098. #: guix-git/doc/guix.texi:28055
  42099. #, no-wrap
  42100. msgid "@code{title} (default: @code{\"Laminar\"})"
  42101. msgstr ""
  42102. #. type: table
  42103. #: guix-git/doc/guix.texi:28057
  42104. msgid "The page title to show in the web frontend."
  42105. msgstr ""
  42106. #. type: item
  42107. #: guix-git/doc/guix.texi:28058
  42108. #, no-wrap
  42109. msgid "@code{keep-rundirs} (default: @code{0})"
  42110. msgstr ""
  42111. #. type: table
  42112. #: guix-git/doc/guix.texi:28062
  42113. 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."
  42114. msgstr ""
  42115. #. type: item
  42116. #: guix-git/doc/guix.texi:28063
  42117. #, no-wrap
  42118. msgid "@code{archive-url} (default: @code{#f})"
  42119. msgstr ""
  42120. #. type: table
  42121. #: guix-git/doc/guix.texi:28066
  42122. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  42123. msgstr ""
  42124. #. type: item
  42125. #: guix-git/doc/guix.texi:28067
  42126. #, no-wrap
  42127. msgid "@code{base-url} (default: @code{#f})"
  42128. msgstr ""
  42129. #. type: table
  42130. #: guix-git/doc/guix.texi:28069
  42131. msgid "Base URL to use for links to laminar itself."
  42132. msgstr ""
  42133. #. type: cindex
  42134. #: guix-git/doc/guix.texi:28076
  42135. #, no-wrap
  42136. msgid "tlp"
  42137. msgstr ""
  42138. #. type: cindex
  42139. #: guix-git/doc/guix.texi:28077
  42140. #, no-wrap
  42141. msgid "power management with TLP"
  42142. msgstr ""
  42143. #. type: subsubheading
  42144. #: guix-git/doc/guix.texi:28078
  42145. #, no-wrap
  42146. msgid "TLP daemon"
  42147. msgstr ""
  42148. #. type: Plain text
  42149. #: guix-git/doc/guix.texi:28082
  42150. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  42151. msgstr ""
  42152. #. type: Plain text
  42153. #: guix-git/doc/guix.texi:28088
  42154. 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}."
  42155. msgstr ""
  42156. #. type: deffn
  42157. #: guix-git/doc/guix.texi:28089
  42158. #, no-wrap
  42159. msgid "{Scheme Variable} tlp-service-type"
  42160. msgstr ""
  42161. #. type: deffn
  42162. #: guix-git/doc/guix.texi:28093
  42163. 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}:"
  42164. msgstr ""
  42165. #. type: lisp
  42166. #: guix-git/doc/guix.texi:28098
  42167. #, no-wrap
  42168. msgid ""
  42169. "(service tlp-service-type\n"
  42170. " (tlp-configuration\n"
  42171. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  42172. " (sched-powersave-on-bat? #t)))\n"
  42173. msgstr ""
  42174. #. type: Plain text
  42175. #: guix-git/doc/guix.texi:28106
  42176. 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}."
  42177. msgstr ""
  42178. #. type: Plain text
  42179. #: guix-git/doc/guix.texi:28116
  42180. msgid "Available @code{tlp-configuration} fields are:"
  42181. msgstr ""
  42182. #. type: deftypevr
  42183. #: guix-git/doc/guix.texi:28117
  42184. #, no-wrap
  42185. msgid "{@code{tlp-configuration} parameter} package tlp"
  42186. msgstr ""
  42187. #. type: deftypevr
  42188. #: guix-git/doc/guix.texi:28119
  42189. msgid "The TLP package."
  42190. msgstr ""
  42191. #. type: deftypevr
  42192. #: guix-git/doc/guix.texi:28122
  42193. #, no-wrap
  42194. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  42195. msgstr ""
  42196. #. type: deftypevr
  42197. #: guix-git/doc/guix.texi:28124
  42198. msgid "Set to true if you wish to enable TLP."
  42199. msgstr ""
  42200. #. type: deftypevr
  42201. #: guix-git/doc/guix.texi:28129
  42202. #, no-wrap
  42203. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  42204. msgstr ""
  42205. #. type: deftypevr
  42206. #: guix-git/doc/guix.texi:28132
  42207. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  42208. msgstr ""
  42209. #. type: deftypevr
  42210. #: guix-git/doc/guix.texi:28134
  42211. msgid "Defaults to @samp{\"AC\"}."
  42212. msgstr ""
  42213. #. type: deftypevr
  42214. #: guix-git/doc/guix.texi:28137
  42215. #, no-wrap
  42216. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  42217. msgstr ""
  42218. #. type: deftypevr
  42219. #: guix-git/doc/guix.texi:28140
  42220. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  42221. msgstr ""
  42222. #. type: deftypevr
  42223. #: guix-git/doc/guix.texi:28145
  42224. #, no-wrap
  42225. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  42226. msgstr ""
  42227. #. type: deftypevr
  42228. #: guix-git/doc/guix.texi:28147
  42229. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  42230. msgstr ""
  42231. #. type: deftypevr
  42232. #: guix-git/doc/guix.texi:28149
  42233. msgid "Defaults to @samp{2}."
  42234. msgstr ""
  42235. #. type: deftypevr
  42236. #: guix-git/doc/guix.texi:28152
  42237. #, no-wrap
  42238. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  42239. msgstr ""
  42240. #. type: deftypevr
  42241. #: guix-git/doc/guix.texi:28154
  42242. msgid "Dirty pages flushing periodicity, expressed in seconds."
  42243. msgstr ""
  42244. #. type: deftypevr
  42245. #: guix-git/doc/guix.texi:28156 guix-git/doc/guix.texi:28379
  42246. #: guix-git/doc/guix.texi:30594 guix-git/doc/guix.texi:30602
  42247. msgid "Defaults to @samp{15}."
  42248. msgstr ""
  42249. #. type: deftypevr
  42250. #: guix-git/doc/guix.texi:28159
  42251. #, no-wrap
  42252. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  42253. msgstr ""
  42254. #. type: deftypevr
  42255. #: guix-git/doc/guix.texi:28161
  42256. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  42257. msgstr ""
  42258. #. type: deftypevr
  42259. #: guix-git/doc/guix.texi:28163
  42260. msgid "Defaults to @samp{60}."
  42261. msgstr ""
  42262. #. type: deftypevr
  42263. #: guix-git/doc/guix.texi:28166
  42264. #, no-wrap
  42265. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  42266. msgstr ""
  42267. #. type: deftypevr
  42268. #: guix-git/doc/guix.texi:28170
  42269. 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."
  42270. msgstr ""
  42271. #. type: deftypevr
  42272. #: guix-git/doc/guix.texi:28175
  42273. #, no-wrap
  42274. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  42275. msgstr ""
  42276. #. type: deftypevr
  42277. #: guix-git/doc/guix.texi:28177
  42278. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  42279. msgstr ""
  42280. #. type: deftypevr
  42281. #: guix-git/doc/guix.texi:28182
  42282. #, no-wrap
  42283. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  42284. msgstr ""
  42285. #. type: deftypevr
  42286. #: guix-git/doc/guix.texi:28184
  42287. msgid "Set the min available frequency for the scaling governor on AC."
  42288. msgstr ""
  42289. #. type: deftypevr
  42290. #: guix-git/doc/guix.texi:28189
  42291. #, no-wrap
  42292. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  42293. msgstr ""
  42294. #. type: deftypevr
  42295. #: guix-git/doc/guix.texi:28191
  42296. msgid "Set the max available frequency for the scaling governor on AC."
  42297. msgstr ""
  42298. #. type: deftypevr
  42299. #: guix-git/doc/guix.texi:28196
  42300. #, no-wrap
  42301. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  42302. msgstr ""
  42303. #. type: deftypevr
  42304. #: guix-git/doc/guix.texi:28198
  42305. msgid "Set the min available frequency for the scaling governor on BAT."
  42306. msgstr ""
  42307. #. type: deftypevr
  42308. #: guix-git/doc/guix.texi:28203
  42309. #, no-wrap
  42310. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  42311. msgstr ""
  42312. #. type: deftypevr
  42313. #: guix-git/doc/guix.texi:28205
  42314. msgid "Set the max available frequency for the scaling governor on BAT."
  42315. msgstr ""
  42316. #. type: deftypevr
  42317. #: guix-git/doc/guix.texi:28210
  42318. #, no-wrap
  42319. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  42320. msgstr ""
  42321. #. type: deftypevr
  42322. #: guix-git/doc/guix.texi:28213
  42323. 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."
  42324. msgstr ""
  42325. #. type: deftypevr
  42326. #: guix-git/doc/guix.texi:28218
  42327. #, no-wrap
  42328. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  42329. msgstr ""
  42330. #. type: deftypevr
  42331. #: guix-git/doc/guix.texi:28221
  42332. 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."
  42333. msgstr ""
  42334. #. type: deftypevr
  42335. #: guix-git/doc/guix.texi:28226
  42336. #, no-wrap
  42337. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  42338. msgstr ""
  42339. #. type: deftypevr
  42340. #: guix-git/doc/guix.texi:28228
  42341. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  42342. msgstr ""
  42343. #. type: deftypevr
  42344. #: guix-git/doc/guix.texi:28233
  42345. #, no-wrap
  42346. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  42347. msgstr ""
  42348. #. type: deftypevr
  42349. #: guix-git/doc/guix.texi:28235
  42350. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  42351. msgstr ""
  42352. #. type: deftypevr
  42353. #: guix-git/doc/guix.texi:28240
  42354. #, no-wrap
  42355. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  42356. msgstr ""
  42357. #. type: deftypevr
  42358. #: guix-git/doc/guix.texi:28242
  42359. msgid "Enable CPU turbo boost feature on AC mode."
  42360. msgstr ""
  42361. #. type: deftypevr
  42362. #: guix-git/doc/guix.texi:28247
  42363. #, no-wrap
  42364. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  42365. msgstr ""
  42366. #. type: deftypevr
  42367. #: guix-git/doc/guix.texi:28249
  42368. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  42369. msgstr ""
  42370. #. type: deftypevr
  42371. #: guix-git/doc/guix.texi:28254
  42372. #, no-wrap
  42373. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  42374. msgstr ""
  42375. #. type: deftypevr
  42376. #: guix-git/doc/guix.texi:28257
  42377. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  42378. msgstr ""
  42379. #. type: deftypevr
  42380. #: guix-git/doc/guix.texi:28262
  42381. #, no-wrap
  42382. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  42383. msgstr ""
  42384. #. type: deftypevr
  42385. #: guix-git/doc/guix.texi:28264
  42386. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  42387. msgstr ""
  42388. #. type: deftypevr
  42389. #: guix-git/doc/guix.texi:28269
  42390. #, no-wrap
  42391. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  42392. msgstr ""
  42393. #. type: deftypevr
  42394. #: guix-git/doc/guix.texi:28271
  42395. msgid "Enable Linux kernel NMI watchdog."
  42396. msgstr ""
  42397. #. type: deftypevr
  42398. #: guix-git/doc/guix.texi:28276
  42399. #, no-wrap
  42400. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  42401. msgstr ""
  42402. #. type: deftypevr
  42403. #: guix-git/doc/guix.texi:28279
  42404. 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\"}."
  42405. msgstr ""
  42406. #. type: deftypevr
  42407. #: guix-git/doc/guix.texi:28284
  42408. #, no-wrap
  42409. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  42410. msgstr ""
  42411. #. type: deftypevr
  42412. #: guix-git/doc/guix.texi:28287
  42413. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  42414. msgstr ""
  42415. #. type: deftypevr
  42416. #: guix-git/doc/guix.texi:28289 guix-git/doc/guix.texi:28387
  42417. #: guix-git/doc/guix.texi:28417
  42418. msgid "Defaults to @samp{\"performance\"}."
  42419. msgstr ""
  42420. #. type: deftypevr
  42421. #: guix-git/doc/guix.texi:28292
  42422. #, no-wrap
  42423. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  42424. msgstr ""
  42425. #. type: deftypevr
  42426. #: guix-git/doc/guix.texi:28294
  42427. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  42428. msgstr ""
  42429. #. type: deftypevr
  42430. #: guix-git/doc/guix.texi:28296 guix-git/doc/guix.texi:28394
  42431. msgid "Defaults to @samp{\"powersave\"}."
  42432. msgstr ""
  42433. #. type: deftypevr
  42434. #: guix-git/doc/guix.texi:28299
  42435. #, no-wrap
  42436. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  42437. msgstr ""
  42438. #. type: deftypevr
  42439. #: guix-git/doc/guix.texi:28301
  42440. msgid "Hard disk devices."
  42441. msgstr ""
  42442. #. type: deftypevr
  42443. #: guix-git/doc/guix.texi:28304
  42444. #, no-wrap
  42445. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  42446. msgstr ""
  42447. #. type: deftypevr
  42448. #: guix-git/doc/guix.texi:28306
  42449. msgid "Hard disk advanced power management level."
  42450. msgstr ""
  42451. #. type: deftypevr
  42452. #: guix-git/doc/guix.texi:28309
  42453. #, no-wrap
  42454. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  42455. msgstr ""
  42456. #. type: deftypevr
  42457. #: guix-git/doc/guix.texi:28311
  42458. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  42459. msgstr ""
  42460. #. type: deftypevr
  42461. #: guix-git/doc/guix.texi:28314
  42462. #, no-wrap
  42463. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  42464. msgstr ""
  42465. #. type: deftypevr
  42466. #: guix-git/doc/guix.texi:28317
  42467. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  42468. msgstr ""
  42469. #. type: deftypevr
  42470. #: guix-git/doc/guix.texi:28322
  42471. #, no-wrap
  42472. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  42473. msgstr ""
  42474. #. type: deftypevr
  42475. #: guix-git/doc/guix.texi:28324
  42476. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  42477. msgstr ""
  42478. #. type: deftypevr
  42479. #: guix-git/doc/guix.texi:28329
  42480. #, no-wrap
  42481. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  42482. msgstr ""
  42483. #. type: deftypevr
  42484. #: guix-git/doc/guix.texi:28333
  42485. 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."
  42486. msgstr ""
  42487. #. type: deftypevr
  42488. #: guix-git/doc/guix.texi:28338
  42489. #, no-wrap
  42490. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  42491. msgstr ""
  42492. #. type: deftypevr
  42493. #: guix-git/doc/guix.texi:28341
  42494. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  42495. msgstr ""
  42496. #. type: deftypevr
  42497. #: guix-git/doc/guix.texi:28343
  42498. msgid "Defaults to @samp{\"max_performance\"}."
  42499. msgstr ""
  42500. #. type: deftypevr
  42501. #: guix-git/doc/guix.texi:28346
  42502. #, no-wrap
  42503. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  42504. msgstr ""
  42505. #. type: deftypevr
  42506. #: guix-git/doc/guix.texi:28348
  42507. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  42508. msgstr ""
  42509. #. type: deftypevr
  42510. #: guix-git/doc/guix.texi:28350
  42511. msgid "Defaults to @samp{\"min_power\"}."
  42512. msgstr ""
  42513. #. type: deftypevr
  42514. #: guix-git/doc/guix.texi:28353
  42515. #, no-wrap
  42516. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  42517. msgstr ""
  42518. #. type: deftypevr
  42519. #: guix-git/doc/guix.texi:28355
  42520. msgid "Exclude specified SATA host devices for link power management."
  42521. msgstr ""
  42522. #. type: deftypevr
  42523. #: guix-git/doc/guix.texi:28360
  42524. #, no-wrap
  42525. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  42526. msgstr ""
  42527. #. type: deftypevr
  42528. #: guix-git/doc/guix.texi:28363
  42529. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  42530. msgstr ""
  42531. #. type: deftypevr
  42532. #: guix-git/doc/guix.texi:28368
  42533. #, no-wrap
  42534. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  42535. msgstr ""
  42536. #. type: deftypevr
  42537. #: guix-git/doc/guix.texi:28370
  42538. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  42539. msgstr ""
  42540. #. type: deftypevr
  42541. #: guix-git/doc/guix.texi:28375
  42542. #, no-wrap
  42543. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  42544. msgstr ""
  42545. #. type: deftypevr
  42546. #: guix-git/doc/guix.texi:28377
  42547. msgid "Seconds of inactivity before disk is suspended."
  42548. msgstr ""
  42549. #. type: deftypevr
  42550. #: guix-git/doc/guix.texi:28382
  42551. #, no-wrap
  42552. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  42553. msgstr ""
  42554. #. type: deftypevr
  42555. #: guix-git/doc/guix.texi:28385
  42556. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  42557. msgstr ""
  42558. #. type: deftypevr
  42559. #: guix-git/doc/guix.texi:28390
  42560. #, no-wrap
  42561. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  42562. msgstr ""
  42563. #. type: deftypevr
  42564. #: guix-git/doc/guix.texi:28392
  42565. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  42566. msgstr ""
  42567. #. type: deftypevr
  42568. #: guix-git/doc/guix.texi:28397
  42569. #, no-wrap
  42570. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  42571. msgstr ""
  42572. #. type: deftypevr
  42573. #: guix-git/doc/guix.texi:28400
  42574. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  42575. msgstr ""
  42576. #. type: deftypevr
  42577. #: guix-git/doc/guix.texi:28402
  42578. msgid "Defaults to @samp{\"high\"}."
  42579. msgstr ""
  42580. #. type: deftypevr
  42581. #: guix-git/doc/guix.texi:28405
  42582. #, no-wrap
  42583. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  42584. msgstr ""
  42585. #. type: deftypevr
  42586. #: guix-git/doc/guix.texi:28407
  42587. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  42588. msgstr ""
  42589. #. type: deftypevr
  42590. #: guix-git/doc/guix.texi:28409
  42591. msgid "Defaults to @samp{\"low\"}."
  42592. msgstr ""
  42593. #. type: deftypevr
  42594. #: guix-git/doc/guix.texi:28412
  42595. #, no-wrap
  42596. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  42597. msgstr ""
  42598. #. type: deftypevr
  42599. #: guix-git/doc/guix.texi:28415
  42600. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  42601. msgstr ""
  42602. #. type: deftypevr
  42603. #: guix-git/doc/guix.texi:28420
  42604. #, no-wrap
  42605. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  42606. msgstr ""
  42607. #. type: deftypevr
  42608. #: guix-git/doc/guix.texi:28422
  42609. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  42610. msgstr ""
  42611. #. type: deftypevr
  42612. #: guix-git/doc/guix.texi:28424
  42613. msgid "Defaults to @samp{\"battery\"}."
  42614. msgstr ""
  42615. #. type: deftypevr
  42616. #: guix-git/doc/guix.texi:28427
  42617. #, no-wrap
  42618. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  42619. msgstr ""
  42620. #. type: deftypevr
  42621. #: guix-git/doc/guix.texi:28429
  42622. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  42623. msgstr ""
  42624. #. type: deftypevr
  42625. #: guix-git/doc/guix.texi:28431 guix-git/doc/guix.texi:28438
  42626. #: guix-git/doc/guix.texi:28512
  42627. msgid "Defaults to @samp{\"auto\"}."
  42628. msgstr ""
  42629. #. type: deftypevr
  42630. #: guix-git/doc/guix.texi:28434
  42631. #, no-wrap
  42632. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  42633. msgstr ""
  42634. #. type: deftypevr
  42635. #: guix-git/doc/guix.texi:28436
  42636. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  42637. msgstr ""
  42638. #. type: deftypevr
  42639. #: guix-git/doc/guix.texi:28441
  42640. #, no-wrap
  42641. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  42642. msgstr ""
  42643. #. type: deftypevr
  42644. #: guix-git/doc/guix.texi:28443
  42645. msgid "Wifi power saving mode."
  42646. msgstr ""
  42647. #. type: deftypevr
  42648. #: guix-git/doc/guix.texi:28448
  42649. #, no-wrap
  42650. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  42651. msgstr ""
  42652. #. type: deftypevr
  42653. #: guix-git/doc/guix.texi:28450
  42654. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  42655. msgstr ""
  42656. #. type: deftypevr
  42657. #: guix-git/doc/guix.texi:28455
  42658. #, no-wrap
  42659. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  42660. msgstr ""
  42661. #. type: deftypevr
  42662. #: guix-git/doc/guix.texi:28457
  42663. msgid "Disable wake on LAN."
  42664. msgstr ""
  42665. #. type: deftypevr
  42666. #: guix-git/doc/guix.texi:28462
  42667. #, no-wrap
  42668. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  42669. msgstr ""
  42670. #. type: deftypevr
  42671. #: guix-git/doc/guix.texi:28465
  42672. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  42673. msgstr ""
  42674. #. type: deftypevr
  42675. #: guix-git/doc/guix.texi:28470
  42676. #, no-wrap
  42677. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  42678. msgstr ""
  42679. #. type: deftypevr
  42680. #: guix-git/doc/guix.texi:28472
  42681. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  42682. msgstr ""
  42683. #. type: deftypevr
  42684. #: guix-git/doc/guix.texi:28477
  42685. #, no-wrap
  42686. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  42687. msgstr ""
  42688. #. type: deftypevr
  42689. #: guix-git/doc/guix.texi:28479
  42690. msgid "Disable controller in powersaving mode on Intel HDA devices."
  42691. msgstr ""
  42692. #. type: deftypevr
  42693. #: guix-git/doc/guix.texi:28484
  42694. #, no-wrap
  42695. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  42696. msgstr ""
  42697. #. type: deftypevr
  42698. #: guix-git/doc/guix.texi:28488
  42699. 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."
  42700. msgstr ""
  42701. #. type: deftypevr
  42702. #: guix-git/doc/guix.texi:28493
  42703. #, no-wrap
  42704. msgid "{@code{tlp-configuration} parameter} string bay-device"
  42705. msgstr ""
  42706. #. type: deftypevr
  42707. #: guix-git/doc/guix.texi:28495
  42708. msgid "Name of the optical drive device to power off."
  42709. msgstr ""
  42710. #. type: deftypevr
  42711. #: guix-git/doc/guix.texi:28497
  42712. msgid "Defaults to @samp{\"sr0\"}."
  42713. msgstr ""
  42714. #. type: deftypevr
  42715. #: guix-git/doc/guix.texi:28500
  42716. #, no-wrap
  42717. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  42718. msgstr ""
  42719. #. type: deftypevr
  42720. #: guix-git/doc/guix.texi:28503
  42721. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  42722. msgstr ""
  42723. #. type: deftypevr
  42724. #: guix-git/doc/guix.texi:28505
  42725. msgid "Defaults to @samp{\"on\"}."
  42726. msgstr ""
  42727. #. type: deftypevr
  42728. #: guix-git/doc/guix.texi:28508
  42729. #, no-wrap
  42730. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  42731. msgstr ""
  42732. #. type: deftypevr
  42733. #: guix-git/doc/guix.texi:28510
  42734. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  42735. msgstr ""
  42736. #. type: deftypevr
  42737. #: guix-git/doc/guix.texi:28515
  42738. #, no-wrap
  42739. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  42740. msgstr ""
  42741. #. type: deftypevr
  42742. #: guix-git/doc/guix.texi:28518
  42743. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  42744. msgstr ""
  42745. #. type: deftypevr
  42746. #: guix-git/doc/guix.texi:28523
  42747. #, no-wrap
  42748. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  42749. msgstr ""
  42750. #. type: deftypevr
  42751. #: guix-git/doc/guix.texi:28525
  42752. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  42753. msgstr ""
  42754. #. type: deftypevr
  42755. #: guix-git/doc/guix.texi:28530
  42756. #, no-wrap
  42757. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  42758. msgstr ""
  42759. #. type: deftypevr
  42760. #: guix-git/doc/guix.texi:28533
  42761. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  42762. msgstr ""
  42763. #. type: deftypevr
  42764. #: guix-git/doc/guix.texi:28536
  42765. #, no-wrap
  42766. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  42767. msgstr ""
  42768. #. type: deftypevr
  42769. #: guix-git/doc/guix.texi:28538
  42770. msgid "Enable USB autosuspend feature."
  42771. msgstr ""
  42772. #. type: deftypevr
  42773. #: guix-git/doc/guix.texi:28543
  42774. #, no-wrap
  42775. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  42776. msgstr ""
  42777. #. type: deftypevr
  42778. #: guix-git/doc/guix.texi:28545
  42779. msgid "Exclude specified devices from USB autosuspend."
  42780. msgstr ""
  42781. #. type: deftypevr
  42782. #: guix-git/doc/guix.texi:28550
  42783. #, no-wrap
  42784. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  42785. msgstr ""
  42786. #. type: deftypevr
  42787. #: guix-git/doc/guix.texi:28552
  42788. msgid "Exclude WWAN devices from USB autosuspend."
  42789. msgstr ""
  42790. #. type: deftypevr
  42791. #: guix-git/doc/guix.texi:28557
  42792. #, no-wrap
  42793. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  42794. msgstr ""
  42795. #. type: deftypevr
  42796. #: guix-git/doc/guix.texi:28560
  42797. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  42798. msgstr ""
  42799. #. type: deftypevr
  42800. #: guix-git/doc/guix.texi:28565
  42801. #, no-wrap
  42802. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  42803. msgstr ""
  42804. #. type: deftypevr
  42805. #: guix-git/doc/guix.texi:28567
  42806. msgid "Enable USB autosuspend before shutdown."
  42807. msgstr ""
  42808. #. type: deftypevr
  42809. #: guix-git/doc/guix.texi:28572
  42810. #, no-wrap
  42811. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  42812. msgstr ""
  42813. #. type: deftypevr
  42814. #: guix-git/doc/guix.texi:28575
  42815. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  42816. msgstr ""
  42817. #. type: cindex
  42818. #: guix-git/doc/guix.texi:28580
  42819. #, no-wrap
  42820. msgid "thermald"
  42821. msgstr ""
  42822. #. type: cindex
  42823. #: guix-git/doc/guix.texi:28581
  42824. #, no-wrap
  42825. msgid "CPU frequency scaling with thermald"
  42826. msgstr ""
  42827. #. type: subsubheading
  42828. #: guix-git/doc/guix.texi:28582
  42829. #, no-wrap
  42830. msgid "Thermald daemon"
  42831. msgstr ""
  42832. #. type: Plain text
  42833. #: guix-git/doc/guix.texi:28586
  42834. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  42835. msgstr ""
  42836. #. type: defvr
  42837. #: guix-git/doc/guix.texi:28587
  42838. #, no-wrap
  42839. msgid "{Scheme Variable} thermald-service-type"
  42840. msgstr ""
  42841. #. type: defvr
  42842. #: guix-git/doc/guix.texi:28592
  42843. 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."
  42844. msgstr ""
  42845. #. type: deftp
  42846. #: guix-git/doc/guix.texi:28594
  42847. #, no-wrap
  42848. msgid "{Data Type} thermald-configuration"
  42849. msgstr ""
  42850. #. type: deftp
  42851. #: guix-git/doc/guix.texi:28596
  42852. msgid "Data type representing the configuration of @code{thermald-service-type}."
  42853. msgstr ""
  42854. #. type: item
  42855. #: guix-git/doc/guix.texi:28598
  42856. #, no-wrap
  42857. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  42858. msgstr ""
  42859. #. type: table
  42860. #: guix-git/doc/guix.texi:28600
  42861. msgid "Ignore cpuid check for supported CPU models."
  42862. msgstr ""
  42863. #. type: item
  42864. #: guix-git/doc/guix.texi:28601
  42865. #, no-wrap
  42866. msgid "@code{thermald} (default: @var{thermald})"
  42867. msgstr ""
  42868. #. type: table
  42869. #: guix-git/doc/guix.texi:28603
  42870. msgid "Package object of thermald."
  42871. msgstr ""
  42872. #. type: Plain text
  42873. #: guix-git/doc/guix.texi:28612
  42874. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  42875. msgstr ""
  42876. #. type: cindex
  42877. #: guix-git/doc/guix.texi:28613
  42878. #, no-wrap
  42879. msgid "mpd"
  42880. msgstr ""
  42881. #. type: subsubheading
  42882. #: guix-git/doc/guix.texi:28614
  42883. #, no-wrap
  42884. msgid "Music Player Daemon"
  42885. msgstr ""
  42886. #. type: Plain text
  42887. #: guix-git/doc/guix.texi:28619
  42888. 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."
  42889. msgstr ""
  42890. #. type: Plain text
  42891. #: guix-git/doc/guix.texi:28622
  42892. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  42893. msgstr ""
  42894. #. type: lisp
  42895. #: guix-git/doc/guix.texi:28628
  42896. #, no-wrap
  42897. msgid ""
  42898. "(service mpd-service-type\n"
  42899. " (mpd-configuration\n"
  42900. " (user \"bob\")\n"
  42901. " (port \"6666\")))\n"
  42902. msgstr ""
  42903. #. type: defvr
  42904. #: guix-git/doc/guix.texi:28630
  42905. #, no-wrap
  42906. msgid "{Scheme Variable} mpd-service-type"
  42907. msgstr ""
  42908. #. type: defvr
  42909. #: guix-git/doc/guix.texi:28632
  42910. msgid "The service type for @command{mpd}"
  42911. msgstr ""
  42912. #. type: deftp
  42913. #: guix-git/doc/guix.texi:28634
  42914. #, no-wrap
  42915. msgid "{Data Type} mpd-configuration"
  42916. msgstr ""
  42917. #. type: deftp
  42918. #: guix-git/doc/guix.texi:28636
  42919. msgid "Data type representing the configuration of @command{mpd}."
  42920. msgstr ""
  42921. #. type: item
  42922. #: guix-git/doc/guix.texi:28638
  42923. #, no-wrap
  42924. msgid "@code{user} (default: @code{\"mpd\"})"
  42925. msgstr ""
  42926. #. type: table
  42927. #: guix-git/doc/guix.texi:28640
  42928. msgid "The user to run mpd as."
  42929. msgstr ""
  42930. #. type: item
  42931. #: guix-git/doc/guix.texi:28641
  42932. #, no-wrap
  42933. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  42934. msgstr ""
  42935. #. type: table
  42936. #: guix-git/doc/guix.texi:28643
  42937. msgid "The directory to scan for music files."
  42938. msgstr ""
  42939. #. type: item
  42940. #: guix-git/doc/guix.texi:28644
  42941. #, no-wrap
  42942. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  42943. msgstr ""
  42944. #. type: table
  42945. #: guix-git/doc/guix.texi:28646
  42946. msgid "The directory to store playlists."
  42947. msgstr ""
  42948. #. type: item
  42949. #: guix-git/doc/guix.texi:28647
  42950. #, no-wrap
  42951. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  42952. msgstr ""
  42953. #. type: table
  42954. #: guix-git/doc/guix.texi:28649
  42955. msgid "The location of the music database."
  42956. msgstr ""
  42957. #. type: item
  42958. #: guix-git/doc/guix.texi:28650
  42959. #, no-wrap
  42960. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  42961. msgstr ""
  42962. #. type: table
  42963. #: guix-git/doc/guix.texi:28652
  42964. msgid "The location of the file that stores current MPD's state."
  42965. msgstr ""
  42966. #. type: item
  42967. #: guix-git/doc/guix.texi:28653
  42968. #, no-wrap
  42969. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  42970. msgstr ""
  42971. #. type: table
  42972. #: guix-git/doc/guix.texi:28655
  42973. msgid "The location of the sticker database."
  42974. msgstr ""
  42975. #. type: item
  42976. #: guix-git/doc/guix.texi:28656
  42977. #, no-wrap
  42978. msgid "@code{port} (default: @code{\"6600\"})"
  42979. msgstr ""
  42980. #. type: table
  42981. #: guix-git/doc/guix.texi:28658
  42982. msgid "The port to run mpd on."
  42983. msgstr ""
  42984. #. type: item
  42985. #: guix-git/doc/guix.texi:28659
  42986. #, no-wrap
  42987. msgid "@code{address} (default: @code{\"any\"})"
  42988. msgstr ""
  42989. #. type: table
  42990. #: guix-git/doc/guix.texi:28662
  42991. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  42992. msgstr ""
  42993. #. type: item
  42994. #: guix-git/doc/guix.texi:28663
  42995. #, no-wrap
  42996. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  42997. msgstr ""
  42998. #. type: table
  42999. #: guix-git/doc/guix.texi:28665
  43000. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  43001. msgstr ""
  43002. #. type: deftp
  43003. #: guix-git/doc/guix.texi:28669
  43004. #, no-wrap
  43005. msgid "{Data Type} mpd-output"
  43006. msgstr ""
  43007. #. type: deftp
  43008. #: guix-git/doc/guix.texi:28671
  43009. msgid "Data type representing an @command{mpd} audio output."
  43010. msgstr ""
  43011. #. type: item
  43012. #: guix-git/doc/guix.texi:28673
  43013. #, no-wrap
  43014. msgid "@code{name} (default: @code{\"MPD\"})"
  43015. msgstr ""
  43016. #. type: table
  43017. #: guix-git/doc/guix.texi:28675
  43018. msgid "The name of the audio output."
  43019. msgstr ""
  43020. #. type: item
  43021. #: guix-git/doc/guix.texi:28676
  43022. #, no-wrap
  43023. msgid "@code{type} (default: @code{\"pulse\"})"
  43024. msgstr ""
  43025. #. type: table
  43026. #: guix-git/doc/guix.texi:28678
  43027. msgid "The type of audio output."
  43028. msgstr ""
  43029. #. type: item
  43030. #: guix-git/doc/guix.texi:28679
  43031. #, no-wrap
  43032. msgid "@code{enabled?} (default: @code{#t})"
  43033. msgstr ""
  43034. #. type: table
  43035. #: guix-git/doc/guix.texi:28684
  43036. 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."
  43037. msgstr ""
  43038. #. type: item
  43039. #: guix-git/doc/guix.texi:28685
  43040. #, no-wrap
  43041. msgid "@code{tags?} (default: @code{#t})"
  43042. msgstr ""
  43043. #. type: table
  43044. #: guix-git/doc/guix.texi:28689
  43045. 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."
  43046. msgstr ""
  43047. #. type: item
  43048. #: guix-git/doc/guix.texi:28690
  43049. #, no-wrap
  43050. msgid "@code{always-on?} (default: @code{#f})"
  43051. msgstr ""
  43052. #. type: table
  43053. #: guix-git/doc/guix.texi:28694
  43054. 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."
  43055. msgstr ""
  43056. #. type: code{#1}
  43057. #: guix-git/doc/guix.texi:28695
  43058. #, no-wrap
  43059. msgid "mixer-type"
  43060. msgstr ""
  43061. #. type: table
  43062. #: guix-git/doc/guix.texi:28701
  43063. 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})."
  43064. msgstr ""
  43065. #. type: table
  43066. #: guix-git/doc/guix.texi:28705
  43067. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  43068. msgstr ""
  43069. #. type: Plain text
  43070. #: guix-git/doc/guix.texi:28711
  43071. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  43072. msgstr ""
  43073. #. type: lisp
  43074. #: guix-git/doc/guix.texi:28723
  43075. #, no-wrap
  43076. msgid ""
  43077. "(service mpd-service-type\n"
  43078. " (mpd-configuration\n"
  43079. " (outputs\n"
  43080. " (list (mpd-output\n"
  43081. " (name \"streaming\")\n"
  43082. " (type \"httpd\")\n"
  43083. " (mixer-type 'null)\n"
  43084. " (extra-options\n"
  43085. " `((encoder . \"vorbis\")\n"
  43086. " (port . \"8080\"))))))))\n"
  43087. msgstr ""
  43088. #. type: Plain text
  43089. #: guix-git/doc/guix.texi:28732
  43090. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  43091. msgstr ""
  43092. #. type: subsubheading
  43093. #: guix-git/doc/guix.texi:28733
  43094. #, no-wrap
  43095. msgid "Libvirt daemon"
  43096. msgstr ""
  43097. #. type: Plain text
  43098. #: guix-git/doc/guix.texi:28738
  43099. 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."
  43100. msgstr ""
  43101. #. type: deffn
  43102. #: guix-git/doc/guix.texi:28739
  43103. #, no-wrap
  43104. msgid "{Scheme Variable} libvirt-service-type"
  43105. msgstr ""
  43106. #. type: deffn
  43107. #: guix-git/doc/guix.texi:28742
  43108. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  43109. msgstr ""
  43110. #. type: lisp
  43111. #: guix-git/doc/guix.texi:28748
  43112. #, no-wrap
  43113. msgid ""
  43114. "(service libvirt-service-type\n"
  43115. " (libvirt-configuration\n"
  43116. " (unix-sock-group \"libvirt\")\n"
  43117. " (tls-port \"16555\")))\n"
  43118. msgstr ""
  43119. #. type: Plain text
  43120. #: guix-git/doc/guix.texi:28753
  43121. msgid "Available @code{libvirt-configuration} fields are:"
  43122. msgstr ""
  43123. #. type: deftypevr
  43124. #: guix-git/doc/guix.texi:28754
  43125. #, no-wrap
  43126. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  43127. msgstr ""
  43128. #. type: deftypevr
  43129. #: guix-git/doc/guix.texi:28756
  43130. msgid "Libvirt package."
  43131. msgstr ""
  43132. #. type: deftypevr
  43133. #: guix-git/doc/guix.texi:28759
  43134. #, no-wrap
  43135. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  43136. msgstr ""
  43137. #. type: deftypevr
  43138. #: guix-git/doc/guix.texi:28762
  43139. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  43140. msgstr ""
  43141. #. type: deftypevr
  43142. #: guix-git/doc/guix.texi:28765
  43143. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  43144. msgstr ""
  43145. #. type: deftypevr
  43146. #: guix-git/doc/guix.texi:28770
  43147. #, no-wrap
  43148. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  43149. msgstr ""
  43150. #. type: deftypevr
  43151. #: guix-git/doc/guix.texi:28773
  43152. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  43153. msgstr ""
  43154. #. type: deftypevr
  43155. #: guix-git/doc/guix.texi:28777
  43156. 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)."
  43157. msgstr ""
  43158. #. type: deftypevr
  43159. #: guix-git/doc/guix.texi:28782
  43160. #, no-wrap
  43161. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  43162. msgstr ""
  43163. #. type: deftypevr
  43164. #: guix-git/doc/guix.texi:28785
  43165. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  43166. msgstr ""
  43167. #. type: deftypevr
  43168. #: guix-git/doc/guix.texi:28787
  43169. msgid "Defaults to @samp{\"16514\"}."
  43170. msgstr ""
  43171. #. type: deftypevr
  43172. #: guix-git/doc/guix.texi:28790
  43173. #, no-wrap
  43174. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  43175. msgstr ""
  43176. #. type: deftypevr
  43177. #: guix-git/doc/guix.texi:28793
  43178. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  43179. msgstr ""
  43180. #. type: deftypevr
  43181. #: guix-git/doc/guix.texi:28795
  43182. msgid "Defaults to @samp{\"16509\"}."
  43183. msgstr ""
  43184. #. type: deftypevr
  43185. #: guix-git/doc/guix.texi:28798
  43186. #, no-wrap
  43187. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  43188. msgstr ""
  43189. #. type: deftypevr
  43190. #: guix-git/doc/guix.texi:28800
  43191. msgid "IP address or hostname used for client connections."
  43192. msgstr ""
  43193. #. type: deftypevr
  43194. #: guix-git/doc/guix.texi:28805
  43195. #, no-wrap
  43196. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  43197. msgstr ""
  43198. #. type: deftypevr
  43199. #: guix-git/doc/guix.texi:28807
  43200. msgid "Flag toggling mDNS advertisement of the libvirt service."
  43201. msgstr ""
  43202. #. type: deftypevr
  43203. #: guix-git/doc/guix.texi:28810
  43204. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  43205. msgstr ""
  43206. #. type: deftypevr
  43207. #: guix-git/doc/guix.texi:28815
  43208. #, no-wrap
  43209. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  43210. msgstr ""
  43211. #. type: deftypevr
  43212. #: guix-git/doc/guix.texi:28818
  43213. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  43214. msgstr ""
  43215. #. type: deftypevr
  43216. #: guix-git/doc/guix.texi:28820
  43217. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  43218. msgstr ""
  43219. #. type: deftypevr
  43220. #: guix-git/doc/guix.texi:28823
  43221. #, no-wrap
  43222. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  43223. msgstr ""
  43224. #. type: deftypevr
  43225. #: guix-git/doc/guix.texi:28827
  43226. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  43227. msgstr ""
  43228. #. type: deftypevr
  43229. #: guix-git/doc/guix.texi:28832
  43230. #, no-wrap
  43231. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  43232. msgstr ""
  43233. #. type: deftypevr
  43234. #: guix-git/doc/guix.texi:28835
  43235. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  43236. msgstr ""
  43237. #. type: deftypevr
  43238. #: guix-git/doc/guix.texi:28837 guix-git/doc/guix.texi:28855
  43239. msgid "Defaults to @samp{\"0777\"}."
  43240. msgstr ""
  43241. #. type: deftypevr
  43242. #: guix-git/doc/guix.texi:28840
  43243. #, no-wrap
  43244. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  43245. msgstr ""
  43246. #. type: deftypevr
  43247. #: guix-git/doc/guix.texi:28844
  43248. 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)"
  43249. msgstr ""
  43250. #. type: deftypevr
  43251. #: guix-git/doc/guix.texi:28846
  43252. msgid "Defaults to @samp{\"0770\"}."
  43253. msgstr ""
  43254. #. type: deftypevr
  43255. #: guix-git/doc/guix.texi:28849
  43256. #, no-wrap
  43257. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  43258. msgstr ""
  43259. #. type: deftypevr
  43260. #: guix-git/doc/guix.texi:28853
  43261. 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."
  43262. msgstr ""
  43263. #. type: deftypevr
  43264. #: guix-git/doc/guix.texi:28858
  43265. #, no-wrap
  43266. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  43267. msgstr ""
  43268. #. type: deftypevr
  43269. #: guix-git/doc/guix.texi:28860
  43270. msgid "The directory in which sockets will be found/created."
  43271. msgstr ""
  43272. #. type: deftypevr
  43273. #: guix-git/doc/guix.texi:28862
  43274. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  43275. msgstr ""
  43276. #. type: deftypevr
  43277. #: guix-git/doc/guix.texi:28865
  43278. #, no-wrap
  43279. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  43280. msgstr ""
  43281. #. type: deftypevr
  43282. #: guix-git/doc/guix.texi:28868
  43283. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  43284. msgstr ""
  43285. #. type: deftypevr
  43286. #: guix-git/doc/guix.texi:28870 guix-git/doc/guix.texi:28879
  43287. msgid "Defaults to @samp{\"polkit\"}."
  43288. msgstr ""
  43289. #. type: deftypevr
  43290. #: guix-git/doc/guix.texi:28873
  43291. #, no-wrap
  43292. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  43293. msgstr ""
  43294. #. type: deftypevr
  43295. #: guix-git/doc/guix.texi:28877
  43296. 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."
  43297. msgstr ""
  43298. #. type: deftypevr
  43299. #: guix-git/doc/guix.texi:28882
  43300. #, no-wrap
  43301. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  43302. msgstr ""
  43303. #. type: deftypevr
  43304. #: guix-git/doc/guix.texi:28886
  43305. 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."
  43306. msgstr ""
  43307. #. type: deftypevr
  43308. #: guix-git/doc/guix.texi:28888
  43309. msgid "Defaults to @samp{\"sasl\"}."
  43310. msgstr ""
  43311. #. type: deftypevr
  43312. #: guix-git/doc/guix.texi:28891
  43313. #, no-wrap
  43314. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  43315. msgstr ""
  43316. #. type: deftypevr
  43317. #: guix-git/doc/guix.texi:28895
  43318. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  43319. msgstr ""
  43320. #. type: deftypevr
  43321. #: guix-git/doc/guix.texi:28898
  43322. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  43323. msgstr ""
  43324. #. type: deftypevr
  43325. #: guix-git/doc/guix.texi:28900
  43326. msgid "Defaults to @samp{\"none\"}."
  43327. msgstr ""
  43328. #. type: deftypevr
  43329. #: guix-git/doc/guix.texi:28903
  43330. #, no-wrap
  43331. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  43332. msgstr ""
  43333. #. type: deftypevr
  43334. #: guix-git/doc/guix.texi:28905
  43335. msgid "API access control scheme."
  43336. msgstr ""
  43337. #. type: deftypevr
  43338. #: guix-git/doc/guix.texi:28908
  43339. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  43340. msgstr ""
  43341. #. type: deftypevr
  43342. #: guix-git/doc/guix.texi:28913
  43343. #, no-wrap
  43344. msgid "{@code{libvirt-configuration} parameter} string key-file"
  43345. msgstr ""
  43346. #. type: deftypevr
  43347. #: guix-git/doc/guix.texi:28916
  43348. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  43349. msgstr ""
  43350. #. type: deftypevr
  43351. #: guix-git/doc/guix.texi:28921
  43352. #, no-wrap
  43353. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  43354. msgstr ""
  43355. #. type: deftypevr
  43356. #: guix-git/doc/guix.texi:28924
  43357. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  43358. msgstr ""
  43359. #. type: deftypevr
  43360. #: guix-git/doc/guix.texi:28929
  43361. #, no-wrap
  43362. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  43363. msgstr ""
  43364. #. type: deftypevr
  43365. #: guix-git/doc/guix.texi:28932
  43366. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  43367. msgstr ""
  43368. #. type: deftypevr
  43369. #: guix-git/doc/guix.texi:28937
  43370. #, no-wrap
  43371. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  43372. msgstr ""
  43373. #. type: deftypevr
  43374. #: guix-git/doc/guix.texi:28940
  43375. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  43376. msgstr ""
  43377. #. type: deftypevr
  43378. #: guix-git/doc/guix.texi:28945
  43379. #, no-wrap
  43380. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  43381. msgstr ""
  43382. #. type: deftypevr
  43383. #: guix-git/doc/guix.texi:28947
  43384. msgid "Disable verification of our own server certificates."
  43385. msgstr ""
  43386. #. type: deftypevr
  43387. #: guix-git/doc/guix.texi:28950
  43388. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  43389. msgstr ""
  43390. #. type: deftypevr
  43391. #: guix-git/doc/guix.texi:28955
  43392. #, no-wrap
  43393. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  43394. msgstr ""
  43395. #. type: deftypevr
  43396. #: guix-git/doc/guix.texi:28957
  43397. msgid "Disable verification of client certificates."
  43398. msgstr ""
  43399. #. type: deftypevr
  43400. #: guix-git/doc/guix.texi:28961
  43401. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  43402. msgstr ""
  43403. #. type: deftypevr
  43404. #: guix-git/doc/guix.texi:28966
  43405. #, no-wrap
  43406. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  43407. msgstr ""
  43408. #. type: deftypevr
  43409. #: guix-git/doc/guix.texi:28968
  43410. msgid "Whitelist of allowed x509 Distinguished Name."
  43411. msgstr ""
  43412. #. type: deftypevr
  43413. #: guix-git/doc/guix.texi:28973
  43414. #, no-wrap
  43415. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  43416. msgstr ""
  43417. #. type: deftypevr
  43418. #: guix-git/doc/guix.texi:28976
  43419. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  43420. msgstr ""
  43421. #. type: deftypevr
  43422. #: guix-git/doc/guix.texi:28981
  43423. #, no-wrap
  43424. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  43425. msgstr ""
  43426. #. type: deftypevr
  43427. #: guix-git/doc/guix.texi:28985
  43428. 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."
  43429. msgstr ""
  43430. #. type: deftypevr
  43431. #: guix-git/doc/guix.texi:28987
  43432. msgid "Defaults to @samp{\"NORMAL\"}."
  43433. msgstr ""
  43434. #. type: deftypevr
  43435. #: guix-git/doc/guix.texi:28990
  43436. #, no-wrap
  43437. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  43438. msgstr ""
  43439. #. type: deftypevr
  43440. #: guix-git/doc/guix.texi:28993 guix-git/doc/guix.texi:29417
  43441. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  43442. msgstr ""
  43443. #. type: deftypevr
  43444. #: guix-git/doc/guix.texi:28995
  43445. msgid "Defaults to @samp{5000}."
  43446. msgstr ""
  43447. #. type: deftypevr
  43448. #: guix-git/doc/guix.texi:28998
  43449. #, no-wrap
  43450. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  43451. msgstr ""
  43452. #. type: deftypevr
  43453. #: guix-git/doc/guix.texi:29002
  43454. 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."
  43455. msgstr ""
  43456. #. type: deftypevr
  43457. #: guix-git/doc/guix.texi:29007
  43458. #, no-wrap
  43459. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  43460. msgstr ""
  43461. #. type: deftypevr
  43462. #: guix-git/doc/guix.texi:29010
  43463. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  43464. msgstr ""
  43465. #. type: deftypevr
  43466. #: guix-git/doc/guix.texi:29012 guix-git/doc/guix.texi:29030
  43467. #: guix-git/doc/guix.texi:29046
  43468. msgid "Defaults to @samp{20}."
  43469. msgstr ""
  43470. #. type: deftypevr
  43471. #: guix-git/doc/guix.texi:29015
  43472. #, no-wrap
  43473. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  43474. msgstr ""
  43475. #. type: deftypevr
  43476. #: guix-git/doc/guix.texi:29017
  43477. msgid "Number of workers to start up initially."
  43478. msgstr ""
  43479. #. type: deftypevr
  43480. #: guix-git/doc/guix.texi:29022
  43481. #, no-wrap
  43482. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  43483. msgstr ""
  43484. #. type: deftypevr
  43485. #: guix-git/doc/guix.texi:29024
  43486. msgid "Maximum number of worker threads."
  43487. msgstr ""
  43488. #. type: deftypevr
  43489. #: guix-git/doc/guix.texi:29028
  43490. 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."
  43491. msgstr ""
  43492. #. type: deftypevr
  43493. #: guix-git/doc/guix.texi:29033
  43494. #, no-wrap
  43495. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  43496. msgstr ""
  43497. #. type: deftypevr
  43498. #: guix-git/doc/guix.texi:29037
  43499. 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."
  43500. msgstr ""
  43501. #. type: deftypevr
  43502. #: guix-git/doc/guix.texi:29042
  43503. #, no-wrap
  43504. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  43505. msgstr ""
  43506. #. type: deftypevr
  43507. #: guix-git/doc/guix.texi:29044
  43508. msgid "Total global limit on concurrent RPC calls."
  43509. msgstr ""
  43510. #. type: deftypevr
  43511. #: guix-git/doc/guix.texi:29049
  43512. #, no-wrap
  43513. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  43514. msgstr ""
  43515. #. type: deftypevr
  43516. #: guix-git/doc/guix.texi:29053
  43517. 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."
  43518. msgstr ""
  43519. #. type: deftypevr
  43520. #: guix-git/doc/guix.texi:29058
  43521. #, no-wrap
  43522. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  43523. msgstr ""
  43524. #. type: deftypevr
  43525. #: guix-git/doc/guix.texi:29060
  43526. msgid "Same as @code{min-workers} but for the admin interface."
  43527. msgstr ""
  43528. #. type: deftypevr
  43529. #: guix-git/doc/guix.texi:29065
  43530. #, no-wrap
  43531. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  43532. msgstr ""
  43533. #. type: deftypevr
  43534. #: guix-git/doc/guix.texi:29067
  43535. msgid "Same as @code{max-workers} but for the admin interface."
  43536. msgstr ""
  43537. #. type: deftypevr
  43538. #: guix-git/doc/guix.texi:29072
  43539. #, no-wrap
  43540. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  43541. msgstr ""
  43542. #. type: deftypevr
  43543. #: guix-git/doc/guix.texi:29074
  43544. msgid "Same as @code{max-clients} but for the admin interface."
  43545. msgstr ""
  43546. #. type: deftypevr
  43547. #: guix-git/doc/guix.texi:29079
  43548. #, no-wrap
  43549. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  43550. msgstr ""
  43551. #. type: deftypevr
  43552. #: guix-git/doc/guix.texi:29081
  43553. msgid "Same as @code{max-queued-clients} but for the admin interface."
  43554. msgstr ""
  43555. #. type: deftypevr
  43556. #: guix-git/doc/guix.texi:29086
  43557. #, no-wrap
  43558. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  43559. msgstr ""
  43560. #. type: deftypevr
  43561. #: guix-git/doc/guix.texi:29088
  43562. msgid "Same as @code{max-client-requests} but for the admin interface."
  43563. msgstr ""
  43564. #. type: deftypevr
  43565. #: guix-git/doc/guix.texi:29093
  43566. #, no-wrap
  43567. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  43568. msgstr ""
  43569. #. type: deftypevr
  43570. #: guix-git/doc/guix.texi:29095 guix-git/doc/guix.texi:29319
  43571. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  43572. msgstr ""
  43573. #. type: deftypevr
  43574. #: guix-git/doc/guix.texi:29100
  43575. #, no-wrap
  43576. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  43577. msgstr ""
  43578. #. type: deftypevr
  43579. #: guix-git/doc/guix.texi:29102 guix-git/doc/guix.texi:29326
  43580. msgid "Logging filters."
  43581. msgstr ""
  43582. #. type: deftypevr
  43583. #: guix-git/doc/guix.texi:29105
  43584. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  43585. msgstr ""
  43586. #. type: itemize
  43587. #: guix-git/doc/guix.texi:29109 guix-git/doc/guix.texi:29333
  43588. msgid "x:name"
  43589. msgstr ""
  43590. #. type: itemize
  43591. #: guix-git/doc/guix.texi:29112 guix-git/doc/guix.texi:29336
  43592. msgid "x:+name"
  43593. msgstr ""
  43594. #. type: deftypevr
  43595. #: guix-git/doc/guix.texi:29123
  43596. 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:"
  43597. msgstr ""
  43598. #. type: itemize
  43599. #: guix-git/doc/guix.texi:29127 guix-git/doc/guix.texi:29172
  43600. #: guix-git/doc/guix.texi:29350 guix-git/doc/guix.texi:29395
  43601. msgid "1: DEBUG"
  43602. msgstr ""
  43603. #. type: itemize
  43604. #: guix-git/doc/guix.texi:29130 guix-git/doc/guix.texi:29175
  43605. #: guix-git/doc/guix.texi:29353 guix-git/doc/guix.texi:29398
  43606. msgid "2: INFO"
  43607. msgstr ""
  43608. #. type: itemize
  43609. #: guix-git/doc/guix.texi:29133 guix-git/doc/guix.texi:29178
  43610. #: guix-git/doc/guix.texi:29356 guix-git/doc/guix.texi:29401
  43611. msgid "3: WARNING"
  43612. msgstr ""
  43613. #. type: itemize
  43614. #: guix-git/doc/guix.texi:29136 guix-git/doc/guix.texi:29181
  43615. #: guix-git/doc/guix.texi:29359 guix-git/doc/guix.texi:29404
  43616. msgid "4: ERROR"
  43617. msgstr ""
  43618. #. type: deftypevr
  43619. #: guix-git/doc/guix.texi:29141 guix-git/doc/guix.texi:29364
  43620. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  43621. msgstr ""
  43622. #. type: deftypevr
  43623. #: guix-git/doc/guix.texi:29143 guix-git/doc/guix.texi:29366
  43624. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  43625. msgstr ""
  43626. #. type: deftypevr
  43627. #: guix-git/doc/guix.texi:29146
  43628. #, no-wrap
  43629. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  43630. msgstr ""
  43631. #. type: deftypevr
  43632. #: guix-git/doc/guix.texi:29148 guix-git/doc/guix.texi:29371
  43633. msgid "Logging outputs."
  43634. msgstr ""
  43635. #. type: deftypevr
  43636. #: guix-git/doc/guix.texi:29151
  43637. msgid "An output is one of the places to save logging information. The format for an output can be:"
  43638. msgstr ""
  43639. #. type: item
  43640. #: guix-git/doc/guix.texi:29153 guix-git/doc/guix.texi:29376
  43641. #, no-wrap
  43642. msgid "x:stderr"
  43643. msgstr ""
  43644. #. type: table
  43645. #: guix-git/doc/guix.texi:29155 guix-git/doc/guix.texi:29378
  43646. msgid "output goes to stderr"
  43647. msgstr ""
  43648. #. type: item
  43649. #: guix-git/doc/guix.texi:29156 guix-git/doc/guix.texi:29379
  43650. #, no-wrap
  43651. msgid "x:syslog:name"
  43652. msgstr ""
  43653. #. type: table
  43654. #: guix-git/doc/guix.texi:29158 guix-git/doc/guix.texi:29381
  43655. msgid "use syslog for the output and use the given name as the ident"
  43656. msgstr ""
  43657. #. type: item
  43658. #: guix-git/doc/guix.texi:29159 guix-git/doc/guix.texi:29382
  43659. #, no-wrap
  43660. msgid "x:file:file_path"
  43661. msgstr ""
  43662. #. type: table
  43663. #: guix-git/doc/guix.texi:29161 guix-git/doc/guix.texi:29384
  43664. msgid "output to a file, with the given filepath"
  43665. msgstr ""
  43666. #. type: item
  43667. #: guix-git/doc/guix.texi:29162 guix-git/doc/guix.texi:29385
  43668. #, no-wrap
  43669. msgid "x:journald"
  43670. msgstr ""
  43671. #. type: table
  43672. #: guix-git/doc/guix.texi:29164 guix-git/doc/guix.texi:29387
  43673. msgid "output to journald logging system"
  43674. msgstr ""
  43675. #. type: deftypevr
  43676. #: guix-git/doc/guix.texi:29168 guix-git/doc/guix.texi:29391
  43677. msgid "In all case the x prefix is the minimal level, acting as a filter"
  43678. msgstr ""
  43679. #. type: deftypevr
  43680. #: guix-git/doc/guix.texi:29186 guix-git/doc/guix.texi:29409
  43681. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  43682. msgstr ""
  43683. #. type: deftypevr
  43684. #: guix-git/doc/guix.texi:29188 guix-git/doc/guix.texi:29411
  43685. msgid "Defaults to @samp{\"3:stderr\"}."
  43686. msgstr ""
  43687. #. type: deftypevr
  43688. #: guix-git/doc/guix.texi:29191
  43689. #, no-wrap
  43690. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  43691. msgstr ""
  43692. #. type: deftypevr
  43693. #: guix-git/doc/guix.texi:29193
  43694. msgid "Allows usage of the auditing subsystem to be altered"
  43695. msgstr ""
  43696. #. type: itemize
  43697. #: guix-git/doc/guix.texi:29197
  43698. msgid "0: disable all auditing"
  43699. msgstr ""
  43700. #. type: itemize
  43701. #: guix-git/doc/guix.texi:29200
  43702. msgid "1: enable auditing, only if enabled on host"
  43703. msgstr ""
  43704. #. type: itemize
  43705. #: guix-git/doc/guix.texi:29203
  43706. msgid "2: enable auditing, and exit if disabled on host."
  43707. msgstr ""
  43708. #. type: deftypevr
  43709. #: guix-git/doc/guix.texi:29210
  43710. #, no-wrap
  43711. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  43712. msgstr ""
  43713. #. type: deftypevr
  43714. #: guix-git/doc/guix.texi:29212
  43715. msgid "Send audit messages via libvirt logging infrastructure."
  43716. msgstr ""
  43717. #. type: deftypevr
  43718. #: guix-git/doc/guix.texi:29217
  43719. #, no-wrap
  43720. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  43721. msgstr ""
  43722. #. type: deftypevr
  43723. #: guix-git/doc/guix.texi:29219
  43724. msgid "Host UUID@. UUID must not have all digits be the same."
  43725. msgstr ""
  43726. #. type: deftypevr
  43727. #: guix-git/doc/guix.texi:29224
  43728. #, no-wrap
  43729. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  43730. msgstr ""
  43731. #. type: deftypevr
  43732. #: guix-git/doc/guix.texi:29226
  43733. msgid "Source to read host UUID."
  43734. msgstr ""
  43735. #. type: itemize
  43736. #: guix-git/doc/guix.texi:29230
  43737. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  43738. msgstr ""
  43739. #. type: itemize
  43740. #: guix-git/doc/guix.texi:29233
  43741. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  43742. msgstr ""
  43743. #. type: deftypevr
  43744. #: guix-git/doc/guix.texi:29238
  43745. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  43746. msgstr ""
  43747. #. type: deftypevr
  43748. #: guix-git/doc/guix.texi:29240
  43749. msgid "Defaults to @samp{\"smbios\"}."
  43750. msgstr ""
  43751. #. type: deftypevr
  43752. #: guix-git/doc/guix.texi:29243
  43753. #, no-wrap
  43754. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  43755. msgstr ""
  43756. #. type: deftypevr
  43757. #: guix-git/doc/guix.texi:29248
  43758. 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."
  43759. msgstr ""
  43760. #. type: deftypevr
  43761. #: guix-git/doc/guix.texi:29253
  43762. #, no-wrap
  43763. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  43764. msgstr ""
  43765. #. type: deftypevr
  43766. #: guix-git/doc/guix.texi:29257
  43767. 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."
  43768. msgstr ""
  43769. #. type: deftypevr
  43770. #: guix-git/doc/guix.texi:29264
  43771. 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."
  43772. msgstr ""
  43773. #. type: deftypevr
  43774. #: guix-git/doc/guix.texi:29269
  43775. #, no-wrap
  43776. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  43777. msgstr ""
  43778. #. type: deftypevr
  43779. #: guix-git/doc/guix.texi:29271 guix-git/doc/guix.texi:29278
  43780. msgid "Same as above but for admin interface."
  43781. msgstr ""
  43782. #. type: deftypevr
  43783. #: guix-git/doc/guix.texi:29276
  43784. #, no-wrap
  43785. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  43786. msgstr ""
  43787. #. type: deftypevr
  43788. #: guix-git/doc/guix.texi:29283
  43789. #, no-wrap
  43790. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  43791. msgstr ""
  43792. #. type: deftypevr
  43793. #: guix-git/doc/guix.texi:29285
  43794. msgid "Timeout for Open vSwitch calls."
  43795. msgstr ""
  43796. #. type: deftypevr
  43797. #: guix-git/doc/guix.texi:29289
  43798. 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."
  43799. msgstr ""
  43800. #. type: subsubheading
  43801. #: guix-git/doc/guix.texi:29296
  43802. #, no-wrap
  43803. msgid "Virtlog daemon"
  43804. msgstr ""
  43805. #. type: Plain text
  43806. #: guix-git/doc/guix.texi:29299
  43807. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  43808. msgstr ""
  43809. #. type: Plain text
  43810. #: guix-git/doc/guix.texi:29305
  43811. 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."
  43812. msgstr ""
  43813. #. type: deffn
  43814. #: guix-git/doc/guix.texi:29306
  43815. #, no-wrap
  43816. msgid "{Scheme Variable} virtlog-service-type"
  43817. msgstr ""
  43818. #. type: deffn
  43819. #: guix-git/doc/guix.texi:29309
  43820. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  43821. msgstr ""
  43822. #. type: lisp
  43823. #: guix-git/doc/guix.texi:29314
  43824. #, no-wrap
  43825. msgid ""
  43826. "(service virtlog-service-type\n"
  43827. " (virtlog-configuration\n"
  43828. " (max-clients 1000)))\n"
  43829. msgstr ""
  43830. #. type: deftypevr
  43831. #: guix-git/doc/guix.texi:29317
  43832. #, no-wrap
  43833. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  43834. msgstr ""
  43835. #. type: deftypevr
  43836. #: guix-git/doc/guix.texi:29324
  43837. #, no-wrap
  43838. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  43839. msgstr ""
  43840. #. type: deftypevr
  43841. #: guix-git/doc/guix.texi:29329
  43842. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  43843. msgstr ""
  43844. #. type: deftypevr
  43845. #: guix-git/doc/guix.texi:29346
  43846. 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:"
  43847. msgstr ""
  43848. #. type: deftypevr
  43849. #: guix-git/doc/guix.texi:29369
  43850. #, no-wrap
  43851. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  43852. msgstr ""
  43853. #. type: deftypevr
  43854. #: guix-git/doc/guix.texi:29374
  43855. msgid "An output is one of the places to save logging information The format for an output can be:"
  43856. msgstr ""
  43857. #. type: deftypevr
  43858. #: guix-git/doc/guix.texi:29414
  43859. #, no-wrap
  43860. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  43861. msgstr ""
  43862. #. type: deftypevr
  43863. #: guix-git/doc/guix.texi:29419
  43864. msgid "Defaults to @samp{1024}."
  43865. msgstr ""
  43866. #. type: deftypevr
  43867. #: guix-git/doc/guix.texi:29422
  43868. #, no-wrap
  43869. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  43870. msgstr ""
  43871. #. type: deftypevr
  43872. #: guix-git/doc/guix.texi:29424
  43873. msgid "Maximum file size before rolling over."
  43874. msgstr ""
  43875. #. type: deftypevr
  43876. #: guix-git/doc/guix.texi:29426
  43877. msgid "Defaults to @samp{2MB}"
  43878. msgstr ""
  43879. #. type: deftypevr
  43880. #: guix-git/doc/guix.texi:29429
  43881. #, no-wrap
  43882. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  43883. msgstr ""
  43884. #. type: deftypevr
  43885. #: guix-git/doc/guix.texi:29431
  43886. msgid "Maximum number of backup files to keep."
  43887. msgstr ""
  43888. #. type: deftypevr
  43889. #: guix-git/doc/guix.texi:29433
  43890. msgid "Defaults to @samp{3}"
  43891. msgstr ""
  43892. #. type: anchor{#1}
  43893. #: guix-git/doc/guix.texi:29437
  43894. msgid "transparent-emulation-qemu"
  43895. msgstr ""
  43896. #. type: subsubheading
  43897. #: guix-git/doc/guix.texi:29437
  43898. #, no-wrap
  43899. msgid "Transparent Emulation with QEMU"
  43900. msgstr ""
  43901. #. type: cindex
  43902. #: guix-git/doc/guix.texi:29439
  43903. #, no-wrap
  43904. msgid "emulation"
  43905. msgstr ""
  43906. #. type: code{#1}
  43907. #: guix-git/doc/guix.texi:29440
  43908. #, no-wrap
  43909. msgid "binfmt_misc"
  43910. msgstr ""
  43911. #. type: Plain text
  43912. #: guix-git/doc/guix.texi:29448
  43913. 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."
  43914. msgstr ""
  43915. #. type: defvr
  43916. #: guix-git/doc/guix.texi:29449
  43917. #, no-wrap
  43918. msgid "{Scheme Variable} qemu-binfmt-service-type"
  43919. msgstr ""
  43920. #. type: defvr
  43921. #: guix-git/doc/guix.texi:29454
  43922. 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:"
  43923. msgstr ""
  43924. #. type: lisp
  43925. #: guix-git/doc/guix.texi:29459
  43926. #, no-wrap
  43927. msgid ""
  43928. "(service qemu-binfmt-service-type\n"
  43929. " (qemu-binfmt-configuration\n"
  43930. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  43931. msgstr ""
  43932. #. type: defvr
  43933. #: guix-git/doc/guix.texi:29465
  43934. 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})."
  43935. msgstr ""
  43936. #. type: deftp
  43937. #: guix-git/doc/guix.texi:29467
  43938. #, no-wrap
  43939. msgid "{Data Type} qemu-binfmt-configuration"
  43940. msgstr ""
  43941. #. type: deftp
  43942. #: guix-git/doc/guix.texi:29469
  43943. msgid "This is the configuration for the @code{qemu-binfmt} service."
  43944. msgstr ""
  43945. #. type: item
  43946. #: guix-git/doc/guix.texi:29471
  43947. #, no-wrap
  43948. msgid "@code{platforms} (default: @code{'()})"
  43949. msgstr ""
  43950. #. type: table
  43951. #: guix-git/doc/guix.texi:29474
  43952. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  43953. msgstr ""
  43954. #. type: table
  43955. #: guix-git/doc/guix.texi:29477
  43956. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  43957. msgstr ""
  43958. #. type: lisp
  43959. #: guix-git/doc/guix.texi:29482
  43960. #, no-wrap
  43961. msgid ""
  43962. "(service qemu-binfmt-service-type\n"
  43963. " (qemu-binfmt-configuration\n"
  43964. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  43965. msgstr ""
  43966. #. type: table
  43967. #: guix-git/doc/guix.texi:29485
  43968. msgid "You can run:"
  43969. msgstr ""
  43970. #. type: example
  43971. #: guix-git/doc/guix.texi:29488
  43972. #, no-wrap
  43973. msgid "guix build -s armhf-linux inkscape\n"
  43974. msgstr ""
  43975. #. type: table
  43976. #: guix-git/doc/guix.texi:29495
  43977. 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!"
  43978. msgstr ""
  43979. #. type: item
  43980. #: guix-git/doc/guix.texi:29496
  43981. #, no-wrap
  43982. msgid "@code{qemu} (default: @code{qemu})"
  43983. msgstr ""
  43984. #. type: table
  43985. #: guix-git/doc/guix.texi:29498 guix-git/doc/guix.texi:29592
  43986. msgid "The QEMU package to use."
  43987. msgstr ""
  43988. #. type: deffn
  43989. #: guix-git/doc/guix.texi:29501
  43990. #, no-wrap
  43991. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  43992. msgstr ""
  43993. #. type: deffn
  43994. #: guix-git/doc/guix.texi:29506
  43995. 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."
  43996. msgstr ""
  43997. #. type: deffn
  43998. #: guix-git/doc/guix.texi:29508
  43999. #, no-wrap
  44000. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  44001. msgstr ""
  44002. #. type: deffn
  44003. #: guix-git/doc/guix.texi:29510
  44004. msgid "Return true if @var{obj} is a platform object."
  44005. msgstr ""
  44006. #. type: deffn
  44007. #: guix-git/doc/guix.texi:29512
  44008. #, no-wrap
  44009. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  44010. msgstr ""
  44011. #. type: deffn
  44012. #: guix-git/doc/guix.texi:29514
  44013. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  44014. msgstr ""
  44015. #. type: subsubheading
  44016. #: guix-git/doc/guix.texi:29517
  44017. #, no-wrap
  44018. msgid "The Hurd in a Virtual Machine"
  44019. msgstr ""
  44020. #. type: cindex
  44021. #: guix-git/doc/guix.texi:29520
  44022. #, no-wrap
  44023. msgid "the Hurd"
  44024. msgstr ""
  44025. #. type: cindex
  44026. #: guix-git/doc/guix.texi:29521
  44027. #, no-wrap
  44028. msgid "childhurd"
  44029. msgstr ""
  44030. #. type: Plain text
  44031. #: guix-git/doc/guix.texi:29529
  44032. 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:"
  44033. msgstr ""
  44034. #. type: example
  44035. #: guix-git/doc/guix.texi:29533
  44036. #, no-wrap
  44037. msgid ""
  44038. "herd start hurd-vm\n"
  44039. "herd stop childhurd\n"
  44040. msgstr ""
  44041. #. type: Plain text
  44042. #: guix-git/doc/guix.texi:29537
  44043. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  44044. msgstr ""
  44045. #. type: example
  44046. #: guix-git/doc/guix.texi:29541
  44047. #, no-wrap
  44048. msgid ""
  44049. "guix environment --ad-hoc tigervnc-client -- \\\n"
  44050. " vncviewer localhost:5900\n"
  44051. msgstr ""
  44052. #. type: Plain text
  44053. #: guix-git/doc/guix.texi:29547
  44054. 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:"
  44055. msgstr ""
  44056. #. type: example
  44057. #: guix-git/doc/guix.texi:29550
  44058. #, no-wrap
  44059. msgid "ssh root@@localhost -p 10022\n"
  44060. msgstr ""
  44061. #. type: Plain text
  44062. #: guix-git/doc/guix.texi:29559
  44063. 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."
  44064. msgstr ""
  44065. #. type: defvr
  44066. #: guix-git/doc/guix.texi:29560
  44067. #, no-wrap
  44068. msgid "{Scheme Variable} hurd-vm-service-type"
  44069. msgstr ""
  44070. #. type: defvr
  44071. #: guix-git/doc/guix.texi:29566
  44072. 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."
  44073. msgstr ""
  44074. #. type: lisp
  44075. #: guix-git/doc/guix.texi:29574
  44076. #, no-wrap
  44077. msgid ""
  44078. "(service hurd-vm-service-type\n"
  44079. " (hurd-vm-configuration\n"
  44080. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  44081. " (memory-size 1024))) ;1024MiB\n"
  44082. msgstr ""
  44083. #. type: defvr
  44084. #: guix-git/doc/guix.texi:29578
  44085. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  44086. msgstr ""
  44087. #. type: deftp
  44088. #: guix-git/doc/guix.texi:29580
  44089. #, no-wrap
  44090. msgid "{Data Type} hurd-vm-configuration"
  44091. msgstr ""
  44092. #. type: deftp
  44093. #: guix-git/doc/guix.texi:29583
  44094. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  44095. msgstr ""
  44096. #. type: item
  44097. #: guix-git/doc/guix.texi:29585
  44098. #, no-wrap
  44099. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  44100. msgstr ""
  44101. #. type: table
  44102. #: guix-git/doc/guix.texi:29589
  44103. 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}})."
  44104. msgstr ""
  44105. #. type: item
  44106. #: guix-git/doc/guix.texi:29590
  44107. #, no-wrap
  44108. msgid "@code{qemu} (default: @code{qemu-minimal})"
  44109. msgstr ""
  44110. #. type: item
  44111. #: guix-git/doc/guix.texi:29593
  44112. #, no-wrap
  44113. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  44114. msgstr ""
  44115. #. type: table
  44116. #: guix-git/doc/guix.texi:29596
  44117. msgid "The procedure used to build the disk-image built from this configuration."
  44118. msgstr ""
  44119. #. type: item
  44120. #: guix-git/doc/guix.texi:29597
  44121. #, no-wrap
  44122. msgid "@code{disk-size} (default: @code{'guess})"
  44123. msgstr ""
  44124. #. type: table
  44125. #: guix-git/doc/guix.texi:29599
  44126. msgid "The size of the disk image."
  44127. msgstr ""
  44128. #. type: item
  44129. #: guix-git/doc/guix.texi:29600
  44130. #, no-wrap
  44131. msgid "@code{memory-size} (default: @code{512})"
  44132. msgstr ""
  44133. #. type: table
  44134. #: guix-git/doc/guix.texi:29602
  44135. msgid "The memory size of the Virtual Machine in mebibytes."
  44136. msgstr ""
  44137. #. type: item
  44138. #: guix-git/doc/guix.texi:29603
  44139. #, no-wrap
  44140. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  44141. msgstr ""
  44142. #. type: table
  44143. #: guix-git/doc/guix.texi:29605
  44144. msgid "The extra options for running QEMU."
  44145. msgstr ""
  44146. #. type: table
  44147. #: guix-git/doc/guix.texi:29610
  44148. 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}."
  44149. msgstr ""
  44150. #. type: item
  44151. #: guix-git/doc/guix.texi:29611
  44152. #, no-wrap
  44153. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  44154. msgstr ""
  44155. #. type: table
  44156. #: guix-git/doc/guix.texi:29613
  44157. msgid "The procedure used to produce the list of QEMU networking options."
  44158. msgstr ""
  44159. #. type: table
  44160. #: guix-git/doc/guix.texi:29615
  44161. msgid "By default, it produces"
  44162. msgstr ""
  44163. #. type: lisp
  44164. #: guix-git/doc/guix.texi:29623
  44165. #, no-wrap
  44166. msgid ""
  44167. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  44168. " \"--netdev\" (string-append\n"
  44169. " \"user,id=net0,\"\n"
  44170. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  44171. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  44172. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  44173. msgstr ""
  44174. #. type: table
  44175. #: guix-git/doc/guix.texi:29626
  44176. msgid "with forwarded ports:"
  44177. msgstr ""
  44178. #. type: example
  44179. #: guix-git/doc/guix.texi:29631
  44180. #, no-wrap
  44181. msgid ""
  44182. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  44183. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  44184. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  44185. msgstr ""
  44186. #. type: item
  44187. #: guix-git/doc/guix.texi:29633
  44188. #, no-wrap
  44189. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  44190. msgstr ""
  44191. #. type: table
  44192. #: guix-git/doc/guix.texi:29638
  44193. 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."
  44194. msgstr ""
  44195. #. type: table
  44196. #: guix-git/doc/guix.texi:29642
  44197. 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."
  44198. msgstr ""
  44199. #. type: table
  44200. #: guix-git/doc/guix.texi:29645
  44201. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  44202. msgstr ""
  44203. #. type: example
  44204. #: guix-git/doc/guix.texi:29654
  44205. #, no-wrap
  44206. msgid ""
  44207. "/etc/childhurd/etc/guix/acl\n"
  44208. "/etc/childhurd/etc/guix/signing-key.pub\n"
  44209. "/etc/childhurd/etc/guix/signing-key.sec\n"
  44210. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  44211. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  44212. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  44213. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  44214. msgstr ""
  44215. #. type: table
  44216. #: guix-git/doc/guix.texi:29658
  44217. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  44218. msgstr ""
  44219. #. type: cindex
  44220. #: guix-git/doc/guix.texi:29659
  44221. #, no-wrap
  44222. msgid "childhurd, offloading"
  44223. msgstr ""
  44224. #. type: cindex
  44225. #: guix-git/doc/guix.texi:29660
  44226. #, no-wrap
  44227. msgid "Hurd, offloading"
  44228. msgstr ""
  44229. #. type: table
  44230. #: guix-git/doc/guix.texi:29664
  44231. 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:"
  44232. msgstr ""
  44233. #. type: enumerate
  44234. #: guix-git/doc/guix.texi:29669
  44235. 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:"
  44236. msgstr ""
  44237. #. type: example
  44238. #: guix-git/doc/guix.texi:29673
  44239. #, no-wrap
  44240. msgid ""
  44241. "guix archive --authorize < \\\n"
  44242. " /etc/childhurd/etc/guix/signing-key.pub\n"
  44243. msgstr ""
  44244. #. type: enumerate
  44245. #: guix-git/doc/guix.texi:29678
  44246. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  44247. msgstr ""
  44248. #. type: table
  44249. #: guix-git/doc/guix.texi:29682
  44250. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  44251. msgstr ""
  44252. #. type: Plain text
  44253. #: guix-git/doc/guix.texi:29689
  44254. 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:"
  44255. msgstr ""
  44256. #. type: lisp
  44257. #: guix-git/doc/guix.texi:29695
  44258. #, no-wrap
  44259. msgid ""
  44260. "(service hurd-vm-service-type\n"
  44261. " (hurd-vm-configuration\n"
  44262. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  44263. " (options '())))\n"
  44264. msgstr ""
  44265. #. type: subsubheading
  44266. #: guix-git/doc/guix.texi:29697
  44267. #, no-wrap
  44268. msgid "Ganeti"
  44269. msgstr ""
  44270. #. type: cindex
  44271. #: guix-git/doc/guix.texi:29699
  44272. #, no-wrap
  44273. msgid "ganeti"
  44274. msgstr ""
  44275. #. type: quotation
  44276. #: guix-git/doc/guix.texi:29706
  44277. 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}."
  44278. msgstr ""
  44279. #. type: Plain text
  44280. #: guix-git/doc/guix.texi:29716
  44281. 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)."
  44282. msgstr ""
  44283. #. type: Plain text
  44284. #: guix-git/doc/guix.texi:29721
  44285. 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}:"
  44286. msgstr ""
  44287. #. type: lisp
  44288. #: guix-git/doc/guix.texi:29731
  44289. #, no-wrap
  44290. msgid ""
  44291. "(use-package-modules virtualization)\n"
  44292. "(use-service-modules base ganeti networking ssh)\n"
  44293. "(operating-system\n"
  44294. " ;; @dots{}\n"
  44295. " (host-name \"node1\")\n"
  44296. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  44297. "127.0.0.1 localhost\n"
  44298. "::1 localhost\n"
  44299. "\n"
  44300. msgstr ""
  44301. #. type: lisp
  44302. #: guix-git/doc/guix.texi:29736
  44303. #, no-wrap
  44304. msgid ""
  44305. "192.168.1.200 ganeti.example.com\n"
  44306. "192.168.1.201 node1.example.com node1\n"
  44307. "192.168.1.202 node2.example.com node2\n"
  44308. "\")))\n"
  44309. "\n"
  44310. msgstr ""
  44311. #. type: lisp
  44312. #: guix-git/doc/guix.texi:29750
  44313. #, no-wrap
  44314. msgid ""
  44315. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  44316. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  44317. " (packages (append (map specification->package\n"
  44318. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  44319. " ;; Add the debootstrap and guix OS providers.\n"
  44320. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  44321. " %base-packages))\n"
  44322. " (services\n"
  44323. " (append (list (static-networking-service \"eth0\" \"192.168.1.201\"\n"
  44324. " #:netmask \"255.255.255.0\"\n"
  44325. " #:gateway \"192.168.1.254\"\n"
  44326. " #:name-servers '(\"192.168.1.252\"\n"
  44327. " \"192.168.1.253\"))\n"
  44328. "\n"
  44329. msgstr ""
  44330. #. type: lisp
  44331. #: guix-git/doc/guix.texi:29755
  44332. #, no-wrap
  44333. msgid ""
  44334. " ;; Ganeti uses SSH to communicate between nodes.\n"
  44335. " (service openssh-service-type\n"
  44336. " (openssh-configuration\n"
  44337. " (permit-root-login 'prohibit-password)))\n"
  44338. "\n"
  44339. msgstr ""
  44340. #. type: lisp
  44341. #: guix-git/doc/guix.texi:29765
  44342. #, no-wrap
  44343. msgid ""
  44344. " (service ganeti-service-type\n"
  44345. " (ganeti-configuration\n"
  44346. " ;; This list specifies allowed file system paths\n"
  44347. " ;; for storing virtual machine images.\n"
  44348. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  44349. " ;; This variable configures a single \"variant\" for\n"
  44350. " ;; both Debootstrap and Guix that works with KVM.\n"
  44351. " (os %default-ganeti-os))))\n"
  44352. " %base-services)))\n"
  44353. msgstr ""
  44354. #. type: Plain text
  44355. #: guix-git/doc/guix.texi:29773
  44356. 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."
  44357. msgstr ""
  44358. #. type: defvr
  44359. #: guix-git/doc/guix.texi:29774
  44360. #, no-wrap
  44361. msgid "{Scheme Variable} ganeti-service-type"
  44362. msgstr ""
  44363. #. type: defvr
  44364. #: guix-git/doc/guix.texi:29777
  44365. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  44366. msgstr ""
  44367. #. type: defvr
  44368. #: guix-git/doc/guix.texi:29782
  44369. 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."
  44370. msgstr ""
  44371. #. type: deftp
  44372. #: guix-git/doc/guix.texi:29784
  44373. #, no-wrap
  44374. msgid "{Data Type} ganeti-configuration"
  44375. msgstr ""
  44376. #. type: deftp
  44377. #: guix-git/doc/guix.texi:29786
  44378. msgid "The @code{ganeti} service takes the following configuration options:"
  44379. msgstr ""
  44380. #. type: item
  44381. #: guix-git/doc/guix.texi:29788 guix-git/doc/guix.texi:30016
  44382. #: guix-git/doc/guix.texi:30066 guix-git/doc/guix.texi:30096
  44383. #: guix-git/doc/guix.texi:30123 guix-git/doc/guix.texi:30155
  44384. #: guix-git/doc/guix.texi:30208 guix-git/doc/guix.texi:30228
  44385. #: guix-git/doc/guix.texi:30254 guix-git/doc/guix.texi:30287
  44386. #: guix-git/doc/guix.texi:30327
  44387. #, no-wrap
  44388. msgid "@code{ganeti} (default: @code{ganeti})"
  44389. msgstr ""
  44390. #. type: table
  44391. #: guix-git/doc/guix.texi:29793
  44392. 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)."
  44393. msgstr ""
  44394. #. type: item
  44395. #: guix-git/doc/guix.texi:29794
  44396. #, no-wrap
  44397. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  44398. msgstr ""
  44399. #. type: itemx
  44400. #: guix-git/doc/guix.texi:29795
  44401. #, no-wrap
  44402. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  44403. msgstr ""
  44404. #. type: itemx
  44405. #: guix-git/doc/guix.texi:29796
  44406. #, no-wrap
  44407. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  44408. msgstr ""
  44409. #. type: itemx
  44410. #: guix-git/doc/guix.texi:29797
  44411. #, no-wrap
  44412. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  44413. msgstr ""
  44414. #. type: itemx
  44415. #: guix-git/doc/guix.texi:29798
  44416. #, no-wrap
  44417. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  44418. msgstr ""
  44419. #. type: itemx
  44420. #: guix-git/doc/guix.texi:29799
  44421. #, no-wrap
  44422. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  44423. msgstr ""
  44424. #. type: itemx
  44425. #: guix-git/doc/guix.texi:29800
  44426. #, no-wrap
  44427. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  44428. msgstr ""
  44429. #. type: itemx
  44430. #: guix-git/doc/guix.texi:29801
  44431. #, no-wrap
  44432. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  44433. msgstr ""
  44434. #. type: itemx
  44435. #: guix-git/doc/guix.texi:29802
  44436. #, no-wrap
  44437. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  44438. msgstr ""
  44439. #. type: itemx
  44440. #: guix-git/doc/guix.texi:29803
  44441. #, no-wrap
  44442. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  44443. msgstr ""
  44444. #. type: table
  44445. #: guix-git/doc/guix.texi:29808
  44446. 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:"
  44447. msgstr ""
  44448. #. type: lisp
  44449. #: guix-git/doc/guix.texi:29818
  44450. #, no-wrap
  44451. msgid ""
  44452. "(service ganeti-service-type\n"
  44453. " (ganeti-configuration\n"
  44454. " (rapi-configuration\n"
  44455. " (ganeti-rapi-configuration\n"
  44456. " (interface \"eth1\"))))\n"
  44457. " (watcher-configuration\n"
  44458. " (ganeti-watcher-configuration\n"
  44459. " (rapi-ip \"10.0.0.1\"))))\n"
  44460. msgstr ""
  44461. #. type: item
  44462. #: guix-git/doc/guix.texi:29820
  44463. #, no-wrap
  44464. msgid "@code{file-storage-paths} (default: @code{'()})"
  44465. msgstr ""
  44466. #. type: table
  44467. #: guix-git/doc/guix.texi:29822
  44468. msgid "List of allowed directories for file storage backend."
  44469. msgstr ""
  44470. #. type: item
  44471. #: guix-git/doc/guix.texi:29823
  44472. #, no-wrap
  44473. msgid "@code{os} (default: @code{%default-ganeti-os})"
  44474. msgstr ""
  44475. #. type: table
  44476. #: guix-git/doc/guix.texi:29825
  44477. msgid "List of @code{<ganeti-os>} records."
  44478. msgstr ""
  44479. #. type: deftp
  44480. #: guix-git/doc/guix.texi:29829
  44481. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  44482. msgstr ""
  44483. #. type: lisp
  44484. #: guix-git/doc/guix.texi:29840
  44485. #, no-wrap
  44486. msgid ""
  44487. "(service ganeti-noded-service-type)\n"
  44488. "(service ganeti-confd-service-type)\n"
  44489. "(service ganeti-wconfd-service-type)\n"
  44490. "(service ganeti-luxid-service-type)\n"
  44491. "(service ganeti-kvmd-service-type)\n"
  44492. "(service ganeti-mond-service-type)\n"
  44493. "(service ganeti-metad-service-type)\n"
  44494. "(service ganeti-watcher-service-type)\n"
  44495. "(service ganeti-cleaner-service-type)\n"
  44496. msgstr ""
  44497. #. type: deftp
  44498. #: guix-git/doc/guix.texi:29844
  44499. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  44500. msgstr ""
  44501. #. type: deftp
  44502. #: guix-git/doc/guix.texi:29847
  44503. #, no-wrap
  44504. msgid "{Data Type} ganeti-os"
  44505. msgstr ""
  44506. #. type: deftp
  44507. #: guix-git/doc/guix.texi:29850
  44508. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  44509. msgstr ""
  44510. #. type: table
  44511. #: guix-git/doc/guix.texi:29856
  44512. 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}."
  44513. msgstr ""
  44514. #. type: code{#1}
  44515. #: guix-git/doc/guix.texi:29857
  44516. #, no-wrap
  44517. msgid "extension"
  44518. msgstr ""
  44519. #. type: table
  44520. #: guix-git/doc/guix.texi:29860
  44521. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  44522. msgstr ""
  44523. #. type: item
  44524. #: guix-git/doc/guix.texi:29861
  44525. #, no-wrap
  44526. msgid "@code{variants} (default: @code{'()})"
  44527. msgstr ""
  44528. #. type: table
  44529. #: guix-git/doc/guix.texi:29863
  44530. msgid "List of @code{ganeti-os-variant} objects for this OS."
  44531. msgstr ""
  44532. #. type: deftp
  44533. #: guix-git/doc/guix.texi:29867
  44534. #, no-wrap
  44535. msgid "{Data Type} ganeti-os-variant"
  44536. msgstr ""
  44537. #. type: deftp
  44538. #: guix-git/doc/guix.texi:29870
  44539. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  44540. msgstr ""
  44541. #. type: table
  44542. #: guix-git/doc/guix.texi:29874
  44543. msgid "The name of this variant."
  44544. msgstr ""
  44545. #. type: code{#1}
  44546. #: guix-git/doc/guix.texi:29875
  44547. #, no-wrap
  44548. msgid "configuration"
  44549. msgstr ""
  44550. #. type: table
  44551. #: guix-git/doc/guix.texi:29877
  44552. msgid "A configuration file for this variant."
  44553. msgstr ""
  44554. #. type: defvr
  44555. #: guix-git/doc/guix.texi:29880
  44556. #, no-wrap
  44557. msgid "{Scheme Variable} %default-debootstrap-hooks"
  44558. msgstr ""
  44559. #. type: defvr
  44560. #: guix-git/doc/guix.texi:29882
  44561. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  44562. msgstr ""
  44563. #. type: defvr
  44564. #: guix-git/doc/guix.texi:29884
  44565. #, no-wrap
  44566. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  44567. msgstr ""
  44568. #. type: defvr
  44569. #: guix-git/doc/guix.texi:29886
  44570. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  44571. msgstr ""
  44572. #. type: deftp
  44573. #: guix-git/doc/guix.texi:29888
  44574. #, no-wrap
  44575. msgid "{Data Type} debootstrap-configuration"
  44576. msgstr ""
  44577. #. type: deftp
  44578. #: guix-git/doc/guix.texi:29891
  44579. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  44580. msgstr ""
  44581. #. type: item
  44582. #: guix-git/doc/guix.texi:29893
  44583. #, no-wrap
  44584. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  44585. msgstr ""
  44586. #. type: table
  44587. #: guix-git/doc/guix.texi:29897
  44588. 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:"
  44589. msgstr ""
  44590. #. type: lisp
  44591. #: guix-git/doc/guix.texi:29900
  44592. #, no-wrap
  44593. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  44594. msgstr ""
  44595. #. type: table
  44596. #: guix-git/doc/guix.texi:29905
  44597. 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."
  44598. msgstr ""
  44599. #. type: item
  44600. #: guix-git/doc/guix.texi:29905
  44601. #, no-wrap
  44602. msgid "@code{proxy} (default: @code{#f})"
  44603. msgstr ""
  44604. #. type: table
  44605. #: guix-git/doc/guix.texi:29907
  44606. msgid "Optional HTTP proxy to use."
  44607. msgstr ""
  44608. #. type: item
  44609. #: guix-git/doc/guix.texi:29907
  44610. #, no-wrap
  44611. msgid "@code{mirror} (default: @code{#f})"
  44612. msgstr ""
  44613. #. type: table
  44614. #: guix-git/doc/guix.texi:29910
  44615. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  44616. msgstr ""
  44617. #. type: item
  44618. #: guix-git/doc/guix.texi:29910
  44619. #, no-wrap
  44620. msgid "@code{arch} (default: @code{#f})"
  44621. msgstr ""
  44622. #. type: table
  44623. #: guix-git/doc/guix.texi:29913
  44624. 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."
  44625. msgstr ""
  44626. #. type: item
  44627. #: guix-git/doc/guix.texi:29913
  44628. #, no-wrap
  44629. msgid "@code{suite} (default: @code{\"stable\"})"
  44630. msgstr ""
  44631. #. type: table
  44632. #: guix-git/doc/guix.texi:29916
  44633. 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."
  44634. msgstr ""
  44635. #. type: item
  44636. #: guix-git/doc/guix.texi:29916
  44637. #, no-wrap
  44638. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  44639. msgstr ""
  44640. #. type: table
  44641. #: guix-git/doc/guix.texi:29919
  44642. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  44643. msgstr ""
  44644. #. type: item
  44645. #: guix-git/doc/guix.texi:29919
  44646. #, no-wrap
  44647. msgid "@code{components} (default: @code{#f})"
  44648. msgstr ""
  44649. #. type: table
  44650. #: guix-git/doc/guix.texi:29922
  44651. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  44652. msgstr ""
  44653. #. type: item
  44654. #: guix-git/doc/guix.texi:29922
  44655. #, no-wrap
  44656. msgid "@code{generate-cache?} (default: @code{#t})"
  44657. msgstr ""
  44658. #. type: table
  44659. #: guix-git/doc/guix.texi:29924
  44660. msgid "Whether to automatically cache the generated debootstrap archive."
  44661. msgstr ""
  44662. #. type: item
  44663. #: guix-git/doc/guix.texi:29924
  44664. #, no-wrap
  44665. msgid "@code{clean-cache} (default: @code{14})"
  44666. msgstr ""
  44667. #. type: table
  44668. #: guix-git/doc/guix.texi:29927
  44669. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  44670. msgstr ""
  44671. #. type: item
  44672. #: guix-git/doc/guix.texi:29927
  44673. #, no-wrap
  44674. msgid "@code{partition-style} (default: @code{'msdos})"
  44675. msgstr ""
  44676. #. type: table
  44677. #: guix-git/doc/guix.texi:29930
  44678. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  44679. msgstr ""
  44680. #. type: item
  44681. #: guix-git/doc/guix.texi:29930
  44682. #, no-wrap
  44683. msgid "@code{partition-alignment} (default: @code{2048})"
  44684. msgstr ""
  44685. #. type: table
  44686. #: guix-git/doc/guix.texi:29932
  44687. msgid "Alignment of the partition in sectors."
  44688. msgstr ""
  44689. #. type: deffn
  44690. #: guix-git/doc/guix.texi:29935
  44691. #, no-wrap
  44692. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  44693. msgstr ""
  44694. #. type: deffn
  44695. #: guix-git/doc/guix.texi:29938
  44696. 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."
  44697. msgstr ""
  44698. #. type: deffn
  44699. #: guix-git/doc/guix.texi:29940
  44700. #, no-wrap
  44701. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  44702. msgstr ""
  44703. #. type: deffn
  44704. #: guix-git/doc/guix.texi:29943
  44705. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  44706. msgstr ""
  44707. #. type: deffn
  44708. #: guix-git/doc/guix.texi:29945
  44709. #, no-wrap
  44710. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  44711. msgstr ""
  44712. #. type: deffn
  44713. #: guix-git/doc/guix.texi:29950
  44714. 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."
  44715. msgstr ""
  44716. #. type: deffn
  44717. #: guix-git/doc/guix.texi:29952
  44718. #, no-wrap
  44719. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  44720. msgstr ""
  44721. #. type: deffn
  44722. #: guix-git/doc/guix.texi:29955
  44723. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  44724. msgstr ""
  44725. #. type: defvr
  44726. #: guix-git/doc/guix.texi:29957
  44727. #, no-wrap
  44728. msgid "{Scheme Variable} %default-debootstrap-variants"
  44729. msgstr ""
  44730. #. type: defvr
  44731. #: guix-git/doc/guix.texi:29961
  44732. 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:"
  44733. msgstr ""
  44734. #. type: lisp
  44735. #: guix-git/doc/guix.texi:29966
  44736. #, no-wrap
  44737. msgid ""
  44738. "(list (debootstrap-variant\n"
  44739. " \"default\"\n"
  44740. " (debootstrap-configuration)))\n"
  44741. msgstr ""
  44742. #. type: defvr
  44743. #: guix-git/doc/guix.texi:29969
  44744. #, no-wrap
  44745. msgid "{Scheme Variable} %default-guix-variants"
  44746. msgstr ""
  44747. #. type: defvr
  44748. #: guix-git/doc/guix.texi:29973
  44749. 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."
  44750. msgstr ""
  44751. #. type: lisp
  44752. #: guix-git/doc/guix.texi:29979
  44753. #, no-wrap
  44754. msgid ""
  44755. "(list (guix-variant\n"
  44756. " \"default\"\n"
  44757. " (file-append ganeti-instance-guix\n"
  44758. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  44759. msgstr ""
  44760. #. type: Plain text
  44761. #: guix-git/doc/guix.texi:29985
  44762. 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:"
  44763. msgstr ""
  44764. #. type: lisp
  44765. #: guix-git/doc/guix.texi:29994
  44766. #, no-wrap
  44767. msgid ""
  44768. "(ganeti-os\n"
  44769. " (name \"custom\")\n"
  44770. " (extension \".conf\")\n"
  44771. " (variants\n"
  44772. " (list (ganeti-os-variant\n"
  44773. " (name \"foo\")\n"
  44774. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  44775. msgstr ""
  44776. #. type: Plain text
  44777. #: guix-git/doc/guix.texi:29999
  44778. 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}."
  44779. msgstr ""
  44780. #. type: Plain text
  44781. #: guix-git/doc/guix.texi:30002
  44782. 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}."
  44783. msgstr ""
  44784. #. type: Plain text
  44785. #: guix-git/doc/guix.texi:30005
  44786. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  44787. msgstr ""
  44788. #. type: defvr
  44789. #: guix-git/doc/guix.texi:30006
  44790. #, no-wrap
  44791. msgid "{Scheme Variable} ganeti-noded-service-type"
  44792. msgstr ""
  44793. #. type: defvr
  44794. #: guix-git/doc/guix.texi:30010
  44795. 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."
  44796. msgstr ""
  44797. #. type: deftp
  44798. #: guix-git/doc/guix.texi:30012
  44799. #, no-wrap
  44800. msgid "{Data Type} ganeti-noded-configuration"
  44801. msgstr ""
  44802. #. type: deftp
  44803. #: guix-git/doc/guix.texi:30014
  44804. msgid "This is the configuration for the @code{ganeti-noded} service."
  44805. msgstr ""
  44806. #. type: table
  44807. #: guix-git/doc/guix.texi:30018 guix-git/doc/guix.texi:30068
  44808. #: guix-git/doc/guix.texi:30098 guix-git/doc/guix.texi:30125
  44809. #: guix-git/doc/guix.texi:30157 guix-git/doc/guix.texi:30210
  44810. #: guix-git/doc/guix.texi:30230 guix-git/doc/guix.texi:30256
  44811. #: guix-git/doc/guix.texi:30289
  44812. msgid "The @code{ganeti} package to use for this service."
  44813. msgstr ""
  44814. #. type: item
  44815. #: guix-git/doc/guix.texi:30019
  44816. #, no-wrap
  44817. msgid "@code{port} (default: @code{1811})"
  44818. msgstr ""
  44819. #. type: table
  44820. #: guix-git/doc/guix.texi:30021
  44821. msgid "The TCP port on which the node daemon listens for network requests."
  44822. msgstr ""
  44823. #. type: item
  44824. #: guix-git/doc/guix.texi:30022 guix-git/doc/guix.texi:30072
  44825. #: guix-git/doc/guix.texi:30164 guix-git/doc/guix.texi:30234
  44826. #, no-wrap
  44827. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  44828. msgstr ""
  44829. #. type: table
  44830. #: guix-git/doc/guix.texi:30025
  44831. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  44832. msgstr ""
  44833. #. type: table
  44834. #: guix-git/doc/guix.texi:30029
  44835. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  44836. msgstr ""
  44837. #. type: item
  44838. #: guix-git/doc/guix.texi:30030 guix-git/doc/guix.texi:30172
  44839. #, no-wrap
  44840. msgid "@code{max-clients} (default: @code{20})"
  44841. msgstr ""
  44842. #. type: table
  44843. #: guix-git/doc/guix.texi:30034
  44844. 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."
  44845. msgstr ""
  44846. #. type: item
  44847. #: guix-git/doc/guix.texi:30035 guix-git/doc/guix.texi:30177
  44848. #, no-wrap
  44849. msgid "@code{ssl?} (default: @code{#t})"
  44850. msgstr ""
  44851. #. type: table
  44852. #: guix-git/doc/guix.texi:30039
  44853. 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}."
  44854. msgstr ""
  44855. #. type: item
  44856. #: guix-git/doc/guix.texi:30040 guix-git/doc/guix.texi:30180
  44857. #, no-wrap
  44858. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  44859. msgstr ""
  44860. #. type: table
  44861. #: guix-git/doc/guix.texi:30042 guix-git/doc/guix.texi:30182
  44862. msgid "This can be used to provide a specific encryption key for TLS communications."
  44863. msgstr ""
  44864. #. type: item
  44865. #: guix-git/doc/guix.texi:30043 guix-git/doc/guix.texi:30183
  44866. #, no-wrap
  44867. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  44868. msgstr ""
  44869. #. type: table
  44870. #: guix-git/doc/guix.texi:30045 guix-git/doc/guix.texi:30185
  44871. msgid "This can be used to provide a specific certificate for TLS communications."
  44872. msgstr ""
  44873. #. type: table
  44874. #: guix-git/doc/guix.texi:30049 guix-git/doc/guix.texi:30189
  44875. 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."
  44876. msgstr ""
  44877. #. type: defvr
  44878. #: guix-git/doc/guix.texi:30053
  44879. #, no-wrap
  44880. msgid "{Scheme Variable} ganeti-confd-service-type"
  44881. msgstr ""
  44882. #. type: defvr
  44883. #: guix-git/doc/guix.texi:30059
  44884. 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."
  44885. msgstr ""
  44886. #. type: deftp
  44887. #: guix-git/doc/guix.texi:30062
  44888. #, no-wrap
  44889. msgid "{Data Type} ganeti-confd-configuration"
  44890. msgstr ""
  44891. #. type: deftp
  44892. #: guix-git/doc/guix.texi:30064
  44893. msgid "This is the configuration for the @code{ganeti-confd} service."
  44894. msgstr ""
  44895. #. type: item
  44896. #: guix-git/doc/guix.texi:30069
  44897. #, no-wrap
  44898. msgid "@code{port} (default: @code{1814})"
  44899. msgstr ""
  44900. #. type: table
  44901. #: guix-git/doc/guix.texi:30071
  44902. msgid "The UDP port on which to listen for network requests."
  44903. msgstr ""
  44904. #. type: table
  44905. #: guix-git/doc/guix.texi:30074
  44906. msgid "Network address that the daemon will bind to."
  44907. msgstr ""
  44908. #. type: table
  44909. #: guix-git/doc/guix.texi:30077 guix-git/doc/guix.texi:30106
  44910. #: guix-git/doc/guix.texi:30133 guix-git/doc/guix.texi:30213
  44911. #: guix-git/doc/guix.texi:30240 guix-git/doc/guix.texi:30266
  44912. msgid "When true, the daemon performs additional logging for debugging purposes."
  44913. msgstr ""
  44914. #. type: defvr
  44915. #: guix-git/doc/guix.texi:30081
  44916. #, no-wrap
  44917. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  44918. msgstr ""
  44919. #. type: defvr
  44920. #: guix-git/doc/guix.texi:30087
  44921. 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."
  44922. msgstr ""
  44923. #. type: defvr
  44924. #: guix-git/doc/guix.texi:30090
  44925. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  44926. msgstr ""
  44927. #. type: deftp
  44928. #: guix-git/doc/guix.texi:30092
  44929. #, no-wrap
  44930. msgid "{Data Type} ganeti-wconfd-configuration"
  44931. msgstr ""
  44932. #. type: deftp
  44933. #: guix-git/doc/guix.texi:30094 guix-git/doc/guix.texi:30121
  44934. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  44935. msgstr ""
  44936. #. type: item
  44937. #: guix-git/doc/guix.texi:30099 guix-git/doc/guix.texi:30126
  44938. #, no-wrap
  44939. msgid "@code{no-voting?} (default: @code{#f})"
  44940. msgstr ""
  44941. #. type: table
  44942. #: guix-git/doc/guix.texi:30103
  44943. 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)."
  44944. msgstr ""
  44945. #. type: defvr
  44946. #: guix-git/doc/guix.texi:30110
  44947. #, no-wrap
  44948. msgid "{Scheme Variable} ganeti-luxid-service-type"
  44949. msgstr ""
  44950. #. type: defvr
  44951. #: guix-git/doc/guix.texi:30115
  44952. 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."
  44953. msgstr ""
  44954. #. type: defvr
  44955. #: guix-git/doc/guix.texi:30117
  44956. msgid "It takes a @code{ganeti-luxid-configuration} object."
  44957. msgstr ""
  44958. #. type: deftp
  44959. #: guix-git/doc/guix.texi:30119
  44960. #, no-wrap
  44961. msgid "{Data Type} ganeti-luxid-configuration"
  44962. msgstr ""
  44963. #. type: table
  44964. #: guix-git/doc/guix.texi:30130
  44965. 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)."
  44966. msgstr ""
  44967. #. type: defvr
  44968. #: guix-git/doc/guix.texi:30137
  44969. #, no-wrap
  44970. msgid "{Scheme Variable} ganeti-rapi-service-type"
  44971. msgstr ""
  44972. #. type: defvr
  44973. #: guix-git/doc/guix.texi:30141
  44974. 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."
  44975. msgstr ""
  44976. #. type: defvr
  44977. #: guix-git/doc/guix.texi:30147
  44978. 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."
  44979. msgstr ""
  44980. #. type: defvr
  44981. #: guix-git/doc/guix.texi:30149
  44982. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  44983. msgstr ""
  44984. #. type: deftp
  44985. #: guix-git/doc/guix.texi:30151
  44986. #, no-wrap
  44987. msgid "{Data Type} ganeti-rapi-configuration"
  44988. msgstr ""
  44989. #. type: deftp
  44990. #: guix-git/doc/guix.texi:30153
  44991. msgid "This is the configuration for the @code{ganeti-rapi} service."
  44992. msgstr ""
  44993. #. type: item
  44994. #: guix-git/doc/guix.texi:30158
  44995. #, no-wrap
  44996. msgid "@code{require-authentication?} (default: @code{#f})"
  44997. msgstr ""
  44998. #. type: table
  44999. #: guix-git/doc/guix.texi:30160
  45000. msgid "Whether to require authentication even for read-only operations."
  45001. msgstr ""
  45002. #. type: item
  45003. #: guix-git/doc/guix.texi:30161
  45004. #, no-wrap
  45005. msgid "@code{port} (default: @code{5080})"
  45006. msgstr ""
  45007. #. type: table
  45008. #: guix-git/doc/guix.texi:30163
  45009. msgid "The TCP port on which to listen to API requests."
  45010. msgstr ""
  45011. #. type: table
  45012. #: guix-git/doc/guix.texi:30167
  45013. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  45014. msgstr ""
  45015. #. type: table
  45016. #: guix-git/doc/guix.texi:30171
  45017. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  45018. msgstr ""
  45019. #. type: table
  45020. #: guix-git/doc/guix.texi:30176
  45021. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  45022. msgstr ""
  45023. #. type: table
  45024. #: guix-git/doc/guix.texi:30179
  45025. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  45026. msgstr ""
  45027. #. type: defvr
  45028. #: guix-git/doc/guix.texi:30193
  45029. #, no-wrap
  45030. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  45031. msgstr ""
  45032. #. type: defvr
  45033. #: guix-git/doc/guix.texi:30201
  45034. 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."
  45035. msgstr ""
  45036. #. type: defvr
  45037. #: guix-git/doc/guix.texi:30203
  45038. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  45039. msgstr ""
  45040. #. type: deftp
  45041. #: guix-git/doc/guix.texi:30205
  45042. #, no-wrap
  45043. msgid "{Data Type} ganeti-kvmd-configuration"
  45044. msgstr ""
  45045. #. type: defvr
  45046. #: guix-git/doc/guix.texi:30217
  45047. #, no-wrap
  45048. msgid "{Scheme Variable} ganeti-mond-service-type"
  45049. msgstr ""
  45050. #. type: defvr
  45051. #: guix-git/doc/guix.texi:30221
  45052. 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."
  45053. msgstr ""
  45054. #. type: defvr
  45055. #: guix-git/doc/guix.texi:30223
  45056. msgid "It takes a @code{ganeti-mond-configuration} object."
  45057. msgstr ""
  45058. #. type: deftp
  45059. #: guix-git/doc/guix.texi:30225
  45060. #, no-wrap
  45061. msgid "{Data Type} ganeti-mond-configuration"
  45062. msgstr ""
  45063. #. type: item
  45064. #: guix-git/doc/guix.texi:30231
  45065. #, no-wrap
  45066. msgid "@code{port} (default: @code{1815})"
  45067. msgstr ""
  45068. #. type: table
  45069. #: guix-git/doc/guix.texi:30233 guix-git/doc/guix.texi:30259
  45070. msgid "The port on which the daemon will listen."
  45071. msgstr ""
  45072. #. type: table
  45073. #: guix-git/doc/guix.texi:30237
  45074. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  45075. msgstr ""
  45076. #. type: defvr
  45077. #: guix-git/doc/guix.texi:30244
  45078. #, no-wrap
  45079. msgid "{Scheme Variable} ganeti-metad-service-type"
  45080. msgstr ""
  45081. #. type: defvr
  45082. #: guix-git/doc/guix.texi:30247
  45083. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  45084. msgstr ""
  45085. #. type: defvr
  45086. #: guix-git/doc/guix.texi:30249
  45087. msgid "It takes a @code{ganeti-metad-configuration} object."
  45088. msgstr ""
  45089. #. type: deftp
  45090. #: guix-git/doc/guix.texi:30251
  45091. #, no-wrap
  45092. msgid "{Data Type} ganeti-metad-configuration"
  45093. msgstr ""
  45094. #. type: item
  45095. #: guix-git/doc/guix.texi:30260
  45096. #, no-wrap
  45097. msgid "@code{address} (default: @code{#f})"
  45098. msgstr ""
  45099. #. type: table
  45100. #: guix-git/doc/guix.texi:30263
  45101. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  45102. msgstr ""
  45103. #. type: defvr
  45104. #: guix-git/doc/guix.texi:30270
  45105. #, no-wrap
  45106. msgid "{Scheme Variable} ganeti-watcher-service-type"
  45107. msgstr ""
  45108. #. type: defvr
  45109. #: guix-git/doc/guix.texi:30278
  45110. 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."
  45111. msgstr ""
  45112. #. type: defvr
  45113. #: guix-git/doc/guix.texi:30280
  45114. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  45115. msgstr ""
  45116. #. type: defvr
  45117. #: guix-git/doc/guix.texi:30282
  45118. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  45119. msgstr ""
  45120. #. type: deftp
  45121. #: guix-git/doc/guix.texi:30284
  45122. #, no-wrap
  45123. msgid "{Data Type} ganeti-watcher-configuration"
  45124. msgstr ""
  45125. #. type: item
  45126. #: guix-git/doc/guix.texi:30290
  45127. #, no-wrap
  45128. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  45129. msgstr ""
  45130. #. type: table
  45131. #: guix-git/doc/guix.texi:30292
  45132. msgid "How often to run the script. The default is every five minutes."
  45133. msgstr ""
  45134. #. type: item
  45135. #: guix-git/doc/guix.texi:30293
  45136. #, no-wrap
  45137. msgid "@code{rapi-ip} (default: @code{#f})"
  45138. msgstr ""
  45139. #. type: table
  45140. #: guix-git/doc/guix.texi:30296
  45141. 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."
  45142. msgstr ""
  45143. #. type: item
  45144. #: guix-git/doc/guix.texi:30297
  45145. #, no-wrap
  45146. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  45147. msgstr ""
  45148. #. type: table
  45149. #: guix-git/doc/guix.texi:30300
  45150. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  45151. msgstr ""
  45152. #. type: item
  45153. #: guix-git/doc/guix.texi:30301
  45154. #, no-wrap
  45155. msgid "@code{verify-disks?} (default: @code{#t})"
  45156. msgstr ""
  45157. #. type: table
  45158. #: guix-git/doc/guix.texi:30305
  45159. 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."
  45160. msgstr ""
  45161. #. type: table
  45162. #: guix-git/doc/guix.texi:30308
  45163. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  45164. msgstr ""
  45165. #. type: defvr
  45166. #: guix-git/doc/guix.texi:30312
  45167. #, no-wrap
  45168. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  45169. msgstr ""
  45170. #. type: defvr
  45171. #: guix-git/doc/guix.texi:30320
  45172. 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."
  45173. msgstr ""
  45174. #. type: defvr
  45175. #: guix-git/doc/guix.texi:30322
  45176. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  45177. msgstr ""
  45178. #. type: deftp
  45179. #: guix-git/doc/guix.texi:30324
  45180. #, no-wrap
  45181. msgid "{Data Type} ganeti-cleaner-configuration"
  45182. msgstr ""
  45183. #. type: table
  45184. #: guix-git/doc/guix.texi:30329
  45185. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  45186. msgstr ""
  45187. #. type: item
  45188. #: guix-git/doc/guix.texi:30330
  45189. #, no-wrap
  45190. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  45191. msgstr ""
  45192. #. type: table
  45193. #: guix-git/doc/guix.texi:30333
  45194. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  45195. msgstr ""
  45196. #. type: item
  45197. #: guix-git/doc/guix.texi:30334
  45198. #, no-wrap
  45199. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  45200. msgstr ""
  45201. #. type: table
  45202. #: guix-git/doc/guix.texi:30337
  45203. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  45204. msgstr ""
  45205. #. type: Plain text
  45206. #: guix-git/doc/guix.texi:30351
  45207. 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}."
  45208. msgstr ""
  45209. #. type: deffn
  45210. #: guix-git/doc/guix.texi:30352
  45211. #, no-wrap
  45212. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  45213. msgstr ""
  45214. #. type: deffn
  45215. #: guix-git/doc/guix.texi:30356
  45216. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  45217. msgstr ""
  45218. #. type: deffn
  45219. #: guix-git/doc/guix.texi:30362
  45220. 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}."
  45221. msgstr ""
  45222. #. type: deftp
  45223. #: guix-git/doc/guix.texi:30365
  45224. #, no-wrap
  45225. msgid "{Data Type} git-daemon-configuration"
  45226. msgstr ""
  45227. #. type: deftp
  45228. #: guix-git/doc/guix.texi:30367
  45229. msgid "Data type representing the configuration for @code{git-daemon-service}."
  45230. msgstr ""
  45231. #. type: item
  45232. #: guix-git/doc/guix.texi:30369
  45233. #, no-wrap
  45234. msgid "@code{package} (default: @code{git})"
  45235. msgstr ""
  45236. #. type: table
  45237. #: guix-git/doc/guix.texi:30371 guix-git/doc/guix.texi:30431
  45238. msgid "Package object of the Git distributed version control system."
  45239. msgstr ""
  45240. #. type: item
  45241. #: guix-git/doc/guix.texi:30372 guix-git/doc/guix.texi:30435
  45242. #, no-wrap
  45243. msgid "@code{export-all?} (default: @code{#f})"
  45244. msgstr ""
  45245. #. type: table
  45246. #: guix-git/doc/guix.texi:30375
  45247. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  45248. msgstr ""
  45249. #. type: item
  45250. #: guix-git/doc/guix.texi:30376
  45251. #, no-wrap
  45252. msgid "@code{base-path} (default: @file{/srv/git})"
  45253. msgstr ""
  45254. #. type: table
  45255. #: guix-git/doc/guix.texi:30382
  45256. 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}."
  45257. msgstr ""
  45258. #. type: item
  45259. #: guix-git/doc/guix.texi:30383
  45260. #, no-wrap
  45261. msgid "@code{user-path} (default: @code{#f})"
  45262. msgstr ""
  45263. #. type: table
  45264. #: guix-git/doc/guix.texi:30391
  45265. 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}."
  45266. msgstr ""
  45267. #. type: item
  45268. #: guix-git/doc/guix.texi:30392
  45269. #, no-wrap
  45270. msgid "@code{listen} (default: @code{'()})"
  45271. msgstr ""
  45272. #. type: table
  45273. #: guix-git/doc/guix.texi:30395
  45274. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  45275. msgstr ""
  45276. #. type: item
  45277. #: guix-git/doc/guix.texi:30396
  45278. #, no-wrap
  45279. msgid "@code{port} (default: @code{#f})"
  45280. msgstr ""
  45281. #. type: table
  45282. #: guix-git/doc/guix.texi:30398
  45283. msgid "Whether to listen on an alternative port, which defaults to 9418."
  45284. msgstr ""
  45285. #. type: item
  45286. #: guix-git/doc/guix.texi:30399
  45287. #, no-wrap
  45288. msgid "@code{whitelist} (default: @code{'()})"
  45289. msgstr ""
  45290. #. type: table
  45291. #: guix-git/doc/guix.texi:30401
  45292. msgid "If not empty, only allow access to this list of directories."
  45293. msgstr ""
  45294. #. type: table
  45295. #: guix-git/doc/guix.texi:30405
  45296. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  45297. msgstr ""
  45298. #. type: Plain text
  45299. #: guix-git/doc/guix.texi:30419
  45300. 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."
  45301. msgstr ""
  45302. #. type: Plain text
  45303. #: guix-git/doc/guix.texi:30422
  45304. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  45305. msgstr ""
  45306. #. type: deftp
  45307. #: guix-git/doc/guix.texi:30423
  45308. #, no-wrap
  45309. msgid "{Data Type} git-http-configuration"
  45310. msgstr ""
  45311. #. type: deftp
  45312. #: guix-git/doc/guix.texi:30427
  45313. 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}."
  45314. msgstr ""
  45315. #. type: item
  45316. #: guix-git/doc/guix.texi:30429
  45317. #, no-wrap
  45318. msgid "@code{package} (default: @var{git})"
  45319. msgstr ""
  45320. #. type: item
  45321. #: guix-git/doc/guix.texi:30432
  45322. #, no-wrap
  45323. msgid "@code{git-root} (default: @file{/srv/git})"
  45324. msgstr ""
  45325. #. type: table
  45326. #: guix-git/doc/guix.texi:30434
  45327. msgid "Directory containing the Git repositories to expose to the world."
  45328. msgstr ""
  45329. #. type: table
  45330. #: guix-git/doc/guix.texi:30438
  45331. 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."
  45332. msgstr ""
  45333. #. type: item
  45334. #: guix-git/doc/guix.texi:30439
  45335. #, no-wrap
  45336. msgid "@code{uri-path} (default: @samp{/git/})"
  45337. msgstr ""
  45338. #. type: table
  45339. #: guix-git/doc/guix.texi:30444
  45340. 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."
  45341. msgstr ""
  45342. #. type: item
  45343. #: guix-git/doc/guix.texi:30445
  45344. #, no-wrap
  45345. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  45346. msgstr ""
  45347. #. type: table
  45348. #: guix-git/doc/guix.texi:30448
  45349. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  45350. msgstr ""
  45351. #. type: Plain text
  45352. #: guix-git/doc/guix.texi:30455
  45353. 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."
  45354. msgstr ""
  45355. #. type: deffn
  45356. #: guix-git/doc/guix.texi:30456
  45357. #, no-wrap
  45358. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  45359. msgstr ""
  45360. #. type: deffn
  45361. #: guix-git/doc/guix.texi:30461
  45362. 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:"
  45363. msgstr ""
  45364. #. type: lisp
  45365. #: guix-git/doc/guix.texi:30478
  45366. #, no-wrap
  45367. msgid ""
  45368. "(service nginx-service-type\n"
  45369. " (nginx-configuration\n"
  45370. " (server-blocks\n"
  45371. " (list\n"
  45372. " (nginx-server-configuration\n"
  45373. " (listen '(\"443 ssl\"))\n"
  45374. " (server-name \"git.my-host.org\")\n"
  45375. " (ssl-certificate\n"
  45376. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  45377. " (ssl-certificate-key\n"
  45378. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  45379. " (locations\n"
  45380. " (list\n"
  45381. " (git-http-nginx-location-configuration\n"
  45382. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  45383. msgstr ""
  45384. #. type: deffn
  45385. #: guix-git/doc/guix.texi:30485
  45386. 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}."
  45387. msgstr ""
  45388. #. type: subsubheading
  45389. #: guix-git/doc/guix.texi:30487
  45390. #, no-wrap
  45391. msgid "Cgit Service"
  45392. msgstr ""
  45393. #. type: cindex
  45394. #: guix-git/doc/guix.texi:30489
  45395. #, no-wrap
  45396. msgid "Cgit service"
  45397. msgstr ""
  45398. #. type: cindex
  45399. #: guix-git/doc/guix.texi:30490
  45400. #, no-wrap
  45401. msgid "Git, web interface"
  45402. msgstr ""
  45403. #. type: Plain text
  45404. #: guix-git/doc/guix.texi:30493
  45405. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  45406. msgstr ""
  45407. #. type: Plain text
  45408. #: guix-git/doc/guix.texi:30496
  45409. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  45410. msgstr ""
  45411. #. type: lisp
  45412. #: guix-git/doc/guix.texi:30499
  45413. #, no-wrap
  45414. msgid "(service cgit-service-type)\n"
  45415. msgstr ""
  45416. #. type: Plain text
  45417. #: guix-git/doc/guix.texi:30503
  45418. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  45419. msgstr ""
  45420. #. type: Plain text
  45421. #: guix-git/doc/guix.texi:30507
  45422. msgid "Available @code{cgit-configuration} fields are:"
  45423. msgstr ""
  45424. #. type: deftypevr
  45425. #: guix-git/doc/guix.texi:30508
  45426. #, no-wrap
  45427. msgid "{@code{cgit-configuration} parameter} package package"
  45428. msgstr ""
  45429. #. type: deftypevr
  45430. #: guix-git/doc/guix.texi:30510
  45431. msgid "The CGIT package."
  45432. msgstr ""
  45433. #. type: deftypevr
  45434. #: guix-git/doc/guix.texi:30513
  45435. #, no-wrap
  45436. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  45437. msgstr ""
  45438. #. type: deftypevr
  45439. #: guix-git/doc/guix.texi:30518
  45440. #, no-wrap
  45441. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  45442. msgstr ""
  45443. #. type: deftypevr
  45444. #: guix-git/doc/guix.texi:30521
  45445. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  45446. msgstr ""
  45447. #. type: deftypevr
  45448. #: guix-git/doc/guix.texi:30526
  45449. #, no-wrap
  45450. msgid "{@code{cgit-configuration} parameter} string agefile"
  45451. msgstr ""
  45452. #. type: deftypevr
  45453. #: guix-git/doc/guix.texi:30529
  45454. 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."
  45455. msgstr ""
  45456. #. type: deftypevr
  45457. #: guix-git/doc/guix.texi:30534
  45458. #, no-wrap
  45459. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  45460. msgstr ""
  45461. #. type: deftypevr
  45462. #: guix-git/doc/guix.texi:30537
  45463. msgid "Specifies a command that will be invoked for authenticating repository access."
  45464. msgstr ""
  45465. #. type: deftypevr
  45466. #: guix-git/doc/guix.texi:30542
  45467. #, no-wrap
  45468. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  45469. msgstr ""
  45470. #. type: deftypevr
  45471. #: guix-git/doc/guix.texi:30545
  45472. 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."
  45473. msgstr ""
  45474. #. type: deftypevr
  45475. #: guix-git/doc/guix.texi:30547
  45476. msgid "Defaults to @samp{\"name\"}."
  45477. msgstr ""
  45478. #. type: deftypevr
  45479. #: guix-git/doc/guix.texi:30550
  45480. #, no-wrap
  45481. msgid "{@code{cgit-configuration} parameter} string cache-root"
  45482. msgstr ""
  45483. #. type: deftypevr
  45484. #: guix-git/doc/guix.texi:30552
  45485. msgid "Path used to store the cgit cache entries."
  45486. msgstr ""
  45487. #. type: deftypevr
  45488. #: guix-git/doc/guix.texi:30554
  45489. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  45490. msgstr ""
  45491. #. type: deftypevr
  45492. #: guix-git/doc/guix.texi:30557
  45493. #, no-wrap
  45494. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  45495. msgstr ""
  45496. #. type: deftypevr
  45497. #: guix-git/doc/guix.texi:30560
  45498. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  45499. msgstr ""
  45500. #. type: deftypevr
  45501. #: guix-git/doc/guix.texi:30562 guix-git/doc/guix.texi:31005
  45502. msgid "Defaults to @samp{-1}."
  45503. msgstr ""
  45504. #. type: deftypevr
  45505. #: guix-git/doc/guix.texi:30565
  45506. #, no-wrap
  45507. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  45508. msgstr ""
  45509. #. type: deftypevr
  45510. #: guix-git/doc/guix.texi:30568
  45511. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  45512. msgstr ""
  45513. #. type: deftypevr
  45514. #: guix-git/doc/guix.texi:30573
  45515. #, no-wrap
  45516. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  45517. msgstr ""
  45518. #. type: deftypevr
  45519. #: guix-git/doc/guix.texi:30576
  45520. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  45521. msgstr ""
  45522. #. type: deftypevr
  45523. #: guix-git/doc/guix.texi:30581
  45524. #, no-wrap
  45525. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  45526. msgstr ""
  45527. #. type: deftypevr
  45528. #: guix-git/doc/guix.texi:30584
  45529. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  45530. msgstr ""
  45531. #. type: deftypevr
  45532. #: guix-git/doc/guix.texi:30589
  45533. #, no-wrap
  45534. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  45535. msgstr ""
  45536. #. type: deftypevr
  45537. #: guix-git/doc/guix.texi:30592
  45538. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  45539. msgstr ""
  45540. #. type: deftypevr
  45541. #: guix-git/doc/guix.texi:30597
  45542. #, no-wrap
  45543. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  45544. msgstr ""
  45545. #. type: deftypevr
  45546. #: guix-git/doc/guix.texi:30600
  45547. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  45548. msgstr ""
  45549. #. type: deftypevr
  45550. #: guix-git/doc/guix.texi:30605
  45551. #, no-wrap
  45552. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  45553. msgstr ""
  45554. #. type: deftypevr
  45555. #: guix-git/doc/guix.texi:30608
  45556. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  45557. msgstr ""
  45558. #. type: deftypevr
  45559. #: guix-git/doc/guix.texi:30613
  45560. #, no-wrap
  45561. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  45562. msgstr ""
  45563. #. type: deftypevr
  45564. #: guix-git/doc/guix.texi:30616
  45565. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  45566. msgstr ""
  45567. #. type: deftypevr
  45568. #: guix-git/doc/guix.texi:30621
  45569. #, no-wrap
  45570. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  45571. msgstr ""
  45572. #. type: deftypevr
  45573. #: guix-git/doc/guix.texi:30623
  45574. msgid "Sort items in the repo list case sensitively."
  45575. msgstr ""
  45576. #. type: deftypevr
  45577. #: guix-git/doc/guix.texi:30628
  45578. #, no-wrap
  45579. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  45580. msgstr ""
  45581. #. type: deftypevr
  45582. #: guix-git/doc/guix.texi:30631
  45583. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  45584. msgstr ""
  45585. #. type: deftypevr
  45586. #: guix-git/doc/guix.texi:30636
  45587. #, no-wrap
  45588. msgid "{@code{cgit-configuration} parameter} list clone-url"
  45589. msgstr ""
  45590. #. type: deftypevr
  45591. #: guix-git/doc/guix.texi:30638
  45592. msgid "List of @code{clone-url} templates."
  45593. msgstr ""
  45594. #. type: deftypevr
  45595. #: guix-git/doc/guix.texi:30643
  45596. #, no-wrap
  45597. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  45598. msgstr ""
  45599. #. type: deftypevr
  45600. #: guix-git/doc/guix.texi:30645
  45601. msgid "Command which will be invoked to format commit messages."
  45602. msgstr ""
  45603. #. type: deftypevr
  45604. #: guix-git/doc/guix.texi:30650
  45605. #, no-wrap
  45606. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  45607. msgstr ""
  45608. #. type: deftypevr
  45609. #: guix-git/doc/guix.texi:30654 guix-git/doc/guix.texi:31212
  45610. 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."
  45611. msgstr ""
  45612. #. type: deftypevr
  45613. #: guix-git/doc/guix.texi:30656
  45614. msgid "Defaults to @samp{\"git log\"}."
  45615. msgstr ""
  45616. #. type: deftypevr
  45617. #: guix-git/doc/guix.texi:30659
  45618. #, no-wrap
  45619. msgid "{@code{cgit-configuration} parameter} file-object css"
  45620. msgstr ""
  45621. #. type: deftypevr
  45622. #: guix-git/doc/guix.texi:30661
  45623. msgid "URL which specifies the css document to include in all cgit pages."
  45624. msgstr ""
  45625. #. type: deftypevr
  45626. #: guix-git/doc/guix.texi:30663
  45627. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  45628. msgstr ""
  45629. #. type: deftypevr
  45630. #: guix-git/doc/guix.texi:30666
  45631. #, no-wrap
  45632. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  45633. msgstr ""
  45634. #. type: deftypevr
  45635. #: guix-git/doc/guix.texi:30670
  45636. 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."
  45637. msgstr ""
  45638. #. type: deftypevr
  45639. #: guix-git/doc/guix.texi:30675
  45640. #, no-wrap
  45641. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  45642. msgstr ""
  45643. #. type: deftypevr
  45644. #: guix-git/doc/guix.texi:30678
  45645. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  45646. msgstr ""
  45647. #. type: deftypevr
  45648. #: guix-git/doc/guix.texi:30683
  45649. #, no-wrap
  45650. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  45651. msgstr ""
  45652. #. type: deftypevr
  45653. #: guix-git/doc/guix.texi:30687
  45654. 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."
  45655. msgstr ""
  45656. #. type: deftypevr
  45657. #: guix-git/doc/guix.texi:30692
  45658. #, no-wrap
  45659. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  45660. msgstr ""
  45661. #. type: deftypevr
  45662. #: guix-git/doc/guix.texi:30695
  45663. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  45664. msgstr ""
  45665. #. type: deftypevr
  45666. #: guix-git/doc/guix.texi:30700
  45667. #, no-wrap
  45668. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  45669. msgstr ""
  45670. #. type: deftypevr
  45671. #: guix-git/doc/guix.texi:30703
  45672. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  45673. msgstr ""
  45674. #. type: deftypevr
  45675. #: guix-git/doc/guix.texi:30708
  45676. #, no-wrap
  45677. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  45678. msgstr ""
  45679. #. type: deftypevr
  45680. #: guix-git/doc/guix.texi:30711
  45681. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  45682. msgstr ""
  45683. #. type: deftypevr
  45684. #: guix-git/doc/guix.texi:30716
  45685. #, no-wrap
  45686. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  45687. msgstr ""
  45688. #. type: deftypevr
  45689. #: guix-git/doc/guix.texi:30719
  45690. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  45691. msgstr ""
  45692. #. type: deftypevr
  45693. #: guix-git/doc/guix.texi:30724
  45694. #, no-wrap
  45695. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  45696. msgstr ""
  45697. #. type: deftypevr
  45698. #: guix-git/doc/guix.texi:30727
  45699. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  45700. msgstr ""
  45701. #. type: deftypevr
  45702. #: guix-git/doc/guix.texi:30732
  45703. #, no-wrap
  45704. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  45705. msgstr ""
  45706. #. type: deftypevr
  45707. #: guix-git/doc/guix.texi:30735
  45708. 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."
  45709. msgstr ""
  45710. #. type: deftypevr
  45711. #: guix-git/doc/guix.texi:30740
  45712. #, no-wrap
  45713. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  45714. msgstr ""
  45715. #. type: deftypevr
  45716. #: guix-git/doc/guix.texi:30743
  45717. 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."
  45718. msgstr ""
  45719. #. type: deftypevr
  45720. #: guix-git/doc/guix.texi:30748
  45721. #, no-wrap
  45722. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  45723. msgstr ""
  45724. #. type: deftypevr
  45725. #: guix-git/doc/guix.texi:30751 guix-git/doc/guix.texi:31275
  45726. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  45727. msgstr ""
  45728. #. type: deftypevr
  45729. #: guix-git/doc/guix.texi:30756
  45730. #, no-wrap
  45731. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  45732. msgstr ""
  45733. #. type: deftypevr
  45734. #: guix-git/doc/guix.texi:30760
  45735. 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."
  45736. msgstr ""
  45737. #. type: deftypevr
  45738. #: guix-git/doc/guix.texi:30765
  45739. #, no-wrap
  45740. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  45741. msgstr ""
  45742. #. type: deftypevr
  45743. #: guix-git/doc/guix.texi:30769
  45744. 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."
  45745. msgstr ""
  45746. #. type: deftypevr
  45747. #: guix-git/doc/guix.texi:30774
  45748. #, no-wrap
  45749. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  45750. msgstr ""
  45751. #. type: deftypevr
  45752. #: guix-git/doc/guix.texi:30777
  45753. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  45754. msgstr ""
  45755. #. type: deftypevr
  45756. #: guix-git/doc/guix.texi:30782
  45757. #, no-wrap
  45758. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  45759. msgstr ""
  45760. #. type: deftypevr
  45761. #: guix-git/doc/guix.texi:30785
  45762. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  45763. msgstr ""
  45764. #. type: deftypevr
  45765. #: guix-git/doc/guix.texi:30790
  45766. #, no-wrap
  45767. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  45768. msgstr ""
  45769. #. type: deftypevr
  45770. #: guix-git/doc/guix.texi:30792
  45771. msgid "URL used as link to a shortcut icon for cgit."
  45772. msgstr ""
  45773. #. type: deftypevr
  45774. #: guix-git/doc/guix.texi:30794
  45775. msgid "Defaults to @samp{\"/favicon.ico\"}."
  45776. msgstr ""
  45777. #. type: deftypevr
  45778. #: guix-git/doc/guix.texi:30797
  45779. #, no-wrap
  45780. msgid "{@code{cgit-configuration} parameter} string footer"
  45781. msgstr ""
  45782. #. type: deftypevr
  45783. #: guix-git/doc/guix.texi:30801
  45784. 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)."
  45785. msgstr ""
  45786. #. type: deftypevr
  45787. #: guix-git/doc/guix.texi:30806
  45788. #, no-wrap
  45789. msgid "{@code{cgit-configuration} parameter} string head-include"
  45790. msgstr ""
  45791. #. type: deftypevr
  45792. #: guix-git/doc/guix.texi:30809
  45793. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  45794. msgstr ""
  45795. #. type: deftypevr
  45796. #: guix-git/doc/guix.texi:30814
  45797. #, no-wrap
  45798. msgid "{@code{cgit-configuration} parameter} string header"
  45799. msgstr ""
  45800. #. type: deftypevr
  45801. #: guix-git/doc/guix.texi:30817
  45802. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  45803. msgstr ""
  45804. #. type: deftypevr
  45805. #: guix-git/doc/guix.texi:30822
  45806. #, no-wrap
  45807. msgid "{@code{cgit-configuration} parameter} file-object include"
  45808. msgstr ""
  45809. #. type: deftypevr
  45810. #: guix-git/doc/guix.texi:30825
  45811. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  45812. msgstr ""
  45813. #. type: deftypevr
  45814. #: guix-git/doc/guix.texi:30830
  45815. #, no-wrap
  45816. msgid "{@code{cgit-configuration} parameter} string index-header"
  45817. msgstr ""
  45818. #. type: deftypevr
  45819. #: guix-git/doc/guix.texi:30833
  45820. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  45821. msgstr ""
  45822. #. type: deftypevr
  45823. #: guix-git/doc/guix.texi:30838
  45824. #, no-wrap
  45825. msgid "{@code{cgit-configuration} parameter} string index-info"
  45826. msgstr ""
  45827. #. type: deftypevr
  45828. #: guix-git/doc/guix.texi:30841
  45829. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  45830. msgstr ""
  45831. #. type: deftypevr
  45832. #: guix-git/doc/guix.texi:30846
  45833. #, no-wrap
  45834. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  45835. msgstr ""
  45836. #. type: deftypevr
  45837. #: guix-git/doc/guix.texi:30849
  45838. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  45839. msgstr ""
  45840. #. type: deftypevr
  45841. #: guix-git/doc/guix.texi:30854
  45842. #, no-wrap
  45843. msgid "{@code{cgit-configuration} parameter} file-object logo"
  45844. msgstr ""
  45845. #. type: deftypevr
  45846. #: guix-git/doc/guix.texi:30857
  45847. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  45848. msgstr ""
  45849. #. type: deftypevr
  45850. #: guix-git/doc/guix.texi:30859
  45851. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  45852. msgstr ""
  45853. #. type: deftypevr
  45854. #: guix-git/doc/guix.texi:30862
  45855. #, no-wrap
  45856. msgid "{@code{cgit-configuration} parameter} string logo-link"
  45857. msgstr ""
  45858. #. type: deftypevr
  45859. #: guix-git/doc/guix.texi:30864 guix-git/doc/guix.texi:31321
  45860. msgid "URL loaded when clicking on the cgit logo image."
  45861. msgstr ""
  45862. #. type: deftypevr
  45863. #: guix-git/doc/guix.texi:30869
  45864. #, no-wrap
  45865. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  45866. msgstr ""
  45867. #. type: deftypevr
  45868. #: guix-git/doc/guix.texi:30872
  45869. msgid "Command which will be invoked to format the Owner column of the main page."
  45870. msgstr ""
  45871. #. type: deftypevr
  45872. #: guix-git/doc/guix.texi:30877
  45873. #, no-wrap
  45874. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  45875. msgstr ""
  45876. #. type: deftypevr
  45877. #: guix-git/doc/guix.texi:30879
  45878. msgid "Number of items to display in atom feeds view."
  45879. msgstr ""
  45880. #. type: deftypevr
  45881. #: guix-git/doc/guix.texi:30884
  45882. #, no-wrap
  45883. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  45884. msgstr ""
  45885. #. type: deftypevr
  45886. #: guix-git/doc/guix.texi:30886
  45887. msgid "Number of entries to list per page in \"log\" view."
  45888. msgstr ""
  45889. #. type: deftypevr
  45890. #: guix-git/doc/guix.texi:30891
  45891. #, no-wrap
  45892. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  45893. msgstr ""
  45894. #. type: deftypevr
  45895. #: guix-git/doc/guix.texi:30893
  45896. msgid "Number of commit message characters to display in \"log\" view."
  45897. msgstr ""
  45898. #. type: deftypevr
  45899. #: guix-git/doc/guix.texi:30895 guix-git/doc/guix.texi:30911
  45900. msgid "Defaults to @samp{80}."
  45901. msgstr ""
  45902. #. type: deftypevr
  45903. #: guix-git/doc/guix.texi:30898
  45904. #, no-wrap
  45905. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  45906. msgstr ""
  45907. #. type: deftypevr
  45908. #: guix-git/doc/guix.texi:30901
  45909. msgid "Specifies the number of entries to list per page on the repository index page."
  45910. msgstr ""
  45911. #. type: deftypevr
  45912. #: guix-git/doc/guix.texi:30906
  45913. #, no-wrap
  45914. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  45915. msgstr ""
  45916. #. type: deftypevr
  45917. #: guix-git/doc/guix.texi:30909
  45918. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  45919. msgstr ""
  45920. #. type: deftypevr
  45921. #: guix-git/doc/guix.texi:30914
  45922. #, no-wrap
  45923. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  45924. msgstr ""
  45925. #. type: deftypevr
  45926. #: guix-git/doc/guix.texi:30916
  45927. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  45928. msgstr ""
  45929. #. type: deftypevr
  45930. #: guix-git/doc/guix.texi:30921
  45931. #, no-wrap
  45932. msgid "{@code{cgit-configuration} parameter} string max-stats"
  45933. msgstr ""
  45934. #. type: deftypevr
  45935. #: guix-git/doc/guix.texi:30924
  45936. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  45937. msgstr ""
  45938. #. type: deftypevr
  45939. #: guix-git/doc/guix.texi:30929
  45940. #, no-wrap
  45941. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  45942. msgstr ""
  45943. #. type: deftypevr
  45944. #: guix-git/doc/guix.texi:30931
  45945. msgid "Mimetype for the specified filename extension."
  45946. msgstr ""
  45947. #. type: deftypevr
  45948. #: guix-git/doc/guix.texi:30935
  45949. 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\"))}."
  45950. msgstr ""
  45951. #. type: deftypevr
  45952. #: guix-git/doc/guix.texi:30938
  45953. #, no-wrap
  45954. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  45955. msgstr ""
  45956. #. type: deftypevr
  45957. #: guix-git/doc/guix.texi:30940
  45958. msgid "Specifies the file to use for automatic mimetype lookup."
  45959. msgstr ""
  45960. #. type: deftypevr
  45961. #: guix-git/doc/guix.texi:30945
  45962. #, no-wrap
  45963. msgid "{@code{cgit-configuration} parameter} string module-link"
  45964. msgstr ""
  45965. #. type: deftypevr
  45966. #: guix-git/doc/guix.texi:30948
  45967. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  45968. msgstr ""
  45969. #. type: deftypevr
  45970. #: guix-git/doc/guix.texi:30953
  45971. #, no-wrap
  45972. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  45973. msgstr ""
  45974. #. type: deftypevr
  45975. #: guix-git/doc/guix.texi:30955
  45976. msgid "If set to the value @samp{#t} caching will be disabled."
  45977. msgstr ""
  45978. #. type: deftypevr
  45979. #: guix-git/doc/guix.texi:30960
  45980. #, no-wrap
  45981. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  45982. msgstr ""
  45983. #. type: deftypevr
  45984. #: guix-git/doc/guix.texi:30963
  45985. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  45986. msgstr ""
  45987. #. type: deftypevr
  45988. #: guix-git/doc/guix.texi:30968
  45989. #, no-wrap
  45990. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  45991. msgstr ""
  45992. #. type: deftypevr
  45993. #: guix-git/doc/guix.texi:30971
  45994. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  45995. msgstr ""
  45996. #. type: deftypevr
  45997. #: guix-git/doc/guix.texi:30976
  45998. #, no-wrap
  45999. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  46000. msgstr ""
  46001. #. type: deftypevr
  46002. #: guix-git/doc/guix.texi:30980
  46003. 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."
  46004. msgstr ""
  46005. #. type: deftypevr
  46006. #: guix-git/doc/guix.texi:30985
  46007. #, no-wrap
  46008. msgid "{@code{cgit-configuration} parameter} file-object readme"
  46009. msgstr ""
  46010. #. type: deftypevr
  46011. #: guix-git/doc/guix.texi:30987
  46012. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  46013. msgstr ""
  46014. #. type: deftypevr
  46015. #: guix-git/doc/guix.texi:30992
  46016. #, no-wrap
  46017. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  46018. msgstr ""
  46019. #. type: deftypevr
  46020. #: guix-git/doc/guix.texi:30996
  46021. 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."
  46022. msgstr ""
  46023. #. type: deftypevr
  46024. #: guix-git/doc/guix.texi:31001
  46025. #, no-wrap
  46026. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  46027. msgstr ""
  46028. #. type: deftypevr
  46029. #: guix-git/doc/guix.texi:31003
  46030. msgid "Maximum number of files to consider when detecting renames."
  46031. msgstr ""
  46032. #. type: deftypevr
  46033. #: guix-git/doc/guix.texi:31008
  46034. #, no-wrap
  46035. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  46036. msgstr ""
  46037. #. type: deftypevr
  46038. #: guix-git/doc/guix.texi:31010
  46039. msgid "The way in which repositories in each section are sorted."
  46040. msgstr ""
  46041. #. type: deftypevr
  46042. #: guix-git/doc/guix.texi:31015
  46043. #, no-wrap
  46044. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  46045. msgstr ""
  46046. #. type: deftypevr
  46047. #: guix-git/doc/guix.texi:31017
  46048. msgid "Text used as content for the @code{robots} meta-tag."
  46049. msgstr ""
  46050. #. type: deftypevr
  46051. #: guix-git/doc/guix.texi:31019
  46052. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  46053. msgstr ""
  46054. #. type: deftypevr
  46055. #: guix-git/doc/guix.texi:31022
  46056. #, no-wrap
  46057. msgid "{@code{cgit-configuration} parameter} string root-desc"
  46058. msgstr ""
  46059. #. type: deftypevr
  46060. #: guix-git/doc/guix.texi:31024
  46061. msgid "Text printed below the heading on the repository index page."
  46062. msgstr ""
  46063. #. type: deftypevr
  46064. #: guix-git/doc/guix.texi:31026
  46065. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  46066. msgstr ""
  46067. #. type: deftypevr
  46068. #: guix-git/doc/guix.texi:31029
  46069. #, no-wrap
  46070. msgid "{@code{cgit-configuration} parameter} string root-readme"
  46071. msgstr ""
  46072. #. type: deftypevr
  46073. #: guix-git/doc/guix.texi:31032
  46074. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  46075. msgstr ""
  46076. #. type: deftypevr
  46077. #: guix-git/doc/guix.texi:31037
  46078. #, no-wrap
  46079. msgid "{@code{cgit-configuration} parameter} string root-title"
  46080. msgstr ""
  46081. #. type: deftypevr
  46082. #: guix-git/doc/guix.texi:31039
  46083. msgid "Text printed as heading on the repository index page."
  46084. msgstr ""
  46085. #. type: deftypevr
  46086. #: guix-git/doc/guix.texi:31044
  46087. #, no-wrap
  46088. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  46089. msgstr ""
  46090. #. type: deftypevr
  46091. #: guix-git/doc/guix.texi:31050
  46092. 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."
  46093. msgstr ""
  46094. #. type: deftypevr
  46095. #: guix-git/doc/guix.texi:31055
  46096. #, no-wrap
  46097. msgid "{@code{cgit-configuration} parameter} list snapshots"
  46098. msgstr ""
  46099. #. type: deftypevr
  46100. #: guix-git/doc/guix.texi:31058
  46101. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  46102. msgstr ""
  46103. #. type: deftypevr
  46104. #: guix-git/doc/guix.texi:31063
  46105. #, no-wrap
  46106. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  46107. msgstr ""
  46108. #. type: deftypevr
  46109. #: guix-git/doc/guix.texi:31066
  46110. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  46111. msgstr ""
  46112. #. type: deftypevr
  46113. #: guix-git/doc/guix.texi:31068
  46114. msgid "Defaults to @samp{\"/srv/git\"}."
  46115. msgstr ""
  46116. #. type: deftypevr
  46117. #: guix-git/doc/guix.texi:31071
  46118. #, no-wrap
  46119. msgid "{@code{cgit-configuration} parameter} string section"
  46120. msgstr ""
  46121. #. type: deftypevr
  46122. #: guix-git/doc/guix.texi:31074 guix-git/doc/guix.texi:31390
  46123. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  46124. msgstr ""
  46125. #. type: deftypevr
  46126. #: guix-git/doc/guix.texi:31079
  46127. #, no-wrap
  46128. msgid "{@code{cgit-configuration} parameter} string section-sort"
  46129. msgstr ""
  46130. #. type: deftypevr
  46131. #: guix-git/doc/guix.texi:31082
  46132. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  46133. msgstr ""
  46134. #. type: deftypevr
  46135. #: guix-git/doc/guix.texi:31087
  46136. #, no-wrap
  46137. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  46138. msgstr ""
  46139. #. type: deftypevr
  46140. #: guix-git/doc/guix.texi:31090
  46141. 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."
  46142. msgstr ""
  46143. #. type: deftypevr
  46144. #: guix-git/doc/guix.texi:31095
  46145. #, no-wrap
  46146. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  46147. msgstr ""
  46148. #. type: deftypevr
  46149. #: guix-git/doc/guix.texi:31098
  46150. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  46151. msgstr ""
  46152. #. type: deftypevr
  46153. #: guix-git/doc/guix.texi:31103
  46154. #, no-wrap
  46155. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  46156. msgstr ""
  46157. #. type: deftypevr
  46158. #: guix-git/doc/guix.texi:31106
  46159. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  46160. msgstr ""
  46161. #. type: deftypevr
  46162. #: guix-git/doc/guix.texi:31111
  46163. #, no-wrap
  46164. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  46165. msgstr ""
  46166. #. type: deftypevr
  46167. #: guix-git/doc/guix.texi:31114
  46168. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  46169. msgstr ""
  46170. #. type: deftypevr
  46171. #: guix-git/doc/guix.texi:31119
  46172. #, no-wrap
  46173. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  46174. msgstr ""
  46175. #. type: deftypevr
  46176. #: guix-git/doc/guix.texi:31122
  46177. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  46178. msgstr ""
  46179. #. type: deftypevr
  46180. #: guix-git/doc/guix.texi:31127
  46181. #, no-wrap
  46182. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  46183. msgstr ""
  46184. #. type: deftypevr
  46185. #: guix-git/doc/guix.texi:31130
  46186. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  46187. msgstr ""
  46188. #. type: deftypevr
  46189. #: guix-git/doc/guix.texi:31135
  46190. #, no-wrap
  46191. msgid "{@code{cgit-configuration} parameter} string strict-export"
  46192. msgstr ""
  46193. #. type: deftypevr
  46194. #: guix-git/doc/guix.texi:31138
  46195. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  46196. msgstr ""
  46197. #. type: deftypevr
  46198. #: guix-git/doc/guix.texi:31143
  46199. #, no-wrap
  46200. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  46201. msgstr ""
  46202. #. type: deftypevr
  46203. #: guix-git/doc/guix.texi:31145
  46204. msgid "URL which, if specified, will be used as root for all cgit links."
  46205. msgstr ""
  46206. #. type: deftypevr
  46207. #: guix-git/doc/guix.texi:31147
  46208. msgid "Defaults to @samp{\"/\"}."
  46209. msgstr ""
  46210. #. type: deftypevr
  46211. #: guix-git/doc/guix.texi:31150
  46212. #, no-wrap
  46213. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  46214. msgstr ""
  46215. #. type: deftypevr
  46216. #: guix-git/doc/guix.texi:31152
  46217. msgid "A list of @dfn{cgit-repo} records to use with config."
  46218. msgstr ""
  46219. #. type: deftypevr
  46220. #: guix-git/doc/guix.texi:31156
  46221. msgid "Available @code{repository-cgit-configuration} fields are:"
  46222. msgstr ""
  46223. #. type: deftypevr
  46224. #: guix-git/doc/guix.texi:31157
  46225. #, no-wrap
  46226. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  46227. msgstr ""
  46228. #. type: deftypevr
  46229. #: guix-git/doc/guix.texi:31160
  46230. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  46231. msgstr ""
  46232. #. type: deftypevr
  46233. #: guix-git/doc/guix.texi:31165
  46234. #, no-wrap
  46235. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  46236. msgstr ""
  46237. #. type: deftypevr
  46238. #: guix-git/doc/guix.texi:31167
  46239. msgid "Override the default @code{source-filter}."
  46240. msgstr ""
  46241. #. type: deftypevr
  46242. #: guix-git/doc/guix.texi:31172
  46243. #, no-wrap
  46244. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  46245. msgstr ""
  46246. #. type: deftypevr
  46247. #: guix-git/doc/guix.texi:31174
  46248. msgid "The relative URL used to access the repository."
  46249. msgstr ""
  46250. #. type: deftypevr
  46251. #: guix-git/doc/guix.texi:31179
  46252. #, no-wrap
  46253. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  46254. msgstr ""
  46255. #. type: deftypevr
  46256. #: guix-git/doc/guix.texi:31181
  46257. msgid "Override the default @code{about-filter}."
  46258. msgstr ""
  46259. #. type: deftypevr
  46260. #: guix-git/doc/guix.texi:31186
  46261. #, no-wrap
  46262. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  46263. msgstr ""
  46264. #. type: deftypevr
  46265. #: guix-git/doc/guix.texi:31189
  46266. 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."
  46267. msgstr ""
  46268. #. type: deftypevr
  46269. #: guix-git/doc/guix.texi:31194
  46270. #, no-wrap
  46271. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  46272. msgstr ""
  46273. #. type: deftypevr
  46274. #: guix-git/doc/guix.texi:31196
  46275. msgid "A list of URLs which can be used to clone repo."
  46276. msgstr ""
  46277. #. type: deftypevr
  46278. #: guix-git/doc/guix.texi:31201
  46279. #, no-wrap
  46280. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  46281. msgstr ""
  46282. #. type: deftypevr
  46283. #: guix-git/doc/guix.texi:31203
  46284. msgid "Override the default @code{commit-filter}."
  46285. msgstr ""
  46286. #. type: deftypevr
  46287. #: guix-git/doc/guix.texi:31208
  46288. #, no-wrap
  46289. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  46290. msgstr ""
  46291. #. type: deftypevr
  46292. #: guix-git/doc/guix.texi:31217
  46293. #, no-wrap
  46294. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  46295. msgstr ""
  46296. #. type: deftypevr
  46297. #: guix-git/doc/guix.texi:31222
  46298. 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."
  46299. msgstr ""
  46300. #. type: deftypevr
  46301. #: guix-git/doc/guix.texi:31227
  46302. #, no-wrap
  46303. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  46304. msgstr ""
  46305. #. type: deftypevr
  46306. #: guix-git/doc/guix.texi:31229
  46307. msgid "The value to show as repository description."
  46308. msgstr ""
  46309. #. type: deftypevr
  46310. #: guix-git/doc/guix.texi:31234
  46311. #, no-wrap
  46312. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  46313. msgstr ""
  46314. #. type: deftypevr
  46315. #: guix-git/doc/guix.texi:31236
  46316. msgid "The value to show as repository homepage."
  46317. msgstr ""
  46318. #. type: deftypevr
  46319. #: guix-git/doc/guix.texi:31241
  46320. #, no-wrap
  46321. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  46322. msgstr ""
  46323. #. type: deftypevr
  46324. #: guix-git/doc/guix.texi:31243
  46325. msgid "Override the default @code{email-filter}."
  46326. msgstr ""
  46327. #. type: deftypevr
  46328. #: guix-git/doc/guix.texi:31248
  46329. #, no-wrap
  46330. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  46331. msgstr ""
  46332. #. type: deftypevr
  46333. #: guix-git/doc/guix.texi:31251
  46334. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  46335. msgstr ""
  46336. #. type: deftypevr
  46337. #: guix-git/doc/guix.texi:31256
  46338. #, no-wrap
  46339. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  46340. msgstr ""
  46341. #. type: deftypevr
  46342. #: guix-git/doc/guix.texi:31259
  46343. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  46344. msgstr ""
  46345. #. type: deftypevr
  46346. #: guix-git/doc/guix.texi:31264
  46347. #, no-wrap
  46348. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  46349. msgstr ""
  46350. #. type: deftypevr
  46351. #: guix-git/doc/guix.texi:31267
  46352. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  46353. msgstr ""
  46354. #. type: deftypevr
  46355. #: guix-git/doc/guix.texi:31272
  46356. #, no-wrap
  46357. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  46358. msgstr ""
  46359. #. type: deftypevr
  46360. #: guix-git/doc/guix.texi:31280
  46361. #, no-wrap
  46362. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  46363. msgstr ""
  46364. #. type: deftypevr
  46365. #: guix-git/doc/guix.texi:31283
  46366. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  46367. msgstr ""
  46368. #. type: deftypevr
  46369. #: guix-git/doc/guix.texi:31288
  46370. #, no-wrap
  46371. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  46372. msgstr ""
  46373. #. type: deftypevr
  46374. #: guix-git/doc/guix.texi:31291
  46375. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  46376. msgstr ""
  46377. #. type: deftypevr
  46378. #: guix-git/doc/guix.texi:31296
  46379. #, no-wrap
  46380. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  46381. msgstr ""
  46382. #. type: deftypevr
  46383. #: guix-git/doc/guix.texi:31299
  46384. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  46385. msgstr ""
  46386. #. type: deftypevr
  46387. #: guix-git/doc/guix.texi:31304
  46388. #, no-wrap
  46389. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  46390. msgstr ""
  46391. #. type: deftypevr
  46392. #: guix-git/doc/guix.texi:31306
  46393. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  46394. msgstr ""
  46395. #. type: deftypevr
  46396. #: guix-git/doc/guix.texi:31311
  46397. #, no-wrap
  46398. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  46399. msgstr ""
  46400. #. type: deftypevr
  46401. #: guix-git/doc/guix.texi:31314
  46402. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  46403. msgstr ""
  46404. #. type: deftypevr
  46405. #: guix-git/doc/guix.texi:31319
  46406. #, no-wrap
  46407. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  46408. msgstr ""
  46409. #. type: deftypevr
  46410. #: guix-git/doc/guix.texi:31326
  46411. #, no-wrap
  46412. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  46413. msgstr ""
  46414. #. type: deftypevr
  46415. #: guix-git/doc/guix.texi:31328
  46416. msgid "Override the default @code{owner-filter}."
  46417. msgstr ""
  46418. #. type: deftypevr
  46419. #: guix-git/doc/guix.texi:31333
  46420. #, no-wrap
  46421. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  46422. msgstr ""
  46423. #. type: deftypevr
  46424. #: guix-git/doc/guix.texi:31337
  46425. 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."
  46426. msgstr ""
  46427. #. type: deftypevr
  46428. #: guix-git/doc/guix.texi:31342
  46429. #, no-wrap
  46430. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  46431. msgstr ""
  46432. #. type: deftypevr
  46433. #: guix-git/doc/guix.texi:31346
  46434. 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."
  46435. msgstr ""
  46436. #. type: deftypevr
  46437. #: guix-git/doc/guix.texi:31351
  46438. #, no-wrap
  46439. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  46440. msgstr ""
  46441. #. type: deftypevr
  46442. #: guix-git/doc/guix.texi:31353
  46443. msgid "Override the default maximum statistics period."
  46444. msgstr ""
  46445. #. type: deftypevr
  46446. #: guix-git/doc/guix.texi:31358
  46447. #, no-wrap
  46448. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  46449. msgstr ""
  46450. #. type: deftypevr
  46451. #: guix-git/doc/guix.texi:31360
  46452. msgid "The value to show as repository name."
  46453. msgstr ""
  46454. #. type: deftypevr
  46455. #: guix-git/doc/guix.texi:31365
  46456. #, no-wrap
  46457. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  46458. msgstr ""
  46459. #. type: deftypevr
  46460. #: guix-git/doc/guix.texi:31367
  46461. msgid "A value used to identify the owner of the repository."
  46462. msgstr ""
  46463. #. type: deftypevr
  46464. #: guix-git/doc/guix.texi:31372
  46465. #, no-wrap
  46466. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  46467. msgstr ""
  46468. #. type: deftypevr
  46469. #: guix-git/doc/guix.texi:31374
  46470. msgid "An absolute path to the repository directory."
  46471. msgstr ""
  46472. #. type: deftypevr
  46473. #: guix-git/doc/guix.texi:31379
  46474. #, no-wrap
  46475. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  46476. msgstr ""
  46477. #. type: deftypevr
  46478. #: guix-git/doc/guix.texi:31382
  46479. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  46480. msgstr ""
  46481. #. type: deftypevr
  46482. #: guix-git/doc/guix.texi:31387
  46483. #, no-wrap
  46484. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  46485. msgstr ""
  46486. #. type: deftypevr
  46487. #: guix-git/doc/guix.texi:31395
  46488. #, no-wrap
  46489. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  46490. msgstr ""
  46491. #. type: deftypevr
  46492. #: guix-git/doc/guix.texi:31397 guix-git/doc/guix.texi:31406
  46493. msgid "Extra options will be appended to cgitrc file."
  46494. msgstr ""
  46495. #. type: deftypevr
  46496. #: guix-git/doc/guix.texi:31404
  46497. #, no-wrap
  46498. msgid "{@code{cgit-configuration} parameter} list extra-options"
  46499. msgstr ""
  46500. #. type: Plain text
  46501. #: guix-git/doc/guix.texi:31418
  46502. 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."
  46503. msgstr ""
  46504. #. type: Plain text
  46505. #: guix-git/doc/guix.texi:31420
  46506. msgid "Available @code{opaque-cgit-configuration} fields are:"
  46507. msgstr ""
  46508. #. type: deftypevr
  46509. #: guix-git/doc/guix.texi:31421
  46510. #, no-wrap
  46511. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  46512. msgstr ""
  46513. #. type: deftypevr
  46514. #: guix-git/doc/guix.texi:31423
  46515. msgid "The cgit package."
  46516. msgstr ""
  46517. #. type: deftypevr
  46518. #: guix-git/doc/guix.texi:31425
  46519. #, no-wrap
  46520. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  46521. msgstr ""
  46522. #. type: deftypevr
  46523. #: guix-git/doc/guix.texi:31427
  46524. msgid "The contents of the @code{cgitrc}, as a string."
  46525. msgstr ""
  46526. #. type: Plain text
  46527. #: guix-git/doc/guix.texi:31431
  46528. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  46529. msgstr ""
  46530. #. type: lisp
  46531. #: guix-git/doc/guix.texi:31436
  46532. #, no-wrap
  46533. msgid ""
  46534. "(service cgit-service-type\n"
  46535. " (opaque-cgit-configuration\n"
  46536. " (cgitrc \"\")))\n"
  46537. msgstr ""
  46538. #. type: subsubheading
  46539. #: guix-git/doc/guix.texi:31438
  46540. #, no-wrap
  46541. msgid "Gitolite Service"
  46542. msgstr ""
  46543. #. type: cindex
  46544. #: guix-git/doc/guix.texi:31440
  46545. #, no-wrap
  46546. msgid "Gitolite service"
  46547. msgstr ""
  46548. #. type: cindex
  46549. #: guix-git/doc/guix.texi:31441
  46550. #, no-wrap
  46551. msgid "Git, hosting"
  46552. msgstr ""
  46553. #. type: Plain text
  46554. #: guix-git/doc/guix.texi:31444
  46555. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  46556. msgstr ""
  46557. #. type: Plain text
  46558. #: guix-git/doc/guix.texi:31447
  46559. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  46560. msgstr ""
  46561. #. type: Plain text
  46562. #: guix-git/doc/guix.texi:31450
  46563. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  46564. msgstr ""
  46565. #. type: lisp
  46566. #: guix-git/doc/guix.texi:31457
  46567. #, no-wrap
  46568. msgid ""
  46569. "(service gitolite-service-type\n"
  46570. " (gitolite-configuration\n"
  46571. " (admin-pubkey (plain-file\n"
  46572. " \"yourname.pub\"\n"
  46573. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  46574. msgstr ""
  46575. #. type: Plain text
  46576. #: guix-git/doc/guix.texi:31462
  46577. 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."
  46578. msgstr ""
  46579. #. type: example
  46580. #: guix-git/doc/guix.texi:31465
  46581. #, no-wrap
  46582. msgid "git clone git@@example.com:gitolite-admin\n"
  46583. msgstr ""
  46584. #. type: Plain text
  46585. #: guix-git/doc/guix.texi:31471
  46586. 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''."
  46587. msgstr ""
  46588. #. type: deftp
  46589. #: guix-git/doc/guix.texi:31472
  46590. #, no-wrap
  46591. msgid "{Data Type} gitolite-configuration"
  46592. msgstr ""
  46593. #. type: deftp
  46594. #: guix-git/doc/guix.texi:31474
  46595. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  46596. msgstr ""
  46597. #. type: item
  46598. #: guix-git/doc/guix.texi:31476
  46599. #, no-wrap
  46600. msgid "@code{package} (default: @var{gitolite})"
  46601. msgstr ""
  46602. #. type: table
  46603. #: guix-git/doc/guix.texi:31478
  46604. msgid "Gitolite package to use."
  46605. msgstr ""
  46606. #. type: item
  46607. #: guix-git/doc/guix.texi:31479
  46608. #, no-wrap
  46609. msgid "@code{user} (default: @var{git})"
  46610. msgstr ""
  46611. #. type: table
  46612. #: guix-git/doc/guix.texi:31482
  46613. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  46614. msgstr ""
  46615. #. type: item
  46616. #: guix-git/doc/guix.texi:31483
  46617. #, no-wrap
  46618. msgid "@code{group} (default: @var{git})"
  46619. msgstr ""
  46620. #. type: table
  46621. #: guix-git/doc/guix.texi:31485
  46622. msgid "Group to use for Gitolite."
  46623. msgstr ""
  46624. #. type: item
  46625. #: guix-git/doc/guix.texi:31486
  46626. #, no-wrap
  46627. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  46628. msgstr ""
  46629. #. type: table
  46630. #: guix-git/doc/guix.texi:31488
  46631. msgid "Directory in which to store the Gitolite configuration and repositories."
  46632. msgstr ""
  46633. #. type: item
  46634. #: guix-git/doc/guix.texi:31489
  46635. #, no-wrap
  46636. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  46637. msgstr ""
  46638. #. type: table
  46639. #: guix-git/doc/guix.texi:31492
  46640. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  46641. msgstr ""
  46642. #. type: item
  46643. #: guix-git/doc/guix.texi:31493
  46644. #, no-wrap
  46645. msgid "@code{admin-pubkey} (default: @var{#f})"
  46646. msgstr ""
  46647. #. type: table
  46648. #: guix-git/doc/guix.texi:31497
  46649. 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."
  46650. msgstr ""
  46651. #. type: table
  46652. #: guix-git/doc/guix.texi:31499
  46653. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  46654. msgstr ""
  46655. #. type: lisp
  46656. #: guix-git/doc/guix.texi:31502
  46657. #, no-wrap
  46658. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  46659. msgstr ""
  46660. #. type: deftp
  46661. #: guix-git/doc/guix.texi:31507
  46662. #, no-wrap
  46663. msgid "{Data Type} gitolite-rc-file"
  46664. msgstr ""
  46665. #. type: deftp
  46666. #: guix-git/doc/guix.texi:31509
  46667. msgid "Data type representing the Gitolite RC file."
  46668. msgstr ""
  46669. #. type: item
  46670. #: guix-git/doc/guix.texi:31511
  46671. #, no-wrap
  46672. msgid "@code{umask} (default: @code{#o0077})"
  46673. msgstr ""
  46674. #. type: table
  46675. #: guix-git/doc/guix.texi:31514
  46676. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  46677. msgstr ""
  46678. #. type: table
  46679. #: guix-git/doc/guix.texi:31518
  46680. 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."
  46681. msgstr ""
  46682. #. type: item
  46683. #: guix-git/doc/guix.texi:31519
  46684. #, no-wrap
  46685. msgid "@code{git-config-keys} (default: @code{\"\"})"
  46686. msgstr ""
  46687. #. type: table
  46688. #: guix-git/doc/guix.texi:31522
  46689. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  46690. msgstr ""
  46691. #. type: item
  46692. #: guix-git/doc/guix.texi:31523
  46693. #, no-wrap
  46694. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  46695. msgstr ""
  46696. #. type: table
  46697. #: guix-git/doc/guix.texi:31525
  46698. msgid "Set the role names allowed to be used by users running the perms command."
  46699. msgstr ""
  46700. #. type: item
  46701. #: guix-git/doc/guix.texi:31526
  46702. #, no-wrap
  46703. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  46704. msgstr ""
  46705. #. type: table
  46706. #: guix-git/doc/guix.texi:31528
  46707. msgid "This setting controls the commands and features to enable within Gitolite."
  46708. msgstr ""
  46709. #. type: subsubheading
  46710. #: guix-git/doc/guix.texi:31536
  46711. #, no-wrap
  46712. msgid "The Battle for Wesnoth Service"
  46713. msgstr ""
  46714. #. type: cindex
  46715. #: guix-git/doc/guix.texi:31537
  46716. #, no-wrap
  46717. msgid "wesnothd"
  46718. msgstr ""
  46719. #. type: Plain text
  46720. #: guix-git/doc/guix.texi:31541
  46721. 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)."
  46722. msgstr ""
  46723. #. type: defvar
  46724. #: guix-git/doc/guix.texi:31542
  46725. #, no-wrap
  46726. msgid "{Scheme Variable} wesnothd-service-type"
  46727. msgstr ""
  46728. #. type: defvar
  46729. #: guix-git/doc/guix.texi:31546
  46730. 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:"
  46731. msgstr ""
  46732. #. type: lisp
  46733. #: guix-git/doc/guix.texi:31549
  46734. #, no-wrap
  46735. msgid "(service wesnothd-service-type)\n"
  46736. msgstr ""
  46737. #. type: deftp
  46738. #: guix-git/doc/guix.texi:31552
  46739. #, no-wrap
  46740. msgid "{Data Type} wesnothd-configuration"
  46741. msgstr ""
  46742. #. type: deftp
  46743. #: guix-git/doc/guix.texi:31554
  46744. msgid "Data type representing the configuration of @command{wesnothd}."
  46745. msgstr ""
  46746. #. type: item
  46747. #: guix-git/doc/guix.texi:31556
  46748. #, no-wrap
  46749. msgid "@code{package} (default: @code{wesnoth-server})"
  46750. msgstr ""
  46751. #. type: table
  46752. #: guix-git/doc/guix.texi:31558
  46753. msgid "The wesnoth server package to use."
  46754. msgstr ""
  46755. #. type: item
  46756. #: guix-git/doc/guix.texi:31559
  46757. #, no-wrap
  46758. msgid "@code{port} (default: @code{15000})"
  46759. msgstr ""
  46760. #. type: table
  46761. #: guix-git/doc/guix.texi:31561
  46762. msgid "The port to bind the server to."
  46763. msgstr ""
  46764. #. type: cindex
  46765. #: guix-git/doc/guix.texi:31567
  46766. #, no-wrap
  46767. msgid "pam-mount"
  46768. msgstr ""
  46769. #. type: Plain text
  46770. #: guix-git/doc/guix.texi:31572
  46771. 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."
  46772. msgstr ""
  46773. #. type: defvar
  46774. #: guix-git/doc/guix.texi:31573
  46775. #, no-wrap
  46776. msgid "{Scheme Variable} pam-mount-service-type"
  46777. msgstr ""
  46778. #. type: defvar
  46779. #: guix-git/doc/guix.texi:31575
  46780. msgid "Service type for PAM Mount support."
  46781. msgstr ""
  46782. #. type: deftp
  46783. #: guix-git/doc/guix.texi:31577
  46784. #, no-wrap
  46785. msgid "{Data Type} pam-mount-configuration"
  46786. msgstr ""
  46787. #. type: deftp
  46788. #: guix-git/doc/guix.texi:31579
  46789. msgid "Data type representing the configuration of PAM Mount."
  46790. msgstr ""
  46791. #. type: code{#1}
  46792. #: guix-git/doc/guix.texi:31583
  46793. #, no-wrap
  46794. msgid "rules"
  46795. msgstr ""
  46796. #. type: table
  46797. #: guix-git/doc/guix.texi:31586
  46798. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  46799. msgstr ""
  46800. #. type: table
  46801. #: guix-git/doc/guix.texi:31590
  46802. 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:"
  46803. msgstr ""
  46804. #. type: lisp
  46805. #: guix-git/doc/guix.texi:31605
  46806. #, no-wrap
  46807. msgid ""
  46808. "`((debug (@@ (enable \"0\")))\n"
  46809. " (mntoptions (@@ (allow ,(string-join\n"
  46810. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  46811. " \"encryption\" \"fsck\" \"nonempty\"\n"
  46812. " \"allow_root\" \"allow_other\")\n"
  46813. " \",\"))))\n"
  46814. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  46815. " (logout (@@ (wait \"0\")\n"
  46816. " (hup \"0\")\n"
  46817. " (term \"no\")\n"
  46818. " (kill \"no\")))\n"
  46819. " (mkmountpoint (@@ (enable \"1\")\n"
  46820. " (remove \"true\"))))\n"
  46821. msgstr ""
  46822. #. type: table
  46823. #: guix-git/doc/guix.texi:31611
  46824. 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:"
  46825. msgstr ""
  46826. #. type: lisp
  46827. #: guix-git/doc/guix.texi:31636
  46828. #, no-wrap
  46829. msgid ""
  46830. "(define pam-mount-rules\n"
  46831. "`((debug (@@ (enable \"0\")))\n"
  46832. " (volume (@@ (user \"alice\")\n"
  46833. " (fstype \"crypt\")\n"
  46834. " (path \"/dev/sda2\")\n"
  46835. " (mountpoint \"/home/alice\")))\n"
  46836. " (volume (@@ (user \"bob\")\n"
  46837. " (fstype \"auto\")\n"
  46838. " (path \"/dev/sdb3\")\n"
  46839. " (mountpoint \"/home/bob/data\")\n"
  46840. " (options \"defaults,autodefrag,compress\")))\n"
  46841. " (mntoptions (@@ (allow ,(string-join\n"
  46842. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  46843. " \"encryption\" \"fsck\" \"nonempty\"\n"
  46844. " \"allow_root\" \"allow_other\")\n"
  46845. " \",\"))))\n"
  46846. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  46847. " (logout (@@ (wait \"0\")\n"
  46848. " (hup \"0\")\n"
  46849. " (term \"no\")\n"
  46850. " (kill \"no\")))\n"
  46851. " (mkmountpoint (@@ (enable \"1\")\n"
  46852. " (remove \"true\")))))\n"
  46853. "\n"
  46854. msgstr ""
  46855. #. type: lisp
  46856. #: guix-git/doc/guix.texi:31640
  46857. #, no-wrap
  46858. msgid ""
  46859. "(service pam-mount-service-type\n"
  46860. " (pam-mount-configuration\n"
  46861. " (rules pam-mount-rules)))\n"
  46862. msgstr ""
  46863. #. type: table
  46864. #: guix-git/doc/guix.texi:31644
  46865. 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}."
  46866. msgstr ""
  46867. #. type: subsubheading
  46868. #: guix-git/doc/guix.texi:31651
  46869. #, no-wrap
  46870. msgid "Guix Build Coordinator"
  46871. msgstr ""
  46872. #. type: Plain text
  46873. #: guix-git/doc/guix.texi:31657
  46874. 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."
  46875. msgstr ""
  46876. #. type: quotation
  46877. #: guix-git/doc/guix.texi:31662
  46878. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested."
  46879. msgstr ""
  46880. #. type: Plain text
  46881. #: guix-git/doc/guix.texi:31669
  46882. 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."
  46883. msgstr ""
  46884. #. type: Plain text
  46885. #: guix-git/doc/guix.texi:31673
  46886. 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."
  46887. msgstr ""
  46888. #. type: defvar
  46889. #: guix-git/doc/guix.texi:31674
  46890. #, no-wrap
  46891. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  46892. msgstr ""
  46893. #. type: defvar
  46894. #: guix-git/doc/guix.texi:31677
  46895. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  46896. msgstr ""
  46897. #. type: deftp
  46898. #: guix-git/doc/guix.texi:31679
  46899. #, no-wrap
  46900. msgid "{Data Type} guix-build-coordinator-configuration"
  46901. msgstr ""
  46902. #. type: deftp
  46903. #: guix-git/doc/guix.texi:31681
  46904. msgid "Data type representing the configuration of the Guix Build Coordinator."
  46905. msgstr ""
  46906. #. type: item
  46907. #: guix-git/doc/guix.texi:31683 guix-git/doc/guix.texi:31727
  46908. #: guix-git/doc/guix.texi:31853
  46909. #, no-wrap
  46910. msgid "@code{package} (default: @code{guix-build-coordinator})"
  46911. msgstr ""
  46912. #. type: table
  46913. #: guix-git/doc/guix.texi:31685 guix-git/doc/guix.texi:31729
  46914. #: guix-git/doc/guix.texi:31855
  46915. msgid "The Guix Build Coordinator package to use."
  46916. msgstr ""
  46917. #. type: item
  46918. #: guix-git/doc/guix.texi:31686
  46919. #, no-wrap
  46920. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  46921. msgstr ""
  46922. #. type: table
  46923. #: guix-git/doc/guix.texi:31688 guix-git/doc/guix.texi:31732
  46924. #: guix-git/doc/guix.texi:31858 guix-git/doc/guix.texi:31904
  46925. msgid "The system user to run the service as."
  46926. msgstr ""
  46927. #. type: item
  46928. #: guix-git/doc/guix.texi:31689
  46929. #, no-wrap
  46930. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  46931. msgstr ""
  46932. #. type: table
  46933. #: guix-git/doc/guix.texi:31691 guix-git/doc/guix.texi:31907
  46934. msgid "The system group to run the service as."
  46935. msgstr ""
  46936. #. type: item
  46937. #: guix-git/doc/guix.texi:31692
  46938. #, no-wrap
  46939. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  46940. msgstr ""
  46941. #. type: table
  46942. #: guix-git/doc/guix.texi:31694
  46943. msgid "The URI to use for the database."
  46944. msgstr ""
  46945. #. type: item
  46946. #: guix-git/doc/guix.texi:31695
  46947. #, no-wrap
  46948. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  46949. msgstr ""
  46950. #. type: table
  46951. #: guix-git/doc/guix.texi:31697
  46952. msgid "The URI describing how to listen to requests from agent processes."
  46953. msgstr ""
  46954. #. type: item
  46955. #: guix-git/doc/guix.texi:31698
  46956. #, no-wrap
  46957. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  46958. msgstr ""
  46959. #. type: table
  46960. #: guix-git/doc/guix.texi:31702
  46961. 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."
  46962. msgstr ""
  46963. #. type: item
  46964. #: guix-git/doc/guix.texi:31703
  46965. #, no-wrap
  46966. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  46967. msgstr ""
  46968. #. type: table
  46969. #: guix-git/doc/guix.texi:31707
  46970. 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."
  46971. msgstr ""
  46972. #. type: item
  46973. #: guix-git/doc/guix.texi:31708
  46974. #, no-wrap
  46975. msgid "@code{hooks} (default: @var{'()})"
  46976. msgstr ""
  46977. #. type: table
  46978. #: guix-git/doc/guix.texi:31711
  46979. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  46980. msgstr ""
  46981. #. type: item
  46982. #: guix-git/doc/guix.texi:31712
  46983. #, no-wrap
  46984. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  46985. msgstr ""
  46986. #. type: table
  46987. #: guix-git/doc/guix.texi:31714
  46988. msgid "The Guile package with which to run the Guix Build Coordinator."
  46989. msgstr ""
  46990. #. type: defvar
  46991. #: guix-git/doc/guix.texi:31718
  46992. #, no-wrap
  46993. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  46994. msgstr ""
  46995. #. type: defvar
  46996. #: guix-git/doc/guix.texi:31721
  46997. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  46998. msgstr ""
  46999. #. type: deftp
  47000. #: guix-git/doc/guix.texi:31723
  47001. #, no-wrap
  47002. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  47003. msgstr ""
  47004. #. type: deftp
  47005. #: guix-git/doc/guix.texi:31725
  47006. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  47007. msgstr ""
  47008. #. type: item
  47009. #: guix-git/doc/guix.texi:31730
  47010. #, no-wrap
  47011. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  47012. msgstr ""
  47013. #. type: item
  47014. #: guix-git/doc/guix.texi:31733
  47015. #, no-wrap
  47016. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  47017. msgstr ""
  47018. #. type: table
  47019. #: guix-git/doc/guix.texi:31735 guix-git/doc/guix.texi:31861
  47020. msgid "The URI to use when connecting to the coordinator."
  47021. msgstr ""
  47022. #. type: code{#1}
  47023. #: guix-git/doc/guix.texi:31736
  47024. #, no-wrap
  47025. msgid "authentication"
  47026. msgstr ""
  47027. #. type: table
  47028. #: guix-git/doc/guix.texi:31739
  47029. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  47030. msgstr ""
  47031. #. type: item
  47032. #: guix-git/doc/guix.texi:31740 guix-git/doc/guix.texi:31862
  47033. #, no-wrap
  47034. msgid "@code{systems} (default: @code{#f})"
  47035. msgstr ""
  47036. #. type: table
  47037. #: guix-git/doc/guix.texi:31743
  47038. 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."
  47039. msgstr ""
  47040. #. type: item
  47041. #: guix-git/doc/guix.texi:31744
  47042. #, no-wrap
  47043. msgid "@code{max-parallel-builds} (default: @code{1})"
  47044. msgstr ""
  47045. #. type: table
  47046. #: guix-git/doc/guix.texi:31746
  47047. msgid "The number of builds to perform in parallel."
  47048. msgstr ""
  47049. #. type: item
  47050. #: guix-git/doc/guix.texi:31747
  47051. #, no-wrap
  47052. msgid "@code{max-1min-load-average} (default: @code{#f})"
  47053. msgstr ""
  47054. #. type: table
  47055. #: guix-git/doc/guix.texi:31751
  47056. 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."
  47057. msgstr ""
  47058. #. type: table
  47059. #: guix-git/doc/guix.texi:31755
  47060. 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."
  47061. msgstr ""
  47062. #. type: item
  47063. #: guix-git/doc/guix.texi:31756
  47064. #, no-wrap
  47065. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  47066. msgstr ""
  47067. #. type: table
  47068. #: guix-git/doc/guix.texi:31759
  47069. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  47070. msgstr ""
  47071. #. type: item
  47072. #: guix-git/doc/guix.texi:31760
  47073. #, no-wrap
  47074. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  47075. msgstr ""
  47076. #. type: table
  47077. #: guix-git/doc/guix.texi:31763
  47078. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  47079. msgstr ""
  47080. #. type: deftp
  47081. #: guix-git/doc/guix.texi:31767
  47082. #, no-wrap
  47083. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  47084. msgstr ""
  47085. #. type: deftp
  47086. #: guix-git/doc/guix.texi:31770
  47087. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  47088. msgstr ""
  47089. #. type: table
  47090. #: guix-git/doc/guix.texi:31776 guix-git/doc/guix.texi:31792
  47091. 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."
  47092. msgstr ""
  47093. #. type: table
  47094. #: guix-git/doc/guix.texi:31779
  47095. msgid "The password to use when connecting to the coordinator."
  47096. msgstr ""
  47097. #. type: deftp
  47098. #: guix-git/doc/guix.texi:31783
  47099. #, no-wrap
  47100. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  47101. msgstr ""
  47102. #. type: deftp
  47103. #: guix-git/doc/guix.texi:31786
  47104. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  47105. msgstr ""
  47106. #. type: code{#1}
  47107. #: guix-git/doc/guix.texi:31793
  47108. #, no-wrap
  47109. msgid "password-file"
  47110. msgstr ""
  47111. #. type: table
  47112. #: guix-git/doc/guix.texi:31796
  47113. msgid "A file containing the password to use when connecting to the coordinator."
  47114. msgstr ""
  47115. #. type: deftp
  47116. #: guix-git/doc/guix.texi:31800
  47117. #, no-wrap
  47118. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  47119. msgstr ""
  47120. #. type: deftp
  47121. #: guix-git/doc/guix.texi:31803
  47122. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  47123. msgstr ""
  47124. #. type: code{#1}
  47125. #: guix-git/doc/guix.texi:31805 guix-git/doc/guix.texi:31822
  47126. #, fuzzy, no-wrap
  47127. msgid "agent-name"
  47128. msgstr "نام بسته"
  47129. #. type: table
  47130. #: guix-git/doc/guix.texi:31809 guix-git/doc/guix.texi:31826
  47131. 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."
  47132. msgstr ""
  47133. #. type: code{#1}
  47134. #: guix-git/doc/guix.texi:31810
  47135. #, no-wrap
  47136. msgid "token"
  47137. msgstr ""
  47138. #. type: table
  47139. #: guix-git/doc/guix.texi:31813
  47140. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  47141. msgstr ""
  47142. #. type: deftp
  47143. #: guix-git/doc/guix.texi:31817
  47144. #, no-wrap
  47145. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  47146. msgstr ""
  47147. #. type: deftp
  47148. #: guix-git/doc/guix.texi:31820
  47149. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  47150. msgstr ""
  47151. #. type: code{#1}
  47152. #: guix-git/doc/guix.texi:31827
  47153. #, no-wrap
  47154. msgid "token-file"
  47155. msgstr ""
  47156. #. type: table
  47157. #: guix-git/doc/guix.texi:31830
  47158. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  47159. msgstr ""
  47160. #. type: Plain text
  47161. #: guix-git/doc/guix.texi:31840
  47162. 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."
  47163. msgstr ""
  47164. #. type: defvar
  47165. #: guix-git/doc/guix.texi:31841
  47166. #, no-wrap
  47167. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  47168. msgstr ""
  47169. #. type: defvar
  47170. #: guix-git/doc/guix.texi:31846
  47171. 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."
  47172. msgstr ""
  47173. #. type: deftp
  47174. #: guix-git/doc/guix.texi:31848
  47175. #, no-wrap
  47176. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  47177. msgstr ""
  47178. #. type: deftp
  47179. #: guix-git/doc/guix.texi:31851
  47180. msgid "Data type representing the options to the queue builds from guix data service script."
  47181. msgstr ""
  47182. #. type: item
  47183. #: guix-git/doc/guix.texi:31856
  47184. #, no-wrap
  47185. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  47186. msgstr ""
  47187. #. type: item
  47188. #: guix-git/doc/guix.texi:31859
  47189. #, no-wrap
  47190. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  47191. msgstr ""
  47192. #. type: table
  47193. #: guix-git/doc/guix.texi:31864
  47194. msgid "The systems for which to fetch derivations to build."
  47195. msgstr ""
  47196. #. type: item
  47197. #: guix-git/doc/guix.texi:31865
  47198. #, no-wrap
  47199. msgid "@code{systems-and-targets} (default: @code{#f})"
  47200. msgstr ""
  47201. #. type: table
  47202. #: guix-git/doc/guix.texi:31868
  47203. msgid "An association list of system and target pairs for which to fetch derivations to build."
  47204. msgstr ""
  47205. #. type: item
  47206. #: guix-git/doc/guix.texi:31869
  47207. #, no-wrap
  47208. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  47209. msgstr ""
  47210. #. type: table
  47211. #: guix-git/doc/guix.texi:31872
  47212. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  47213. msgstr ""
  47214. #. type: item
  47215. #: guix-git/doc/guix.texi:31873
  47216. #, no-wrap
  47217. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  47218. msgstr ""
  47219. #. type: table
  47220. #: guix-git/doc/guix.texi:31876
  47221. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  47222. msgstr ""
  47223. #. type: subsubheading
  47224. #: guix-git/doc/guix.texi:31880
  47225. #, no-wrap
  47226. msgid "Guix Data Service"
  47227. msgstr ""
  47228. #. type: Plain text
  47229. #: guix-git/doc/guix.texi:31884
  47230. 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."
  47231. msgstr ""
  47232. #. type: Plain text
  47233. #: guix-git/doc/guix.texi:31887
  47234. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  47235. msgstr ""
  47236. #. type: defvar
  47237. #: guix-git/doc/guix.texi:31888
  47238. #, no-wrap
  47239. msgid "{Scheme Variable} guix-data-service-type"
  47240. msgstr ""
  47241. #. type: defvar
  47242. #: guix-git/doc/guix.texi:31893
  47243. 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."
  47244. msgstr ""
  47245. #. type: deftp
  47246. #: guix-git/doc/guix.texi:31895
  47247. #, no-wrap
  47248. msgid "{Data Type} guix-data-service-configuration"
  47249. msgstr ""
  47250. #. type: deftp
  47251. #: guix-git/doc/guix.texi:31897
  47252. msgid "Data type representing the configuration of the Guix Data Service."
  47253. msgstr ""
  47254. #. type: item
  47255. #: guix-git/doc/guix.texi:31899
  47256. #, no-wrap
  47257. msgid "@code{package} (default: @code{guix-data-service})"
  47258. msgstr ""
  47259. #. type: table
  47260. #: guix-git/doc/guix.texi:31901
  47261. msgid "The Guix Data Service package to use."
  47262. msgstr ""
  47263. #. type: item
  47264. #: guix-git/doc/guix.texi:31902
  47265. #, no-wrap
  47266. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  47267. msgstr ""
  47268. #. type: item
  47269. #: guix-git/doc/guix.texi:31905
  47270. #, no-wrap
  47271. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  47272. msgstr ""
  47273. #. type: item
  47274. #: guix-git/doc/guix.texi:31908
  47275. #, no-wrap
  47276. msgid "@code{port} (default: @code{8765})"
  47277. msgstr ""
  47278. #. type: table
  47279. #: guix-git/doc/guix.texi:31910
  47280. msgid "The port to bind the web service to."
  47281. msgstr ""
  47282. #. type: item
  47283. #: guix-git/doc/guix.texi:31911
  47284. #, no-wrap
  47285. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  47286. msgstr ""
  47287. #. type: table
  47288. #: guix-git/doc/guix.texi:31913
  47289. msgid "The host to bind the web service to."
  47290. msgstr ""
  47291. #. type: item
  47292. #: guix-git/doc/guix.texi:31914
  47293. #, no-wrap
  47294. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  47295. msgstr ""
  47296. #. type: table
  47297. #: guix-git/doc/guix.texi:31917
  47298. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  47299. msgstr ""
  47300. #. type: item
  47301. #: guix-git/doc/guix.texi:31918
  47302. #, no-wrap
  47303. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  47304. msgstr ""
  47305. #. type: table
  47306. #: guix-git/doc/guix.texi:31922
  47307. 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."
  47308. msgstr ""
  47309. #. type: item
  47310. #: guix-git/doc/guix.texi:31923
  47311. #, no-wrap
  47312. msgid "@code{extra-options} (default: @var{'()})"
  47313. msgstr ""
  47314. #. type: table
  47315. #: guix-git/doc/guix.texi:31925
  47316. msgid "Extra command line options for @code{guix-data-service}."
  47317. msgstr ""
  47318. #. type: item
  47319. #: guix-git/doc/guix.texi:31926
  47320. #, no-wrap
  47321. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  47322. msgstr ""
  47323. #. type: table
  47324. #: guix-git/doc/guix.texi:31928
  47325. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  47326. msgstr ""
  47327. #. type: cindex
  47328. #: guix-git/doc/guix.texi:31935
  47329. #, no-wrap
  47330. msgid "oom"
  47331. msgstr ""
  47332. #. type: cindex
  47333. #: guix-git/doc/guix.texi:31936
  47334. #, no-wrap
  47335. msgid "out of memory killer"
  47336. msgstr ""
  47337. #. type: cindex
  47338. #: guix-git/doc/guix.texi:31937
  47339. #, no-wrap
  47340. msgid "earlyoom"
  47341. msgstr ""
  47342. #. type: cindex
  47343. #: guix-git/doc/guix.texi:31938
  47344. #, no-wrap
  47345. msgid "early out of memory daemon"
  47346. msgstr ""
  47347. #. type: subsubheading
  47348. #: guix-git/doc/guix.texi:31939
  47349. #, no-wrap
  47350. msgid "Early OOM Service"
  47351. msgstr ""
  47352. #. type: Plain text
  47353. #: guix-git/doc/guix.texi:31946
  47354. 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."
  47355. msgstr ""
  47356. #. type: deffn
  47357. #: guix-git/doc/guix.texi:31947
  47358. #, no-wrap
  47359. msgid "{Scheme Variable} earlyoom-service-type"
  47360. msgstr ""
  47361. #. type: deffn
  47362. #: guix-git/doc/guix.texi:31952
  47363. 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:"
  47364. msgstr ""
  47365. #. type: lisp
  47366. #: guix-git/doc/guix.texi:31955
  47367. #, no-wrap
  47368. msgid "(service earlyoom-service-type)\n"
  47369. msgstr ""
  47370. #. type: deftp
  47371. #: guix-git/doc/guix.texi:31958
  47372. #, no-wrap
  47373. msgid "{Data Type} earlyoom-configuration"
  47374. msgstr ""
  47375. #. type: deftp
  47376. #: guix-git/doc/guix.texi:31960
  47377. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  47378. msgstr ""
  47379. #. type: item
  47380. #: guix-git/doc/guix.texi:31962
  47381. #, no-wrap
  47382. msgid "@code{earlyoom} (default: @var{earlyoom})"
  47383. msgstr ""
  47384. #. type: table
  47385. #: guix-git/doc/guix.texi:31964
  47386. msgid "The Earlyoom package to use."
  47387. msgstr ""
  47388. #. type: item
  47389. #: guix-git/doc/guix.texi:31965
  47390. #, no-wrap
  47391. msgid "@code{minimum-available-memory} (default: @code{10})"
  47392. msgstr ""
  47393. #. type: table
  47394. #: guix-git/doc/guix.texi:31967
  47395. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  47396. msgstr ""
  47397. #. type: item
  47398. #: guix-git/doc/guix.texi:31968
  47399. #, no-wrap
  47400. msgid "@code{minimum-free-swap} (default: @code{10})"
  47401. msgstr ""
  47402. #. type: table
  47403. #: guix-git/doc/guix.texi:31970
  47404. msgid "The threshold for the minimum free swap memory, in percentages."
  47405. msgstr ""
  47406. #. type: item
  47407. #: guix-git/doc/guix.texi:31971
  47408. #, no-wrap
  47409. msgid "@code{prefer-regexp} (default: @code{#f})"
  47410. msgstr ""
  47411. #. type: table
  47412. #: guix-git/doc/guix.texi:31974
  47413. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  47414. msgstr ""
  47415. #. type: item
  47416. #: guix-git/doc/guix.texi:31975
  47417. #, no-wrap
  47418. msgid "@code{avoid-regexp} (default: @code{#f})"
  47419. msgstr ""
  47420. #. type: table
  47421. #: guix-git/doc/guix.texi:31978
  47422. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  47423. msgstr ""
  47424. #. type: item
  47425. #: guix-git/doc/guix.texi:31979
  47426. #, no-wrap
  47427. msgid "@code{memory-report-interval} (default: @code{0})"
  47428. msgstr ""
  47429. #. type: table
  47430. #: guix-git/doc/guix.texi:31982
  47431. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  47432. msgstr ""
  47433. #. type: item
  47434. #: guix-git/doc/guix.texi:31983
  47435. #, no-wrap
  47436. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  47437. msgstr ""
  47438. #. type: table
  47439. #: guix-git/doc/guix.texi:31986
  47440. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  47441. msgstr ""
  47442. #. type: item
  47443. #: guix-git/doc/guix.texi:31987
  47444. #, no-wrap
  47445. msgid "@code{show-debug-messages?} (default: @code{#f})"
  47446. msgstr ""
  47447. #. type: table
  47448. #: guix-git/doc/guix.texi:31990
  47449. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  47450. msgstr ""
  47451. #. type: item
  47452. #: guix-git/doc/guix.texi:31991
  47453. #, no-wrap
  47454. msgid "@code{send-notification-command} (default: @code{#f})"
  47455. msgstr ""
  47456. #. type: table
  47457. #: guix-git/doc/guix.texi:31994
  47458. msgid "This can be used to provide a custom command used for sending notifications."
  47459. msgstr ""
  47460. #. type: cindex
  47461. #: guix-git/doc/guix.texi:31997
  47462. #, no-wrap
  47463. msgid "modprobe"
  47464. msgstr ""
  47465. #. type: cindex
  47466. #: guix-git/doc/guix.texi:31998
  47467. #, no-wrap
  47468. msgid "kernel module loader"
  47469. msgstr ""
  47470. #. type: subsubheading
  47471. #: guix-git/doc/guix.texi:31999
  47472. #, no-wrap
  47473. msgid "Kernel Module Loader Service"
  47474. msgstr ""
  47475. #. type: Plain text
  47476. #: guix-git/doc/guix.texi:32005
  47477. 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}."
  47478. msgstr ""
  47479. #. type: deffn
  47480. #: guix-git/doc/guix.texi:32006
  47481. #, no-wrap
  47482. msgid "{Scheme Variable} kernel-module-loader-service-type"
  47483. msgstr ""
  47484. #. type: deffn
  47485. #: guix-git/doc/guix.texi:32012
  47486. 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:"
  47487. msgstr ""
  47488. #. type: lisp
  47489. #: guix-git/doc/guix.texi:32017
  47490. #, no-wrap
  47491. msgid ""
  47492. "(use-modules (gnu) (gnu services))\n"
  47493. "(use-package-modules linux)\n"
  47494. "(use-service-modules linux)\n"
  47495. "\n"
  47496. msgstr ""
  47497. #. type: lisp
  47498. #: guix-git/doc/guix.texi:32021
  47499. #, no-wrap
  47500. msgid ""
  47501. "(define ddcci-config\n"
  47502. " (plain-file \"ddcci.conf\"\n"
  47503. " \"options ddcci dyndbg delay=120\"))\n"
  47504. "\n"
  47505. msgstr ""
  47506. #. type: lisp
  47507. #: guix-git/doc/guix.texi:32031
  47508. #, no-wrap
  47509. msgid ""
  47510. "(operating-system\n"
  47511. " ...\n"
  47512. " (services (cons* (service kernel-module-loader-service-type\n"
  47513. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  47514. " (simple-service 'ddcci-config etc-service-type\n"
  47515. " (list `(\"modprobe.d/ddcci.conf\"\n"
  47516. " ,ddcci-config)))\n"
  47517. " %base-services))\n"
  47518. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  47519. msgstr ""
  47520. #. type: cindex
  47521. #: guix-git/doc/guix.texi:32034
  47522. #, no-wrap
  47523. msgid "rasdaemon"
  47524. msgstr ""
  47525. #. type: cindex
  47526. #: guix-git/doc/guix.texi:32035
  47527. #, no-wrap
  47528. msgid "Platform Reliability, Availability and Serviceability daemon"
  47529. msgstr ""
  47530. #. type: subsubheading
  47531. #: guix-git/doc/guix.texi:32036
  47532. #, no-wrap
  47533. msgid "Rasdaemon Service"
  47534. msgstr ""
  47535. #. type: Plain text
  47536. #: guix-git/doc/guix.texi:32041
  47537. 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."
  47538. msgstr ""
  47539. #. type: Plain text
  47540. #: guix-git/doc/guix.texi:32044
  47541. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  47542. msgstr ""
  47543. #. type: Plain text
  47544. #: guix-git/doc/guix.texi:32047
  47545. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  47546. msgstr ""
  47547. #. type: item
  47548. #: guix-git/doc/guix.texi:32049
  47549. #, no-wrap
  47550. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  47551. msgstr ""
  47552. #. type: item
  47553. #: guix-git/doc/guix.texi:32050
  47554. #, no-wrap
  47555. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  47556. msgstr ""
  47557. #. type: itemize
  47558. #: guix-git/doc/guix.texi:32052
  47559. msgid "faults"
  47560. msgstr ""
  47561. #. type: Plain text
  47562. #: guix-git/doc/guix.texi:32056
  47563. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  47564. msgstr ""
  47565. #. type: item
  47566. #: guix-git/doc/guix.texi:32058
  47567. #, no-wrap
  47568. msgid "Generally measured as a percentage of downtime per a period of time, and"
  47569. msgstr ""
  47570. #. type: item
  47571. #: guix-git/doc/guix.texi:32059
  47572. #, no-wrap
  47573. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  47574. msgstr ""
  47575. #. type: Plain text
  47576. #: guix-git/doc/guix.texi:32064
  47577. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  47578. msgstr ""
  47579. #. type: item
  47580. #: guix-git/doc/guix.texi:32066
  47581. #, no-wrap
  47582. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  47583. msgstr ""
  47584. #. type: Plain text
  47585. #: guix-git/doc/guix.texi:32071
  47586. msgid "Among the monitoring measures, the most usual ones include:"
  47587. msgstr ""
  47588. #. type: item
  47589. #: guix-git/doc/guix.texi:32073
  47590. #, no-wrap
  47591. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  47592. msgstr ""
  47593. #. type: item
  47594. #: guix-git/doc/guix.texi:32074
  47595. #, no-wrap
  47596. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  47597. msgstr ""
  47598. #. type: item
  47599. #: guix-git/doc/guix.texi:32075
  47600. #, no-wrap
  47601. msgid "I/O – add CRC checksums for transferred data;"
  47602. msgstr ""
  47603. #. type: item
  47604. #: guix-git/doc/guix.texi:32076
  47605. #, no-wrap
  47606. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  47607. msgstr ""
  47608. #. type: itemize
  47609. #: guix-git/doc/guix.texi:32078
  47610. msgid "Analysis and Reporting Technology (SMART)."
  47611. msgstr ""
  47612. #. type: Plain text
  47613. #: guix-git/doc/guix.texi:32084
  47614. 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."
  47615. msgstr ""
  47616. #. type: Plain text
  47617. #: guix-git/doc/guix.texi:32088
  47618. 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}."
  47619. msgstr ""
  47620. #. type: defvr
  47621. #: guix-git/doc/guix.texi:32089
  47622. #, no-wrap
  47623. msgid "{Scheme Variable} rasdaemon-service-type"
  47624. msgstr ""
  47625. #. type: defvr
  47626. #: guix-git/doc/guix.texi:32092
  47627. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  47628. msgstr ""
  47629. #. type: lisp
  47630. #: guix-git/doc/guix.texi:32095
  47631. #, no-wrap
  47632. msgid "(service rasdaemon-service-type)\n"
  47633. msgstr ""
  47634. #. type: defvr
  47635. #: guix-git/doc/guix.texi:32099
  47636. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  47637. msgstr ""
  47638. #. type: deftp
  47639. #: guix-git/doc/guix.texi:32101
  47640. #, no-wrap
  47641. msgid "{Data Type} rasdaemon-configuration"
  47642. msgstr ""
  47643. #. type: deftp
  47644. #: guix-git/doc/guix.texi:32103
  47645. msgid "The data type representing the configuration of @command{rasdaemon}."
  47646. msgstr ""
  47647. #. type: item
  47648. #: guix-git/doc/guix.texi:32105
  47649. #, no-wrap
  47650. msgid "@code{record?} (default: @code{#f})"
  47651. msgstr ""
  47652. #. type: table
  47653. #: guix-git/doc/guix.texi:32110
  47654. 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}."
  47655. msgstr ""
  47656. #. type: cindex
  47657. #: guix-git/doc/guix.texi:32114
  47658. #, no-wrap
  47659. msgid "zram"
  47660. msgstr ""
  47661. #. type: cindex
  47662. #: guix-git/doc/guix.texi:32115
  47663. #, no-wrap
  47664. msgid "compressed swap"
  47665. msgstr ""
  47666. #. type: cindex
  47667. #: guix-git/doc/guix.texi:32116
  47668. #, no-wrap
  47669. msgid "Compressed RAM-based block devices"
  47670. msgstr ""
  47671. #. type: subsubheading
  47672. #: guix-git/doc/guix.texi:32117
  47673. #, no-wrap
  47674. msgid "Zram Device Service"
  47675. msgstr ""
  47676. #. type: Plain text
  47677. #: guix-git/doc/guix.texi:32123
  47678. 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."
  47679. msgstr ""
  47680. #. type: deffn
  47681. #: guix-git/doc/guix.texi:32124
  47682. #, no-wrap
  47683. msgid "{Scheme Variable} zram-device-service-type"
  47684. msgstr ""
  47685. #. type: deffn
  47686. #: guix-git/doc/guix.texi:32128
  47687. 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."
  47688. msgstr ""
  47689. #. type: deftp
  47690. #: guix-git/doc/guix.texi:32129
  47691. #, no-wrap
  47692. msgid "{Data Type} zram-device-configuration"
  47693. msgstr ""
  47694. #. type: deftp
  47695. #: guix-git/doc/guix.texi:32132
  47696. msgid "This is the data type representing the configuration for the zram-device service."
  47697. msgstr ""
  47698. #. type: item
  47699. #: guix-git/doc/guix.texi:32134
  47700. #, no-wrap
  47701. msgid "@code{size} (default @code{\"1G\"})"
  47702. msgstr ""
  47703. #. type: table
  47704. #: guix-git/doc/guix.texi:32138
  47705. 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}."
  47706. msgstr ""
  47707. #. type: item
  47708. #: guix-git/doc/guix.texi:32138
  47709. #, no-wrap
  47710. msgid "@code{compression-algorithm} (default @code{'lzo})"
  47711. msgstr ""
  47712. #. type: table
  47713. #: guix-git/doc/guix.texi:32142
  47714. 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}."
  47715. msgstr ""
  47716. #. type: item
  47717. #: guix-git/doc/guix.texi:32142
  47718. #, no-wrap
  47719. msgid "@code{memory-limit} (default @code{0})"
  47720. msgstr ""
  47721. #. type: table
  47722. #: guix-git/doc/guix.texi:32149
  47723. 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\"}."
  47724. msgstr ""
  47725. #. type: item
  47726. #: guix-git/doc/guix.texi:32149
  47727. #, no-wrap
  47728. msgid "@code{priority} (default @code{-1})"
  47729. msgstr ""
  47730. #. type: table
  47731. #: guix-git/doc/guix.texi:32154
  47732. 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."
  47733. msgstr ""
  47734. #. type: defvr
  47735. #: guix-git/doc/guix.texi:32162
  47736. #, no-wrap
  47737. msgid "{Scheme Variable} hurd-console-service-type"
  47738. msgstr ""
  47739. #. type: defvr
  47740. #: guix-git/doc/guix.texi:32164
  47741. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  47742. msgstr ""
  47743. #. type: defvr
  47744. #: guix-git/doc/guix.texi:32166
  47745. msgid "The service's value is a @code{hurd-console-configuration} record."
  47746. msgstr ""
  47747. #. type: deftp
  47748. #: guix-git/doc/guix.texi:32168
  47749. #, no-wrap
  47750. msgid "{Data Type} hurd-console-configuration"
  47751. msgstr ""
  47752. #. type: deftp
  47753. #: guix-git/doc/guix.texi:32171
  47754. msgid "This is the data type representing the configuration for the hurd-console-service."
  47755. msgstr ""
  47756. #. type: item
  47757. #: guix-git/doc/guix.texi:32173 guix-git/doc/guix.texi:32189
  47758. #, no-wrap
  47759. msgid "@code{hurd} (default: @var{hurd})"
  47760. msgstr ""
  47761. #. type: table
  47762. #: guix-git/doc/guix.texi:32175 guix-git/doc/guix.texi:32191
  47763. msgid "The Hurd package to use."
  47764. msgstr ""
  47765. #. type: defvr
  47766. #: guix-git/doc/guix.texi:32178
  47767. #, no-wrap
  47768. msgid "{Scheme Variable} hurd-getty-service-type"
  47769. msgstr ""
  47770. #. type: defvr
  47771. #: guix-git/doc/guix.texi:32180
  47772. msgid "This service starts a tty using the Hurd @code{getty} program."
  47773. msgstr ""
  47774. #. type: defvr
  47775. #: guix-git/doc/guix.texi:32182
  47776. msgid "The service's value is a @code{hurd-getty-configuration} record."
  47777. msgstr ""
  47778. #. type: deftp
  47779. #: guix-git/doc/guix.texi:32184
  47780. #, no-wrap
  47781. msgid "{Data Type} hurd-getty-configuration"
  47782. msgstr ""
  47783. #. type: deftp
  47784. #: guix-git/doc/guix.texi:32187
  47785. msgid "This is the data type representing the configuration for the hurd-getty-service."
  47786. msgstr ""
  47787. #. type: table
  47788. #: guix-git/doc/guix.texi:32194
  47789. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  47790. msgstr ""
  47791. #. type: item
  47792. #: guix-git/doc/guix.texi:32195
  47793. #, no-wrap
  47794. msgid "@code{baud-rate} (default: @code{38400})"
  47795. msgstr ""
  47796. #. type: table
  47797. #: guix-git/doc/guix.texi:32197
  47798. msgid "An integer specifying the baud rate of the tty."
  47799. msgstr ""
  47800. #. type: cindex
  47801. #: guix-git/doc/guix.texi:32204
  47802. #, no-wrap
  47803. msgid "fingerprint"
  47804. msgstr ""
  47805. #. type: subsubheading
  47806. #: guix-git/doc/guix.texi:32205
  47807. #, no-wrap
  47808. msgid "Fingerprint Service"
  47809. msgstr ""
  47810. #. type: Plain text
  47811. #: guix-git/doc/guix.texi:32209
  47812. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  47813. msgstr ""
  47814. #. type: defvr
  47815. #: guix-git/doc/guix.texi:32210
  47816. #, no-wrap
  47817. msgid "{Scheme Variable} fprintd-service-type"
  47818. msgstr ""
  47819. #. type: defvr
  47820. #: guix-git/doc/guix.texi:32213
  47821. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  47822. msgstr ""
  47823. #. type: lisp
  47824. #: guix-git/doc/guix.texi:32216
  47825. #, no-wrap
  47826. msgid "(service fprintd-service-type)\n"
  47827. msgstr ""
  47828. #. type: cindex
  47829. #: guix-git/doc/guix.texi:32219
  47830. #, no-wrap
  47831. msgid "sysctl"
  47832. msgstr ""
  47833. #. type: subsubheading
  47834. #: guix-git/doc/guix.texi:32220
  47835. #, no-wrap
  47836. msgid "System Control Service"
  47837. msgstr ""
  47838. #. type: Plain text
  47839. #: guix-git/doc/guix.texi:32224
  47840. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  47841. msgstr ""
  47842. #. type: defvr
  47843. #: guix-git/doc/guix.texi:32225
  47844. #, no-wrap
  47845. msgid "{Scheme Variable} sysctl-service-type"
  47846. msgstr ""
  47847. #. type: defvr
  47848. #: guix-git/doc/guix.texi:32229
  47849. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  47850. msgstr ""
  47851. #. type: lisp
  47852. #: guix-git/doc/guix.texi:32234
  47853. #, no-wrap
  47854. msgid ""
  47855. "(service sysctl-service-type\n"
  47856. " (sysctl-configuration\n"
  47857. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  47858. msgstr ""
  47859. #. type: defvr
  47860. #: guix-git/doc/guix.texi:32241
  47861. 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}})."
  47862. msgstr ""
  47863. #. type: lisp
  47864. #: guix-git/doc/guix.texi:32248
  47865. #, no-wrap
  47866. msgid ""
  47867. "(modify-services %base-services\n"
  47868. " (sysctl-service-type config =>\n"
  47869. " (sysctl-configuration\n"
  47870. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  47871. " %default-sysctl-settings)))))\n"
  47872. msgstr ""
  47873. #. type: deftp
  47874. #: guix-git/doc/guix.texi:32252
  47875. #, no-wrap
  47876. msgid "{Data Type} sysctl-configuration"
  47877. msgstr ""
  47878. #. type: deftp
  47879. #: guix-git/doc/guix.texi:32254
  47880. msgid "The data type representing the configuration of @command{sysctl}."
  47881. msgstr ""
  47882. #. type: item
  47883. #: guix-git/doc/guix.texi:32256
  47884. #, no-wrap
  47885. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  47886. msgstr ""
  47887. #. type: table
  47888. #: guix-git/doc/guix.texi:32258
  47889. msgid "The @command{sysctl} executable to use."
  47890. msgstr ""
  47891. #. type: item
  47892. #: guix-git/doc/guix.texi:32259
  47893. #, no-wrap
  47894. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  47895. msgstr ""
  47896. #. type: table
  47897. #: guix-git/doc/guix.texi:32261
  47898. msgid "An association list specifies kernel parameters and their values."
  47899. msgstr ""
  47900. #. type: defvr
  47901. #: guix-git/doc/guix.texi:32264
  47902. #, no-wrap
  47903. msgid "{Scheme Variable} %default-sysctl-settings"
  47904. msgstr ""
  47905. #. type: defvr
  47906. #: guix-git/doc/guix.texi:32267
  47907. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  47908. msgstr ""
  47909. #. type: cindex
  47910. #: guix-git/doc/guix.texi:32269
  47911. #, no-wrap
  47912. msgid "pcscd"
  47913. msgstr ""
  47914. #. type: subsubheading
  47915. #: guix-git/doc/guix.texi:32270
  47916. #, no-wrap
  47917. msgid "PC/SC Smart Card Daemon Service"
  47918. msgstr ""
  47919. #. type: Plain text
  47920. #: guix-git/doc/guix.texi:32277
  47921. 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."
  47922. msgstr ""
  47923. #. type: defvr
  47924. #: guix-git/doc/guix.texi:32278
  47925. #, no-wrap
  47926. msgid "{Scheme Variable} pcscd-service-type"
  47927. msgstr ""
  47928. #. type: defvr
  47929. #: guix-git/doc/guix.texi:32282
  47930. 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:"
  47931. msgstr ""
  47932. #. type: lisp
  47933. #: guix-git/doc/guix.texi:32285
  47934. #, no-wrap
  47935. msgid "(service pcscd-service-type)\n"
  47936. msgstr ""
  47937. #. type: deftp
  47938. #: guix-git/doc/guix.texi:32288
  47939. #, no-wrap
  47940. msgid "{Data Type} pcscd-configuration"
  47941. msgstr ""
  47942. #. type: deftp
  47943. #: guix-git/doc/guix.texi:32290
  47944. msgid "The data type representing the configuration of @command{pcscd}."
  47945. msgstr ""
  47946. #. type: item
  47947. #: guix-git/doc/guix.texi:32292
  47948. #, no-wrap
  47949. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  47950. msgstr ""
  47951. #. type: table
  47952. #: guix-git/doc/guix.texi:32294
  47953. msgid "The pcsc-lite package that provides pcscd."
  47954. msgstr ""
  47955. #. type: item
  47956. #: guix-git/doc/guix.texi:32294
  47957. #, no-wrap
  47958. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  47959. msgstr ""
  47960. #. type: table
  47961. #: guix-git/doc/guix.texi:32297
  47962. 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."
  47963. msgstr ""
  47964. #. type: cindex
  47965. #: guix-git/doc/guix.texi:32300
  47966. #, no-wrap
  47967. msgid "lirc"
  47968. msgstr ""
  47969. #. type: subsubheading
  47970. #: guix-git/doc/guix.texi:32301
  47971. #, no-wrap
  47972. msgid "Lirc Service"
  47973. msgstr ""
  47974. #. type: Plain text
  47975. #: guix-git/doc/guix.texi:32304
  47976. msgid "The @code{(gnu services lirc)} module provides the following service."
  47977. msgstr ""
  47978. #. type: deffn
  47979. #: guix-git/doc/guix.texi:32305
  47980. #, no-wrap
  47981. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  47982. msgstr ""
  47983. #. type: deffn
  47984. #: guix-git/doc/guix.texi:32310
  47985. 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."
  47986. msgstr ""
  47987. #. type: deffn
  47988. #: guix-git/doc/guix.texi:32314
  47989. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  47990. msgstr ""
  47991. #. type: deffn
  47992. #: guix-git/doc/guix.texi:32317
  47993. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  47994. msgstr ""
  47995. #. type: cindex
  47996. #: guix-git/doc/guix.texi:32319
  47997. #, no-wrap
  47998. msgid "spice"
  47999. msgstr ""
  48000. #. type: subsubheading
  48001. #: guix-git/doc/guix.texi:32320
  48002. #, no-wrap
  48003. msgid "Spice Service"
  48004. msgstr ""
  48005. #. type: Plain text
  48006. #: guix-git/doc/guix.texi:32323
  48007. msgid "The @code{(gnu services spice)} module provides the following service."
  48008. msgstr ""
  48009. #. type: deffn
  48010. #: guix-git/doc/guix.texi:32324
  48011. #, no-wrap
  48012. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  48013. msgstr ""
  48014. #. type: deffn
  48015. #: guix-git/doc/guix.texi:32328
  48016. 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."
  48017. msgstr ""
  48018. #. type: cindex
  48019. #: guix-git/doc/guix.texi:32330
  48020. #, no-wrap
  48021. msgid "inputattach"
  48022. msgstr ""
  48023. #. type: subsubheading
  48024. #: guix-git/doc/guix.texi:32331
  48025. #, no-wrap
  48026. msgid "inputattach Service"
  48027. msgstr ""
  48028. #. type: cindex
  48029. #: guix-git/doc/guix.texi:32333
  48030. #, no-wrap
  48031. msgid "tablet input, for Xorg"
  48032. msgstr ""
  48033. #. type: cindex
  48034. #: guix-git/doc/guix.texi:32334
  48035. #, no-wrap
  48036. msgid "touchscreen input, for Xorg"
  48037. msgstr ""
  48038. #. type: Plain text
  48039. #: guix-git/doc/guix.texi:32338
  48040. 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."
  48041. msgstr ""
  48042. #. type: deffn
  48043. #: guix-git/doc/guix.texi:32339
  48044. #, no-wrap
  48045. msgid "{Scheme Variable} inputattach-service-type"
  48046. msgstr ""
  48047. #. type: deffn
  48048. #: guix-git/doc/guix.texi:32342
  48049. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  48050. msgstr ""
  48051. #. type: deftp
  48052. #: guix-git/doc/guix.texi:32344
  48053. #, no-wrap
  48054. msgid "{Data Type} inputattach-configuration"
  48055. msgstr ""
  48056. #. type: item
  48057. #: guix-git/doc/guix.texi:32346
  48058. #, no-wrap
  48059. msgid "@code{device-type} (default: @code{\"wacom\"})"
  48060. msgstr ""
  48061. #. type: table
  48062. #: guix-git/doc/guix.texi:32349
  48063. 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."
  48064. msgstr ""
  48065. #. type: item
  48066. #: guix-git/doc/guix.texi:32350
  48067. #, no-wrap
  48068. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  48069. msgstr ""
  48070. #. type: table
  48071. #: guix-git/doc/guix.texi:32352
  48072. msgid "The device file to connect to the device."
  48073. msgstr ""
  48074. #. type: table
  48075. #: guix-git/doc/guix.texi:32356
  48076. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  48077. msgstr ""
  48078. #. type: item
  48079. #: guix-git/doc/guix.texi:32357
  48080. #, no-wrap
  48081. msgid "@code{log-file} (default: @code{#f})"
  48082. msgstr ""
  48083. #. type: table
  48084. #: guix-git/doc/guix.texi:32359
  48085. msgid "If true, this must be the name of a file to log messages to."
  48086. msgstr ""
  48087. #. type: subsubheading
  48088. #: guix-git/doc/guix.texi:32362
  48089. #, no-wrap
  48090. msgid "Dictionary Service"
  48091. msgstr ""
  48092. #. type: cindex
  48093. #: guix-git/doc/guix.texi:32363
  48094. #, no-wrap
  48095. msgid "dictionary"
  48096. msgstr ""
  48097. #. type: Plain text
  48098. #: guix-git/doc/guix.texi:32365
  48099. msgid "The @code{(gnu services dict)} module provides the following service:"
  48100. msgstr ""
  48101. #. type: defvr
  48102. #: guix-git/doc/guix.texi:32366
  48103. #, no-wrap
  48104. msgid "{Scheme Variable} dicod-service-type"
  48105. msgstr ""
  48106. #. type: defvr
  48107. #: guix-git/doc/guix.texi:32369
  48108. 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})."
  48109. msgstr ""
  48110. #. type: deffn
  48111. #: guix-git/doc/guix.texi:32371
  48112. #, no-wrap
  48113. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  48114. msgstr ""
  48115. #. type: deffn
  48116. #: guix-git/doc/guix.texi:32374
  48117. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  48118. msgstr ""
  48119. #. type: deffn
  48120. #: guix-git/doc/guix.texi:32378
  48121. 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."
  48122. msgstr ""
  48123. #. type: deffn
  48124. #: guix-git/doc/guix.texi:32382
  48125. 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})."
  48126. msgstr ""
  48127. #. type: deftp
  48128. #: guix-git/doc/guix.texi:32384
  48129. #, no-wrap
  48130. msgid "{Data Type} dicod-configuration"
  48131. msgstr ""
  48132. #. type: deftp
  48133. #: guix-git/doc/guix.texi:32386
  48134. msgid "Data type representing the configuration of dicod."
  48135. msgstr ""
  48136. #. type: item
  48137. #: guix-git/doc/guix.texi:32388
  48138. #, no-wrap
  48139. msgid "@code{dico} (default: @var{dico})"
  48140. msgstr ""
  48141. #. type: table
  48142. #: guix-git/doc/guix.texi:32390
  48143. msgid "Package object of the GNU Dico dictionary server."
  48144. msgstr ""
  48145. #. type: item
  48146. #: guix-git/doc/guix.texi:32391
  48147. #, no-wrap
  48148. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  48149. msgstr ""
  48150. #. type: table
  48151. #: guix-git/doc/guix.texi:32395
  48152. 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})."
  48153. msgstr ""
  48154. #. type: item
  48155. #: guix-git/doc/guix.texi:32396
  48156. #, no-wrap
  48157. msgid "@code{handlers} (default: @var{'()})"
  48158. msgstr ""
  48159. #. type: table
  48160. #: guix-git/doc/guix.texi:32398
  48161. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  48162. msgstr ""
  48163. #. type: item
  48164. #: guix-git/doc/guix.texi:32399
  48165. #, no-wrap
  48166. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  48167. msgstr ""
  48168. #. type: table
  48169. #: guix-git/doc/guix.texi:32401
  48170. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  48171. msgstr ""
  48172. #. type: deftp
  48173. #: guix-git/doc/guix.texi:32404
  48174. #, no-wrap
  48175. msgid "{Data Type} dicod-handler"
  48176. msgstr ""
  48177. #. type: deftp
  48178. #: guix-git/doc/guix.texi:32406
  48179. msgid "Data type representing a dictionary handler (module instance)."
  48180. msgstr ""
  48181. #. type: table
  48182. #: guix-git/doc/guix.texi:32410
  48183. msgid "Name of the handler (module instance)."
  48184. msgstr ""
  48185. #. type: item
  48186. #: guix-git/doc/guix.texi:32411
  48187. #, no-wrap
  48188. msgid "@code{module} (default: @var{#f})"
  48189. msgstr ""
  48190. #. type: table
  48191. #: guix-git/doc/guix.texi:32415
  48192. 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})."
  48193. msgstr ""
  48194. #. type: table
  48195. #: guix-git/doc/guix.texi:32418
  48196. msgid "List of strings or gexps representing the arguments for the module handler"
  48197. msgstr ""
  48198. #. type: deftp
  48199. #: guix-git/doc/guix.texi:32421
  48200. #, no-wrap
  48201. msgid "{Data Type} dicod-database"
  48202. msgstr ""
  48203. #. type: deftp
  48204. #: guix-git/doc/guix.texi:32423
  48205. msgid "Data type representing a dictionary database."
  48206. msgstr ""
  48207. #. type: table
  48208. #: guix-git/doc/guix.texi:32427
  48209. msgid "Name of the database, will be used in DICT commands."
  48210. msgstr ""
  48211. #. type: code{#1}
  48212. #: guix-git/doc/guix.texi:32428
  48213. #, no-wrap
  48214. msgid "handler"
  48215. msgstr ""
  48216. #. type: table
  48217. #: guix-git/doc/guix.texi:32431
  48218. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  48219. msgstr ""
  48220. #. type: item
  48221. #: guix-git/doc/guix.texi:32432
  48222. #, no-wrap
  48223. msgid "@code{complex?} (default: @var{#f})"
  48224. msgstr ""
  48225. #. type: table
  48226. #: guix-git/doc/guix.texi:32435
  48227. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  48228. msgstr ""
  48229. #. type: table
  48230. #: guix-git/doc/guix.texi:32439
  48231. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  48232. msgstr ""
  48233. #. type: defvr
  48234. #: guix-git/doc/guix.texi:32442
  48235. #, no-wrap
  48236. msgid "{Scheme Variable} %dicod-database:gcide"
  48237. msgstr ""
  48238. #. type: defvr
  48239. #: guix-git/doc/guix.texi:32445
  48240. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  48241. msgstr ""
  48242. #. type: Plain text
  48243. #: guix-git/doc/guix.texi:32448
  48244. msgid "The following is an example @code{dicod-service} configuration."
  48245. msgstr ""
  48246. #. type: lisp
  48247. #: guix-git/doc/guix.texi:32463
  48248. #, no-wrap
  48249. msgid ""
  48250. "(dicod-service #:config\n"
  48251. " (dicod-configuration\n"
  48252. " (handlers (list (dicod-handler\n"
  48253. " (name \"wordnet\")\n"
  48254. " (module \"dictorg\")\n"
  48255. " (options\n"
  48256. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  48257. " (databases (list (dicod-database\n"
  48258. " (name \"wordnet\")\n"
  48259. " (complex? #t)\n"
  48260. " (handler \"wordnet\")\n"
  48261. " (options '(\"database=wn\")))\n"
  48262. " %dicod-database:gcide))))\n"
  48263. msgstr ""
  48264. #. type: cindex
  48265. #: guix-git/doc/guix.texi:32465
  48266. #, no-wrap
  48267. msgid "Docker"
  48268. msgstr ""
  48269. #. type: subsubheading
  48270. #: guix-git/doc/guix.texi:32466
  48271. #, no-wrap
  48272. msgid "Docker Service"
  48273. msgstr ""
  48274. #. type: Plain text
  48275. #: guix-git/doc/guix.texi:32469
  48276. msgid "The @code{(gnu services docker)} module provides the following services."
  48277. msgstr ""
  48278. #. type: defvr
  48279. #: guix-git/doc/guix.texi:32470
  48280. #, no-wrap
  48281. msgid "{Scheme Variable} docker-service-type"
  48282. msgstr ""
  48283. #. type: defvr
  48284. #: guix-git/doc/guix.texi:32475
  48285. 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."
  48286. msgstr ""
  48287. #. type: deftp
  48288. #: guix-git/doc/guix.texi:32478
  48289. #, no-wrap
  48290. msgid "{Data Type} docker-configuration"
  48291. msgstr ""
  48292. #. type: deftp
  48293. #: guix-git/doc/guix.texi:32480
  48294. msgid "This is the data type representing the configuration of Docker and Containerd."
  48295. msgstr ""
  48296. #. type: item
  48297. #: guix-git/doc/guix.texi:32483
  48298. #, no-wrap
  48299. msgid "@code{docker} (default: @code{docker})"
  48300. msgstr ""
  48301. #. type: table
  48302. #: guix-git/doc/guix.texi:32485
  48303. msgid "The Docker daemon package to use."
  48304. msgstr ""
  48305. #. type: item
  48306. #: guix-git/doc/guix.texi:32486
  48307. #, no-wrap
  48308. msgid "@code{docker-cli} (default: @code{docker-cli})"
  48309. msgstr ""
  48310. #. type: table
  48311. #: guix-git/doc/guix.texi:32488
  48312. msgid "The Docker client package to use."
  48313. msgstr ""
  48314. #. type: item
  48315. #: guix-git/doc/guix.texi:32489
  48316. #, no-wrap
  48317. msgid "@code{containerd} (default: @var{containerd})"
  48318. msgstr ""
  48319. #. type: table
  48320. #: guix-git/doc/guix.texi:32491
  48321. msgid "The Containerd package to use."
  48322. msgstr ""
  48323. #. type: item
  48324. #: guix-git/doc/guix.texi:32492
  48325. #, no-wrap
  48326. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  48327. msgstr ""
  48328. #. type: table
  48329. #: guix-git/doc/guix.texi:32494
  48330. msgid "The Docker user-land networking proxy package to use."
  48331. msgstr ""
  48332. #. type: item
  48333. #: guix-git/doc/guix.texi:32495
  48334. #, no-wrap
  48335. msgid "@code{enable-proxy?} (default @code{#t})"
  48336. msgstr ""
  48337. #. type: table
  48338. #: guix-git/doc/guix.texi:32497
  48339. msgid "Enable or disable the use of the Docker user-land networking proxy."
  48340. msgstr ""
  48341. #. type: item
  48342. #: guix-git/doc/guix.texi:32498
  48343. #, no-wrap
  48344. msgid "@code{debug?} (default @code{#f})"
  48345. msgstr ""
  48346. #. type: table
  48347. #: guix-git/doc/guix.texi:32500
  48348. msgid "Enable or disable debug output."
  48349. msgstr ""
  48350. #. type: item
  48351. #: guix-git/doc/guix.texi:32501
  48352. #, no-wrap
  48353. msgid "@code{enable-iptables?} (default @code{#t})"
  48354. msgstr ""
  48355. #. type: table
  48356. #: guix-git/doc/guix.texi:32503
  48357. msgid "Enable or disable the addition of iptables rules."
  48358. msgstr ""
  48359. #. type: cindex
  48360. #: guix-git/doc/guix.texi:32507
  48361. #, no-wrap
  48362. msgid "Singularity, container service"
  48363. msgstr ""
  48364. #. type: defvr
  48365. #: guix-git/doc/guix.texi:32508
  48366. #, no-wrap
  48367. msgid "{Scheme Variable} singularity-service-type"
  48368. msgstr ""
  48369. #. type: defvr
  48370. #: guix-git/doc/guix.texi:32513
  48371. 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."
  48372. msgstr ""
  48373. #. type: defvr
  48374. #: guix-git/doc/guix.texi:32517
  48375. 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."
  48376. msgstr ""
  48377. #. type: cindex
  48378. #: guix-git/doc/guix.texi:32519
  48379. #, no-wrap
  48380. msgid "Audit"
  48381. msgstr ""
  48382. #. type: subsubheading
  48383. #: guix-git/doc/guix.texi:32520
  48384. #, no-wrap
  48385. msgid "Auditd Service"
  48386. msgstr ""
  48387. #. type: Plain text
  48388. #: guix-git/doc/guix.texi:32523
  48389. msgid "The @code{(gnu services auditd)} module provides the following service."
  48390. msgstr ""
  48391. #. type: defvr
  48392. #: guix-git/doc/guix.texi:32524
  48393. #, no-wrap
  48394. msgid "{Scheme Variable} auditd-service-type"
  48395. msgstr ""
  48396. #. type: defvr
  48397. #: guix-git/doc/guix.texi:32529
  48398. 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."
  48399. msgstr ""
  48400. #. type: defvr
  48401. #: guix-git/doc/guix.texi:32531
  48402. msgid "Examples of things that can be tracked:"
  48403. msgstr ""
  48404. #. type: enumerate
  48405. #: guix-git/doc/guix.texi:32535
  48406. msgid "File accesses"
  48407. msgstr ""
  48408. #. type: enumerate
  48409. #: guix-git/doc/guix.texi:32537
  48410. msgid "System calls"
  48411. msgstr ""
  48412. #. type: enumerate
  48413. #: guix-git/doc/guix.texi:32539
  48414. msgid "Invoked commands"
  48415. msgstr ""
  48416. #. type: enumerate
  48417. #: guix-git/doc/guix.texi:32541
  48418. msgid "Failed login attempts"
  48419. msgstr ""
  48420. #. type: enumerate
  48421. #: guix-git/doc/guix.texi:32543
  48422. msgid "Firewall filtering"
  48423. msgstr ""
  48424. #. type: enumerate
  48425. #: guix-git/doc/guix.texi:32545
  48426. msgid "Network access"
  48427. msgstr ""
  48428. #. type: defvr
  48429. #: guix-git/doc/guix.texi:32556
  48430. 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}."
  48431. msgstr ""
  48432. #. type: deftp
  48433. #: guix-git/doc/guix.texi:32559
  48434. #, no-wrap
  48435. msgid "{Data Type} auditd-configuration"
  48436. msgstr ""
  48437. #. type: deftp
  48438. #: guix-git/doc/guix.texi:32561
  48439. msgid "This is the data type representing the configuration of auditd."
  48440. msgstr ""
  48441. #. type: item
  48442. #: guix-git/doc/guix.texi:32564
  48443. #, no-wrap
  48444. msgid "@code{audit} (default: @code{audit})"
  48445. msgstr ""
  48446. #. type: table
  48447. #: guix-git/doc/guix.texi:32566
  48448. msgid "The audit package to use."
  48449. msgstr ""
  48450. #. type: item
  48451. #: guix-git/doc/guix.texi:32567
  48452. #, no-wrap
  48453. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  48454. msgstr ""
  48455. #. type: table
  48456. #: guix-git/doc/guix.texi:32571
  48457. 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."
  48458. msgstr ""
  48459. #. type: cindex
  48460. #: guix-git/doc/guix.texi:32575
  48461. #, no-wrap
  48462. msgid "rshiny"
  48463. msgstr ""
  48464. #. type: subsubheading
  48465. #: guix-git/doc/guix.texi:32576
  48466. #, no-wrap
  48467. msgid "R-Shiny service"
  48468. msgstr ""
  48469. #. type: Plain text
  48470. #: guix-git/doc/guix.texi:32579
  48471. msgid "The @code{(gnu services science)} module provides the following service."
  48472. msgstr ""
  48473. #. type: defvr
  48474. #: guix-git/doc/guix.texi:32580
  48475. #, no-wrap
  48476. msgid "{Scheme Variable} rshiny-service-type"
  48477. msgstr ""
  48478. #. type: defvr
  48479. #: guix-git/doc/guix.texi:32585
  48480. 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}."
  48481. msgstr ""
  48482. #. type: deftp
  48483. #: guix-git/doc/guix.texi:32586
  48484. #, no-wrap
  48485. msgid "{Data Type} rshiny-configuration"
  48486. msgstr ""
  48487. #. type: deftp
  48488. #: guix-git/doc/guix.texi:32588
  48489. msgid "This is the data type representing the configuration of rshiny."
  48490. msgstr ""
  48491. #. type: item
  48492. #: guix-git/doc/guix.texi:32591
  48493. #, no-wrap
  48494. msgid "@code{package} (default: @code{r-shiny})"
  48495. msgstr ""
  48496. #. type: table
  48497. #: guix-git/doc/guix.texi:32593
  48498. msgid "The package to use."
  48499. msgstr ""
  48500. #. type: item
  48501. #: guix-git/doc/guix.texi:32594
  48502. #, no-wrap
  48503. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  48504. msgstr ""
  48505. #. type: table
  48506. #: guix-git/doc/guix.texi:32597
  48507. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  48508. msgstr ""
  48509. #. type: table
  48510. #: guix-git/doc/guix.texi:32599
  48511. msgid "The common way to create this file is as follows:"
  48512. msgstr ""
  48513. #. type: lisp
  48514. #: guix-git/doc/guix.texi:32617
  48515. #, no-wrap
  48516. msgid ""
  48517. "@dots{}\n"
  48518. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  48519. " (targetdir (string-append out \"/share/\" ,name))\n"
  48520. " (app (string-append out \"/bin/\" ,name))\n"
  48521. " (Rbin (string-append (assoc-ref %build-inputs \"r-min\")\n"
  48522. " \"/bin/Rscript\")))\n"
  48523. " ;; @dots{}\n"
  48524. " (mkdir-p (string-append out \"/bin\"))\n"
  48525. " (call-with-output-file app\n"
  48526. " (lambda (port)\n"
  48527. " (format port\n"
  48528. "\"#!~a\n"
  48529. "library(shiny)\n"
  48530. "setwd(\\\"~a\\\")\n"
  48531. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  48532. " Rbin targetdir))))\n"
  48533. msgstr ""
  48534. #. type: cindex
  48535. #: guix-git/doc/guix.texi:32623
  48536. #, no-wrap
  48537. msgid "Nix"
  48538. msgstr ""
  48539. #. type: subsubheading
  48540. #: guix-git/doc/guix.texi:32624
  48541. #, no-wrap
  48542. msgid "Nix service"
  48543. msgstr ""
  48544. #. type: Plain text
  48545. #: guix-git/doc/guix.texi:32627
  48546. msgid "The @code{(gnu services nix)} module provides the following service."
  48547. msgstr ""
  48548. #. type: defvr
  48549. #: guix-git/doc/guix.texi:32628
  48550. #, no-wrap
  48551. msgid "{Scheme Variable} nix-service-type"
  48552. msgstr ""
  48553. #. type: defvr
  48554. #: guix-git/doc/guix.texi:32633
  48555. 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:"
  48556. msgstr ""
  48557. #. type: lisp
  48558. #: guix-git/doc/guix.texi:32638
  48559. #, no-wrap
  48560. msgid ""
  48561. "(use-modules (gnu))\n"
  48562. "(use-service-modules nix)\n"
  48563. "(use-package-modules package-management)\n"
  48564. "\n"
  48565. msgstr ""
  48566. #. type: lisp
  48567. #: guix-git/doc/guix.texi:32643
  48568. #, no-wrap
  48569. msgid ""
  48570. "(operating-system\n"
  48571. " ;; @dots{}\n"
  48572. " (packages (append (list nix)\n"
  48573. " %base-packages))\n"
  48574. "\n"
  48575. msgstr ""
  48576. #. type: lisp
  48577. #: guix-git/doc/guix.texi:32646
  48578. #, no-wrap
  48579. msgid ""
  48580. " (services (append (list (service nix-service-type))\n"
  48581. " %base-services)))\n"
  48582. msgstr ""
  48583. #. type: defvr
  48584. #: guix-git/doc/guix.texi:32649
  48585. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  48586. msgstr ""
  48587. #. type: item
  48588. #: guix-git/doc/guix.texi:32651
  48589. #, no-wrap
  48590. msgid "Add a Nix channel and update it. See"
  48591. msgstr ""
  48592. #. type: itemize
  48593. #: guix-git/doc/guix.texi:32653
  48594. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  48595. msgstr ""
  48596. #. type: item
  48597. #: guix-git/doc/guix.texi:32654
  48598. #, no-wrap
  48599. msgid "Create a symlink to your profile and activate Nix profile:"
  48600. msgstr ""
  48601. #. type: example
  48602. #: guix-git/doc/guix.texi:32660
  48603. #, no-wrap
  48604. msgid ""
  48605. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  48606. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  48607. msgstr ""
  48608. #. type: deftp
  48609. #: guix-git/doc/guix.texi:32664
  48610. #, no-wrap
  48611. msgid "{Data Type} nix-configuration"
  48612. msgstr ""
  48613. #. type: deftp
  48614. #: guix-git/doc/guix.texi:32666
  48615. msgid "This data type represents the configuration of the Nix daemon."
  48616. msgstr ""
  48617. #. type: item
  48618. #: guix-git/doc/guix.texi:32668
  48619. #, no-wrap
  48620. msgid "@code{nix} (default: @code{nix})"
  48621. msgstr ""
  48622. #. type: table
  48623. #: guix-git/doc/guix.texi:32670
  48624. msgid "The Nix package to use."
  48625. msgstr ""
  48626. #. type: item
  48627. #: guix-git/doc/guix.texi:32671
  48628. #, no-wrap
  48629. msgid "@code{sandbox} (default: @code{#t})"
  48630. msgstr ""
  48631. #. type: table
  48632. #: guix-git/doc/guix.texi:32673
  48633. msgid "Specifies whether builds are sandboxed by default."
  48634. msgstr ""
  48635. #. type: item
  48636. #: guix-git/doc/guix.texi:32674
  48637. #, no-wrap
  48638. msgid "@code{build-sandbox-items} (default: @code{'()})"
  48639. msgstr ""
  48640. #. type: table
  48641. #: guix-git/doc/guix.texi:32677
  48642. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  48643. msgstr ""
  48644. #. type: table
  48645. #: guix-git/doc/guix.texi:32685
  48646. msgid "Extra command line options for @code{nix-service-type}."
  48647. msgstr ""
  48648. #. type: cindex
  48649. #: guix-git/doc/guix.texi:32691
  48650. #, no-wrap
  48651. msgid "setuid programs"
  48652. msgstr ""
  48653. #. type: Plain text
  48654. #: guix-git/doc/guix.texi:32701
  48655. 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)."
  48656. msgstr ""
  48657. #. type: Plain text
  48658. #: guix-git/doc/guix.texi:32708
  48659. 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."
  48660. msgstr ""
  48661. #. type: Plain text
  48662. #: guix-git/doc/guix.texi:32715
  48663. msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of @code{<setuid-program>} denoting the names of programs to have a setuid or setgid bit set (@pxref{Using the Configuration System}). For instance, the @command{passwd} program, which is part of the Shadow package, with a setuid root can be designated like this:"
  48664. msgstr ""
  48665. #. type: example
  48666. #: guix-git/doc/guix.texi:32719
  48667. #, no-wrap
  48668. msgid ""
  48669. "(setuid-program\n"
  48670. " (program (file-append #$shadow \"/bin/passwd\")))\n"
  48671. msgstr ""
  48672. #. type: deftp
  48673. #: guix-git/doc/guix.texi:32721
  48674. #, no-wrap
  48675. msgid "{Data Type} setuid-program"
  48676. msgstr ""
  48677. #. type: deftp
  48678. #: guix-git/doc/guix.texi:32723
  48679. msgid "This data type represents a program with a setuid or setgid bit set."
  48680. msgstr ""
  48681. #. type: code{#1}
  48682. #: guix-git/doc/guix.texi:32725
  48683. #, no-wrap
  48684. msgid "program"
  48685. msgstr ""
  48686. #. type: table
  48687. #: guix-git/doc/guix.texi:32727
  48688. msgid "A file-like object having its setuid and/or setgid bit set."
  48689. msgstr ""
  48690. #. type: item
  48691. #: guix-git/doc/guix.texi:32728
  48692. #, no-wrap
  48693. msgid "@code{setuid?} (default: @code{#t})"
  48694. msgstr ""
  48695. #. type: table
  48696. #: guix-git/doc/guix.texi:32730
  48697. msgid "Whether to set user setuid bit."
  48698. msgstr ""
  48699. #. type: item
  48700. #: guix-git/doc/guix.texi:32731
  48701. #, no-wrap
  48702. msgid "@code{setgid?} (default: @code{#f})"
  48703. msgstr ""
  48704. #. type: table
  48705. #: guix-git/doc/guix.texi:32733
  48706. msgid "Whether to set group setgid bit."
  48707. msgstr ""
  48708. #. type: item
  48709. #: guix-git/doc/guix.texi:32734
  48710. #, no-wrap
  48711. msgid "@code{user} (default: @code{0})"
  48712. msgstr ""
  48713. #. type: table
  48714. #: guix-git/doc/guix.texi:32737
  48715. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  48716. msgstr ""
  48717. #. type: item
  48718. #: guix-git/doc/guix.texi:32738
  48719. #, no-wrap
  48720. msgid "@code{group} (default: @code{0})"
  48721. msgstr ""
  48722. #. type: table
  48723. #: guix-git/doc/guix.texi:32741
  48724. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  48725. msgstr ""
  48726. #. type: Plain text
  48727. #: guix-git/doc/guix.texi:32747
  48728. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  48729. msgstr ""
  48730. #. type: defvr
  48731. #: guix-git/doc/guix.texi:32748
  48732. #, no-wrap
  48733. msgid "{Scheme Variable} %setuid-programs"
  48734. msgstr ""
  48735. #. type: defvr
  48736. #: guix-git/doc/guix.texi:32751
  48737. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  48738. msgstr ""
  48739. #. type: defvr
  48740. #: guix-git/doc/guix.texi:32754
  48741. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  48742. msgstr ""
  48743. #. type: Plain text
  48744. #: guix-git/doc/guix.texi:32760
  48745. 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."
  48746. msgstr ""
  48747. #. type: cindex
  48748. #: guix-git/doc/guix.texi:32764
  48749. #, no-wrap
  48750. msgid "HTTPS, certificates"
  48751. msgstr ""
  48752. #. type: cindex
  48753. #: guix-git/doc/guix.texi:32765
  48754. #, no-wrap
  48755. msgid "X.509 certificates"
  48756. msgstr ""
  48757. #. type: cindex
  48758. #: guix-git/doc/guix.texi:32766
  48759. #, no-wrap
  48760. msgid "TLS"
  48761. msgstr ""
  48762. #. type: Plain text
  48763. #: guix-git/doc/guix.texi:32773
  48764. 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."
  48765. msgstr ""
  48766. #. type: Plain text
  48767. #: guix-git/doc/guix.texi:32777
  48768. 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."
  48769. msgstr ""
  48770. #. type: Plain text
  48771. #: guix-git/doc/guix.texi:32781
  48772. 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."
  48773. msgstr ""
  48774. #. type: Plain text
  48775. #: guix-git/doc/guix.texi:32788
  48776. 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."
  48777. msgstr ""
  48778. #. type: Plain text
  48779. #: guix-git/doc/guix.texi:32793
  48780. 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."
  48781. msgstr ""
  48782. #. type: Plain text
  48783. #: guix-git/doc/guix.texi:32803
  48784. 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:"
  48785. msgstr ""
  48786. #. type: example
  48787. #: guix-git/doc/guix.texi:32809
  48788. #, no-wrap
  48789. msgid ""
  48790. "guix install nss-certs\n"
  48791. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  48792. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  48793. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  48794. msgstr ""
  48795. #. type: Plain text
  48796. #: guix-git/doc/guix.texi:32814
  48797. 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:"
  48798. msgstr ""
  48799. #. type: example
  48800. #: guix-git/doc/guix.texi:32818
  48801. #, no-wrap
  48802. msgid ""
  48803. "guix install nss-certs\n"
  48804. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  48805. msgstr ""
  48806. #. type: Plain text
  48807. #: guix-git/doc/guix.texi:32822
  48808. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  48809. msgstr ""
  48810. #. type: cindex
  48811. #: guix-git/doc/guix.texi:32827
  48812. #, no-wrap
  48813. msgid "name service switch"
  48814. msgstr ""
  48815. #. type: cindex
  48816. #: guix-git/doc/guix.texi:32828
  48817. #, no-wrap
  48818. msgid "NSS"
  48819. msgstr ""
  48820. #. type: Plain text
  48821. #: guix-git/doc/guix.texi:32837
  48822. 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})."
  48823. msgstr ""
  48824. #. type: Plain text
  48825. #: guix-git/doc/guix.texi:32844
  48826. 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}})."
  48827. msgstr ""
  48828. #. type: cindex
  48829. #: guix-git/doc/guix.texi:32845
  48830. #, no-wrap
  48831. msgid "nss-mdns"
  48832. msgstr ""
  48833. #. type: cindex
  48834. #: guix-git/doc/guix.texi:32846
  48835. #, no-wrap
  48836. msgid ".local, host name lookup"
  48837. msgstr ""
  48838. #. type: Plain text
  48839. #: guix-git/doc/guix.texi:32851
  48840. 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}:"
  48841. msgstr ""
  48842. #. type: lisp
  48843. #: guix-git/doc/guix.texi:32855
  48844. #, no-wrap
  48845. msgid ""
  48846. "(name-service-switch\n"
  48847. " (hosts (list %files ;first, check /etc/hosts\n"
  48848. "\n"
  48849. msgstr ""
  48850. #. type: lisp
  48851. #: guix-git/doc/guix.texi:32860
  48852. #, no-wrap
  48853. msgid ""
  48854. " ;; If the above did not succeed, try\n"
  48855. " ;; with 'mdns_minimal'.\n"
  48856. " (name-service\n"
  48857. " (name \"mdns_minimal\")\n"
  48858. "\n"
  48859. msgstr ""
  48860. #. type: lisp
  48861. #: guix-git/doc/guix.texi:32866
  48862. #, no-wrap
  48863. msgid ""
  48864. " ;; 'mdns_minimal' is authoritative for\n"
  48865. " ;; '.local'. When it returns \"not found\",\n"
  48866. " ;; no need to try the next methods.\n"
  48867. " (reaction (lookup-specification\n"
  48868. " (not-found => return))))\n"
  48869. "\n"
  48870. msgstr ""
  48871. #. type: lisp
  48872. #: guix-git/doc/guix.texi:32870
  48873. #, no-wrap
  48874. msgid ""
  48875. " ;; Then fall back to DNS.\n"
  48876. " (name-service\n"
  48877. " (name \"dns\"))\n"
  48878. "\n"
  48879. msgstr ""
  48880. #. type: lisp
  48881. #: guix-git/doc/guix.texi:32874
  48882. #, no-wrap
  48883. msgid ""
  48884. " ;; Finally, try with the \"full\" 'mdns'.\n"
  48885. " (name-service\n"
  48886. " (name \"mdns\")))))\n"
  48887. msgstr ""
  48888. #. type: Plain text
  48889. #: guix-git/doc/guix.texi:32879
  48890. 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."
  48891. msgstr ""
  48892. #. type: Plain text
  48893. #: guix-git/doc/guix.texi:32887
  48894. 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}})."
  48895. msgstr ""
  48896. #. type: Plain text
  48897. #: guix-git/doc/guix.texi:32890
  48898. msgid "For convenience, the following variables provide typical NSS configurations."
  48899. msgstr ""
  48900. #. type: defvr
  48901. #: guix-git/doc/guix.texi:32891
  48902. #, no-wrap
  48903. msgid "{Scheme Variable} %default-nss"
  48904. msgstr ""
  48905. #. type: defvr
  48906. #: guix-git/doc/guix.texi:32894
  48907. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  48908. msgstr ""
  48909. #. type: defvr
  48910. #: guix-git/doc/guix.texi:32896
  48911. #, no-wrap
  48912. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  48913. msgstr ""
  48914. #. type: defvr
  48915. #: guix-git/doc/guix.texi:32899
  48916. 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}."
  48917. msgstr ""
  48918. #. type: Plain text
  48919. #: guix-git/doc/guix.texi:32909
  48920. 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}."
  48921. msgstr ""
  48922. #. type: deftp
  48923. #: guix-git/doc/guix.texi:32910
  48924. #, no-wrap
  48925. msgid "{Data Type} name-service-switch"
  48926. msgstr ""
  48927. #. type: deftp
  48928. #: guix-git/doc/guix.texi:32915
  48929. 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."
  48930. msgstr ""
  48931. #. type: item
  48932. #: guix-git/doc/guix.texi:32917
  48933. #, no-wrap
  48934. msgid "aliases"
  48935. msgstr ""
  48936. #. type: itemx
  48937. #: guix-git/doc/guix.texi:32918
  48938. #, no-wrap
  48939. msgid "ethers"
  48940. msgstr ""
  48941. #. type: itemx
  48942. #: guix-git/doc/guix.texi:32920
  48943. #, no-wrap
  48944. msgid "gshadow"
  48945. msgstr ""
  48946. #. type: itemx
  48947. #: guix-git/doc/guix.texi:32921
  48948. #, no-wrap
  48949. msgid "hosts"
  48950. msgstr ""
  48951. #. type: itemx
  48952. #: guix-git/doc/guix.texi:32922
  48953. #, no-wrap
  48954. msgid "initgroups"
  48955. msgstr ""
  48956. #. type: itemx
  48957. #: guix-git/doc/guix.texi:32923
  48958. #, no-wrap
  48959. msgid "netgroup"
  48960. msgstr ""
  48961. #. type: itemx
  48962. #: guix-git/doc/guix.texi:32924
  48963. #, no-wrap
  48964. msgid "networks"
  48965. msgstr ""
  48966. #. type: itemx
  48967. #: guix-git/doc/guix.texi:32927
  48968. #, no-wrap
  48969. msgid "rpc"
  48970. msgstr ""
  48971. #. type: itemx
  48972. #: guix-git/doc/guix.texi:32929
  48973. #, no-wrap
  48974. msgid "shadow"
  48975. msgstr ""
  48976. #. type: table
  48977. #: guix-git/doc/guix.texi:32932
  48978. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  48979. msgstr ""
  48980. #. type: deftp
  48981. #: guix-git/doc/guix.texi:32935
  48982. #, no-wrap
  48983. msgid "{Data Type} name-service"
  48984. msgstr ""
  48985. #. type: deftp
  48986. #: guix-git/doc/guix.texi:32939
  48987. msgid "This is the data type representing an actual name service and the associated lookup action."
  48988. msgstr ""
  48989. #. type: table
  48990. #: guix-git/doc/guix.texi:32944
  48991. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  48992. msgstr ""
  48993. #. type: table
  48994. #: guix-git/doc/guix.texi:32949
  48995. 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}})."
  48996. msgstr ""
  48997. #. type: item
  48998. #: guix-git/doc/guix.texi:32950
  48999. #, no-wrap
  49000. msgid "reaction"
  49001. msgstr ""
  49002. #. type: table
  49003. #: guix-git/doc/guix.texi:32954
  49004. 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:"
  49005. msgstr ""
  49006. #. type: lisp
  49007. #: guix-git/doc/guix.texi:32958
  49008. #, no-wrap
  49009. msgid ""
  49010. "(lookup-specification (unavailable => continue)\n"
  49011. " (success => return))\n"
  49012. msgstr ""
  49013. #. type: Plain text
  49014. #: guix-git/doc/guix.texi:32972
  49015. 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."
  49016. msgstr ""
  49017. #. type: Plain text
  49018. #: guix-git/doc/guix.texi:32981
  49019. 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:"
  49020. msgstr ""
  49021. #. type: lisp
  49022. #: guix-git/doc/guix.texi:32986
  49023. #, no-wrap
  49024. msgid ""
  49025. "(operating-system\n"
  49026. " ;; @dots{}\n"
  49027. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  49028. msgstr ""
  49029. #. type: defvr
  49030. #: guix-git/doc/guix.texi:32988
  49031. #, no-wrap
  49032. msgid "{Scheme Variable} %base-initrd-modules"
  49033. msgstr ""
  49034. #. type: defvr
  49035. #: guix-git/doc/guix.texi:32990
  49036. msgid "This is the list of kernel modules included in the initrd by default."
  49037. msgstr ""
  49038. #. type: Plain text
  49039. #: guix-git/doc/guix.texi:32998
  49040. 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."
  49041. msgstr ""
  49042. #. type: Plain text
  49043. #: guix-git/doc/guix.texi:33003
  49044. 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:"
  49045. msgstr ""
  49046. #. type: lisp
  49047. #: guix-git/doc/guix.texi:33011
  49048. #, no-wrap
  49049. msgid ""
  49050. "(initrd (lambda (file-systems . rest)\n"
  49051. " ;; Create a standard initrd but set up networking\n"
  49052. " ;; with the parameters QEMU expects by default.\n"
  49053. " (apply base-initrd file-systems\n"
  49054. " #:qemu-networking? #t\n"
  49055. " rest)))\n"
  49056. msgstr ""
  49057. #. type: Plain text
  49058. #: guix-git/doc/guix.texi:33016
  49059. 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."
  49060. msgstr ""
  49061. #. type: Plain text
  49062. #: guix-git/doc/guix.texi:33023
  49063. 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."
  49064. msgstr ""
  49065. #. type: Plain text
  49066. #: guix-git/doc/guix.texi:33028
  49067. 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:"
  49068. msgstr ""
  49069. #. type: item
  49070. #: guix-git/doc/guix.texi:33030
  49071. #, no-wrap
  49072. msgid "--load=@var{boot}"
  49073. msgstr ""
  49074. #. type: table
  49075. #: guix-git/doc/guix.texi:33033
  49076. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  49077. msgstr ""
  49078. #. type: table
  49079. #: guix-git/doc/guix.texi:33037
  49080. 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."
  49081. msgstr ""
  49082. #. type: item
  49083. #: guix-git/doc/guix.texi:33038
  49084. #, no-wrap
  49085. msgid "--root=@var{root}"
  49086. msgstr ""
  49087. #. type: table
  49088. #: guix-git/doc/guix.texi:33043
  49089. 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."
  49090. msgstr ""
  49091. #. type: table
  49092. #: guix-git/doc/guix.texi:33047
  49093. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  49094. msgstr ""
  49095. #. type: item
  49096. #: guix-git/doc/guix.texi:33048
  49097. #, no-wrap
  49098. msgid "modprobe.blacklist=@var{modules}@dots{}"
  49099. msgstr ""
  49100. #. type: cindex
  49101. #: guix-git/doc/guix.texi:33049
  49102. #, no-wrap
  49103. msgid "module, black-listing"
  49104. msgstr ""
  49105. #. type: cindex
  49106. #: guix-git/doc/guix.texi:33050
  49107. #, no-wrap
  49108. msgid "black list, of kernel modules"
  49109. msgstr ""
  49110. #. type: table
  49111. #: guix-git/doc/guix.texi:33055
  49112. 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}."
  49113. msgstr ""
  49114. #. type: item
  49115. #: guix-git/doc/guix.texi:33056
  49116. #, no-wrap
  49117. msgid "--repl"
  49118. msgstr ""
  49119. #. type: table
  49120. #: guix-git/doc/guix.texi:33062
  49121. 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."
  49122. msgstr ""
  49123. #. type: Plain text
  49124. #: guix-git/doc/guix.texi:33068
  49125. 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."
  49126. msgstr ""
  49127. #. type: deffn
  49128. #: guix-git/doc/guix.texi:33071
  49129. #, no-wrap
  49130. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  49131. msgstr ""
  49132. #. type: deffn
  49133. #: guix-git/doc/guix.texi:33085
  49134. 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."
  49135. msgstr ""
  49136. #. type: deffn
  49137. #: guix-git/doc/guix.texi:33091 guix-git/doc/guix.texi:33115
  49138. 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."
  49139. msgstr ""
  49140. #. type: deffn
  49141. #: guix-git/doc/guix.texi:33095
  49142. 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."
  49143. msgstr ""
  49144. #. type: deffn
  49145. #: guix-git/doc/guix.texi:33098
  49146. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  49147. msgstr ""
  49148. #. type: deffn
  49149. #: guix-git/doc/guix.texi:33100
  49150. #, no-wrap
  49151. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  49152. msgstr ""
  49153. #. type: deffn
  49154. #: guix-git/doc/guix.texi:33109
  49155. 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."
  49156. msgstr ""
  49157. #. type: deffn
  49158. #: guix-git/doc/guix.texi:33117
  49159. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  49160. msgstr ""
  49161. #. type: deffn
  49162. #: guix-git/doc/guix.texi:33122
  49163. 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."
  49164. msgstr ""
  49165. #. type: Plain text
  49166. #: guix-git/doc/guix.texi:33129
  49167. 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."
  49168. msgstr ""
  49169. #. type: deffn
  49170. #: guix-git/doc/guix.texi:33130
  49171. #, no-wrap
  49172. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  49173. msgstr ""
  49174. #. type: deffn
  49175. #: guix-git/doc/guix.texi:33136
  49176. 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."
  49177. msgstr ""
  49178. #. type: cindex
  49179. #: guix-git/doc/guix.texi:33142
  49180. #, no-wrap
  49181. msgid "boot loader"
  49182. msgstr ""
  49183. #. type: Plain text
  49184. #: guix-git/doc/guix.texi:33149
  49185. 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."
  49186. msgstr ""
  49187. #. type: Plain text
  49188. #: guix-git/doc/guix.texi:33154
  49189. 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."
  49190. msgstr ""
  49191. #. type: deftp
  49192. #: guix-git/doc/guix.texi:33155
  49193. #, no-wrap
  49194. msgid "{Data Type} bootloader-configuration"
  49195. msgstr ""
  49196. #. type: deftp
  49197. #: guix-git/doc/guix.texi:33157
  49198. msgid "The type of a bootloader configuration declaration."
  49199. msgstr ""
  49200. #. type: cindex
  49201. #: guix-git/doc/guix.texi:33161
  49202. #, no-wrap
  49203. msgid "EFI, bootloader"
  49204. msgstr ""
  49205. #. type: cindex
  49206. #: guix-git/doc/guix.texi:33162
  49207. #, no-wrap
  49208. msgid "UEFI, bootloader"
  49209. msgstr ""
  49210. #. type: cindex
  49211. #: guix-git/doc/guix.texi:33163
  49212. #, no-wrap
  49213. msgid "BIOS, bootloader"
  49214. msgstr ""
  49215. #. type: table
  49216. #: guix-git/doc/guix.texi:33168
  49217. 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."
  49218. msgstr ""
  49219. #. type: cindex
  49220. #: guix-git/doc/guix.texi:33169
  49221. #, no-wrap
  49222. msgid "ARM, bootloaders"
  49223. msgstr ""
  49224. #. type: cindex
  49225. #: guix-git/doc/guix.texi:33170
  49226. #, no-wrap
  49227. msgid "AArch64, bootloaders"
  49228. msgstr ""
  49229. #. type: table
  49230. #: guix-git/doc/guix.texi:33175
  49231. 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}."
  49232. msgstr ""
  49233. #. type: table
  49234. #: guix-git/doc/guix.texi:33181
  49235. 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."
  49236. msgstr ""
  49237. #. type: table
  49238. #: guix-git/doc/guix.texi:33185
  49239. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  49240. msgstr ""
  49241. #. type: vindex
  49242. #: guix-git/doc/guix.texi:33186
  49243. #, no-wrap
  49244. msgid "grub-efi-netboot-bootloader"
  49245. msgstr ""
  49246. #. type: table
  49247. #: guix-git/doc/guix.texi:33190
  49248. 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."
  49249. msgstr ""
  49250. #. type: table
  49251. #: guix-git/doc/guix.texi:33196
  49252. msgid "The installation of the @code{grub-efi-netboot-bootloader} generates the content of the TFTP root directory at @code{target} (@pxref{Bootloader Configuration, @code{target}}), to be served by a TFTP server. You may want to mount your TFTP server directory onto @code{target} to move the required files to the TFTP server automatically."
  49253. msgstr ""
  49254. #. type: table
  49255. #: guix-git/doc/guix.texi:33205
  49256. 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}."
  49257. msgstr ""
  49258. #. type: table
  49259. #: guix-git/doc/guix.texi:33213
  49260. msgid "Two symlinks are created to make this possible. The first symlink is @code{target}@file{/efi/Guix/boot/grub/grub.cfg} pointing to @file{../../../boot/grub/grub.cfg}, where @code{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 @code{target}@file{/gnu/store} and points to @file{../gnu/store}. This link is leaving the served TFTP root directory."
  49261. msgstr ""
  49262. #. type: table
  49263. #: guix-git/doc/guix.texi:33218
  49264. 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{target} directory—usually @file{/boot}—from that same root file system for your Guix system. In this constellation the symlinks will work."
  49265. msgstr ""
  49266. #. type: table
  49267. #: guix-git/doc/guix.texi:33222
  49268. 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 at @code{target}."
  49269. msgstr ""
  49270. #. type: table
  49271. #: guix-git/doc/guix.texi:33227
  49272. 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."
  49273. msgstr ""
  49274. #. type: table
  49275. #: guix-git/doc/guix.texi:33232
  49276. 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}."
  49277. msgstr ""
  49278. #. type: table
  49279. #: guix-git/doc/guix.texi:33236
  49280. msgid "This is a string denoting the target onto which to install the bootloader."
  49281. msgstr ""
  49282. #. type: table
  49283. #: guix-git/doc/guix.texi:33245
  49284. msgid "The interpretation depends on the bootloader in question. For @code{grub-bootloader}, for example, it should be a device name 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}, it should be the mount point of the EFI file system, usually @file{/boot/efi}. For @code{grub-efi-netboot-bootloader}, @code{target} should be the mount point corresponding to the TFTP root directory of your TFTP server."
  49285. msgstr ""
  49286. #. type: item
  49287. #: guix-git/doc/guix.texi:33246
  49288. #, no-wrap
  49289. msgid "@code{menu-entries} (default: @code{()})"
  49290. msgstr ""
  49291. #. type: table
  49292. #: guix-git/doc/guix.texi:33250
  49293. 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."
  49294. msgstr ""
  49295. #. type: item
  49296. #: guix-git/doc/guix.texi:33251
  49297. #, no-wrap
  49298. msgid "@code{default-entry} (default: @code{0})"
  49299. msgstr ""
  49300. #. type: table
  49301. #: guix-git/doc/guix.texi:33254
  49302. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  49303. msgstr ""
  49304. #. type: item
  49305. #: guix-git/doc/guix.texi:33255
  49306. #, no-wrap
  49307. msgid "@code{timeout} (default: @code{5})"
  49308. msgstr ""
  49309. #. type: table
  49310. #: guix-git/doc/guix.texi:33258
  49311. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  49312. msgstr ""
  49313. #. type: cindex
  49314. #: guix-git/doc/guix.texi:33259
  49315. #, no-wrap
  49316. msgid "keyboard layout, for the bootloader"
  49317. msgstr ""
  49318. #. type: table
  49319. #: guix-git/doc/guix.texi:33263
  49320. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  49321. msgstr ""
  49322. #. type: table
  49323. #: guix-git/doc/guix.texi:33266
  49324. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  49325. msgstr ""
  49326. #. type: quotation
  49327. #: guix-git/doc/guix.texi:33270
  49328. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  49329. msgstr ""
  49330. #. type: item
  49331. #: guix-git/doc/guix.texi:33272
  49332. #, no-wrap
  49333. msgid "@code{theme} (default: @var{#f})"
  49334. msgstr ""
  49335. #. type: table
  49336. #: guix-git/doc/guix.texi:33276
  49337. 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."
  49338. msgstr ""
  49339. #. type: item
  49340. #: guix-git/doc/guix.texi:33277
  49341. #, no-wrap
  49342. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  49343. msgstr ""
  49344. #. type: table
  49345. #: guix-git/doc/guix.texi:33284
  49346. 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})."
  49347. msgstr ""
  49348. #. type: item
  49349. #: guix-git/doc/guix.texi:33285
  49350. #, no-wrap
  49351. msgid "@code{terminal-inputs} (default: @code{'()})"
  49352. msgstr ""
  49353. #. type: table
  49354. #: guix-git/doc/guix.texi:33293
  49355. 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})."
  49356. msgstr ""
  49357. #. type: item
  49358. #: guix-git/doc/guix.texi:33294
  49359. #, no-wrap
  49360. msgid "@code{serial-unit} (default: @code{#f})"
  49361. msgstr ""
  49362. #. type: table
  49363. #: guix-git/doc/guix.texi:33298
  49364. 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})."
  49365. msgstr ""
  49366. #. type: item
  49367. #: guix-git/doc/guix.texi:33299
  49368. #, no-wrap
  49369. msgid "@code{serial-speed} (default: @code{#f})"
  49370. msgstr ""
  49371. #. type: table
  49372. #: guix-git/doc/guix.texi:33303
  49373. 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})."
  49374. msgstr ""
  49375. #. type: cindex
  49376. #: guix-git/doc/guix.texi:33307
  49377. #, no-wrap
  49378. msgid "dual boot"
  49379. msgstr ""
  49380. #. type: cindex
  49381. #: guix-git/doc/guix.texi:33308
  49382. #, no-wrap
  49383. msgid "boot menu"
  49384. msgstr ""
  49385. #. type: Plain text
  49386. #: guix-git/doc/guix.texi:33314
  49387. 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:"
  49388. msgstr ""
  49389. #. type: lisp
  49390. #: guix-git/doc/guix.texi:33321
  49391. #, no-wrap
  49392. msgid ""
  49393. "(menu-entry\n"
  49394. " (label \"The Other Distro\")\n"
  49395. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  49396. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  49397. " (initrd \"/boot/old/initrd\"))\n"
  49398. msgstr ""
  49399. #. type: Plain text
  49400. #: guix-git/doc/guix.texi:33324
  49401. msgid "Details below."
  49402. msgstr ""
  49403. #. type: deftp
  49404. #: guix-git/doc/guix.texi:33325
  49405. #, no-wrap
  49406. msgid "{Data Type} menu-entry"
  49407. msgstr ""
  49408. #. type: deftp
  49409. #: guix-git/doc/guix.texi:33327
  49410. msgid "The type of an entry in the bootloader menu."
  49411. msgstr ""
  49412. #. type: table
  49413. #: guix-git/doc/guix.texi:33332
  49414. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  49415. msgstr ""
  49416. #. type: item
  49417. #: guix-git/doc/guix.texi:33333
  49418. #, no-wrap
  49419. msgid "@code{linux} (default: @code{#f})"
  49420. msgstr ""
  49421. #. type: table
  49422. #: guix-git/doc/guix.texi:33335
  49423. msgid "The Linux kernel image to boot, for example:"
  49424. msgstr ""
  49425. #. type: lisp
  49426. #: guix-git/doc/guix.texi:33338
  49427. #, no-wrap
  49428. msgid "(file-append linux-libre \"/bzImage\")\n"
  49429. msgstr ""
  49430. #. type: table
  49431. #: guix-git/doc/guix.texi:33343
  49432. 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:"
  49433. msgstr ""
  49434. #. type: example
  49435. #: guix-git/doc/guix.texi:33346
  49436. #, no-wrap
  49437. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  49438. msgstr ""
  49439. #. type: table
  49440. #: guix-git/doc/guix.texi:33350
  49441. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  49442. msgstr ""
  49443. #. type: item
  49444. #: guix-git/doc/guix.texi:33351
  49445. #, no-wrap
  49446. msgid "@code{linux-arguments} (default: @code{()})"
  49447. msgstr ""
  49448. #. type: table
  49449. #: guix-git/doc/guix.texi:33354
  49450. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  49451. msgstr ""
  49452. #. type: item
  49453. #: guix-git/doc/guix.texi:33355
  49454. #, no-wrap
  49455. msgid "@code{initrd} (default: @code{#f})"
  49456. msgstr ""
  49457. #. type: table
  49458. #: guix-git/doc/guix.texi:33358
  49459. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  49460. msgstr ""
  49461. #. type: item
  49462. #: guix-git/doc/guix.texi:33359
  49463. #, no-wrap
  49464. msgid "@code{device} (default: @code{#f})"
  49465. msgstr ""
  49466. #. type: table
  49467. #: guix-git/doc/guix.texi:33362
  49468. 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})."
  49469. msgstr ""
  49470. #. type: table
  49471. #: guix-git/doc/guix.texi:33368
  49472. 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}."
  49473. msgstr ""
  49474. #. type: item
  49475. #: guix-git/doc/guix.texi:33369
  49476. #, no-wrap
  49477. msgid "@code{multiboot-kernel} (default: @code{#f})"
  49478. msgstr ""
  49479. #. type: table
  49480. #: guix-git/doc/guix.texi:33373
  49481. 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:"
  49482. msgstr ""
  49483. #. type: lisp
  49484. #: guix-git/doc/guix.texi:33376
  49485. #, no-wrap
  49486. msgid "(file-append mach \"/boot/gnumach\")\n"
  49487. msgstr ""
  49488. #. type: item
  49489. #: guix-git/doc/guix.texi:33378
  49490. #, no-wrap
  49491. msgid "@code{multiboot-arguments} (default: @code{()})"
  49492. msgstr ""
  49493. #. type: table
  49494. #: guix-git/doc/guix.texi:33380
  49495. msgid "The list of extra command-line arguments for the multiboot-kernel."
  49496. msgstr ""
  49497. #. type: item
  49498. #: guix-git/doc/guix.texi:33381
  49499. #, no-wrap
  49500. msgid "@code{multiboot-modules} (default: @code{()})"
  49501. msgstr ""
  49502. #. type: table
  49503. #: guix-git/doc/guix.texi:33383
  49504. msgid "The list of commands for loading Multiboot modules. For example:"
  49505. msgstr ""
  49506. #. type: lisp
  49507. #: guix-git/doc/guix.texi:33389
  49508. #, no-wrap
  49509. msgid ""
  49510. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  49511. " @dots{})\n"
  49512. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  49513. " @dots{}))\n"
  49514. msgstr ""
  49515. #. type: cindex
  49516. #: guix-git/doc/guix.texi:33394 guix-git/doc/guix.texi:33453
  49517. #, no-wrap
  49518. msgid "HDPI"
  49519. msgstr ""
  49520. #. type: cindex
  49521. #: guix-git/doc/guix.texi:33395 guix-git/doc/guix.texi:33454
  49522. #, no-wrap
  49523. msgid "HiDPI"
  49524. msgstr ""
  49525. #. type: cindex
  49526. #: guix-git/doc/guix.texi:33396 guix-git/doc/guix.texi:33455
  49527. #, no-wrap
  49528. msgid "resolution"
  49529. msgstr ""
  49530. #. type: Plain text
  49531. #: guix-git/doc/guix.texi:33400
  49532. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  49533. msgstr ""
  49534. #. type: deftp
  49535. #: guix-git/doc/guix.texi:33401
  49536. #, no-wrap
  49537. msgid "{Data Type} grub-theme"
  49538. msgstr ""
  49539. #. type: deftp
  49540. #: guix-git/doc/guix.texi:33403
  49541. msgid "Data type representing the configuration of the GRUB theme."
  49542. msgstr ""
  49543. #. type: item
  49544. #: guix-git/doc/guix.texi:33405
  49545. #, no-wrap
  49546. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  49547. msgstr ""
  49548. #. type: table
  49549. #: guix-git/doc/guix.texi:33408
  49550. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  49551. msgstr ""
  49552. #. type: deffn
  49553. #: guix-git/doc/guix.texi:33411
  49554. #, no-wrap
  49555. msgid "{Scheme Procedure} grub-theme"
  49556. msgstr ""
  49557. #. type: deffn
  49558. #: guix-git/doc/guix.texi:33415
  49559. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  49560. msgstr ""
  49561. #. type: deffn
  49562. #: guix-git/doc/guix.texi:33418
  49563. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  49564. msgstr ""
  49565. #. type: Plain text
  49566. #: guix-git/doc/guix.texi:33422
  49567. msgid "For example, to override the default resolution, you may use something like"
  49568. msgstr ""
  49569. #. type: lisp
  49570. #: guix-git/doc/guix.texi:33430
  49571. #, no-wrap
  49572. msgid ""
  49573. "(bootloader\n"
  49574. " (bootloader-configuration\n"
  49575. " ;; @dots{}\n"
  49576. " (theme (grub-theme\n"
  49577. " (inherit (grub-theme))\n"
  49578. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  49579. msgstr ""
  49580. #. type: section
  49581. #: guix-git/doc/guix.texi:33433
  49582. #, no-wrap
  49583. msgid "Invoking @code{guix system}"
  49584. msgstr ""
  49585. #. type: Plain text
  49586. #: guix-git/doc/guix.texi:33438
  49587. 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:"
  49588. msgstr ""
  49589. #. type: example
  49590. #: guix-git/doc/guix.texi:33441
  49591. #, no-wrap
  49592. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  49593. msgstr ""
  49594. #. type: Plain text
  49595. #: guix-git/doc/guix.texi:33447
  49596. 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:"
  49597. msgstr ""
  49598. #. type: item
  49599. #: guix-git/doc/guix.texi:33449
  49600. #, no-wrap
  49601. msgid "search"
  49602. msgstr ""
  49603. #. type: table
  49604. #: guix-git/doc/guix.texi:33452
  49605. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  49606. msgstr ""
  49607. #. type: example
  49608. #: guix-git/doc/guix.texi:33474
  49609. #, no-wrap
  49610. msgid ""
  49611. "$ guix system search console\n"
  49612. "name: console-fonts\n"
  49613. "location: gnu/services/base.scm:806:2\n"
  49614. "extends: shepherd-root\n"
  49615. "description: Install the given fonts on the specified ttys (fonts are per\n"
  49616. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  49617. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  49618. "+ package or any valid argument to `setfont', as in this example:\n"
  49619. "+\n"
  49620. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  49621. "+ (\"tty2\" . (file-append\n"
  49622. "+ font-tamzen\n"
  49623. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  49624. "+ (\"tty3\" . (file-append\n"
  49625. "+ font-terminus\n"
  49626. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  49627. "relevance: 9\n"
  49628. "\n"
  49629. msgstr ""
  49630. #. type: example
  49631. #: guix-git/doc/guix.texi:33480
  49632. #, no-wrap
  49633. msgid ""
  49634. "name: mingetty\n"
  49635. "location: gnu/services/base.scm:1190:2\n"
  49636. "extends: shepherd-root\n"
  49637. "description: Provide console login using the `mingetty' program.\n"
  49638. "relevance: 2\n"
  49639. "\n"
  49640. msgstr ""
  49641. #. type: example
  49642. #: guix-git/doc/guix.texi:33487
  49643. #, no-wrap
  49644. msgid ""
  49645. "name: login\n"
  49646. "location: gnu/services/base.scm:860:2\n"
  49647. "extends: pam\n"
  49648. "description: Provide a console log-in service as specified by its\n"
  49649. "+ configuration value, a `login-configuration' object.\n"
  49650. "relevance: 2\n"
  49651. "\n"
  49652. msgstr ""
  49653. #. type: example
  49654. #: guix-git/doc/guix.texi:33489
  49655. #, no-wrap
  49656. msgid "@dots{}\n"
  49657. msgstr ""
  49658. #. type: table
  49659. #: guix-git/doc/guix.texi:33494
  49660. 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})."
  49661. msgstr ""
  49662. #. type: item
  49663. #: guix-git/doc/guix.texi:33495
  49664. #, no-wrap
  49665. msgid "reconfigure"
  49666. msgstr ""
  49667. #. type: table
  49668. #: guix-git/doc/guix.texi:33500
  49669. 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.}."
  49670. msgstr ""
  49671. #. type: quotation
  49672. #: guix-git/doc/guix.texi:33508
  49673. 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."
  49674. msgstr ""
  49675. #. type: table
  49676. #: guix-git/doc/guix.texi:33516
  49677. 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})."
  49678. msgstr ""
  49679. #. type: table
  49680. #: guix-git/doc/guix.texi:33522
  49681. 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})."
  49682. msgstr ""
  49683. #. type: table
  49684. #: guix-git/doc/guix.texi:33527
  49685. 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."
  49686. msgstr ""
  49687. #. type: cindex
  49688. #: guix-git/doc/guix.texi:33528 guix-git/doc/guix.texi:33853
  49689. #: guix-git/doc/guix.texi:34805
  49690. #, no-wrap
  49691. msgid "provenance tracking, of the operating system"
  49692. msgstr ""
  49693. #. type: table
  49694. #: guix-git/doc/guix.texi:33533
  49695. 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:"
  49696. msgstr ""
  49697. #. type: example
  49698. #: guix-git/doc/guix.texi:33536
  49699. #, no-wrap
  49700. msgid "guix system describe\n"
  49701. msgstr ""
  49702. #. type: table
  49703. #: guix-git/doc/guix.texi:33542
  49704. 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:"
  49705. msgstr ""
  49706. #. type: example
  49707. #: guix-git/doc/guix.texi:33548
  49708. #, no-wrap
  49709. msgid ""
  49710. "guix time-machine \\\n"
  49711. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  49712. " system reconfigure \\\n"
  49713. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  49714. msgstr ""
  49715. #. type: table
  49716. #: guix-git/doc/guix.texi:33554
  49717. 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."
  49718. msgstr ""
  49719. #. type: table
  49720. #: guix-git/doc/guix.texi:33560
  49721. 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}."
  49722. msgstr ""
  49723. #. type: item
  49724. #: guix-git/doc/guix.texi:33561
  49725. #, no-wrap
  49726. msgid "switch-generation"
  49727. msgstr ""
  49728. #. type: table
  49729. #: guix-git/doc/guix.texi:33570
  49730. 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."
  49731. msgstr ""
  49732. #. type: table
  49733. #: guix-git/doc/guix.texi:33574
  49734. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  49735. msgstr ""
  49736. #. type: table
  49737. #: guix-git/doc/guix.texi:33578
  49738. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  49739. msgstr ""
  49740. #. type: example
  49741. #: guix-git/doc/guix.texi:33581
  49742. #, no-wrap
  49743. msgid "guix system switch-generation 7\n"
  49744. msgstr ""
  49745. #. type: table
  49746. #: guix-git/doc/guix.texi:33589
  49747. 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:"
  49748. msgstr ""
  49749. #. type: example
  49750. #: guix-git/doc/guix.texi:33592
  49751. #, no-wrap
  49752. msgid "guix system switch-generation -- -1\n"
  49753. msgstr ""
  49754. #. type: table
  49755. #: guix-git/doc/guix.texi:33600
  49756. 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."
  49757. msgstr ""
  49758. #. type: table
  49759. #: guix-git/doc/guix.texi:33602
  49760. msgid "This action will fail if the specified generation does not exist."
  49761. msgstr ""
  49762. #. type: item
  49763. #: guix-git/doc/guix.texi:33603
  49764. #, no-wrap
  49765. msgid "roll-back"
  49766. msgstr ""
  49767. #. type: table
  49768. #: guix-git/doc/guix.texi:33609
  49769. 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}."
  49770. msgstr ""
  49771. #. type: table
  49772. #: guix-git/doc/guix.texi:33613
  49773. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  49774. msgstr ""
  49775. #. type: item
  49776. #: guix-git/doc/guix.texi:33614
  49777. #, no-wrap
  49778. msgid "delete-generations"
  49779. msgstr ""
  49780. #. type: cindex
  49781. #: guix-git/doc/guix.texi:33615
  49782. #, no-wrap
  49783. msgid "deleting system generations"
  49784. msgstr ""
  49785. #. type: cindex
  49786. #: guix-git/doc/guix.texi:33616
  49787. #, no-wrap
  49788. msgid "saving space"
  49789. msgstr ""
  49790. #. type: table
  49791. #: guix-git/doc/guix.texi:33620
  49792. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  49793. msgstr ""
  49794. #. type: table
  49795. #: guix-git/doc/guix.texi:33624
  49796. 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:"
  49797. msgstr ""
  49798. #. type: example
  49799. #: guix-git/doc/guix.texi:33627
  49800. #, no-wrap
  49801. msgid "guix system delete-generations\n"
  49802. msgstr ""
  49803. #. type: table
  49804. #: guix-git/doc/guix.texi:33631
  49805. msgid "You can also select the generations you want to delete. The example below deletes all the system generations that are more than two month old:"
  49806. msgstr ""
  49807. #. type: example
  49808. #: guix-git/doc/guix.texi:33634
  49809. #, no-wrap
  49810. msgid "guix system delete-generations 2m\n"
  49811. msgstr ""
  49812. #. type: table
  49813. #: guix-git/doc/guix.texi:33639
  49814. 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."
  49815. msgstr ""
  49816. #. type: table
  49817. #: guix-git/doc/guix.texi:33644
  49818. 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."
  49819. msgstr ""
  49820. #. type: item
  49821. #: guix-git/doc/guix.texi:33645
  49822. #, no-wrap
  49823. msgid "init"
  49824. msgstr ""
  49825. #. type: table
  49826. #: guix-git/doc/guix.texi:33649
  49827. 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:"
  49828. msgstr ""
  49829. #. type: example
  49830. #: guix-git/doc/guix.texi:33652
  49831. #, no-wrap
  49832. msgid "guix system init my-os-config.scm /mnt\n"
  49833. msgstr ""
  49834. #. type: table
  49835. #: guix-git/doc/guix.texi:33659
  49836. 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."
  49837. msgstr ""
  49838. #. type: table
  49839. #: guix-git/doc/guix.texi:33663
  49840. msgid "This command also installs bootloader on the target specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  49841. msgstr ""
  49842. #. type: item
  49843. #: guix-git/doc/guix.texi:33664
  49844. #, no-wrap
  49845. msgid "vm"
  49846. msgstr ""
  49847. #. type: cindex
  49848. #: guix-git/doc/guix.texi:33665 guix-git/doc/guix.texi:34226
  49849. #, no-wrap
  49850. msgid "virtual machine"
  49851. msgstr ""
  49852. #. type: cindex
  49853. #: guix-git/doc/guix.texi:33666
  49854. #, no-wrap
  49855. msgid "VM"
  49856. msgstr ""
  49857. #. type: anchor{#1}
  49858. #: guix-git/doc/guix.texi:33670
  49859. msgid "guix system vm"
  49860. msgstr ""
  49861. #. type: table
  49862. #: guix-git/doc/guix.texi:33670
  49863. msgid "Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM)."
  49864. msgstr ""
  49865. #. type: quotation
  49866. #: guix-git/doc/guix.texi:33678
  49867. 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})."
  49868. msgstr ""
  49869. #. type: table
  49870. #: guix-git/doc/guix.texi:33683
  49871. 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:"
  49872. msgstr ""
  49873. #. type: example
  49874. #: guix-git/doc/guix.texi:33686
  49875. #, no-wrap
  49876. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  49877. msgstr ""
  49878. #. type: table
  49879. #: guix-git/doc/guix.texi:33689
  49880. msgid "The VM shares its store with the host system."
  49881. msgstr ""
  49882. #. type: table
  49883. #: guix-git/doc/guix.texi:33694
  49884. 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."
  49885. msgstr ""
  49886. #. type: table
  49887. #: guix-git/doc/guix.texi:33698
  49888. 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:"
  49889. msgstr ""
  49890. #. type: example
  49891. #: guix-git/doc/guix.texi:33702
  49892. #, no-wrap
  49893. msgid ""
  49894. "guix system vm my-config.scm \\\n"
  49895. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  49896. msgstr ""
  49897. #. type: table
  49898. #: guix-git/doc/guix.texi:33707
  49899. 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."
  49900. msgstr ""
  49901. #. type: table
  49902. #: guix-git/doc/guix.texi:33713
  49903. msgid "The @option{--full-boot} option forces a complete boot sequence, starting with the bootloader. This requires more disk space since a root image containing at least the kernel, initrd, and bootloader data files must be created. The @option{--image-size} option can be used to specify the size of the image."
  49904. msgstr ""
  49905. #. type: cindex
  49906. #: guix-git/doc/guix.texi:33714
  49907. #, no-wrap
  49908. msgid "System images, creation in various formats"
  49909. msgstr ""
  49910. #. type: cindex
  49911. #: guix-git/doc/guix.texi:33715
  49912. #, no-wrap
  49913. msgid "Creating system images in various formats"
  49914. msgstr ""
  49915. #. type: item
  49916. #: guix-git/doc/guix.texi:33716
  49917. #, no-wrap
  49918. msgid "image"
  49919. msgstr ""
  49920. #. type: itemx
  49921. #: guix-git/doc/guix.texi:33717
  49922. #, no-wrap
  49923. msgid "docker-image"
  49924. msgstr ""
  49925. #. type: table
  49926. #: guix-git/doc/guix.texi:33725
  49927. msgid "Return a virtual machine, disk image, or Docker image of the operating system declared in @var{file} that stands alone. By default, @command{guix system} estimates the size of the image needed to store the system, but you can use the @option{--image-size} option to specify a value. Docker images are built to contain exactly what they need, so the @option{--image-size} option is ignored in the case of @code{docker-image}."
  49928. msgstr ""
  49929. #. type: cindex
  49930. #: guix-git/doc/guix.texi:33726
  49931. #, no-wrap
  49932. msgid "image, creating disk images"
  49933. msgstr ""
  49934. #. type: table
  49935. #: guix-git/doc/guix.texi:33738
  49936. 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:"
  49937. msgstr ""
  49938. #. type: example
  49939. #: guix-git/doc/guix.texi:33746
  49940. #, no-wrap
  49941. msgid ""
  49942. "image=$(guix system image --image-type=qcow2 \\\n"
  49943. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  49944. "cp $image /tmp/my-image.qcow2\n"
  49945. "chmod +w /tmp/my-image.qcow2\n"
  49946. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  49947. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  49948. msgstr ""
  49949. #. type: table
  49950. #: guix-git/doc/guix.texi:33752
  49951. 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:"
  49952. msgstr ""
  49953. #. type: example
  49954. #: guix-git/doc/guix.texi:33755
  49955. #, no-wrap
  49956. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  49957. msgstr ""
  49958. #. type: table
  49959. #: guix-git/doc/guix.texi:33759
  49960. msgid "The @code{--list-image-types} command lists all the available image types."
  49961. msgstr ""
  49962. #. type: cindex
  49963. #: guix-git/doc/guix.texi:33760
  49964. #, no-wrap
  49965. msgid "creating virtual machine images"
  49966. msgstr ""
  49967. #. type: table
  49968. #: guix-git/doc/guix.texi:33769
  49969. 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)."
  49970. msgstr ""
  49971. #. type: cindex
  49972. #: guix-git/doc/guix.texi:33770
  49973. #, no-wrap
  49974. msgid "docker-image, creating docker images"
  49975. msgstr ""
  49976. #. type: table
  49977. #: guix-git/doc/guix.texi:33776
  49978. msgid "When using @code{docker-image}, a Docker image is produced. Guix builds the image from scratch, not from a pre-existing Docker base image. As a result, it contains @emph{exactly} what you define in the operating system configuration file. You can then load the image and launch a Docker container using commands like the following:"
  49979. msgstr ""
  49980. #. type: example
  49981. #: guix-git/doc/guix.texi:33781
  49982. #, no-wrap
  49983. msgid ""
  49984. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  49985. "container_id=\"$(docker create $image_id)\"\n"
  49986. "docker start $container_id\n"
  49987. msgstr ""
  49988. #. type: table
  49989. #: guix-git/doc/guix.texi:33788
  49990. 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}:"
  49991. msgstr ""
  49992. #. type: example
  49993. #: guix-git/doc/guix.texi:33791
  49994. #, no-wrap
  49995. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  49996. msgstr ""
  49997. #. type: table
  49998. #: guix-git/doc/guix.texi:33798
  49999. 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}."
  50000. msgstr ""
  50001. #. type: table
  50002. #: guix-git/doc/guix.texi:33802
  50003. 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."
  50004. msgstr ""
  50005. #. type: table
  50006. #: guix-git/doc/guix.texi:33810
  50007. 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."
  50008. msgstr ""
  50009. #. type: table
  50010. #: guix-git/doc/guix.texi:33814
  50011. 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."
  50012. msgstr ""
  50013. #. type: table
  50014. #: guix-git/doc/guix.texi:33818
  50015. 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:"
  50016. msgstr ""
  50017. #. type: example
  50018. #: guix-git/doc/guix.texi:33822
  50019. #, no-wrap
  50020. msgid ""
  50021. "guix system container my-config.scm \\\n"
  50022. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  50023. msgstr ""
  50024. #. type: quotation
  50025. #: guix-git/doc/guix.texi:33826
  50026. msgid "This option requires Linux-libre 3.19 or newer."
  50027. msgstr ""
  50028. #. type: Plain text
  50029. #: guix-git/doc/guix.texi:33833
  50030. 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:"
  50031. msgstr ""
  50032. #. type: table
  50033. #: guix-git/doc/guix.texi:33842
  50034. 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})."
  50035. msgstr ""
  50036. #. type: table
  50037. #: guix-git/doc/guix.texi:33847
  50038. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  50039. msgstr ""
  50040. #. type: table
  50041. #: guix-git/doc/guix.texi:33852
  50042. msgid "Return the derivation file name of the given operating system without building anything."
  50043. msgstr ""
  50044. #. type: table
  50045. #: guix-git/doc/guix.texi:33861
  50046. 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:"
  50047. msgstr ""
  50048. #. type: example
  50049. #: guix-git/doc/guix.texi:33864
  50050. #, no-wrap
  50051. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  50052. msgstr ""
  50053. #. type: table
  50054. #: guix-git/doc/guix.texi:33871
  50055. 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."
  50056. msgstr ""
  50057. #. type: item
  50058. #: guix-git/doc/guix.texi:33872
  50059. #, no-wrap
  50060. msgid "--image-type=@var{type}"
  50061. msgstr ""
  50062. #. type: table
  50063. #: guix-git/doc/guix.texi:33875
  50064. msgid "For the @code{image} action, create an image with given @var{type}."
  50065. msgstr ""
  50066. #. type: table
  50067. #: guix-git/doc/guix.texi:33878
  50068. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  50069. msgstr ""
  50070. #. type: cindex
  50071. #: guix-git/doc/guix.texi:33879
  50072. #, no-wrap
  50073. msgid "ISO-9660 format"
  50074. msgstr ""
  50075. #. type: cindex
  50076. #: guix-git/doc/guix.texi:33880
  50077. #, no-wrap
  50078. msgid "CD image format"
  50079. msgstr ""
  50080. #. type: cindex
  50081. #: guix-git/doc/guix.texi:33881
  50082. #, no-wrap
  50083. msgid "DVD image format"
  50084. msgstr ""
  50085. #. type: table
  50086. #: guix-git/doc/guix.texi:33884
  50087. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  50088. msgstr ""
  50089. #. type: item
  50090. #: guix-git/doc/guix.texi:33885
  50091. #, no-wrap
  50092. msgid "--image-size=@var{size}"
  50093. msgstr ""
  50094. #. type: table
  50095. #: guix-git/doc/guix.texi:33890
  50096. 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})."
  50097. msgstr ""
  50098. #. type: table
  50099. #: guix-git/doc/guix.texi:33894
  50100. 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}."
  50101. msgstr ""
  50102. #. type: table
  50103. #: guix-git/doc/guix.texi:33899
  50104. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  50105. msgstr ""
  50106. #. type: item
  50107. #: guix-git/doc/guix.texi:33905
  50108. #, no-wrap
  50109. msgid "--skip-checks"
  50110. msgstr ""
  50111. #. type: table
  50112. #: guix-git/doc/guix.texi:33907
  50113. msgid "Skip pre-installation safety checks."
  50114. msgstr ""
  50115. #. type: table
  50116. #: guix-git/doc/guix.texi:33914
  50117. 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."
  50118. msgstr ""
  50119. #. type: table
  50120. #: guix-git/doc/guix.texi:33917
  50121. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  50122. msgstr ""
  50123. #. type: table
  50124. #: guix-git/doc/guix.texi:33925
  50125. 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."
  50126. msgstr ""
  50127. #. type: cindex
  50128. #: guix-git/doc/guix.texi:33931
  50129. #, no-wrap
  50130. msgid "on-error"
  50131. msgstr ""
  50132. #. type: cindex
  50133. #: guix-git/doc/guix.texi:33932
  50134. #, no-wrap
  50135. msgid "on-error strategy"
  50136. msgstr ""
  50137. #. type: cindex
  50138. #: guix-git/doc/guix.texi:33933
  50139. #, no-wrap
  50140. msgid "error strategy"
  50141. msgstr ""
  50142. #. type: item
  50143. #: guix-git/doc/guix.texi:33934
  50144. #, no-wrap
  50145. msgid "--on-error=@var{strategy}"
  50146. msgstr ""
  50147. #. type: table
  50148. #: guix-git/doc/guix.texi:33937
  50149. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  50150. msgstr ""
  50151. #. type: item
  50152. #: guix-git/doc/guix.texi:33939
  50153. #, no-wrap
  50154. msgid "nothing-special"
  50155. msgstr ""
  50156. #. type: table
  50157. #: guix-git/doc/guix.texi:33941
  50158. msgid "Report the error concisely and exit. This is the default strategy."
  50159. msgstr ""
  50160. #. type: item
  50161. #: guix-git/doc/guix.texi:33942
  50162. #, no-wrap
  50163. msgid "backtrace"
  50164. msgstr ""
  50165. #. type: table
  50166. #: guix-git/doc/guix.texi:33944
  50167. msgid "Likewise, but also display a backtrace."
  50168. msgstr ""
  50169. #. type: item
  50170. #: guix-git/doc/guix.texi:33945
  50171. #, no-wrap
  50172. msgid "debug"
  50173. msgstr ""
  50174. #. type: table
  50175. #: guix-git/doc/guix.texi:33951
  50176. 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."
  50177. msgstr ""
  50178. #. type: Plain text
  50179. #: guix-git/doc/guix.texi:33958
  50180. 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:"
  50181. msgstr ""
  50182. #. type: item
  50183. #: guix-git/doc/guix.texi:33961
  50184. #, no-wrap
  50185. msgid "describe"
  50186. msgstr ""
  50187. #. type: table
  50188. #: guix-git/doc/guix.texi:33964
  50189. msgid "Describe the current system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  50190. msgstr ""
  50191. #. type: item
  50192. #: guix-git/doc/guix.texi:33965
  50193. #, no-wrap
  50194. msgid "list-generations"
  50195. msgstr ""
  50196. #. type: table
  50197. #: guix-git/doc/guix.texi:33970
  50198. 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})."
  50199. msgstr ""
  50200. #. type: table
  50201. #: guix-git/doc/guix.texi:33975
  50202. 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:"
  50203. msgstr ""
  50204. #. type: example
  50205. #: guix-git/doc/guix.texi:33978
  50206. #, no-wrap
  50207. msgid "$ guix system list-generations 10d\n"
  50208. msgstr ""
  50209. #. type: Plain text
  50210. #: guix-git/doc/guix.texi:33985
  50211. 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:"
  50212. msgstr ""
  50213. #. type: anchor{#1}
  50214. #: guix-git/doc/guix.texi:33987
  50215. msgid "system-extension-graph"
  50216. msgstr ""
  50217. #. type: item
  50218. #: guix-git/doc/guix.texi:33989
  50219. #, no-wrap
  50220. msgid "extension-graph"
  50221. msgstr ""
  50222. #. type: table
  50223. #: guix-git/doc/guix.texi:33996
  50224. 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}}):"
  50225. msgstr ""
  50226. #. type: table
  50227. #: guix-git/doc/guix.texi:33998
  50228. msgid "The command:"
  50229. msgstr ""
  50230. #. type: example
  50231. #: guix-git/doc/guix.texi:34001
  50232. #, no-wrap
  50233. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  50234. msgstr ""
  50235. #. type: table
  50236. #: guix-git/doc/guix.texi:34004
  50237. msgid "shows the extension relations among services."
  50238. msgstr ""
  50239. #. type: anchor{#1}
  50240. #: guix-git/doc/guix.texi:34006
  50241. msgid "system-shepherd-graph"
  50242. msgstr ""
  50243. #. type: item
  50244. #: guix-git/doc/guix.texi:34006
  50245. #, no-wrap
  50246. msgid "shepherd-graph"
  50247. msgstr ""
  50248. #. type: table
  50249. #: guix-git/doc/guix.texi:34011
  50250. 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."
  50251. msgstr ""
  50252. #. type: table
  50253. #: guix-git/doc/guix.texi:34014
  50254. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  50255. msgstr ""
  50256. #. type: section
  50257. #: guix-git/doc/guix.texi:34018
  50258. #, no-wrap
  50259. msgid "Invoking @code{guix deploy}"
  50260. msgstr ""
  50261. #. type: Plain text
  50262. #: guix-git/doc/guix.texi:34026
  50263. 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''."
  50264. msgstr ""
  50265. #. type: quotation
  50266. #: guix-git/doc/guix.texi:34031
  50267. 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}!"
  50268. msgstr ""
  50269. #. type: example
  50270. #: guix-git/doc/guix.texi:34035
  50271. #, no-wrap
  50272. msgid "guix deploy @var{file}\n"
  50273. msgstr ""
  50274. #. type: Plain text
  50275. #: guix-git/doc/guix.texi:34039
  50276. 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:"
  50277. msgstr ""
  50278. #. type: lisp
  50279. #: guix-git/doc/guix.texi:34046
  50280. #, no-wrap
  50281. msgid ""
  50282. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  50283. ";; no X11 display server, to a machine with an SSH daemon\n"
  50284. ";; listening on localhost:2222. A configuration such as this\n"
  50285. ";; may be appropriate for virtual machine with ports\n"
  50286. ";; forwarded to the host's loopback interface.\n"
  50287. "\n"
  50288. msgstr ""
  50289. #. type: lisp
  50290. #: guix-git/doc/guix.texi:34049
  50291. #, no-wrap
  50292. msgid ""
  50293. "(use-service-modules networking ssh)\n"
  50294. "(use-package-modules bootloaders)\n"
  50295. "\n"
  50296. msgstr ""
  50297. #. type: lisp
  50298. #: guix-git/doc/guix.texi:34070
  50299. #, no-wrap
  50300. msgid ""
  50301. "(define %system\n"
  50302. " (operating-system\n"
  50303. " (host-name \"gnu-deployed\")\n"
  50304. " (timezone \"Etc/UTC\")\n"
  50305. " (bootloader (bootloader-configuration\n"
  50306. " (bootloader grub-bootloader)\n"
  50307. " (target \"/dev/vda\")\n"
  50308. " (terminal-outputs '(console))))\n"
  50309. " (file-systems (cons (file-system\n"
  50310. " (mount-point \"/\")\n"
  50311. " (device \"/dev/vda1\")\n"
  50312. " (type \"ext4\"))\n"
  50313. " %base-file-systems))\n"
  50314. " (services\n"
  50315. " (append (list (service dhcp-client-service-type)\n"
  50316. " (service openssh-service-type\n"
  50317. " (openssh-configuration\n"
  50318. " (permit-root-login #t)\n"
  50319. " (allow-empty-passwords? #t))))\n"
  50320. " %base-services))))\n"
  50321. "\n"
  50322. msgstr ""
  50323. #. type: lisp
  50324. #: guix-git/doc/guix.texi:34080
  50325. #, no-wrap
  50326. msgid ""
  50327. "(list (machine\n"
  50328. " (operating-system %system)\n"
  50329. " (environment managed-host-environment-type)\n"
  50330. " (configuration (machine-ssh-configuration\n"
  50331. " (host-name \"localhost\")\n"
  50332. " (system \"x86_64-linux\")\n"
  50333. " (user \"alice\")\n"
  50334. " (identity \"./id_rsa\")\n"
  50335. " (port 2222)))))\n"
  50336. msgstr ""
  50337. #. type: Plain text
  50338. #: guix-git/doc/guix.texi:34093
  50339. 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."
  50340. msgstr ""
  50341. #. type: Plain text
  50342. #: guix-git/doc/guix.texi:34098
  50343. 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:"
  50344. msgstr ""
  50345. #. type: Plain text
  50346. #: guix-git/doc/guix.texi:34106
  50347. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  50348. msgstr ""
  50349. #. type: example
  50350. #: guix-git/doc/guix.texi:34109
  50351. #, no-wrap
  50352. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  50353. msgstr ""
  50354. #. type: Plain text
  50355. #: guix-git/doc/guix.texi:34120
  50356. 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:"
  50357. msgstr ""
  50358. #. type: lisp
  50359. #: guix-git/doc/guix.texi:34124
  50360. #, no-wrap
  50361. msgid ""
  50362. "(use-modules ...\n"
  50363. " (gnu system)) ;for %sudoers-specification\n"
  50364. "\n"
  50365. msgstr ""
  50366. #. type: lisp
  50367. #: guix-git/doc/guix.texi:34126
  50368. #, no-wrap
  50369. msgid ""
  50370. "(define %user \"username\")\n"
  50371. "\n"
  50372. msgstr ""
  50373. #. type: lisp
  50374. #: guix-git/doc/guix.texi:34134
  50375. #, no-wrap
  50376. msgid ""
  50377. "(operating-system\n"
  50378. " ...\n"
  50379. " (sudoers-file\n"
  50380. " (plain-file \"sudoers\"\n"
  50381. " (string-append (plain-file-content %sudoers-specification)\n"
  50382. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  50383. " %user)))))\n"
  50384. "\n"
  50385. msgstr ""
  50386. #. type: Plain text
  50387. #: guix-git/doc/guix.texi:34139
  50388. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  50389. msgstr ""
  50390. #. type: deftp
  50391. #: guix-git/doc/guix.texi:34140
  50392. #, no-wrap
  50393. msgid "{Data Type} machine"
  50394. msgstr ""
  50395. #. type: deftp
  50396. #: guix-git/doc/guix.texi:34143
  50397. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  50398. msgstr ""
  50399. #. type: table
  50400. #: guix-git/doc/guix.texi:34147
  50401. msgid "The object of the operating system configuration to deploy."
  50402. msgstr ""
  50403. #. type: code{#1}
  50404. #: guix-git/doc/guix.texi:34148
  50405. #, no-wrap
  50406. msgid "environment"
  50407. msgstr ""
  50408. #. type: table
  50409. #: guix-git/doc/guix.texi:34150
  50410. msgid "An @code{environment-type} describing how the machine should be provisioned."
  50411. msgstr ""
  50412. #. type: item
  50413. #: guix-git/doc/guix.texi:34151
  50414. #, no-wrap
  50415. msgid "@code{configuration} (default: @code{#f})"
  50416. msgstr ""
  50417. #. type: table
  50418. #: guix-git/doc/guix.texi:34156
  50419. 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."
  50420. msgstr ""
  50421. #. type: deftp
  50422. #: guix-git/doc/guix.texi:34159
  50423. #, no-wrap
  50424. msgid "{Data Type} machine-ssh-configuration"
  50425. msgstr ""
  50426. #. type: deftp
  50427. #: guix-git/doc/guix.texi:34162
  50428. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  50429. msgstr ""
  50430. #. type: item
  50431. #: guix-git/doc/guix.texi:34165
  50432. #, no-wrap
  50433. msgid "@code{build-locally?} (default: @code{#t})"
  50434. msgstr ""
  50435. #. type: table
  50436. #: guix-git/doc/guix.texi:34167
  50437. msgid "If false, system derivations will be built on the machine being deployed to."
  50438. msgstr ""
  50439. #. type: code{#1}
  50440. #: guix-git/doc/guix.texi:34167
  50441. #, no-wrap
  50442. msgid "system"
  50443. msgstr ""
  50444. #. type: table
  50445. #: guix-git/doc/guix.texi:34170
  50446. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  50447. msgstr ""
  50448. #. type: item
  50449. #: guix-git/doc/guix.texi:34170
  50450. #, no-wrap
  50451. msgid "@code{authorize?} (default: @code{#t})"
  50452. msgstr ""
  50453. #. type: table
  50454. #: guix-git/doc/guix.texi:34173
  50455. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  50456. msgstr ""
  50457. #. type: item
  50458. #: guix-git/doc/guix.texi:34174
  50459. #, no-wrap
  50460. msgid "@code{user} (default: @code{\"root\"})"
  50461. msgstr ""
  50462. #. type: item
  50463. #: guix-git/doc/guix.texi:34175
  50464. #, no-wrap
  50465. msgid "@code{identity} (default: @code{#f})"
  50466. msgstr ""
  50467. #. type: table
  50468. #: guix-git/doc/guix.texi:34178
  50469. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  50470. msgstr ""
  50471. #. type: item
  50472. #: guix-git/doc/guix.texi:34179
  50473. #, no-wrap
  50474. msgid "@code{host-key} (default: @code{#f})"
  50475. msgstr ""
  50476. #. type: table
  50477. #: guix-git/doc/guix.texi:34181
  50478. msgid "This should be the SSH host key of the machine, which looks like this:"
  50479. msgstr ""
  50480. #. type: example
  50481. #: guix-git/doc/guix.texi:34184
  50482. #, no-wrap
  50483. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  50484. msgstr ""
  50485. #. type: table
  50486. #: guix-git/doc/guix.texi:34189
  50487. 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."
  50488. msgstr ""
  50489. #. type: item
  50490. #: guix-git/doc/guix.texi:34190
  50491. #, no-wrap
  50492. msgid "@code{allow-downgrades?} (default: @code{#f})"
  50493. msgstr ""
  50494. #. type: table
  50495. #: guix-git/doc/guix.texi:34192
  50496. msgid "Whether to allow potential downgrades."
  50497. msgstr ""
  50498. #. type: table
  50499. #: guix-git/doc/guix.texi:34200
  50500. 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."
  50501. msgstr ""
  50502. #. type: deftp
  50503. #: guix-git/doc/guix.texi:34203
  50504. #, no-wrap
  50505. msgid "{Data Type} digital-ocean-configuration"
  50506. msgstr ""
  50507. #. type: deftp
  50508. #: guix-git/doc/guix.texi:34206
  50509. 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}."
  50510. msgstr ""
  50511. #. type: code{#1}
  50512. #: guix-git/doc/guix.texi:34208
  50513. #, no-wrap
  50514. msgid "ssh-key"
  50515. msgstr ""
  50516. #. type: table
  50517. #: guix-git/doc/guix.texi:34211
  50518. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  50519. msgstr ""
  50520. #. type: code{#1}
  50521. #: guix-git/doc/guix.texi:34211
  50522. #, no-wrap
  50523. msgid "tags"
  50524. msgstr ""
  50525. #. type: table
  50526. #: guix-git/doc/guix.texi:34214
  50527. 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."
  50528. msgstr ""
  50529. #. type: code{#1}
  50530. #: guix-git/doc/guix.texi:34214
  50531. #, no-wrap
  50532. msgid "region"
  50533. msgstr ""
  50534. #. type: table
  50535. #: guix-git/doc/guix.texi:34216
  50536. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  50537. msgstr ""
  50538. #. type: table
  50539. #: guix-git/doc/guix.texi:34218
  50540. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  50541. msgstr ""
  50542. #. type: code{#1}
  50543. #: guix-git/doc/guix.texi:34218
  50544. #, no-wrap
  50545. msgid "enable-ipv6?"
  50546. msgstr ""
  50547. #. type: table
  50548. #: guix-git/doc/guix.texi:34220
  50549. msgid "Whether or not the droplet should be created with IPv6 networking."
  50550. msgstr ""
  50551. #. type: section
  50552. #: guix-git/doc/guix.texi:34224
  50553. #, no-wrap
  50554. msgid "Running Guix in a Virtual Machine"
  50555. msgstr ""
  50556. #. type: Plain text
  50557. #: guix-git/doc/guix.texi:34232
  50558. 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)."
  50559. msgstr ""
  50560. #. type: Plain text
  50561. #: guix-git/doc/guix.texi:34239
  50562. 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})."
  50563. msgstr ""
  50564. #. type: Plain text
  50565. #: guix-git/doc/guix.texi:34242
  50566. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  50567. msgstr ""
  50568. #. type: cindex
  50569. #: guix-git/doc/guix.texi:34243
  50570. #, no-wrap
  50571. msgid "QEMU"
  50572. msgstr ""
  50573. #. type: Plain text
  50574. #: guix-git/doc/guix.texi:34250
  50575. 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:"
  50576. msgstr ""
  50577. #. type: example
  50578. #: guix-git/doc/guix.texi:34257
  50579. #, no-wrap
  50580. msgid ""
  50581. "$ qemu-system-x86_64 \\\n"
  50582. " -nic user,model=virtio-net-pci \\\n"
  50583. " -enable-kvm -m 1024 \\\n"
  50584. " -device virtio-blk,drive=myhd \\\n"
  50585. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  50586. msgstr ""
  50587. #. type: Plain text
  50588. #: guix-git/doc/guix.texi:34260
  50589. msgid "Here is what each of these options means:"
  50590. msgstr ""
  50591. #. type: item
  50592. #: guix-git/doc/guix.texi:34262
  50593. #, no-wrap
  50594. msgid "qemu-system-x86_64"
  50595. msgstr ""
  50596. #. type: table
  50597. #: guix-git/doc/guix.texi:34265
  50598. msgid "This specifies the hardware platform to emulate. This should match the host."
  50599. msgstr ""
  50600. #. type: item
  50601. #: guix-git/doc/guix.texi:34266
  50602. #, no-wrap
  50603. msgid "-nic user,model=virtio-net-pci"
  50604. msgstr ""
  50605. #. type: table
  50606. #: guix-git/doc/guix.texi:34274
  50607. 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}."
  50608. msgstr ""
  50609. #. type: item
  50610. #: guix-git/doc/guix.texi:34275
  50611. #, no-wrap
  50612. msgid "-enable-kvm"
  50613. msgstr ""
  50614. #. type: table
  50615. #: guix-git/doc/guix.texi:34279
  50616. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  50617. msgstr ""
  50618. #. type: item
  50619. #: guix-git/doc/guix.texi:34281
  50620. #, no-wrap
  50621. msgid "-m 1024"
  50622. msgstr ""
  50623. #. type: table
  50624. #: guix-git/doc/guix.texi:34284
  50625. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  50626. msgstr ""
  50627. #. type: item
  50628. #: guix-git/doc/guix.texi:34285
  50629. #, no-wrap
  50630. msgid "-device virtio-blk,drive=myhd"
  50631. msgstr ""
  50632. #. type: table
  50633. #: guix-git/doc/guix.texi:34290
  50634. 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."
  50635. msgstr ""
  50636. #. type: item
  50637. #: guix-git/doc/guix.texi:34291
  50638. #, no-wrap
  50639. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  50640. msgstr ""
  50641. #. type: table
  50642. #: guix-git/doc/guix.texi:34294
  50643. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  50644. msgstr ""
  50645. #. type: Plain text
  50646. #: guix-git/doc/guix.texi:34304
  50647. 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}."
  50648. msgstr ""
  50649. #. type: subsection
  50650. #: guix-git/doc/guix.texi:34305
  50651. #, no-wrap
  50652. msgid "Connecting Through SSH"
  50653. msgstr ""
  50654. #. type: Plain text
  50655. #: guix-git/doc/guix.texi:34313
  50656. 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"
  50657. msgstr ""
  50658. #. type: example
  50659. #: guix-git/doc/guix.texi:34316
  50660. #, no-wrap
  50661. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  50662. msgstr ""
  50663. #. type: Plain text
  50664. #: guix-git/doc/guix.texi:34319
  50665. msgid "To connect to the VM you can run"
  50666. msgstr ""
  50667. #. type: example
  50668. #: guix-git/doc/guix.texi:34322
  50669. #, no-wrap
  50670. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  50671. msgstr ""
  50672. #. type: Plain text
  50673. #: guix-git/doc/guix.texi:34329
  50674. 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."
  50675. msgstr ""
  50676. #. type: quotation
  50677. #: guix-git/doc/guix.texi:34335
  50678. 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."
  50679. msgstr ""
  50680. #. type: subsection
  50681. #: guix-git/doc/guix.texi:34337
  50682. #, no-wrap
  50683. msgid "Using @command{virt-viewer} with Spice"
  50684. msgstr ""
  50685. #. type: Plain text
  50686. #: guix-git/doc/guix.texi:34343
  50687. 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."
  50688. msgstr ""
  50689. #. type: Plain text
  50690. #: guix-git/doc/guix.texi:34346
  50691. 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}:"
  50692. msgstr ""
  50693. #. type: example
  50694. #: guix-git/doc/guix.texi:34352
  50695. #, no-wrap
  50696. msgid ""
  50697. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  50698. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  50699. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\n"
  50700. "name=com.redhat.spice.0\n"
  50701. msgstr ""
  50702. #. type: Plain text
  50703. #: guix-git/doc/guix.texi:34356
  50704. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  50705. msgstr ""
  50706. #. type: Plain text
  50707. #: guix-git/doc/guix.texi:34363
  50708. 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?"
  50709. msgstr ""
  50710. #. type: cindex
  50711. #: guix-git/doc/guix.texi:34375
  50712. #, no-wrap
  50713. msgid "daemons"
  50714. msgstr ""
  50715. #. type: Plain text
  50716. #: guix-git/doc/guix.texi:34388
  50717. 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."
  50718. msgstr ""
  50719. #. type: cindex
  50720. #: guix-git/doc/guix.texi:34389
  50721. #, no-wrap
  50722. msgid "service extensions"
  50723. msgstr ""
  50724. #. type: Plain text
  50725. #: guix-git/doc/guix.texi:34401
  50726. 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})."
  50727. msgstr ""
  50728. #. type: Plain text
  50729. #: guix-git/doc/guix.texi:34405
  50730. 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:"
  50731. msgstr ""
  50732. #. type: Plain text
  50733. #: guix-git/doc/guix.texi:34407
  50734. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  50735. msgstr ""
  50736. #. type: cindex
  50737. #: guix-git/doc/guix.texi:34408
  50738. #, no-wrap
  50739. msgid "system service"
  50740. msgstr ""
  50741. #. type: Plain text
  50742. #: guix-git/doc/guix.texi:34416
  50743. 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."
  50744. msgstr ""
  50745. #. type: cindex
  50746. #: guix-git/doc/guix.texi:34417
  50747. #, no-wrap
  50748. msgid "service types"
  50749. msgstr ""
  50750. #. type: Plain text
  50751. #: guix-git/doc/guix.texi:34423
  50752. 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."
  50753. msgstr ""
  50754. #. type: Plain text
  50755. #: guix-git/doc/guix.texi:34426
  50756. msgid "The following section describes the programming interface for service types and services."
  50757. msgstr ""
  50758. #. type: Plain text
  50759. #: guix-git/doc/guix.texi:34433
  50760. 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}):"
  50761. msgstr ""
  50762. #. type: lisp
  50763. #: guix-git/doc/guix.texi:34443
  50764. #, no-wrap
  50765. msgid ""
  50766. "(define guix-service-type\n"
  50767. " (service-type\n"
  50768. " (name 'guix)\n"
  50769. " (extensions\n"
  50770. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  50771. " (service-extension account-service-type guix-accounts)\n"
  50772. " (service-extension activation-service-type guix-activation)))\n"
  50773. " (default-value (guix-configuration))))\n"
  50774. msgstr ""
  50775. #. type: Plain text
  50776. #: guix-git/doc/guix.texi:34447
  50777. msgid "It defines three things:"
  50778. msgstr ""
  50779. #. type: enumerate
  50780. #: guix-git/doc/guix.texi:34451
  50781. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  50782. msgstr ""
  50783. #. type: enumerate
  50784. #: guix-git/doc/guix.texi:34456
  50785. 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."
  50786. msgstr ""
  50787. #. type: enumerate
  50788. #: guix-git/doc/guix.texi:34459
  50789. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  50790. msgstr ""
  50791. #. type: enumerate
  50792. #: guix-git/doc/guix.texi:34462
  50793. msgid "Optionally, a default value for instances of this type."
  50794. msgstr ""
  50795. #. type: Plain text
  50796. #: guix-git/doc/guix.texi:34465
  50797. msgid "In this example, @code{guix-service-type} extends three services:"
  50798. msgstr ""
  50799. #. type: item
  50800. #: guix-git/doc/guix.texi:34467
  50801. #, no-wrap
  50802. msgid "shepherd-root-service-type"
  50803. msgstr ""
  50804. #. type: table
  50805. #: guix-git/doc/guix.texi:34472
  50806. 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})."
  50807. msgstr ""
  50808. #. type: item
  50809. #: guix-git/doc/guix.texi:34473
  50810. #, no-wrap
  50811. msgid "account-service-type"
  50812. msgstr ""
  50813. #. type: table
  50814. #: guix-git/doc/guix.texi:34478
  50815. 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})."
  50816. msgstr ""
  50817. #. type: item
  50818. #: guix-git/doc/guix.texi:34479
  50819. #, no-wrap
  50820. msgid "activation-service-type"
  50821. msgstr ""
  50822. #. type: table
  50823. #: guix-git/doc/guix.texi:34483
  50824. 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."
  50825. msgstr ""
  50826. #. type: Plain text
  50827. #: guix-git/doc/guix.texi:34486
  50828. msgid "A service of this type is instantiated like this:"
  50829. msgstr ""
  50830. #. type: lisp
  50831. #: guix-git/doc/guix.texi:34492
  50832. #, no-wrap
  50833. msgid ""
  50834. "(service guix-service-type\n"
  50835. " (guix-configuration\n"
  50836. " (build-accounts 5)\n"
  50837. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  50838. msgstr ""
  50839. #. type: Plain text
  50840. #: guix-git/doc/guix.texi:34500
  50841. 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:"
  50842. msgstr ""
  50843. #. type: lisp
  50844. #: guix-git/doc/guix.texi:34503
  50845. #, no-wrap
  50846. msgid "(service guix-service-type)\n"
  50847. msgstr ""
  50848. #. type: Plain text
  50849. #: guix-git/doc/guix.texi:34507
  50850. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  50851. msgstr ""
  50852. #. type: Plain text
  50853. #: guix-git/doc/guix.texi:34511
  50854. msgid "The service type for an @emph{extensible} service looks like this:"
  50855. msgstr ""
  50856. #. type: lisp
  50857. #: guix-git/doc/guix.texi:34518
  50858. #, no-wrap
  50859. msgid ""
  50860. "(define udev-service-type\n"
  50861. " (service-type (name 'udev)\n"
  50862. " (extensions\n"
  50863. " (list (service-extension shepherd-root-service-type\n"
  50864. " udev-shepherd-service)))\n"
  50865. "\n"
  50866. msgstr ""
  50867. #. type: lisp
  50868. #: guix-git/doc/guix.texi:34526
  50869. #, no-wrap
  50870. msgid ""
  50871. " (compose concatenate) ;concatenate the list of rules\n"
  50872. " (extend (lambda (config rules)\n"
  50873. " (match config\n"
  50874. " (($ <udev-configuration> udev initial-rules)\n"
  50875. " (udev-configuration\n"
  50876. " (udev udev) ;the udev package to use\n"
  50877. " (rules (append initial-rules rules)))))))))\n"
  50878. msgstr ""
  50879. #. type: Plain text
  50880. #: guix-git/doc/guix.texi:34532
  50881. 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:"
  50882. msgstr ""
  50883. #. type: item
  50884. #: guix-git/doc/guix.texi:34534
  50885. #, no-wrap
  50886. msgid "compose"
  50887. msgstr ""
  50888. #. type: table
  50889. #: guix-git/doc/guix.texi:34537
  50890. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  50891. msgstr ""
  50892. #. type: table
  50893. #: guix-git/doc/guix.texi:34540
  50894. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  50895. msgstr ""
  50896. #. type: item
  50897. #: guix-git/doc/guix.texi:34541
  50898. #, no-wrap
  50899. msgid "extend"
  50900. msgstr ""
  50901. #. type: table
  50902. #: guix-git/doc/guix.texi:34544
  50903. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  50904. msgstr ""
  50905. #. type: table
  50906. #: guix-git/doc/guix.texi:34549
  50907. 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."
  50908. msgstr ""
  50909. #. type: table
  50910. #: guix-git/doc/guix.texi:34555
  50911. 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})."
  50912. msgstr ""
  50913. #. type: Plain text
  50914. #: guix-git/doc/guix.texi:34560
  50915. 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."
  50916. msgstr ""
  50917. #. type: Plain text
  50918. #: guix-git/doc/guix.texi:34563
  50919. msgid "Still here? The next section provides a reference of the programming interface for services."
  50920. msgstr ""
  50921. #. type: Plain text
  50922. #: guix-git/doc/guix.texi:34571
  50923. 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."
  50924. msgstr ""
  50925. #. type: deffn
  50926. #: guix-git/doc/guix.texi:34572
  50927. #, no-wrap
  50928. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  50929. msgstr ""
  50930. #. type: deffn
  50931. #: guix-git/doc/guix.texi:34576
  50932. 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."
  50933. msgstr ""
  50934. #. type: deffn
  50935. #: guix-git/doc/guix.texi:34580
  50936. 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."
  50937. msgstr ""
  50938. #. type: deffn
  50939. #: guix-git/doc/guix.texi:34582
  50940. msgid "For instance, this:"
  50941. msgstr ""
  50942. #. type: lisp
  50943. #: guix-git/doc/guix.texi:34585
  50944. #, no-wrap
  50945. msgid "(service openssh-service-type)\n"
  50946. msgstr ""
  50947. #. type: deffn
  50948. #: guix-git/doc/guix.texi:34589
  50949. msgid "is equivalent to this:"
  50950. msgstr ""
  50951. #. type: lisp
  50952. #: guix-git/doc/guix.texi:34593
  50953. #, no-wrap
  50954. msgid ""
  50955. "(service openssh-service-type\n"
  50956. " (openssh-configuration))\n"
  50957. msgstr ""
  50958. #. type: deffn
  50959. #: guix-git/doc/guix.texi:34597
  50960. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  50961. msgstr ""
  50962. #. type: deffn
  50963. #: guix-git/doc/guix.texi:34599
  50964. #, no-wrap
  50965. msgid "{Scheme Procedure} service? @var{obj}"
  50966. msgstr ""
  50967. #. type: deffn
  50968. #: guix-git/doc/guix.texi:34601
  50969. msgid "Return true if @var{obj} is a service."
  50970. msgstr ""
  50971. #. type: deffn
  50972. #: guix-git/doc/guix.texi:34603
  50973. #, no-wrap
  50974. msgid "{Scheme Procedure} service-kind @var{service}"
  50975. msgstr ""
  50976. #. type: deffn
  50977. #: guix-git/doc/guix.texi:34605
  50978. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  50979. msgstr ""
  50980. #. type: deffn
  50981. #: guix-git/doc/guix.texi:34607
  50982. #, no-wrap
  50983. msgid "{Scheme Procedure} service-value @var{service}"
  50984. msgstr ""
  50985. #. type: deffn
  50986. #: guix-git/doc/guix.texi:34610
  50987. msgid "Return the value associated with @var{service}. It represents its parameters."
  50988. msgstr ""
  50989. #. type: Plain text
  50990. #: guix-git/doc/guix.texi:34613
  50991. msgid "Here is an example of how a service is created and manipulated:"
  50992. msgstr ""
  50993. #. type: lisp
  50994. #: guix-git/doc/guix.texi:34622
  50995. #, no-wrap
  50996. msgid ""
  50997. "(define s\n"
  50998. " (service nginx-service-type\n"
  50999. " (nginx-configuration\n"
  51000. " (nginx nginx)\n"
  51001. " (log-directory log-directory)\n"
  51002. " (run-directory run-directory)\n"
  51003. " (file config-file))))\n"
  51004. "\n"
  51005. msgstr ""
  51006. #. type: lisp
  51007. #: guix-git/doc/guix.texi:34625
  51008. #, no-wrap
  51009. msgid ""
  51010. "(service? s)\n"
  51011. "@result{} #t\n"
  51012. "\n"
  51013. msgstr ""
  51014. #. type: lisp
  51015. #: guix-git/doc/guix.texi:34628
  51016. #, no-wrap
  51017. msgid ""
  51018. "(eq? (service-kind s) nginx-service-type)\n"
  51019. "@result{} #t\n"
  51020. msgstr ""
  51021. #. type: Plain text
  51022. #: guix-git/doc/guix.texi:34638
  51023. 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."
  51024. msgstr ""
  51025. #. type: deffn
  51026. #: guix-git/doc/guix.texi:34639
  51027. #, no-wrap
  51028. msgid "{Scheme Syntax} modify-services @var{services} @"
  51029. msgstr ""
  51030. #. type: deffn
  51031. #: guix-git/doc/guix.texi:34641
  51032. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  51033. msgstr ""
  51034. #. type: deffn
  51035. #: guix-git/doc/guix.texi:34644
  51036. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  51037. msgstr ""
  51038. #. type: example
  51039. #: guix-git/doc/guix.texi:34647
  51040. #, no-wrap
  51041. msgid "(@var{type} @var{variable} => @var{body})\n"
  51042. msgstr ""
  51043. #. type: deffn
  51044. #: guix-git/doc/guix.texi:34654
  51045. 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}."
  51046. msgstr ""
  51047. #. type: deffn
  51048. #: guix-git/doc/guix.texi:34661
  51049. 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."
  51050. msgstr ""
  51051. #. type: deffn
  51052. #: guix-git/doc/guix.texi:34663
  51053. msgid "@xref{Using the Configuration System}, for example usage."
  51054. msgstr ""
  51055. #. type: Plain text
  51056. #: guix-git/doc/guix.texi:34670
  51057. 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."
  51058. msgstr ""
  51059. #. type: deftp
  51060. #: guix-git/doc/guix.texi:34671
  51061. #, no-wrap
  51062. msgid "{Data Type} service-type"
  51063. msgstr ""
  51064. #. type: cindex
  51065. #: guix-git/doc/guix.texi:34672
  51066. #, no-wrap
  51067. msgid "service type"
  51068. msgstr ""
  51069. #. type: deftp
  51070. #: guix-git/doc/guix.texi:34675
  51071. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  51072. msgstr ""
  51073. #. type: table
  51074. #: guix-git/doc/guix.texi:34679
  51075. msgid "This is a symbol, used only to simplify inspection and debugging."
  51076. msgstr ""
  51077. #. type: code{#1}
  51078. #: guix-git/doc/guix.texi:34680
  51079. #, no-wrap
  51080. msgid "extensions"
  51081. msgstr ""
  51082. #. type: table
  51083. #: guix-git/doc/guix.texi:34682
  51084. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  51085. msgstr ""
  51086. #. type: item
  51087. #: guix-git/doc/guix.texi:34683
  51088. #, no-wrap
  51089. msgid "@code{compose} (default: @code{#f})"
  51090. msgstr ""
  51091. #. type: table
  51092. #: guix-git/doc/guix.texi:34687
  51093. 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."
  51094. msgstr ""
  51095. #. type: table
  51096. #: guix-git/doc/guix.texi:34691
  51097. 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."
  51098. msgstr ""
  51099. #. type: item
  51100. #: guix-git/doc/guix.texi:34692
  51101. #, no-wrap
  51102. msgid "@code{extend} (default: @code{#f})"
  51103. msgstr ""
  51104. #. type: table
  51105. #: guix-git/doc/guix.texi:34694
  51106. msgid "If this is @code{#f}, services of this type cannot be extended."
  51107. msgstr ""
  51108. #. type: table
  51109. #: guix-git/doc/guix.texi:34700
  51110. 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."
  51111. msgstr ""
  51112. #. type: table
  51113. #: guix-git/doc/guix.texi:34706
  51114. 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})."
  51115. msgstr ""
  51116. #. type: item
  51117. #: guix-git/doc/guix.texi:34707
  51118. #, no-wrap
  51119. msgid "@code{default-value} (default: @code{&no-default-value})"
  51120. msgstr ""
  51121. #. type: table
  51122. #: guix-git/doc/guix.texi:34710
  51123. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  51124. msgstr ""
  51125. #. type: lisp
  51126. #: guix-git/doc/guix.texi:34713
  51127. #, no-wrap
  51128. msgid "(service @var{type})\n"
  51129. msgstr ""
  51130. #. type: table
  51131. #: guix-git/doc/guix.texi:34717
  51132. msgid "The returned service in this case has the default value specified by @var{type}."
  51133. msgstr ""
  51134. #. type: deftp
  51135. #: guix-git/doc/guix.texi:34720
  51136. msgid "@xref{Service Types and Services}, for examples."
  51137. msgstr ""
  51138. #. type: deffn
  51139. #: guix-git/doc/guix.texi:34722
  51140. #, no-wrap
  51141. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  51142. msgstr ""
  51143. #. type: deffn
  51144. #: guix-git/doc/guix.texi:34728
  51145. 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."
  51146. msgstr ""
  51147. #. type: deffn
  51148. #: guix-git/doc/guix.texi:34730
  51149. #, no-wrap
  51150. msgid "{Scheme Procedure} service-extension? @var{obj}"
  51151. msgstr ""
  51152. #. type: deffn
  51153. #: guix-git/doc/guix.texi:34732
  51154. msgid "Return true if @var{obj} is a service extension."
  51155. msgstr ""
  51156. #. type: Plain text
  51157. #: guix-git/doc/guix.texi:34738
  51158. 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."
  51159. msgstr ""
  51160. #. type: deffn
  51161. #: guix-git/doc/guix.texi:34739
  51162. #, no-wrap
  51163. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  51164. msgstr ""
  51165. #. type: deffn
  51166. #: guix-git/doc/guix.texi:34743
  51167. 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."
  51168. msgstr ""
  51169. #. type: deffn
  51170. #: guix-git/doc/guix.texi:34746
  51171. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  51172. msgstr ""
  51173. #. type: lisp
  51174. #: guix-git/doc/guix.texi:34750
  51175. #, no-wrap
  51176. msgid ""
  51177. "(simple-service 'my-mcron-job mcron-service-type\n"
  51178. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  51179. msgstr ""
  51180. #. type: Plain text
  51181. #: guix-git/doc/guix.texi:34760
  51182. 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."
  51183. msgstr ""
  51184. #. type: deffn
  51185. #: guix-git/doc/guix.texi:34761
  51186. #, no-wrap
  51187. msgid "{Scheme Procedure} fold-services @var{services} @"
  51188. msgstr ""
  51189. #. type: deffn
  51190. #: guix-git/doc/guix.texi:34765
  51191. 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."
  51192. msgstr ""
  51193. #. type: Plain text
  51194. #: guix-git/doc/guix.texi:34769
  51195. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  51196. msgstr ""
  51197. #. type: defvr
  51198. #: guix-git/doc/guix.texi:34770
  51199. #, no-wrap
  51200. msgid "{Scheme Variable} system-service-type"
  51201. msgstr ""
  51202. #. type: defvr
  51203. #: guix-git/doc/guix.texi:34773
  51204. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  51205. msgstr ""
  51206. #. type: defvr
  51207. #: guix-git/doc/guix.texi:34775
  51208. #, no-wrap
  51209. msgid "{Scheme Variable} boot-service-type"
  51210. msgstr ""
  51211. #. type: defvr
  51212. #: guix-git/doc/guix.texi:34778
  51213. 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."
  51214. msgstr ""
  51215. #. type: defvr
  51216. #: guix-git/doc/guix.texi:34780
  51217. #, no-wrap
  51218. msgid "{Scheme Variable} etc-service-type"
  51219. msgstr ""
  51220. #. type: defvr
  51221. #: guix-git/doc/guix.texi:34784
  51222. 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:"
  51223. msgstr ""
  51224. #. type: lisp
  51225. #: guix-git/doc/guix.texi:34787
  51226. #, no-wrap
  51227. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  51228. msgstr ""
  51229. #. type: defvr
  51230. #: guix-git/doc/guix.texi:34791
  51231. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  51232. msgstr ""
  51233. #. type: defvr
  51234. #: guix-git/doc/guix.texi:34793
  51235. #, no-wrap
  51236. msgid "{Scheme Variable} setuid-program-service-type"
  51237. msgstr ""
  51238. #. type: defvr
  51239. #: guix-git/doc/guix.texi:34797
  51240. 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})."
  51241. msgstr ""
  51242. #. type: defvr
  51243. #: guix-git/doc/guix.texi:34799
  51244. #, no-wrap
  51245. msgid "{Scheme Variable} profile-service-type"
  51246. msgstr ""
  51247. #. type: defvr
  51248. #: guix-git/doc/guix.texi:34803
  51249. 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."
  51250. msgstr ""
  51251. #. type: anchor{#1}
  51252. #: guix-git/doc/guix.texi:34807
  51253. msgid "provenance-service-type"
  51254. msgstr ""
  51255. #. type: defvr
  51256. #: guix-git/doc/guix.texi:34807
  51257. #, no-wrap
  51258. msgid "{Scheme Variable} provenance-service-type"
  51259. msgstr ""
  51260. #. type: defvr
  51261. #: guix-git/doc/guix.texi:34811
  51262. 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}:"
  51263. msgstr ""
  51264. #. type: item
  51265. #: guix-git/doc/guix.texi:34813
  51266. #, no-wrap
  51267. msgid "channels.scm"
  51268. msgstr ""
  51269. #. type: table
  51270. #: guix-git/doc/guix.texi:34818
  51271. 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})."
  51272. msgstr ""
  51273. #. type: item
  51274. #: guix-git/doc/guix.texi:34819
  51275. #, no-wrap
  51276. msgid "configuration.scm"
  51277. msgstr ""
  51278. #. type: table
  51279. #: guix-git/doc/guix.texi:34824
  51280. 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."
  51281. msgstr ""
  51282. #. type: item
  51283. #: guix-git/doc/guix.texi:34825
  51284. #, no-wrap
  51285. msgid "provenance"
  51286. msgstr ""
  51287. #. type: table
  51288. #: guix-git/doc/guix.texi:34828
  51289. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  51290. msgstr ""
  51291. #. type: defvr
  51292. #: guix-git/doc/guix.texi:34832
  51293. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  51294. msgstr ""
  51295. #. type: quotation
  51296. #: guix-git/doc/guix.texi:34833
  51297. #, no-wrap
  51298. msgid "Caveats"
  51299. msgstr ""
  51300. #. type: quotation
  51301. #: guix-git/doc/guix.texi:34840
  51302. 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."
  51303. msgstr ""
  51304. #. type: quotation
  51305. #: guix-git/doc/guix.texi:34848
  51306. 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."
  51307. msgstr ""
  51308. #. type: defvr
  51309. #: guix-git/doc/guix.texi:34853
  51310. 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}."
  51311. msgstr ""
  51312. #. type: defvr
  51313. #: guix-git/doc/guix.texi:34855
  51314. #, no-wrap
  51315. msgid "{Scheme Variable} linux-loadable-module-service-type"
  51316. msgstr ""
  51317. #. type: defvr
  51318. #: guix-git/doc/guix.texi:34859
  51319. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  51320. msgstr ""
  51321. #. type: defvr
  51322. #: guix-git/doc/guix.texi:34862
  51323. msgid "This service type is intended to be extended by other service types, such as below:"
  51324. msgstr ""
  51325. #. type: lisp
  51326. #: guix-git/doc/guix.texi:34868
  51327. #, no-wrap
  51328. msgid ""
  51329. "(simple-service 'installing-module\n"
  51330. " linux-loadable-module-service-type\n"
  51331. " (list module-to-install-1\n"
  51332. " module-to-install-2))\n"
  51333. msgstr ""
  51334. #. type: defvr
  51335. #: guix-git/doc/guix.texi:34872
  51336. 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."
  51337. msgstr ""
  51338. #. type: cindex
  51339. #: guix-git/doc/guix.texi:34877
  51340. #, no-wrap
  51341. msgid "shepherd services"
  51342. msgstr ""
  51343. #. type: cindex
  51344. #: guix-git/doc/guix.texi:34878
  51345. #, no-wrap
  51346. msgid "PID 1"
  51347. msgstr ""
  51348. #. type: cindex
  51349. #: guix-git/doc/guix.texi:34879
  51350. #, no-wrap
  51351. msgid "init system"
  51352. msgstr ""
  51353. #. type: Plain text
  51354. #: guix-git/doc/guix.texi:34885
  51355. 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})."
  51356. msgstr ""
  51357. #. type: Plain text
  51358. #: guix-git/doc/guix.texi:34891
  51359. 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:"
  51360. msgstr ""
  51361. #. type: Plain text
  51362. #: guix-git/doc/guix.texi:34893
  51363. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  51364. msgstr ""
  51365. #. type: Plain text
  51366. #: guix-git/doc/guix.texi:34897
  51367. 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}})."
  51368. msgstr ""
  51369. #. type: Plain text
  51370. #: guix-git/doc/guix.texi:34901
  51371. 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."
  51372. msgstr ""
  51373. #. type: deftp
  51374. #: guix-git/doc/guix.texi:34902
  51375. #, no-wrap
  51376. msgid "{Data Type} shepherd-service"
  51377. msgstr ""
  51378. #. type: deftp
  51379. #: guix-git/doc/guix.texi:34904
  51380. msgid "The data type representing a service managed by the Shepherd."
  51381. msgstr ""
  51382. #. type: code{#1}
  51383. #: guix-git/doc/guix.texi:34906
  51384. #, no-wrap
  51385. msgid "provision"
  51386. msgstr ""
  51387. #. type: table
  51388. #: guix-git/doc/guix.texi:34908
  51389. msgid "This is a list of symbols denoting what the service provides."
  51390. msgstr ""
  51391. #. type: table
  51392. #: guix-git/doc/guix.texi:34913
  51393. 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."
  51394. msgstr ""
  51395. #. type: item
  51396. #: guix-git/doc/guix.texi:34914
  51397. #, no-wrap
  51398. msgid "@code{requirement} (default: @code{'()})"
  51399. msgstr ""
  51400. #. type: table
  51401. #: guix-git/doc/guix.texi:34916
  51402. msgid "List of symbols denoting the Shepherd services this one depends on."
  51403. msgstr ""
  51404. #. type: cindex
  51405. #: guix-git/doc/guix.texi:34917
  51406. #, no-wrap
  51407. msgid "one-shot services, for the Shepherd"
  51408. msgstr ""
  51409. #. type: table
  51410. #: guix-git/doc/guix.texi:34922
  51411. 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."
  51412. msgstr ""
  51413. #. type: item
  51414. #: guix-git/doc/guix.texi:34923
  51415. #, no-wrap
  51416. msgid "@code{respawn?} (default: @code{#t})"
  51417. msgstr ""
  51418. #. type: table
  51419. #: guix-git/doc/guix.texi:34926
  51420. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  51421. msgstr ""
  51422. #. type: code{#1}
  51423. #: guix-git/doc/guix.texi:34927
  51424. #, no-wrap
  51425. msgid "start"
  51426. msgstr ""
  51427. #. type: itemx
  51428. #: guix-git/doc/guix.texi:34928
  51429. #, no-wrap
  51430. msgid "@code{stop} (default: @code{#~(const #f)})"
  51431. msgstr ""
  51432. #. type: table
  51433. #: guix-git/doc/guix.texi:34934
  51434. 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})."
  51435. msgstr ""
  51436. #. type: item
  51437. #: guix-git/doc/guix.texi:34935
  51438. #, no-wrap
  51439. msgid "@code{actions} (default: @code{'()})"
  51440. msgstr ""
  51441. #. type: cindex
  51442. #: guix-git/doc/guix.texi:34936
  51443. #, no-wrap
  51444. msgid "actions, of Shepherd services"
  51445. msgstr ""
  51446. #. type: table
  51447. #: guix-git/doc/guix.texi:34941
  51448. 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:"
  51449. msgstr ""
  51450. #. type: example
  51451. #: guix-git/doc/guix.texi:34944
  51452. #, no-wrap
  51453. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  51454. msgstr ""
  51455. #. type: item
  51456. #: guix-git/doc/guix.texi:34946
  51457. #, no-wrap
  51458. msgid "@code{auto-start?} (default: @code{#t})"
  51459. msgstr ""
  51460. #. type: table
  51461. #: guix-git/doc/guix.texi:34949
  51462. 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}."
  51463. msgstr ""
  51464. #. type: table
  51465. #: guix-git/doc/guix.texi:34952
  51466. msgid "A documentation string, as shown when running:"
  51467. msgstr ""
  51468. #. type: example
  51469. #: guix-git/doc/guix.texi:34955
  51470. #, no-wrap
  51471. msgid "herd doc @var{service-name}\n"
  51472. msgstr ""
  51473. #. type: table
  51474. #: guix-git/doc/guix.texi:34959
  51475. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  51476. msgstr ""
  51477. #. type: item
  51478. #: guix-git/doc/guix.texi:34960
  51479. #, no-wrap
  51480. msgid "@code{modules} (default: @code{%default-modules})"
  51481. msgstr ""
  51482. #. type: table
  51483. #: guix-git/doc/guix.texi:34963
  51484. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  51485. msgstr ""
  51486. #. type: Plain text
  51487. #: guix-git/doc/guix.texi:34971
  51488. 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}):"
  51489. msgstr ""
  51490. #. type: example
  51491. #: guix-git/doc/guix.texi:34983
  51492. #, no-wrap
  51493. msgid ""
  51494. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  51495. " (shepherd-service\n"
  51496. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  51497. " (provision '(syslogd))\n"
  51498. " (requirement '(user-processes))\n"
  51499. " (start #~(make-forkexec-constructor\n"
  51500. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  51501. " \"--rcfile\" #$config)\n"
  51502. " #:pid-file \"/var/run/syslog.pid\"))\n"
  51503. " (stop #~(make-kill-destructor))))\n"
  51504. msgstr ""
  51505. #. type: Plain text
  51506. #: guix-git/doc/guix.texi:34998
  51507. 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})."
  51508. msgstr ""
  51509. #. type: deftp
  51510. #: guix-git/doc/guix.texi:34999
  51511. #, no-wrap
  51512. msgid "{Data Type} shepherd-action"
  51513. msgstr ""
  51514. #. type: deftp
  51515. #: guix-git/doc/guix.texi:35002
  51516. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  51517. msgstr ""
  51518. #. type: table
  51519. #: guix-git/doc/guix.texi:35006
  51520. msgid "Symbol naming the action."
  51521. msgstr ""
  51522. #. type: table
  51523. #: guix-git/doc/guix.texi:35009
  51524. msgid "This is a documentation string for the action. It can be viewed by running:"
  51525. msgstr ""
  51526. #. type: example
  51527. #: guix-git/doc/guix.texi:35012
  51528. #, no-wrap
  51529. msgid "herd doc @var{service} action @var{action}\n"
  51530. msgstr ""
  51531. #. type: item
  51532. #: guix-git/doc/guix.texi:35014
  51533. #, no-wrap
  51534. msgid "procedure"
  51535. msgstr ""
  51536. #. type: table
  51537. #: guix-git/doc/guix.texi:35018
  51538. 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})."
  51539. msgstr ""
  51540. #. type: deftp
  51541. #: guix-git/doc/guix.texi:35022
  51542. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  51543. msgstr ""
  51544. #. type: lisp
  51545. #: guix-git/doc/guix.texi:35031
  51546. #, no-wrap
  51547. msgid ""
  51548. "(shepherd-action\n"
  51549. " (name 'say-hello)\n"
  51550. " (documentation \"Say hi!\")\n"
  51551. " (procedure #~(lambda (running . args)\n"
  51552. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  51553. " args)\n"
  51554. " #t)))\n"
  51555. msgstr ""
  51556. #. type: deftp
  51557. #: guix-git/doc/guix.texi:35034
  51558. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  51559. msgstr ""
  51560. #. type: example
  51561. #: guix-git/doc/guix.texi:35040
  51562. #, no-wrap
  51563. msgid ""
  51564. "# herd say-hello example\n"
  51565. "Hello, friend! arguments: ()\n"
  51566. "# herd say-hello example a b c\n"
  51567. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  51568. msgstr ""
  51569. #. type: deftp
  51570. #: guix-git/doc/guix.texi:35045
  51571. 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."
  51572. msgstr ""
  51573. #. type: defvr
  51574. #: guix-git/doc/guix.texi:35047
  51575. #, no-wrap
  51576. msgid "{Scheme Variable} shepherd-root-service-type"
  51577. msgstr ""
  51578. #. type: defvr
  51579. #: guix-git/doc/guix.texi:35049
  51580. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  51581. msgstr ""
  51582. #. type: defvr
  51583. #: guix-git/doc/guix.texi:35054
  51584. 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."
  51585. msgstr ""
  51586. #. type: deftp
  51587. #: guix-git/doc/guix.texi:35056
  51588. #, no-wrap
  51589. msgid "{Data Type} shepherd-configuration"
  51590. msgstr ""
  51591. #. type: deftp
  51592. #: guix-git/doc/guix.texi:35058
  51593. msgid "This data type represents the Shepherd's configuration."
  51594. msgstr ""
  51595. #. type: item
  51596. #: guix-git/doc/guix.texi:35060
  51597. #, no-wrap
  51598. msgid "shepherd (default: @code{shepherd})"
  51599. msgstr ""
  51600. #. type: table
  51601. #: guix-git/doc/guix.texi:35062
  51602. msgid "The Shepherd package to use."
  51603. msgstr ""
  51604. #. type: item
  51605. #: guix-git/doc/guix.texi:35063
  51606. #, no-wrap
  51607. msgid "services (default: @code{'()})"
  51608. msgstr ""
  51609. #. type: table
  51610. #: guix-git/doc/guix.texi:35067
  51611. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  51612. msgstr ""
  51613. #. type: Plain text
  51614. #: guix-git/doc/guix.texi:35072
  51615. msgid "The following example specifies the Shepherd package for the operating system:"
  51616. msgstr ""
  51617. #. type: lisp
  51618. #: guix-git/doc/guix.texi:35087
  51619. #, no-wrap
  51620. msgid ""
  51621. "(operating-system\n"
  51622. " ;; ...\n"
  51623. " (services (append (list openssh-service-type))\n"
  51624. " ;; ...\n"
  51625. " %desktop-services)\n"
  51626. " ;; ...\n"
  51627. " ;; Use own Shepherd package.\n"
  51628. " (essential-services\n"
  51629. " (modify-services (operating-system-default-essential-services\n"
  51630. " this-operating-system)\n"
  51631. " (shepherd-root-service-type config => (shepherd-configuration\n"
  51632. " (inherit config)\n"
  51633. " (shepherd my-shepherd))))))\n"
  51634. msgstr ""
  51635. #. type: defvr
  51636. #: guix-git/doc/guix.texi:35089
  51637. #, no-wrap
  51638. msgid "{Scheme Variable} %shepherd-root-service"
  51639. msgstr ""
  51640. #. type: defvr
  51641. #: guix-git/doc/guix.texi:35091
  51642. msgid "This service represents PID@tie{}1."
  51643. msgstr ""
  51644. #. type: cindex
  51645. #: guix-git/doc/guix.texi:35097
  51646. #, no-wrap
  51647. msgid "documentation, searching for"
  51648. msgstr ""
  51649. #. type: cindex
  51650. #: guix-git/doc/guix.texi:35098
  51651. #, no-wrap
  51652. msgid "searching for documentation"
  51653. msgstr ""
  51654. #. type: cindex
  51655. #: guix-git/doc/guix.texi:35099
  51656. #, no-wrap
  51657. msgid "Info, documentation format"
  51658. msgstr ""
  51659. #. type: cindex
  51660. #: guix-git/doc/guix.texi:35100
  51661. #, no-wrap
  51662. msgid "man pages"
  51663. msgstr ""
  51664. #. type: cindex
  51665. #: guix-git/doc/guix.texi:35101
  51666. #, no-wrap
  51667. msgid "manual pages"
  51668. msgstr ""
  51669. #. type: Plain text
  51670. #: guix-git/doc/guix.texi:35108
  51671. 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}."
  51672. msgstr ""
  51673. #. type: Plain text
  51674. #: guix-git/doc/guix.texi:35112
  51675. 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:"
  51676. msgstr ""
  51677. #. type: example
  51678. #: guix-git/doc/guix.texi:35120
  51679. #, no-wrap
  51680. msgid ""
  51681. "$ info -k TLS\n"
  51682. "\"(emacs)Network Security\" -- STARTTLS\n"
  51683. "\"(emacs)Network Security\" -- TLS\n"
  51684. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  51685. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  51686. "@dots{}\n"
  51687. msgstr ""
  51688. #. type: Plain text
  51689. #: guix-git/doc/guix.texi:35124
  51690. msgid "The command below searches for the same keyword in man pages:"
  51691. msgstr ""
  51692. #. type: example
  51693. #: guix-git/doc/guix.texi:35130
  51694. #, no-wrap
  51695. msgid ""
  51696. "$ man -k TLS\n"
  51697. "SSL (7) - OpenSSL SSL/TLS library\n"
  51698. "certtool (1) - GnuTLS certificate tool\n"
  51699. "@dots {}\n"
  51700. msgstr ""
  51701. #. type: Plain text
  51702. #: guix-git/doc/guix.texi:35136
  51703. 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."
  51704. msgstr ""
  51705. #. type: Plain text
  51706. #: guix-git/doc/guix.texi:35139
  51707. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  51708. msgstr ""
  51709. #. type: example
  51710. #: guix-git/doc/guix.texi:35142
  51711. #, no-wrap
  51712. msgid "$ info \"(gnutls)Core TLS API\"\n"
  51713. msgstr ""
  51714. #. type: Plain text
  51715. #: guix-git/doc/guix.texi:35146
  51716. msgid "or:"
  51717. msgstr ""
  51718. #. type: example
  51719. #: guix-git/doc/guix.texi:35149
  51720. #, no-wrap
  51721. msgid "$ man certtool\n"
  51722. msgstr ""
  51723. #. type: Plain text
  51724. #: guix-git/doc/guix.texi:35157
  51725. 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."
  51726. msgstr ""
  51727. #. type: cindex
  51728. #: guix-git/doc/guix.texi:35161
  51729. #, no-wrap
  51730. msgid "debugging files"
  51731. msgstr ""
  51732. #. type: Plain text
  51733. #: guix-git/doc/guix.texi:35167
  51734. 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."
  51735. msgstr ""
  51736. #. type: Plain text
  51737. #: guix-git/doc/guix.texi:35171
  51738. 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."
  51739. msgstr ""
  51740. #. type: Plain text
  51741. #: guix-git/doc/guix.texi:35187
  51742. 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})."
  51743. msgstr ""
  51744. #. type: Plain text
  51745. #: guix-git/doc/guix.texi:35194
  51746. 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})."
  51747. msgstr ""
  51748. #. type: Plain text
  51749. #: guix-git/doc/guix.texi:35202
  51750. 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:"
  51751. msgstr ""
  51752. #. type: example
  51753. #: guix-git/doc/guix.texi:35205
  51754. #, no-wrap
  51755. msgid "guix install glibc:debug guile:debug\n"
  51756. msgstr ""
  51757. #. type: Plain text
  51758. #: guix-git/doc/guix.texi:35211
  51759. 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}):"
  51760. msgstr ""
  51761. #. type: example
  51762. #: guix-git/doc/guix.texi:35214
  51763. #, no-wrap
  51764. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  51765. msgstr ""
  51766. #. type: Plain text
  51767. #: guix-git/doc/guix.texi:35218
  51768. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  51769. msgstr ""
  51770. #. type: Plain text
  51771. #: guix-git/doc/guix.texi:35225
  51772. 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})."
  51773. msgstr ""
  51774. #. type: Plain text
  51775. #: guix-git/doc/guix.texi:35233
  51776. 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})."
  51777. msgstr ""
  51778. #. type: Plain text
  51779. #: guix-git/doc/guix.texi:35235
  51780. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  51781. msgstr ""
  51782. #. type: Plain text
  51783. #: guix-git/doc/guix.texi:35247
  51784. 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."
  51785. msgstr ""
  51786. #. type: Plain text
  51787. #: guix-git/doc/guix.texi:35252
  51788. 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:"
  51789. msgstr ""
  51790. #. type: example
  51791. #: guix-git/doc/guix.texi:35263
  51792. #, no-wrap
  51793. msgid ""
  51794. "(gdb) bt\n"
  51795. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  51796. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  51797. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  51798. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  51799. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  51800. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  51801. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  51802. " at dl-init.c:118\n"
  51803. msgstr ""
  51804. #. type: Plain text
  51805. #: guix-git/doc/guix.texi:35267
  51806. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  51807. msgstr ""
  51808. #. type: Plain text
  51809. #: guix-git/doc/guix.texi:35273
  51810. msgid "This time, debugging will be a whole lot nicer:"
  51811. msgstr ""
  51812. #. type: example
  51813. #: guix-git/doc/guix.texi:35291
  51814. #, no-wrap
  51815. msgid ""
  51816. "$ gdb --args sh -c 'exec inkscape'\n"
  51817. "@dots{}\n"
  51818. "(gdb) b g_getenv\n"
  51819. "Function \"g_getenv\" not defined.\n"
  51820. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  51821. "Breakpoint 1 (g_getenv) pending.\n"
  51822. "(gdb) r\n"
  51823. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  51824. "@dots{}\n"
  51825. "(gdb) bt\n"
  51826. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  51827. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  51828. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  51829. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  51830. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  51831. "@dots{}\n"
  51832. msgstr ""
  51833. #. type: Plain text
  51834. #: guix-git/doc/guix.texi:35294
  51835. msgid "Much better!"
  51836. msgstr ""
  51837. #. type: Plain text
  51838. #: guix-git/doc/guix.texi:35298
  51839. 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."
  51840. msgstr ""
  51841. #. type: cindex
  51842. #: guix-git/doc/guix.texi:35302
  51843. #, no-wrap
  51844. msgid "security updates"
  51845. msgstr ""
  51846. #. type: Plain text
  51847. #: guix-git/doc/guix.texi:35311
  51848. 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:"
  51849. msgstr ""
  51850. #. type: smallexample
  51851. #: guix-git/doc/guix.texi:35318
  51852. #, no-wrap
  51853. msgid ""
  51854. "$ guix lint -c cve\n"
  51855. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  51856. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  51857. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  51858. "@dots{}\n"
  51859. msgstr ""
  51860. #. type: Plain text
  51861. #: guix-git/doc/guix.texi:35321
  51862. msgid "@xref{Invoking guix lint}, for more information."
  51863. msgstr ""
  51864. #. type: Plain text
  51865. #: guix-git/doc/guix.texi:35330
  51866. 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."
  51867. msgstr ""
  51868. #. type: cindex
  51869. #: guix-git/doc/guix.texi:35331
  51870. #, no-wrap
  51871. msgid "grafts"
  51872. msgstr ""
  51873. #. type: Plain text
  51874. #: guix-git/doc/guix.texi:35339
  51875. 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."
  51876. msgstr ""
  51877. #. type: cindex
  51878. #: guix-git/doc/guix.texi:35340
  51879. #, no-wrap
  51880. msgid "replacements of packages, for grafts"
  51881. msgstr ""
  51882. #. type: Plain text
  51883. #: guix-git/doc/guix.texi:35346
  51884. 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:"
  51885. msgstr ""
  51886. #. type: lisp
  51887. #: guix-git/doc/guix.texi:35353
  51888. #, no-wrap
  51889. msgid ""
  51890. "(define bash\n"
  51891. " (package\n"
  51892. " (name \"bash\")\n"
  51893. " ;; @dots{}\n"
  51894. " (replacement bash-fixed)))\n"
  51895. msgstr ""
  51896. #. type: Plain text
  51897. #: guix-git/doc/guix.texi:35363
  51898. 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."
  51899. msgstr ""
  51900. #. type: Plain text
  51901. #: guix-git/doc/guix.texi:35371
  51902. 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."
  51903. msgstr ""
  51904. #. type: Plain text
  51905. #: guix-git/doc/guix.texi:35375
  51906. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  51907. msgstr ""
  51908. #. type: example
  51909. #: guix-git/doc/guix.texi:35378
  51910. #, no-wrap
  51911. msgid "guix build bash --no-grafts\n"
  51912. msgstr ""
  51913. #. type: Plain text
  51914. #: guix-git/doc/guix.texi:35382
  51915. msgid "returns the store file name of the original Bash, whereas:"
  51916. msgstr ""
  51917. #. type: example
  51918. #: guix-git/doc/guix.texi:35385
  51919. #, no-wrap
  51920. msgid "guix build bash\n"
  51921. msgstr ""
  51922. #. type: Plain text
  51923. #: guix-git/doc/guix.texi:35390
  51924. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  51925. msgstr ""
  51926. #. type: Plain text
  51927. #: guix-git/doc/guix.texi:35393
  51928. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  51929. msgstr ""
  51930. #. type: example
  51931. #: guix-git/doc/guix.texi:35396
  51932. #, no-wrap
  51933. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  51934. msgstr ""
  51935. #. type: Plain text
  51936. #: guix-git/doc/guix.texi:35401
  51937. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  51938. msgstr ""
  51939. #. type: example
  51940. #: guix-git/doc/guix.texi:35404
  51941. #, no-wrap
  51942. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  51943. msgstr ""
  51944. #. type: Plain text
  51945. #: guix-git/doc/guix.texi:35408
  51946. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  51947. msgstr ""
  51948. #. type: example
  51949. #: guix-git/doc/guix.texi:35411
  51950. #, no-wrap
  51951. msgid "lsof | grep /gnu/store/.*bash\n"
  51952. msgstr ""
  51953. #. type: cindex
  51954. #: guix-git/doc/guix.texi:35419
  51955. #, no-wrap
  51956. msgid "bootstrapping"
  51957. msgstr ""
  51958. #. type: Plain text
  51959. #: guix-git/doc/guix.texi:35426
  51960. 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?"
  51961. msgstr ""
  51962. #. type: Plain text
  51963. #: guix-git/doc/guix.texi:35434
  51964. 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."
  51965. msgstr ""
  51966. #. type: cindex
  51967. #: guix-git/doc/guix.texi:35435 guix-git/doc/guix.texi:35647
  51968. #, no-wrap
  51969. msgid "bootstrap binaries"
  51970. msgstr ""
  51971. #. type: Plain text
  51972. #: guix-git/doc/guix.texi:35445
  51973. 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}."
  51974. msgstr ""
  51975. #. type: Plain text
  51976. #: guix-git/doc/guix.texi:35449
  51977. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  51978. msgstr ""
  51979. #. type: section
  51980. #: guix-git/doc/guix.texi:35456
  51981. #, no-wrap
  51982. msgid "The Reduced Binary Seed Bootstrap"
  51983. msgstr ""
  51984. #. type: Plain text
  51985. #: guix-git/doc/guix.texi:35463
  51986. 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.''"
  51987. msgstr ""
  51988. #. type: Plain text
  51989. #: guix-git/doc/guix.texi:35469
  51990. 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."
  51991. msgstr ""
  51992. #. type: Plain text
  51993. #: guix-git/doc/guix.texi:35474
  51994. 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.}."
  51995. msgstr ""
  51996. #. type: Plain text
  51997. #: guix-git/doc/guix.texi:35480
  51998. 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)."
  51999. msgstr ""
  52000. #. type: Plain text
  52001. #: guix-git/doc/guix.texi:35485
  52002. 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."
  52003. msgstr ""
  52004. #. type: Plain text
  52005. #: guix-git/doc/guix.texi:35493
  52006. 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."
  52007. msgstr ""
  52008. #. type: Plain text
  52009. #: guix-git/doc/guix.texi:35503
  52010. 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."
  52011. msgstr ""
  52012. #. type: Plain text
  52013. #: guix-git/doc/guix.texi:35507
  52014. 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."
  52015. msgstr ""
  52016. #. type: Plain text
  52017. #: guix-git/doc/guix.texi:35510
  52018. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  52019. msgstr ""
  52020. #. type: Plain text
  52021. #: guix-git/doc/guix.texi:35517
  52022. 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.}."
  52023. msgstr ""
  52024. #. type: Plain text
  52025. #: guix-git/doc/guix.texi:35520
  52026. 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}."
  52027. msgstr ""
  52028. #. type: Plain text
  52029. #: guix-git/doc/guix.texi:35525
  52030. 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."
  52031. msgstr ""
  52032. #. type: Plain text
  52033. #: guix-git/doc/guix.texi:35529
  52034. 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}."
  52035. msgstr ""
  52036. #. type: Plain text
  52037. #: guix-git/doc/guix.texi:35536
  52038. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  52039. msgstr ""
  52040. #. type: Plain text
  52041. #: guix-git/doc/guix.texi:35541
  52042. 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:"
  52043. msgstr ""
  52044. #. type: example
  52045. #: guix-git/doc/guix.texi:35546
  52046. #, no-wrap
  52047. msgid ""
  52048. "guix graph -t derivation \\\n"
  52049. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  52050. " | dot -Tps > gcc.ps\n"
  52051. msgstr ""
  52052. #. type: Plain text
  52053. #: guix-git/doc/guix.texi:35549
  52054. msgid "or, for the further Reduced Binary Seed bootstrap"
  52055. msgstr ""
  52056. #. type: example
  52057. #: guix-git/doc/guix.texi:35554
  52058. #, no-wrap
  52059. msgid ""
  52060. "guix graph -t derivation \\\n"
  52061. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  52062. " | dot -Tps > mes.ps\n"
  52063. msgstr ""
  52064. #. type: Plain text
  52065. #: guix-git/doc/guix.texi:35563
  52066. 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})."
  52067. msgstr ""
  52068. #. type: Plain text
  52069. #: guix-git/doc/guix.texi:35572
  52070. 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."
  52071. msgstr ""
  52072. #. type: Plain text
  52073. #: guix-git/doc/guix.texi:35584
  52074. 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})."
  52075. msgstr ""
  52076. #. type: Plain text
  52077. #: guix-git/doc/guix.texi:35589
  52078. 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."
  52079. msgstr ""
  52080. #. type: unnumberedsec
  52081. #: guix-git/doc/guix.texi:35590
  52082. #, no-wrap
  52083. msgid "Building the Build Tools"
  52084. msgstr ""
  52085. #. type: Plain text
  52086. #: guix-git/doc/guix.texi:35599
  52087. 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."
  52088. msgstr ""
  52089. #. type: Plain text
  52090. #: guix-git/doc/guix.texi:35606
  52091. 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:"
  52092. msgstr ""
  52093. #. type: example
  52094. #: guix-git/doc/guix.texi:35611
  52095. #, no-wrap
  52096. msgid ""
  52097. "guix graph -t bag \\\n"
  52098. " -e '(@@@@ (gnu packages commencement)\n"
  52099. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  52100. msgstr ""
  52101. #. type: Plain text
  52102. #: guix-git/doc/guix.texi:35618
  52103. 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."
  52104. msgstr ""
  52105. #. type: Plain text
  52106. #: guix-git/doc/guix.texi:35620
  52107. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  52108. msgstr ""
  52109. #. type: Plain text
  52110. #: guix-git/doc/guix.texi:35626
  52111. 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."
  52112. msgstr ""
  52113. #. type: Plain text
  52114. #: guix-git/doc/guix.texi:35631
  52115. 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."
  52116. msgstr ""
  52117. #. type: Plain text
  52118. #: guix-git/doc/guix.texi:35637
  52119. 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."
  52120. msgstr ""
  52121. #. type: Plain text
  52122. #: guix-git/doc/guix.texi:35643
  52123. 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}})."
  52124. msgstr ""
  52125. #. type: unnumberedsec
  52126. #: guix-git/doc/guix.texi:35645
  52127. #, no-wrap
  52128. msgid "Building the Bootstrap Binaries"
  52129. msgstr ""
  52130. #. type: Plain text
  52131. #: guix-git/doc/guix.texi:35652
  52132. 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."
  52133. msgstr ""
  52134. #. type: Plain text
  52135. #: guix-git/doc/guix.texi:35658
  52136. 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):"
  52137. msgstr ""
  52138. #. type: example
  52139. #: guix-git/doc/guix.texi:35661
  52140. #, no-wrap
  52141. msgid "guix build bootstrap-tarballs\n"
  52142. msgstr ""
  52143. #. type: Plain text
  52144. #: guix-git/doc/guix.texi:35666
  52145. 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."
  52146. msgstr ""
  52147. #. type: Plain text
  52148. #: guix-git/doc/guix.texi:35672
  52149. 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."
  52150. msgstr ""
  52151. #. type: unnumberedsec
  52152. #: guix-git/doc/guix.texi:35673
  52153. #, no-wrap
  52154. msgid "Reducing the Set of Bootstrap Binaries"
  52155. msgstr ""
  52156. #. type: Plain text
  52157. #: guix-git/doc/guix.texi:35681
  52158. 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}."
  52159. msgstr ""
  52160. #. type: Plain text
  52161. #: guix-git/doc/guix.texi:35687
  52162. 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."
  52163. msgstr ""
  52164. #. type: Plain text
  52165. #: guix-git/doc/guix.texi:35693
  52166. 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."
  52167. msgstr ""
  52168. #. type: Plain text
  52169. #: guix-git/doc/guix.texi:35702
  52170. 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."
  52171. msgstr ""
  52172. #. type: Plain text
  52173. #: guix-git/doc/guix.texi:35705
  52174. 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!"
  52175. msgstr ""
  52176. #. type: chapter
  52177. #: guix-git/doc/guix.texi:35707
  52178. #, no-wrap
  52179. msgid "Porting to a New Platform"
  52180. msgstr ""
  52181. #. type: Plain text
  52182. #: guix-git/doc/guix.texi:35716
  52183. 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."
  52184. msgstr ""
  52185. #. type: Plain text
  52186. #: guix-git/doc/guix.texi:35721
  52187. 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:"
  52188. msgstr ""
  52189. #. type: example
  52190. #: guix-git/doc/guix.texi:35724
  52191. #, no-wrap
  52192. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  52193. msgstr ""
  52194. #. type: Plain text
  52195. #: guix-git/doc/guix.texi:35731
  52196. 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."
  52197. msgstr ""
  52198. #. type: Plain text
  52199. #: guix-git/doc/guix.texi:35740
  52200. 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."
  52201. msgstr ""
  52202. #. type: Plain text
  52203. #: guix-git/doc/guix.texi:35749
  52204. 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."
  52205. msgstr ""
  52206. #. type: include
  52207. #: guix-git/doc/guix.texi:35751
  52208. #, no-wrap
  52209. msgid "contributing.texi"
  52210. msgstr "contributing.fa.texi"
  52211. #. type: Plain text
  52212. #: guix-git/doc/guix.texi:35764
  52213. 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."
  52214. msgstr ""
  52215. #. type: Plain text
  52216. #: guix-git/doc/guix.texi:35767
  52217. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  52218. msgstr ""
  52219. #. type: Plain text
  52220. #: guix-git/doc/guix.texi:35773
  52221. 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!"
  52222. msgstr ""
  52223. #. type: cindex
  52224. #: guix-git/doc/guix.texi:35778
  52225. #, no-wrap
  52226. msgid "license, GNU Free Documentation License"
  52227. msgstr ""
  52228. #. type: include
  52229. #: guix-git/doc/guix.texi:35779
  52230. #, no-wrap
  52231. msgid "fdl-1.3.texi"
  52232. msgstr ""